diff --git a/VERSION b/VERSION index 22a128e8621..9ba97eef029 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.355 \ No newline at end of file +1.11.356 \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h index a9edddcf854..f754da4154b 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/AutoScalingClient.h @@ -21,8 +21,8 @@ namespace AutoScaling * designed to automatically launch and terminate EC2 instances based on * user-defined scaling policies, scheduled actions, and health checks.

For * more information, see the Amazon EC2 Auto - * Scaling User Guide and the Amazon + * EC2 Auto Scaling User Guide and the Amazon * EC2 Auto Scaling API Reference.

*/ @@ -101,9 +101,9 @@ namespace AutoScaling * registered with the load balancer. If there are target groups attached to your * Auto Scaling group, the instances are also registered with the target * groups.

For more information, see Attach - * EC2 instances to your Auto Scaling group in the Amazon EC2 Auto Scaling - * User Guide.

See Also:

Detach + * or attach instances in the Amazon EC2 Auto Scaling User + * Guide.

See Also:

AWS * API Reference

*/ @@ -430,7 +430,7 @@ namespace AutoScaling * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas * for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User * Guide.

For more information, see Launch + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html">Launch * configurations in the Amazon EC2 Auto Scaling User Guide.

*

Amazon EC2 Auto Scaling configures instances launched as part of an Auto * Scaling group using either a launch template or a launch configuration. We @@ -621,7 +621,7 @@ namespace AutoScaling * policy or a simple scaling policy deletes the underlying alarm action, but does * not delete the alarm, even if it no longer has an associated action.

For * more information, see Deleting + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">Delete * a scaling policy in the Amazon EC2 Auto Scaling User * Guide.

See Also:

AWS @@ -1186,7 +1186,7 @@ namespace AutoScaling *

Gets information about the scaling activities in the account and Region.

*

When scaling events occur, you see a record of the scaling activity in the * scaling activities. For more information, see Verifying + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html">Verify * a scaling activity for an Auto Scaling group in the Amazon EC2 Auto * Scaling User Guide.

If the scaling event succeeds, the value of the * StatusCode element in the response is Successful. If @@ -1311,8 +1311,8 @@ namespace AutoScaling /** *

Describes the termination policies supported by Amazon EC2 Auto Scaling.

*

For more information, see Work - * with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Configure + * termination policies for Amazon EC2 Auto Scaling in the Amazon EC2 Auto * Scaling User Guide.

See Also:

AWS * API Reference

@@ -1405,9 +1405,9 @@ namespace AutoScaling * Scaling group, the instances are deregistered from the load balancer. If there * are target groups attached to the Auto Scaling group, the instances are * deregistered from the target groups.

For more information, see Detach - * EC2 instances from your Auto Scaling group in the Amazon EC2 Auto Scaling - * User Guide.

See Also:

Detach + * or attach instances in the Amazon EC2 Auto Scaling User + * Guide.

See Also:

AWS * API Reference

*/ @@ -1779,11 +1779,11 @@ namespace AutoScaling * take place. Subscribers to the specified topic can have messages delivered to an * endpoint such as a web server or an email address.

This configuration * overwrites any existing configuration.

For more information, see Getting - * Amazon SNS notifications when your Auto Scaling group scales in the - * Amazon EC2 Auto Scaling User Guide.

If you exceed your maximum - * limit of SNS topics, which is 10 per Auto Scaling group, the call - * fails.

See Also:

Amazon + * SNS notification options for Amazon EC2 Auto Scaling in the Amazon EC2 + * Auto Scaling User Guide.

If you exceed your maximum limit of SNS + * topics, which is 10 per Auto Scaling group, the call fails.

See + * Also:

AWS * API Reference

*/ @@ -1849,7 +1849,7 @@ namespace AutoScaling /** *

Creates or updates a scheduled scaling action for an Auto Scaling group.

*

For more information, see Scheduled + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html">Scheduled * scaling in the Amazon EC2 Auto Scaling User Guide.

You can * view the scheduled actions for an Auto Scaling group using the * DescribeScheduledActions API call. If you are no longer using a scheduled @@ -1883,17 +1883,15 @@ namespace AutoScaling *

Creates or updates a warm pool for the specified Auto Scaling group. A warm * pool is a pool of pre-initialized EC2 instances that sits alongside the Auto * Scaling group. Whenever your application needs to scale out, the Auto Scaling - * group can draw on the warm pool to meet its new desired capacity. For more - * information and example configurations, see

This + * operation must be called from the Region in which the Auto Scaling group was + * created.

You can view the instances in the warm pool using the + * DescribeWarmPool API call. If you are no longer using a warm pool, you + * can delete it by calling the DeleteWarmPool API.

For more + * information, see Warm * pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User - * Guide.

This operation must be called from the Region in which the - * Auto Scaling group was created. This operation cannot be called on an Auto - * Scaling group that has a mixed instances policy or a launch template or launch - * configuration that requests Spot Instances.

You can view the instances in - * the warm pool using the DescribeWarmPool API call. If you are no longer - * using a warm pool, you can delete it by calling the DeleteWarmPool - * API.

See Also:

.

See Also:

AWS * API Reference

*/ @@ -1966,9 +1964,9 @@ namespace AutoScaling *

Resumes the specified suspended auto scaling processes, or all suspended * process, for the specified Auto Scaling group.

For more information, see * Suspending - * and resuming scaling processes in the Amazon EC2 Auto Scaling User - * Guide.

See Also:

Suspend + * and resume Amazon EC2 Auto Scaling processes in the Amazon EC2 Auto + * Scaling User Guide.

See Also:

AWS * API Reference

*/ @@ -2040,7 +2038,7 @@ namespace AutoScaling * lower than the current size of the group, the Auto Scaling group uses its * termination policy to determine which instances to terminate.

For more * information, see Manual + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html">Manual * scaling in the Amazon EC2 Auto Scaling User Guide.

See * Also:

AWS @@ -2069,9 +2067,9 @@ namespace AutoScaling /** *

Sets the health status of the specified instance.

For more * information, see Health - * checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User - * Guide.

See Also:

Health + * checks for instances in an Auto Scaling group in the Amazon EC2 Auto + * Scaling User Guide.

See Also:

AWS * API Reference

*/ @@ -2098,9 +2096,8 @@ namespace AutoScaling /** *

Updates the instance protection settings of the specified instances. This * operation cannot be called on instances in a warm pool.

For more - * information about preventing instances that are part of an Auto Scaling group - * from terminating on scale in, see Using + * information, see Use * instance scale-in protection in the Amazon EC2 Auto Scaling User * Guide.

If you exceed your maximum limit of instance IDs, which is 50 * per Auto Scaling group, the call fails.

See Also:

If you suspend either the * Launch or Terminate process types, it can prevent * other process types from functioning properly. For more information, see Suspending - * and resuming scaling processes in the Amazon EC2 Auto Scaling User - * Guide.

To resume processes that have been suspended, call the - * ResumeProcesses API.

See Also:

Suspend + * and resume Amazon EC2 Auto Scaling processes in the Amazon EC2 Auto + * Scaling User Guide.

To resume processes that have been suspended, + * call the ResumeProcesses API.

See Also:

AWS * API Reference

*/ @@ -2219,8 +2216,8 @@ namespace AutoScaling * Scaling group can become unbalanced between Availability Zones. Amazon EC2 Auto * Scaling tries to rebalance the group, and rebalancing might terminate instances * in other zones. For more information, see Rebalancing - * activities in the Amazon EC2 Auto Scaling User Guide.

See + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html">Manual + * scaling in the Amazon EC2 Auto Scaling User Guide.

See * Also:

AWS * API Reference

diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingInstanceDetails.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingInstanceDetails.h index ad2bd04da98..52b3f837719 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingInstanceDetails.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/AutoScalingInstanceDetails.h @@ -100,19 +100,20 @@ namespace Model ///@{ /** *

The lifecycle state for the instance. The Quarantined state is - * not used. For information about lifecycle states, see Instance - * lifecycle in the Amazon EC2 Auto Scaling User Guide.

Valid - * values: Pending | Pending:Wait | - * Pending:Proceed | Quarantined | InService - * | Terminating | Terminating:Wait | - * Terminating:Proceed | Terminated | - * Detaching | Detached | EnteringStandby | - * Standby | Warmed:Pending | - * Warmed:Pending:Wait | Warmed:Pending:Proceed | - * Warmed:Terminating | Warmed:Terminating:Wait | - * Warmed:Terminating:Proceed | Warmed:Terminated | - * Warmed:Stopped | Warmed:Running

+ * not used. For more information, see Amazon + * EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User + * Guide.

Valid values: Pending | + * Pending:Wait | Pending:Proceed | + * Quarantined | InService | Terminating | + * Terminating:Wait | Terminating:Proceed | + * Terminated | Detaching | Detached | + * EnteringStandby | Standby | + * Warmed:Pending | Warmed:Pending:Wait | + * Warmed:Pending:Proceed | Warmed:Terminating | + * Warmed:Terminating:Wait | Warmed:Terminating:Proceed | + * Warmed:Terminated | Warmed:Stopped | + * Warmed:Running

*/ inline const Aws::String& GetLifecycleState() const{ return m_lifecycleState; } inline bool LifecycleStateHasBeenSet() const { return m_lifecycleStateHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h index dc0a83399b1..dff11169abc 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateAutoScalingGroupRequest.h @@ -87,7 +87,7 @@ namespace Model * InstanceId).

The launch template that is specified * must be configured for use with an Auto Scaling group. For more information, see * Creating + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html">Create * a launch template for an Auto Scaling group in the Amazon EC2 Auto * Scaling User Guide.

*/ @@ -122,9 +122,9 @@ namespace Model * use the Amazon EC2 DescribeInstances * API operation. For more information, see Creating - * an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto - * Scaling User Guide.

+ * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html">Create + * an Auto Scaling group using parameters from an existing instance in the + * Amazon EC2 Auto Scaling User Guide.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -181,7 +181,7 @@ namespace Model *

Only needed if you use simple scaling policies.

The amount of * time, in seconds, between one scaling activity ending and another one starting * due to simple scaling policies. For more information, see Scaling + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html">Scaling * cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User * Guide.

Default: 300 seconds

*/ @@ -254,10 +254,10 @@ namespace Model * valid values are EC2, ELB, and * VPC_LATTICE. EC2 is the default health check and * cannot be disabled. For more information, see Health - * checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User - * Guide.

Only specify EC2 if you must clear a value that - * was previously set.

+ * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html">Health + * checks for instances in an Auto Scaling group in the Amazon EC2 Auto + * Scaling User Guide.

Only specify EC2 if you must clear a + * value that was previously set.

*/ inline const Aws::String& GetHealthCheckType() const{ return m_healthCheckType; } inline bool HealthCheckTypeHasBeenSet() const { return m_healthCheckTypeHasBeenSet; } @@ -328,8 +328,8 @@ namespace Model *

A policy or a list of policies that are used to select the instance to * terminate. These policies are executed in the order that you list them. For more * information, see Work - * with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Configure + * termination policies for Amazon EC2 Auto Scaling in the Amazon EC2 Auto * Scaling User Guide.

Valid values: Default | * AllocationStrategy | ClosestToNextInstanceHour | * NewestInstance | OldestInstance | @@ -352,7 +352,7 @@ namespace Model *

Indicates whether newly launched instances are protected from termination by * Amazon EC2 Auto Scaling when scaling in. For more information about preventing * instances from terminating on scale in, see Using + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Use * instance scale-in protection in the Amazon EC2 Auto Scaling User * Guide.

*/ @@ -442,7 +442,7 @@ namespace Model *

The maximum amount of time, in seconds, that an instance can be in service. * The default is null. If specified, the value must be either 0 or a number equal * to or greater than 86,400 seconds (1 day). For more information, see Replacing + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html">Replace * Auto Scaling instances based on maximum instance lifetime in the Amazon * EC2 Auto Scaling User Guide.

*/ @@ -471,8 +471,8 @@ namespace Model *

The unit of measurement for the value specified for desired capacity. Amazon * EC2 Auto Scaling supports DesiredCapacityType for attribute-based * instance type selection only. For more information, see Creating - * an Auto Scaling group using attribute-based instance type selection in the + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create + * a mixed instances group using attribute-based instance type selection in the * Amazon EC2 Auto Scaling User Guide.

By default, Amazon EC2 Auto * Scaling specifies units, which translates into number of * instances.

Valid values: units | vcpu | diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateLaunchConfigurationRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateLaunchConfigurationRequest.h index 9b15b19c0ef..44e664ed73c 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateLaunchConfigurationRequest.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/CreateLaunchConfigurationRequest.h @@ -59,7 +59,7 @@ namespace Model /** *

The ID of the Amazon Machine Image (AMI) that was assigned during * registration. For more information, see Finding + * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Find * a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

*

If you specify InstanceId, an ImageId is not * required.

@@ -78,8 +78,8 @@ namespace Model /** *

The name of the key pair. For more information, see Amazon - * EC2 key pairs and Linux instances in the Amazon EC2 User Guide for Linux - * Instances.

+ * EC2 key pairs and Amazon EC2 instances in the Amazon EC2 User Guide for + * Linux Instances.

*/ inline const Aws::String& GetKeyName() const{ return m_keyName; } inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } @@ -95,9 +95,9 @@ namespace Model /** *

A list that contains the security group IDs to assign to the instances in the * Auto Scaling group. For more information, see Control - * traffic to resources using security groups in the Amazon Virtual Private - * Cloud User Guide.

+ * href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html">Control + * traffic to your Amazon Web Services resources using security groups in the + * Amazon Virtual Private Cloud User Guide.

*/ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } @@ -168,9 +168,8 @@ namespace Model * device mapping.

To create a launch configuration with a block device * mapping or override any other instance attributes, specify them as part of the * same request.

For more information, see Creating - * a launch configuration using an EC2 instance in the Amazon EC2 Auto - * Scaling User Guide.

+ * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html">Create + * a launch configuration in the Amazon EC2 Auto Scaling User Guide.

*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } @@ -264,7 +263,7 @@ namespace Model * account is charged a fee. When you disable detailed monitoring, CloudWatch * generates metrics every 5 minutes. For more information, see Configure - * Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User + * monitoring for Auto Scaling instances in the Amazon EC2 Auto Scaling User * Guide.

*/ inline const InstanceMonitoring& GetInstanceMonitoring() const{ return m_instanceMonitoring; } @@ -326,7 +325,7 @@ namespace Model * instance types. Additional fees are incurred when you enable EBS optimization * for an instance type that is not EBS-optimized by default. For more information, * see Amazon + * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon * EBS-optimized instances in the Amazon EC2 User Guide for Linux * Instances.

The default value is false.

*/ @@ -346,10 +345,11 @@ namespace Model * assign a public IPv4 address on the subnet.

If you specify * true, each instance in the Auto Scaling group receives a unique * public IPv4 address. For more information, see Launching - * Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User - * Guide.

If you specify this property, you must specify at least one - * subnet for VPCZoneIdentifier when you create your group.

+ * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html">Provide + * network connectivity for your Auto Scaling instances using Amazon VPC in the + * Amazon EC2 Auto Scaling User Guide.

If you specify this property, + * you must specify at least one subnet for VPCZoneIdentifier when you + * create your group.

*/ inline bool GetAssociatePublicIpAddress() const{ return m_associatePublicIpAddress; } inline bool AssociatePublicIpAddressHasBeenSet() const { return m_associatePublicIpAddressHasBeenSet; } @@ -364,13 +364,10 @@ namespace Model * isolated, single-tenant hardware and can only be launched into a VPC. To launch * dedicated instances into a shared tenancy VPC (a VPC with the instance placement * tenancy attribute set to default), you must set the value of this - * property to dedicated. For more information, see Configuring - * instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto - * Scaling User Guide.

If you specify PlacementTenancy, you - * must specify at least one subnet for VPCZoneIdentifier when you - * create your group.

Valid values: default | - * dedicated

+ * property to dedicated.

If you specify + * PlacementTenancy, you must specify at least one subnet for + * VPCZoneIdentifier when you create your group.

Valid values: + * default | dedicated

*/ inline const Aws::String& GetPlacementTenancy() const{ return m_placementTenancy; } inline bool PlacementTenancyHasBeenSet() const { return m_placementTenancyHasBeenSet; } @@ -385,8 +382,8 @@ namespace Model ///@{ /** *

The metadata options for the instances. For more information, see Configuring - * the Instance Metadata Options in the Amazon EC2 Auto Scaling User + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configure + * the instance metadata options in the Amazon EC2 Auto Scaling User * Guide.

*/ inline const InstanceMetadataOptions& GetMetadataOptions() const{ return m_metadataOptions; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DesiredConfiguration.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DesiredConfiguration.h index 515a6621a1e..bda66c2f826 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DesiredConfiguration.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DesiredConfiguration.h @@ -48,7 +48,7 @@ namespace Model *

Describes the launch template and the version of the launch template that * Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more * information about launch templates, see Launch + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html">Launch * templates in the Amazon EC2 Auto Scaling User Guide.

*/ inline const LaunchTemplateSpecification& GetLaunchTemplate() const{ return m_launchTemplate; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DisableMetricsCollectionRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DisableMetricsCollectionRequest.h index 872401d49b8..35c7398f312 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DisableMetricsCollectionRequest.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/DisableMetricsCollectionRequest.h @@ -75,8 +75,9 @@ namespace Model * GroupAndWarmPoolDesiredCapacity

  • * GroupAndWarmPoolTotalCapacity

  • If you omit this * property, all metrics are disabled.

    For more information, see Auto - * Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

    + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html">Amazon + * CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto + * Scaling User Guide.

    */ inline const Aws::Vector& GetMetrics() const{ return m_metrics; } inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/Ebs.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/Ebs.h index be866bbe13a..f9f5aa9f5a1 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/Ebs.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/Ebs.h @@ -75,10 +75,10 @@ namespace Model ///@{ /** *

    The volume type. For more information, see Amazon - * EBS volume types in the Amazon EC2 User Guide for Linux - * Instances.

    Valid values: standard | io1 | - * gp2 | st1 | sc1 | gp3

    + * href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon + * EBS volume types in the Amazon EBS User Guide.

    Valid values: + * standard | io1 | gp2 | st1 | + * sc1 | gp3

    */ inline const Aws::String& GetVolumeType() const{ return m_volumeType; } inline bool VolumeTypeHasBeenSet() const { return m_volumeTypeHasBeenSet; } @@ -112,12 +112,12 @@ namespace Model *

    gp3: 3,000-16,000 IOPS

  • io1: * 100-64,000 IOPS

  • For io1 volumes, we guarantee * 64,000 IOPS only for Instances - * built on the Nitro System. Other instance families guarantee performance up - * to 32,000 IOPS.

    Iops is supported when the volume type is - * gp3 or io1 and required only when the volume type is - * io1. (Not used with standard, gp2, - * st1, or sc1 volumes.)

    + * href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">Instances + * built on the Amazon Web Services Nitro System. Other instance families + * guarantee performance up to 32,000 IOPS.

    Iops is supported + * when the volume type is gp3 or io1 and required only + * when the volume type is io1. (Not used with standard, + * gp2, st1, or sc1 volumes.)

    */ inline int GetIops() const{ return m_iops; } inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } @@ -130,15 +130,16 @@ namespace Model *

    Specifies whether the volume should be encrypted. Encrypted EBS volumes can * only be attached to instances that support Amazon EBS encryption. For more * information, see Supported - * instance types. If your AMI uses encrypted volumes, you can also only launch - * it on supported instance types.

    If you are creating a volume from - * a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. - * Also, you cannot specify a KMS key ID when using a launch configuration.

    - *

    If you enable encryption by default, the EBS volumes that you create are - * always encrypted, either using the Amazon Web Services managed KMS key or a - * customer-managed KMS key, regardless of whether the snapshot was encrypted.

    - *

    For more information, see Requirements + * for Amazon EBS encryption in the Amazon EBS User Guide. If your AMI + * uses encrypted volumes, you can also only launch it on supported instance + * types.

    If you are creating a volume from a snapshot, you cannot + * create an unencrypted volume from an encrypted snapshot. Also, you cannot + * specify a KMS key ID when using a launch configuration.

    If you enable + * encryption by default, the EBS volumes that you create are always encrypted, + * either using the Amazon Web Services managed KMS key or a customer-managed KMS + * key, regardless of whether the snapshot was encrypted.

    For more + * information, see Use * Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon * EC2 Auto Scaling User Guide.

    diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/EnableMetricsCollectionRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/EnableMetricsCollectionRequest.h index 3ab2b5e00ec..ed7c2fe81f4 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/EnableMetricsCollectionRequest.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/EnableMetricsCollectionRequest.h @@ -76,8 +76,9 @@ namespace Model * GroupAndWarmPoolTotalCapacity

    If you specify * Granularity and don't specify any metrics, all metrics are * enabled.

    For more information, see Auto - * Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

    + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html">Amazon + * CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto + * Scaling User Guide.

    */ inline const Aws::Vector& GetMetrics() const{ return m_metrics; } inline bool MetricsHasBeenSet() const { return m_metricsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/EnabledMetric.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/EnabledMetric.h index d4d820064e3..98ec25b8ccb 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/EnabledMetric.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/EnabledMetric.h @@ -62,8 +62,9 @@ namespace Model * GroupAndWarmPoolDesiredCapacity

  • * GroupAndWarmPoolTotalCapacity

  • For more * information, see Auto - * Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

    + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html">Amazon + * CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto + * Scaling User Guide.

    */ inline const Aws::String& GetMetric() const{ return m_metric; } inline bool MetricHasBeenSet() const { return m_metricHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/ExecutePolicyRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/ExecutePolicyRequest.h index 975d3da71a7..68e05147482 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/ExecutePolicyRequest.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/ExecutePolicyRequest.h @@ -69,7 +69,7 @@ namespace Model *

    Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to * complete before executing the policy.

    Valid only if the policy type is * SimpleScaling. For more information, see Scaling + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html">Scaling * cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User * Guide.

    */ diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/Instance.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/Instance.h index 8a88370eaf6..506c44d8979 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/Instance.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/Instance.h @@ -86,9 +86,10 @@ namespace Model ///@{ /** *

    A description of the current lifecycle state. The Quarantined - * state is not used. For information about lifecycle states, see Instance - * lifecycle in the Amazon EC2 Auto Scaling User Guide.

    + * state is not used. For more information, see Amazon + * EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User + * Guide.

    */ inline const LifecycleState& GetLifecycleState() const{ return m_lifecycleState; } inline bool LifecycleStateHasBeenSet() const { return m_lifecycleStateHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceMetadataOptions.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceMetadataOptions.h index 019a3d0f7b4..0b28ef0942e 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceMetadataOptions.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceMetadataOptions.h @@ -26,8 +26,8 @@ namespace Model /** *

    The metadata options for the instances. For more information, see Configuring - * the Instance Metadata Options in the Amazon EC2 Auto Scaling User + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configure + * the instance metadata options in the Amazon EC2 Auto Scaling User * Guide.

    See Also:

    AWS * API Reference

    diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceRequirements.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceRequirements.h index 64545a3f2aa..5b746d898e6 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceRequirements.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/InstanceRequirements.h @@ -60,8 +60,8 @@ namespace Model * and MemoryMiB. All other attributes are optional. Any unspecified * optional attribute is set to its default.

    For more information, * see Creating - * an Auto Scaling group using attribute-based instance type selection in the + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create + * a mixed instances group using attribute-based instance type selection in the * Amazon EC2 Auto Scaling User Guide. For help determining which instance * types match your attributes before you apply them to your Auto Scaling group, * see The name of the key pair.

    For more information, see Amazon - * EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.

    + * EC2 key pairs and Amazon EC2 instances in the Amazon EC2 User Guide for + * Linux Instances.

    */ inline const Aws::String& GetKeyName() const{ return m_keyName; } inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } @@ -109,9 +110,9 @@ namespace Model /** *

    A list that contains the security groups to assign to the instances in the * Auto Scaling group. For more information, see Security - * Groups for Your VPC in the Amazon Virtual Private Cloud User - * Guide.

    + * href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html">Control + * traffic to your Amazon Web Services resources using security groups in the + * Amazon Virtual Private Cloud User Guide.

    */ inline const Aws::Vector& GetSecurityGroups() const{ return m_securityGroups; } inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; } @@ -226,7 +227,7 @@ namespace Model * the instances at launch. By default, the block devices specified in the block * device mapping for the AMI are used. For more information, see Block - * Device Mapping in the Amazon EC2 User Guide for Linux Instances.

    + * device mappings in the Amazon EC2 User Guide for Linux Instances.

    */ inline const Aws::Vector& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; } inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; } @@ -244,7 +245,7 @@ namespace Model * (true) or basic (false) monitoring.

    For more * information, see Configure - * Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User + * monitoring for Auto Scaling instances in the Amazon EC2 Auto Scaling User * Guide.

    */ inline const InstanceMonitoring& GetInstanceMonitoring() const{ return m_instanceMonitoring; } @@ -260,8 +261,9 @@ namespace Model *

    The maximum hourly price to be paid for any Spot Instance launched to fulfill * the request. Spot Instances are launched when the price you specify exceeds the * current Spot price. For more information, see Requesting - * Spot Instances in the Amazon EC2 Auto Scaling User Guide.

    + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html">Requesting + * Spot Instances for fault-tolerant and flexible applications in the Amazon + * EC2 Auto Scaling User Guide.

    */ inline const Aws::String& GetSpotPrice() const{ return m_spotPrice; } inline bool SpotPriceHasBeenSet() const { return m_spotPriceHasBeenSet; } @@ -308,8 +310,8 @@ namespace Model /** *

    Specifies whether the launch configuration is optimized for EBS I/O * (true) or not (false). For more information, see Amazon - * EBS-Optimized Instances in the Amazon EC2 User Guide for Linux + * href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon + * EBS-optimized instances in the Amazon EC2 User Guide for Linux * Instances.

    */ inline bool GetEbsOptimized() const{ return m_ebsOptimized; } @@ -326,9 +328,9 @@ namespace Model * address on the subnet. If the instance is launched into a nondefault subnet, the * default is not to assign a public IPv4 address, unless you enabled the option to * assign a public IPv4 address on the subnet. For more information, see Launching - * Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User - * Guide.

    + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html">Provide + * network connectivity for your Auto Scaling instances using Amazon VPC in the + * Amazon EC2 Auto Scaling User Guide.

    */ inline bool GetAssociatePublicIpAddress() const{ return m_associatePublicIpAddress; } inline bool AssociatePublicIpAddressHasBeenSet() const { return m_associatePublicIpAddressHasBeenSet; } @@ -340,11 +342,7 @@ namespace Model /** *

    The tenancy of the instance, either default or * dedicated. An instance with dedicated tenancy runs on - * isolated, single-tenant hardware and can only be launched into a VPC.

    For - * more information, see Configuring - * instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto - * Scaling User Guide.

    + * isolated, single-tenant hardware and can only be launched into a VPC.

    */ inline const Aws::String& GetPlacementTenancy() const{ return m_placementTenancy; } inline bool PlacementTenancyHasBeenSet() const { return m_placementTenancyHasBeenSet; } @@ -359,8 +357,8 @@ namespace Model ///@{ /** *

    The metadata options for the instances. For more information, see Configuring - * the Instance Metadata Options in the Amazon EC2 Auto Scaling User + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configure + * the instance metadata options in the Amazon EC2 Auto Scaling User * Guide.

    */ inline const InstanceMetadataOptions& GetMetadataOptions() const{ return m_metadataOptions; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LaunchTemplateOverrides.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LaunchTemplateOverrides.h index 353eb741e2a..ea2207de17e 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LaunchTemplateOverrides.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LaunchTemplateOverrides.h @@ -60,8 +60,8 @@ namespace Model * instance type that is supported in your requested Region and Availability Zones. * For more information, see Instance - * types in the Amazon Elastic Compute Cloud User Guide.

    You can - * specify up to 40 instance types per Auto Scaling group.

    + * types in the Amazon EC2 User Guide for Linux Instances.

    You + * can specify up to 40 instance types per Auto Scaling group.

    */ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } @@ -85,8 +85,8 @@ namespace Model * only launch an instance with a WeightedCapacity of five units, the * instance is launched, and the desired capacity is exceeded by three units. For * more information, see Configuring - * instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html">Configure + * an Auto Scaling group to use instance weights in the Amazon EC2 Auto * Scaling User Guide. Value must be in the range of 1–999.

    If you * specify a value for WeightedCapacity for one instance type, you * must specify a value for WeightedCapacity for all of them.

    diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LaunchTemplateSpecification.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LaunchTemplateSpecification.h index 0ab8cebf6bd..e6bb9ae9662 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LaunchTemplateSpecification.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LaunchTemplateSpecification.h @@ -27,7 +27,7 @@ namespace Model *

    Describes the launch template and the version of the launch template that * Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more * information about launch templates, see Launch + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html">Launch * templates in the Amazon EC2 Auto Scaling User Guide.

    See * Also:

    AWS diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LifecycleHookSpecification.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LifecycleHookSpecification.h index 5bf70bec86c..044e297674a 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LifecycleHookSpecification.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/LifecycleHookSpecification.h @@ -139,10 +139,10 @@ namespace Model /** *

    The ARN of the IAM role that allows the Auto Scaling group to publish to the * specified notification target. For information about creating this role, see Configure - * a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling - * User Guide.

    Valid only if the notification target is an Amazon SNS - * topic or an Amazon SQS queue.

    + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html">Prepare + * to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto + * Scaling User Guide.

    Valid only if the notification target is an + * Amazon SNS topic or an Amazon SQS queue.

    */ inline const Aws::String& GetRoleARN() const{ return m_roleARN; } inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PredictiveScalingConfiguration.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PredictiveScalingConfiguration.h index f51b80bf407..1830b2bb119 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PredictiveScalingConfiguration.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PredictiveScalingConfiguration.h @@ -98,12 +98,18 @@ namespace Model * approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults * to HonorMaxCapacity if not specified.

    The following are * possible values:

    • HonorMaxCapacity - Amazon EC2 - * Auto Scaling cannot scale out capacity higher than the maximum capacity. The - * maximum capacity is enforced as a hard limit.

    • - * IncreaseMaxCapacity - Amazon EC2 Auto Scaling can scale out - * capacity higher than the maximum capacity when the forecast capacity is close to - * or exceeds the maximum capacity. The upper limit is determined by the forecasted - * capacity and the value for MaxCapacityBuffer.

    + * Auto Scaling can't increase the maximum capacity of the group when the forecast + * capacity is close to or exceeds the maximum capacity.

  • + * IncreaseMaxCapacity - Amazon EC2 Auto Scaling can increase the + * maximum capacity of the group when the forecast capacity is close to or exceeds + * the maximum capacity. The upper limit is determined by the forecasted capacity + * and the value for MaxCapacityBuffer.

  • + *

    Use caution when allowing the maximum capacity to be automatically increased. + * This can lead to more instances being launched than intended if the increased + * maximum capacity is not monitored and managed. The increased maximum capacity + * then becomes the new normal maximum capacity for the Auto Scaling group until + * you manually update it. The maximum capacity does not automatically decrease + * back to the original maximum.

    */ inline const PredictiveScalingMaxCapacityBreachBehavior& GetMaxCapacityBreachBehavior() const{ return m_maxCapacityBreachBehavior; } inline bool MaxCapacityBreachBehaviorHasBeenSet() const { return m_maxCapacityBreachBehaviorHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/ProcessType.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/ProcessType.h index d3f266a8783..bec55edfcaf 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/ProcessType.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/ProcessType.h @@ -25,8 +25,8 @@ namespace Model /** *

    Describes a process type.

    For more information, see Scaling - * processes in the Amazon EC2 Auto Scaling User Guide.

    See + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types">Types + * of processes in the Amazon EC2 Auto Scaling User Guide.

    See * Also:

    AWS * API Reference

    diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PutScalingPolicyRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PutScalingPolicyRequest.h index b4603024f28..476e311c26d 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PutScalingPolicyRequest.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/PutScalingPolicyRequest.h @@ -159,7 +159,7 @@ namespace Model * policy. When a cooldown period is specified here, it overrides the default * cooldown.

    Valid only if the policy type is SimpleScaling. * For more information, see Scaling + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html">Scaling * cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User * Guide.

    Default: None

    */ @@ -248,7 +248,7 @@ namespace Model /** *

    Indicates whether the scaling policy is enabled or disabled. The default is * enabled. For more information, see Disabling + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html">Disable * a scaling policy for an Auto Scaling group in the Amazon EC2 Auto Scaling * User Guide.

    */ diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/RefreshPreferences.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/RefreshPreferences.h index ade7e8db531..b3e2565b6bd 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/RefreshPreferences.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/RefreshPreferences.h @@ -84,7 +84,7 @@ namespace Model * number must be unique. To replace all instances in the Auto Scaling group, the * last number in the array must be 100.

    For usage examples, * see Adding + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html">Add * checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User * Guide.

    */ diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/SetInstanceHealthRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/SetInstanceHealthRequest.h index a6310240222..9dddb63a92f 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/SetInstanceHealthRequest.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/SetInstanceHealthRequest.h @@ -74,8 +74,9 @@ namespace Model * call respects the grace period. Set this to False, to have the call * not respect the grace period associated with the group.

    For more * information about the health check grace period, see CreateAutoScalingGroup - * in the Amazon EC2 Auto Scaling API Reference.

    + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html">Set + * the health check grace period for an Auto Scaling group in the Amazon EC2 + * Auto Scaling User Guide.

    */ inline bool GetShouldRespectGracePeriod() const{ return m_shouldRespectGracePeriod; } inline bool ShouldRespectGracePeriodHasBeenSet() const { return m_shouldRespectGracePeriodHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/SuspendedProcess.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/SuspendedProcess.h index fda0b619514..13fe12e4b59 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/SuspendedProcess.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/SuspendedProcess.h @@ -26,8 +26,8 @@ namespace Model /** *

    Describes an auto scaling process that has been suspended.

    For more * information, see Scaling - * processes in the Amazon EC2 Auto Scaling User Guide.

    See + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types">Types + * of processes in the Amazon EC2 Auto Scaling User Guide.

    See * Also:

    AWS * API Reference

    diff --git a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h index 6cc54e0045d..ba487fc976b 100644 --- a/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h +++ b/generated/src/aws-cpp-sdk-autoscaling/include/aws/autoscaling/model/UpdateAutoScalingGroupRequest.h @@ -142,7 +142,7 @@ namespace Model *

    Only needed if you use simple scaling policies.

    The amount of * time, in seconds, between one scaling activity ending and another one starting * due to simple scaling policies. For more information, see Scaling + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html">Scaling * cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User * Guide.

    */ @@ -173,10 +173,10 @@ namespace Model * valid values are EC2, ELB, and * VPC_LATTICE. EC2 is the default health check and * cannot be disabled. For more information, see Health - * checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User - * Guide.

    Only specify EC2 if you must clear a value that - * was previously set.

    + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html">Health + * checks for instances in an Auto Scaling group in the Amazon EC2 Auto + * Scaling User Guide.

    Only specify EC2 if you must clear a + * value that was previously set.

    */ inline const Aws::String& GetHealthCheckType() const{ return m_healthCheckType; } inline bool HealthCheckTypeHasBeenSet() const { return m_healthCheckTypeHasBeenSet; } @@ -246,8 +246,8 @@ namespace Model *

    A policy or a list of policies that are used to select the instances to * terminate. The policies are executed in the order that you list them. For more * information, see Work - * with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Configure + * termination policies for Amazon EC2 Auto Scaling in the Amazon EC2 Auto * Scaling User Guide.

    Valid values: Default | * AllocationStrategy | ClosestToNextInstanceHour | * NewestInstance | OldestInstance | @@ -270,7 +270,7 @@ namespace Model *

    Indicates whether newly launched instances are protected from termination by * Amazon EC2 Auto Scaling when scaling in. For more information about preventing * instances from terminating on scale in, see Using + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Use * instance scale-in protection in the Amazon EC2 Auto Scaling User * Guide.

    */ @@ -346,8 +346,8 @@ namespace Model *

    The unit of measurement for the value specified for desired capacity. Amazon * EC2 Auto Scaling supports DesiredCapacityType for attribute-based * instance type selection only. For more information, see Creating - * an Auto Scaling group using attribute-based instance type selection in the + * href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create + * a mixed instances group using attribute-based instance type selection in the * Amazon EC2 Auto Scaling User Guide.

    By default, Amazon EC2 Auto * Scaling specifies units, which translates into number of * instances.

    Valid values: units | vcpu | diff --git a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h index d2517c70d21..c91e6927be6 100644 --- a/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h +++ b/generated/src/aws-cpp-sdk-ec2/include/aws/ec2/model/InstanceType.h @@ -820,7 +820,22 @@ namespace Model u7i_12tb_224xlarge, u7in_16tb_224xlarge, u7in_24tb_224xlarge, - u7in_32tb_224xlarge + u7in_32tb_224xlarge, + u7ib_12tb_224xlarge, + c7gn_metal, + r8g_medium, + r8g_large, + r8g_xlarge, + r8g_2xlarge, + r8g_4xlarge, + r8g_8xlarge, + r8g_12xlarge, + r8g_16xlarge, + r8g_24xlarge, + r8g_48xlarge, + r8g_metal_24xl, + r8g_metal_48xl, + mac2_m1ultra_metal }; namespace InstanceTypeMapper diff --git a/generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp b/generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp index 371da3fdca5..69d4e1f66d2 100644 --- a/generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp +++ b/generated/src/aws-cpp-sdk-ec2/source/model/InstanceType.cpp @@ -825,6 +825,21 @@ namespace Aws static const int u7in_16tb_224xlarge_HASH = HashingUtils::HashString("u7in-16tb.224xlarge"); static const int u7in_24tb_224xlarge_HASH = HashingUtils::HashString("u7in-24tb.224xlarge"); static const int u7in_32tb_224xlarge_HASH = HashingUtils::HashString("u7in-32tb.224xlarge"); + static const int u7ib_12tb_224xlarge_HASH = HashingUtils::HashString("u7ib-12tb.224xlarge"); + static const int c7gn_metal_HASH = HashingUtils::HashString("c7gn.metal"); + static const int r8g_medium_HASH = HashingUtils::HashString("r8g.medium"); + static const int r8g_large_HASH = HashingUtils::HashString("r8g.large"); + static const int r8g_xlarge_HASH = HashingUtils::HashString("r8g.xlarge"); + static const int r8g_2xlarge_HASH = HashingUtils::HashString("r8g.2xlarge"); + static const int r8g_4xlarge_HASH = HashingUtils::HashString("r8g.4xlarge"); + static const int r8g_8xlarge_HASH = HashingUtils::HashString("r8g.8xlarge"); + static const int r8g_12xlarge_HASH = HashingUtils::HashString("r8g.12xlarge"); + static const int r8g_16xlarge_HASH = HashingUtils::HashString("r8g.16xlarge"); + static const int r8g_24xlarge_HASH = HashingUtils::HashString("r8g.24xlarge"); + static const int r8g_48xlarge_HASH = HashingUtils::HashString("r8g.48xlarge"); + static const int r8g_metal_24xl_HASH = HashingUtils::HashString("r8g.metal-24xl"); + static const int r8g_metal_48xl_HASH = HashingUtils::HashString("r8g.metal-48xl"); + static const int mac2_m1ultra_metal_HASH = HashingUtils::HashString("mac2-m1ultra.metal"); /* The if-else chains in this file are converted into a jump table by the compiler, @@ -4882,6 +4897,81 @@ namespace Aws enumValue = InstanceType::u7in_32tb_224xlarge; return true; } + else if (hashCode == u7ib_12tb_224xlarge_HASH) + { + enumValue = InstanceType::u7ib_12tb_224xlarge; + return true; + } + else if (hashCode == c7gn_metal_HASH) + { + enumValue = InstanceType::c7gn_metal; + return true; + } + else if (hashCode == r8g_medium_HASH) + { + enumValue = InstanceType::r8g_medium; + return true; + } + else if (hashCode == r8g_large_HASH) + { + enumValue = InstanceType::r8g_large; + return true; + } + else if (hashCode == r8g_xlarge_HASH) + { + enumValue = InstanceType::r8g_xlarge; + return true; + } + else if (hashCode == r8g_2xlarge_HASH) + { + enumValue = InstanceType::r8g_2xlarge; + return true; + } + else if (hashCode == r8g_4xlarge_HASH) + { + enumValue = InstanceType::r8g_4xlarge; + return true; + } + else if (hashCode == r8g_8xlarge_HASH) + { + enumValue = InstanceType::r8g_8xlarge; + return true; + } + else if (hashCode == r8g_12xlarge_HASH) + { + enumValue = InstanceType::r8g_12xlarge; + return true; + } + else if (hashCode == r8g_16xlarge_HASH) + { + enumValue = InstanceType::r8g_16xlarge; + return true; + } + else if (hashCode == r8g_24xlarge_HASH) + { + enumValue = InstanceType::r8g_24xlarge; + return true; + } + else if (hashCode == r8g_48xlarge_HASH) + { + enumValue = InstanceType::r8g_48xlarge; + return true; + } + else if (hashCode == r8g_metal_24xl_HASH) + { + enumValue = InstanceType::r8g_metal_24xl; + return true; + } + else if (hashCode == r8g_metal_48xl_HASH) + { + enumValue = InstanceType::r8g_metal_48xl; + return true; + } + else if (hashCode == mac2_m1ultra_metal_HASH) + { + enumValue = InstanceType::mac2_m1ultra_metal; + return true; + } return false; } @@ -7352,6 +7442,51 @@ namespace Aws case InstanceType::u7in_32tb_224xlarge: value = "u7in-32tb.224xlarge"; return true; + case InstanceType::u7ib_12tb_224xlarge: + value = "u7ib-12tb.224xlarge"; + return true; + case InstanceType::c7gn_metal: + value = "c7gn.metal"; + return true; + case InstanceType::r8g_medium: + value = "r8g.medium"; + return true; + case InstanceType::r8g_large: + value = "r8g.large"; + return true; + case InstanceType::r8g_xlarge: + value = "r8g.xlarge"; + return true; + case InstanceType::r8g_2xlarge: + value = "r8g.2xlarge"; + return true; + case InstanceType::r8g_4xlarge: + value = "r8g.4xlarge"; + return true; + case InstanceType::r8g_8xlarge: + value = "r8g.8xlarge"; + return true; + case InstanceType::r8g_12xlarge: + value = "r8g.12xlarge"; + return true; + case InstanceType::r8g_16xlarge: + value = "r8g.16xlarge"; + return true; + case InstanceType::r8g_24xlarge: + value = "r8g.24xlarge"; + return true; + case InstanceType::r8g_48xlarge: + value = "r8g.48xlarge"; + return true; + case InstanceType::r8g_metal_24xl: + value = "r8g.metal-24xl"; + return true; + case InstanceType::r8g_metal_48xl: + value = "r8g.metal-48xl"; + return true; + case InstanceType::mac2_m1ultra_metal: + value = "mac2-m1ultra.metal"; + return true; default: return false; } diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/Attachment.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/Attachment.h index cc2bb081d3a..17b23ff21c9 100644 --- a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/Attachment.h +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/Attachment.h @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace Aws @@ -252,6 +253,20 @@ namespace Model inline Attachment& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} inline Attachment& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Describes the error associated with the attachment request.

    + */ + inline const Aws::Vector& GetLastModificationErrors() const{ return m_lastModificationErrors; } + inline bool LastModificationErrorsHasBeenSet() const { return m_lastModificationErrorsHasBeenSet; } + inline void SetLastModificationErrors(const Aws::Vector& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors = value; } + inline void SetLastModificationErrors(Aws::Vector&& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors = std::move(value); } + inline Attachment& WithLastModificationErrors(const Aws::Vector& value) { SetLastModificationErrors(value); return *this;} + inline Attachment& WithLastModificationErrors(Aws::Vector&& value) { SetLastModificationErrors(std::move(value)); return *this;} + inline Attachment& AddLastModificationErrors(const AttachmentError& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors.push_back(value); return *this; } + inline Attachment& AddLastModificationErrors(AttachmentError&& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_coreNetworkId; @@ -301,6 +316,9 @@ namespace Model Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; + + Aws::Vector m_lastModificationErrors; + bool m_lastModificationErrorsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/AttachmentError.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/AttachmentError.h new file mode 100644 index 00000000000..d200bbb4186 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/AttachmentError.h @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace NetworkManager +{ +namespace Model +{ + + /** + *

    Describes the error associated with an attachment request.

    See + * Also:

    AWS + * API Reference

    + */ + class AttachmentError + { + public: + AWS_NETWORKMANAGER_API AttachmentError(); + AWS_NETWORKMANAGER_API AttachmentError(Aws::Utils::Json::JsonView jsonValue); + AWS_NETWORKMANAGER_API AttachmentError& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The error code for the attachment request.

    + */ + inline const AttachmentErrorCode& GetCode() const{ return m_code; } + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + inline void SetCode(const AttachmentErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + inline void SetCode(AttachmentErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + inline AttachmentError& WithCode(const AttachmentErrorCode& value) { SetCode(value); return *this;} + inline AttachmentError& WithCode(AttachmentErrorCode&& value) { SetCode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The message associated with the error code.

    + */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline AttachmentError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline AttachmentError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline AttachmentError& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the requested attachment resource.

    + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline AttachmentError& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline AttachmentError& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline AttachmentError& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the attachment request.

    + */ + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } + inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } + inline AttachmentError& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline AttachmentError& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline AttachmentError& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + AttachmentErrorCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_requestId; + bool m_requestIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/AttachmentErrorCode.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/AttachmentErrorCode.h new file mode 100644 index 00000000000..4e6d4af85a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/AttachmentErrorCode.h @@ -0,0 +1,37 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace NetworkManager +{ +namespace Model +{ + enum class AttachmentErrorCode + { + NOT_SET, + VPC_NOT_FOUND, + SUBNET_NOT_FOUND, + SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE, + SUBNET_NO_FREE_ADDRESSES, + SUBNET_UNSUPPORTED_AVAILABILITY_ZONE, + SUBNET_NO_IPV6_CIDRS, + VPN_CONNECTION_NOT_FOUND, + MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED + }; + +namespace AttachmentErrorCodeMapper +{ +AWS_NETWORKMANAGER_API AttachmentErrorCode GetAttachmentErrorCodeForName(const Aws::String& name); + +AWS_NETWORKMANAGER_API Aws::String GetNameForAttachmentErrorCode(AttachmentErrorCode value); +} // namespace AttachmentErrorCodeMapper +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeer.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeer.h index ba556900277..63981d18196 100644 --- a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeer.h +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeer.h @@ -11,6 +11,7 @@ #include #include #include +#include #include namespace Aws @@ -162,6 +163,20 @@ namespace Model inline ConnectPeer& WithSubnetArn(Aws::String&& value) { SetSubnetArn(std::move(value)); return *this;} inline ConnectPeer& WithSubnetArn(const char* value) { SetSubnetArn(value); return *this;} ///@} + + ///@{ + /** + *

    Describes the error associated with the attachment request.

    + */ + inline const Aws::Vector& GetLastModificationErrors() const{ return m_lastModificationErrors; } + inline bool LastModificationErrorsHasBeenSet() const { return m_lastModificationErrorsHasBeenSet; } + inline void SetLastModificationErrors(const Aws::Vector& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors = value; } + inline void SetLastModificationErrors(Aws::Vector&& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors = std::move(value); } + inline ConnectPeer& WithLastModificationErrors(const Aws::Vector& value) { SetLastModificationErrors(value); return *this;} + inline ConnectPeer& WithLastModificationErrors(Aws::Vector&& value) { SetLastModificationErrors(std::move(value)); return *this;} + inline ConnectPeer& AddLastModificationErrors(const ConnectPeerError& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors.push_back(value); return *this; } + inline ConnectPeer& AddLastModificationErrors(ConnectPeerError&& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_coreNetworkId; @@ -190,6 +205,9 @@ namespace Model Aws::String m_subnetArn; bool m_subnetArnHasBeenSet = false; + + Aws::Vector m_lastModificationErrors; + bool m_lastModificationErrorsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeerError.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeerError.h new file mode 100644 index 00000000000..fae71d2b7d3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeerError.h @@ -0,0 +1,112 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace NetworkManager +{ +namespace Model +{ + + /** + *

    Describes an error associated with a Connect peer request

    See + * Also:

    AWS + * API Reference

    + */ + class ConnectPeerError + { + public: + AWS_NETWORKMANAGER_API ConnectPeerError(); + AWS_NETWORKMANAGER_API ConnectPeerError(Aws::Utils::Json::JsonView jsonValue); + AWS_NETWORKMANAGER_API ConnectPeerError& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The error code for the Connect peer request.

    + */ + inline const ConnectPeerErrorCode& GetCode() const{ return m_code; } + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + inline void SetCode(const ConnectPeerErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + inline void SetCode(ConnectPeerErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + inline ConnectPeerError& WithCode(const ConnectPeerErrorCode& value) { SetCode(value); return *this;} + inline ConnectPeerError& WithCode(ConnectPeerErrorCode&& value) { SetCode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The message associated with the error code.

    + */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline ConnectPeerError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ConnectPeerError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ConnectPeerError& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the requested Connect peer resource.

    + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline ConnectPeerError& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline ConnectPeerError& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline ConnectPeerError& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the Connect peer request.

    + */ + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } + inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } + inline ConnectPeerError& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ConnectPeerError& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ConnectPeerError& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + ConnectPeerErrorCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_requestId; + bool m_requestIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeerErrorCode.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeerErrorCode.h new file mode 100644 index 00000000000..5610c487723 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/ConnectPeerErrorCode.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace NetworkManager +{ +namespace Model +{ + enum class ConnectPeerErrorCode + { + NOT_SET, + EDGE_LOCATION_NO_FREE_IPS, + EDGE_LOCATION_PEER_DUPLICATE, + SUBNET_NOT_FOUND, + IP_OUTSIDE_SUBNET_CIDR_RANGE, + INVALID_INSIDE_CIDR_BLOCK, + NO_ASSOCIATED_CIDR_BLOCK + }; + +namespace ConnectPeerErrorCodeMapper +{ +AWS_NETWORKMANAGER_API ConnectPeerErrorCode GetConnectPeerErrorCodeForName(const Aws::String& name); + +AWS_NETWORKMANAGER_API Aws::String GetNameForConnectPeerErrorCode(ConnectPeerErrorCode value); +} // namespace ConnectPeerErrorCodeMapper +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/Peering.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/Peering.h index c0b2fc075c5..5a5b6f9a148 100644 --- a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/Peering.h +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/Peering.h @@ -11,6 +11,7 @@ #include #include #include +#include #include namespace Aws @@ -175,6 +176,20 @@ namespace Model inline Peering& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} inline Peering& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Describes the error associated with the Connect peer request.

    + */ + inline const Aws::Vector& GetLastModificationErrors() const{ return m_lastModificationErrors; } + inline bool LastModificationErrorsHasBeenSet() const { return m_lastModificationErrorsHasBeenSet; } + inline void SetLastModificationErrors(const Aws::Vector& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors = value; } + inline void SetLastModificationErrors(Aws::Vector&& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors = std::move(value); } + inline Peering& WithLastModificationErrors(const Aws::Vector& value) { SetLastModificationErrors(value); return *this;} + inline Peering& WithLastModificationErrors(Aws::Vector&& value) { SetLastModificationErrors(std::move(value)); return *this;} + inline Peering& AddLastModificationErrors(const PeeringError& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors.push_back(value); return *this; } + inline Peering& AddLastModificationErrors(PeeringError&& value) { m_lastModificationErrorsHasBeenSet = true; m_lastModificationErrors.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_coreNetworkId; @@ -206,6 +221,9 @@ namespace Model Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; + + Aws::Vector m_lastModificationErrors; + bool m_lastModificationErrorsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PeeringError.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PeeringError.h new file mode 100644 index 00000000000..f6d1e5b0512 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PeeringError.h @@ -0,0 +1,129 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace NetworkManager +{ +namespace Model +{ + + /** + *

    Describes an error associated with a peering request.

    See + * Also:

    AWS + * API Reference

    + */ + class PeeringError + { + public: + AWS_NETWORKMANAGER_API PeeringError(); + AWS_NETWORKMANAGER_API PeeringError(Aws::Utils::Json::JsonView jsonValue); + AWS_NETWORKMANAGER_API PeeringError& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The error code for the peering request.

    + */ + inline const PeeringErrorCode& GetCode() const{ return m_code; } + inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } + inline void SetCode(const PeeringErrorCode& value) { m_codeHasBeenSet = true; m_code = value; } + inline void SetCode(PeeringErrorCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } + inline PeeringError& WithCode(const PeeringErrorCode& value) { SetCode(value); return *this;} + inline PeeringError& WithCode(PeeringErrorCode&& value) { SetCode(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

    The message associated with the error code.

    + */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline PeeringError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline PeeringError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline PeeringError& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

    The ARN of the requested peering resource.

    + */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline PeeringError& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline PeeringError& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline PeeringError& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

    The ID of the Peering request.

    + */ + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; } + inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); } + inline PeeringError& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline PeeringError& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline PeeringError& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + + ///@{ + /** + *

    Provides additional information about missing permissions for the peering + * error.

    + */ + inline const PermissionsErrorContext& GetMissingPermissionsContext() const{ return m_missingPermissionsContext; } + inline bool MissingPermissionsContextHasBeenSet() const { return m_missingPermissionsContextHasBeenSet; } + inline void SetMissingPermissionsContext(const PermissionsErrorContext& value) { m_missingPermissionsContextHasBeenSet = true; m_missingPermissionsContext = value; } + inline void SetMissingPermissionsContext(PermissionsErrorContext&& value) { m_missingPermissionsContextHasBeenSet = true; m_missingPermissionsContext = std::move(value); } + inline PeeringError& WithMissingPermissionsContext(const PermissionsErrorContext& value) { SetMissingPermissionsContext(value); return *this;} + inline PeeringError& WithMissingPermissionsContext(PermissionsErrorContext&& value) { SetMissingPermissionsContext(std::move(value)); return *this;} + ///@} + private: + + PeeringErrorCode m_code; + bool m_codeHasBeenSet = false; + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::String m_requestId; + bool m_requestIdHasBeenSet = false; + + PermissionsErrorContext m_missingPermissionsContext; + bool m_missingPermissionsContextHasBeenSet = false; + }; + +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PeeringErrorCode.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PeeringErrorCode.h new file mode 100644 index 00000000000..e23b1f167e1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PeeringErrorCode.h @@ -0,0 +1,35 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace NetworkManager +{ +namespace Model +{ + enum class PeeringErrorCode + { + NOT_SET, + TRANSIT_GATEWAY_NOT_FOUND, + TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED, + MISSING_PERMISSIONS, + INTERNAL_ERROR, + EDGE_LOCATION_PEER_DUPLICATE, + INVALID_TRANSIT_GATEWAY_STATE + }; + +namespace PeeringErrorCodeMapper +{ +AWS_NETWORKMANAGER_API PeeringErrorCode GetPeeringErrorCodeForName(const Aws::String& name); + +AWS_NETWORKMANAGER_API Aws::String GetNameForPeeringErrorCode(PeeringErrorCode value); +} // namespace PeeringErrorCodeMapper +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PermissionsErrorContext.h b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PermissionsErrorContext.h new file mode 100644 index 00000000000..db2fab8b0b2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/include/aws/networkmanager/model/PermissionsErrorContext.h @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace NetworkManager +{ +namespace Model +{ + + /** + *

    Describes additional information about missing permissions.

    See + * Also:

    AWS + * API Reference

    + */ + class PermissionsErrorContext + { + public: + AWS_NETWORKMANAGER_API PermissionsErrorContext(); + AWS_NETWORKMANAGER_API PermissionsErrorContext(Aws::Utils::Json::JsonView jsonValue); + AWS_NETWORKMANAGER_API PermissionsErrorContext& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

    The missing permissions.

    + */ + inline const Aws::String& GetMissingPermission() const{ return m_missingPermission; } + inline bool MissingPermissionHasBeenSet() const { return m_missingPermissionHasBeenSet; } + inline void SetMissingPermission(const Aws::String& value) { m_missingPermissionHasBeenSet = true; m_missingPermission = value; } + inline void SetMissingPermission(Aws::String&& value) { m_missingPermissionHasBeenSet = true; m_missingPermission = std::move(value); } + inline void SetMissingPermission(const char* value) { m_missingPermissionHasBeenSet = true; m_missingPermission.assign(value); } + inline PermissionsErrorContext& WithMissingPermission(const Aws::String& value) { SetMissingPermission(value); return *this;} + inline PermissionsErrorContext& WithMissingPermission(Aws::String&& value) { SetMissingPermission(std::move(value)); return *this;} + inline PermissionsErrorContext& WithMissingPermission(const char* value) { SetMissingPermission(value); return *this;} + ///@} + private: + + Aws::String m_missingPermission; + bool m_missingPermissionHasBeenSet = false; + }; + +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/Attachment.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/Attachment.cpp index 38bc606bf64..a8b9f87742c 100644 --- a/generated/src/aws-cpp-sdk-networkmanager/source/model/Attachment.cpp +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/Attachment.cpp @@ -37,7 +37,8 @@ Attachment::Attachment() : m_proposedSegmentChangeHasBeenSet(false), m_proposedNetworkFunctionGroupChangeHasBeenSet(false), m_createdAtHasBeenSet(false), - m_updatedAtHasBeenSet(false) + m_updatedAtHasBeenSet(false), + m_lastModificationErrorsHasBeenSet(false) { } @@ -60,7 +61,8 @@ Attachment::Attachment(JsonView jsonValue) : m_proposedSegmentChangeHasBeenSet(false), m_proposedNetworkFunctionGroupChangeHasBeenSet(false), m_createdAtHasBeenSet(false), - m_updatedAtHasBeenSet(false) + m_updatedAtHasBeenSet(false), + m_lastModificationErrorsHasBeenSet(false) { *this = jsonValue; } @@ -182,6 +184,16 @@ Attachment& Attachment::operator =(JsonView jsonValue) m_updatedAtHasBeenSet = true; } + if(jsonValue.ValueExists("LastModificationErrors")) + { + Aws::Utils::Array lastModificationErrorsJsonList = jsonValue.GetArray("LastModificationErrors"); + for(unsigned lastModificationErrorsIndex = 0; lastModificationErrorsIndex < lastModificationErrorsJsonList.GetLength(); ++lastModificationErrorsIndex) + { + m_lastModificationErrors.push_back(lastModificationErrorsJsonList[lastModificationErrorsIndex].AsObject()); + } + m_lastModificationErrorsHasBeenSet = true; + } + return *this; } @@ -286,6 +298,17 @@ JsonValue Attachment::Jsonize() const payload.WithDouble("UpdatedAt", m_updatedAt.SecondsWithMSPrecision()); } + if(m_lastModificationErrorsHasBeenSet) + { + Aws::Utils::Array lastModificationErrorsJsonList(m_lastModificationErrors.size()); + for(unsigned lastModificationErrorsIndex = 0; lastModificationErrorsIndex < lastModificationErrorsJsonList.GetLength(); ++lastModificationErrorsIndex) + { + lastModificationErrorsJsonList[lastModificationErrorsIndex].AsObject(m_lastModificationErrors[lastModificationErrorsIndex].Jsonize()); + } + payload.WithArray("LastModificationErrors", std::move(lastModificationErrorsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/AttachmentError.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/AttachmentError.cpp new file mode 100644 index 00000000000..7c454337e11 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/AttachmentError.cpp @@ -0,0 +1,105 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace NetworkManager +{ +namespace Model +{ + +AttachmentError::AttachmentError() : + m_code(AttachmentErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false), + m_resourceArnHasBeenSet(false), + m_requestIdHasBeenSet(false) +{ +} + +AttachmentError::AttachmentError(JsonView jsonValue) : + m_code(AttachmentErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false), + m_resourceArnHasBeenSet(false), + m_requestIdHasBeenSet(false) +{ + *this = jsonValue; +} + +AttachmentError& AttachmentError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Code")) + { + m_code = AttachmentErrorCodeMapper::GetAttachmentErrorCodeForName(jsonValue.GetString("Code")); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Message")) + { + m_message = jsonValue.GetString("Message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + m_resourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("RequestId")) + { + m_requestId = jsonValue.GetString("RequestId"); + + m_requestIdHasBeenSet = true; + } + + return *this; +} + +JsonValue AttachmentError::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("Code", AttachmentErrorCodeMapper::GetNameForAttachmentErrorCode(m_code)); + } + + if(m_messageHasBeenSet) + { + payload.WithString("Message", m_message); + + } + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_requestIdHasBeenSet) + { + payload.WithString("RequestId", m_requestId); + + } + + return payload; +} + +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/AttachmentErrorCode.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/AttachmentErrorCode.cpp new file mode 100644 index 00000000000..71d790c0456 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/AttachmentErrorCode.cpp @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace NetworkManager + { + namespace Model + { + namespace AttachmentErrorCodeMapper + { + + static const int VPC_NOT_FOUND_HASH = HashingUtils::HashString("VPC_NOT_FOUND"); + static const int SUBNET_NOT_FOUND_HASH = HashingUtils::HashString("SUBNET_NOT_FOUND"); + static const int SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE_HASH = HashingUtils::HashString("SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE"); + static const int SUBNET_NO_FREE_ADDRESSES_HASH = HashingUtils::HashString("SUBNET_NO_FREE_ADDRESSES"); + static const int SUBNET_UNSUPPORTED_AVAILABILITY_ZONE_HASH = HashingUtils::HashString("SUBNET_UNSUPPORTED_AVAILABILITY_ZONE"); + static const int SUBNET_NO_IPV6_CIDRS_HASH = HashingUtils::HashString("SUBNET_NO_IPV6_CIDRS"); + static const int VPN_CONNECTION_NOT_FOUND_HASH = HashingUtils::HashString("VPN_CONNECTION_NOT_FOUND"); + static const int MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED_HASH = HashingUtils::HashString("MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"); + + + AttachmentErrorCode GetAttachmentErrorCodeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == VPC_NOT_FOUND_HASH) + { + return AttachmentErrorCode::VPC_NOT_FOUND; + } + else if (hashCode == SUBNET_NOT_FOUND_HASH) + { + return AttachmentErrorCode::SUBNET_NOT_FOUND; + } + else if (hashCode == SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE_HASH) + { + return AttachmentErrorCode::SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE; + } + else if (hashCode == SUBNET_NO_FREE_ADDRESSES_HASH) + { + return AttachmentErrorCode::SUBNET_NO_FREE_ADDRESSES; + } + else if (hashCode == SUBNET_UNSUPPORTED_AVAILABILITY_ZONE_HASH) + { + return AttachmentErrorCode::SUBNET_UNSUPPORTED_AVAILABILITY_ZONE; + } + else if (hashCode == SUBNET_NO_IPV6_CIDRS_HASH) + { + return AttachmentErrorCode::SUBNET_NO_IPV6_CIDRS; + } + else if (hashCode == VPN_CONNECTION_NOT_FOUND_HASH) + { + return AttachmentErrorCode::VPN_CONNECTION_NOT_FOUND; + } + else if (hashCode == MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED_HASH) + { + return AttachmentErrorCode::MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return AttachmentErrorCode::NOT_SET; + } + + Aws::String GetNameForAttachmentErrorCode(AttachmentErrorCode enumValue) + { + switch(enumValue) + { + case AttachmentErrorCode::NOT_SET: + return {}; + case AttachmentErrorCode::VPC_NOT_FOUND: + return "VPC_NOT_FOUND"; + case AttachmentErrorCode::SUBNET_NOT_FOUND: + return "SUBNET_NOT_FOUND"; + case AttachmentErrorCode::SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: + return "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE"; + case AttachmentErrorCode::SUBNET_NO_FREE_ADDRESSES: + return "SUBNET_NO_FREE_ADDRESSES"; + case AttachmentErrorCode::SUBNET_UNSUPPORTED_AVAILABILITY_ZONE: + return "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE"; + case AttachmentErrorCode::SUBNET_NO_IPV6_CIDRS: + return "SUBNET_NO_IPV6_CIDRS"; + case AttachmentErrorCode::VPN_CONNECTION_NOT_FOUND: + return "VPN_CONNECTION_NOT_FOUND"; + case AttachmentErrorCode::MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: + return "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace AttachmentErrorCodeMapper + } // namespace Model + } // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeer.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeer.cpp index 44e6bf20bc8..177049dc575 100644 --- a/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeer.cpp +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeer.cpp @@ -28,7 +28,8 @@ ConnectPeer::ConnectPeer() : m_createdAtHasBeenSet(false), m_configurationHasBeenSet(false), m_tagsHasBeenSet(false), - m_subnetArnHasBeenSet(false) + m_subnetArnHasBeenSet(false), + m_lastModificationErrorsHasBeenSet(false) { } @@ -42,7 +43,8 @@ ConnectPeer::ConnectPeer(JsonView jsonValue) : m_createdAtHasBeenSet(false), m_configurationHasBeenSet(false), m_tagsHasBeenSet(false), - m_subnetArnHasBeenSet(false) + m_subnetArnHasBeenSet(false), + m_lastModificationErrorsHasBeenSet(false) { *this = jsonValue; } @@ -115,6 +117,16 @@ ConnectPeer& ConnectPeer::operator =(JsonView jsonValue) m_subnetArnHasBeenSet = true; } + if(jsonValue.ValueExists("LastModificationErrors")) + { + Aws::Utils::Array lastModificationErrorsJsonList = jsonValue.GetArray("LastModificationErrors"); + for(unsigned lastModificationErrorsIndex = 0; lastModificationErrorsIndex < lastModificationErrorsJsonList.GetLength(); ++lastModificationErrorsIndex) + { + m_lastModificationErrors.push_back(lastModificationErrorsJsonList[lastModificationErrorsIndex].AsObject()); + } + m_lastModificationErrorsHasBeenSet = true; + } + return *this; } @@ -179,6 +191,17 @@ JsonValue ConnectPeer::Jsonize() const } + if(m_lastModificationErrorsHasBeenSet) + { + Aws::Utils::Array lastModificationErrorsJsonList(m_lastModificationErrors.size()); + for(unsigned lastModificationErrorsIndex = 0; lastModificationErrorsIndex < lastModificationErrorsJsonList.GetLength(); ++lastModificationErrorsIndex) + { + lastModificationErrorsJsonList[lastModificationErrorsIndex].AsObject(m_lastModificationErrors[lastModificationErrorsIndex].Jsonize()); + } + payload.WithArray("LastModificationErrors", std::move(lastModificationErrorsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeerError.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeerError.cpp new file mode 100644 index 00000000000..5ac02101482 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeerError.cpp @@ -0,0 +1,105 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace NetworkManager +{ +namespace Model +{ + +ConnectPeerError::ConnectPeerError() : + m_code(ConnectPeerErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false), + m_resourceArnHasBeenSet(false), + m_requestIdHasBeenSet(false) +{ +} + +ConnectPeerError::ConnectPeerError(JsonView jsonValue) : + m_code(ConnectPeerErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false), + m_resourceArnHasBeenSet(false), + m_requestIdHasBeenSet(false) +{ + *this = jsonValue; +} + +ConnectPeerError& ConnectPeerError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Code")) + { + m_code = ConnectPeerErrorCodeMapper::GetConnectPeerErrorCodeForName(jsonValue.GetString("Code")); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Message")) + { + m_message = jsonValue.GetString("Message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + m_resourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("RequestId")) + { + m_requestId = jsonValue.GetString("RequestId"); + + m_requestIdHasBeenSet = true; + } + + return *this; +} + +JsonValue ConnectPeerError::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("Code", ConnectPeerErrorCodeMapper::GetNameForConnectPeerErrorCode(m_code)); + } + + if(m_messageHasBeenSet) + { + payload.WithString("Message", m_message); + + } + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_requestIdHasBeenSet) + { + payload.WithString("RequestId", m_requestId); + + } + + return payload; +} + +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeerErrorCode.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeerErrorCode.cpp new file mode 100644 index 00000000000..6a2ef44bf6e --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/ConnectPeerErrorCode.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace NetworkManager + { + namespace Model + { + namespace ConnectPeerErrorCodeMapper + { + + static const int EDGE_LOCATION_NO_FREE_IPS_HASH = HashingUtils::HashString("EDGE_LOCATION_NO_FREE_IPS"); + static const int EDGE_LOCATION_PEER_DUPLICATE_HASH = HashingUtils::HashString("EDGE_LOCATION_PEER_DUPLICATE"); + static const int SUBNET_NOT_FOUND_HASH = HashingUtils::HashString("SUBNET_NOT_FOUND"); + static const int IP_OUTSIDE_SUBNET_CIDR_RANGE_HASH = HashingUtils::HashString("IP_OUTSIDE_SUBNET_CIDR_RANGE"); + static const int INVALID_INSIDE_CIDR_BLOCK_HASH = HashingUtils::HashString("INVALID_INSIDE_CIDR_BLOCK"); + static const int NO_ASSOCIATED_CIDR_BLOCK_HASH = HashingUtils::HashString("NO_ASSOCIATED_CIDR_BLOCK"); + + + ConnectPeerErrorCode GetConnectPeerErrorCodeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == EDGE_LOCATION_NO_FREE_IPS_HASH) + { + return ConnectPeerErrorCode::EDGE_LOCATION_NO_FREE_IPS; + } + else if (hashCode == EDGE_LOCATION_PEER_DUPLICATE_HASH) + { + return ConnectPeerErrorCode::EDGE_LOCATION_PEER_DUPLICATE; + } + else if (hashCode == SUBNET_NOT_FOUND_HASH) + { + return ConnectPeerErrorCode::SUBNET_NOT_FOUND; + } + else if (hashCode == IP_OUTSIDE_SUBNET_CIDR_RANGE_HASH) + { + return ConnectPeerErrorCode::IP_OUTSIDE_SUBNET_CIDR_RANGE; + } + else if (hashCode == INVALID_INSIDE_CIDR_BLOCK_HASH) + { + return ConnectPeerErrorCode::INVALID_INSIDE_CIDR_BLOCK; + } + else if (hashCode == NO_ASSOCIATED_CIDR_BLOCK_HASH) + { + return ConnectPeerErrorCode::NO_ASSOCIATED_CIDR_BLOCK; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ConnectPeerErrorCode::NOT_SET; + } + + Aws::String GetNameForConnectPeerErrorCode(ConnectPeerErrorCode enumValue) + { + switch(enumValue) + { + case ConnectPeerErrorCode::NOT_SET: + return {}; + case ConnectPeerErrorCode::EDGE_LOCATION_NO_FREE_IPS: + return "EDGE_LOCATION_NO_FREE_IPS"; + case ConnectPeerErrorCode::EDGE_LOCATION_PEER_DUPLICATE: + return "EDGE_LOCATION_PEER_DUPLICATE"; + case ConnectPeerErrorCode::SUBNET_NOT_FOUND: + return "SUBNET_NOT_FOUND"; + case ConnectPeerErrorCode::IP_OUTSIDE_SUBNET_CIDR_RANGE: + return "IP_OUTSIDE_SUBNET_CIDR_RANGE"; + case ConnectPeerErrorCode::INVALID_INSIDE_CIDR_BLOCK: + return "INVALID_INSIDE_CIDR_BLOCK"; + case ConnectPeerErrorCode::NO_ASSOCIATED_CIDR_BLOCK: + return "NO_ASSOCIATED_CIDR_BLOCK"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ConnectPeerErrorCodeMapper + } // namespace Model + } // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/Peering.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/Peering.cpp index a9b5d7aaeab..be38e82c286 100644 --- a/generated/src/aws-cpp-sdk-networkmanager/source/model/Peering.cpp +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/Peering.cpp @@ -30,7 +30,8 @@ Peering::Peering() : m_edgeLocationHasBeenSet(false), m_resourceArnHasBeenSet(false), m_tagsHasBeenSet(false), - m_createdAtHasBeenSet(false) + m_createdAtHasBeenSet(false), + m_lastModificationErrorsHasBeenSet(false) { } @@ -46,7 +47,8 @@ Peering::Peering(JsonView jsonValue) : m_edgeLocationHasBeenSet(false), m_resourceArnHasBeenSet(false), m_tagsHasBeenSet(false), - m_createdAtHasBeenSet(false) + m_createdAtHasBeenSet(false), + m_lastModificationErrorsHasBeenSet(false) { *this = jsonValue; } @@ -126,6 +128,16 @@ Peering& Peering::operator =(JsonView jsonValue) m_createdAtHasBeenSet = true; } + if(jsonValue.ValueExists("LastModificationErrors")) + { + Aws::Utils::Array lastModificationErrorsJsonList = jsonValue.GetArray("LastModificationErrors"); + for(unsigned lastModificationErrorsIndex = 0; lastModificationErrorsIndex < lastModificationErrorsJsonList.GetLength(); ++lastModificationErrorsIndex) + { + m_lastModificationErrors.push_back(lastModificationErrorsJsonList[lastModificationErrorsIndex].AsObject()); + } + m_lastModificationErrorsHasBeenSet = true; + } + return *this; } @@ -195,6 +207,17 @@ JsonValue Peering::Jsonize() const payload.WithDouble("CreatedAt", m_createdAt.SecondsWithMSPrecision()); } + if(m_lastModificationErrorsHasBeenSet) + { + Aws::Utils::Array lastModificationErrorsJsonList(m_lastModificationErrors.size()); + for(unsigned lastModificationErrorsIndex = 0; lastModificationErrorsIndex < lastModificationErrorsJsonList.GetLength(); ++lastModificationErrorsIndex) + { + lastModificationErrorsJsonList[lastModificationErrorsIndex].AsObject(m_lastModificationErrors[lastModificationErrorsIndex].Jsonize()); + } + payload.WithArray("LastModificationErrors", std::move(lastModificationErrorsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/PeeringError.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/PeeringError.cpp new file mode 100644 index 00000000000..900f2ffd2e8 --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/PeeringError.cpp @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace NetworkManager +{ +namespace Model +{ + +PeeringError::PeeringError() : + m_code(PeeringErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false), + m_resourceArnHasBeenSet(false), + m_requestIdHasBeenSet(false), + m_missingPermissionsContextHasBeenSet(false) +{ +} + +PeeringError::PeeringError(JsonView jsonValue) : + m_code(PeeringErrorCode::NOT_SET), + m_codeHasBeenSet(false), + m_messageHasBeenSet(false), + m_resourceArnHasBeenSet(false), + m_requestIdHasBeenSet(false), + m_missingPermissionsContextHasBeenSet(false) +{ + *this = jsonValue; +} + +PeeringError& PeeringError::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Code")) + { + m_code = PeeringErrorCodeMapper::GetPeeringErrorCodeForName(jsonValue.GetString("Code")); + + m_codeHasBeenSet = true; + } + + if(jsonValue.ValueExists("Message")) + { + m_message = jsonValue.GetString("Message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceArn")) + { + m_resourceArn = jsonValue.GetString("ResourceArn"); + + m_resourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("RequestId")) + { + m_requestId = jsonValue.GetString("RequestId"); + + m_requestIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("MissingPermissionsContext")) + { + m_missingPermissionsContext = jsonValue.GetObject("MissingPermissionsContext"); + + m_missingPermissionsContextHasBeenSet = true; + } + + return *this; +} + +JsonValue PeeringError::Jsonize() const +{ + JsonValue payload; + + if(m_codeHasBeenSet) + { + payload.WithString("Code", PeeringErrorCodeMapper::GetNameForPeeringErrorCode(m_code)); + } + + if(m_messageHasBeenSet) + { + payload.WithString("Message", m_message); + + } + + if(m_resourceArnHasBeenSet) + { + payload.WithString("ResourceArn", m_resourceArn); + + } + + if(m_requestIdHasBeenSet) + { + payload.WithString("RequestId", m_requestId); + + } + + if(m_missingPermissionsContextHasBeenSet) + { + payload.WithObject("MissingPermissionsContext", m_missingPermissionsContext.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/PeeringErrorCode.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/PeeringErrorCode.cpp new file mode 100644 index 00000000000..473c306656c --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/PeeringErrorCode.cpp @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace NetworkManager + { + namespace Model + { + namespace PeeringErrorCodeMapper + { + + static const int TRANSIT_GATEWAY_NOT_FOUND_HASH = HashingUtils::HashString("TRANSIT_GATEWAY_NOT_FOUND"); + static const int TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED_HASH = HashingUtils::HashString("TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED"); + static const int MISSING_PERMISSIONS_HASH = HashingUtils::HashString("MISSING_PERMISSIONS"); + static const int INTERNAL_ERROR_HASH = HashingUtils::HashString("INTERNAL_ERROR"); + static const int EDGE_LOCATION_PEER_DUPLICATE_HASH = HashingUtils::HashString("EDGE_LOCATION_PEER_DUPLICATE"); + static const int INVALID_TRANSIT_GATEWAY_STATE_HASH = HashingUtils::HashString("INVALID_TRANSIT_GATEWAY_STATE"); + + + PeeringErrorCode GetPeeringErrorCodeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == TRANSIT_GATEWAY_NOT_FOUND_HASH) + { + return PeeringErrorCode::TRANSIT_GATEWAY_NOT_FOUND; + } + else if (hashCode == TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED_HASH) + { + return PeeringErrorCode::TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED; + } + else if (hashCode == MISSING_PERMISSIONS_HASH) + { + return PeeringErrorCode::MISSING_PERMISSIONS; + } + else if (hashCode == INTERNAL_ERROR_HASH) + { + return PeeringErrorCode::INTERNAL_ERROR; + } + else if (hashCode == EDGE_LOCATION_PEER_DUPLICATE_HASH) + { + return PeeringErrorCode::EDGE_LOCATION_PEER_DUPLICATE; + } + else if (hashCode == INVALID_TRANSIT_GATEWAY_STATE_HASH) + { + return PeeringErrorCode::INVALID_TRANSIT_GATEWAY_STATE; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return PeeringErrorCode::NOT_SET; + } + + Aws::String GetNameForPeeringErrorCode(PeeringErrorCode enumValue) + { + switch(enumValue) + { + case PeeringErrorCode::NOT_SET: + return {}; + case PeeringErrorCode::TRANSIT_GATEWAY_NOT_FOUND: + return "TRANSIT_GATEWAY_NOT_FOUND"; + case PeeringErrorCode::TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED: + return "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED"; + case PeeringErrorCode::MISSING_PERMISSIONS: + return "MISSING_PERMISSIONS"; + case PeeringErrorCode::INTERNAL_ERROR: + return "INTERNAL_ERROR"; + case PeeringErrorCode::EDGE_LOCATION_PEER_DUPLICATE: + return "EDGE_LOCATION_PEER_DUPLICATE"; + case PeeringErrorCode::INVALID_TRANSIT_GATEWAY_STATE: + return "INVALID_TRANSIT_GATEWAY_STATE"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace PeeringErrorCodeMapper + } // namespace Model + } // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-networkmanager/source/model/PermissionsErrorContext.cpp b/generated/src/aws-cpp-sdk-networkmanager/source/model/PermissionsErrorContext.cpp new file mode 100644 index 00000000000..b11edcda45f --- /dev/null +++ b/generated/src/aws-cpp-sdk-networkmanager/source/model/PermissionsErrorContext.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace NetworkManager +{ +namespace Model +{ + +PermissionsErrorContext::PermissionsErrorContext() : + m_missingPermissionHasBeenSet(false) +{ +} + +PermissionsErrorContext::PermissionsErrorContext(JsonView jsonValue) : + m_missingPermissionHasBeenSet(false) +{ + *this = jsonValue; +} + +PermissionsErrorContext& PermissionsErrorContext::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("MissingPermission")) + { + m_missingPermission = jsonValue.GetString("MissingPermission"); + + m_missingPermissionHasBeenSet = true; + } + + return *this; +} + +JsonValue PermissionsErrorContext::Jsonize() const +{ + JsonValue payload; + + if(m_missingPermissionHasBeenSet) + { + payload.WithString("MissingPermission", m_missingPermission); + + } + + return payload; +} + +} // namespace Model +} // namespace NetworkManager +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/CreateEnvironmentRequest.h b/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/CreateEnvironmentRequest.h index c0d113b307e..d49033b0edc 100644 --- a/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/CreateEnvironmentRequest.h +++ b/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/CreateEnvironmentRequest.h @@ -189,6 +189,26 @@ namespace Model inline CreateEnvironmentRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } inline CreateEnvironmentRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } ///@} + + ///@{ + /** + *

    A map of the key-value pairs of the tag or tags to assign to the newly + * created devices for this environment.

    + */ + inline const Aws::Map& GetDeviceCreationTags() const{ return m_deviceCreationTags; } + inline bool DeviceCreationTagsHasBeenSet() const { return m_deviceCreationTagsHasBeenSet; } + inline void SetDeviceCreationTags(const Aws::Map& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags = value; } + inline void SetDeviceCreationTags(Aws::Map&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags = std::move(value); } + inline CreateEnvironmentRequest& WithDeviceCreationTags(const Aws::Map& value) { SetDeviceCreationTags(value); return *this;} + inline CreateEnvironmentRequest& WithDeviceCreationTags(Aws::Map&& value) { SetDeviceCreationTags(std::move(value)); return *this;} + inline CreateEnvironmentRequest& AddDeviceCreationTags(const Aws::String& key, const Aws::String& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, value); return *this; } + inline CreateEnvironmentRequest& AddDeviceCreationTags(Aws::String&& key, const Aws::String& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), value); return *this; } + inline CreateEnvironmentRequest& AddDeviceCreationTags(const Aws::String& key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, std::move(value)); return *this; } + inline CreateEnvironmentRequest& AddDeviceCreationTags(Aws::String&& key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), std::move(value)); return *this; } + inline CreateEnvironmentRequest& AddDeviceCreationTags(const char* key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, std::move(value)); return *this; } + inline CreateEnvironmentRequest& AddDeviceCreationTags(Aws::String&& key, const char* value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), value); return *this; } + inline CreateEnvironmentRequest& AddDeviceCreationTags(const char* key, const char* value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, value); return *this; } + ///@} private: Aws::String m_name; @@ -220,6 +240,9 @@ namespace Model Aws::Map m_tags; bool m_tagsHasBeenSet = false; + + Aws::Map m_deviceCreationTags; + bool m_deviceCreationTagsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/Environment.h b/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/Environment.h index f3d50dc355c..8cde2e6306f 100644 --- a/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/Environment.h +++ b/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/Environment.h @@ -301,6 +301,26 @@ namespace Model inline Environment& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } inline Environment& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } ///@} + + ///@{ + /** + *

    "The tag keys and optional values for the newly created devices for this + * environment."

    + */ + inline const Aws::Map& GetDeviceCreationTags() const{ return m_deviceCreationTags; } + inline bool DeviceCreationTagsHasBeenSet() const { return m_deviceCreationTagsHasBeenSet; } + inline void SetDeviceCreationTags(const Aws::Map& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags = value; } + inline void SetDeviceCreationTags(Aws::Map&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags = std::move(value); } + inline Environment& WithDeviceCreationTags(const Aws::Map& value) { SetDeviceCreationTags(value); return *this;} + inline Environment& WithDeviceCreationTags(Aws::Map&& value) { SetDeviceCreationTags(std::move(value)); return *this;} + inline Environment& AddDeviceCreationTags(const Aws::String& key, const Aws::String& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, value); return *this; } + inline Environment& AddDeviceCreationTags(Aws::String&& key, const Aws::String& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), value); return *this; } + inline Environment& AddDeviceCreationTags(const Aws::String& key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, std::move(value)); return *this; } + inline Environment& AddDeviceCreationTags(Aws::String&& key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), std::move(value)); return *this; } + inline Environment& AddDeviceCreationTags(const char* key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, std::move(value)); return *this; } + inline Environment& AddDeviceCreationTags(Aws::String&& key, const char* value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), value); return *this; } + inline Environment& AddDeviceCreationTags(const char* key, const char* value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, value); return *this; } + ///@} private: Aws::String m_id; @@ -359,6 +379,9 @@ namespace Model Aws::Map m_tags; bool m_tagsHasBeenSet = false; + + Aws::Map m_deviceCreationTags; + bool m_deviceCreationTagsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/UpdateEnvironmentRequest.h b/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/UpdateEnvironmentRequest.h index ca30c7c569e..c3fd20c127e 100644 --- a/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/UpdateEnvironmentRequest.h +++ b/generated/src/aws-cpp-sdk-workspaces-thin-client/include/aws/workspaces-thin-client/model/UpdateEnvironmentRequest.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -143,6 +144,26 @@ namespace Model inline UpdateEnvironmentRequest& WithDesiredSoftwareSetId(Aws::String&& value) { SetDesiredSoftwareSetId(std::move(value)); return *this;} inline UpdateEnvironmentRequest& WithDesiredSoftwareSetId(const char* value) { SetDesiredSoftwareSetId(value); return *this;} ///@} + + ///@{ + /** + *

    A map of the key-value pairs of the tag or tags to assign to the newly + * created devices for this environment.

    + */ + inline const Aws::Map& GetDeviceCreationTags() const{ return m_deviceCreationTags; } + inline bool DeviceCreationTagsHasBeenSet() const { return m_deviceCreationTagsHasBeenSet; } + inline void SetDeviceCreationTags(const Aws::Map& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags = value; } + inline void SetDeviceCreationTags(Aws::Map&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags = std::move(value); } + inline UpdateEnvironmentRequest& WithDeviceCreationTags(const Aws::Map& value) { SetDeviceCreationTags(value); return *this;} + inline UpdateEnvironmentRequest& WithDeviceCreationTags(Aws::Map&& value) { SetDeviceCreationTags(std::move(value)); return *this;} + inline UpdateEnvironmentRequest& AddDeviceCreationTags(const Aws::String& key, const Aws::String& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, value); return *this; } + inline UpdateEnvironmentRequest& AddDeviceCreationTags(Aws::String&& key, const Aws::String& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), value); return *this; } + inline UpdateEnvironmentRequest& AddDeviceCreationTags(const Aws::String& key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, std::move(value)); return *this; } + inline UpdateEnvironmentRequest& AddDeviceCreationTags(Aws::String&& key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), std::move(value)); return *this; } + inline UpdateEnvironmentRequest& AddDeviceCreationTags(const char* key, Aws::String&& value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, std::move(value)); return *this; } + inline UpdateEnvironmentRequest& AddDeviceCreationTags(Aws::String&& key, const char* value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(std::move(key), value); return *this; } + inline UpdateEnvironmentRequest& AddDeviceCreationTags(const char* key, const char* value) { m_deviceCreationTagsHasBeenSet = true; m_deviceCreationTags.emplace(key, value); return *this; } + ///@} private: Aws::String m_id; @@ -168,6 +189,9 @@ namespace Model Aws::String m_desiredSoftwareSetId; bool m_desiredSoftwareSetIdHasBeenSet = false; + + Aws::Map m_deviceCreationTags; + bool m_deviceCreationTagsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/CreateEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/CreateEnvironmentRequest.cpp index 6e82feebb95..bfe1a9992db 100644 --- a/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/CreateEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/CreateEnvironmentRequest.cpp @@ -25,7 +25,8 @@ CreateEnvironmentRequest::CreateEnvironmentRequest() : m_kmsKeyArnHasBeenSet(false), m_clientToken(Aws::Utils::UUID::PseudoRandomUUID()), m_clientTokenHasBeenSet(true), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_deviceCreationTagsHasBeenSet(false) { } @@ -96,6 +97,17 @@ Aws::String CreateEnvironmentRequest::SerializePayload() const } + if(m_deviceCreationTagsHasBeenSet) + { + JsonValue deviceCreationTagsJsonMap; + for(auto& deviceCreationTagsItem : m_deviceCreationTags) + { + deviceCreationTagsJsonMap.WithString(deviceCreationTagsItem.first, deviceCreationTagsItem.second); + } + payload.WithObject("deviceCreationTags", std::move(deviceCreationTagsJsonMap)); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/Environment.cpp b/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/Environment.cpp index e35039361f2..fc42fd147b9 100644 --- a/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/Environment.cpp +++ b/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/Environment.cpp @@ -42,7 +42,8 @@ Environment::Environment() : m_updatedAtHasBeenSet(false), m_arnHasBeenSet(false), m_kmsKeyArnHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_deviceCreationTagsHasBeenSet(false) { } @@ -70,7 +71,8 @@ Environment::Environment(JsonView jsonValue) : m_updatedAtHasBeenSet(false), m_arnHasBeenSet(false), m_kmsKeyArnHasBeenSet(false), - m_tagsHasBeenSet(false) + m_tagsHasBeenSet(false), + m_deviceCreationTagsHasBeenSet(false) { *this = jsonValue; } @@ -213,6 +215,16 @@ Environment& Environment::operator =(JsonView jsonValue) m_tagsHasBeenSet = true; } + if(jsonValue.ValueExists("deviceCreationTags")) + { + Aws::Map deviceCreationTagsJsonMap = jsonValue.GetObject("deviceCreationTags").GetAllObjects(); + for(auto& deviceCreationTagsItem : deviceCreationTagsJsonMap) + { + m_deviceCreationTags[deviceCreationTagsItem.first] = deviceCreationTagsItem.second.AsString(); + } + m_deviceCreationTagsHasBeenSet = true; + } + return *this; } @@ -333,6 +345,17 @@ JsonValue Environment::Jsonize() const } + if(m_deviceCreationTagsHasBeenSet) + { + JsonValue deviceCreationTagsJsonMap; + for(auto& deviceCreationTagsItem : m_deviceCreationTags) + { + deviceCreationTagsJsonMap.WithString(deviceCreationTagsItem.first, deviceCreationTagsItem.second); + } + payload.WithObject("deviceCreationTags", std::move(deviceCreationTagsJsonMap)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/UpdateEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/UpdateEnvironmentRequest.cpp index e8e06455b71..d19d5b43ad5 100644 --- a/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/UpdateEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-workspaces-thin-client/source/model/UpdateEnvironmentRequest.cpp @@ -22,7 +22,8 @@ UpdateEnvironmentRequest::UpdateEnvironmentRequest() : m_maintenanceWindowHasBeenSet(false), m_softwareSetUpdateMode(SoftwareSetUpdateMode::NOT_SET), m_softwareSetUpdateModeHasBeenSet(false), - m_desiredSoftwareSetIdHasBeenSet(false) + m_desiredSoftwareSetIdHasBeenSet(false), + m_deviceCreationTagsHasBeenSet(false) { } @@ -70,6 +71,17 @@ Aws::String UpdateEnvironmentRequest::SerializePayload() const } + if(m_deviceCreationTagsHasBeenSet) + { + JsonValue deviceCreationTagsJsonMap; + for(auto& deviceCreationTagsItem : m_deviceCreationTags) + { + deviceCreationTagsJsonMap.WithString(deviceCreationTagsItem.first, deviceCreationTagsItem.second); + } + payload.WithObject("deviceCreationTags", std::move(deviceCreationTagsJsonMap)); + + } + return payload.View().WriteReadable(); } diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index 89069959ce9..119d712121b 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.355" +#define AWS_SDK_VERSION_STRING "1.11.356" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 355 +#define AWS_SDK_VERSION_PATCH 356 diff --git a/tools/code-generation/api-descriptions/autoscaling-2011-01-01.normal.json b/tools/code-generation/api-descriptions/autoscaling-2011-01-01.normal.json index 636cd0fe03d..782927ae5a0 100644 --- a/tools/code-generation/api-descriptions/autoscaling-2011-01-01.normal.json +++ b/tools/code-generation/api-descriptions/autoscaling-2011-01-01.normal.json @@ -4,11 +4,13 @@ "apiVersion":"2011-01-01", "endpointPrefix":"autoscaling", "protocol":"query", + "protocols":["query"], "serviceFullName":"Auto Scaling", "serviceId":"Auto Scaling", "signatureVersion":"v4", "uid":"autoscaling-2011-01-01", - "xmlNamespace":"http://autoscaling.amazonaws.com/doc/2011-01-01/" + "xmlNamespace":"http://autoscaling.amazonaws.com/doc/2011-01-01/", + "auth":["aws.auth#sigv4"] }, "operations":{ "AttachInstances":{ @@ -22,7 +24,7 @@ {"shape":"ResourceContentionFault"}, {"shape":"ServiceLinkedRoleFailure"} ], - "documentation":"

    Attaches one or more EC2 instances to the specified Auto Scaling group.

    When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.

    If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups.

    For more information, see Attach EC2 instances to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Attaches one or more EC2 instances to the specified Auto Scaling group.

    When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.

    If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups.

    For more information, see Detach or attach instances in the Amazon EC2 Auto Scaling User Guide.

    " }, "AttachLoadBalancerTargetGroups":{ "name":"AttachLoadBalancerTargetGroups", @@ -170,7 +172,7 @@ {"shape":"LimitExceededFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Creates a launch configuration.

    If you exceed your maximum limit of launch configurations, the call fails. To query this limit, call the DescribeAccountLimits API. For information about updating this limit, see Quotas for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    For more information, see Launch configurations in the Amazon EC2 Auto Scaling User Guide.

    Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2. For information about using launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Creates a launch configuration.

    If you exceed your maximum limit of launch configurations, the call fails. To query this limit, call the DescribeAccountLimits API. For information about updating this limit, see Quotas for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    For more information, see Launch configurations in the Amazon EC2 Auto Scaling User Guide.

    Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2. For information about using launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

    " }, "CreateOrUpdateTags":{ "name":"CreateOrUpdateTags", @@ -253,7 +255,7 @@ {"shape":"ResourceContentionFault"}, {"shape":"ServiceLinkedRoleFailure"} ], - "documentation":"

    Deletes the specified scaling policy.

    Deleting either a step scaling policy or a simple scaling policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.

    For more information, see Deleting a scaling policy in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Deletes the specified scaling policy.

    Deleting either a step scaling policy or a simple scaling policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.

    For more information, see Delete a scaling policy in the Amazon EC2 Auto Scaling User Guide.

    " }, "DeleteScheduledAction":{ "name":"DeleteScheduledAction", @@ -542,7 +544,7 @@ {"shape":"InvalidNextToken"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Gets information about the scaling activities in the account and Region.

    When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see Verifying a scaling activity for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    If the scaling event succeeds, the value of the StatusCode element in the response is Successful. If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage, see Troubleshooting Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Gets information about the scaling activities in the account and Region.

    When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see Verify a scaling activity for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    If the scaling event succeeds, the value of the StatusCode element in the response is Successful. If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage, see Troubleshooting Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "DescribeScalingProcessTypes":{ "name":"DescribeScalingProcessTypes", @@ -606,7 +608,7 @@ "errors":[ {"shape":"ResourceContentionFault"} ], - "documentation":"

    Describes the termination policies supported by Amazon EC2 Auto Scaling.

    For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Describes the termination policies supported by Amazon EC2 Auto Scaling.

    For more information, see Configure termination policies for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "DescribeTrafficSources":{ "name":"DescribeTrafficSources", @@ -657,7 +659,7 @@ "errors":[ {"shape":"ResourceContentionFault"} ], - "documentation":"

    Removes one or more instances from the specified Auto Scaling group.

    After the instances are detached, you can manage them independent of the Auto Scaling group.

    If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached.

    If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.

    For more information, see Detach EC2 instances from your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Removes one or more instances from the specified Auto Scaling group.

    After the instances are detached, you can manage them independent of the Auto Scaling group.

    If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached.

    If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.

    For more information, see Detach or attach instances in the Amazon EC2 Auto Scaling User Guide.

    " }, "DetachLoadBalancerTargetGroups":{ "name":"DetachLoadBalancerTargetGroups", @@ -821,7 +823,7 @@ {"shape":"ResourceContentionFault"}, {"shape":"ServiceLinkedRoleFailure"} ], - "documentation":"

    Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address.

    This configuration overwrites any existing configuration.

    For more information, see Getting Amazon SNS notifications when your Auto Scaling group scales in the Amazon EC2 Auto Scaling User Guide.

    If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call fails.

    " + "documentation":"

    Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address.

    This configuration overwrites any existing configuration.

    For more information, see Amazon SNS notification options for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call fails.

    " }, "PutScalingPolicy":{ "name":"PutScalingPolicy", @@ -853,7 +855,7 @@ {"shape":"LimitExceededFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Creates or updates a scheduled scaling action for an Auto Scaling group.

    For more information, see Scheduled scaling in the Amazon EC2 Auto Scaling User Guide.

    You can view the scheduled actions for an Auto Scaling group using the DescribeScheduledActions API call. If you are no longer using a scheduled action, you can delete it by calling the DeleteScheduledAction API.

    If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message.

    " + "documentation":"

    Creates or updates a scheduled scaling action for an Auto Scaling group.

    For more information, see Scheduled scaling in the Amazon EC2 Auto Scaling User Guide.

    You can view the scheduled actions for an Auto Scaling group using the DescribeScheduledActions API call. If you are no longer using a scheduled action, you can delete it by calling the DeleteScheduledAction API.

    If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message.

    " }, "PutWarmPool":{ "name":"PutWarmPool", @@ -870,7 +872,7 @@ {"shape":"LimitExceededFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new desired capacity. For more information and example configurations, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    This operation must be called from the Region in which the Auto Scaling group was created. This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a launch template or launch configuration that requests Spot Instances.

    You can view the instances in the warm pool using the DescribeWarmPool API call. If you are no longer using a warm pool, you can delete it by calling the DeleteWarmPool API.

    " + "documentation":"

    Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new desired capacity.

    This operation must be called from the Region in which the Auto Scaling group was created.

    You can view the instances in the warm pool using the DescribeWarmPool API call. If you are no longer using a warm pool, you can delete it by calling the DeleteWarmPool API.

    For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "RecordLifecycleActionHeartbeat":{ "name":"RecordLifecycleActionHeartbeat", @@ -899,7 +901,7 @@ {"shape":"ResourceInUseFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Resumes the specified suspended auto scaling processes, or all suspended process, for the specified Auto Scaling group.

    For more information, see Suspending and resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Resumes the specified suspended auto scaling processes, or all suspended process, for the specified Auto Scaling group.

    For more information, see Suspend and resume Amazon EC2 Auto Scaling processes in the Amazon EC2 Auto Scaling User Guide.

    " }, "RollbackInstanceRefresh":{ "name":"RollbackInstanceRefresh", @@ -931,7 +933,7 @@ {"shape":"ScalingActivityInProgressFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Sets the size of the specified Auto Scaling group.

    If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate.

    For more information, see Manual scaling in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Sets the size of the specified Auto Scaling group.

    If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate.

    For more information, see Manual scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "SetInstanceHealth":{ "name":"SetInstanceHealth", @@ -943,7 +945,7 @@ "errors":[ {"shape":"ResourceContentionFault"} ], - "documentation":"

    Sets the health status of the specified instance.

    For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Sets the health status of the specified instance.

    For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    " }, "SetInstanceProtection":{ "name":"SetInstanceProtection", @@ -960,7 +962,7 @@ {"shape":"LimitExceededFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool.

    For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

    If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.

    " + "documentation":"

    Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool.

    For more information, see Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

    If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.

    " }, "StartInstanceRefresh":{ "name":"StartInstanceRefresh", @@ -991,7 +993,7 @@ {"shape":"ResourceInUseFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group.

    If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. For more information, see Suspending and resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

    To resume processes that have been suspended, call the ResumeProcesses API.

    " + "documentation":"

    Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group.

    If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. For more information, see Suspend and resume Amazon EC2 Auto Scaling processes in the Amazon EC2 Auto Scaling User Guide.

    To resume processes that have been suspended, call the ResumeProcesses API.

    " }, "TerminateInstanceInAutoScalingGroup":{ "name":"TerminateInstanceInAutoScalingGroup", @@ -1008,7 +1010,7 @@ {"shape":"ScalingActivityInProgressFault"}, {"shape":"ResourceContentionFault"} ], - "documentation":"

    Terminates the specified instance and optionally adjusts the desired group size. This operation cannot be called on instances in a warm pool.

    This call simply makes a termination request. The instance is not terminated immediately. When an instance is terminated, the instance status changes to terminated. You can't connect to or start an instance after you've terminated it.

    If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are terminated.

    By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you decrement the desired capacity, your Auto Scaling group can become unbalanced between Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might terminate instances in other zones. For more information, see Rebalancing activities in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Terminates the specified instance and optionally adjusts the desired group size. This operation cannot be called on instances in a warm pool.

    This call simply makes a termination request. The instance is not terminated immediately. When an instance is terminated, the instance status changes to terminated. You can't connect to or start an instance after you've terminated it.

    If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are terminated.

    By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you decrement the desired capacity, your Auto Scaling group can become unbalanced between Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might terminate instances in other zones. For more information, see Manual scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "UpdateAutoScalingGroup":{ "name":"UpdateAutoScalingGroup", @@ -1604,7 +1606,7 @@ }, "LifecycleState":{ "shape":"XmlStringMaxLen32", - "documentation":"

    The lifecycle state for the instance. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

    Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running

    " + "documentation":"

    The lifecycle state for the instance. The Quarantined state is not used. For more information, see Amazon EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

    Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running

    " }, "HealthStatus":{ "shape":"XmlStringMaxLen32", @@ -1903,7 +1905,7 @@ }, "LaunchTemplate":{ "shape":"LaunchTemplateSpecification", - "documentation":"

    Information used to specify the launch template and version to use to launch instances.

    Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

    The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Information used to specify the launch template and version to use to launch instances.

    Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

    The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Create a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    " }, "MixedInstancesPolicy":{ "shape":"MixedInstancesPolicy", @@ -1911,7 +1913,7 @@ }, "InstanceId":{ "shape":"XmlStringMaxLen19", - "documentation":"

    The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Create an Auto Scaling group using parameters from an existing instance in the Amazon EC2 Auto Scaling User Guide.

    " }, "MinSize":{ "shape":"AutoScalingGroupMinSize", @@ -1927,7 +1929,7 @@ }, "DefaultCooldown":{ "shape":"Cooldown", - "documentation":"

    Only needed if you use simple scaling policies.

    The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    Default: 300 seconds

    " + "documentation":"

    Only needed if you use simple scaling policies.

    The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    Default: 300 seconds

    " }, "AvailabilityZones":{ "shape":"AvailabilityZones", @@ -1943,7 +1945,7 @@ }, "HealthCheckType":{ "shape":"XmlStringMaxLen32", - "documentation":"

    A comma-separated value string of one or more health check types.

    The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

    Only specify EC2 if you must clear a value that was previously set.

    " + "documentation":"

    A comma-separated value string of one or more health check types.

    The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    Only specify EC2 if you must clear a value that was previously set.

    " }, "HealthCheckGracePeriod":{ "shape":"HealthCheckGracePeriod", @@ -1959,11 +1961,11 @@ }, "TerminationPolicies":{ "shape":"TerminationPolicies", - "documentation":"

    A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide.

    Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias

    " + "documentation":"

    A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Configure termination policies for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias

    " }, "NewInstancesProtectedFromScaleIn":{ "shape":"InstanceProtected", - "documentation":"

    Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

    " }, "CapacityRebalance":{ "shape":"CapacityRebalanceEnabled", @@ -1983,7 +1985,7 @@ }, "MaxInstanceLifetime":{ "shape":"MaxInstanceLifetime", - "documentation":"

    The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replace Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.

    " }, "Context":{ "shape":"Context", @@ -1991,7 +1993,7 @@ }, "DesiredCapacityType":{ "shape":"XmlStringMaxLen255", - "documentation":"

    The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.

    By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances.

    Valid values: units | vcpu | memory-mib

    " + "documentation":"

    The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Create a mixed instances group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.

    By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances.

    Valid values: units | vcpu | memory-mib

    " }, "DefaultInstanceWarmup":{ "shape":"DefaultInstanceWarmup", @@ -2017,15 +2019,15 @@ }, "ImageId":{ "shape":"XmlStringMaxLen255", - "documentation":"

    The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see Finding a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

    If you specify InstanceId, an ImageId is not required.

    " + "documentation":"

    The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see Find a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

    If you specify InstanceId, an ImageId is not required.

    " }, "KeyName":{ "shape":"XmlStringMaxLen255", - "documentation":"

    The name of the key pair. For more information, see Amazon EC2 key pairs and Linux instances in the Amazon EC2 User Guide for Linux Instances.

    " + "documentation":"

    The name of the key pair. For more information, see Amazon EC2 key pairs and Amazon EC2 instances in the Amazon EC2 User Guide for Linux Instances.

    " }, "SecurityGroups":{ "shape":"SecurityGroups", - "documentation":"

    A list that contains the security group IDs to assign to the instances in the Auto Scaling group. For more information, see Control traffic to resources using security groups in the Amazon Virtual Private Cloud User Guide.

    " + "documentation":"

    A list that contains the security group IDs to assign to the instances in the Auto Scaling group. For more information, see Control traffic to your Amazon Web Services resources using security groups in the Amazon Virtual Private Cloud User Guide.

    " }, "ClassicLinkVPCId":{ "shape":"XmlStringMaxLen255", @@ -2041,7 +2043,7 @@ }, "InstanceId":{ "shape":"XmlStringMaxLen19", - "documentation":"

    The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, except for the block device mapping.

    To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.

    For more information, see Creating a launch configuration using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, except for the block device mapping.

    To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.

    For more information, see Create a launch configuration in the Amazon EC2 Auto Scaling User Guide.

    " }, "InstanceType":{ "shape":"XmlStringMaxLen255", @@ -2061,7 +2063,7 @@ }, "InstanceMonitoring":{ "shape":"InstanceMonitoring", - "documentation":"

    Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

    The default value is true (enabled).

    When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

    The default value is true (enabled).

    When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see Configure monitoring for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

    " }, "SpotPrice":{ "shape":"SpotPrice", @@ -2073,19 +2075,19 @@ }, "EbsOptimized":{ "shape":"EbsOptimized", - "documentation":"

    Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see Amazon EBS-optimized instances in the Amazon EC2 User Guide for Linux Instances.

    The default value is false.

    " + "documentation":"

    Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see Amazon EBS-optimized instances in the Amazon EC2 User Guide for Linux Instances.

    The default value is false.

    " }, "AssociatePublicIpAddress":{ "shape":"AssociatePublicIpAddress", - "documentation":"

    Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet.

    If you specify true, each instance in the Auto Scaling group receives a unique public IPv4 address. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

    If you specify this property, you must specify at least one subnet for VPCZoneIdentifier when you create your group.

    " + "documentation":"

    Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet.

    If you specify true, each instance in the Auto Scaling group receives a unique public IPv4 address. For more information, see Provide network connectivity for your Auto Scaling instances using Amazon VPC in the Amazon EC2 Auto Scaling User Guide.

    If you specify this property, you must specify at least one subnet for VPCZoneIdentifier when you create your group.

    " }, "PlacementTenancy":{ "shape":"XmlStringMaxLen64", - "documentation":"

    The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. To launch dedicated instances into a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to default), you must set the value of this property to dedicated. For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    If you specify PlacementTenancy, you must specify at least one subnet for VPCZoneIdentifier when you create your group.

    Valid values: default | dedicated

    " + "documentation":"

    The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC. To launch dedicated instances into a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to default), you must set the value of this property to dedicated.

    If you specify PlacementTenancy, you must specify at least one subnet for VPCZoneIdentifier when you create your group.

    Valid values: default | dedicated

    " }, "MetadataOptions":{ "shape":"InstanceMetadataOptions", - "documentation":"

    The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    The metadata options for the instances. For more information, see Configure the instance metadata options in the Amazon EC2 Auto Scaling User Guide.

    " } } }, @@ -2652,7 +2654,7 @@ "members":{ "LaunchTemplate":{ "shape":"LaunchTemplateSpecification", - "documentation":"

    Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

    " }, "MixedInstancesPolicy":{ "shape":"MixedInstancesPolicy", @@ -2767,7 +2769,7 @@ }, "Metrics":{ "shape":"Metrics", - "documentation":"

    Identifies the metrics to disable.

    You can specify one or more of the following metrics:

    • GroupMinSize

    • GroupMaxSize

    • GroupDesiredCapacity

    • GroupInServiceInstances

    • GroupPendingInstances

    • GroupStandbyInstances

    • GroupTerminatingInstances

    • GroupTotalInstances

    • GroupInServiceCapacity

    • GroupPendingCapacity

    • GroupStandbyCapacity

    • GroupTerminatingCapacity

    • GroupTotalCapacity

    • WarmPoolDesiredCapacity

    • WarmPoolWarmedCapacity

    • WarmPoolPendingCapacity

    • WarmPoolTerminatingCapacity

    • WarmPoolTotalCapacity

    • GroupAndWarmPoolDesiredCapacity

    • GroupAndWarmPoolTotalCapacity

    If you omit this property, all metrics are disabled.

    For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Identifies the metrics to disable.

    You can specify one or more of the following metrics:

    • GroupMinSize

    • GroupMaxSize

    • GroupDesiredCapacity

    • GroupInServiceInstances

    • GroupPendingInstances

    • GroupStandbyInstances

    • GroupTerminatingInstances

    • GroupTotalInstances

    • GroupInServiceCapacity

    • GroupPendingCapacity

    • GroupStandbyCapacity

    • GroupTerminatingCapacity

    • GroupTotalCapacity

    • WarmPoolDesiredCapacity

    • WarmPoolWarmedCapacity

    • WarmPoolPendingCapacity

    • WarmPoolTerminatingCapacity

    • WarmPoolTotalCapacity

    • GroupAndWarmPoolDesiredCapacity

    • GroupAndWarmPoolTotalCapacity

    If you omit this property, all metrics are disabled.

    For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " } } }, @@ -2785,7 +2787,7 @@ }, "VolumeType":{ "shape":"BlockDeviceEbsVolumeType", - "documentation":"

    The volume type. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances.

    Valid values: standard | io1 | gp2 | st1 | sc1 | gp3

    " + "documentation":"

    The volume type. For more information, see Amazon EBS volume types in the Amazon EBS User Guide.

    Valid values: standard | io1 | gp2 | st1 | sc1 | gp3

    " }, "DeleteOnTermination":{ "shape":"BlockDeviceEbsDeleteOnTermination", @@ -2793,11 +2795,11 @@ }, "Iops":{ "shape":"BlockDeviceEbsIops", - "documentation":"

    The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3: 3,000-16,000 IOPS

    • io1: 100-64,000 IOPS

    For io1 volumes, we guarantee 64,000 IOPS only for Instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS.

    Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)

    " + "documentation":"

    The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3: 3,000-16,000 IOPS

    • io1: 100-64,000 IOPS

    For io1 volumes, we guarantee 64,000 IOPS only for Instances built on the Amazon Web Services Nitro System. Other instance families guarantee performance up to 32,000 IOPS.

    Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)

    " }, "Encrypted":{ "shape":"BlockDeviceEbsEncrypted", - "documentation":"

    Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also only launch it on supported instance types.

    If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration.

    If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted.

    For more information, see Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Requirements for Amazon EBS encryption in the Amazon EBS User Guide. If your AMI uses encrypted volumes, you can also only launch it on supported instance types.

    If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration.

    If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted.

    For more information, see Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

    " }, "Throughput":{ "shape":"BlockDeviceEbsThroughput", @@ -2820,7 +2822,7 @@ }, "Metrics":{ "shape":"Metrics", - "documentation":"

    Identifies the metrics to enable.

    You can specify one or more of the following metrics:

    • GroupMinSize

    • GroupMaxSize

    • GroupDesiredCapacity

    • GroupInServiceInstances

    • GroupPendingInstances

    • GroupStandbyInstances

    • GroupTerminatingInstances

    • GroupTotalInstances

    • GroupInServiceCapacity

    • GroupPendingCapacity

    • GroupStandbyCapacity

    • GroupTerminatingCapacity

    • GroupTotalCapacity

    • WarmPoolDesiredCapacity

    • WarmPoolWarmedCapacity

    • WarmPoolPendingCapacity

    • WarmPoolTerminatingCapacity

    • WarmPoolTotalCapacity

    • GroupAndWarmPoolDesiredCapacity

    • GroupAndWarmPoolTotalCapacity

    If you specify Granularity and don't specify any metrics, all metrics are enabled.

    For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Identifies the metrics to enable.

    You can specify one or more of the following metrics:

    • GroupMinSize

    • GroupMaxSize

    • GroupDesiredCapacity

    • GroupInServiceInstances

    • GroupPendingInstances

    • GroupStandbyInstances

    • GroupTerminatingInstances

    • GroupTotalInstances

    • GroupInServiceCapacity

    • GroupPendingCapacity

    • GroupStandbyCapacity

    • GroupTerminatingCapacity

    • GroupTotalCapacity

    • WarmPoolDesiredCapacity

    • WarmPoolWarmedCapacity

    • WarmPoolPendingCapacity

    • WarmPoolTerminatingCapacity

    • WarmPoolTotalCapacity

    • GroupAndWarmPoolDesiredCapacity

    • GroupAndWarmPoolTotalCapacity

    If you specify Granularity and don't specify any metrics, all metrics are enabled.

    For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "Granularity":{ "shape":"XmlStringMaxLen255", @@ -2833,7 +2835,7 @@ "members":{ "Metric":{ "shape":"XmlStringMaxLen255", - "documentation":"

    One of the following metrics:

    • GroupMinSize

    • GroupMaxSize

    • GroupDesiredCapacity

    • GroupInServiceInstances

    • GroupPendingInstances

    • GroupStandbyInstances

    • GroupTerminatingInstances

    • GroupTotalInstances

    • GroupInServiceCapacity

    • GroupPendingCapacity

    • GroupStandbyCapacity

    • GroupTerminatingCapacity

    • GroupTotalCapacity

    • WarmPoolDesiredCapacity

    • WarmPoolWarmedCapacity

    • WarmPoolPendingCapacity

    • WarmPoolTerminatingCapacity

    • WarmPoolTotalCapacity

    • GroupAndWarmPoolDesiredCapacity

    • GroupAndWarmPoolTotalCapacity

    For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    One of the following metrics:

    • GroupMinSize

    • GroupMaxSize

    • GroupDesiredCapacity

    • GroupInServiceInstances

    • GroupPendingInstances

    • GroupStandbyInstances

    • GroupTerminatingInstances

    • GroupTotalInstances

    • GroupInServiceCapacity

    • GroupPendingCapacity

    • GroupStandbyCapacity

    • GroupTerminatingCapacity

    • GroupTotalCapacity

    • WarmPoolDesiredCapacity

    • WarmPoolWarmedCapacity

    • WarmPoolPendingCapacity

    • WarmPoolTerminatingCapacity

    • WarmPoolTotalCapacity

    • GroupAndWarmPoolDesiredCapacity

    • GroupAndWarmPoolTotalCapacity

    For more information, see Amazon CloudWatch metrics for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "Granularity":{ "shape":"XmlStringMaxLen255", @@ -2902,7 +2904,7 @@ }, "HonorCooldown":{ "shape":"HonorCooldown", - "documentation":"

    Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy.

    Valid only if the policy type is SimpleScaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy.

    Valid only if the policy type is SimpleScaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "MetricValue":{ "shape":"MetricScale", @@ -3057,7 +3059,7 @@ }, "LifecycleState":{ "shape":"LifecycleState", - "documentation":"

    A description of the current lifecycle state. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    A description of the current lifecycle state. The Quarantined state is not used. For more information, see Amazon EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

    " }, "HealthStatus":{ "shape":"XmlStringMaxLen32", @@ -3146,7 +3148,7 @@ "documentation":"

    This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

    If you specify a value of disabled, you will not be able to access your instance metadata.

    " } }, - "documentation":"

    The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    The metadata options for the instances. For more information, see Configure the instance metadata options in the Amazon EC2 Auto Scaling User Guide.

    " }, "InstanceMonitoring":{ "type":"structure", @@ -3394,7 +3396,7 @@ "documentation":"

    The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.

    You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

    For example, if you specify c5*, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes.

    Default: All instance types

    " } }, - "documentation":"

    The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

    When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

    To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request:

    • AllowedInstanceTypes - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.

    • ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes.

    You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

    For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.

    " + "documentation":"

    The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

    When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

    To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request:

    • AllowedInstanceTypes - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.

    • ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes.

    You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

    For more information, see Create a mixed instances group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.

    " }, "InstanceReusePolicy":{ "type":"structure", @@ -3516,11 +3518,11 @@ }, "KeyName":{ "shape":"XmlStringMaxLen255", - "documentation":"

    The name of the key pair.

    For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.

    " + "documentation":"

    The name of the key pair.

    For more information, see Amazon EC2 key pairs and Amazon EC2 instances in the Amazon EC2 User Guide for Linux Instances.

    " }, "SecurityGroups":{ "shape":"SecurityGroups", - "documentation":"

    A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

    " + "documentation":"

    A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Control traffic to your Amazon Web Services resources using security groups in the Amazon Virtual Private Cloud User Guide.

    " }, "ClassicLinkVPCId":{ "shape":"XmlStringMaxLen255", @@ -3548,15 +3550,15 @@ }, "BlockDeviceMappings":{ "shape":"BlockDeviceMappings", - "documentation":"

    The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

    " + "documentation":"

    The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block device mappings in the Amazon EC2 User Guide for Linux Instances.

    " }, "InstanceMonitoring":{ "shape":"InstanceMonitoring", - "documentation":"

    Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

    For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

    For more information, see Configure monitoring for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

    " }, "SpotPrice":{ "shape":"SpotPrice", - "documentation":"

    The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances for fault-tolerant and flexible applications in the Amazon EC2 Auto Scaling User Guide.

    " }, "IamInstanceProfile":{ "shape":"XmlStringMaxLen1600", @@ -3568,19 +3570,19 @@ }, "EbsOptimized":{ "shape":"EbsOptimized", - "documentation":"

    Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.

    " + "documentation":"

    Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see Amazon EBS-optimized instances in the Amazon EC2 User Guide for Linux Instances.

    " }, "AssociatePublicIpAddress":{ "shape":"AssociatePublicIpAddress", - "documentation":"

    Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Provide network connectivity for your Auto Scaling instances using Amazon VPC in the Amazon EC2 Auto Scaling User Guide.

    " }, "PlacementTenancy":{ "shape":"XmlStringMaxLen64", - "documentation":"

    The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.

    For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.

    " }, "MetadataOptions":{ "shape":"InstanceMetadataOptions", - "documentation":"

    The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    The metadata options for the instances. For more information, see Configure the instance metadata options in the Amazon EC2 Auto Scaling User Guide.

    " } }, "documentation":"

    Describes a launch configuration.

    " @@ -3659,11 +3661,11 @@ "members":{ "InstanceType":{ "shape":"XmlStringMaxLen255", - "documentation":"

    The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide.

    You can specify up to 40 instance types per Auto Scaling group.

    " + "documentation":"

    The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances.

    You can specify up to 40 instance types per Auto Scaling group.

    " }, "WeightedCapacity":{ "shape":"XmlStringMaxLen32", - "documentation":"

    If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configuring instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.

    If you specify a value for WeightedCapacity for one instance type, you must specify a value for WeightedCapacity for all of them.

    Every Auto Scaling group has three size parameters (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.

    " + "documentation":"

    If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configure an Auto Scaling group to use instance weights in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.

    If you specify a value for WeightedCapacity for one instance type, you must specify a value for WeightedCapacity for all of them.

    Every Auto Scaling group has three size parameters (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.

    " }, "LaunchTemplateSpecification":{ "shape":"LaunchTemplateSpecification", @@ -3692,7 +3694,7 @@ "documentation":"

    The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

    " } }, - "documentation":"

    Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

    " }, "LifecycleActionResult":{"type":"string"}, "LifecycleActionToken":{ @@ -3780,7 +3782,7 @@ }, "RoleARN":{ "shape":"XmlStringMaxLen255", - "documentation":"

    The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide.

    Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.

    " + "documentation":"

    The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Prepare to add a lifecycle hook to your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.

    " } }, "documentation":"

    Describes information used to specify a lifecycle hook for an Auto Scaling group.

    For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

    " @@ -4315,7 +4317,7 @@ }, "MaxCapacityBreachBehavior":{ "shape":"PredictiveScalingMaxCapacityBreachBehavior", - "documentation":"

    Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults to HonorMaxCapacity if not specified.

    The following are possible values:

    • HonorMaxCapacity - Amazon EC2 Auto Scaling cannot scale out capacity higher than the maximum capacity. The maximum capacity is enforced as a hard limit.

    • IncreaseMaxCapacity - Amazon EC2 Auto Scaling can scale out capacity higher than the maximum capacity when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value for MaxCapacityBuffer.

    " + "documentation":"

    Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults to HonorMaxCapacity if not specified.

    The following are possible values:

    • HonorMaxCapacity - Amazon EC2 Auto Scaling can't increase the maximum capacity of the group when the forecast capacity is close to or exceeds the maximum capacity.

    • IncreaseMaxCapacity - Amazon EC2 Auto Scaling can increase the maximum capacity of the group when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value for MaxCapacityBuffer.

    Use caution when allowing the maximum capacity to be automatically increased. This can lead to more instances being launched than intended if the increased maximum capacity is not monitored and managed. The increased maximum capacity then becomes the new normal maximum capacity for the Auto Scaling group until you manually update it. The maximum capacity does not automatically decrease back to the original maximum.

    " }, "MaxCapacityBuffer":{ "shape":"PredictiveScalingMaxCapacityBuffer", @@ -4485,7 +4487,7 @@ "documentation":"

    One of the following processes:

    • Launch

    • Terminate

    • AddToLoadBalancer

    • AlarmNotification

    • AZRebalance

    • HealthCheck

    • InstanceRefresh

    • ReplaceUnhealthy

    • ScheduledActions

    " } }, - "documentation":"

    Describes a process type.

    For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Describes a process type.

    For more information, see Types of processes in the Amazon EC2 Auto Scaling User Guide.

    " }, "Processes":{ "type":"list", @@ -4608,7 +4610,7 @@ }, "Cooldown":{ "shape":"Cooldown", - "documentation":"

    A cooldown period, in seconds, that applies to a specific simple scaling policy. When a cooldown period is specified here, it overrides the default cooldown.

    Valid only if the policy type is SimpleScaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    Default: None

    " + "documentation":"

    A cooldown period, in seconds, that applies to a specific simple scaling policy. When a cooldown period is specified here, it overrides the default cooldown.

    Valid only if the policy type is SimpleScaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    Default: None

    " }, "MetricAggregationType":{ "shape":"XmlStringMaxLen32", @@ -4628,7 +4630,7 @@ }, "Enabled":{ "shape":"ScalingPolicyEnabled", - "documentation":"

    Indicates whether the scaling policy is enabled or disabled. The default is enabled. For more information, see Disabling a scaling policy for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Indicates whether the scaling policy is enabled or disabled. The default is enabled. For more information, see Disable a scaling policy for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    " }, "PredictiveScalingConfiguration":{ "shape":"PredictiveScalingConfiguration", @@ -4763,7 +4765,7 @@ }, "CheckpointPercentages":{ "shape":"CheckpointPercentages", - "documentation":"

    (Optional) Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100.

    For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    (Optional) Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100.

    For usage examples, see Add checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.

    " }, "CheckpointDelay":{ "shape":"CheckpointDelay", @@ -5185,7 +5187,7 @@ }, "ShouldRespectGracePeriod":{ "shape":"ShouldRespectGracePeriod", - "documentation":"

    If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group.

    For more information about the health check grace period, see CreateAutoScalingGroup in the Amazon EC2 Auto Scaling API Reference.

    " + "documentation":"

    If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group.

    For more information about the health check grace period, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    " } } }, @@ -5299,7 +5301,7 @@ "documentation":"

    The reason that the process was suspended.

    " } }, - "documentation":"

    Describes an auto scaling process that has been suspended.

    For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Describes an auto scaling process that has been suspended.

    For more information, see Types of processes in the Amazon EC2 Auto Scaling User Guide.

    " }, "SuspendedProcesses":{ "type":"list", @@ -5427,7 +5429,7 @@ "required":["Id"], "members":{ "Id":{ - "shape":"XmlStringMaxLen255", + "shape":"XmlStringMaxLen64", "documentation":"

    A short name that identifies the object's results in the response. This name must be unique among all TargetTrackingMetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

    " }, "Expression":{ @@ -5588,7 +5590,7 @@ }, "DefaultCooldown":{ "shape":"Cooldown", - "documentation":"

    Only needed if you use simple scaling policies.

    The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Only needed if you use simple scaling policies.

    The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    " }, "AvailabilityZones":{ "shape":"AvailabilityZones", @@ -5596,7 +5598,7 @@ }, "HealthCheckType":{ "shape":"XmlStringMaxLen32", - "documentation":"

    A comma-separated value string of one or more health check types.

    The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

    Only specify EC2 if you must clear a value that was previously set.

    " + "documentation":"

    A comma-separated value string of one or more health check types.

    The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

    Only specify EC2 if you must clear a value that was previously set.

    " }, "HealthCheckGracePeriod":{ "shape":"HealthCheckGracePeriod", @@ -5612,11 +5614,11 @@ }, "TerminationPolicies":{ "shape":"TerminationPolicies", - "documentation":"

    A policy or a list of policies that are used to select the instances to terminate. The policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide.

    Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias

    " + "documentation":"

    A policy or a list of policies that are used to select the instances to terminate. The policies are executed in the order that you list them. For more information, see Configure termination policies for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

    Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias

    " }, "NewInstancesProtectedFromScaleIn":{ "shape":"InstanceProtected", - "documentation":"

    Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

    " + "documentation":"

    Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Use instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

    " }, "ServiceLinkedRoleARN":{ "shape":"ResourceName", @@ -5636,7 +5638,7 @@ }, "DesiredCapacityType":{ "shape":"XmlStringMaxLen255", - "documentation":"

    The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.

    By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances.

    Valid values: units | vcpu | memory-mib

    " + "documentation":"

    The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Create a mixed instances group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.

    By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances.

    Valid values: units | vcpu | memory-mib

    " }, "DefaultInstanceWarmup":{ "shape":"DefaultInstanceWarmup", @@ -5779,5 +5781,5 @@ "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, - "documentation":"Amazon EC2 Auto Scaling

    Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.

    For more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.

    " + "documentation":"Amazon EC2 Auto Scaling

    Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.

    For more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.

    " } diff --git a/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json b/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json index 31be1c515a2..98a758ff460 100644 --- a/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json +++ b/tools/code-generation/api-descriptions/ec2-2016-11-15.normal.json @@ -37201,7 +37201,22 @@ "u7i-12tb.224xlarge", "u7in-16tb.224xlarge", "u7in-24tb.224xlarge", - "u7in-32tb.224xlarge" + "u7in-32tb.224xlarge", + "u7ib-12tb.224xlarge", + "c7gn.metal", + "r8g.medium", + "r8g.large", + "r8g.xlarge", + "r8g.2xlarge", + "r8g.4xlarge", + "r8g.8xlarge", + "r8g.12xlarge", + "r8g.16xlarge", + "r8g.24xlarge", + "r8g.48xlarge", + "r8g.metal-24xl", + "r8g.metal-48xl", + "mac2-m1ultra.metal" ] }, "InstanceTypeHypervisor":{ diff --git a/tools/code-generation/api-descriptions/networkmanager-2019-07-05.normal.json b/tools/code-generation/api-descriptions/networkmanager-2019-07-05.normal.json index 84a2d9982f3..70025bd73a5 100644 --- a/tools/code-generation/api-descriptions/networkmanager-2019-07-05.normal.json +++ b/tools/code-generation/api-descriptions/networkmanager-2019-07-05.normal.json @@ -1802,10 +1802,55 @@ "UpdatedAt":{ "shape":"DateTime", "documentation":"

    The timestamp when the attachment was last updated.

    " + }, + "LastModificationErrors":{ + "shape":"AttachmentErrorList", + "documentation":"

    Describes the error associated with the attachment request.

    " } }, "documentation":"

    Describes a core network attachment.

    " }, + "AttachmentError":{ + "type":"structure", + "members":{ + "Code":{ + "shape":"AttachmentErrorCode", + "documentation":"

    The error code for the attachment request.

    " + }, + "Message":{ + "shape":"ServerSideString", + "documentation":"

    The message associated with the error code.

    " + }, + "ResourceArn":{ + "shape":"ResourceArn", + "documentation":"

    The ARN of the requested attachment resource.

    " + }, + "RequestId":{ + "shape":"ServerSideString", + "documentation":"

    The ID of the attachment request.

    " + } + }, + "documentation":"

    Describes the error associated with an attachment request.

    " + }, + "AttachmentErrorCode":{ + "type":"string", + "enum":[ + "VPC_NOT_FOUND", + "SUBNET_NOT_FOUND", + "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE", + "SUBNET_NO_FREE_ADDRESSES", + "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE", + "SUBNET_NO_IPV6_CIDRS", + "VPN_CONNECTION_NOT_FOUND", + "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" + ] + }, + "AttachmentErrorList":{ + "type":"list", + "member":{"shape":"AttachmentError"}, + "max":20, + "min":0 + }, "AttachmentId":{ "type":"string", "max":50, @@ -2001,6 +2046,10 @@ "SubnetArn":{ "shape":"SubnetArn", "documentation":"

    The subnet ARN for the Connect peer. This only applies only when the protocol is NO_ENCAP.

    " + }, + "LastModificationErrors":{ + "shape":"ConnectPeerErrorList", + "documentation":"

    Describes the error associated with the attachment request.

    " } }, "documentation":"

    Describes a core network Connect peer.

    " @@ -2096,6 +2145,45 @@ }, "documentation":"

    Describes a core network Connect peer configuration.

    " }, + "ConnectPeerError":{ + "type":"structure", + "members":{ + "Code":{ + "shape":"ConnectPeerErrorCode", + "documentation":"

    The error code for the Connect peer request.

    " + }, + "Message":{ + "shape":"ServerSideString", + "documentation":"

    The message associated with the error code.

    " + }, + "ResourceArn":{ + "shape":"ResourceArn", + "documentation":"

    The ARN of the requested Connect peer resource.

    " + }, + "RequestId":{ + "shape":"ServerSideString", + "documentation":"

    The ID of the Connect peer request.

    " + } + }, + "documentation":"

    Describes an error associated with a Connect peer request

    " + }, + "ConnectPeerErrorCode":{ + "type":"string", + "enum":[ + "EDGE_LOCATION_NO_FREE_IPS", + "EDGE_LOCATION_PEER_DUPLICATE", + "SUBNET_NOT_FOUND", + "IP_OUTSIDE_SUBNET_CIDR_RANGE", + "INVALID_INSIDE_CIDR_BLOCK", + "NO_ASSOCIATED_CIDR_BLOCK" + ] + }, + "ConnectPeerErrorList":{ + "type":"list", + "member":{"shape":"ConnectPeerError"}, + "max":20, + "min":0 + }, "ConnectPeerId":{ "type":"string", "max":50, @@ -5845,10 +5933,57 @@ "CreatedAt":{ "shape":"DateTime", "documentation":"

    The timestamp when the attachment peer was created.

    " + }, + "LastModificationErrors":{ + "shape":"PeeringErrorList", + "documentation":"

    Describes the error associated with the Connect peer request.

    " } }, "documentation":"

    Describes a peering connection.

    " }, + "PeeringError":{ + "type":"structure", + "members":{ + "Code":{ + "shape":"PeeringErrorCode", + "documentation":"

    The error code for the peering request.

    " + }, + "Message":{ + "shape":"ServerSideString", + "documentation":"

    The message associated with the error code.

    " + }, + "ResourceArn":{ + "shape":"ResourceArn", + "documentation":"

    The ARN of the requested peering resource.

    " + }, + "RequestId":{ + "shape":"ServerSideString", + "documentation":"

    The ID of the Peering request.

    " + }, + "MissingPermissionsContext":{ + "shape":"PermissionsErrorContext", + "documentation":"

    Provides additional information about missing permissions for the peering error.

    " + } + }, + "documentation":"

    Describes an error associated with a peering request.

    " + }, + "PeeringErrorCode":{ + "type":"string", + "enum":[ + "TRANSIT_GATEWAY_NOT_FOUND", + "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", + "MISSING_PERMISSIONS", + "INTERNAL_ERROR", + "EDGE_LOCATION_PEER_DUPLICATE", + "INVALID_TRANSIT_GATEWAY_STATE" + ] + }, + "PeeringErrorList":{ + "type":"list", + "member":{"shape":"PeeringError"}, + "max":20, + "min":0 + }, "PeeringId":{ "type":"string", "max":50, @@ -5872,6 +6007,16 @@ "type":"string", "enum":["TRANSIT_GATEWAY"] }, + "PermissionsErrorContext":{ + "type":"structure", + "members":{ + "MissingPermission":{ + "shape":"ServerSideString", + "documentation":"

    The missing permissions.

    " + } + }, + "documentation":"

    Describes additional information about missing permissions.

    " + }, "ProposedNetworkFunctionGroupChange":{ "type":"structure", "members":{ diff --git a/tools/code-generation/api-descriptions/workspaces-thin-client-2023-08-22.normal.json b/tools/code-generation/api-descriptions/workspaces-thin-client-2023-08-22.normal.json index cf476458463..41171b3dec5 100644 --- a/tools/code-generation/api-descriptions/workspaces-thin-client-2023-08-22.normal.json +++ b/tools/code-generation/api-descriptions/workspaces-thin-client-2023-08-22.normal.json @@ -3,8 +3,8 @@ "metadata":{ "apiVersion":"2023-08-22", "endpointPrefix":"thinclient", - "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"Amazon WorkSpaces Thin Client", "serviceId":"WorkSpaces Thin Client", "signatureVersion":"v4", @@ -427,6 +427,10 @@ "tags":{ "shape":"TagsMap", "documentation":"

    A map of the key-value pairs of the tag or tags to assign to the resource.

    " + }, + "deviceCreationTags":{ + "shape":"DeviceCreationTagsMap", + "documentation":"

    A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.

    " } } }, @@ -636,6 +640,26 @@ }, "documentation":"

    Describes a thin client device.

    " }, + "DeviceCreationTagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"(?!aws:)[A-Za-z0-9 _=@:.+-/]+" + }, + "DeviceCreationTagValue":{ + "type":"string", + "max":256, + "min":0, + "pattern":"[A-Za-z0-9 _=@:.+-/]+" + }, + "DeviceCreationTagsMap":{ + "type":"map", + "key":{"shape":"DeviceCreationTagKey"}, + "value":{"shape":"DeviceCreationTagValue"}, + "max":50, + "min":0, + "sensitive":true + }, "DeviceId":{ "type":"string", "pattern":"[a-zA-Z0-9]{24}" @@ -810,6 +834,10 @@ "tags":{ "shape":"TagsMap", "documentation":"

    The tag keys and optional values for the resource.

    " + }, + "deviceCreationTags":{ + "shape":"DeviceCreationTagsMap", + "documentation":"

    \"The tag keys and optional values for the newly created devices for this environment.\"

    " } }, "documentation":"

    Describes an environment.

    " @@ -1513,6 +1541,10 @@ "desiredSoftwareSetId":{ "shape":"SoftwareSetIdOrEmptyString", "documentation":"

    The ID of the software set to apply.

    " + }, + "deviceCreationTags":{ + "shape":"DeviceCreationTagsMap", + "documentation":"

    A map of the key-value pairs of the tag or tags to assign to the newly created devices for this environment.

    " } } },