diff --git a/.changelog/4005b75da6ec4d98bae99ceb8a514ec2.json b/.changelog/4005b75da6ec4d98bae99ceb8a514ec2.json new file mode 100644 index 00000000000..f20e55dbf10 --- /dev/null +++ b/.changelog/4005b75da6ec4d98bae99ceb8a514ec2.json @@ -0,0 +1,8 @@ +{ + "id": "4005b75d-a6ec-4d98-bae9-9ceb8a514ec2", + "type": "feature", + "description": "This release is for the launch of the new u7ib-12tb.224xlarge, R8g, c7gn.metal and mac2-m1ultra.metal instance types", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/.changelog/62a4c9b45c374d34842d492467e19301.json b/.changelog/62a4c9b45c374d34842d492467e19301.json new file mode 100644 index 00000000000..8e171029258 --- /dev/null +++ b/.changelog/62a4c9b45c374d34842d492467e19301.json @@ -0,0 +1,8 @@ +{ + "id": "62a4c9b4-5c37-4d34-842d-492467e19301", + "type": "feature", + "description": "This release adds the deviceCreationTags field to CreateEnvironment API input, UpdateEnvironment API input and GetEnvironment API output.", + "modules": [ + "service/workspacesthinclient" + ] +} \ No newline at end of file diff --git a/.changelog/701e2972697347c98800eab4ff1e00e2.json b/.changelog/701e2972697347c98800eab4ff1e00e2.json new file mode 100644 index 00000000000..4c4fc87a217 --- /dev/null +++ b/.changelog/701e2972697347c98800eab4ff1e00e2.json @@ -0,0 +1,8 @@ +{ + "id": "701e2972-6973-47c9-8800-eab4ff1e00e2", + "type": "feature", + "description": "This is model changes \u0026 documentation update for the Asynchronous Error Reporting feature for AWS Cloud WAN. This feature allows customers to view errors that occur while their resources are being provisioned, enabling customers to fix their resources without needing external support.", + "modules": [ + "service/networkmanager" + ] +} \ No newline at end of file diff --git a/.changelog/799e70cdbc164fae888609489fb0fc2c.json b/.changelog/799e70cdbc164fae888609489fb0fc2c.json new file mode 100644 index 00000000000..e4e7e5a36bf --- /dev/null +++ b/.changelog/799e70cdbc164fae888609489fb0fc2c.json @@ -0,0 +1,8 @@ +{ + "id": "799e70cd-bc16-4fae-8886-09489fb0fc2c", + "type": "feature", + "description": "Doc only update for Auto Scaling's TargetTrackingMetricDataQuery", + "modules": [ + "service/autoscaling" + ] +} \ No newline at end of file diff --git a/feature/dynamodbstreams/attributevalue/go_module_metadata.go b/feature/dynamodbstreams/attributevalue/go_module_metadata.go index d7cf78346d3..6f5c3914aa1 100644 --- a/feature/dynamodbstreams/attributevalue/go_module_metadata.go +++ b/feature/dynamodbstreams/attributevalue/go_module_metadata.go @@ -3,4 +3,4 @@ package attributevalue // goModuleVersion is the tagged release for this module -const goModuleVersion = "1.13.34" +const goModuleVersion = "1.14.5" diff --git a/service/autoscaling/api_op_AttachInstances.go b/service/autoscaling/api_op_AttachInstances.go index 058fea16515..9725a2c14cf 100644 --- a/service/autoscaling/api_op_AttachInstances.go +++ b/service/autoscaling/api_op_AttachInstances.go @@ -22,9 +22,9 @@ import ( // 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. +// For more information, see [Detach or attach instances] in the Amazon EC2 Auto Scaling User Guide. // -// [Attach EC2 instances to your Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-instance-asg.html +// [Detach or attach instances]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html func (c *Client) AttachInstances(ctx context.Context, params *AttachInstancesInput, optFns ...func(*Options)) (*AttachInstancesOutput, error) { if params == nil { params = &AttachInstancesInput{} diff --git a/service/autoscaling/api_op_CreateAutoScalingGroup.go b/service/autoscaling/api_op_CreateAutoScalingGroup.go index ff3e53ec499..ade2cfb7c5f 100644 --- a/service/autoscaling/api_op_CreateAutoScalingGroup.go +++ b/service/autoscaling/api_op_CreateAutoScalingGroup.go @@ -104,7 +104,7 @@ type CreateAutoScalingGroupInput struct { // // Default: 300 seconds // - // [Scaling cooldowns for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html + // [Scaling cooldowns for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html DefaultCooldown *int32 // The amount of time, in seconds, until a new instance is considered to have @@ -139,7 +139,7 @@ type CreateAutoScalingGroupInput struct { // 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 + // 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 @@ -147,7 +147,7 @@ type CreateAutoScalingGroupInput struct { // // Valid values: units | vcpu | memory-mib // - // [Creating an Auto Scaling group using attribute-based instance type selection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html + // [Create a mixed instances group using attribute-based instance type selection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html DesiredCapacityType *string // The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before @@ -165,21 +165,21 @@ type CreateAutoScalingGroupInput struct { // 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 + // 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. // - // [Health checks for Auto Scaling instances]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html + // [Health checks for instances in an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html HealthCheckType *string // 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 + // 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. // - // [Creating an Auto Scaling group using an EC2 instance]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html + // [Create an Auto Scaling group using parameters from an existing instance]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html // [DescribeInstances]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html InstanceId *string @@ -204,10 +204,10 @@ type CreateAutoScalingGroupInput struct { // 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 + // Scaling group. For more information, see [Create a launch template for an Auto Scaling group]in the Amazon EC2 Auto Scaling User // Guide. // - // [Creating a launch template for an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html + // [Create a launch template for an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html LaunchTemplate *types.LaunchTemplateSpecification // One or more lifecycle hooks to add to the Auto Scaling group before instances @@ -221,10 +221,10 @@ type CreateAutoScalingGroupInput struct { // 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 + // 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. // - // [Replacing Auto Scaling instances based on maximum instance lifetime]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html + // [Replace Auto Scaling instances based on maximum instance lifetime]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html MaxInstanceLifetime *int32 // The mixed instances policy. For more information, see [Auto Scaling groups with multiple instance types and purchase options] in the Amazon EC2 Auto @@ -235,10 +235,10 @@ type CreateAutoScalingGroupInput struct { // 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 + // instances from terminating on scale in, see [Use instance scale-in protection]in the Amazon EC2 Auto Scaling User // Guide. // - // [Using instance scale-in protection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html + // [Use instance scale-in protection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html NewInstancesProtectedFromScaleIn *bool // The name of the placement group into which to launch your instances. For more @@ -283,14 +283,14 @@ type CreateAutoScalingGroupInput struct { // 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. + // 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 // - // [Work with Amazon EC2 Auto Scaling termination policies]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html + // [Configure termination policies for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html TerminationPolicies []string // The list of traffic sources to attach to this Auto Scaling group. You can use diff --git a/service/autoscaling/api_op_CreateLaunchConfiguration.go b/service/autoscaling/api_op_CreateLaunchConfiguration.go index e89a8f869f1..98cf6695039 100644 --- a/service/autoscaling/api_op_CreateLaunchConfiguration.go +++ b/service/autoscaling/api_op_CreateLaunchConfiguration.go @@ -27,7 +27,7 @@ import ( // User Guide. // // [Quotas for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html -// [Launch configurations]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html +// [Launch configurations]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html // [Launch templates]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html func (c *Client) CreateLaunchConfiguration(ctx context.Context, params *CreateLaunchConfigurationInput, optFns ...func(*Options)) (*CreateLaunchConfigurationOutput, error) { if params == nil { @@ -60,13 +60,13 @@ type CreateLaunchConfigurationInput struct { // 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 + // 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. // - // [Launching Auto Scaling instances in a VPC]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html + // [Provide network connectivity for your Auto Scaling instances using Amazon VPC]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html AssociatePublicIpAddress *bool // The block device mapping entries that define the block devices to attach to the @@ -93,7 +93,7 @@ type CreateLaunchConfigurationInput struct { // // The default value is false . // - // [Amazon EBS-optimized instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html + // [Amazon EBS-optimized instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html EbsOptimized *bool // The name or the Amazon Resource Name (ARN) of the instance profile associated @@ -104,11 +104,11 @@ type CreateLaunchConfigurationInput struct { IamInstanceProfile *string // 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. + // 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. // - // [Finding a Linux AMI]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html + // [Find a Linux AMI]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html ImageId *string // The ID of the instance to use to create the launch configuration. The new @@ -118,9 +118,9 @@ type CreateLaunchConfigurationInput struct { // 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. + // For more information, see [Create a launch configuration] in the Amazon EC2 Auto Scaling User Guide. // - // [Creating a launch configuration using an EC2 instance]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html + // [Create a launch configuration]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html InstanceId *string // Controls whether instances in this group are launched with detailed ( true ) or @@ -130,10 +130,10 @@ type CreateLaunchConfigurationInput struct { // // 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 + // CloudWatch generates metrics every 5 minutes. For more information, see [Configure monitoring for Auto Scaling instances]in the // Amazon EC2 Auto Scaling User Guide. // - // [Configure Monitoring for Auto Scaling Instances]: https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html + // [Configure monitoring for Auto Scaling instances]: https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html InstanceMonitoring *types.InstanceMonitoring // Specifies the instance type of the EC2 instance. For information about @@ -152,31 +152,28 @@ type CreateLaunchConfigurationInput struct { // [User provided kernels]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html KernelId *string - // The name of the key pair. For more information, see [Amazon EC2 key pairs and Linux instances] in the Amazon EC2 User + // 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. // - // [Amazon EC2 key pairs and Linux instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html + // [Amazon EC2 key pairs and Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html KeyName *string - // The metadata options for the instances. For more information, see [Configuring the Instance Metadata Options] in the + // The metadata options for the instances. For more information, see [Configure the instance metadata options] in the // Amazon EC2 Auto Scaling User Guide. // - // [Configuring the Instance Metadata Options]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds + // [Configure the instance metadata options]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds MetadataOptions *types.InstanceMetadataOptions // 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. + // 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 - // - // [Configuring instance tenancy with Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html PlacementTenancy *string // The ID of the RAM disk to select. @@ -188,10 +185,10 @@ type CreateLaunchConfigurationInput struct { RamdiskId *string // 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 + // 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. // - // [Control traffic to resources using security groups]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html + // [Control traffic to your Amazon Web Services resources using security groups]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html SecurityGroups []string // The maximum hourly price to be paid for any Spot Instance launched to fulfill diff --git a/service/autoscaling/api_op_DeletePolicy.go b/service/autoscaling/api_op_DeletePolicy.go index d22465bce2f..1010611022d 100644 --- a/service/autoscaling/api_op_DeletePolicy.go +++ b/service/autoscaling/api_op_DeletePolicy.go @@ -16,9 +16,9 @@ import ( // 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. +// For more information, see [Delete a scaling policy] in the Amazon EC2 Auto Scaling User Guide. // -// [Deleting a scaling policy]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html +// [Delete a scaling policy]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html func (c *Client) DeletePolicy(ctx context.Context, params *DeletePolicyInput, optFns ...func(*Options)) (*DeletePolicyOutput, error) { if params == nil { params = &DeletePolicyInput{} diff --git a/service/autoscaling/api_op_DescribeScalingActivities.go b/service/autoscaling/api_op_DescribeScalingActivities.go index 9bb86894189..1c6662c6b67 100644 --- a/service/autoscaling/api_op_DescribeScalingActivities.go +++ b/service/autoscaling/api_op_DescribeScalingActivities.go @@ -14,7 +14,7 @@ import ( // 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 +// 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 @@ -23,8 +23,8 @@ import ( // 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. // -// [Verifying a scaling activity for an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html // [Troubleshooting Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html +// [Verify a scaling activity for an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html func (c *Client) DescribeScalingActivities(ctx context.Context, params *DescribeScalingActivitiesInput, optFns ...func(*Options)) (*DescribeScalingActivitiesOutput, error) { if params == nil { params = &DescribeScalingActivitiesInput{} diff --git a/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go b/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go index c33799854d6..45d8e2d77f5 100644 --- a/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go +++ b/service/autoscaling/api_op_DescribeTerminationPolicyTypes.go @@ -12,9 +12,9 @@ import ( // 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. +// For more information, see [Configure termination policies for Amazon EC2 Auto Scaling] in the Amazon EC2 Auto Scaling User Guide. // -// [Work with Amazon EC2 Auto Scaling termination policies]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html +// [Configure termination policies for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html func (c *Client) DescribeTerminationPolicyTypes(ctx context.Context, params *DescribeTerminationPolicyTypesInput, optFns ...func(*Options)) (*DescribeTerminationPolicyTypesOutput, error) { if params == nil { params = &DescribeTerminationPolicyTypesInput{} diff --git a/service/autoscaling/api_op_DetachInstances.go b/service/autoscaling/api_op_DetachInstances.go index 35e6845a5fa..0119041a630 100644 --- a/service/autoscaling/api_op_DetachInstances.go +++ b/service/autoscaling/api_op_DetachInstances.go @@ -24,9 +24,9 @@ import ( // 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. +// For more information, see [Detach or attach instances] in the Amazon EC2 Auto Scaling User Guide. // -// [Detach EC2 instances from your Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-instance-asg.html +// [Detach or attach instances]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html func (c *Client) DetachInstances(ctx context.Context, params *DetachInstancesInput, optFns ...func(*Options)) (*DetachInstancesOutput, error) { if params == nil { params = &DetachInstancesInput{} diff --git a/service/autoscaling/api_op_DisableMetricsCollection.go b/service/autoscaling/api_op_DisableMetricsCollection.go index abacb7da589..7c9ca43bd5d 100644 --- a/service/autoscaling/api_op_DisableMetricsCollection.go +++ b/service/autoscaling/api_op_DisableMetricsCollection.go @@ -79,9 +79,9 @@ type DisableMetricsCollectionInput struct { // // 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. + // For more information, see [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling] in the Amazon EC2 Auto Scaling User Guide. // - // [Auto Scaling group metrics]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics + // [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html Metrics []string noSmithyDocumentSerde diff --git a/service/autoscaling/api_op_EnableMetricsCollection.go b/service/autoscaling/api_op_EnableMetricsCollection.go index 33e1b79c525..dbdb525bc66 100644 --- a/service/autoscaling/api_op_EnableMetricsCollection.go +++ b/service/autoscaling/api_op_EnableMetricsCollection.go @@ -93,9 +93,9 @@ type EnableMetricsCollectionInput struct { // 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. + // For more information, see [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling] in the Amazon EC2 Auto Scaling User Guide. // - // [Auto Scaling group metrics]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics + // [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html Metrics []string noSmithyDocumentSerde diff --git a/service/autoscaling/api_op_ExecutePolicy.go b/service/autoscaling/api_op_ExecutePolicy.go index aa072852332..b4d57cf5605 100644 --- a/service/autoscaling/api_op_ExecutePolicy.go +++ b/service/autoscaling/api_op_ExecutePolicy.go @@ -48,7 +48,7 @@ type ExecutePolicyInput struct { // 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. // - // [Scaling cooldowns for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html + // [Scaling cooldowns for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html HonorCooldown *bool // The metric value to compare to BreachThreshold . This enables you to execute a diff --git a/service/autoscaling/api_op_PutNotificationConfiguration.go b/service/autoscaling/api_op_PutNotificationConfiguration.go index 4c24d4707da..3aaf8dc8b65 100644 --- a/service/autoscaling/api_op_PutNotificationConfiguration.go +++ b/service/autoscaling/api_op_PutNotificationConfiguration.go @@ -16,12 +16,12 @@ import ( // // 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. +// 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. // -// [Getting Amazon SNS notifications when your Auto Scaling group scales]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html +// [Amazon SNS notification options for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html func (c *Client) PutNotificationConfiguration(ctx context.Context, params *PutNotificationConfigurationInput, optFns ...func(*Options)) (*PutNotificationConfigurationOutput, error) { if params == nil { params = &PutNotificationConfigurationInput{} diff --git a/service/autoscaling/api_op_PutScalingPolicy.go b/service/autoscaling/api_op_PutScalingPolicy.go index 7740784ded3..ae63f085326 100644 --- a/service/autoscaling/api_op_PutScalingPolicy.go +++ b/service/autoscaling/api_op_PutScalingPolicy.go @@ -75,13 +75,13 @@ type PutScalingPolicyInput struct { // // Default: None // - // [Scaling cooldowns for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html + // [Scaling cooldowns for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html Cooldown *int32 // 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. + // enabled. For more information, see [Disable a scaling policy for an Auto Scaling group]in the Amazon EC2 Auto Scaling User Guide. // - // [Disabling a scaling policy for an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html + // [Disable a scaling policy for an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html Enabled *bool // Not needed if the default instance warmup is defined for the group. diff --git a/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go b/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go index 7c0406aa5be..3ce9f242971 100644 --- a/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go +++ b/service/autoscaling/api_op_PutScheduledUpdateGroupAction.go @@ -22,7 +22,7 @@ import ( // If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns // an error message. // -// [Scheduled scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/schedule_time.html +// [Scheduled scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html func (c *Client) PutScheduledUpdateGroupAction(ctx context.Context, params *PutScheduledUpdateGroupActionInput, optFns ...func(*Options)) (*PutScheduledUpdateGroupActionOutput, error) { if params == nil { params = &PutScheduledUpdateGroupActionInput{} diff --git a/service/autoscaling/api_op_PutWarmPool.go b/service/autoscaling/api_op_PutWarmPool.go index 4ac874da90a..55f6265cd0b 100644 --- a/service/autoscaling/api_op_PutWarmPool.go +++ b/service/autoscaling/api_op_PutWarmPool.go @@ -14,18 +14,16 @@ import ( // 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. +// 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. 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. +// 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 DeleteWarmPoolAPI. // +// For more information, see [Warm pools for Amazon EC2 Auto Scaling] in the Amazon EC2 Auto Scaling User Guide. +// // [Warm pools for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html func (c *Client) PutWarmPool(ctx context.Context, params *PutWarmPoolInput, optFns ...func(*Options)) (*PutWarmPoolOutput, error) { if params == nil { diff --git a/service/autoscaling/api_op_ResumeProcesses.go b/service/autoscaling/api_op_ResumeProcesses.go index e449c7646ae..bbab2cd8e8d 100644 --- a/service/autoscaling/api_op_ResumeProcesses.go +++ b/service/autoscaling/api_op_ResumeProcesses.go @@ -13,9 +13,9 @@ import ( // 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. +// For more information, see [Suspend and resume Amazon EC2 Auto Scaling processes] in the Amazon EC2 Auto Scaling User Guide. // -// [Suspending and resuming scaling processes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html +// [Suspend and resume Amazon EC2 Auto Scaling processes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html func (c *Client) ResumeProcesses(ctx context.Context, params *ResumeProcessesInput, optFns ...func(*Options)) (*ResumeProcessesOutput, error) { if params == nil { params = &ResumeProcessesInput{} diff --git a/service/autoscaling/api_op_SetDesiredCapacity.go b/service/autoscaling/api_op_SetDesiredCapacity.go index e0fd2429566..970635ddd4f 100644 --- a/service/autoscaling/api_op_SetDesiredCapacity.go +++ b/service/autoscaling/api_op_SetDesiredCapacity.go @@ -18,7 +18,7 @@ import ( // // For more information, see [Manual scaling] in the Amazon EC2 Auto Scaling User Guide. // -// [Manual scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-manual-scaling.html +// [Manual scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html func (c *Client) SetDesiredCapacity(ctx context.Context, params *SetDesiredCapacityInput, optFns ...func(*Options)) (*SetDesiredCapacityOutput, error) { if params == nil { params = &SetDesiredCapacityInput{} diff --git a/service/autoscaling/api_op_SetInstanceHealth.go b/service/autoscaling/api_op_SetInstanceHealth.go index 82c48b7779f..53f9d6dae1e 100644 --- a/service/autoscaling/api_op_SetInstanceHealth.go +++ b/service/autoscaling/api_op_SetInstanceHealth.go @@ -12,9 +12,9 @@ import ( // 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. +// For more information, see [Health checks for instances in an Auto Scaling group] in the Amazon EC2 Auto Scaling User Guide. // -// [Health checks for Auto Scaling instances]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html +// [Health checks for instances in an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html func (c *Client) SetInstanceHealth(ctx context.Context, params *SetInstanceHealthInput, optFns ...func(*Options)) (*SetInstanceHealthOutput, error) { if params == nil { params = &SetInstanceHealthInput{} @@ -49,10 +49,10 @@ type SetInstanceHealthInput struct { // 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. + // 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. // - // [CreateAutoScalingGroup]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html + // [Set the health check grace period for an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html ShouldRespectGracePeriod *bool noSmithyDocumentSerde diff --git a/service/autoscaling/api_op_SetInstanceProtection.go b/service/autoscaling/api_op_SetInstanceProtection.go index 706af059e58..66a2deab045 100644 --- a/service/autoscaling/api_op_SetInstanceProtection.go +++ b/service/autoscaling/api_op_SetInstanceProtection.go @@ -13,14 +13,12 @@ import ( // 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. +// 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. // -// [Using instance scale-in protection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html +// [Use instance scale-in protection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html func (c *Client) SetInstanceProtection(ctx context.Context, params *SetInstanceProtectionInput, optFns ...func(*Options)) (*SetInstanceProtectionOutput, error) { if params == nil { params = &SetInstanceProtectionInput{} diff --git a/service/autoscaling/api_op_SuspendProcesses.go b/service/autoscaling/api_op_SuspendProcesses.go index 991f14f8b12..742b478fcf7 100644 --- a/service/autoscaling/api_op_SuspendProcesses.go +++ b/service/autoscaling/api_op_SuspendProcesses.go @@ -14,12 +14,12 @@ import ( // 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 +// 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. // -// [Suspending and resuming scaling processes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html +// [Suspend and resume Amazon EC2 Auto Scaling processes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html func (c *Client) SuspendProcesses(ctx context.Context, params *SuspendProcessesInput, optFns ...func(*Options)) (*SuspendProcessesOutput, error) { if params == nil { params = &SuspendProcessesInput{} diff --git a/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go b/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go index 5b88d7064c3..1e5861d214c 100644 --- a/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go +++ b/service/autoscaling/api_op_TerminateInstanceInAutoScalingGroup.go @@ -26,9 +26,9 @@ import ( // 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. +// For more information, see [Manual scaling]in the Amazon EC2 Auto Scaling User Guide. // -// [Rebalancing activities]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-benefits.html#AutoScalingBehavior.InstanceUsage +// [Manual scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html func (c *Client) TerminateInstanceInAutoScalingGroup(ctx context.Context, params *TerminateInstanceInAutoScalingGroupInput, optFns ...func(*Options)) (*TerminateInstanceInAutoScalingGroupOutput, error) { if params == nil { params = &TerminateInstanceInAutoScalingGroupInput{} diff --git a/service/autoscaling/api_op_UpdateAutoScalingGroup.go b/service/autoscaling/api_op_UpdateAutoScalingGroup.go index 5993d5687b2..60ce07e2723 100644 --- a/service/autoscaling/api_op_UpdateAutoScalingGroup.go +++ b/service/autoscaling/api_op_UpdateAutoScalingGroup.go @@ -92,7 +92,7 @@ type UpdateAutoScalingGroupInput struct { // 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. // - // [Scaling cooldowns for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html + // [Scaling cooldowns for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html DefaultCooldown *int32 // The amount of time, in seconds, until a new instance is considered to have @@ -123,7 +123,7 @@ type UpdateAutoScalingGroupInput struct { // 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 + // 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 @@ -131,7 +131,7 @@ type UpdateAutoScalingGroupInput struct { // // Valid values: units | vcpu | memory-mib // - // [Creating an Auto Scaling group using attribute-based instance type selection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html + // [Create a mixed instances group using attribute-based instance type selection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html DesiredCapacityType *string // The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before @@ -147,12 +147,12 @@ type UpdateAutoScalingGroupInput struct { // 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 + // 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. // - // [Health checks for Auto Scaling instances]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html + // [Health checks for instances in an Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html HealthCheckType *string // An instance maintenance policy. For more information, see [Set instance maintenance policy] in the Amazon EC2 @@ -199,10 +199,10 @@ type UpdateAutoScalingGroupInput struct { // 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 + // instances from terminating on scale in, see [Use instance scale-in protection]in the Amazon EC2 Auto Scaling User // Guide. // - // [Using instance scale-in protection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html + // [Use instance scale-in protection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html NewInstancesProtectedFromScaleIn *bool // The name of an existing placement group into which to launch your instances. @@ -224,14 +224,14 @@ type UpdateAutoScalingGroupInput struct { // 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. + // 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 // - // [Work with Amazon EC2 Auto Scaling termination policies]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html + // [Configure termination policies for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html TerminationPolicies []string // A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you diff --git a/service/autoscaling/doc.go b/service/autoscaling/doc.go index 4876c847e14..3de590d57ed 100644 --- a/service/autoscaling/doc.go +++ b/service/autoscaling/doc.go @@ -11,6 +11,6 @@ // // For more information, see the [Amazon EC2 Auto Scaling User Guide] and the [Amazon EC2 Auto Scaling API Reference]. // -// [Amazon EC2 Auto Scaling User Guide]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ +// [Amazon EC2 Auto Scaling User Guide]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html // [Amazon EC2 Auto Scaling API Reference]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html package autoscaling diff --git a/service/autoscaling/types/types.go b/service/autoscaling/types/types.go index 003a0f847c7..cffcbd37d38 100644 --- a/service/autoscaling/types/types.go +++ b/service/autoscaling/types/types.go @@ -279,8 +279,7 @@ type AutoScalingInstanceDetails struct { InstanceId *string // 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. + // 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 @@ -288,7 +287,7 @@ type AutoScalingInstanceDetails struct { // Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | // Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running // - // [Instance lifecycle]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html + // [Amazon EC2 Auto Scaling instance lifecycle]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html // // This member is required. LifecycleState *string @@ -451,7 +450,7 @@ type DesiredConfiguration struct { // information about launch templates, see [Launch templates]in the Amazon EC2 Auto Scaling User // Guide. // - // [Launch templates]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html + // [Launch templates]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html LaunchTemplate *LaunchTemplateSpecification // Use this structure to launch multiple instance types and On-Demand Instances @@ -477,8 +476,8 @@ type Ebs struct { // 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. + // 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 @@ -490,8 +489,8 @@ type Ebs struct { // // For more information, see [Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes] in the Amazon EC2 Auto Scaling User Guide. // + // [Requirements for Amazon EBS encryption]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html // [Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-data-protection.html#encryption - // [Supported instance types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html#EBSEncryption_supported_instances Encrypted *bool // The number of input/output (I/O) operations per second (IOPS) to provision for @@ -506,13 +505,13 @@ type Ebs struct { // // - io1 : 100-64,000 IOPS // - // For io1 volumes, we guarantee 64,000 IOPS only for [Instances built on the Nitro System]. Other instance families + // 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.) // - // [Instances built on the Nitro System]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances + // [Instances built on the Amazon Web Services Nitro System]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html Iops *int32 // The snapshot ID of the volume to use. @@ -539,12 +538,11 @@ type Ebs struct { // size of the snapshot. VolumeSize *int32 - // The volume type. For more information, see [Amazon EBS volume types] in the Amazon EC2 User Guide for - // Linux Instances. + // 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 // - // [Amazon EBS volume types]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html + // [Amazon EBS volume types]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html VolumeType *string noSmithyDocumentSerde @@ -598,9 +596,9 @@ type EnabledMetric struct { // // - GroupAndWarmPoolTotalCapacity // - // For more information, see [Auto Scaling group metrics] in the Amazon EC2 Auto Scaling User Guide. + // For more information, see [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling] in the Amazon EC2 Auto Scaling User Guide. // - // [Auto Scaling group metrics]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-cloudwatch-monitoring.html#as-group-metrics + // [Amazon CloudWatch metrics for Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html Metric *string noSmithyDocumentSerde @@ -708,10 +706,9 @@ type Instance struct { InstanceId *string // 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. + // used. For more information, see [Amazon EC2 Auto Scaling instance lifecycle]in the Amazon EC2 Auto Scaling User Guide. // - // [Instance lifecycle]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html + // [Amazon EC2 Auto Scaling instance lifecycle]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html // // This member is required. LifecycleState LifecycleState @@ -768,10 +765,10 @@ type InstanceMaintenancePolicy struct { noSmithyDocumentSerde } -// The metadata options for the instances. For more information, see [Configuring the Instance Metadata Options] in the +// The metadata options for the instances. For more information, see [Configure the instance metadata options] in the // Amazon EC2 Auto Scaling User Guide. // -// [Configuring the Instance Metadata Options]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds +// [Configure the instance metadata options]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds type InstanceMetadataOptions struct { // This parameter enables or disables the HTTP metadata endpoint on your @@ -956,12 +953,12 @@ type InstanceRefreshWarmPoolProgress struct { // 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 +// 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. // // [Preview instance types with specified attributes]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements -// [Creating an Auto Scaling group using attribute-based instance type selection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html +// [Create a mixed instances group using attribute-based instance type selection]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html type InstanceRequirements struct { // The minimum and maximum instance memory size for an instance type, in MiB. @@ -1390,18 +1387,18 @@ type LaunchConfiguration struct { // 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 + // 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. // - // [Launching Auto Scaling instances in a VPC]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html + // [Provide network connectivity for your Auto Scaling instances using Amazon VPC]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html AssociatePublicIpAddress *bool // 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 + // mapping for the AMI are used. For more information, see [Block device mappings]in the Amazon EC2 User // Guide for Linux Instances. // - // [Block Device Mapping]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html + // [Block device mappings]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html BlockDeviceMappings []BlockDeviceMapping // Available for backward compatibility. @@ -1411,10 +1408,10 @@ type LaunchConfiguration struct { ClassicLinkVPCSecurityGroups []string // 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 + // not ( false ). For more information, see [Amazon EBS-optimized instances] in the Amazon EC2 User Guide for // Linux Instances. // - // [Amazon EBS-Optimized Instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html + // [Amazon EBS-optimized instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html EbsOptimized *bool // The name or the Amazon Resource Name (ARN) of the instance profile associated @@ -1427,9 +1424,9 @@ type LaunchConfiguration struct { // 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. + // For more information, see [Configure monitoring for Auto Scaling instances] in the Amazon EC2 Auto Scaling User Guide. // - // [Configure Monitoring for Auto Scaling Instances]: https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html + // [Configure monitoring for Auto Scaling instances]: https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html InstanceMonitoring *InstanceMonitoring // The ID of the kernel associated with the AMI. @@ -1437,45 +1434,41 @@ type LaunchConfiguration struct { // The name of the key pair. // - // For more information, see [Amazon EC2 Key Pairs] in the Amazon EC2 User Guide for Linux Instances. + // For more information, see [Amazon EC2 key pairs and Amazon EC2 instances] in the Amazon EC2 User Guide for Linux Instances. // - // [Amazon EC2 Key Pairs]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html + // [Amazon EC2 key pairs and Amazon EC2 instances]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html KeyName *string // The Amazon Resource Name (ARN) of the launch configuration. LaunchConfigurationARN *string - // The metadata options for the instances. For more information, see [Configuring the Instance Metadata Options] in the + // The metadata options for the instances. For more information, see [Configure the instance metadata options] in the // Amazon EC2 Auto Scaling User Guide. // - // [Configuring the Instance Metadata Options]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds + // [Configure the instance metadata options]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds MetadataOptions *InstanceMetadataOptions // 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. - // - // [Configuring instance tenancy with Amazon EC2 Auto Scaling]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html PlacementTenancy *string // The ID of the RAM disk associated with the AMI. RamdiskId *string // 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 + // 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. // - // [Security Groups for Your VPC]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html + // [Control traffic to your Amazon Web Services resources using security groups]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html SecurityGroups []string // 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 + // current Spot price. For more information, see [Requesting Spot Instances for fault-tolerant and flexible applications]in the Amazon EC2 Auto Scaling // User Guide. // - // [Requesting Spot Instances]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html + // [Requesting Spot Instances for fault-tolerant and flexible applications]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html SpotPrice *string // The user data to make available to the launched EC2 instances. For more @@ -1538,7 +1531,7 @@ type LaunchTemplateOverrides struct { // 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. + // see [Instance types]in the Amazon EC2 User Guide for Linux Instances. // // You can specify up to 40 instance types per Auto Scaling group. // @@ -1567,7 +1560,7 @@ type LaunchTemplateOverrides struct { // 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 + // 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 @@ -1579,7 +1572,7 @@ type LaunchTemplateOverrides struct { // weights for the instance types, you must specify these sizes with the same units // that you use for weighting instances. // - // [Configuring instance weighting for Amazon EC2 Auto Scaling]: 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]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html WeightedCapacity *string noSmithyDocumentSerde @@ -1590,7 +1583,7 @@ type LaunchTemplateOverrides struct { // information about launch templates, see [Launch templates]in the Amazon EC2 Auto Scaling User // Guide. // -// [Launch templates]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchTemplates.html +// [Launch templates]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html type LaunchTemplateSpecification struct { // The ID of the launch template. To get the template ID, use the Amazon EC2 [DescribeLaunchTemplates] API @@ -1719,13 +1712,13 @@ type LifecycleHookSpecification struct { NotificationTargetARN *string // 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 + // 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. // - // [Configure a notification target for a lifecycle hook]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html#lifecycle-hook-notification-target + // [Prepare to add a lifecycle hook to your Auto Scaling group]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html RoleARN *string noSmithyDocumentSerde @@ -2175,13 +2168,21 @@ type PredictiveScalingConfiguration struct { // // 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. + // - 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 scale out capacity higher - // than the maximum capacity when the forecast capacity is close to or exceeds the + // - 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. MaxCapacityBreachBehavior PredictiveScalingMaxCapacityBreachBehavior // The size of the capacity buffer to use when the forecast capacity is close to @@ -2448,9 +2449,9 @@ type PredictiveScalingPredefinedScalingMetric struct { // Describes a process type. // -// For more information, see [Scaling processes] in the Amazon EC2 Auto Scaling User Guide. +// For more information, see [Types of processes] in the Amazon EC2 Auto Scaling User Guide. // -// [Scaling processes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types +// [Types of processes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types type ProcessType struct { // One of the following processes: @@ -2517,9 +2518,9 @@ type RefreshPreferences struct { // 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. + // For usage examples, see [Add checkpoints to an instance refresh] in the Amazon EC2 Auto Scaling User Guide. // - // [Adding checkpoints to an instance refresh]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html + // [Add checkpoints to an instance refresh]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html CheckpointPercentages []int32 // A time period, in seconds, during which an instance refresh waits before moving @@ -2869,9 +2870,9 @@ type StepAdjustment struct { // Describes an auto scaling process that has been suspended. // -// For more information, see [Scaling processes] in the Amazon EC2 Auto Scaling User Guide. +// For more information, see [Types of processes] in the Amazon EC2 Auto Scaling User Guide. // -// [Scaling processes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types +// [Types of processes]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types type SuspendedProcess struct { // The name of the suspended process. diff --git a/service/ec2/types/enums.go b/service/ec2/types/enums.go index e1b3b4c324f..91f549766cb 100644 --- a/service/ec2/types/enums.go +++ b/service/ec2/types/enums.go @@ -3946,6 +3946,21 @@ const ( InstanceTypeU7in16tb224xlarge InstanceType = "u7in-16tb.224xlarge" InstanceTypeU7in24tb224xlarge InstanceType = "u7in-24tb.224xlarge" InstanceTypeU7in32tb224xlarge InstanceType = "u7in-32tb.224xlarge" + InstanceTypeU7ib12tb224xlarge InstanceType = "u7ib-12tb.224xlarge" + InstanceTypeC7gnMetal InstanceType = "c7gn.metal" + InstanceTypeR8gMedium InstanceType = "r8g.medium" + InstanceTypeR8gLarge InstanceType = "r8g.large" + InstanceTypeR8gXlarge InstanceType = "r8g.xlarge" + InstanceTypeR8g2xlarge InstanceType = "r8g.2xlarge" + InstanceTypeR8g4xlarge InstanceType = "r8g.4xlarge" + InstanceTypeR8g8xlarge InstanceType = "r8g.8xlarge" + InstanceTypeR8g12xlarge InstanceType = "r8g.12xlarge" + InstanceTypeR8g16xlarge InstanceType = "r8g.16xlarge" + InstanceTypeR8g24xlarge InstanceType = "r8g.24xlarge" + InstanceTypeR8g48xlarge InstanceType = "r8g.48xlarge" + InstanceTypeR8gMetal24xl InstanceType = "r8g.metal-24xl" + InstanceTypeR8gMetal48xl InstanceType = "r8g.metal-48xl" + InstanceTypeMac2M1ultraMetal InstanceType = "mac2-m1ultra.metal" ) // Values returns all known values for InstanceType. Note that this can be @@ -4759,6 +4774,21 @@ func (InstanceType) Values() []InstanceType { "u7in-16tb.224xlarge", "u7in-24tb.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", } } diff --git a/service/internal/integrationtest/go.mod b/service/internal/integrationtest/go.mod index 0f4272339a4..5ce42187606 100644 --- a/service/internal/integrationtest/go.mod +++ b/service/internal/integrationtest/go.mod @@ -246,8 +246,6 @@ replace github.com/aws/aws-sdk-go-v2/service/marketplacecommerceanalytics => ../ replace github.com/aws/aws-sdk-go-v2/service/neptune => ../../../service/neptune/ -replace github.com/aws/aws-sdk-go-v2/service/opsworks => ../../../service/opsworks/ - replace github.com/aws/aws-sdk-go-v2/service/pinpointemail => ../../../service/pinpointemail/ replace github.com/aws/aws-sdk-go-v2/service/polly => ../../../service/polly/ diff --git a/service/networkmanager/deserializers.go b/service/networkmanager/deserializers.go index 44702422804..6ba6ace3375 100644 --- a/service/networkmanager/deserializers.go +++ b/service/networkmanager/deserializers.go @@ -14180,6 +14180,11 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte sv.EdgeLocation = ptr.String(jtv) } + case "LastModificationErrors": + if err := awsRestjson1_deserializeDocumentAttachmentErrorList(&sv.LastModificationErrors, value); err != nil { + return err + } + case "NetworkFunctionGroupName": if value != nil { jtv, ok := value.(string) @@ -14265,6 +14270,107 @@ func awsRestjson1_deserializeDocumentAttachment(v **types.Attachment, value inte return nil } +func awsRestjson1_deserializeDocumentAttachmentError(v **types.AttachmentError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.AttachmentError + if *v == nil { + sv = &types.AttachmentError{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected AttachmentErrorCode to be of type string, got %T instead", value) + } + sv.Code = types.AttachmentErrorCode(jtv) + } + + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServerSideString to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "RequestId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServerSideString to be of type string, got %T instead", value) + } + sv.RequestId = ptr.String(jtv) + } + + case "ResourceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceArn to be of type string, got %T instead", value) + } + sv.ResourceArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentAttachmentErrorList(v *[]types.AttachmentError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.AttachmentError + if *v == nil { + cv = []types.AttachmentError{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.AttachmentError + destAddr := &col + if err := awsRestjson1_deserializeDocumentAttachmentError(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentAttachmentList(v *[]types.Attachment, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -14864,6 +14970,11 @@ func awsRestjson1_deserializeDocumentConnectPeer(v **types.ConnectPeer, value in sv.EdgeLocation = ptr.String(jtv) } + case "LastModificationErrors": + if err := awsRestjson1_deserializeDocumentConnectPeerErrorList(&sv.LastModificationErrors, value); err != nil { + return err + } + case "State": if value != nil { jtv, ok := value.(string) @@ -15183,6 +15294,107 @@ func awsRestjson1_deserializeDocumentConnectPeerConfiguration(v **types.ConnectP return nil } +func awsRestjson1_deserializeDocumentConnectPeerError(v **types.ConnectPeerError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.ConnectPeerError + if *v == nil { + sv = &types.ConnectPeerError{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ConnectPeerErrorCode to be of type string, got %T instead", value) + } + sv.Code = types.ConnectPeerErrorCode(jtv) + } + + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServerSideString to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "RequestId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServerSideString to be of type string, got %T instead", value) + } + sv.RequestId = ptr.String(jtv) + } + + case "ResourceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceArn to be of type string, got %T instead", value) + } + sv.ResourceArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentConnectPeerErrorList(v *[]types.ConnectPeerError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.ConnectPeerError + if *v == nil { + cv = []types.ConnectPeerError{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.ConnectPeerError + destAddr := &col + if err := awsRestjson1_deserializeDocumentConnectPeerError(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentConnectPeerSummary(v **types.ConnectPeerSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -18718,6 +18930,11 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ sv.EdgeLocation = ptr.String(jtv) } + case "LastModificationErrors": + if err := awsRestjson1_deserializeDocumentPeeringErrorList(&sv.LastModificationErrors, value); err != nil { + return err + } + case "OwnerAccountId": if value != nil { jtv, ok := value.(string) @@ -18777,6 +18994,112 @@ func awsRestjson1_deserializeDocumentPeering(v **types.Peering, value interface{ return nil } +func awsRestjson1_deserializeDocumentPeeringError(v **types.PeeringError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.PeeringError + if *v == nil { + sv = &types.PeeringError{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "Code": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected PeeringErrorCode to be of type string, got %T instead", value) + } + sv.Code = types.PeeringErrorCode(jtv) + } + + case "Message": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServerSideString to be of type string, got %T instead", value) + } + sv.Message = ptr.String(jtv) + } + + case "MissingPermissionsContext": + if err := awsRestjson1_deserializeDocumentPermissionsErrorContext(&sv.MissingPermissionsContext, value); err != nil { + return err + } + + case "RequestId": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServerSideString to be of type string, got %T instead", value) + } + sv.RequestId = ptr.String(jtv) + } + + case "ResourceArn": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ResourceArn to be of type string, got %T instead", value) + } + sv.ResourceArn = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + +func awsRestjson1_deserializeDocumentPeeringErrorList(v *[]types.PeeringError, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.([]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var cv []types.PeeringError + if *v == nil { + cv = []types.PeeringError{} + } else { + cv = *v + } + + for _, value := range shape { + var col types.PeeringError + destAddr := &col + if err := awsRestjson1_deserializeDocumentPeeringError(&destAddr, value); err != nil { + return err + } + col = *destAddr + cv = append(cv, col) + + } + *v = cv + return nil +} + func awsRestjson1_deserializeDocumentPeeringList(v *[]types.Peering, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -18811,6 +19134,46 @@ func awsRestjson1_deserializeDocumentPeeringList(v *[]types.Peering, value inter return nil } +func awsRestjson1_deserializeDocumentPermissionsErrorContext(v **types.PermissionsErrorContext, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var sv *types.PermissionsErrorContext + if *v == nil { + sv = &types.PermissionsErrorContext{} + } else { + sv = *v + } + + for key, value := range shape { + switch key { + case "MissingPermission": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected ServerSideString to be of type string, got %T instead", value) + } + sv.MissingPermission = ptr.String(jtv) + } + + default: + _, _ = key, value + + } + } + *v = sv + return nil +} + func awsRestjson1_deserializeDocumentProposedNetworkFunctionGroupChange(v **types.ProposedNetworkFunctionGroupChange, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) diff --git a/service/networkmanager/types/enums.go b/service/networkmanager/types/enums.go index 0ebc7ac37a3..68d763b1099 100644 --- a/service/networkmanager/types/enums.go +++ b/service/networkmanager/types/enums.go @@ -2,6 +2,37 @@ package types +type AttachmentErrorCode string + +// Enum values for AttachmentErrorCode +const ( + AttachmentErrorCodeVpcNotFound AttachmentErrorCode = "VPC_NOT_FOUND" + AttachmentErrorCodeSubnetNotFound AttachmentErrorCode = "SUBNET_NOT_FOUND" + AttachmentErrorCodeSubnetDuplicatedInAvailabilityZone AttachmentErrorCode = "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" + AttachmentErrorCodeSubnetNoFreeAddresses AttachmentErrorCode = "SUBNET_NO_FREE_ADDRESSES" + AttachmentErrorCodeSubnetUnsupportedAvailabilityZone AttachmentErrorCode = "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" + AttachmentErrorCodeSubnetNoIpv6Cidrs AttachmentErrorCode = "SUBNET_NO_IPV6_CIDRS" + AttachmentErrorCodeVpnConnectionNotFound AttachmentErrorCode = "VPN_CONNECTION_NOT_FOUND" + AttachmentErrorCodeMaximumNoEncapLimitExceeded AttachmentErrorCode = "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" +) + +// Values returns all known values for AttachmentErrorCode. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (AttachmentErrorCode) Values() []AttachmentErrorCode { + return []AttachmentErrorCode{ + "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", + } +} + type AttachmentState string // Enum values for AttachmentState @@ -248,6 +279,33 @@ func (ConnectPeerAssociationState) Values() []ConnectPeerAssociationState { } } +type ConnectPeerErrorCode string + +// Enum values for ConnectPeerErrorCode +const ( + ConnectPeerErrorCodeEdgeLocationNoFreeIps ConnectPeerErrorCode = "EDGE_LOCATION_NO_FREE_IPS" + ConnectPeerErrorCodeEdgeLocationPeerDuplicate ConnectPeerErrorCode = "EDGE_LOCATION_PEER_DUPLICATE" + ConnectPeerErrorCodeSubnetNotFound ConnectPeerErrorCode = "SUBNET_NOT_FOUND" + ConnectPeerErrorCodeIpOutsideSubnetCidrRange ConnectPeerErrorCode = "IP_OUTSIDE_SUBNET_CIDR_RANGE" + ConnectPeerErrorCodeInvalidInsideCidrBlock ConnectPeerErrorCode = "INVALID_INSIDE_CIDR_BLOCK" + ConnectPeerErrorCodeNoAssociatedCidrBlock ConnectPeerErrorCode = "NO_ASSOCIATED_CIDR_BLOCK" +) + +// Values returns all known values for ConnectPeerErrorCode. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (ConnectPeerErrorCode) Values() []ConnectPeerErrorCode { + return []ConnectPeerErrorCode{ + "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", + } +} + type ConnectPeerState string // Enum values for ConnectPeerState @@ -429,6 +487,33 @@ func (LinkState) Values() []LinkState { } } +type PeeringErrorCode string + +// Enum values for PeeringErrorCode +const ( + PeeringErrorCodeTransitGatewayNotFound PeeringErrorCode = "TRANSIT_GATEWAY_NOT_FOUND" + PeeringErrorCodeTransitGatewayPeersLimitExceeded PeeringErrorCode = "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED" + PeeringErrorCodeMissingRequiredPermissions PeeringErrorCode = "MISSING_PERMISSIONS" + PeeringErrorCodeInternalError PeeringErrorCode = "INTERNAL_ERROR" + PeeringErrorCodeEdgeLocationPeerDuplicate PeeringErrorCode = "EDGE_LOCATION_PEER_DUPLICATE" + PeeringErrorCodeInvalidTransitGatewayState PeeringErrorCode = "INVALID_TRANSIT_GATEWAY_STATE" +) + +// Values returns all known values for PeeringErrorCode. Note that this can be +// expanded in the future, and so it is only as up to date as the client. +// +// The ordering of this slice is not guaranteed to be stable across updates. +func (PeeringErrorCode) Values() []PeeringErrorCode { + return []PeeringErrorCode{ + "TRANSIT_GATEWAY_NOT_FOUND", + "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED", + "MISSING_PERMISSIONS", + "INTERNAL_ERROR", + "EDGE_LOCATION_PEER_DUPLICATE", + "INVALID_TRANSIT_GATEWAY_STATE", + } +} + type PeeringState string // Enum values for PeeringState diff --git a/service/networkmanager/types/types.go b/service/networkmanager/types/types.go index 8bf23a7965a..cf7514462c2 100644 --- a/service/networkmanager/types/types.go +++ b/service/networkmanager/types/types.go @@ -44,6 +44,9 @@ type Attachment struct { // The Region where the edge is located. EdgeLocation *string + // Describes the error associated with the attachment request. + LastModificationErrors []AttachmentError + // The name of the network function group. NetworkFunctionGroupName *string @@ -75,6 +78,24 @@ type Attachment struct { noSmithyDocumentSerde } +// Describes the error associated with an attachment request. +type AttachmentError struct { + + // The error code for the attachment request. + Code AttachmentErrorCode + + // The message associated with the error code . + Message *string + + // The ID of the attachment request. + RequestId *string + + // The ARN of the requested attachment resource. + ResourceArn *string + + noSmithyDocumentSerde +} + // Specifies a location in Amazon Web Services. type AWSLocation struct { @@ -208,6 +229,9 @@ type ConnectPeer struct { // The Connect peer Regions where edges are located. EdgeLocation *string + // Describes the error associated with the attachment request. + LastModificationErrors []ConnectPeerError + // The state of the Connect peer. State ConnectPeerState @@ -281,6 +305,24 @@ type ConnectPeerConfiguration struct { noSmithyDocumentSerde } +// Describes an error associated with a Connect peer request +type ConnectPeerError struct { + + // The error code for the Connect peer request. + Code ConnectPeerErrorCode + + // The message associated with the error code . + Message *string + + // The ID of the Connect peer request. + RequestId *string + + // The ARN of the requested Connect peer resource. + ResourceArn *string + + noSmithyDocumentSerde +} + // Summary description of a Connect peer. type ConnectPeerSummary struct { @@ -1073,6 +1115,9 @@ type Peering struct { // The edge location for the peer. EdgeLocation *string + // Describes the error associated with the Connect peer request. + LastModificationErrors []PeeringError + // The ID of the account owner. OwnerAccountId *string @@ -1094,6 +1139,36 @@ type Peering struct { noSmithyDocumentSerde } +// Describes an error associated with a peering request. +type PeeringError struct { + + // The error code for the peering request. + Code PeeringErrorCode + + // The message associated with the error code . + Message *string + + // Provides additional information about missing permissions for the peering error. + MissingPermissionsContext *PermissionsErrorContext + + // The ID of the Peering request. + RequestId *string + + // The ARN of the requested peering resource. + ResourceArn *string + + noSmithyDocumentSerde +} + +// Describes additional information about missing permissions. +type PermissionsErrorContext struct { + + // The missing permissions. + MissingPermission *string + + noSmithyDocumentSerde +} + // Describes proposed changes to a network function group. type ProposedNetworkFunctionGroupChange struct { diff --git a/service/workspacesthinclient/api_op_CreateEnvironment.go b/service/workspacesthinclient/api_op_CreateEnvironment.go index 8e072f7f8b5..ca4b93386d3 100644 --- a/service/workspacesthinclient/api_op_CreateEnvironment.go +++ b/service/workspacesthinclient/api_op_CreateEnvironment.go @@ -57,6 +57,10 @@ type CreateEnvironmentInput struct { // AppStream 2.0). DesktopEndpoint *string + // A map of the key-value pairs of the tag or tags to assign to the newly created + // devices for this environment. + DeviceCreationTags map[string]string + // The Amazon Resource Name (ARN) of the Key Management Service key to use to // encrypt the environment. KmsKeyArn *string diff --git a/service/workspacesthinclient/api_op_UpdateEnvironment.go b/service/workspacesthinclient/api_op_UpdateEnvironment.go index 685ff737b17..a3fa89543ad 100644 --- a/service/workspacesthinclient/api_op_UpdateEnvironment.go +++ b/service/workspacesthinclient/api_op_UpdateEnvironment.go @@ -45,6 +45,10 @@ type UpdateEnvironmentInput struct { // AppStream 2.0). DesktopEndpoint *string + // A map of the key-value pairs of the tag or tags to assign to the newly created + // devices for this environment. + DeviceCreationTags map[string]string + // A specification for a time window to apply software updates. MaintenanceWindow *types.MaintenanceWindow diff --git a/service/workspacesthinclient/deserializers.go b/service/workspacesthinclient/deserializers.go index 218836195a8..897e36f16c8 100644 --- a/service/workspacesthinclient/deserializers.go +++ b/service/workspacesthinclient/deserializers.go @@ -2898,6 +2898,42 @@ func awsRestjson1_deserializeDocumentDevice(v **types.Device, value interface{}) return nil } +func awsRestjson1_deserializeDocumentDeviceCreationTagsMap(v *map[string]string, value interface{}) error { + if v == nil { + return fmt.Errorf("unexpected nil of type %T", v) + } + if value == nil { + return nil + } + + shape, ok := value.(map[string]interface{}) + if !ok { + return fmt.Errorf("unexpected JSON type %v", value) + } + + var mv map[string]string + if *v == nil { + mv = map[string]string{} + } else { + mv = *v + } + + for key, value := range shape { + var parsedVal string + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected DeviceCreationTagValue to be of type string, got %T instead", value) + } + parsedVal = jtv + } + mv[key] = parsedVal + + } + *v = mv + return nil +} + func awsRestjson1_deserializeDocumentDeviceList(v *[]types.DeviceSummary, value interface{}) error { if v == nil { return fmt.Errorf("unexpected nil of type %T", v) @@ -3218,6 +3254,11 @@ func awsRestjson1_deserializeDocumentEnvironment(v **types.Environment, value in sv.DesktopType = types.DesktopType(jtv) } + case "deviceCreationTags": + if err := awsRestjson1_deserializeDocumentDeviceCreationTagsMap(&sv.DeviceCreationTags, value); err != nil { + return err + } + case "id": if value != nil { jtv, ok := value.(string) diff --git a/service/workspacesthinclient/serializers.go b/service/workspacesthinclient/serializers.go index 520ad47aa08..bda69bc879d 100644 --- a/service/workspacesthinclient/serializers.go +++ b/service/workspacesthinclient/serializers.go @@ -101,6 +101,13 @@ func awsRestjson1_serializeOpDocumentCreateEnvironmentInput(v *CreateEnvironment ok.String(*v.DesktopEndpoint) } + if v.DeviceCreationTags != nil { + ok := object.Key("deviceCreationTags") + if err := awsRestjson1_serializeDocumentDeviceCreationTagsMap(v.DeviceCreationTags, ok); err != nil { + return err + } + } + if v.KmsKeyArn != nil { ok := object.Key("kmsKeyArn") ok.String(*v.KmsKeyArn) @@ -1175,6 +1182,13 @@ func awsRestjson1_serializeOpDocumentUpdateEnvironmentInput(v *UpdateEnvironment ok.String(*v.DesktopEndpoint) } + if v.DeviceCreationTags != nil { + ok := object.Key("deviceCreationTags") + if err := awsRestjson1_serializeDocumentDeviceCreationTagsMap(v.DeviceCreationTags, ok); err != nil { + return err + } + } + if v.MaintenanceWindow != nil { ok := object.Key("maintenanceWindow") if err := awsRestjson1_serializeDocumentMaintenanceWindow(v.MaintenanceWindow, ok); err != nil { @@ -1299,6 +1313,17 @@ func awsRestjson1_serializeDocumentDayOfWeekList(v []types.DayOfWeek, value smit return nil } +func awsRestjson1_serializeDocumentDeviceCreationTagsMap(v map[string]string, value smithyjson.Value) error { + object := value.Object() + defer object.Close() + + for key := range v { + om := object.Key(key) + om.String(v[key]) + } + return nil +} + func awsRestjson1_serializeDocumentMaintenanceWindow(v *types.MaintenanceWindow, value smithyjson.Value) error { object := value.Object() defer object.Close() diff --git a/service/workspacesthinclient/types/types.go b/service/workspacesthinclient/types/types.go index 98cff24139b..c7e45eed139 100644 --- a/service/workspacesthinclient/types/types.go +++ b/service/workspacesthinclient/types/types.go @@ -157,6 +157,10 @@ type Environment struct { // The type of streaming desktop for the environment. DesktopType DesktopType + // "The tag keys and optional values for the newly created devices for this + // environment." + DeviceCreationTags map[string]string + // The ID of the environment. Id *string