forked from awsdocs/aws-doc-sdk-examples
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
58 changed files
with
1,280 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
cpp/example_code/autoscaling/tests/mock_input/1-CreateLaunchTemplate.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Response> | ||
<Errors> | ||
<Error> | ||
<Code>InvalidLaunchTemplateName.AlreadyExistsException</Code> | ||
<Message>Launch template name already in use.</Message> | ||
</Error> | ||
</Errors> | ||
<RequestID>b8545979-2a83-4c70-bf83-1052a2ed4ecc</RequestID> | ||
</Response> | ||
|
58 changes: 58 additions & 0 deletions
58
cpp/example_code/autoscaling/tests/mock_input/10-DescribeAutoScalingGroups.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<DescribeAutoScalingGroupsResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/"> <DescribeAutoScalingGroupsResult> | ||
<AutoScalingGroups> | ||
<member> | ||
<HealthCheckType>EC2</HealthCheckType> | ||
<Instances> | ||
<member> | ||
<LifecycleState>InService</LifecycleState> | ||
<InstanceId>i-0893468e046aaf009</InstanceId> | ||
<HealthStatus>Healthy</HealthStatus> | ||
<InstanceType>t1.micro</InstanceType> | ||
<LaunchTemplate> | ||
<LaunchTemplateId>lt-02b49ee89dd48f1a9</LaunchTemplateId> | ||
<Version>1</Version> | ||
<LaunchTemplateName>integration_tests_template</LaunchTemplateName> | ||
</LaunchTemplate> | ||
<ProtectedFromScaleIn>false</ProtectedFromScaleIn> | ||
<AvailabilityZone>us-east-1a</AvailabilityZone> | ||
</member> | ||
</Instances> | ||
<TerminationPolicies> | ||
<member>Default</member> | ||
</TerminationPolicies> | ||
<DefaultCooldown>300</DefaultCooldown> | ||
<AutoScalingGroupARN>arn:aws:autoscaling:us-test:123456789012:autoScalingGroup:a234567-89ab-cdef-0123-4567890abcd:autoScalingGroupName/integration_tests_group</AutoScalingGroupARN> | ||
<EnabledMetrics> | ||
<member> | ||
<Metric>GroupInServiceInstances</Metric> | ||
<Granularity>1Minute</Granularity> | ||
</member> | ||
</EnabledMetrics> | ||
<MaxSize>3</MaxSize> | ||
<AvailabilityZones> | ||
<member>us-east-1a</member> | ||
</AvailabilityZones> | ||
<TargetGroupARNs/> | ||
<AutoScalingGroupName>integration_tests_group</AutoScalingGroupName> | ||
<HealthCheckGracePeriod>0</HealthCheckGracePeriod> | ||
<NewInstancesProtectedFromScaleIn>false</NewInstancesProtectedFromScaleIn> | ||
<CreatedTime>2023-11-06T19:24:53.556Z</CreatedTime> | ||
<MinSize>1</MinSize> | ||
<TrafficSources/> | ||
<LoadBalancerNames/> | ||
<Tags/> | ||
<LaunchTemplate> | ||
<LaunchTemplateId>lt-02b49ee89dd48f1a9</LaunchTemplateId> | ||
<LaunchTemplateName>integration_tests_template</LaunchTemplateName> | ||
</LaunchTemplate> | ||
<SuspendedProcesses/> | ||
<DesiredCapacity>2</DesiredCapacity> | ||
<VPCZoneIdentifier/> | ||
</member> | ||
</AutoScalingGroups> | ||
</DescribeAutoScalingGroupsResult> | ||
<ResponseMetadata> | ||
<RequestId>ed21b022-34e6-4d2b-b520-e161a5cdf1c5</RequestId> | ||
</ResponseMetadata> | ||
</DescribeAutoScalingGroupsResponse> | ||
|
Oops, something went wrong.