Skip to content

Commit 2537254

Browse files
committed
Fixed the formatting issues advised by Matteo
1 parent 414b207 commit 2537254

File tree

6 files changed

+7
-16
lines changed

6 files changed

+7
-16
lines changed

generator/AWSPSGeneratorLib/HelpMaterials/Examples/AAS/Set-AASScalingPolicy.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
<!--Examples for the AWS PowerShell CmdLets-->
33
<examples>
44
<example>
5-
<code>
6-
PS C:\> Set-AASScalingPolicy -ServiceNamespace AppStream -PolicyName ASFleetScaleInPolicy -PolicyType StepScaling -ResourceId fleet/MyFleet -ScalableDimension appstream:fleet:DesiredCapacity -StepScalingPolicyConfiguration_AdjustmentType ChangeInCapacity -StepScalingPolicyConfiguration_Cooldown 360 -StepScalingPolicyConfiguration_MetricAggregationType Average -StepScalingPolicyConfiguration_StepAdjustments @{ScalingAdjustment = -1; MetricIntervalUpperBound = 0}
5+
<code>PS C:\> Set-AASScalingPolicy -ServiceNamespace AppStream -PolicyName ASFleetScaleInPolicy -PolicyType StepScaling -ResourceId fleet/MyFleet -ScalableDimension appstream:fleet:DesiredCapacity -StepScalingPolicyConfiguration_AdjustmentType ChangeInCapacity -StepScalingPolicyConfiguration_Cooldown 360 -StepScalingPolicyConfiguration_MetricAggregationType Average -StepScalingPolicyConfiguration_StepAdjustments @{ScalingAdjustment = -1; MetricIntervalUpperBound = 0}
76

87
Alarms PolicyARN
98
------ ---------
10-
{} arn:aws:autoscaling:us-west-2:012345678912:scalingPolicy:4897ca24-3caa-4bf1-8484-851a089b243c:resource/appstream/fleet/MyFleet:policyName/ASFleetScaleInPolicy </code>
9+
{} arn:aws:autoscaling:us-west-2:012345678912:scalingPolicy:4897ca24-3caa-4bf1-8484-851a089b243c:resource/appstream/fleet/MyFleet:policyName/ASFleetScaleInPolicy</code>
1110
<description>This cmdlet creates or updates a policy for an Application Auto Scaling scalable target. Each scalable target is identified by a service namespace, resource ID, and scalable dimension.</description>
1211
</example>
1312
</examples>

generator/AWSPSGeneratorLib/HelpMaterials/Examples/ECS/Remove-ECSCluster.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
<!--Examples for the AWS PowerShell CmdLets-->
33
<examples>
44
<example>
5-
<code>
6-
Remove-ECSCluster -Cluster "LAB-ECS"
7-
5+
<code>Remove-ECSCluster -Cluster "LAB-ECS"
86
Confirm
97
Are you sure you want to perform this action?
108
Performing the operation "Remove-ECSCluster (DeleteCluster)" on target "LAB-ECS".
119
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y
12-
1310
</code>
1411
<description>This cmdlet deletes the specified ECS cluster. You must deregister all container instances from this cluster before you may delete it. </description>
1512
</example>

generator/AWSPSGeneratorLib/HelpMaterials/Examples/ECS/Update-ECSClusterSetting.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
<!--Examples for the AWS PowerShell CmdLets-->
33
<examples>
44
<example>
5-
<code>
6-
Update-ECSClusterSetting -Cluster "LAB-ECS-CL" -Setting @{Name="containerInsights"; Value="disabled"}
7-
5+
<code>Update-ECSClusterSetting -Cluster "LAB-ECS-CL" -Setting @{Name="containerInsights"; Value="disabled"}
86
ActiveServicesCount : 0
97
Attachments : {}
108
AttachmentsStatus :

generator/AWSPSGeneratorLib/HelpMaterials/Examples/EKS/Add-EKSResourceTag.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
<!--Examples for the AWS PowerShell CmdLets-->
33
<examples>
44
<example>
5-
<code>
6-
PS C:\> Add-EKSResourceTag -ResourceArn "arn:aws:eks:us-west-2:012345678912:cluster/PROD" -Tag @{Name = "EKSPRODCLUSTER"} </code>
5+
<code> PS C:\> Add-EKSResourceTag -ResourceArn "arn:aws:eks:us-west-2:012345678912:cluster/PROD" -Tag @{Name = "EKSPRODCLUSTER"} </code>
76
<description>This cmdlet associates the specified tags to a resource with the specified resourceArn. </description>
87
</example>
98
</examples>

generator/AWSPSGeneratorLib/HelpMaterials/Examples/EKS/Get-EKSClusterList.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<examples>
44
<example>
55
<code>Get-EKSClusterList
6-
PROD
6+
PROD
77
</code>
88
<description>This cmdlet lists the Amazon EKS clusters in your AWS account in the specified Region.</description>
99
</example>

generator/AWSPSGeneratorLib/HelpMaterials/Examples/EKS/Update-EKSClusterConfig.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
<!--Examples for the AWS PowerShell CmdLets-->
33
<examples>
44
<example>
5-
<code>
6-
7-
PS C:\> Update-EKSClusterConfig -Name "PROD" -Logging_ClusterLogging @{Types="api","audit","authenticator","controllerManager","scheduler",Enabled="True"}
5+
<code> PS C:\> Update-EKSClusterConfig -Name "PROD" -Logging_ClusterLogging @{Types="api","audit","authenticator","controllerManager","scheduler",Enabled="True"}
86

97
CreatedAt : 12/25/2019 5:03:07 PM
108
Errors : {}

0 commit comments

Comments
 (0)