From e6357262b8365816f00fb6b1367bf0d5bbb2755a Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Wed, 15 Nov 2023 19:13:05 +0000 Subject: [PATCH] Update API model --- .../sdk-codegen/aws-models/auto-scaling.json | 146 ++- .../sdk-codegen/aws-models/cloudtrail.json | 63 +- .../sdk-codegen/aws-models/codecatalyst.json | 1077 +++++++++++++++- codegen/sdk-codegen/aws-models/ec2.json | 441 +++++++ .../sdk-codegen/aws-models/finspace-data.json | 93 ++ codegen/sdk-codegen/aws-models/finspace.json | 15 + codegen/sdk-codegen/aws-models/lambda.json | 6 + codegen/sdk-codegen/aws-models/mwaa.json | 77 +- codegen/sdk-codegen/aws-models/rds.json | 2 +- codegen/sdk-codegen/aws-models/redshift.json | 24 +- .../sdk-codegen/aws-models/s3-control.json | 1141 +++++++++++++++-- codegen/sdk-codegen/aws-models/ssm-sap.json | 2 +- 12 files changed, 2880 insertions(+), 207 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.json b/codegen/sdk-codegen/aws-models/auto-scaling.json index e7db10d4fb8..78f29cb6a7c 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.json @@ -916,6 +916,12 @@ "traits": { "smithy.api#documentation": "

The traffic sources associated with this Auto Scaling group.

" } + }, + "InstanceMaintenancePolicy": { + "target": "com.amazonaws.autoscaling#InstanceMaintenancePolicy", + "traits": { + "smithy.api#documentation": "

An instance maintenance policy.

" + } } }, "traits": { @@ -2498,14 +2504,14 @@ "VirtualName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the instance store volume (virtual device) to attach to an instance at\n launch. The name must be in the form ephemeralX where\n X is a number starting from zero (0), for example,\n ephemeral0.

" + "smithy.api#documentation": "

The name of the instance store volume (virtual device) to attach to an instance at\n launch. The name must be in the form ephemeralX where\n X is a number starting from zero (0), for example,\n ephemeral0.

" } }, "DeviceName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The device name assigned to the volume (for example, /dev/sdh or\n xvdh). For more information, see Device naming on Linux\n instances in the Amazon EC2 User Guide for Linux Instances.

\n \n

To define a block device mapping, set the device name and exactly one of the\n following properties: Ebs, NoDevice, or\n VirtualName.

\n
", + "smithy.api#documentation": "

The device name assigned to the volume (for example, /dev/sdh or\n xvdh). For more information, see Device naming on Linux\n instances in the Amazon EC2 User Guide for Linux Instances.

\n \n

To define a block device mapping, set the device name and exactly one of the\n following properties: Ebs, NoDevice, or\n VirtualName.

\n
", "smithy.api#required": {} } }, @@ -2985,6 +2991,12 @@ "traits": { "smithy.api#documentation": "

The list of traffic sources to attach to this Auto Scaling group. You can use any of the\n following as traffic sources for an Auto Scaling group: Classic Load Balancer, Application Load Balancer, Gateway Load Balancer, Network Load Balancer, and\n VPC Lattice.

" } + }, + "InstanceMaintenancePolicy": { + "target": "com.amazonaws.autoscaling#InstanceMaintenancePolicy", + "traits": { + "smithy.api#documentation": "

An instance maintenance policy. For more information, see Set instance maintenance policy in the\n Amazon EC2 Auto Scaling User Guide.

" + } } } }, @@ -3008,7 +3020,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a launch configuration.

\n

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

\n

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

\n \n

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

\n
", + "smithy.api#documentation": "

Creates a launch configuration.

\n

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

\n

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

\n \n

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

\n
", "smithy.api#examples": [ { "title": "To create a launch configuration", @@ -3040,19 +3052,19 @@ "ImageId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

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

\n

If you specify InstanceId, an ImageId is not\n required.

" + "smithy.api#documentation": "

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

\n

If you specify InstanceId, an ImageId is not\n required.

" } }, "KeyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } }, "SecurityGroups": { "target": "com.amazonaws.autoscaling#SecurityGroups", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } }, "ClassicLinkVPCId": { @@ -3070,13 +3082,13 @@ "UserData": { "target": "com.amazonaws.autoscaling#XmlStringUserData", "traits": { - "smithy.api#documentation": "

The user data to make available to the launched EC2 instances. For more information,\n see Instance metadata and user data (Linux) and Instance metadata and\n user data (Windows). If you are using a command line tool, base64-encoding\n is performed for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.

" + "smithy.api#documentation": "

The user data to make available to the launched EC2 instances. For more information,\n see Instance metadata and user data (Linux) and Instance metadata and\n user data (Windows). If you are using a command line tool, base64-encoding\n is performed for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.

" } }, "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { - "smithy.api#documentation": "

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

\n

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

\n

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

" + "smithy.api#documentation": "

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

\n

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

\n

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

" } }, "InstanceType": { @@ -3088,13 +3100,13 @@ "KernelId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The ID of the kernel associated with the AMI.

\n \n

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more\n information, see User provided\n kernels in the Amazon EC2 User Guide for Linux\n Instances.

\n
" + "smithy.api#documentation": "

The ID of the kernel associated with the AMI.

\n \n

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more\n information, see User provided\n kernels in the Amazon EC2 User Guide for Linux\n Instances.

\n
" } }, "RamdiskId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The ID of the RAM disk to select.

\n \n

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more\n information, see User provided\n kernels in the Amazon EC2 User Guide for Linux\n Instances.

\n
" + "smithy.api#documentation": "

The ID of the RAM disk to select.

\n \n

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more\n information, see User provided\n kernels in the Amazon EC2 User Guide for Linux\n Instances.

\n
" } }, "BlockDeviceMappings": { @@ -3112,7 +3124,7 @@ "SpotPrice": { "target": "com.amazonaws.autoscaling#SpotPrice", "traits": { - "smithy.api#documentation": "

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

\n

Valid Range: Minimum value of 0.001

\n \n

When you change your maximum price by creating a new launch configuration, running\n instances will continue to run as long as the maximum price for those running\n instances is higher than the current Spot price.

\n
" + "smithy.api#documentation": "

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

\n

Valid Range: Minimum value of 0.001

\n \n

When you change your maximum price by creating a new launch configuration, running\n instances will continue to run as long as the maximum price for those running\n instances is higher than the current Spot price.

\n
" } }, "IamInstanceProfile": { @@ -3130,19 +3142,19 @@ "AssociatePublicIpAddress": { "target": "com.amazonaws.autoscaling#AssociatePublicIpAddress", "traits": { - "smithy.api#documentation": "

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

\n

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

\n

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

" + "smithy.api#documentation": "

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

\n

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

\n

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

" } }, "PlacementTenancy": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { - "smithy.api#documentation": "

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

\n

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

\n

Valid values: default | dedicated\n

" + "smithy.api#documentation": "

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

\n

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

\n

Valid values: default | dedicated\n

" } }, "MetadataOptions": { "target": "com.amazonaws.autoscaling#InstanceMetadataOptions", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } } } @@ -5567,7 +5579,7 @@ "VolumeType": { "target": "com.amazonaws.autoscaling#BlockDeviceEbsVolumeType", "traits": { - "smithy.api#documentation": "

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

\n

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

" + "smithy.api#documentation": "

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

\n

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

" } }, "DeleteOnTermination": { @@ -5579,13 +5591,13 @@ "Iops": { "target": "com.amazonaws.autoscaling#BlockDeviceEbsIops", "traits": { - "smithy.api#documentation": "

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

\n

The following are the supported values for each volume type:

\n \n

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

\n

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

" + "smithy.api#documentation": "

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

\n

The following are the supported values for each volume type:

\n \n

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

\n

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

" } }, "Encrypted": { "target": "com.amazonaws.autoscaling#BlockDeviceEbsEncrypted", "traits": { - "smithy.api#documentation": "

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

\n \n

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

\n

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

\n

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

\n
" + "smithy.api#documentation": "

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

\n \n

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

\n

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

\n

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

\n
" } }, "Throughput": { @@ -6193,6 +6205,26 @@ "target": "com.amazonaws.autoscaling#XmlStringMaxLen19" } }, + "com.amazonaws.autoscaling#InstanceMaintenancePolicy": { + "type": "structure", + "members": { + "MinHealthyPercentage": { + "target": "com.amazonaws.autoscaling#IntPercentResettable", + "traits": { + "smithy.api#documentation": "

Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling\n group. It represents the minimum percentage of the group to keep in service, healthy,\n and ready to use to support your workload when replacing instances. Value range is 0 to\n 100. After it's set, a value of -1 will clear the previously set\n value.

" + } + }, + "MaxHealthyPercentage": { + "target": "com.amazonaws.autoscaling#IntPercent100To200Resettable", + "traits": { + "smithy.api#documentation": "

Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling\n group. It represents the maximum percentage of the group that can be in service and\n healthy, or pending, to support your workload when replacing instances. Value range is\n 100 to 200. After it's set, a value of -1 will clear the previously set\n value.

\n

Both MinHealthyPercentage and MaxHealthyPercentage must be\n specified, and the difference between them cannot be greater than 100. A large range\n increases the number of instances that can be replaced at the same time.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes an instance maintenance policy.

\n

For more information, see Set instance maintenance policy in the\n Amazon EC2 Auto Scaling User Guide.

" + } + }, "com.amazonaws.autoscaling#InstanceMetadataEndpointState": { "type": "enum", "members": { @@ -6738,6 +6770,33 @@ } } }, + "com.amazonaws.autoscaling#IntPercent100To200": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 100, + "max": 200 + } + } + }, + "com.amazonaws.autoscaling#IntPercent100To200Resettable": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": -1, + "max": 200 + } + } + }, + "com.amazonaws.autoscaling#IntPercentResettable": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": -1, + "max": 100 + } + } + }, "com.amazonaws.autoscaling#InvalidNextToken": { "type": "structure", "members": { @@ -6796,20 +6855,20 @@ "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#clientOptional": {}, - "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more\n information, see Find a Linux AMI in the\n Amazon EC2 User Guide for Linux Instances.

", + "smithy.api#documentation": "

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more\n information, see Find a Linux AMI in the\n Amazon EC2 User Guide for Linux Instances.

", "smithy.api#required": {} } }, "KeyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { - "smithy.api#documentation": "

The name of the key pair.

\n

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

" + "smithy.api#documentation": "

The name of the key pair.

\n

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

" } }, "SecurityGroups": { "target": "com.amazonaws.autoscaling#SecurityGroups", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } }, "ClassicLinkVPCId": { @@ -6827,7 +6886,7 @@ "UserData": { "target": "com.amazonaws.autoscaling#XmlStringUserData", "traits": { - "smithy.api#documentation": "

The user data to make available to the launched EC2 instances. For more information,\n see Instance metadata and user data (Linux) and Instance metadata and\n user data (Windows). If you are using a command line tool, base64-encoding\n is performed for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.

" + "smithy.api#documentation": "

The user data to make available to the launched EC2 instances. For more information,\n see Instance metadata and user data (Linux) and Instance metadata and\n user data (Windows). If you are using a command line tool, base64-encoding\n is performed for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.

" } }, "InstanceType": { @@ -6859,7 +6918,7 @@ "InstanceMonitoring": { "target": "com.amazonaws.autoscaling#InstanceMonitoring", "traits": { - "smithy.api#documentation": "

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

\n

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

" + "smithy.api#documentation": "

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

\n

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

" } }, "SpotPrice": { @@ -6897,13 +6956,13 @@ "PlacementTenancy": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { - "smithy.api#documentation": "

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

\n

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

" + "smithy.api#documentation": "

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

\n

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

" } }, "MetadataOptions": { "target": "com.amazonaws.autoscaling#InstanceMetadataOptions", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } } }, @@ -6948,7 +7007,7 @@ "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { - "smithy.api#documentation": "

The maximum number of items to return with this call. The default value is\n 50 and the maximum value is 100.

" + "smithy.api#documentation": "

The maximum number of items to return with this call. The default value is\n 50 and the maximum value is 100.

" } } } @@ -6973,7 +7032,7 @@ "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" + "smithy.api#documentation": "

A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken value when requesting the next set of items. This value is\n null when there are no more items to return.

" } } } @@ -9075,7 +9134,7 @@ "MinHealthyPercentage": { "target": "com.amazonaws.autoscaling#IntPercent", "traits": { - "smithy.api#documentation": "

The amount of capacity in the Auto Scaling group that must pass your group's health checks to\n allow the operation to continue. The value is expressed as a percentage of the desired\n capacity of the Auto Scaling group (rounded up to the nearest integer). The default is\n 90.

\n

Setting the minimum healthy percentage to 100 percent limits the rate of replacement\n to one instance at a time. In contrast, setting it to 0 percent has the effect of\n replacing all instances at the same time.

" + "smithy.api#documentation": "

Specifies the minimum percentage of the group to keep in service, healthy, and ready\n to use to support your workload to allow the operation to continue. The value is\n expressed as a percentage of the desired capacity of the Auto Scaling group. Value range is 0 to\n 100.

\n

If you do not specify this property, the default is 90 percent, or the percentage set\n in the instance maintenance policy for the Auto Scaling group, if defined.

" } }, "InstanceWarmup": { @@ -9125,6 +9184,12 @@ "traits": { "smithy.api#documentation": "

(Optional) The CloudWatch alarm specification. CloudWatch alarms can be used to identify any\n issues and fail the operation if an alarm threshold is met.

" } + }, + "MaxHealthyPercentage": { + "target": "com.amazonaws.autoscaling#IntPercent100To200", + "traits": { + "smithy.api#documentation": "

Specifies the maximum percentage of the group that can be in service and healthy, or\n pending, to support your workload when replacing instances. The value is expressed as a\n percentage of the desired capacity of the Auto Scaling group. Value range is 100 to 200.

\n

If you specify MaxHealthyPercentage, you must also specify\n MinHealthyPercentage, and the difference between them cannot be greater\n than 100. A larger range increases the number of instances that can be replaced at the\n same time.

\n

If you do not specify this property, the default is 100 percent, or the percentage set\n in the instance maintenance policy for the Auto Scaling group, if defined.

" + } } }, "traits": { @@ -9474,7 +9539,7 @@ "PolicyType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { - "smithy.api#documentation": "

One of the following policy types:

\n \n

For more information, see Target tracking\n scaling policies and Step and simple scaling\n policies in the Amazon EC2 Auto Scaling User Guide.

" + "smithy.api#documentation": "

One of the following policy types:

\n \n

For more information, see Target tracking\n scaling policies and Step and simple scaling\n policies in the Amazon EC2 Auto Scaling User Guide.

" } }, "AdjustmentType": { @@ -9492,7 +9557,7 @@ "MinAdjustmentMagnitude": { "target": "com.amazonaws.autoscaling#MinAdjustmentMagnitude", "traits": { - "smithy.api#documentation": "

The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity.

" + "smithy.api#documentation": "

The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity.

" } }, "ScalingAdjustment": { @@ -9516,7 +9581,7 @@ "MetricAggregationType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { - "smithy.api#documentation": "

The aggregation type for the CloudWatch metrics. The valid values are Minimum,\n Maximum, and Average.

" + "smithy.api#documentation": "

The aggregation type for the CloudWatch metrics. The valid values are Minimum,\n Maximum, and Average.

" } }, "EstimatedInstanceWarmup": { @@ -10008,7 +10073,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts an instance refresh. During an instance refresh, Amazon EC2 Auto Scaling performs a rolling\n update of instances in an Auto Scaling group. Instances are terminated first and then replaced,\n which temporarily reduces the capacity available within your Auto Scaling group.

\n

This operation is part of the instance refresh\n feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.\n This feature is helpful, for example, when you have a new AMI or a new user data script.\n You just need to create a new launch template that specifies the new AMI or user data\n script. Then start an instance refresh to immediately begin the process of updating\n instances in the group.

\n

If successful, the request's response contains a unique ID that you can use to track\n the progress of the instance refresh. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that\n have already run, call the DescribeInstanceRefreshes API. To cancel an\n instance refresh that is in progress, use the CancelInstanceRefresh\n API.

\n

An instance refresh might fail for several reasons, such as EC2 launch failures,\n misconfigured health checks, or not ignoring or allowing the termination of instances\n that are in Standby state or protected from scale in. You can monitor for\n failed EC2 launches using the scaling activities. To find the scaling activities, call\n the DescribeScalingActivities API.

\n

If you enable auto rollback, your Auto Scaling group will be rolled back automatically when\n the instance refresh fails. You can enable this feature before starting an instance\n refresh by specifying the AutoRollback property in the instance refresh\n preferences. Otherwise, to roll back an instance refresh before it finishes, use the\n RollbackInstanceRefresh API.

", + "smithy.api#documentation": "

Starts an instance refresh.

\n

This operation is part of the instance refresh\n feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.\n This feature is helpful, for example, when you have a new AMI or a new user data script.\n You just need to create a new launch template that specifies the new AMI or user data\n script. Then start an instance refresh to immediately begin the process of updating\n instances in the group.

\n

If successful, the request's response contains a unique ID that you can use to track\n the progress of the instance refresh. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that\n have already run, call the DescribeInstanceRefreshes API. To cancel an\n instance refresh that is in progress, use the CancelInstanceRefresh\n API.

\n

An instance refresh might fail for several reasons, such as EC2 launch failures,\n misconfigured health checks, or not ignoring or allowing the termination of instances\n that are in Standby state or protected from scale in. You can monitor for\n failed EC2 launches using the scaling activities. To find the scaling activities, call\n the DescribeScalingActivities API.

\n

If you enable auto rollback, your Auto Scaling group will be rolled back automatically when\n the instance refresh fails. You can enable this feature before starting an instance\n refresh by specifying the AutoRollback property in the instance refresh\n preferences. Otherwise, to roll back an instance refresh before it finishes, use the\n RollbackInstanceRefresh API.

", "smithy.api#examples": [ { "title": "To start an instance refresh", @@ -10023,13 +10088,14 @@ }, "Preferences": { "AutoRollback": true, + "InstanceWarmup": 200, + "MinHealthyPercentage": 90, + "MaxHealthyPercentage": 120, "AlarmSpecification": { "Alarms": [ "my-alarm" ] - }, - "InstanceWarmup": 200, - "MinHealthyPercentage": 90 + } } }, "output": { @@ -10076,7 +10142,7 @@ "Preferences": { "target": "com.amazonaws.autoscaling#RefreshPreferences", "traits": { - "smithy.api#documentation": "

Sets your preferences for the instance refresh so that it performs as expected when\n you start it. Includes the instance warmup time, the minimum healthy percentage, and the\n behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in Standby\n state or protected from scale in are found. You can also choose to enable additional\n features, such as the following:

\n " + "smithy.api#documentation": "

Sets your preferences for the instance refresh so that it performs as expected when\n you start it. Includes the instance warmup time, the minimum and maximum healthy\n percentages, and the behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in\n Standby state or protected from scale in are found. You can also choose\n to enable additional features, such as the following:

\n " } } } @@ -10378,7 +10444,7 @@ "ReturnData": { "target": "com.amazonaws.autoscaling#ReturnData", "traits": { - "smithy.api#documentation": "

Indicates whether to return the timestamps and raw data values of this metric.

\n

If you use any math expressions, specify true for this value for only the\n final math expression that the metric specification is based on. You must specify\n false for ReturnData for all the other metrics and\n expressions used in the metric specification.

\n

If you are only retrieving metrics and not performing any math expressions, do not\n specify anything for ReturnData. This sets it to its default\n (true).

" + "smithy.api#documentation": "

Indicates whether to return the timestamps and raw data values of this metric.

\n

If you use any math expressions, specify true for this value for only the\n final math expression that the metric specification is based on. You must specify\n false for ReturnData for all the other metrics and\n expressions used in the metric specification.

\n

If you are only retrieving metrics and not performing any math expressions, do not\n specify anything for ReturnData. This sets it to its default\n (true).

" } } }, @@ -10413,7 +10479,7 @@ } }, "traits": { - "smithy.api#documentation": "

This structure defines the CloudWatch metric to return, along with the statistic and\n unit.

\n

For more information about the CloudWatch terminology below, see Amazon CloudWatch\n concepts in the Amazon CloudWatch User Guide.

" + "smithy.api#documentation": "

This structure defines the CloudWatch metric to return, along with the statistic and\n unit.

\n

For more information about the CloudWatch terminology below, see Amazon CloudWatch\n concepts in the Amazon CloudWatch User Guide.

" } }, "com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroup": { @@ -10734,6 +10800,12 @@ "traits": { "smithy.api#documentation": "

The amount of time, in seconds, until a new instance is considered to have finished\n initializing and resource consumption to become stable after it enters the\n InService state.

\n

During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an\n instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the\n warm-up period before aggregating the metrics for new instances with existing instances\n in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage\n data. For more information, see Set\n the default instance warmup for an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.

\n \n

To manage various warm-up settings at the group level, we recommend that you set\n the default instance warmup, even if it is set to 0 seconds. To\n remove a value that you previously set, include the property but specify\n -1 for the value. However, we strongly recommend keeping the\n default instance warmup enabled by specifying a value of 0 or other\n nominal value.

\n
" } + }, + "InstanceMaintenancePolicy": { + "target": "com.amazonaws.autoscaling#InstanceMaintenancePolicy", + "traits": { + "smithy.api#documentation": "

An instance maintenance policy. For more information, see Set instance maintenance policy in the\n Amazon EC2 Auto Scaling User Guide.

" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/cloudtrail.json b/codegen/sdk-codegen/aws-models/cloudtrail.json index 8415debbc24..75a32c14951 100644 --- a/codegen/sdk-codegen/aws-models/cloudtrail.json +++ b/codegen/sdk-codegen/aws-models/cloudtrail.json @@ -302,6 +302,23 @@ } } }, + "com.amazonaws.cloudtrail#BillingMode": { + "type": "enum", + "members": { + "EXTENDABLE_RETENTION_PRICING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXTENDABLE_RETENTION_PRICING" + } + }, + "FIXED_RETENTION_PRICING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIXED_RETENTION_PRICING" + } + } + } + }, "com.amazonaws.cloudtrail#Boolean": { "type": "boolean" }, @@ -2073,7 +2090,7 @@ "RetentionPeriod": { "target": "com.amazonaws.cloudtrail#RetentionPeriod", "traits": { - "smithy.api#documentation": "

The retention period of the event data store, in days. You can set a retention period of\n up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the eventTime \n of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events \n when the eventTime is older than 90 days.

\n \n

If you plan to copy trail events to this event data store, we recommend \n that you consider both the age of the events that you\n want to copy as well as how long you want to keep the copied events\n in your event data store. For example, if you copy trail events that are 5 years old \n and specify a retention period of 7 years, the event data store \n will retain those events for two years.

\n
" + "smithy.api#documentation": "

The retention period of the event data store, in days. If BillingMode is set to EXTENDABLE_RETENTION_PRICING, you can set a retention period of\n up to 3653 days, the equivalent of 10 years. If BillingMode is set to FIXED_RETENTION_PRICING, you can set a retention period of\n up to 2557 days, the equivalent of seven years.

\n

CloudTrail Lake determines whether to retain an event by checking if the eventTime \n of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events \n when the eventTime is older than 90 days.

\n \n

If you plan to copy trail events to this event data store, we recommend \n that you consider both the age of the events that you\n want to copy as well as how long you want to keep the copied events\n in your event data store. For example, if you copy trail events that are 5 years old \n and specify a retention period of 7 years, the event data store \n will retain those events for two years.

\n
" } }, "TerminationProtectionEnabled": { @@ -2096,6 +2113,12 @@ "traits": { "smithy.api#documentation": "

Specifies whether the event data store should start ingesting live events. The default is true.

" } + }, + "BillingMode": { + "target": "com.amazonaws.cloudtrail#BillingMode", + "traits": { + "smithy.api#documentation": "

The billing mode for the event data store determines the cost for ingesting events and the default and maximum retention period for the event data store.

\n

The following are the possible values:

\n \n

The default value is EXTENDABLE_RETENTION_PRICING.

\n

For more information about CloudTrail pricing, \n see CloudTrail Pricing and \n Managing CloudTrail Lake costs.

" + } } }, "traits": { @@ -2173,6 +2196,12 @@ "traits": { "smithy.api#documentation": "

Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the\n following format.

\n

\n arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012\n

" } + }, + "BillingMode": { + "target": "com.amazonaws.cloudtrail#BillingMode", + "traits": { + "smithy.api#documentation": "

The billing mode for the event data store.

" + } } }, "traits": { @@ -3305,7 +3334,7 @@ } }, "traits": { - "smithy.api#documentation": "

A storage lake of event data against which you can run complex SQL-based queries. An\n event data store can include events that you have logged on your account from the last 90\n to 2557 days (about three months to up to seven years). To select events for an event data\n store, use advanced event selectors.

" + "smithy.api#documentation": "

A storage lake of event data against which you can run complex SQL-based queries. An\n event data store can include events that you have logged on your account. To select events for an event data\n store, use advanced event selectors.

" } }, "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException": { @@ -3757,6 +3786,12 @@ "traits": { "smithy.api#documentation": "

Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the\n following format.

\n

\n arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012\n

" } + }, + "BillingMode": { + "target": "com.amazonaws.cloudtrail#BillingMode", + "traits": { + "smithy.api#documentation": "

The billing mode for the event data store.

" + } } }, "traits": { @@ -7683,6 +7718,12 @@ "traits": { "smithy.api#documentation": "

Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the\n following format.

\n

\n arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012\n

" } + }, + "BillingMode": { + "target": "com.amazonaws.cloudtrail#BillingMode", + "traits": { + "smithy.api#documentation": "

The billing mode for the event data store.

" + } } }, "traits": { @@ -7694,7 +7735,7 @@ "traits": { "smithy.api#range": { "min": 7, - "max": 2557 + "max": 3653 } } }, @@ -8935,7 +8976,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates an event data store. The required EventDataStore value is an ARN or\n the ID portion of the ARN. Other parameters are optional, but at least one optional\n parameter must be specified, or CloudTrail throws an error.\n RetentionPeriod is in days, and valid values are integers between 90 and\n 2557. By default, TerminationProtection is enabled.

\n

For event data stores for CloudTrail events, AdvancedEventSelectors\n includes or excludes management, data, or Insights events in your event data store. For more\n information about AdvancedEventSelectors, see AdvancedEventSelectors.

\n

For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events,\n AdvancedEventSelectors includes events of that type in your event data store.

", + "smithy.api#documentation": "

Updates an event data store. The required EventDataStore value is an ARN or\n the ID portion of the ARN. Other parameters are optional, but at least one optional\n parameter must be specified, or CloudTrail throws an error.\n RetentionPeriod is in days, and valid values are integers between 7 and\n 3653 if the BillingMode is set to EXTENDABLE_RETENTION_PRICING, or between 7 and 2557 if BillingMode is set to FIXED_RETENTION_PRICING. By default, TerminationProtection is enabled.

\n

For event data stores for CloudTrail events, AdvancedEventSelectors\n includes or excludes management, data, or Insights events in your event data store. For more\n information about AdvancedEventSelectors, see AdvancedEventSelectors.

\n

For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events,\n AdvancedEventSelectors includes events of that type in your event data store.

", "smithy.api#idempotent": {} } }, @@ -8976,7 +9017,7 @@ "RetentionPeriod": { "target": "com.amazonaws.cloudtrail#RetentionPeriod", "traits": { - "smithy.api#documentation": "

The retention period of the event data store, in days. You can set a retention period of\n up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the eventTime \n of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events \n when the eventTime is older than 90 days.

\n \n

If you decrease the retention period of an event data store, CloudTrail will remove any events with an eventTime older than the new retention period. For example, if the previous \n retention period was 365 days and you decrease it to 100 days, CloudTrail will remove events with an eventTime older than 100 days.

\n
" + "smithy.api#documentation": "

The retention period of the event data store, in days. If BillingMode is set to EXTENDABLE_RETENTION_PRICING, you can set a retention period of\n up to 3653 days, the equivalent of 10 years. If BillingMode is set to FIXED_RETENTION_PRICING, you can set a retention period of\n up to 2557 days, the equivalent of seven years.

\n

CloudTrail Lake determines whether to retain an event by checking if the eventTime \n of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events \n when the eventTime is older than 90 days.

\n \n

If you decrease the retention period of an event data store, CloudTrail will remove any events with an eventTime older than the new retention period. For example, if the previous \n retention period was 365 days and you decrease it to 100 days, CloudTrail will remove events with an eventTime older than 100 days.

\n
" } }, "TerminationProtectionEnabled": { @@ -8990,6 +9031,12 @@ "traits": { "smithy.api#documentation": "

Specifies the KMS key ID to use to encrypt the events delivered by\n CloudTrail. The value can be an alias name prefixed by alias/, a\n fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique\n identifier.

\n \n

Disabling or deleting the KMS key, or removing CloudTrail\n permissions on the key, prevents CloudTrail from logging events to the event data\n store, and prevents users from querying the data in the event data store that was\n encrypted with the key. After you associate an event data store with a KMS key, the KMS key cannot be removed or changed. Before you\n disable or delete a KMS key that you are using with an event data store,\n delete or back up your event data store.

\n
\n

CloudTrail also supports KMS multi-Region keys. For more\n information about multi-Region keys, see Using multi-Region\n keys in the Key Management Service Developer Guide.

\n

Examples:

\n " } + }, + "BillingMode": { + "target": "com.amazonaws.cloudtrail#BillingMode", + "traits": { + "smithy.api#documentation": "\n

You can't change the billing mode from EXTENDABLE_RETENTION_PRICING to FIXED_RETENTION_PRICING. If BillingMode is set to \n EXTENDABLE_RETENTION_PRICING and you want to use FIXED_RETENTION_PRICING instead, you'll need to stop ingestion on the event data store and create a new event data store that uses FIXED_RETENTION_PRICING.

\n
\n

The billing mode for the event data store determines the cost \n for ingesting events and the default and maximum retention period for the event data store.

\n

The following are the possible values:

\n \n

For more information about CloudTrail pricing, \n see CloudTrail Pricing and \n Managing CloudTrail Lake costs.

" + } } }, "traits": { @@ -9064,6 +9111,12 @@ "traits": { "smithy.api#documentation": "

Specifies the KMS key ID that encrypts the events delivered by CloudTrail. The value is a fully specified ARN to a KMS key in the\n following format.

\n

\n arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012\n

" } + }, + "BillingMode": { + "target": "com.amazonaws.cloudtrail#BillingMode", + "traits": { + "smithy.api#documentation": "

The billing mode for the event data store.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/codecatalyst.json b/codegen/sdk-codegen/aws-models/codecatalyst.json index 59c77dff24b..bbb6517d7be 100644 --- a/codegen/sdk-codegen/aws-models/codecatalyst.json +++ b/codegen/sdk-codegen/aws-models/codecatalyst.json @@ -152,7 +152,7 @@ "endpointPrefix": "codecatalyst" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst \n API to work with the following objects.

\n

Spaces, by calling the following:

\n \n

Projects, by calling the following:

\n \n

Users, by calling the following:

\n \n

Source repositories, by calling the following:

\n \n

Dev Environments and the Amazon Web Services Toolkits, by calling the following:

\n \n

Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:

\n \n \n

If you are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must configure your computer to work with Amazon CodeCatalyst and single sign-on (SSO).\n For more information, see Setting up to use the CLI with Amazon CodeCatalyst\n and the SSO documentation for your SDK.

\n
", + "smithy.api#documentation": "

Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst \n API to work with the following objects.

\n

Spaces, by calling the following:

\n \n

Projects, by calling the following:

\n \n

Users, by calling the following:

\n \n

Source repositories, by calling the following:

\n \n

Dev Environments and the Amazon Web Services Toolkits, by calling the following:

\n \n

Workflows, by calling the following:

\n \n

Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:

\n \n \n

If you are using the Amazon CodeCatalyst APIs with an SDK or the CLI, you must configure your computer to work with Amazon CodeCatalyst and single sign-on (SSO).\n For more information, see Setting up to use the CLI with Amazon CodeCatalyst\n and the SSO documentation for your SDK.

\n
", "smithy.api#httpBearerAuth": {}, "smithy.api#title": "Amazon CodeCatalyst", "smithy.rules#endpointRuleSet": { @@ -222,7 +222,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -236,7 +235,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -268,7 +266,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -279,7 +278,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -301,7 +301,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -315,7 +314,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -347,7 +345,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -358,7 +357,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } ] }, @@ -492,6 +492,10 @@ { "name": "LESS_THAN_OR_EQUALS", "value": "LE" + }, + { + "name": "BEGINS_WITH", + "value": "BEGINS_WITH" } ] } @@ -1308,9 +1312,6 @@ "delete": { "target": "com.amazonaws.codecatalyst#DeleteDevEnvironment" }, - "list": { - "target": "com.amazonaws.codecatalyst#ListDevEnvironments" - }, "operations": [ { "target": "com.amazonaws.codecatalyst#ListDevEnvironmentSessions" @@ -1857,6 +1858,10 @@ { "name": "HAS_ACCESS_TO", "value": "hasAccessTo" + }, + { + "name": "NAME", + "value": "name" } ] } @@ -2438,6 +2443,273 @@ } } }, + "com.amazonaws.codecatalyst#GetWorkflow": { + "type": "operation", + "input": { + "target": "com.amazonaws.codecatalyst#GetWorkflowRequest" + }, + "output": { + "target": "com.amazonaws.codecatalyst#GetWorkflowResponse" + }, + "traits": { + "smithy.api#documentation": "

Returns information about a workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/spaces/{spaceName}/projects/{projectName}/workflows/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.codecatalyst#GetWorkflowRequest": { + "type": "structure", + "members": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The ID of the workflow. To rerieve a list of workflow IDs, use ListWorkflows.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "workflowId" + } + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the project in the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#length": { + "min": 1 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codecatalyst#GetWorkflowResponse": { + "type": "structure", + "members": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the space.

", + "smithy.api#required": {} + } + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the project in the space.

", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The ID of the workflow.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "workflowId" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the workflow.

", + "smithy.api#required": {} + } + }, + "sourceRepositoryName": { + "target": "com.amazonaws.codecatalyst#SourceRepositoryNameString", + "traits": { + "smithy.api#documentation": "

The name of the source repository where the workflow YAML is stored.

" + } + }, + "sourceBranchName": { + "target": "com.amazonaws.codecatalyst#SourceRepositoryBranchString", + "traits": { + "smithy.api#documentation": "

The name of the branch that contains the workflow YAML.

" + } + }, + "definition": { + "target": "com.amazonaws.codecatalyst#WorkflowDefinition", + "traits": { + "smithy.api#documentation": "

Information about the workflow definition file for the workflow.

", + "smithy.api#required": {} + } + }, + "createdTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339\n

", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + }, + "lastUpdatedTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339\n

", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + }, + "runMode": { + "target": "com.amazonaws.codecatalyst#WorkflowRunMode", + "traits": { + "smithy.api#documentation": "

The behavior to use when multiple workflows occur at the same time. For more information, see \n https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.codecatalyst#WorkflowStatus", + "traits": { + "smithy.api#documentation": "

The status of the workflow.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codecatalyst#GetWorkflowRun": { + "type": "operation", + "input": { + "target": "com.amazonaws.codecatalyst#GetWorkflowRunRequest" + }, + "output": { + "target": "com.amazonaws.codecatalyst#GetWorkflowRunResponse" + }, + "traits": { + "smithy.api#documentation": "

Returns information about a specified run of a workflow.

", + "smithy.api#http": { + "method": "GET", + "uri": "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.codecatalyst#GetWorkflowRunRequest": { + "type": "structure", + "members": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The ID of the workflow run. To retrieve a list of workflow run IDs, use ListWorkflowRuns.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "workflowRunId" + } + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the project in the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#length": { + "min": 1 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codecatalyst#GetWorkflowRunResponse": { + "type": "structure", + "members": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the space.

", + "smithy.api#required": {} + } + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the project in the space.

", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The ID of the workflow run.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "workflowRunId" + } + }, + "workflowId": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The ID of the workflow.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.codecatalyst#WorkflowRunStatus", + "traits": { + "smithy.api#documentation": "

The status of the workflow run.

", + "smithy.api#required": {} + } + }, + "statusReasons": { + "target": "com.amazonaws.codecatalyst#WorkflowRunStatusReasons", + "traits": { + "smithy.api#documentation": "

Information about the reasons for the status of the workflow run.

" + } + }, + "startTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339\n

", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + }, + "endTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

", + "smithy.api#timestampFormat": "date-time" + } + }, + "lastUpdatedTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339\n

", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.codecatalyst#Ide": { "type": "structure", "members": { @@ -2733,7 +3005,7 @@ "smithy.api#documentation": "

Retrieves a list of Dev Environments in a project.

", "smithy.api#http": { "method": "POST", - "uri": "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments", + "uri": "/v1/spaces/{spaceName}/devEnvironments", "code": 200 }, "smithy.api#paginated": { @@ -2759,9 +3031,7 @@ "projectName": { "target": "com.amazonaws.codecatalyst#NameString", "traits": { - "smithy.api#documentation": "

The name of the project in the space.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The name of the project in the space.

" } }, "filters": { @@ -2819,7 +3089,7 @@ "target": "com.amazonaws.codecatalyst#ListEventLogsResponse" }, "traits": { - "smithy.api#documentation": "

Retrieves a list of events that occurred during a specified time period in a space. You can use these events to audit user and system activity in a space.

", + "smithy.api#documentation": "

Retrieves a list of events that occurred during a specific time in a space. You can\n use these events to audit user and system activity in a space. For more information, see\n Monitoring in the Amazon CodeCatalyst User Guide.

\n \n

ListEventLogs guarantees events for the last 30 days in a given space. You can also\n view and retrieve a list of management events over the last 90 days for Amazon CodeCatalyst in the\n CloudTrail console by viewing Event history, or by creating a trail to create\n and maintain a record of events that extends past 90 days. For more information, see Working with CloudTrail Event History and Working with\n CloudTrail trails.

\n
", "smithy.api#http": { "method": "POST", "uri": "/v1/spaces/{spaceName}/eventLogs", @@ -3302,20 +3572,225 @@ } } }, - "com.amazonaws.codecatalyst#NameString": { - "type": "string", + "com.amazonaws.codecatalyst#ListWorkflowRuns": { + "type": "operation", + "input": { + "target": "com.amazonaws.codecatalyst#ListWorkflowRunsRequest" + }, + "output": { + "target": "com.amazonaws.codecatalyst#ListWorkflowRunsResponse" + }, "traits": { - "smithy.api#length": { - "min": 3, - "max": 63 + "smithy.api#documentation": "

Retrieves a list of workflow runs of a specified workflow.

", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns", + "code": 200 }, - "smithy.api#pattern": "^[a-zA-Z0-9]+(?:[-_\\.][a-zA-Z0-9]+)*$" - } - }, - "com.amazonaws.codecatalyst#OperationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "items" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.codecatalyst#ListWorkflowRunsRequest": { + "type": "structure", + "members": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "workflowId": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows.

", + "smithy.api#httpQuery": "workflowId" + } + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the project in the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#length": { + "min": 1 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A token returned from a call to this API to indicate the next batch of results to return, if any.

", + "smithy.api#httpQuery": "nextToken", + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "sortBy": { + "target": "com.amazonaws.codecatalyst#WorkflowRunSortCriteriaList", + "traits": { + "smithy.api#documentation": "

Information used to sort the items in the returned list.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codecatalyst#ListWorkflowRunsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A token returned from a call to this API to indicate the next batch of results to return, if any.

" + } + }, + "items": { + "target": "com.amazonaws.codecatalyst#WorkflowRunSummaries", + "traits": { + "smithy.api#documentation": "

Information about the runs of a workflow.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codecatalyst#ListWorkflows": { + "type": "operation", + "input": { + "target": "com.amazonaws.codecatalyst#ListWorkflowsRequest" + }, + "output": { + "target": "com.amazonaws.codecatalyst#ListWorkflowsResponse" + }, + "traits": { + "smithy.api#documentation": "

Retrieves a list of workflows in a specified project.

", + "smithy.api#http": { + "method": "POST", + "uri": "/v1/spaces/{spaceName}/projects/{projectName}/workflows", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "items" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.codecatalyst#ListWorkflowsRequest": { + "type": "structure", + "members": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#length": { + "min": 1 + }, + "smithy.api#required": {} + } + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the project in the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A token returned from a call to this API to indicate the next batch of results to return, if any.

", + "smithy.api#httpQuery": "nextToken", + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a NextToken element, which you can use to obtain additional results.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "sortBy": { + "target": "com.amazonaws.codecatalyst#WorkflowSortCriteriaList", + "traits": { + "smithy.api#documentation": "

Information used to sort the items in the returned list.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.codecatalyst#ListWorkflowsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A token returned from a call to this API to indicate the next batch of results to return, if any.

" + } + }, + "items": { + "target": "com.amazonaws.codecatalyst#WorkflowSummaries", + "traits": { + "smithy.api#documentation": "

Information about the workflows in a project.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.codecatalyst#NameString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 63 + }, + "smithy.api#pattern": "^[a-zA-Z0-9]+(?:[-_\\.][a-zA-Z0-9]+)*$" + } + }, + "com.amazonaws.codecatalyst#OperationType": { + "type": "string", + "traits": { + "smithy.api#enum": [ { "name": "READONLY", "value": "READONLY" @@ -3396,6 +3871,12 @@ }, { "target": "com.amazonaws.codecatalyst#SourceRepository" + }, + { + "target": "com.amazonaws.codecatalyst#Workflow" + }, + { + "target": "com.amazonaws.codecatalyst#WorkflowRun" } ] }, @@ -3708,6 +4189,11 @@ "list": { "target": "com.amazonaws.codecatalyst#ListSpaces" }, + "operations": [ + { + "target": "com.amazonaws.codecatalyst#ListDevEnvironments" + } + ], "resources": [ { "target": "com.amazonaws.codecatalyst#EventLogResource" @@ -3967,33 +4453,25 @@ } } }, - "com.amazonaws.codecatalyst#StatusReason": { - "type": "string", - "traits": { - "smithy.api#length": { - "max": 1024 - } - } - }, - "com.amazonaws.codecatalyst#StopDevEnvironment": { + "com.amazonaws.codecatalyst#StartWorkflowRun": { "type": "operation", "input": { - "target": "com.amazonaws.codecatalyst#StopDevEnvironmentRequest" + "target": "com.amazonaws.codecatalyst#StartWorkflowRunRequest" }, "output": { - "target": "com.amazonaws.codecatalyst#StopDevEnvironmentResponse" + "target": "com.amazonaws.codecatalyst#StartWorkflowRunResponse" }, "traits": { - "smithy.api#documentation": "

Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.

", + "smithy.api#documentation": "

Begins a run of a specified workflow.

", "smithy.api#http": { "method": "PUT", - "uri": "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/stop", + "uri": "/v1/spaces/{spaceName}/projects/{projectName}/workflowRuns", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.codecatalyst#StopDevEnvironmentRequest": { + "com.amazonaws.codecatalyst#StartWorkflowRunRequest": { "type": "structure", "members": { "spaceName": { @@ -4001,6 +4479,9 @@ "traits": { "smithy.api#documentation": "

The name of the space.

", "smithy.api#httpLabel": {}, + "smithy.api#length": { + "min": 1 + }, "smithy.api#required": {} } }, @@ -4009,21 +4490,38 @@ "traits": { "smithy.api#documentation": "

The name of the project in the space.

", "smithy.api#httpLabel": {}, + "smithy.api#length": { + "min": 1 + }, "smithy.api#required": {} } }, - "id": { + "workflowId": { "target": "com.amazonaws.codecatalyst#Uuid", "traits": { - "smithy.api#documentation": "

The system-generated unique ID of the Dev Environment.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "devEnvironmentId" + "smithy.api#documentation": "

The system-generated unique ID of the workflow. To retrieve a list of workflow IDs, use ListWorkflows.

", + "smithy.api#httpQuery": "workflowId", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A user-specified idempotency token. Idempotency ensures that an API request completes only once. \n With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.

", + "smithy.api#idempotencyToken": {}, + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9]+(?:[-_\\.][a-zA-Z0-9]+)*$" } } + }, + "traits": { + "smithy.api#input": {} } }, - "com.amazonaws.codecatalyst#StopDevEnvironmentResponse": { + "com.amazonaws.codecatalyst#StartWorkflowRunResponse": { "type": "structure", "members": { "spaceName": { @@ -4043,39 +4541,49 @@ "id": { "target": "com.amazonaws.codecatalyst#Uuid", "traits": { - "smithy.api#documentation": "

The system-generated unique ID of the Dev Environment.

", - "smithy.api#required": {}, - "smithy.api#resourceIdentifier": "devEnvironmentId" + "smithy.api#documentation": "

The system-generated unique ID of the workflow run.

", + "smithy.api#required": {} } }, - "status": { - "target": "com.amazonaws.codecatalyst#DevEnvironmentStatus", + "workflowId": { + "target": "com.amazonaws.codecatalyst#Uuid", "traits": { - "smithy.api#documentation": "

The status of the Dev Environment.

", + "smithy.api#documentation": "

The system-generated unique ID of the workflow.

", "smithy.api#required": {} } } + }, + "traits": { + "smithy.api#output": {} } }, - "com.amazonaws.codecatalyst#StopDevEnvironmentSession": { + "com.amazonaws.codecatalyst#StatusReason": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 1024 + } + } + }, + "com.amazonaws.codecatalyst#StopDevEnvironment": { "type": "operation", "input": { - "target": "com.amazonaws.codecatalyst#StopDevEnvironmentSessionRequest" + "target": "com.amazonaws.codecatalyst#StopDevEnvironmentRequest" }, "output": { - "target": "com.amazonaws.codecatalyst#StopDevEnvironmentSessionResponse" + "target": "com.amazonaws.codecatalyst#StopDevEnvironmentResponse" }, "traits": { - "smithy.api#documentation": "

Stops a session for a specified Dev Environment.

", + "smithy.api#documentation": "

Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.

", "smithy.api#http": { - "method": "DELETE", - "uri": "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}", + "method": "PUT", + "uri": "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/stop", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.codecatalyst#StopDevEnvironmentSessionRequest": { + "com.amazonaws.codecatalyst#StopDevEnvironmentRequest": { "type": "structure", "members": { "spaceName": { @@ -4097,12 +4605,94 @@ "id": { "target": "com.amazonaws.codecatalyst#Uuid", "traits": { - "smithy.api#documentation": "

The system-generated unique ID of the Dev Environment. To obtain this ID, use ListDevEnvironments.

", + "smithy.api#documentation": "

The system-generated unique ID of the Dev Environment.

", "smithy.api#httpLabel": {}, "smithy.api#required": {}, "smithy.api#resourceIdentifier": "devEnvironmentId" } - }, + } + } + }, + "com.amazonaws.codecatalyst#StopDevEnvironmentResponse": { + "type": "structure", + "members": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the space.

", + "smithy.api#required": {} + } + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the project in the space.

", + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The system-generated unique ID of the Dev Environment.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "devEnvironmentId" + } + }, + "status": { + "target": "com.amazonaws.codecatalyst#DevEnvironmentStatus", + "traits": { + "smithy.api#documentation": "

The status of the Dev Environment.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.codecatalyst#StopDevEnvironmentSession": { + "type": "operation", + "input": { + "target": "com.amazonaws.codecatalyst#StopDevEnvironmentSessionRequest" + }, + "output": { + "target": "com.amazonaws.codecatalyst#StopDevEnvironmentSessionResponse" + }, + "traits": { + "smithy.api#documentation": "

Stops a session for a specified Dev Environment.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.codecatalyst#StopDevEnvironmentSessionRequest": { + "type": "structure", + "members": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString", + "traits": { + "smithy.api#documentation": "

The name of the project in the space.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "id": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The system-generated unique ID of the Dev Environment. To obtain this ID, use ListDevEnvironments.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "devEnvironmentId" + } + }, "sessionId": { "target": "smithy.api#String", "traits": { @@ -4596,6 +5186,365 @@ } } } + }, + "com.amazonaws.codecatalyst#Workflow": { + "type": "resource", + "identifiers": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString" + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString" + }, + "workflowId": { + "target": "com.amazonaws.codecatalyst#Uuid" + } + }, + "read": { + "target": "com.amazonaws.codecatalyst#GetWorkflow" + }, + "list": { + "target": "com.amazonaws.codecatalyst#ListWorkflows" + } + }, + "com.amazonaws.codecatalyst#WorkflowDefinition": { + "type": "structure", + "members": { + "path": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The path to the workflow definition file stored in the source repository for the project, including the file name.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a workflow definition file.

" + } + }, + "com.amazonaws.codecatalyst#WorkflowDefinitionSummary": { + "type": "structure", + "members": { + "path": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The path to the workflow definition file stored in the source repository for the project, including the file name.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a workflow definition.

" + } + }, + "com.amazonaws.codecatalyst#WorkflowRun": { + "type": "resource", + "identifiers": { + "spaceName": { + "target": "com.amazonaws.codecatalyst#NameString" + }, + "projectName": { + "target": "com.amazonaws.codecatalyst#NameString" + }, + "workflowRunId": { + "target": "com.amazonaws.codecatalyst#Uuid" + } + }, + "create": { + "target": "com.amazonaws.codecatalyst#StartWorkflowRun" + }, + "read": { + "target": "com.amazonaws.codecatalyst#GetWorkflowRun" + }, + "list": { + "target": "com.amazonaws.codecatalyst#ListWorkflowRuns" + } + }, + "com.amazonaws.codecatalyst#WorkflowRunMode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "QUEUED", + "value": "QUEUED" + }, + { + "name": "PARALLEL", + "value": "PARALLEL" + }, + { + "name": "SUPERSEDED", + "value": "SUPERSEDED" + } + ] + } + }, + "com.amazonaws.codecatalyst#WorkflowRunSortCriteria": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "

Information used to sort workflow runs in the returned list.

" + } + }, + "com.amazonaws.codecatalyst#WorkflowRunSortCriteriaList": { + "type": "list", + "member": { + "target": "com.amazonaws.codecatalyst#WorkflowRunSortCriteria" + }, + "traits": { + "smithy.api#length": { + "max": 1 + } + } + }, + "com.amazonaws.codecatalyst#WorkflowRunStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "SUCCEEDED", + "value": "SUCCEEDED" + }, + { + "name": "FAILED", + "value": "FAILED" + }, + { + "name": "STOPPED", + "value": "STOPPED" + }, + { + "name": "SUPERSEDED", + "value": "SUPERSEDED" + }, + { + "name": "CANCELLED", + "value": "CANCELLED" + }, + { + "name": "NOT_RUN", + "value": "NOT_RUN" + }, + { + "name": "VALIDATING", + "value": "VALIDATING" + }, + { + "name": "PROVISIONING", + "value": "PROVISIONING" + }, + { + "name": "IN_PROGRESS", + "value": "IN_PROGRESS" + }, + { + "name": "STOPPING", + "value": "STOPPING" + }, + { + "name": "ABANDONED", + "value": "ABANDONED" + } + ] + } + }, + "com.amazonaws.codecatalyst#WorkflowRunStatusReason": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "

Information about the status of a workflow run.

" + } + }, + "com.amazonaws.codecatalyst#WorkflowRunStatusReasons": { + "type": "list", + "member": { + "target": "com.amazonaws.codecatalyst#WorkflowRunStatusReason" + } + }, + "com.amazonaws.codecatalyst#WorkflowRunSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.codecatalyst#WorkflowRunSummary" + } + }, + "com.amazonaws.codecatalyst#WorkflowRunSummary": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The system-generated unique ID of the workflow run.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "workflowRunId" + } + }, + "workflowId": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The system-generated unique ID of the workflow.

", + "smithy.api#required": {} + } + }, + "workflowName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the workflow.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.codecatalyst#WorkflowRunStatus", + "traits": { + "smithy.api#documentation": "

The status of the workflow run.

", + "smithy.api#required": {} + } + }, + "statusReasons": { + "target": "com.amazonaws.codecatalyst#WorkflowRunStatusReasons", + "traits": { + "smithy.api#documentation": "

The reasons for the workflow run status.

" + } + }, + "startTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.

", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + }, + "endTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339\n

", + "smithy.api#timestampFormat": "date-time" + } + }, + "lastUpdatedTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339\n

", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a workflow run.

" + } + }, + "com.amazonaws.codecatalyst#WorkflowSortCriteria": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "

Information used to sort workflows in the returned list.

" + } + }, + "com.amazonaws.codecatalyst#WorkflowSortCriteriaList": { + "type": "list", + "member": { + "target": "com.amazonaws.codecatalyst#WorkflowSortCriteria" + }, + "traits": { + "smithy.api#length": { + "max": 1 + } + } + }, + "com.amazonaws.codecatalyst#WorkflowStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "INVALID", + "value": "INVALID" + }, + { + "name": "ACTIVE", + "value": "ACTIVE" + } + ] + } + }, + "com.amazonaws.codecatalyst#WorkflowSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.codecatalyst#WorkflowSummary" + } + }, + "com.amazonaws.codecatalyst#WorkflowSummary": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.codecatalyst#Uuid", + "traits": { + "smithy.api#documentation": "

The system-generated unique ID of a workflow.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "workflowId" + } + }, + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The name of the workflow.

", + "smithy.api#required": {} + } + }, + "sourceRepositoryName": { + "target": "com.amazonaws.codecatalyst#SourceRepositoryNameString", + "traits": { + "smithy.api#documentation": "

The name of the source repository where the workflow definition file is stored.

", + "smithy.api#required": {} + } + }, + "sourceBranchName": { + "target": "com.amazonaws.codecatalyst#SourceRepositoryBranchString", + "traits": { + "smithy.api#documentation": "

The name of the branch of the source repository where the workflow definition file is stored.

", + "smithy.api#required": {} + } + }, + "definition": { + "target": "com.amazonaws.codecatalyst#WorkflowDefinitionSummary", + "traits": { + "smithy.api#documentation": "

Information about the workflow definition file.

", + "smithy.api#required": {} + } + }, + "createdTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339\n

", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + }, + "lastUpdatedTime": { + "target": "com.amazonaws.codecatalyst#Timestamp", + "traits": { + "smithy.api#documentation": "

The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339\n

", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + }, + "runMode": { + "target": "com.amazonaws.codecatalyst#WorkflowRunMode", + "traits": { + "smithy.api#documentation": "

The run mode of the workflow.

", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.codecatalyst#WorkflowStatus", + "traits": { + "smithy.api#documentation": "

The status of the workflow.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a workflow.

" + } } } } \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 2af0b76c8fa..01559a69336 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -2956,6 +2956,9 @@ { "target": "com.amazonaws.ec2#DescribeLocalGatewayVirtualInterfaces" }, + { + "target": "com.amazonaws.ec2#DescribeLockedSnapshots" + }, { "target": "com.amazonaws.ec2#DescribeManagedPrefixLists" }, @@ -3514,6 +3517,9 @@ { "target": "com.amazonaws.ec2#ListSnapshotsInRecycleBin" }, + { + "target": "com.amazonaws.ec2#LockSnapshot" + }, { "target": "com.amazonaws.ec2#ModifyAddressAttribute" }, @@ -3898,6 +3904,9 @@ { "target": "com.amazonaws.ec2#UnassignPrivateNatGatewayAddress" }, + { + "target": "com.amazonaws.ec2#UnlockSnapshot" + }, { "target": "com.amazonaws.ec2#UnmonitorInstances" }, @@ -12790,6 +12799,18 @@ } } }, + "com.amazonaws.ec2#CoolOffPeriodRequestHours": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 72 + } + } + }, + "com.amazonaws.ec2#CoolOffPeriodResponseHours": { + "type": "integer" + }, "com.amazonaws.ec2#CopyFpgaImage": { "type": "operation", "input": { @@ -32943,6 +32964,91 @@ "smithy.api#output": {} } }, + "com.amazonaws.ec2#DescribeLockedSnapshots": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#DescribeLockedSnapshotsRequest" + }, + "output": { + "target": "com.amazonaws.ec2#DescribeLockedSnapshotsResult" + }, + "traits": { + "smithy.api#documentation": "

Describes the lock status for a snapshot.

" + } + }, + "com.amazonaws.ec2#DescribeLockedSnapshotsMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 5, + "max": 1000 + } + } + }, + "com.amazonaws.ec2#DescribeLockedSnapshotsRequest": { + "type": "structure", + "members": { + "Filters": { + "target": "com.amazonaws.ec2#FilterList", + "traits": { + "smithy.api#documentation": "

The filters.

\n ", + "smithy.api#xmlName": "Filter" + } + }, + "MaxResults": { + "target": "com.amazonaws.ec2#DescribeLockedSnapshotsMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of items to return for this request.\n\tTo get the next page of items, make another request with the token returned in the output. \n\tFor more information, see Pagination.

" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "

The token returned from a previous paginated request.\n Pagination continues from the end of the items returned by the previous request.

" + } + }, + "SnapshotIds": { + "target": "com.amazonaws.ec2#SnapshotIdStringList", + "traits": { + "smithy.api#documentation": "

The IDs of the snapshots for which to view the lock status.

", + "smithy.api#xmlName": "SnapshotId" + } + }, + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#DescribeLockedSnapshotsResult": { + "type": "structure", + "members": { + "Snapshots": { + "target": "com.amazonaws.ec2#LockedSnapshotsInfoList", + "traits": { + "aws.protocols#ec2QueryName": "SnapshotSet", + "smithy.api#documentation": "

Information about the snapshots.

", + "smithy.api#xmlName": "snapshotSet" + } + }, + "NextToken": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "NextToken", + "smithy.api#documentation": "

The token to include in another request to get the next page of items. \n This value is null when there are no more items to return.

", + "smithy.api#xmlName": "nextToken" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.ec2#DescribeManagedPrefixLists": { "type": "operation", "input": { @@ -63892,6 +63998,12 @@ "traits": { "smithy.api#enumValue": "r7i.48xlarge" } + }, + "dl2q_24xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "dl2q.24xlarge" + } } } }, @@ -70515,6 +70627,273 @@ } } }, + "com.amazonaws.ec2#LockMode": { + "type": "enum", + "members": { + "compliance": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "compliance" + } + }, + "governance": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "governance" + } + } + } + }, + "com.amazonaws.ec2#LockSnapshot": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#LockSnapshotRequest" + }, + "output": { + "target": "com.amazonaws.ec2#LockSnapshotResult" + }, + "traits": { + "smithy.api#documentation": "

Locks an Amazon EBS snapshot in either governance or compliance \n mode to protect it against accidental or malicious deletions for a specific duration. A locked snapshot \n can't be deleted.

\n

You can also use this action to modify the lock settings for a snapshot that is already locked. The \n allowed modifications depend on the lock mode and lock state:

\n " + } + }, + "com.amazonaws.ec2#LockSnapshotRequest": { + "type": "structure", + "members": { + "SnapshotId": { + "target": "com.amazonaws.ec2#SnapshotId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The ID of the snapshot to lock.

", + "smithy.api#required": {} + } + }, + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" + } + }, + "LockMode": { + "target": "com.amazonaws.ec2#LockMode", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The mode in which to lock the snapshot. Specify one of the following:

\n ", + "smithy.api#required": {} + } + }, + "CoolOffPeriod": { + "target": "com.amazonaws.ec2#CoolOffPeriodRequestHours", + "traits": { + "smithy.api#documentation": "

The cooling-off period during which you can unlock the snapshot or modify the lock settings after \n locking the snapshot in compliance mode, in hours. After the cooling-off period expires, you can't \n unlock or delete the snapshot, decrease the lock duration, or change the lock mode. You can increase \n the lock duration after the cooling-off period expires.

\n

The cooling-off period is optional when locking a snapshot in compliance mode. If you are locking \n the snapshot in governance mode, omit this parameter.

\n

To lock the snapshot in compliance mode immediately without a cooling-off period, omit this \n parameter.

\n

If you are extending the lock duration for a snapshot that is locked in compliance mode after \n the cooling-off period has expired, omit this parameter. If you specify a cooling-period in a such \n a request, the request fails.

\n

Allowed values: Min 1, max 72.

" + } + }, + "LockDuration": { + "target": "com.amazonaws.ec2#RetentionPeriodRequestDays", + "traits": { + "smithy.api#documentation": "

The period of time for which to lock the snapshot, in days. The snapshot lock will automatically \n expire after this period lapses.

\n

You must specify either this parameter or ExpirationDate, but \n not both.

\n

Allowed values: Min: 1, max 36500

" + } + }, + "ExpirationDate": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "smithy.api#documentation": "

The date and time at which the snapshot lock is to automatically expire, in the UTC time zone \n (YYYY-MM-DDThh:mm:ss.sssZ).

\n

You must specify either this parameter or LockDuration, but \n not both.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#LockSnapshotResult": { + "type": "structure", + "members": { + "SnapshotId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "SnapshotId", + "smithy.api#documentation": "

The ID of the snapshot

", + "smithy.api#xmlName": "snapshotId" + } + }, + "LockState": { + "target": "com.amazonaws.ec2#LockState", + "traits": { + "aws.protocols#ec2QueryName": "LockState", + "smithy.api#documentation": "

The state of the snapshot lock. Valid states include:

\n ", + "smithy.api#xmlName": "lockState" + } + }, + "LockDuration": { + "target": "com.amazonaws.ec2#RetentionPeriodResponseDays", + "traits": { + "aws.protocols#ec2QueryName": "LockDuration", + "smithy.api#documentation": "

The period of time for which the snapshot is locked, in days.

", + "smithy.api#xmlName": "lockDuration" + } + }, + "CoolOffPeriod": { + "target": "com.amazonaws.ec2#CoolOffPeriodResponseHours", + "traits": { + "aws.protocols#ec2QueryName": "CoolOffPeriod", + "smithy.api#documentation": "

The compliance mode cooling-off period, in hours.

", + "smithy.api#xmlName": "coolOffPeriod" + } + }, + "CoolOffPeriodExpiresOn": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "CoolOffPeriodExpiresOn", + "smithy.api#documentation": "

The date and time at which the compliance mode cooling-off period expires, in the UTC time zone \n (YYYY-MM-DDThh:mm:ss.sssZ).

", + "smithy.api#xmlName": "coolOffPeriodExpiresOn" + } + }, + "LockCreatedOn": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "LockCreatedOn", + "smithy.api#documentation": "

The date and time at which the snapshot was locked, in the UTC time zone \n (YYYY-MM-DDThh:mm:ss.sssZ).

", + "smithy.api#xmlName": "lockCreatedOn" + } + }, + "LockExpiresOn": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "LockExpiresOn", + "smithy.api#documentation": "

The date and time at which the lock will expire, in the UTC time zone \n (YYYY-MM-DDThh:mm:ss.sssZ).

", + "smithy.api#xmlName": "lockExpiresOn" + } + }, + "LockDurationStartTime": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "LockDurationStartTime", + "smithy.api#documentation": "

The date and time at which the lock duration started, in the UTC time zone \n (YYYY-MM-DDThh:mm:ss.sssZ).

", + "smithy.api#xmlName": "lockDurationStartTime" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.ec2#LockState": { + "type": "enum", + "members": { + "compliance": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "compliance" + } + }, + "governance": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "governance" + } + }, + "compliance_cooloff": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "compliance-cooloff" + } + }, + "expired": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "expired" + } + } + } + }, + "com.amazonaws.ec2#LockedSnapshotsInfo": { + "type": "structure", + "members": { + "OwnerId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "OwnerId", + "smithy.api#documentation": "

The account ID of the Amazon Web Services account that owns the snapshot.

", + "smithy.api#xmlName": "ownerId" + } + }, + "SnapshotId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "SnapshotId", + "smithy.api#documentation": "

The ID of the snapshot.

", + "smithy.api#xmlName": "snapshotId" + } + }, + "LockState": { + "target": "com.amazonaws.ec2#LockState", + "traits": { + "aws.protocols#ec2QueryName": "LockState", + "smithy.api#documentation": "

The state of the snapshot lock. Valid states include:

\n ", + "smithy.api#xmlName": "lockState" + } + }, + "LockDuration": { + "target": "com.amazonaws.ec2#RetentionPeriodResponseDays", + "traits": { + "aws.protocols#ec2QueryName": "LockDuration", + "smithy.api#documentation": "

The period of time for which the snapshot is locked, in days.

", + "smithy.api#xmlName": "lockDuration" + } + }, + "CoolOffPeriod": { + "target": "com.amazonaws.ec2#CoolOffPeriodResponseHours", + "traits": { + "aws.protocols#ec2QueryName": "CoolOffPeriod", + "smithy.api#documentation": "

The compliance mode cooling-off period, in hours.

", + "smithy.api#xmlName": "coolOffPeriod" + } + }, + "CoolOffPeriodExpiresOn": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "CoolOffPeriodExpiresOn", + "smithy.api#documentation": "

The date and time at which the compliance mode cooling-off period expires, in the UTC time zone \n (YYYY-MM-DDThh:mm:ss.sssZ).

", + "smithy.api#xmlName": "coolOffPeriodExpiresOn" + } + }, + "LockCreatedOn": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "LockCreatedOn", + "smithy.api#documentation": "

The date and time at which the snapshot was locked, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).

", + "smithy.api#xmlName": "lockCreatedOn" + } + }, + "LockDurationStartTime": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "LockDurationStartTime", + "smithy.api#documentation": "

The date and time at which the lock duration started, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).

\n

If you lock a snapshot that is in the pending state, the lock duration \n starts only once the snapshot enters the completed state.

", + "smithy.api#xmlName": "lockDurationStartTime" + } + }, + "LockExpiresOn": { + "target": "com.amazonaws.ec2#MillisecondDateTime", + "traits": { + "aws.protocols#ec2QueryName": "LockExpiresOn", + "smithy.api#documentation": "

The date and time at which the lock will expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ).

", + "smithy.api#xmlName": "lockExpiresOn" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about a locked snapshot.

" + } + }, + "com.amazonaws.ec2#LockedSnapshotsInfoList": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#LockedSnapshotsInfo", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, "com.amazonaws.ec2#LogDestinationType": { "type": "enum", "members": { @@ -87473,6 +87852,18 @@ } } }, + "com.amazonaws.ec2#RetentionPeriodRequestDays": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 36500 + } + } + }, + "com.amazonaws.ec2#RetentionPeriodResponseDays": { + "type": "integer" + }, "com.amazonaws.ec2#RevokeClientVpnIngress": { "type": "operation", "input": { @@ -99236,6 +99627,56 @@ } } }, + "com.amazonaws.ec2#UnlockSnapshot": { + "type": "operation", + "input": { + "target": "com.amazonaws.ec2#UnlockSnapshotRequest" + }, + "output": { + "target": "com.amazonaws.ec2#UnlockSnapshotResult" + }, + "traits": { + "smithy.api#documentation": "

Unlocks a snapshot that is locked in governance mode or that is locked in compliance mode \n but still in the cooling-off period. You can't unlock a snapshot that is locked in compliance \n mode after the cooling-off period has expired.

" + } + }, + "com.amazonaws.ec2#UnlockSnapshotRequest": { + "type": "structure", + "members": { + "SnapshotId": { + "target": "com.amazonaws.ec2#SnapshotId", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The ID of the snapshot to unlock.

", + "smithy.api#required": {} + } + }, + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.ec2#UnlockSnapshotResult": { + "type": "structure", + "members": { + "SnapshotId": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "SnapshotId", + "smithy.api#documentation": "

The ID of the snapshot.

", + "smithy.api#xmlName": "snapshotId" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.ec2#UnmonitorInstances": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/finspace-data.json b/codegen/sdk-codegen/aws-models/finspace-data.json index 6c9e2724795..2bc2fd0087f 100644 --- a/codegen/sdk-codegen/aws-models/finspace-data.json +++ b/codegen/sdk-codegen/aws-models/finspace-data.json @@ -956,6 +956,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Adds a user to a permission group to grant permissions for actions a user can perform in FinSpace.

", "smithy.api#http": { "method": "POST", @@ -1417,6 +1420,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Creates a new Changeset in a FinSpace Dataset.

", "smithy.api#http": { "method": "POST", @@ -1520,6 +1526,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Creates a Dataview for a Dataset.

", "smithy.api#http": { "method": "POST", @@ -1638,6 +1647,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Creates a new FinSpace Dataset.

", "smithy.api#http": { "method": "POST", @@ -1751,6 +1763,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Creates a group of permissions for various actions that a user can perform in FinSpace.

", "smithy.api#http": { "method": "POST", @@ -1837,6 +1852,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Creates a new user in FinSpace.

", "smithy.api#http": { "method": "POST", @@ -2384,6 +2402,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Deletes a FinSpace Dataset.

", "smithy.api#http": { "method": "DELETE", @@ -2464,6 +2485,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Deletes a permission group. This action is irreversible.

", "smithy.api#http": { "method": "DELETE", @@ -2539,6 +2563,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Denies access to the FinSpace web application and API for the specified user.

", "smithy.api#http": { "method": "POST", @@ -2613,6 +2640,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Removes a user from a permission group.

", "smithy.api#http": { "method": "DELETE", @@ -2712,6 +2742,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Allows the specified user to access the FinSpace web application and API.

", "smithy.api#http": { "method": "POST", @@ -2898,6 +2931,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Get information about a Changeset.

", "smithy.api#http": { "method": "GET", @@ -3047,6 +3083,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Gets information about a Dataview.

", "smithy.api#http": { "method": "GET", @@ -3194,6 +3233,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Returns information about a Dataset.

", "smithy.api#http": { "method": "GET", @@ -3316,6 +3358,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Returns the credentials to access the external Dataview from an S3 location. To call this API:

\n ", "smithy.api#http": { "method": "POST", @@ -3394,6 +3439,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Retrieves the details of a specific permission group.

", "smithy.api#http": { "method": "GET", @@ -3452,6 +3500,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Request programmatic credentials to use with FinSpace SDK. For more information, see Step 2. Access credentials programmatically using IAM access key id and secret access key.

", "smithy.api#http": { "method": "GET", @@ -3531,6 +3582,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Retrieves details for a specific user.

", "smithy.api#http": { "method": "GET", @@ -3669,6 +3723,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

A temporary Amazon S3 location, where you can copy your files from a source location to stage or use\n as a scratch space in FinSpace notebook.

", "smithy.api#http": { "method": "POST", @@ -3830,6 +3887,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Lists the FinSpace Changesets for a Dataset.

", "smithy.api#http": { "method": "GET", @@ -3922,6 +3982,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Lists all available Dataviews for a Dataset.

", "smithy.api#http": { "method": "GET", @@ -4013,6 +4076,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Lists all of the active Datasets that a user has access to.

", "smithy.api#http": { "method": "GET", @@ -4094,6 +4160,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Lists all available permission groups in FinSpace.

", "smithy.api#http": { "method": "GET", @@ -4134,6 +4203,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Lists all the permission groups that are associated with a specific user.

", "smithy.api#http": { "method": "GET", @@ -4259,6 +4331,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Lists all available users in FinSpace.

", "smithy.api#http": { "method": "GET", @@ -4299,6 +4374,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Lists details of all the users in a specific permission group.

", "smithy.api#http": { "method": "GET", @@ -4640,6 +4718,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Resets the password for a specified user ID and generates a temporary one. Only a superuser can reset password for other users. Resetting the password immediately invalidates the previous password associated with the user.

", "smithy.api#http": { "method": "POST", @@ -4988,6 +5069,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Updates a FinSpace Changeset.

", "smithy.api#http": { "method": "PUT", @@ -5092,6 +5176,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Updates a FinSpace Dataset.

", "smithy.api#http": { "method": "PUT", @@ -5200,6 +5287,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Modifies the details of a permission group. You cannot modify a permissionGroupID.

", "smithy.api#http": { "method": "PUT", @@ -5292,6 +5382,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Modifies the details of the specified user. You cannot update the userId for a user.

", "smithy.api#http": { "method": "PUT", diff --git a/codegen/sdk-codegen/aws-models/finspace.json b/codegen/sdk-codegen/aws-models/finspace.json index 2fa80cb0843..80e0b9e23bf 100644 --- a/codegen/sdk-codegen/aws-models/finspace.json +++ b/codegen/sdk-codegen/aws-models/finspace.json @@ -1151,6 +1151,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Create a new FinSpace environment.

", "smithy.api#http": { "method": "POST", @@ -2158,6 +2161,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Delete an FinSpace environment.

", "smithy.api#http": { "method": "DELETE", @@ -2916,6 +2922,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Returns the FinSpace environment object.

", "smithy.api#http": { "method": "GET", @@ -4649,6 +4658,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

A list of all of your FinSpace environments.

", "smithy.api#http": { "method": "GET", @@ -5924,6 +5936,9 @@ } ], "traits": { + "smithy.api#deprecated": { + "message": "This method will be discontinued." + }, "smithy.api#documentation": "

Update your FinSpace environment.

", "smithy.api#http": { "method": "PUT", diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index 2617244e400..229e37fe855 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -9970,6 +9970,12 @@ "traits": { "smithy.api#enumValue": "python3.12" } + }, + "java21": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "java21" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/mwaa.json b/codegen/sdk-codegen/aws-models/mwaa.json index 887a86a5d5c..e0fddfdfa75 100644 --- a/codegen/sdk-codegen/aws-models/mwaa.json +++ b/codegen/sdk-codegen/aws-models/mwaa.json @@ -897,6 +897,16 @@ } } }, + "com.amazonaws.mwaa#CeleryExecutorQueue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1224 + }, + "smithy.api#pattern": "^arn:aws(-[a-z]+)?:sqs:[a-z0-9\\-]+:\\d{12}:[a-zA-Z_0-9+=,.@\\-_/]+$" + } + }, "com.amazonaws.mwaa#CloudWatchLogGroupArn": { "type": "string", "traits": { @@ -1114,7 +1124,7 @@ "AirflowVersion": { "target": "com.amazonaws.mwaa#AirflowVersion", "traits": { - "smithy.api#documentation": "

The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version.\n For more information, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).

\n

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2.

" + "smithy.api#documentation": "

The Apache Airflow version for your environment. If no value is specified, it defaults to the latest version.\n For more information, see Apache Airflow versions on Amazon Managed Workflows for Apache Airflow (MWAA).

\n

Valid values: 1.10.12, 2.0.2, 2.2.2, 2.4.3, 2.5.1, 2.6.3, 2.7.2\n

" } }, "LoggingConfiguration": { @@ -1138,7 +1148,7 @@ "WebserverAccessMode": { "target": "com.amazonaws.mwaa#WebserverAccessMode", "traits": { - "smithy.api#documentation": "

The Apache Airflow Web server access mode. For more information, see Apache Airflow access modes.

" + "smithy.api#documentation": "

Defines the access mode for the Apache Airflow web server. For more information, see Apache Airflow access modes.

" } }, "MinWorkers": { @@ -1152,6 +1162,12 @@ "traits": { "smithy.api#documentation": "

The number of Apache Airflow schedulers to run in your environment. Valid values:

\n " } + }, + "EndpointManagement": { + "target": "com.amazonaws.mwaa#EndpointManagement", + "traits": { + "smithy.api#documentation": "

Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in\n your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints for your VPC. If you choose to create an environment in a shared VPC, you must set this value to CUSTOMER.\n In a shared VPC deployment, the environment will remain in PENDING status until you create the VPC endpoints. If you do not take action to\n create the endpoints within 72 hours, the status will change to CREATE_FAILED. You can delete the failed environment and create a new one.

" + } } }, "traits": { @@ -1322,6 +1338,21 @@ } } }, + "com.amazonaws.mwaa#EndpointManagement": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CUSTOMER", + "name": "CUSTOMER" + }, + { + "value": "SERVICE", + "name": "SERVICE" + } + ] + } + }, "com.amazonaws.mwaa#Environment": { "type": "structure", "members": { @@ -1334,7 +1365,7 @@ "Status": { "target": "com.amazonaws.mwaa#EnvironmentStatus", "traits": { - "smithy.api#documentation": "

The status of the Amazon MWAA environment. Valid values:

\n \n

We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see Amazon MWAA troubleshooting.

" + "smithy.api#documentation": "

The status of the Amazon MWAA environment.

\n

Valid values:

\n \n

We recommend reviewing our troubleshooting guide for a list of common errors and their solutions. For more information, see Amazon MWAA troubleshooting.

" } }, "Arn": { @@ -1478,7 +1509,7 @@ "WebserverAccessMode": { "target": "com.amazonaws.mwaa#WebserverAccessMode", "traits": { - "smithy.api#documentation": "

The Apache Airflow Web server access mode. For more information, see Apache Airflow access modes.

" + "smithy.api#documentation": "

The Apache Airflow web server access mode. For more information, see Apache Airflow access modes.

" } }, "MinWorkers": { @@ -1492,6 +1523,30 @@ "traits": { "smithy.api#documentation": "

The number of Apache Airflow schedulers that run in your Amazon MWAA environment.

" } + }, + "WebserverVpcEndpointService": { + "target": "com.amazonaws.mwaa#VpcEndpointServiceName", + "traits": { + "smithy.api#documentation": "

The VPC endpoint for the environment's web server.

" + } + }, + "DatabaseVpcEndpointService": { + "target": "com.amazonaws.mwaa#VpcEndpointServiceName", + "traits": { + "smithy.api#documentation": "

The VPC endpoint for the environment's Amazon RDS database.

" + } + }, + "CeleryExecutorQueue": { + "target": "com.amazonaws.mwaa#CeleryExecutorQueue", + "traits": { + "smithy.api#documentation": "

The queue ARN for the environment's Celery Executor. Amazon MWAA uses a Celery Executor\n to distribute tasks across multiple workers. When you create an environment in a shared VPC, you must provide access to the Celery Executor queue from your VPC.

" + } + }, + "EndpointManagement": { + "target": "com.amazonaws.mwaa#EndpointManagement", + "traits": { + "smithy.api#documentation": "

Defines whether the VPC endpoints configured for the environment are created, and managed, by the customer or by Amazon MWAA. If set to SERVICE, Amazon MWAA will create and manage the required VPC endpoints in\n your VPC. If set to CUSTOMER, you must create, and manage, the VPC endpoints in your VPC.

" + } } }, "traits": { @@ -1576,6 +1631,10 @@ { "value": "CREATING_SNAPSHOT", "name": "CREATING_SNAPSHOT" + }, + { + "value": "PENDING", + "name": "PENDING" } ] } @@ -2836,6 +2895,16 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.mwaa#VpcEndpointServiceName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1224 + }, + "smithy.api#pattern": "^([a-z.-]+)?com\\.amazonaws\\.vpce\\.[a-z0-9\\-]+\\.[a-zA-Z_0-9+=,.@\\-_/]+$" + } + }, "com.amazonaws.mwaa#WebserverAccessMode": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index f10a7740d36..d255f7701f1 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -21637,7 +21637,7 @@ "EngineVersion": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

The engine version to upgrade the DB snapshot to.

\n

The following are the database engines and engine versions that are available when you upgrade a DB snapshot.

\n

\n MySQL\n

\n \n

\n Oracle\n

\n \n

\n PostgreSQL\n

\n

For the list of engine versions that are available for upgrading a DB snapshot, see \n \n Upgrading the PostgreSQL DB Engine for Amazon RDS.

" + "smithy.api#documentation": "

The engine version to upgrade the DB snapshot to.

\n

The following are the database engines and engine versions that are available when you upgrade a DB snapshot.

\n

\n MySQL\n

\n

For the list of engine versions that are available for upgrading a DB snapshot, see \n \n Upgrading a MySQL DB snapshot engine version in the Amazon RDS User Guide.\n

\n

\n Oracle\n

\n \n

\n PostgreSQL\n

\n

For the list of engine versions that are available for upgrading a DB snapshot, see \n \n Upgrading a PostgreSQL DB snapshot engine version in the Amazon RDS User Guide.\n

" } }, "OptionGroupName": { diff --git a/codegen/sdk-codegen/aws-models/redshift.json b/codegen/sdk-codegen/aws-models/redshift.json index a5ffcf5e5b2..0091bd76b42 100644 --- a/codegen/sdk-codegen/aws-models/redshift.json +++ b/codegen/sdk-codegen/aws-models/redshift.json @@ -4226,7 +4226,7 @@ "min": 1, "max": 253 }, - "smithy.api#pattern": "^((?!-)[A-Za-z0-9-]{1,63}(?The identifier of the cluster to delete a custom domain association for.

", "smithy.api#required": {} } + }, + "CustomDomainName": { + "target": "com.amazonaws.redshift#CustomDomainNameString", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The custom domain name for the custom domain association.

", + "smithy.api#required": {} + } } }, "traits": { @@ -11408,6 +11419,9 @@ { "target": "com.amazonaws.redshift#CustomCnameAssociationFault" }, + { + "target": "com.amazonaws.redshift#CustomDomainAssociationNotFoundFault" + }, { "target": "com.amazonaws.redshift#UnsupportedOperationFault" } @@ -11422,13 +11436,17 @@ "CustomDomainName": { "target": "com.amazonaws.redshift#CustomDomainNameString", "traits": { - "smithy.api#documentation": "

The custom domain name for a changed custom domain association.

" + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The custom domain name for a changed custom domain association.

", + "smithy.api#required": {} } }, "CustomDomainCertificateArn": { "target": "com.amazonaws.redshift#CustomDomainCertificateArnString", "traits": { - "smithy.api#documentation": "

The certificate Amazon Resource Name (ARN) for the changed custom domain association.

" + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The certificate Amazon Resource Name (ARN) for the changed custom domain association.

", + "smithy.api#required": {} } }, "ClusterIdentifier": { diff --git a/codegen/sdk-codegen/aws-models/s3-control.json b/codegen/sdk-codegen/aws-models/s3-control.json index 44b0018d490..6d616e76cbe 100644 --- a/codegen/sdk-codegen/aws-models/s3-control.json +++ b/codegen/sdk-codegen/aws-models/s3-control.json @@ -48,6 +48,9 @@ { "target": "com.amazonaws.s3control#CreateMultiRegionAccessPoint" }, + { + "target": "com.amazonaws.s3control#CreateStorageLensGroup" + }, { "target": "com.amazonaws.s3control#DeleteAccessPoint" }, @@ -90,6 +93,9 @@ { "target": "com.amazonaws.s3control#DeleteStorageLensConfigurationTagging" }, + { + "target": "com.amazonaws.s3control#DeleteStorageLensGroup" + }, { "target": "com.amazonaws.s3control#DescribeJob" }, @@ -159,6 +165,9 @@ { "target": "com.amazonaws.s3control#GetStorageLensConfigurationTagging" }, + { + "target": "com.amazonaws.s3control#GetStorageLensGroup" + }, { "target": "com.amazonaws.s3control#ListAccessPoints" }, @@ -177,6 +186,12 @@ { "target": "com.amazonaws.s3control#ListStorageLensConfigurations" }, + { + "target": "com.amazonaws.s3control#ListStorageLensGroups" + }, + { + "target": "com.amazonaws.s3control#ListTagsForResource" + }, { "target": "com.amazonaws.s3control#PutAccessPointConfigurationForObjectLambda" }, @@ -219,11 +234,20 @@ { "target": "com.amazonaws.s3control#SubmitMultiRegionAccessPointRoutes" }, + { + "target": "com.amazonaws.s3control#TagResource" + }, + { + "target": "com.amazonaws.s3control#UntagResource" + }, { "target": "com.amazonaws.s3control#UpdateJobPriority" }, { "target": "com.amazonaws.s3control#UpdateJobStatus" + }, + { + "target": "com.amazonaws.s3control#UpdateStorageLensGroup" } ], "traits": { @@ -6082,37 +6106,43 @@ "ActivityMetrics": { "target": "com.amazonaws.s3control#ActivityMetrics", "traits": { - "smithy.api#documentation": "

A container for S3 Storage Lens activity metrics.

" + "smithy.api#documentation": "

A container element for S3 Storage Lens activity metrics.

" } }, "BucketLevel": { "target": "com.amazonaws.s3control#BucketLevel", "traits": { - "smithy.api#documentation": "

A container for the S3 Storage Lens bucket-level configuration.

", + "smithy.api#documentation": "

A container element for the S3 Storage Lens bucket-level configuration.

", "smithy.api#required": {} } }, "AdvancedCostOptimizationMetrics": { "target": "com.amazonaws.s3control#AdvancedCostOptimizationMetrics", "traits": { - "smithy.api#documentation": "

A container for S3 Storage Lens advanced cost-optimization metrics.

" + "smithy.api#documentation": "

A container element for S3 Storage Lens advanced cost-optimization metrics.

" } }, "AdvancedDataProtectionMetrics": { "target": "com.amazonaws.s3control#AdvancedDataProtectionMetrics", "traits": { - "smithy.api#documentation": "

A container for S3 Storage Lens advanced data-protection metrics.

" + "smithy.api#documentation": "

A container element for S3 Storage Lens advanced data-protection metrics.

" } }, "DetailedStatusCodesMetrics": { "target": "com.amazonaws.s3control#DetailedStatusCodesMetrics", "traits": { - "smithy.api#documentation": "

A container for detailed status code metrics.

" + "smithy.api#documentation": "

A container element for detailed status code metrics.

" + } + }, + "StorageLensGroupLevel": { + "target": "com.amazonaws.s3control#StorageLensGroupLevel", + "traits": { + "smithy.api#documentation": "

\nA container element for S3 Storage Lens groups metrics.\n

" } } }, "traits": { - "smithy.api#documentation": "

A container for the account-level Amazon S3 Storage Lens configuration.

\n

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

A container element for the account-level Amazon S3 Storage Lens configuration.

\n

For more information about S3 Storage Lens, see Assessing your storage activity and usage with S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

" } }, "com.amazonaws.s3control#ActivityMetrics": { @@ -7186,6 +7216,64 @@ "smithy.api#output": {} } }, + "com.amazonaws.s3control#CreateStorageLensGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3control#CreateStorageLensGroupRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "traits": { + "smithy.api#documentation": "

Creates a new S3 Storage Lens group and associates it with the specified Amazon Web Services account ID. An\n S3 Storage Lens group is a custom grouping of objects based on prefix, suffix, object tags,\n object size, object age, or a combination of these filters. For each Storage Lens group\n that you’ve created, you can also optionally add Amazon Web Services resource tags. For more information\n about S3 Storage Lens groups, see Working with S3 Storage Lens\n groups.

\n

To use this operation, you must have the permission to perform the\n s3:CreateStorageLensGroup action. If you’re trying to create a Storage Lens\n group with Amazon Web Services resource tags, you must also have permission to perform the\n s3:TagResource action. For more information about the required Storage Lens\n Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

\n

For information about Storage Lens groups errors, see List of Amazon S3 Storage\n Lens error codes.

", + "smithy.api#endpoint": { + "hostPrefix": "{AccountId}." + }, + "smithy.api#http": { + "method": "POST", + "uri": "/v20180820/storagelensgroup", + "code": 204 + }, + "smithy.rules#staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + } + }, + "com.amazonaws.s3control#CreateStorageLensGroupRequest": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.s3control#AccountId", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services account ID that the Storage Lens group is created from and associated with.\n

", + "smithy.api#hostLabel": {}, + "smithy.api#httpHeader": "x-amz-account-id", + "smithy.api#required": {}, + "smithy.rules#contextParam": { + "name": "AccountId" + } + } + }, + "StorageLensGroup": { + "target": "com.amazonaws.s3control#StorageLensGroup", + "traits": { + "smithy.api#documentation": "

\nThe Storage Lens group configuration.\n

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.s3control#TagList", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services resource tags that you're adding to your Storage Lens group. This parameter is optional.\n

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.s3control#CreationDate": { "type": "timestamp" }, @@ -7459,7 +7547,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "\n

This action deletes an Amazon S3 on Outposts bucket's lifecycle configuration. To delete\n an S3 bucket's lifecycle configuration, see DeleteBucketLifecycle in the Amazon S3 API Reference.

\n
\n

Deletes the lifecycle configuration from the specified Outposts bucket.\n Amazon S3 on Outposts removes all the lifecycle configuration rules in the lifecycle subresource\n associated with the bucket. Your objects never expire, and Amazon S3 on Outposts no longer\n automatically deletes any objects on the basis of rules contained in the deleted lifecycle\n configuration. For more information, see Using Amazon S3 on Outposts in\n Amazon S3 User Guide.

\n

To use this action, you must have permission to perform the\n s3-outposts:DeleteLifecycleConfiguration action. By default, the bucket\n owner has this permission and the Outposts bucket owner can grant this permission to\n others.

\n

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

\n

For more information about object expiration, see Elements to Describe Lifecycle Actions.

\n

Related actions include:

\n ", + "smithy.api#documentation": "\n

This action deletes an Amazon S3 on Outposts bucket's lifecycle configuration. To delete\n an S3 bucket's lifecycle configuration, see DeleteBucketLifecycle in the Amazon S3 API Reference.

\n
\n

Deletes the lifecycle configuration from the specified Outposts bucket.\n Amazon S3 on Outposts removes all the lifecycle configuration rules in the lifecycle subresource\n associated with the bucket. Your objects never expire, and Amazon S3 on Outposts no longer\n automatically deletes any objects on the basis of rules contained in the deleted lifecycle\n configuration. For more information, see Using Amazon S3 on Outposts in\n Amazon S3 User Guide.

\n

To use this operation, you must have permission to perform the\n s3-outposts:PutLifecycleConfiguration action. By default, the bucket owner\n has this permission and the Outposts bucket owner can grant this permission to\n others.

\n

All Amazon S3 on Outposts REST API requests for this action require an additional parameter of x-amz-outpost-id to be passed with the request. In addition, you must use an S3 on Outposts endpoint hostname prefix instead of s3-control. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the x-amz-outpost-id derived by using the access point ARN, see the Examples section.

\n

For more information about object expiration, see Elements to Describe Lifecycle Actions.

\n

Related actions include:

\n ", "smithy.api#endpoint": { "hostPrefix": "{AccountId}." }, @@ -8056,6 +8144,59 @@ "smithy.api#output": {} } }, + "com.amazonaws.s3control#DeleteStorageLensGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3control#DeleteStorageLensGroupRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "traits": { + "smithy.api#documentation": "

\nDeletes an existing S3 Storage Lens group.

\n

To use this operation, you must have the permission to perform the\n s3:DeleteStorageLensGroup action. For more information about the required Storage Lens\n Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

\n

For information about Storage Lens groups errors, see List of Amazon S3 Storage\n Lens error codes.

", + "smithy.api#endpoint": { + "hostPrefix": "{AccountId}." + }, + "smithy.api#http": { + "method": "DELETE", + "uri": "/v20180820/storagelensgroup/{Name}", + "code": 204 + }, + "smithy.rules#staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + } + }, + "com.amazonaws.s3control#DeleteStorageLensGroupRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.s3control#StorageLensGroupName", + "traits": { + "smithy.api#documentation": "

\nThe name of the Storage Lens group that you're trying to delete.\n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AccountId": { + "target": "com.amazonaws.s3control#AccountId", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services account ID used to create the Storage Lens group that you're trying to delete.\n

", + "smithy.api#hostLabel": {}, + "smithy.api#httpHeader": "x-amz-account-id", + "smithy.api#required": {}, + "smithy.rules#contextParam": { + "name": "AccountId" + } + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.s3control#DescribeJob": { "type": "operation", "input": { @@ -9990,6 +10131,74 @@ "smithy.api#output": {} } }, + "com.amazonaws.s3control#GetStorageLensGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3control#GetStorageLensGroupRequest" + }, + "output": { + "target": "com.amazonaws.s3control#GetStorageLensGroupResult" + }, + "traits": { + "smithy.api#documentation": "

\nRetrieves the Storage Lens group configuration details.

\n

To use this operation, you must have the permission to perform the\n s3:GetStorageLensGroup action. For more information about the required Storage Lens\n Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

\n

For information about Storage Lens groups errors, see List of Amazon S3 Storage\n Lens error codes.

", + "smithy.api#endpoint": { + "hostPrefix": "{AccountId}." + }, + "smithy.api#http": { + "method": "GET", + "uri": "/v20180820/storagelensgroup/{Name}", + "code": 200 + }, + "smithy.rules#staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + } + }, + "com.amazonaws.s3control#GetStorageLensGroupRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.s3control#StorageLensGroupName", + "traits": { + "smithy.api#documentation": "

\nThe name of the Storage Lens group that you're trying to retrieve the configuration details for.\n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AccountId": { + "target": "com.amazonaws.s3control#AccountId", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services account ID associated with the Storage Lens group that you're trying to retrieve the details for.\n

", + "smithy.api#hostLabel": {}, + "smithy.api#httpHeader": "x-amz-account-id", + "smithy.api#required": {}, + "smithy.rules#contextParam": { + "name": "AccountId" + } + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.s3control#GetStorageLensGroupResult": { + "type": "structure", + "members": { + "StorageLensGroup": { + "target": "com.amazonaws.s3control#StorageLensGroup", + "traits": { + "smithy.api#documentation": "

\nThe name of the Storage Lens group that you're trying to retrieve the configuration details for.\n

", + "smithy.api#httpPayload": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.s3control#GrantFullControl": { "type": "string" }, @@ -11635,86 +11844,330 @@ "smithy.api#output": {} } }, - "com.amazonaws.s3control#Location": { - "type": "string" - }, - "com.amazonaws.s3control#MFA": { - "type": "string" - }, - "com.amazonaws.s3control#MFADelete": { - "type": "enum", + "com.amazonaws.s3control#ListStorageLensGroupEntry": { + "type": "structure", "members": { - "Enabled": { - "target": "smithy.api#Unit", + "Name": { + "target": "com.amazonaws.s3control#StorageLensGroupName", "traits": { - "smithy.api#enumValue": "Enabled" + "smithy.api#documentation": "

\nContains the name of the Storage Lens group that exists in the specified home Region.\n

", + "smithy.api#required": {} } }, - "Disabled": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "Disabled" - } - } - } - }, - "com.amazonaws.s3control#MFADeleteStatus": { - "type": "enum", - "members": { - "Enabled": { - "target": "smithy.api#Unit", + "StorageLensGroupArn": { + "target": "com.amazonaws.s3control#StorageLensGroupArn", "traits": { - "smithy.api#enumValue": "Enabled" + "smithy.api#documentation": "

\nContains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.\n

", + "smithy.api#required": {} } }, - "Disabled": { - "target": "smithy.api#Unit", + "HomeRegion": { + "target": "com.amazonaws.s3control#S3AWSRegion", "traits": { - "smithy.api#enumValue": "Disabled" + "smithy.api#documentation": "

\nContains the Amazon Web Services Region where the Storage Lens group was created.\n

", + "smithy.api#required": {} } } - } - }, - "com.amazonaws.s3control#ManifestPrefixString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 512 - } - } - }, - "com.amazonaws.s3control#MaxLength1024String": { - "type": "string", + }, "traits": { - "smithy.api#length": { - "min": 0, - "max": 1024 - } + "smithy.api#documentation": "

\nEach entry contains a Storage Lens group that exists in the specified home Region.\n

" } }, - "com.amazonaws.s3control#MaxResults": { - "type": "integer", + "com.amazonaws.s3control#ListStorageLensGroups": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3control#ListStorageLensGroupsRequest" + }, + "output": { + "target": "com.amazonaws.s3control#ListStorageLensGroupsResult" + }, "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0, - "max": 1000 + "smithy.api#documentation": "

\nLists all the Storage Lens groups in the specified home Region.\n

\n

To use this operation, you must have the permission to perform the\n s3:ListStorageLensGroups action. For more information about the required Storage Lens\n Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

\n

For information about Storage Lens groups errors, see List of Amazon S3 Storage\n Lens error codes.

", + "smithy.api#endpoint": { + "hostPrefix": "{AccountId}." + }, + "smithy.api#http": { + "method": "GET", + "uri": "/v20180820/storagelensgroup", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken" + }, + "smithy.rules#staticContextParams": { + "RequiresAccountId": { + "value": true + } } } }, - "com.amazonaws.s3control#Metrics": { + "com.amazonaws.s3control#ListStorageLensGroupsRequest": { "type": "structure", "members": { - "Status": { - "target": "com.amazonaws.s3control#MetricsStatus", + "AccountId": { + "target": "com.amazonaws.s3control#AccountId", "traits": { - "smithy.api#documentation": "

Specifies whether replication metrics are enabled.

", - "smithy.api#required": {} - } - }, - "EventThreshold": { - "target": "com.amazonaws.s3control#ReplicationTimeValue", + "smithy.api#documentation": "

\n The Amazon Web Services account ID that owns the Storage Lens groups.\n

", + "smithy.api#hostLabel": {}, + "smithy.api#httpHeader": "x-amz-account-id", + "smithy.api#required": {}, + "smithy.rules#contextParam": { + "name": "AccountId" + } + } + }, + "NextToken": { + "target": "com.amazonaws.s3control#ContinuationToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results, or null if there are no more results.\n

", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.s3control#ListStorageLensGroupsResult": { + "type": "structure", + "members": { + "NextToken": { + "target": "com.amazonaws.s3control#ContinuationToken", + "traits": { + "smithy.api#documentation": "

\n If NextToken is returned, there are more Storage Lens groups results available. The value of NextToken is a\n unique pagination token for each page. Make the call again using the returned token to\n retrieve the next page. Keep all other arguments unchanged. Each pagination token expires\n after 24 hours.\n

" + } + }, + "StorageLensGroupList": { + "target": "com.amazonaws.s3control#StorageLensGroupList", + "traits": { + "smithy.api#documentation": "

\nThe list of Storage Lens groups that exist in the specified home Region.\n

", + "smithy.api#xmlFlattened": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.s3control#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3control#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.s3control#ListTagsForResourceResult" + }, + "traits": { + "smithy.api#documentation": "

This operation allows you to list all the Amazon Web Services resource tags for the specified\n resource.

\n

To use this operation, you must have the permission to perform the\n s3:ListTagsForResource action. For more information about the required Storage Lens\n Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

\n

For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes.

\n \n

This operation is only supported for S3 Storage Lens\n groups.

\n
", + "smithy.api#endpoint": { + "hostPrefix": "{AccountId}." + }, + "smithy.api#http": { + "method": "GET", + "uri": "/v20180820/tags/{ResourceArn+}", + "code": 200 + }, + "smithy.rules#staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + } + }, + "com.amazonaws.s3control#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.s3control#AccountId", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services account ID of the resource owner.\n

", + "smithy.api#hostLabel": {}, + "smithy.api#httpHeader": "x-amz-account-id", + "smithy.api#required": {}, + "smithy.rules#contextParam": { + "name": "AccountId" + } + } + }, + "ResourceArn": { + "target": "com.amazonaws.s3control#S3ResourceArn", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Resource Name (ARN) of the S3 resource that you want to list the tags for.\n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.s3control#ListTagsForResourceResult": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.s3control#TagList", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services resource tags that are associated with the resource.\n

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.s3control#Location": { + "type": "string" + }, + "com.amazonaws.s3control#MFA": { + "type": "string" + }, + "com.amazonaws.s3control#MFADelete": { + "type": "enum", + "members": { + "Enabled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Enabled" + } + }, + "Disabled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disabled" + } + } + } + }, + "com.amazonaws.s3control#MFADeleteStatus": { + "type": "enum", + "members": { + "Enabled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Enabled" + } + }, + "Disabled": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disabled" + } + } + } + }, + "com.amazonaws.s3control#ManifestPrefixString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 512 + } + } + }, + "com.amazonaws.s3control#MatchAnyPrefix": { + "type": "list", + "member": { + "target": "com.amazonaws.s3control#Prefix", + "traits": { + "smithy.api#xmlName": "Prefix" + } + } + }, + "com.amazonaws.s3control#MatchAnySuffix": { + "type": "list", + "member": { + "target": "com.amazonaws.s3control#Suffix", + "traits": { + "smithy.api#xmlName": "Suffix" + } + } + }, + "com.amazonaws.s3control#MatchAnyTag": { + "type": "list", + "member": { + "target": "com.amazonaws.s3control#S3Tag", + "traits": { + "smithy.api#xmlName": "Tag" + } + } + }, + "com.amazonaws.s3control#MatchObjectAge": { + "type": "structure", + "members": { + "DaysGreaterThan": { + "target": "com.amazonaws.s3control#ObjectAgeValue", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\nSpecifies the maximum object age in days. Must be a positive whole number, greater than the minimum object age and less than or equal to 2,147,483,647. \n

" + } + }, + "DaysLessThan": { + "target": "com.amazonaws.s3control#ObjectAgeValue", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\nSpecifies the minimum object age in days. The value must be a positive whole number, greater than 0 and less than or equal to 2,147,483,647.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n A filter condition that specifies the object age range of included objects in days. Only integers are supported.\n

" + } + }, + "com.amazonaws.s3control#MatchObjectSize": { + "type": "structure", + "members": { + "BytesGreaterThan": { + "target": "com.amazonaws.s3control#ObjectSizeValue", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\nSpecifies the minimum object size in Bytes. The value must be a positive number, greater than 0 and less than 5 TB.\n

" + } + }, + "BytesLessThan": { + "target": "com.amazonaws.s3control#ObjectSizeValue", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\nSpecifies the maximum object size in Bytes. The value must be a positive number, greater than the minimum object size and less than 5 TB.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\nA filter condition that specifies the object size range of included objects in bytes. Only integers are supported.\n

" + } + }, + "com.amazonaws.s3control#MaxLength1024String": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + } + } + }, + "com.amazonaws.s3control#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0, + "max": 1000 + } + } + }, + "com.amazonaws.s3control#Metrics": { + "type": "structure", + "members": { + "Status": { + "target": "com.amazonaws.s3control#MetricsStatus", + "traits": { + "smithy.api#documentation": "

Specifies whether replication metrics are enabled.

", + "smithy.api#required": {} + } + }, + "EventThreshold": { + "target": "com.amazonaws.s3control#ReplicationTimeValue", "traits": { "smithy.api#documentation": "

A container that specifies the time threshold for emitting the\n s3:Replication:OperationMissedThreshold event.

\n \n

This is not supported by Amazon S3 on Outposts buckets.

\n
" } @@ -12116,6 +12569,12 @@ "smithy.api#error": "client" } }, + "com.amazonaws.s3control#ObjectAgeValue": { + "type": "integer", + "traits": { + "smithy.api#default": 0 + } + }, "com.amazonaws.s3control#ObjectCreationTime": { "type": "timestamp" }, @@ -12415,6 +12874,12 @@ "smithy.api#default": 0 } }, + "com.amazonaws.s3control#ObjectSizeValue": { + "type": "long", + "traits": { + "smithy.api#default": 0 + } + }, "com.amazonaws.s3control#OperationName": { "type": "enum", "members": { @@ -14341,7 +14806,7 @@ "ChecksumAlgorithm": { "target": "com.amazonaws.s3control#S3ChecksumAlgorithm", "traits": { - "smithy.api#documentation": "

Indicates the algorithm\n that\n you want Amazon S3 to use to create the checksum. For more\n information,\n see Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

Indicates the algorithm\n that\n you want Amazon S3 to use to create the checksum. For more\n information,\n see Checking object integrity in the Amazon S3 User Guide.

" } } }, @@ -14825,6 +15290,16 @@ "smithy.api#documentation": "

Directs the specified job to invoke ReplicateObject on every object in the\n job's manifest.

" } }, + "com.amazonaws.s3control#S3ResourceArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1011 + }, + "smithy.api#pattern": "^arn:[^:]+:s3:[^:]" + } + }, "com.amazonaws.s3control#S3Retention": { "type": "structure", "members": { @@ -15288,31 +15763,266 @@ "smithy.api#documentation": "

A container for the encryption of the S3 Storage Lens metrics exports.

" } }, - "com.amazonaws.s3control#StorageLensPrefixLevelDelimiter": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - } - } - }, - "com.amazonaws.s3control#StorageLensPrefixLevelMaxDepth": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 10 - } - } - }, - "com.amazonaws.s3control#StorageLensTag": { + "com.amazonaws.s3control#StorageLensGroup": { "type": "structure", "members": { - "Key": { - "target": "com.amazonaws.s3control#TagKeyString", + "Name": { + "target": "com.amazonaws.s3control#StorageLensGroupName", "traits": { - "smithy.api#documentation": "

", + "smithy.api#documentation": "

\nContains the name of the Storage Lens group.\n

", + "smithy.api#required": {} + } + }, + "Filter": { + "target": "com.amazonaws.s3control#StorageLensGroupFilter", + "traits": { + "smithy.api#documentation": "

Sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the AND or OR\n logical operator is used.

", + "smithy.api#required": {} + } + }, + "StorageLensGroupArn": { + "target": "com.amazonaws.s3control#StorageLensGroupArn", + "traits": { + "smithy.api#documentation": "

\nContains the Amazon Resource Name (ARN) of the Storage Lens group. This property is read-only.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A custom grouping of objects that include filters for prefixes, suffixes, object tags,\n object size, or object age. You can create an S3 Storage Lens group that includes a single\n filter or multiple filter conditions. To specify multiple filter conditions, you use\n AND or OR logical operators.

" + } + }, + "com.amazonaws.s3control#StorageLensGroupAndOperator": { + "type": "structure", + "members": { + "MatchAnyPrefix": { + "target": "com.amazonaws.s3control#MatchAnyPrefix", + "traits": { + "smithy.api#documentation": "

\n Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.\n

" + } + }, + "MatchAnySuffix": { + "target": "com.amazonaws.s3control#MatchAnySuffix", + "traits": { + "smithy.api#documentation": "

\n Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.\n

" + } + }, + "MatchAnyTag": { + "target": "com.amazonaws.s3control#MatchAnyTag", + "traits": { + "smithy.api#documentation": "

\n Contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.\n

" + } + }, + "MatchObjectAge": { + "target": "com.amazonaws.s3control#MatchObjectAge", + "traits": { + "smithy.api#documentation": "

\n Contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).\n

" + } + }, + "MatchObjectSize": { + "target": "com.amazonaws.s3control#MatchObjectSize", + "traits": { + "smithy.api#documentation": "

\n Contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\nA logical operator that allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data.\n

" + } + }, + "com.amazonaws.s3control#StorageLensGroupArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 4, + "max": 1024 + }, + "smithy.api#pattern": "^arn:[a-z\\-]+:s3:[a-z0-9\\-]+:\\d{12}:storage\\-lens\\-group\\/" + } + }, + "com.amazonaws.s3control#StorageLensGroupFilter": { + "type": "structure", + "members": { + "MatchAnyPrefix": { + "target": "com.amazonaws.s3control#MatchAnyPrefix", + "traits": { + "smithy.api#documentation": "

\n Contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.\n

" + } + }, + "MatchAnySuffix": { + "target": "com.amazonaws.s3control#MatchAnySuffix", + "traits": { + "smithy.api#documentation": "

\n Contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.\n

" + } + }, + "MatchAnyTag": { + "target": "com.amazonaws.s3control#MatchAnyTag", + "traits": { + "smithy.api#documentation": "

\n Contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.\n

" + } + }, + "MatchObjectAge": { + "target": "com.amazonaws.s3control#MatchObjectAge", + "traits": { + "smithy.api#documentation": "

\n Contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).\n

" + } + }, + "MatchObjectSize": { + "target": "com.amazonaws.s3control#MatchObjectSize", + "traits": { + "smithy.api#documentation": "

\n Contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).\n

" + } + }, + "And": { + "target": "com.amazonaws.s3control#StorageLensGroupAndOperator", + "traits": { + "smithy.api#documentation": "

A logical operator that allows multiple filter conditions to be joined for more complex\n comparisons of Storage Lens group data. Objects must match all of the listed filter\n conditions that are joined by the And logical operator. Only one of each filter condition\n is allowed.

" + } + }, + "Or": { + "target": "com.amazonaws.s3control#StorageLensGroupOrOperator", + "traits": { + "smithy.api#documentation": "

A single logical operator that allows multiple filter conditions to be joined. Objects\n can match any of the listed filter conditions, which are joined by the Or logical operator.\n Only one of each filter condition is allowed.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The filter element sets the criteria for the Storage Lens group data that is displayed. For multiple filter conditions, the AND or OR\n logical operator is used.

" + } + }, + "com.amazonaws.s3control#StorageLensGroupLevel": { + "type": "structure", + "members": { + "SelectionCriteria": { + "target": "com.amazonaws.s3control#StorageLensGroupLevelSelectionCriteria", + "traits": { + "smithy.api#documentation": "

\n Indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group aggregation. If this value is left null, then all Storage Lens groups are selected.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\nSpecifies the Storage Lens groups to include in the Storage Lens group aggregation.\n

" + } + }, + "com.amazonaws.s3control#StorageLensGroupLevelExclude": { + "type": "list", + "member": { + "target": "com.amazonaws.s3control#StorageLensGroupArn", + "traits": { + "smithy.api#xmlName": "Arn" + } + } + }, + "com.amazonaws.s3control#StorageLensGroupLevelInclude": { + "type": "list", + "member": { + "target": "com.amazonaws.s3control#StorageLensGroupArn", + "traits": { + "smithy.api#xmlName": "Arn" + } + } + }, + "com.amazonaws.s3control#StorageLensGroupLevelSelectionCriteria": { + "type": "structure", + "members": { + "Include": { + "target": "com.amazonaws.s3control#StorageLensGroupLevelInclude", + "traits": { + "smithy.api#documentation": "

\nIndicates which Storage Lens group ARNs to include in the Storage Lens group aggregation.\n

" + } + }, + "Exclude": { + "target": "com.amazonaws.s3control#StorageLensGroupLevelExclude", + "traits": { + "smithy.api#documentation": "

Indicates which Storage Lens group ARNs to exclude from the Storage Lens group\n aggregation.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Indicates which Storage Lens group ARNs to include or exclude in the Storage Lens group\n aggregation. You can only attach Storage Lens groups to your Storage Lens dashboard if\n they're included in your Storage Lens group aggregation. If this value is left null, then\n all Storage Lens groups are selected.

" + } + }, + "com.amazonaws.s3control#StorageLensGroupList": { + "type": "list", + "member": { + "target": "com.amazonaws.s3control#ListStorageLensGroupEntry", + "traits": { + "smithy.api#xmlName": "StorageLensGroup" + } + } + }, + "com.amazonaws.s3control#StorageLensGroupName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9\\-\\_]+$" + } + }, + "com.amazonaws.s3control#StorageLensGroupOrOperator": { + "type": "structure", + "members": { + "MatchAnyPrefix": { + "target": "com.amazonaws.s3control#MatchAnyPrefix", + "traits": { + "smithy.api#documentation": "

Filters objects that match any of the specified prefixes.

" + } + }, + "MatchAnySuffix": { + "target": "com.amazonaws.s3control#MatchAnySuffix", + "traits": { + "smithy.api#documentation": "

\nFilters objects that match any of the specified suffixes.\n

" + } + }, + "MatchAnyTag": { + "target": "com.amazonaws.s3control#MatchAnyTag", + "traits": { + "smithy.api#documentation": "

\nFilters objects that match any of the specified S3 object tags.\n

" + } + }, + "MatchObjectAge": { + "target": "com.amazonaws.s3control#MatchObjectAge", + "traits": { + "smithy.api#documentation": "

\nFilters objects that match the specified object age range.\n

" + } + }, + "MatchObjectSize": { + "target": "com.amazonaws.s3control#MatchObjectSize", + "traits": { + "smithy.api#documentation": "

\nFilters objects that match the specified object size range.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A container element for specifying Or rule conditions. The rule conditions\n determine the subset of objects to which the Or rule applies. Objects can\n match any of the listed filter conditions, which are joined by the Or logical operator.\n Only one of each filter condition is allowed.

" + } + }, + "com.amazonaws.s3control#StorageLensPrefixLevelDelimiter": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1 + } + } + }, + "com.amazonaws.s3control#StorageLensPrefixLevelMaxDepth": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 10 + } + } + }, + "com.amazonaws.s3control#StorageLensTag": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.s3control#TagKeyString", + "traits": { + "smithy.api#documentation": "

", "smithy.api#required": {} } }, @@ -15415,6 +16125,9 @@ "smithy.api#output": {} } }, + "com.amazonaws.s3control#Suffix": { + "type": "string" + }, "com.amazonaws.s3control#SuspendedCause": { "type": "string", "traits": { @@ -15427,22 +16140,138 @@ "com.amazonaws.s3control#SuspendedDate": { "type": "timestamp" }, + "com.amazonaws.s3control#Tag": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.s3control#TagKeyString", + "traits": { + "smithy.api#documentation": "

The tag key for your Amazon Web Services resource. A tag key can be up to 128 Unicode characters in\n length and is case-sensitive. System created tags that begin with aws: aren’t supported.\n

", + "smithy.api#required": {} + } + }, + "Value": { + "target": "com.amazonaws.s3control#TagValueString", + "traits": { + "smithy.api#documentation": "

\n The tag value for your Amazon Web Services resource. A tag value can be up to 256 Unicode characters in length and is case-sensitive.\n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

\n An Amazon Web Services resource tag that's associated with your S3 resource. You can add tags to new objects when you upload them, or you can add object tags to existing objects. \n

\n \n

This data type is only supported for S3 Storage Lens groups.

\n
" + } + }, + "com.amazonaws.s3control#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.s3control#TagKeyString" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, "com.amazonaws.s3control#TagKeyString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, - "max": 1024 + "max": 128 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, + "com.amazonaws.s3control#TagList": { + "type": "list", + "member": { + "target": "com.amazonaws.s3control#Tag", + "traits": { + "smithy.api#xmlName": "Tag" + } + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.s3control#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3control#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.s3control#TagResourceResult" + }, + "traits": { + "smithy.api#documentation": "

Creates a new Amazon Web Services resource tag or updates an existing resource tag. You can add up to\n 50 Amazon Web Services resource tags for each S3 resource.

\n

To use this operation, you must have the permission to perform the\n s3:TagResource action. For more information about the required Storage Lens\n Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

\n

For information about S3 Tagging errors, see List of Amazon S3 Tagging error codes.

\n \n

This operation is only supported for S3 Storage Lens groups.

\n
", + "smithy.api#endpoint": { + "hostPrefix": "{AccountId}." + }, + "smithy.api#http": { + "method": "POST", + "uri": "/v20180820/tags/{ResourceArn+}", + "code": 204 + }, + "smithy.rules#staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + } + }, + "com.amazonaws.s3control#TagResourceRequest": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.s3control#AccountId", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services account ID that created the S3 resource that you're trying to add tags to. \n

", + "smithy.api#hostLabel": {}, + "smithy.api#httpHeader": "x-amz-account-id", + "smithy.api#required": {}, + "smithy.rules#contextParam": { + "name": "AccountId" + } + } + }, + "ResourceArn": { + "target": "com.amazonaws.s3control#S3ResourceArn", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Resource Name (ARN) of the S3 resource that you're trying to add tags to.\n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.s3control#TagList", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services resource tags that you want to add to the specified S3 resource.\n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.s3control#TagResourceResult": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.s3control#TagValueString": { "type": "string", "traits": { "smithy.api#length": { "min": 0, - "max": 1024 + "max": 256 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } @@ -15569,6 +16398,74 @@ } } }, + "com.amazonaws.s3control#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3control#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.s3control#UntagResourceResult" + }, + "traits": { + "smithy.api#documentation": "

This operation removes the specified Amazon Web Services resource tags from an S3 resource.

\n

To use this operation, you must have the permission to perform the\n s3:UntagResource action. For more information about the required Storage\n Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

\n

For information about S3 Tagging errors, see List of Amazon S3\n Tagging error codes.

\n \n

This operation is only supported for S3 Storage Lens\n groups.

\n
", + "smithy.api#endpoint": { + "hostPrefix": "{AccountId}." + }, + "smithy.api#http": { + "method": "DELETE", + "uri": "/v20180820/tags/{ResourceArn+}", + "code": 204 + }, + "smithy.rules#staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + } + }, + "com.amazonaws.s3control#UntagResourceRequest": { + "type": "structure", + "members": { + "AccountId": { + "target": "com.amazonaws.s3control#AccountId", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services account ID that owns the resource that you're trying to remove the tags from.\n

", + "smithy.api#hostLabel": {}, + "smithy.api#httpHeader": "x-amz-account-id", + "smithy.api#required": {}, + "smithy.rules#contextParam": { + "name": "AccountId" + } + } + }, + "ResourceArn": { + "target": "com.amazonaws.s3control#S3ResourceArn", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Resource Name (ARN) of the S3 resource that you want to remove the resource tags from.\n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "TagKeys": { + "target": "com.amazonaws.s3control#TagKeyList", + "traits": { + "smithy.api#documentation": "

\nThe tag key pair of the S3 resource tag that you're trying to remove.\n

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.s3control#UntagResourceResult": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.s3control#UpdateJobPriority": { "type": "operation", "input": { @@ -15779,6 +16676,66 @@ "smithy.api#output": {} } }, + "com.amazonaws.s3control#UpdateStorageLensGroup": { + "type": "operation", + "input": { + "target": "com.amazonaws.s3control#UpdateStorageLensGroupRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "traits": { + "smithy.api#documentation": "

\nUpdates the existing Storage Lens group.

\n

To use this operation, you must have the permission to perform the\n s3:UpdateStorageLensGroup action. For more information about the required Storage Lens\n Groups permissions, see Setting account permissions to use S3 Storage Lens groups.

\n

For information about Storage Lens groups errors, see List of Amazon S3 Storage\n Lens error codes.

", + "smithy.api#endpoint": { + "hostPrefix": "{AccountId}." + }, + "smithy.api#http": { + "method": "PUT", + "uri": "/v20180820/storagelensgroup/{Name}", + "code": 204 + }, + "smithy.rules#staticContextParams": { + "RequiresAccountId": { + "value": true + } + } + } + }, + "com.amazonaws.s3control#UpdateStorageLensGroupRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.s3control#StorageLensGroupName", + "traits": { + "smithy.api#documentation": "

\nThe name of the Storage Lens group that you want to update.\n

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AccountId": { + "target": "com.amazonaws.s3control#AccountId", + "traits": { + "smithy.api#documentation": "

\nThe Amazon Web Services account ID of the Storage Lens group owner.\n

", + "smithy.api#hostLabel": {}, + "smithy.api#httpHeader": "x-amz-account-id", + "smithy.api#required": {}, + "smithy.rules#contextParam": { + "name": "AccountId" + } + } + }, + "StorageLensGroup": { + "target": "com.amazonaws.s3control#StorageLensGroup", + "traits": { + "smithy.api#documentation": "

\nThe JSON file that contains the Storage Lens group configuration.\n

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.s3control#VersioningConfiguration": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/ssm-sap.json b/codegen/sdk-codegen/aws-models/ssm-sap.json index 62a0693c38e..3e020f2cb92 100644 --- a/codegen/sdk-codegen/aws-models/ssm-sap.json +++ b/codegen/sdk-codegen/aws-models/ssm-sap.json @@ -1972,7 +1972,7 @@ "com.amazonaws.ssmsap#MaxResults": { "type": "integer", "traits": { - "smithy.api#default": 0, + "smithy.api#default": 50, "smithy.api#range": { "min": 1, "max": 50