From e7520717955409031e3d5fcabcc2db1e3925df97 Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Mon, 25 Mar 2024 14:42:08 -0400 Subject: [PATCH] Release v1.51.7 (2024-03-25) (#5206) Release v1.51.7 (2024-03-25) === ### Service Client Updates * `service/codebuild`: Updates service API and documentation * Supporting GitLab and GitLab Self Managed as source types in AWS CodeBuild. * `service/ec2`: Updates service API and documentation * Added support for ModifyInstanceMetadataDefaults and GetInstanceMetadataDefaults to set Instance Metadata Service account defaults * `service/ecs`: Updates service documentation * Documentation only update for Amazon ECS. * `service/emr-containers`: Updates service API * `service/globalaccelerator`: Updates service API and documentation * `service/medialive`: Updates service API and documentation * Exposing TileMedia H265 options * `service/sagemaker`: Updates service API * Introduced support for the following new instance types on SageMaker Studio for JupyterLab and CodeEditor applications: m6i, m6id, m7i, c6i, c6id, c7i, r6i, r6id, r7i, and p5 --- CHANGELOG.md | 17 + aws/endpoints/defaults.go | 14 + aws/version.go | 2 +- models/apis/codebuild/2016-10-06/api-2.json | 17 +- models/apis/codebuild/2016-10-06/docs-2.json | 19 +- models/apis/ec2/2016-11-15/api-2.json | 98 ++++ models/apis/ec2/2016-11-15/docs-2.json | 73 ++- models/apis/ecs/2014-11-13/docs-2.json | 26 +- .../apis/emr-containers/2020-10-01/api-2.json | 4 +- .../2020-10-01/endpoint-rule-set-1.json | 366 ++++++------ .../globalaccelerator/2018-08-08/api-2.json | 3 +- .../globalaccelerator/2018-08-08/docs-2.json | 62 +- models/apis/medialive/2017-10-14/api-2.json | 62 ++ models/apis/medialive/2017-10-14/docs-2.json | 36 ++ models/apis/sagemaker/2017-07-24/api-2.json | 84 ++- models/endpoints/endpoints.json | 10 + service/codebuild/api.go | 80 ++- service/ec2/api.go | 543 ++++++++++++++++-- service/ec2/ec2iface/interface.go | 8 + service/ecs/api.go | 66 ++- service/globalaccelerator/api.go | 234 ++++---- service/medialive/api.go | 141 +++++ service/sagemaker/api.go | 328 +++++++++++ 23 files changed, 1843 insertions(+), 450 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75e1411bf98..9b1c9ffb565 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,20 @@ +Release v1.51.7 (2024-03-25) +=== + +### Service Client Updates +* `service/codebuild`: Updates service API and documentation + * Supporting GitLab and GitLab Self Managed as source types in AWS CodeBuild. +* `service/ec2`: Updates service API and documentation + * Added support for ModifyInstanceMetadataDefaults and GetInstanceMetadataDefaults to set Instance Metadata Service account defaults +* `service/ecs`: Updates service documentation + * Documentation only update for Amazon ECS. +* `service/emr-containers`: Updates service API +* `service/globalaccelerator`: Updates service API and documentation +* `service/medialive`: Updates service API and documentation + * Exposing TileMedia H265 options +* `service/sagemaker`: Updates service API + * Introduced support for the following new instance types on SageMaker Studio for JupyterLab and CodeEditor applications: m6i, m6id, m7i, c6i, c6id, c7i, r6i, r6id, r7i, and p5 + Release v1.51.6 (2024-03-22) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 1047722cacd..b6d122c154a 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -41155,6 +41155,13 @@ var awsusgovPartition = partition{ }, }, }, + "models-v2-lex": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{}, + }, + }, "models.lex": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{ @@ -42044,6 +42051,13 @@ var awsusgovPartition = partition{ }, }, }, + "runtime-v2-lex": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{}, + }, + }, "runtime.lex": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{ diff --git a/aws/version.go b/aws/version.go index 5bfc33b7fe8..46674253615 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.51.6" +const SDKVersion = "1.51.7" diff --git a/models/apis/codebuild/2016-10-06/api-2.json b/models/apis/codebuild/2016-10-06/api-2.json index d26fab67dbf..fb4be7c010c 100644 --- a/models/apis/codebuild/2016-10-06/api-2.json +++ b/models/apis/codebuild/2016-10-06/api-2.json @@ -681,7 +681,8 @@ "enum":[ "OAUTH", "BASIC_AUTH", - "PERSONAL_ACCESS_TOKEN" + "PERSONAL_ACCESS_TOKEN", + "CODECONNECTIONS" ] }, "BatchDeleteBuildsInput":{ @@ -2446,7 +2447,9 @@ "enum":[ "GITHUB", "BITBUCKET", - "GITHUB_ENTERPRISE" + "GITHUB_ENTERPRISE", + "GITLAB", + "GITLAB_SELF_MANAGED" ] }, "SharedResourceSortByType":{ @@ -2473,14 +2476,18 @@ }, "SourceAuthType":{ "type":"string", - "enum":["OAUTH"] + "enum":[ + "OAUTH", + "CODECONNECTIONS" + ] }, "SourceCredentialsInfo":{ "type":"structure", "members":{ "arn":{"shape":"NonEmptyString"}, "serverType":{"shape":"ServerType"}, - "authType":{"shape":"AuthType"} + "authType":{"shape":"AuthType"}, + "resource":{"shape":"String"} } }, "SourceCredentialsInfos":{ @@ -2493,6 +2500,8 @@ "CODECOMMIT", "CODEPIPELINE", "GITHUB", + "GITLAB", + "GITLAB_SELF_MANAGED", "S3", "BITBUCKET", "GITHUB_ENTERPRISE", diff --git a/models/apis/codebuild/2016-10-06/docs-2.json b/models/apis/codebuild/2016-10-06/docs-2.json index 359f1a14db9..42e5b06404c 100644 --- a/models/apis/codebuild/2016-10-06/docs-2.json +++ b/models/apis/codebuild/2016-10-06/docs-2.json @@ -82,7 +82,7 @@ "base": null, "refs": { "ImportSourceCredentialsInput$authType": "

The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.

", - "SourceCredentialsInfo$authType": "

The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.

" + "SourceCredentialsInfo$authType": "

The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS.

" } }, "BatchDeleteBuildsInput": { @@ -732,7 +732,7 @@ "FleetStatusCode": { "base": null, "refs": { - "FleetStatus$statusCode": "

The status code of the compute fleet. Valid values include:

" + "FleetStatus$statusCode": "

The status code of the compute fleet. Valid values include:

" } }, "Fleets": { @@ -1610,7 +1610,7 @@ "base": null, "refs": { "ImportSourceCredentialsInput$serverType": "

The source provider used for this project.

", - "SourceCredentialsInfo$serverType": "

The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.

" + "SourceCredentialsInfo$serverType": "

The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET.

" } }, "SharedResourceSortByType": { @@ -1648,11 +1648,11 @@ "SourceAuthType": { "base": null, "refs": { - "SourceAuth$type": "

This data type is deprecated and is no longer accurate or used.

The authorization type to use. The only valid value is OAUTH, which represents the OAuth authorization type.

" + "SourceAuth$type": "

The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.

" } }, "SourceCredentialsInfo": { - "base": "

Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.

", + "base": "

Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository.

", "refs": { "SourceCredentialsInfos$member": null } @@ -1666,7 +1666,7 @@ "SourceType": { "base": null, "refs": { - "ProjectSource$type": "

The type of repository that contains the source code to be built. Valid values include:

", + "ProjectSource$type": "

The type of repository that contains the source code to be built. Valid values include:

", "StartBuildBatchInput$sourceTypeOverride": "

The source input type that overrides the source input defined in the batch build project.

", "StartBuildInput$sourceTypeOverride": "

A source input type, for this build, that overrides the source input defined in the build project.

" } @@ -1798,11 +1798,11 @@ "ProjectFileSystemLocation$identifier": "

The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_. For example, if you specify my_efs for identifier, a new environment variable is create named CODEBUILD_MY_EFS.

The identifier is used to mount your file system.

", "ProjectFileSystemLocation$mountOptions": "

The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2. For more information, see Recommended NFS Mount Options.

", "ProjectFleet$fleetArn": "

Specifies the compute fleet ARN for the build project.

", - "ProjectSource$location": "

Information about the location of the source code to be built. Valid values include:

If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location.

", + "ProjectSource$location": "

Information about the location of the source code to be built. Valid values include:

If you specify CODEPIPELINE for the Type property, don't specify this property. For all of the other types, you must specify Location.

", "ProjectSource$buildspec": "

The buildspec file declaration to use for the builds in this build project.

If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.

", "ProjectSource$sourceIdentifier": "

An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.

", "ProjectSourceVersion$sourceIdentifier": "

An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length.

", - "ProjectSourceVersion$sourceVersion": "

The source version for the corresponding source identifier. If specified, must be one of:

For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

", + "ProjectSourceVersion$sourceVersion": "

The source version for the corresponding source identifier. If specified, must be one of:

For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

", "Report$name": "

The name of the report that was run.

", "Report$executionId": "

The ARN of the build run that generated this report.

", "ReportGroupTrendStats$average": "

Contains the average of all values analyzed.

", @@ -1818,6 +1818,7 @@ "S3ReportExportConfig$bucketOwner": "

The Amazon Web Services account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.

", "S3ReportExportConfig$path": "

The path to the exported report's raw data results.

", "SourceAuth$resource": "

The resource value that applies to the specified authorization type.

", + "SourceCredentialsInfo$resource": "

The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.

", "StartBuildBatchInput$sourceVersion": "

The version of the batch build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:

CodeCommit

The commit ID, branch, or Git tag to use.

GitHub

The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

Bitbucket

The commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.

Amazon S3

The version ID of the object that represents the build input ZIP file to use.

If sourceVersion is specified at the project level, then this sourceVersion (at the build level) takes precedence.

For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.

", "StartBuildBatchInput$sourceLocationOverride": "

A location that overrides, for this batch build, the source location defined in the batch build project.

", "StartBuildBatchInput$buildspecOverride": "

A buildspec file declaration that overrides, for this build only, the latest one already defined in the build project.

If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root directory. For more information, see Buildspec File Name and Storage Location.

", @@ -2052,7 +2053,7 @@ "ProjectArtifacts$encryptionDisabled": "

Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon S3. If this is set with another artifacts type, an invalidInputException is thrown.

", "ProjectBuildBatchConfig$combineArtifacts": "

Specifies if the build artifacts for the batch build should be combined into a single artifact location.

", "ProjectEnvironment$privilegedMode": "

Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false.

You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file:

If the operating system's base image is Ubuntu Linux:

- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

- timeout 15 sh -c \"until docker info; do echo .; sleep 1; done\"

If the operating system's base image is Alpine Linux and the previous command does not work, add the -t argument to timeout:

- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&

- timeout -t 15 sh -c \"until docker info; do echo .; sleep 1; done\"

", - "ProjectSource$reportBuildStatus": "

Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.

To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

The status of a build triggered by a webhook is always reported to your source provider.

If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.

", + "ProjectSource$reportBuildStatus": "

Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown.

To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider access in the CodeBuild User Guide.

The status of a build triggered by a webhook is always reported to your source provider.

If your project's builds are triggered by a webhook, you must push a new commit to the repo for a change to this property to take effect.

", "ProjectSource$insecureSsl": "

Enable this flag to ignore SSL warnings while connecting to the project source code.

", "Report$truncated": "

A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.

", "S3LogsConfig$encryptionDisabled": "

Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.

", diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 6782d0810a2..c112443c4a3 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -3937,6 +3937,15 @@ "input":{"shape":"GetImageBlockPublicAccessStateRequest"}, "output":{"shape":"GetImageBlockPublicAccessStateResult"} }, + "GetInstanceMetadataDefaults":{ + "name":"GetInstanceMetadataDefaults", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetInstanceMetadataDefaultsRequest"}, + "output":{"shape":"GetInstanceMetadataDefaultsResult"} + }, "GetInstanceTypesFromInstanceRequirements":{ "name":"GetInstanceTypesFromInstanceRequirements", "http":{ @@ -4482,6 +4491,15 @@ "input":{"shape":"ModifyInstanceMaintenanceOptionsRequest"}, "output":{"shape":"ModifyInstanceMaintenanceOptionsResult"} }, + "ModifyInstanceMetadataDefaults":{ + "name":"ModifyInstanceMetadataDefaults", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyInstanceMetadataDefaultsRequest"}, + "output":{"shape":"ModifyInstanceMetadataDefaultsResult"} + }, "ModifyInstanceMetadataOptions":{ "name":"ModifyInstanceMetadataOptions", "http":{ @@ -8086,6 +8104,7 @@ ] }, "BoxedDouble":{"type":"double"}, + "BoxedInteger":{"type":"integer"}, "BundleId":{"type":"string"}, "BundleIdStringList":{ "type":"list", @@ -13055,6 +13074,22 @@ "locationName":"item" } }, + "DefaultInstanceMetadataEndpointState":{ + "type":"string", + "enum":[ + "disabled", + "enabled", + "no-preference" + ] + }, + "DefaultInstanceMetadataTagsState":{ + "type":"string", + "enum":[ + "disabled", + "enabled", + "no-preference" + ] + }, "DefaultNetworkCardIndex":{"type":"integer"}, "DefaultRouteTableAssociationValue":{ "type":"string", @@ -23599,6 +23634,21 @@ } } }, + "GetInstanceMetadataDefaultsRequest":{ + "type":"structure", + "members":{ + "DryRun":{"shape":"Boolean"} + } + }, + "GetInstanceMetadataDefaultsResult":{ + "type":"structure", + "members":{ + "AccountLevel":{ + "shape":"InstanceMetadataDefaultsResponse", + "locationName":"accountLevel" + } + } + }, "GetInstanceTypesFromInstanceRequirementsRequest":{ "type":"structure", "required":[ @@ -26931,6 +26981,27 @@ "targeted" ] }, + "InstanceMetadataDefaultsResponse":{ + "type":"structure", + "members":{ + "HttpTokens":{ + "shape":"HttpTokensState", + "locationName":"httpTokens" + }, + "HttpPutResponseHopLimit":{ + "shape":"BoxedInteger", + "locationName":"httpPutResponseHopLimit" + }, + "HttpEndpoint":{ + "shape":"InstanceMetadataEndpointState", + "locationName":"httpEndpoint" + }, + "InstanceMetadataTags":{ + "shape":"InstanceMetadataTagsState", + "locationName":"instanceMetadataTags" + } + } + }, "InstanceMetadataEndpointState":{ "type":"string", "enum":[ @@ -32273,6 +32344,14 @@ } }, "MemorySize":{"type":"long"}, + "MetadataDefaultHttpTokensState":{ + "type":"string", + "enum":[ + "optional", + "required", + "no-preference" + ] + }, "MetricPoint":{ "type":"structure", "members":{ @@ -32805,6 +32884,25 @@ } } }, + "ModifyInstanceMetadataDefaultsRequest":{ + "type":"structure", + "members":{ + "HttpTokens":{"shape":"MetadataDefaultHttpTokensState"}, + "HttpPutResponseHopLimit":{"shape":"BoxedInteger"}, + "HttpEndpoint":{"shape":"DefaultInstanceMetadataEndpointState"}, + "InstanceMetadataTags":{"shape":"DefaultInstanceMetadataTagsState"}, + "DryRun":{"shape":"Boolean"} + } + }, + "ModifyInstanceMetadataDefaultsResult":{ + "type":"structure", + "members":{ + "Return":{ + "shape":"Boolean", + "locationName":"return" + } + } + }, "ModifyInstanceMetadataOptionsRequest":{ "type":"structure", "required":["InstanceId"], diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 78b1ab8cb7a..3f188e0db51 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -442,6 +442,7 @@ "GetGroupsForCapacityReservation": "

Lists the resource groups to which a Capacity Reservation has been added.

", "GetHostReservationPurchasePreview": "

Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation.

This is a preview of the PurchaseHostReservation action and does not result in the offering being purchased.

", "GetImageBlockPublicAccessState": "

Gets the current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.

For more information, see Block public access to your AMIs in the Amazon EC2 User Guide.

", + "GetInstanceMetadataDefaults": "

Gets the default instance metadata service (IMDS) settings that are set at the account level in the specified Amazon Web Services
 Region.

For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.

", "GetInstanceTypesFromInstanceRequirements": "

Returns a list of instance types with the specified instance attributes. You can use the response to preview the instance types without launching instances. Note that the response does not consider capacity.

When you specify multiple parameters, you get instance types that satisfy all of the specified parameters. If you specify multiple values for a parameter, you get instance types that satisfy any of the specified values.

For more information, see Preview instance types with specified attributes, Attribute-based instance type selection for EC2 Fleet, Attribute-based instance type selection for Spot Fleet, and Spot placement score in the Amazon EC2 User Guide, and Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.

", "GetInstanceUefiData": "

A binary representation of the UEFI variable store. Only non-volatile variables are stored. This is a base64 encoded and zlib compressed binary value that must be properly encoded.

When you use register-image to create an AMI, you can create an exact copy of your variable store by passing the UEFI data in the UefiData parameter. You can modify the UEFI data by using the python-uefivars tool on GitHub. You can use the tool to convert the UEFI data into a human-readable format (JSON), which you can inspect and modify, and then convert back into the binary format to use with register-image.

For more information, see UEFI Secure Boot in the Amazon EC2 User Guide.

", "GetIpamAddressHistory": "

Retrieve historical information about a CIDR within an IPAM scope. For more information, see View the history of IP addresses in the Amazon VPC IPAM User Guide.

", @@ -503,6 +504,7 @@ "ModifyInstanceEventStartTime": "

Modifies the start time for a scheduled Amazon EC2 instance event.

", "ModifyInstanceEventWindow": "

Modifies the specified event window.

You can define either a set of time ranges or a cron expression when modifying the event window, but not both.

To modify the targets associated with the event window, use the AssociateInstanceEventWindow and DisassociateInstanceEventWindow API.

If Amazon Web Services has already scheduled an event, modifying an event window won't change the time of the scheduled event.

For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.

", "ModifyInstanceMaintenanceOptions": "

Modifies the recovery behavior of your instance to disable simplified automatic recovery or set the recovery behavior to default. The default configuration will not enable simplified automatic recovery for an unsupported instance type. For more information, see Simplified automatic recovery.

", + "ModifyInstanceMetadataDefaults": "

Modifies the default instance metadata service (IMDS) settings at the account level in the specified Amazon Web Services
 Region.

To remove a parameter's account-level default setting, specify no-preference. At instance launch, the value will come from the AMI, or from the launch parameter if specified. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.

", "ModifyInstanceMetadataOptions": "

Modify the instance metadata parameters on a running or stopped instance. When you modify the parameters on a stopped instance, they are applied when the instance is started. When you modify the parameters on a running instance, the API responds with a state of “pending”. After the parameter modifications are successfully applied to the instance, the state of the modifications changes from “pending” to “applied” in subsequent describe-instances API calls. For more information, see Instance metadata and user data in the Amazon EC2 User Guide.

", "ModifyInstancePlacement": "

Modifies the placement attributes for a specified instance. You can do the following:

At least one attribute for affinity, host ID, tenancy, or placement group name must be specified in the request. Affinity and tenancy can be modified in the same request.

To modify the host ID, tenancy, placement group, or partition for an instance, the instance must be in the stopped state.

", "ModifyIpam": "

Modify the configurations of an IPAM.

", @@ -2490,6 +2492,7 @@ "GetFlowLogsIntegrationTemplateRequest$DryRun": "

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

", "GetGroupsForCapacityReservationRequest$DryRun": "

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

", "GetImageBlockPublicAccessStateRequest$DryRun": "

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

", + "GetInstanceMetadataDefaultsRequest$DryRun": "

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

", "GetInstanceTypesFromInstanceRequirementsRequest$DryRun": "

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

", "GetInstanceUefiDataRequest$DryRun": "

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

", "GetIpamAddressHistoryRequest$DryRun": "

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

", @@ -2624,6 +2627,8 @@ "ModifyInstanceEventStartTimeRequest$DryRun": "

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

", "ModifyInstanceEventWindowRequest$DryRun": "

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

", "ModifyInstanceMaintenanceOptionsRequest$DryRun": "

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

", + "ModifyInstanceMetadataDefaultsRequest$DryRun": "

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

", + "ModifyInstanceMetadataDefaultsResult$Return": "

If the request succeeds, the response returns true. If the request fails, no response is returned, and instead an error message is returned.

", "ModifyInstanceMetadataOptionsRequest$DryRun": "

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

", "ModifyInstancePlacementResult$Return": "

Is true if the request succeeds, and an error otherwise.

", "ModifyIpamPoolRequest$DryRun": "

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

", @@ -2926,6 +2931,13 @@ "IpamResourceCidr$IpUsage": "

The percentage of IP address space in use. To convert the decimal to a percentage, multiply the decimal by 100. Note the following:

" } }, + "BoxedInteger": { + "base": null, + "refs": { + "InstanceMetadataDefaultsResponse$HttpPutResponseHopLimit": "

The maximum number of hops that the metadata token can travel.

", + "ModifyInstanceMetadataDefaultsRequest$HttpPutResponseHopLimit": "

The maximum number of hops that the metadata token can travel.

Minimum: 1

Maximum: 64

" + } + }, "BundleId": { "base": null, "refs": { @@ -5179,6 +5191,18 @@ "InstanceEventWindowDisassociationRequest$DedicatedHostIds": "

The IDs of the Dedicated Hosts to disassociate from the event window.

" } }, + "DefaultInstanceMetadataEndpointState": { + "base": null, + "refs": { + "ModifyInstanceMetadataDefaultsRequest$HttpEndpoint": "

Enables or disables the IMDS endpoint on an instance. When disabled, the instance metadata can't be accessed.

" + } + }, + "DefaultInstanceMetadataTagsState": { + "base": null, + "refs": { + "ModifyInstanceMetadataDefaultsRequest$InstanceMetadataTags": "

Enables or disables access to an instance's tags from the instance metadata. For more information, see Work with instance tags using the instance metadata in the Amazon EC2 User Guide.

" + } + }, "DefaultNetworkCardIndex": { "base": null, "refs": { @@ -10102,6 +10126,16 @@ "refs": { } }, + "GetInstanceMetadataDefaultsRequest": { + "base": null, + "refs": { + } + }, + "GetInstanceMetadataDefaultsResult": { + "base": null, + "refs": { + } + }, "GetInstanceTypesFromInstanceRequirementsRequest": { "base": null, "refs": { @@ -10714,9 +10748,10 @@ "HttpTokensState": { "base": null, "refs": { - "InstanceMetadataOptionsRequest$HttpTokens": "

Indicates whether IMDSv2 is required.

Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.

", - "InstanceMetadataOptionsResponse$HttpTokens": "

Indicates whether IMDSv2 is required.

", - "ModifyInstanceMetadataOptionsRequest$HttpTokens": "

Indicates whether IMDSv2 is required.

Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for your instance is v2.0, the default is required.

" + "InstanceMetadataDefaultsResponse$HttpTokens": "

Indicates whether IMDSv2 is required.

", + "InstanceMetadataOptionsRequest$HttpTokens": "

Indicates whether IMDSv2 is required.

Default:

The default value can also be affected by other combinations of parameters. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.

", + "InstanceMetadataOptionsResponse$HttpTokens": "

Indicates whether IMDSv2 is required.

", + "ModifyInstanceMetadataOptionsRequest$HttpTokens": "

Indicates whether IMDSv2 is required.

Default:

The default value can also be affected by other combinations of parameters. For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.

" } }, "HypervisorType": { @@ -11653,9 +11688,16 @@ "CreateCapacityReservationRequest$InstanceMatchCriteria": "

Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

Default: open

" } }, + "InstanceMetadataDefaultsResponse": { + "base": "

The default instance metadata service (IMDS) settings that were set at the account level in the specified Amazon Web Services
 Region.

", + "refs": { + "GetInstanceMetadataDefaultsResult$AccountLevel": "

The account-level default IMDS settings.

" + } + }, "InstanceMetadataEndpointState": { "base": null, "refs": { + "InstanceMetadataDefaultsResponse$HttpEndpoint": "

Indicates whether the IMDS endpoint for an instance is enabled or disabled. When disabled, the instance metadata can't be accessed.

", "InstanceMetadataOptionsRequest$HttpEndpoint": "

Enables or disables the HTTP metadata endpoint on your instances.

If you specify a value of disabled, you cannot access your instance metadata.

Default: enabled

", "InstanceMetadataOptionsResponse$HttpEndpoint": "

Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.

If the value is disabled, you cannot access your instance metadata.

", "ModifyInstanceMetadataOptionsRequest$HttpEndpoint": "

Enables or disables the HTTP metadata endpoint on your instances. If this parameter is not specified, the existing state is maintained.

If you specify a value of disabled, you cannot access your instance metadata.

" @@ -11691,6 +11733,7 @@ "InstanceMetadataTagsState": { "base": null, "refs": { + "InstanceMetadataDefaultsResponse$InstanceMetadataTags": "

Indicates whether access to instance tags from the instance metadata is enabled or disabled. For more information, see Work with instance tags using the instance metadata in the Amazon EC2 User Guide.

", "InstanceMetadataOptionsRequest$InstanceMetadataTags": "

Set to enabled to allow access to instance tags from the instance metadata. Set to disabled to turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata.

Default: disabled

", "InstanceMetadataOptionsResponse$InstanceMetadataTags": "

Indicates whether access to instance tags from the instance metadata is enabled or disabled. For more information, see Work with instance tags using the instance metadata.

", "ModifyInstanceMetadataOptionsRequest$InstanceMetadataTags": "

Set to enabled to allow access to instance tags from the instance metadata. Set to disabled to turn off access to instance tags from the instance metadata. For more information, see Work with instance tags using the instance metadata.

" @@ -12157,8 +12200,8 @@ "InstanceCapacity$AvailableCapacity": "

The number of instances that can be launched onto the Dedicated Host based on the host's available capacity.

", "InstanceCapacity$TotalCapacity": "

The total number of instances that can be launched onto the Dedicated Host if there are no instances running on it.

", "InstanceCount$InstanceCount": "

The number of listed Reserved Instances in the state specified by the state.

", - "InstanceMetadataOptionsRequest$HttpPutResponseHopLimit": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

Possible values: Integers from 1 to 64

", - "InstanceMetadataOptionsResponse$HttpPutResponseHopLimit": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

Possible values: Integers from 1 to 64

", + "InstanceMetadataOptionsRequest$HttpPutResponseHopLimit": "

The maximum number of hops that the metadata token can travel.

Possible values: Integers from 1 to 64

", + "InstanceMetadataOptionsResponse$HttpPutResponseHopLimit": "

The maximum number of hops that the metadata token can travel.

Possible values: Integers from 1 to 64

", "InstanceNetworkInterfaceAttachment$DeviceIndex": "

The index of the device on the instance for the network interface attachment.

", "InstanceNetworkInterfaceAttachment$NetworkCardIndex": "

The index of the network card.

", "InstanceNetworkInterfaceSpecification$DeviceIndex": "

The position of the network interface in the attachment order. A primary network interface has a device index of 0.

If you specify a network interface when launching an instance, you must specify the device index.

", @@ -14502,6 +14545,12 @@ "MemoryInfo$SizeInMiB": "

The size of the memory, in MiB.

" } }, + "MetadataDefaultHttpTokensState": { + "base": null, + "refs": { + "ModifyInstanceMetadataDefaultsRequest$HttpTokens": "

Indicates whether IMDSv2 is required.

" + } + }, "MetricPoint": { "base": "

Indicates whether the network was healthy or degraded at a particular point. The value is aggregated from the startDate to the endDate. Currently only five_minutes is supported.

", "refs": { @@ -14796,6 +14845,16 @@ "refs": { } }, + "ModifyInstanceMetadataDefaultsRequest": { + "base": null, + "refs": { + } + }, + "ModifyInstanceMetadataDefaultsResult": { + "base": null, + "refs": { + } + }, "ModifyInstanceMetadataOptionsRequest": { "base": null, "refs": { @@ -20157,7 +20216,7 @@ "Image$UsageOperation": "

The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. usageOperation corresponds to the lineitem/Operation column on your Amazon Web Services Cost and Usage Report and in the Amazon Web Services Price List API. You can view these fields on the Instances or AMIs pages in the Amazon EC2 console, or in the responses that are returned by the DescribeImages command in the Amazon EC2 API, or the describe-images command in the CLI.

", "Image$RamdiskId": "

The RAM disk associated with the image, if any. Only applicable for machine images.

", "Image$Description": "

The description of the AMI that was provided during image creation.

", - "Image$ImageOwnerAlias": "

The Amazon Web Services account alias (for example, amazon, self) or the Amazon Web Services account ID of the AMI owner.

", + "Image$ImageOwnerAlias": "

The owner alias (amazon | aws-marketplace).

", "Image$Name": "

The name of the AMI that was provided during image creation.

", "Image$RootDeviceName": "

The device name of the root device volume (for example, /dev/sda1).

", "Image$SriovNetSupport": "

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

", @@ -22474,7 +22533,7 @@ "GetTransitGatewayRouteTableAssociationsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "GetTransitGatewayRouteTablePropagationsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "SearchTransitGatewayMulticastGroupsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", - "SearchTransitGatewayRoutesRequest$MaxResults": "

The maximum number of routes to return.

" + "SearchTransitGatewayRoutesRequest$MaxResults": "

The maximum number of routes to return. If a value is not provided, the default is 1000.

" } }, "TransitGatewayMulitcastDomainAssociationState": { diff --git a/models/apis/ecs/2014-11-13/docs-2.json b/models/apis/ecs/2014-11-13/docs-2.json index 35061cbb538..5c152775d06 100644 --- a/models/apis/ecs/2014-11-13/docs-2.json +++ b/models/apis/ecs/2014-11-13/docs-2.json @@ -4,8 +4,8 @@ "operations": { "CreateCapacityProvider": "

Creates a new capacity provider. Capacity providers are associated with an Amazon ECS cluster and are used in capacity provider strategies to facilitate cluster auto scaling.

Only capacity providers that use an Auto Scaling group can be created. Amazon ECS tasks on Fargate use the FARGATE and FARGATE_SPOT capacity providers. These providers are available to all accounts in the Amazon Web Services Regions that Fargate supports.

", "CreateCluster": "

Creates a new Amazon ECS cluster. By default, your account receives a default cluster when you launch your first container instance. However, you can create your own cluster with a unique name with the CreateCluster action.

When you call the CreateCluster API operation, Amazon ECS attempts to create the Amazon ECS service-linked role for your account. This is so that it can manage required resources in other Amazon Web Services services on your behalf. However, if the user that makes the call doesn't have permissions to create the service-linked role, it isn't created. For more information, see Using service-linked roles for Amazon ECS in the Amazon Elastic Container Service Developer Guide.

", - "CreateService": "

Runs and maintains your desired number of tasks from a specified task definition. If the number of tasks running in a service drops below the desiredCount, Amazon ECS runs another copy of the task in the specified cluster. To update an existing service, see the UpdateService action.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

In addition to maintaining the desired count of tasks in your service, you can optionally run your service behind one or more load balancers. The load balancers distribute traffic across the tasks that are associated with the service. For more information, see Service load balancing in the Amazon Elastic Container Service Developer Guide.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. volumeConfigurations is only supported for REPLICA service and not DAEMON service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

Tasks for services that don't use a load balancer are considered healthy if they're in the RUNNING state. Tasks for services that use a load balancer are considered healthy if they're in the RUNNING state and are reported as healthy by the load balancer.

There are two service scheduler strategies available:

You can optionally specify a deployment configuration for your service. The deployment is initiated by changing properties. For example, the deployment might be initiated by the task definition or by your desired count of a service. This is done with an UpdateService operation. The default value for a replica service for minimumHealthyPercent is 100%. The default value for a daemon service for minimumHealthyPercent is 0%.

If a service uses the ECS deployment controller, the minimum healthy percent represents a lower limit on the number of tasks in a service that must remain in the RUNNING state during a deployment. Specifically, it represents it as a percentage of your desired number of tasks (rounded up to the nearest integer). This happens when any of your container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Using this parameter, you can deploy without using additional cluster capacity. For example, if you set your service to have desired number of four tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks to free up cluster capacity before starting two new tasks. If they're in the RUNNING state, tasks for services that don't use a load balancer are considered healthy . If they're in the RUNNING state and reported as healthy by the load balancer, tasks for services that do use a load balancer are considered healthy . The default value for minimum healthy percent is 100%.

If a service uses the ECS deployment controller, the maximum percent parameter represents an upper limit on the number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment. Specifically, it represents it as a percentage of the desired number of tasks (rounded down to the nearest integer). This happens when any of your container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Using this parameter, you can define the deployment batch size. For example, if your service has a desired number of four tasks and a maximum percent value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default value for maximum percent is 200%.

If a service uses either the CODE_DEPLOY or EXTERNAL deployment controller types and tasks that use the EC2 launch type, the minimum healthy percent and maximum percent values are used only to define the lower and upper limit on the number of the tasks in the service that remain in the RUNNING state. This is while the container instances are in the DRAINING state. If the tasks in the service use the Fargate launch type, the minimum healthy percent and maximum percent values aren't used. This is the case even if they're currently visible when describing your service.

When creating a service that uses the EXTERNAL deployment controller, you can specify only parameters that aren't controlled at the task set level. The only required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

When the service scheduler launches new tasks, it determines task placement. For information about task placement and task placement strategies, see Amazon ECS task placement in the Amazon Elastic Container Service Developer Guide.

", - "CreateTaskSet": "

Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

For information about the maximum number of task sets and otther quotas, see Amazon ECS service quotas in the Amazon Elastic Container Service Developer Guide.

", + "CreateService": "

Runs and maintains your desired number of tasks from a specified task definition. If the number of tasks running in a service drops below the desiredCount, Amazon ECS runs another copy of the task in the specified cluster. To update an existing service, see the UpdateService action.

The following change began on March 21, 2024. When the task definition revision is not specified, Amazon ECS resolves the task definition revision before it authorizes the task definition.

In addition to maintaining the desired count of tasks in your service, you can optionally run your service behind one or more load balancers. The load balancers distribute traffic across the tasks that are associated with the service. For more information, see Service load balancing in the Amazon Elastic Container Service Developer Guide.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. volumeConfigurations is only supported for REPLICA service and not DAEMON service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

Tasks for services that don't use a load balancer are considered healthy if they're in the RUNNING state. Tasks for services that use a load balancer are considered healthy if they're in the RUNNING state and are reported as healthy by the load balancer.

There are two service scheduler strategies available:

You can optionally specify a deployment configuration for your service. The deployment is initiated by changing properties. For example, the deployment might be initiated by the task definition or by your desired count of a service. This is done with an UpdateService operation. The default value for a replica service for minimumHealthyPercent is 100%. The default value for a daemon service for minimumHealthyPercent is 0%.

If a service uses the ECS deployment controller, the minimum healthy percent represents a lower limit on the number of tasks in a service that must remain in the RUNNING state during a deployment. Specifically, it represents it as a percentage of your desired number of tasks (rounded up to the nearest integer). This happens when any of your container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Using this parameter, you can deploy without using additional cluster capacity. For example, if you set your service to have desired number of four tasks and a minimum healthy percent of 50%, the scheduler might stop two existing tasks to free up cluster capacity before starting two new tasks. If they're in the RUNNING state, tasks for services that don't use a load balancer are considered healthy . If they're in the RUNNING state and reported as healthy by the load balancer, tasks for services that do use a load balancer are considered healthy . The default value for minimum healthy percent is 100%.

If a service uses the ECS deployment controller, the maximum percent parameter represents an upper limit on the number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment. Specifically, it represents it as a percentage of the desired number of tasks (rounded down to the nearest integer). This happens when any of your container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Using this parameter, you can define the deployment batch size. For example, if your service has a desired number of four tasks and a maximum percent value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default value for maximum percent is 200%.

If a service uses either the CODE_DEPLOY or EXTERNAL deployment controller types and tasks that use the EC2 launch type, the minimum healthy percent and maximum percent values are used only to define the lower and upper limit on the number of the tasks in the service that remain in the RUNNING state. This is while the container instances are in the DRAINING state. If the tasks in the service use the Fargate launch type, the minimum healthy percent and maximum percent values aren't used. This is the case even if they're currently visible when describing your service.

When creating a service that uses the EXTERNAL deployment controller, you can specify only parameters that aren't controlled at the task set level. The only required parameter is the service name. You control your services using the CreateTaskSet operation. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

When the service scheduler launches new tasks, it determines task placement. For information about task placement and task placement strategies, see Amazon ECS task placement in the Amazon Elastic Container Service Developer Guide

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

", + "CreateTaskSet": "

Create a task set in the specified cluster and service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.

The following change began on March 21, 2024. When the task definition revision is not specified, Amazon ECS resolves the task definition revision before it authorizes the task definition.

For information about the maximum number of task sets and otther quotas, see Amazon ECS service quotas in the Amazon Elastic Container Service Developer Guide.

", "DeleteAccountSetting": "

Disables an account setting for a specified user, role, or the root user for an account.

", "DeleteAttributes": "

Deletes one or more custom attributes from an Amazon ECS resource.

", "DeleteCapacityProvider": "

Deletes the specified capacity provider.

The FARGATE and FARGATE_SPOT capacity providers are reserved and can't be deleted. You can disassociate them from a cluster using either the PutClusterCapacityProviders API or by deleting the cluster.

Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity provider strategy from all services. The UpdateService API can be used to remove a capacity provider from a service's capacity provider strategy. When updating a service, the forceNewDeployment option can be used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity provider are transitioned to use the capacity from the remaining capacity providers. Only capacity providers that aren't associated with a cluster can be deleted. To remove a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

", @@ -41,8 +41,8 @@ "PutClusterCapacityProviders": "

Modifies the available capacity providers and the default capacity provider strategy for a cluster.

You must specify both the available capacity providers and a default capacity provider strategy for the cluster. If the specified cluster has existing capacity providers associated with it, you must specify all existing capacity providers in addition to any new ones you want to add. Any existing capacity providers that are associated with a cluster that are omitted from a PutClusterCapacityProviders API call will be disassociated with the cluster. You can only disassociate an existing capacity provider from a cluster if it's not being used by any existing tasks.

When creating a service or running a task on a cluster, if no capacity provider or launch type is specified, then the cluster's default capacity provider strategy is used. We recommend that you define a default capacity provider strategy for your cluster. However, you must specify an empty array ([]) to bypass defining a default strategy.

", "RegisterContainerInstance": "

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

Registers an EC2 instance into the specified cluster. This instance becomes available to place containers on.

", "RegisterTaskDefinition": "

Registers a new task definition from the supplied family and containerDefinitions. Optionally, you can add data volumes to your containers with the volumes parameter. For more information about task definition parameters and defaults, see Amazon ECS Task Definitions in the Amazon Elastic Container Service Developer Guide.

You can specify a role for your task with the taskRoleArn parameter. When you specify a role for a task, its containers can then use the latest versions of the CLI or SDKs to make API requests to the Amazon Web Services services that are specified in the policy that's associated with the role. For more information, see IAM Roles for Tasks in the Amazon Elastic Container Service Developer Guide.

You can specify a Docker networking mode for the containers in your task definition with the networkMode parameter. The available network modes correspond to those described in Network settings in the Docker run reference. If you specify the awsvpc network mode, the task is allocated an elastic network interface, and you must specify a NetworkConfiguration when you create a service or run a task with the task definition. For more information, see Task Networking in the Amazon Elastic Container Service Developer Guide.

", - "RunTask": "

Starts a new task using the specified task definition.

You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using placement constraints and placement strategies. For more information, see Scheduling Tasks in the Amazon Elastic Container Service Developer Guide.

Alternatively, you can use StartTask to use your own scheduler or place tasks manually on specific container instances.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

The Amazon ECS API follows an eventual consistency model. This is because of the distributed nature of the system supporting the API. This means that the result of an API command you run that affects your Amazon ECS resources might not be immediately visible to all subsequent commands you run. Keep this in mind when you carry out an API command that immediately follows a previous API command.

To manage eventual consistency, you can do the following:

", - "StartTask": "

Starts a new task from the specified task definition on the specified container instance or instances.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

Alternatively, you can use RunTask to place tasks for you. For more information, see Scheduling Tasks in the Amazon Elastic Container Service Developer Guide.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

", + "RunTask": "

Starts a new task using the specified task definition.

The following change began on March 21, 2024. When the task definition revision is not specified, Amazon ECS resolves the task definition revision before it authorizes the task definition.

You can allow Amazon ECS to place tasks for you, or you can customize how Amazon ECS places tasks using placement constraints and placement strategies. For more information, see Scheduling Tasks in the Amazon Elastic Container Service Developer Guide.

Alternatively, you can use StartTask to use your own scheduler or place tasks manually on specific container instances.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

The Amazon ECS API follows an eventual consistency model. This is because of the distributed nature of the system supporting the API. This means that the result of an API command you run that affects your Amazon ECS resources might not be immediately visible to all subsequent commands you run. Keep this in mind when you carry out an API command that immediately follows a previous API command.

To manage eventual consistency, you can do the following:

", + "StartTask": "

Starts a new task from the specified task definition on the specified container instance or instances.

The following change began on March 21, 2024. When the task definition revision is not specified, Amazon ECS resolves the task definition revision before it authorizes the task definition.

Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. After April 15, 2023, new customers will not be able to launch instances with Amazon EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI at least once during the past 30-day period are considered current customers and will be able to continue using the service.

Alternatively, you can use RunTask to place tasks for you. For more information, see Scheduling Tasks in the Amazon Elastic Container Service Developer Guide.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

", "StopTask": "

Stops a running task. Any tags associated with the task will be deleted.

When StopTask is called on a task, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM value and a default 30-second timeout, after which the SIGKILL value is sent and the containers are forcibly stopped. If the container handles the SIGTERM value gracefully and exits within 30 seconds from receiving it, no SIGKILL value is sent.

The default 30-second timeout can be configured on the Amazon ECS container agent with the ECS_CONTAINER_STOP_TIMEOUT variable. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.

", "SubmitAttachmentStateChanges": "

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

Sent to acknowledge that an attachment changed states.

", "SubmitContainerStateChange": "

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

Sent to acknowledge that a container changed states.

", @@ -54,7 +54,7 @@ "UpdateClusterSettings": "

Modifies the settings to use for a cluster.

", "UpdateContainerAgent": "

Updates the Amazon ECS container agent on a specified container instance. Updating the Amazon ECS container agent doesn't interrupt running tasks or services on the container instance. The process for updating the agent differs depending on whether your container instance was launched with the Amazon ECS-optimized AMI or another operating system.

The UpdateContainerAgent API isn't supported for container instances using the Amazon ECS-optimized Amazon Linux 2 (arm64) AMI. To update the container agent, you can update the ecs-init package. This updates the agent. For more information, see Updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.

Agent updates with the UpdateContainerAgent API operation do not apply to Windows container instances. We recommend that you launch new container instances to update the agent version in your Windows clusters.

The UpdateContainerAgent API requires an Amazon ECS-optimized AMI or Amazon Linux AMI with the ecs-init service installed and running. For help updating the Amazon ECS container agent on other operating systems, see Manually updating the Amazon ECS container agent in the Amazon Elastic Container Service Developer Guide.

", "UpdateContainerInstancesState": "

Modifies the status of an Amazon ECS container instance.

Once a container instance has reached an ACTIVE state, you can change the status of a container instance to DRAINING to manually remove an instance from a cluster, for example to perform system updates, update the Docker daemon, or scale down the cluster size.

A container instance can't be changed to DRAINING until it has reached an ACTIVE status. If the instance is in any other status, an error will be received.

When you set a container instance to DRAINING, Amazon ECS prevents new tasks from being scheduled for placement on the container instance and replacement service tasks are started on other container instances in the cluster if the resources are available. Service tasks on the container instance that are in the PENDING state are stopped immediately.

Service tasks on the container instance that are in the RUNNING state are stopped and replaced according to the service's deployment configuration parameters, minimumHealthyPercent and maximumPercent. You can change the deployment configuration of your service using UpdateService.

Any PENDING or RUNNING tasks that do not belong to a service aren't affected. You must wait for them to finish or stop them manually.

A container instance has completed draining when it has no more RUNNING tasks. You can verify this using ListTasks.

When a container instance has been drained, you can set a container instance to ACTIVE status and once it has reached that status the Amazon ECS scheduler can begin scheduling tasks on the instance again.

", - "UpdateService": "

Modifies the parameters of a service.

For services using the rolling update (ECS) you can update the desired count, deployment configuration, network configuration, load balancers, service registries, enable ECS managed tags option, propagate tags option, task placement constraints and strategies, and task definition. When you update any of these parameters, Amazon ECS starts new tasks with the new configuration.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a task, or when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide. You can update your volume configurations and trigger a new deployment. volumeConfigurations is only supported for REPLICA service and not DAEMON service. If you leave volumeConfigurations null, it doesn't trigger a new deployment. For more infomation on volumes, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

For services using the blue/green (CODE_DEPLOY) deployment controller, only the desired count, deployment configuration, health check grace period, task placement constraints and strategies, enable ECS managed tags option, and propagate tags can be updated using this API. If the network configuration, platform version, task definition, or load balancer need to be updated, create a new CodeDeploy deployment. For more information, see CreateDeployment in the CodeDeploy API Reference.

For services using an external deployment controller, you can update only the desired count, task placement constraints and strategies, health check grace period, enable ECS managed tags option, and propagate tags option, using this API. If the launch type, load balancer, network configuration, platform version, or task definition need to be updated, create a new task set For more information, see CreateTaskSet.

You can add to or subtract from the number of instantiations of a task definition in a service by specifying the cluster that the service is running in and a new desiredCount parameter.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a task, or when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

If you have updated the container image of your application, you can create a new task definition with that image and deploy it to your service. The service scheduler uses the minimum healthy percent and maximum percent parameters (in the service's deployment configuration) to determine the deployment strategy.

If your updated Docker image uses the same tag as what is in the existing task definition for your service (for example, my_image:latest), you don't need to create a new revision of your task definition. You can update the service using the forceNewDeployment option. The new tasks launched by the deployment pull the current image/tag combination from your repository when they start.

You can also update the deployment configuration of a service. When a deployment is triggered by updating the task definition of a service, the service scheduler uses the deployment configuration parameters, minimumHealthyPercent and maximumPercent, to determine the deployment strategy.

When UpdateService stops a task during a deployment, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM and a 30-second timeout. After this, SIGKILL is sent and the containers are forcibly stopped. If the container handles the SIGTERM gracefully and exits within 30 seconds from receiving it, no SIGKILL is sent.

When the service scheduler launches new tasks, it determines task placement in your cluster with the following logic.

When the service scheduler stops running tasks, it attempts to maintain balance across the Availability Zones in your cluster using the following logic:

You must have a service-linked role when you update any of the following service properties:

For more information about the role see the CreateService request parameter role .

", + "UpdateService": "

Modifies the parameters of a service.

The following change began on March 21, 2024. When the task definition revision is not specified, Amazon ECS resolves the task definition revision before it authorizes the task definition.

For services using the rolling update (ECS) you can update the desired count, deployment configuration, network configuration, load balancers, service registries, enable ECS managed tags option, propagate tags option, task placement constraints and strategies, and task definition. When you update any of these parameters, Amazon ECS starts new tasks with the new configuration.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a task, or when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide. You can update your volume configurations and trigger a new deployment. volumeConfigurations is only supported for REPLICA service and not DAEMON service. If you leave volumeConfigurations null, it doesn't trigger a new deployment. For more infomation on volumes, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

For services using the blue/green (CODE_DEPLOY) deployment controller, only the desired count, deployment configuration, health check grace period, task placement constraints and strategies, enable ECS managed tags option, and propagate tags can be updated using this API. If the network configuration, platform version, task definition, or load balancer need to be updated, create a new CodeDeploy deployment. For more information, see CreateDeployment in the CodeDeploy API Reference.

For services using an external deployment controller, you can update only the desired count, task placement constraints and strategies, health check grace period, enable ECS managed tags option, and propagate tags option, using this API. If the launch type, load balancer, network configuration, platform version, or task definition need to be updated, create a new task set For more information, see CreateTaskSet.

You can add to or subtract from the number of instantiations of a task definition in a service by specifying the cluster that the service is running in and a new desiredCount parameter.

You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or running a task, or when creating or updating a service. For more infomation, see Amazon EBS volumes in the Amazon Elastic Container Service Developer Guide.

If you have updated the container image of your application, you can create a new task definition with that image and deploy it to your service. The service scheduler uses the minimum healthy percent and maximum percent parameters (in the service's deployment configuration) to determine the deployment strategy.

If your updated Docker image uses the same tag as what is in the existing task definition for your service (for example, my_image:latest), you don't need to create a new revision of your task definition. You can update the service using the forceNewDeployment option. The new tasks launched by the deployment pull the current image/tag combination from your repository when they start.

You can also update the deployment configuration of a service. When a deployment is triggered by updating the task definition of a service, the service scheduler uses the deployment configuration parameters, minimumHealthyPercent and maximumPercent, to determine the deployment strategy.

When UpdateService stops a task during a deployment, the equivalent of docker stop is issued to the containers running in the task. This results in a SIGTERM and a 30-second timeout. After this, SIGKILL is sent and the containers are forcibly stopped. If the container handles the SIGTERM gracefully and exits within 30 seconds from receiving it, no SIGKILL is sent.

When the service scheduler launches new tasks, it determines task placement in your cluster with the following logic.

When the service scheduler stops running tasks, it attempts to maintain balance across the Availability Zones in your cluster using the following logic:

You must have a service-linked role when you update any of the following service properties:

For more information about the role see the CreateService request parameter role .

", "UpdateServicePrimaryTaskSet": "

Modifies which task set in a service is the primary task set. Any parameters that are updated on the primary task set in a service will transition to the service. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

", "UpdateTaskProtection": "

Updates the protection status of a task. You can set protectionEnabled to true to protect your task from termination during scale-in events from Service Autoscaling or deployments.

Task-protection, by default, expires after 2 hours at which point Amazon ECS clears the protectionEnabled property making the task eligible for termination by a subsequent scale-in event.

You can specify a custom expiration period for task protection from 1 minute to up to 2,880 minutes (48 hours). To specify the custom expiration period, set the expiresInMinutes property. The expiresInMinutes property is always reset when you invoke this operation for a task that already has protectionEnabled set to true. You can keep extending the protection expiration period of a task by invoking this operation repeatedly.

To learn more about Amazon ECS task protection, see Task scale-in protection in the Amazon Elastic Container Service Developer Guide .

This operation is only supported for tasks belonging to an Amazon ECS service. Invoking this operation for a standalone task will result in an TASK_NOT_VALID failure. For more information, see API failure reasons.

If you prefer to set task protection from within the container, we recommend using the Task scale-in protection endpoint.

", "UpdateTaskSet": "

Modifies a task set. This is used when a service uses the EXTERNAL deployment controller type. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

" @@ -92,7 +92,7 @@ "AttachmentDetails": { "base": null, "refs": { - "Attachment$details": "

Details of the attachment.

For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.

For Service Connect services, this includes portName, clientAliases, discoveryName, and ingressPortOverride.

For elastic block storage, this includes roleArn, encrypted, filesystemType, iops, kmsKeyId, sizeInGiB, snapshotId, tagSpecifications, throughput, and volumeType.

" + "Attachment$details": "

Details of the attachment.

For elastic network interfaces, this includes the network interface ID, the MAC address, the subnet ID, and the private IPv4 address.

For Service Connect services, this includes portName, clientAliases, discoveryName, and ingressPortOverride.

For Elastic Block Storage, this includes roleArn, deleteOnTermination, volumeName, volumeId, and statusReason (only when the attachment fails to create or attach).

" } }, "AttachmentStateChange": { @@ -967,7 +967,7 @@ } }, "EnvironmentFile": { - "base": "

A list of files containing the environment variables to pass to a container. You can specify up to ten environment files. The file must have a .env file extension. Each line in an environment file should contain an environment variable in VARIABLE=VALUE format. Lines beginning with # are treated as comments and are ignored.

If there are environment variables specified using the environment parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see Specifying environment variables in the Amazon Elastic Container Service Developer Guide.

You must use the following platforms for the Fargate launch type:

Consider the following when using the Fargate launch type:

", + "base": "

A list of files containing the environment variables to pass to a container. You can specify up to ten environment files. The file must have a .env file extension. Each line in an environment file should contain an environment variable in VARIABLE=VALUE format. Lines beginning with # are treated as comments and are ignored.

If there are environment variables specified using the environment parameter in a container definition, they take precedence over the variables contained within an environment file. If multiple environment files are specified that contain the same variable, they're processed from the top down. We recommend that you use unique variable names. For more information, see Use a file to pass environment variables to a container in the Amazon Elastic Container Service Developer Guide.

Environment variable files are objects in Amazon S3 and all Amazon S3 security considerations apply.

You must use the following platforms for the Fargate launch type:

Consider the following when using the Fargate launch type:

", "refs": { "EnvironmentFiles$member": null } @@ -975,7 +975,7 @@ "EnvironmentFileType": { "base": null, "refs": { - "EnvironmentFile$type": "

The file type to use. The only supported value is s3.

" + "EnvironmentFile$type": "

The file type to use. Environment files are objects in Amazon S3. The only supported value is s3.

" } }, "EnvironmentFiles": { @@ -1099,7 +1099,7 @@ } }, "HealthCheck": { - "base": "

An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of docker run.

The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.

The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.

The following describes the possible healthStatus values for a container:

The following describes the possible healthStatus values based on the container health checker status of essential containers in the task with the following priority order (high to low):

Consider the following task health example with 2 containers.

Consider the following task health example with 3 containers.

If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.

The following are notes about container health check support:

", + "base": "

An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK parameter of docker run.

The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.

You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.

The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.

Amazon ECS performs health checks on containers with the default that launched the container instance or the task.

The following describes the possible healthStatus values for a container:

The following describes the possible healthStatus values based on the container health checker status of essential containers in the task with the following priority order (high to low):

Consider the following task health example with 2 containers.

Consider the following task health example with 3 containers.

If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.

The following are notes about container health check support:

", "refs": { "ContainerDefinition$healthCheck": "

The container health check command and associated configuration parameters for the container. This parameter maps to HealthCheck in the Create a container section of the Docker Remote API and the HEALTHCHECK parameter of docker run.

" } @@ -1201,7 +1201,7 @@ "Deployment$pendingCount": "

The number of tasks in the deployment that are in the PENDING status.

", "Deployment$runningCount": "

The number of tasks in the deployment that are in the RUNNING status.

", "Deployment$failedTasks": "

The number of consecutively failed tasks in the deployment. A task is considered a failure if the service scheduler can't launch the task, the task doesn't transition to a RUNNING state, or if it fails any of its defined health checks and is stopped.

Once a service deployment has one or more successfully running tasks, the failed task count resets to zero and stops being evaluated.

", - "EphemeralStorage$sizeInGiB": "

The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 21 GiB and the maximum supported value is 200 GiB.

", + "EphemeralStorage$sizeInGiB": "

The total amount, in GiB, of ephemeral storage to set for the task. The minimum supported value is 20 GiB and the maximum supported value is 200 GiB.

", "ListAccountSettingsRequest$maxResults": "

The maximum number of account setting results returned by ListAccountSettings in paginated output. When this parameter is used, ListAccountSettings only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListAccountSettings request with the returned nextToken value. This value can be between 1 and 10. If this parameter isn't used, then ListAccountSettings returns up to 10 results and a nextToken value if applicable.

", "Resource$integerValue": "

When the integerValue type is set, the value of the resource must be an integer.

", "Service$desiredCount": "

The desired number of instantiations of the task definition to keep running on the service. This value is specified when the service is created with CreateService, and it can be modified with UpdateService.

", @@ -1229,7 +1229,7 @@ } }, "KernelCapabilities": { - "base": "

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker. For more information about the default capabilities and the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run reference. For more detailed information about these Linux capabilities, see the capabilities(7) Linux manual page.

", + "base": "

The Linux capabilities to add or remove from the default Docker configuration for a container defined in the task definition. For more information about the default capabilities and the non-default available capabilities, see Runtime privilege and Linux capabilities in the Docker run reference. For more detailed information about these Linux capabilities, see the capabilities(7) Linux manual page.

", "refs": { "LinuxParameters$capabilities": "

The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.

For tasks that use the Fargate launch type, capabilities is supported for all platform versions but the add parameter is only supported if using platform version 1.4.0 or later.

" } @@ -1246,7 +1246,7 @@ "LaunchType": { "base": null, "refs": { - "CreateServiceRequest$launchType": "

The infrastructure that you run your service on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

The FARGATE launch type runs your tasks on Fargate On-Demand infrastructure.

Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see Fargate capacity providers in the Amazon ECS User Guide for Fargate.

The EC2 launch type runs your tasks on Amazon EC2 instances registered to your cluster.

The EXTERNAL launch type runs your tasks on your on-premises server or virtual machine (VM) capacity registered to your cluster.

A service can use either a launch type or a capacity provider strategy. If a launchType is specified, the capacityProviderStrategy parameter must be omitted.

", + "CreateServiceRequest$launchType": "

The infrastructure that you run your service on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

The FARGATE launch type runs your tasks on Fargate On-Demand infrastructure.

Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see Fargate capacity providers in the Amazon ECS Developer Guide.

The EC2 launch type runs your tasks on Amazon EC2 instances registered to your cluster.

The EXTERNAL launch type runs your tasks on your on-premises server or virtual machine (VM) capacity registered to your cluster.

A service can use either a launch type or a capacity provider strategy. If a launchType is specified, the capacityProviderStrategy parameter must be omitted.

", "CreateTaskSetRequest$launchType": "

The launch type that new tasks in the task set uses. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

If a launchType is specified, the capacityProviderStrategy parameter must be omitted.

", "Deployment$launchType": "

The launch type the tasks in the service are using. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

", "ListServicesRequest$launchType": "

The launch type to use when filtering the ListServices results.

", @@ -1666,7 +1666,7 @@ "PropagateTags": { "base": null, "refs": { - "CreateServiceRequest$propagateTags": "

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the TagResource API action.

The default is NONE.

", + "CreateServiceRequest$propagateTags": "

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the TagResource API action.

You must set this to a value other than NONE when you use Cost Explorer. For more information, see Amazon ECS usage reports in the Amazon Elastic Container Service Developer Guide.

The default is NONE.

", "EBSTagSpecification$propagateTags": "

Determines whether to propagate the tags from the task definition to 
the Amazon EBS volume. Tags can only propagate to a SERVICE specified in 
ServiceVolumeConfiguration. If no value is specified, the tags aren't 
propagated.

", "RunTaskRequest$propagateTags": "

Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the task during task creation. To add tags to a task after task creation, use the TagResource API action.

An error will be received if you specify the SERVICE option when running a task.

", "Service$propagateTags": "

Determines whether to propagate the tags from the task definition or the service to the task. If no value is specified, the tags aren't propagated.

", diff --git a/models/apis/emr-containers/2020-10-01/api-2.json b/models/apis/emr-containers/2020-10-01/api-2.json index 74c224c6516..ac688afc463 100644 --- a/models/apis/emr-containers/2020-10-01/api-2.json +++ b/models/apis/emr-containers/2020-10-01/api-2.json @@ -1420,7 +1420,7 @@ "type":"map", "key":{"shape":"TemplateParameterName"}, "value":{"shape":"TemplateParameterConfiguration"}, - "max":20 + "max":100 }, "TemplateParameterDataType":{ "type":"string", @@ -1433,7 +1433,7 @@ "type":"map", "key":{"shape":"TemplateParameterName"}, "value":{"shape":"String1024"}, - "max":20 + "max":100 }, "TemplateParameterName":{ "type":"string", diff --git a/models/apis/emr-containers/2020-10-01/endpoint-rule-set-1.json b/models/apis/emr-containers/2020-10-01/endpoint-rule-set-1.json index 0e8ad5021dd..8bbec487bab 100644 --- a/models/apis/emr-containers/2020-10-01/endpoint-rule-set-1.json +++ b/models/apis/emr-containers/2020-10-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://emr-containers-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://emr-containers-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://emr-containers.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://emr-containers.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/globalaccelerator/2018-08-08/api-2.json b/models/apis/globalaccelerator/2018-08-08/api-2.json index 08142a2a4a7..c7523151282 100644 --- a/models/apis/globalaccelerator/2018-08-08/api-2.json +++ b/models/apis/globalaccelerator/2018-08-08/api-2.json @@ -1283,6 +1283,7 @@ "type":"structure", "members":{ "EndpointId":{"shape":"GenericString"}, + "Cidr":{"shape":"GenericString"}, "AttachmentArn":{"shape":"GenericString"} } }, @@ -2198,9 +2199,9 @@ }, "Resource":{ "type":"structure", - "required":["EndpointId"], "members":{ "EndpointId":{"shape":"GenericString"}, + "Cidr":{"shape":"GenericString"}, "Region":{"shape":"GenericString"} } }, diff --git a/models/apis/globalaccelerator/2018-08-08/docs-2.json b/models/apis/globalaccelerator/2018-08-08/docs-2.json index 6befec98862..f8d71507f48 100644 --- a/models/apis/globalaccelerator/2018-08-08/docs-2.json +++ b/models/apis/globalaccelerator/2018-08-08/docs-2.json @@ -7,14 +7,14 @@ "AdvertiseByoipCidr": "

Advertises an IPv4 address range that is provisioned for use with your Amazon Web Services resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to Amazon Web Services because of propagation delays.

To stop advertising the BYOIP address range, use WithdrawByoipCidr.

For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

", "AllowCustomRoutingTraffic": "

Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive traffic for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or allow traffic to a specified list of destination IP addresses and ports in the subnet. Note that you cannot specify IP addresses or ports outside of the range that you configured for the endpoint group.

After you make changes, you can verify that the updates are complete by checking the status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.

", "CreateAccelerator": "

Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

", - "CreateCrossAccountAttachment": "

Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to add to accelerators in their own account the resources in your account that you also list in the attachment.

A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to add a resource listed in the attachment to an accelerator, you must sign in to an account specified as a principal. Then you can add the resources that are listed to any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can add as endpoints resources that are listed in the attachment.

", + "CreateCrossAccountAttachment": "

Create a cross-account attachment in Global Accelerator. You create a cross-account attachment to specify the principals who have permission to work with resources in accelerators in their own account. You specify, in the same attachment, the resources that are shared.

A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to work with a resource listed in the attachment, you must sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can work with resources that are listed in the attachment.

Specify each principal and resource separately. To specify two CIDR address pools, list them individually under Resources, and so on. For a command line operation, for example, you might use a statement like the following:

\"Resources\": [{\"Cidr\": \"169.254.60.0/24\"},{\"Cidr\": \"169.254.59.0/24\"}]

For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.

", "CreateCustomRoutingAccelerator": "

Create a custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands of Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints.

Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

", "CreateCustomRoutingEndpointGroup": "

Create an endpoint group for the specified listener for a custom routing accelerator. An endpoint group is a collection of endpoints in one Amazon Web Services Region.

", "CreateCustomRoutingListener": "

Create a listener to process inbound connections from clients to a custom routing accelerator. Connections arrive to assigned static IP addresses on the port range that you specify.

", "CreateEndpointGroup": "

Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one Amazon Web Services Region. A resource must be valid and active when you add it as an endpoint.

For more information about endpoint types and requirements for endpoints that you can add to Global Accelerator, see Endpoints for standard accelerators in the Global Accelerator Developer Guide.

", "CreateListener": "

Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned static IP addresses on a port, port range, or list of port ranges that you specify.

", "DeleteAccelerator": "

Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false.

When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.

The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.

", - "DeleteCrossAccountAttachment": "

Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources by doing the following:

If there are overlapping permissions provided by multiple cross-account attachments, Global Accelerator only removes endpoints if there are no current cross-account attachments that provide access permission. For example, if you delete a cross-account attachment that lists an accelerator as a principal, but another cross-account attachment includes the account ID that owns that accelerator, endpoints will not be removed from the accelerator.

", + "DeleteCrossAccountAttachment": "

Delete a cross-account attachment. When you delete an attachment, Global Accelerator revokes the permission to use the resources in the attachment from all principals in the list of principals. Global Accelerator revokes the permission for specific resources.

For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.

", "DeleteCustomRoutingAccelerator": "

Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false.

When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.

The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Identity and access management in the Global Accelerator Developer Guide.

", "DeleteCustomRoutingEndpointGroup": "

Delete an endpoint group from a listener for a custom routing accelerator.

", "DeleteCustomRoutingListener": "

Delete a listener for a custom routing accelerator.

", @@ -34,8 +34,8 @@ "ListAccelerators": "

List the accelerators for an Amazon Web Services account.

", "ListByoipCidrs": "

Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes.

", "ListCrossAccountAttachments": "

List the cross-account attachments that have been created in Global Accelerator.

", - "ListCrossAccountResourceAccounts": "

List the accounts that have cross-account endpoints.

", - "ListCrossAccountResources": "

List the cross-account endpoints available to add to an accelerator.

", + "ListCrossAccountResourceAccounts": "

List the accounts that have cross-account resources.

For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.

", + "ListCrossAccountResources": "

List the cross-account resources available to work with.

", "ListCustomRoutingAccelerators": "

List the custom routing accelerators for an Amazon Web Services account.

", "ListCustomRoutingEndpointGroups": "

List the endpoint groups that are associated with a listener for a custom routing accelerator.

", "ListCustomRoutingListeners": "

List the listeners for a custom routing accelerator.

", @@ -51,7 +51,7 @@ "UntagResource": "

Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed.

For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

", "UpdateAccelerator": "

Update an accelerator to make changes, such as the following:

Be aware that static IP addresses remain assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete the accelerator, you lose the static IP addresses that are assigned to it, so you can no longer route traffic by using them.

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the US West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2 on Amazon Web Services CLI commands.

", "UpdateAcceleratorAttributes": "

Update the attributes for an accelerator.

", - "UpdateCrossAccountAttachment": "

Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources by doing the following:

If there are overlapping permissions provided by multiple cross-account attachments, Global Accelerator only removes endpoints if there are no current cross-account attachments that provide access permission. For example, if you delete a cross-account attachment that lists an accelerator as a principal, but another cross-account attachment includes the account ID that owns that accelerator, endpoints will not be removed from the accelerator.

", + "UpdateCrossAccountAttachment": "

Update a cross-account attachment to add or remove principals or resources. When you update an attachment to remove a principal (account ID or accelerator) or a resource, Global Accelerator revokes the permission for specific resources.

For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.

", "UpdateCustomRoutingAccelerator": "

Update a custom routing accelerator.

", "UpdateCustomRoutingAcceleratorAttributes": "

Update the attributes for a custom routing accelerator.

", "UpdateCustomRoutingListener": "

Update a listener for a custom routing accelerator.

", @@ -161,7 +161,7 @@ } }, "Attachment": { - "base": "

A cross-account attachment in Global Accelerator. A cross-account attachment specifies the principals who have permission to add to accelerators in their own account the resources in your account that you also list in the attachment.

", + "base": "

A cross-account attachment in Global Accelerator. A cross-account attachment specifies the principals who have permission to work with resources in your account, which you also list in the attachment.

", "refs": { "Attachments$member": null, "CreateCrossAccountAttachmentResponse$CrossAccountAttachment": "

Information about the cross-account attachment.

", @@ -198,7 +198,7 @@ "AwsAccountIds": { "base": null, "refs": { - "ListCrossAccountResourceAccountsResponse$ResourceOwnerAwsAccountIds": "

The account IDs of principals (resource owners) in a cross-account attachment who can add endpoints (resources) listed in the same attachment.

" + "ListCrossAccountResourceAccountsResponse$ResourceOwnerAwsAccountIds": "

The account IDs of principals (resource owners) in a cross-account attachment who can work with resources listed in the same attachment.

" } }, "ByoipCidr": { @@ -208,7 +208,7 @@ "ByoipCidrs$member": null, "DeprovisionByoipCidrResponse$ByoipCidr": "

Information about the address range.

", "ProvisionByoipCidrResponse$ByoipCidr": "

Information about the address range.

", - "WithdrawByoipCidrResponse$ByoipCidr": "

Information about the address pool.

" + "WithdrawByoipCidrResponse$ByoipCidr": "

Information about the BYOIP address pool.

" } }, "ByoipCidrEvent": { @@ -330,7 +330,7 @@ } }, "CrossAccountResource": { - "base": "

An endpoint (Amazon Web Services resource) that is listed in a cross-account attachment and can be added to an accelerator by specified principals, that are also listed in the attachment.

", + "base": "

An endpoint (Amazon Web Services resource) or an IP address range, in CIDR format, that is listed in a cross-account attachment. A cross-account resource can be added to an accelerator by specified principals, which are also listed in the attachment.

For more information, see Working with cross-account attachments and resources in Global Accelerator in the Global Accelerator Developer Guide.

", "refs": { "CrossAccountResources$member": null } @@ -338,7 +338,7 @@ "CrossAccountResources": { "base": null, "refs": { - "ListCrossAccountResourcesResponse$CrossAccountResources": "

The endpoints attached to an accelerator in a cross-account attachment.

" + "ListCrossAccountResourcesResponse$CrossAccountResources": "

The cross-account resources used with an accelerator.

" } }, "CustomRoutingAccelerator": { @@ -779,11 +779,11 @@ "AddCustomRoutingEndpointsResponse$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.

", "AddEndpointsRequest$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", "AddEndpointsResponse$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", - "AdvertiseByoipCidrRequest$Cidr": "

The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.

", + "AdvertiseByoipCidrRequest$Cidr": "

The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.

For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

", "AllowCustomRoutingTrafficRequest$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", "AllowCustomRoutingTrafficRequest$EndpointId": "

An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.

", "Attachment$AttachmentArn": "

The Amazon Resource Name (ARN) of the cross-account attachment.

", - "ByoipCidr$Cidr": "

The address range, in CIDR notation.

", + "ByoipCidr$Cidr": "

The address range, in CIDR notation.

For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

", "ByoipCidrEvent$Message": "

A string that contains an Event message describing changes that you make in the status of an IP address range that you bring to Global Accelerator through bring your own IP address (BYOIP).

", "CidrAuthorizationContext$Message": "

The plain-text authorization message for the prefix and account.

", "CidrAuthorizationContext$Signature": "

The signed authorization message for the prefix and account.

", @@ -796,14 +796,15 @@ "CreateEndpointGroupRequest$EndpointGroupRegion": "

The Amazon Web Services Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.

", "CreateListenerRequest$AcceleratorArn": "

The Amazon Resource Name (ARN) of your accelerator.

", "CrossAccountResource$EndpointId": "

The endpoint ID for the endpoint that is listed in a cross-account attachment and can be added to an accelerator by specified principals.

", - "CrossAccountResource$AttachmentArn": "

The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.

", + "CrossAccountResource$Cidr": "

An IP address range, in CIDR format, that is specified as an Amazon Web Services resource. The address must be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator.

For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

", + "CrossAccountResource$AttachmentArn": "

The Amazon Resource Name (ARN) of the cross-account attachment that specifies the resources (endpoints or CIDR range) that can be added to accelerators and principals that have permission to add them.

", "CustomRoutingAccelerator$AcceleratorArn": "

The Amazon Resource Name (ARN) of the custom routing accelerator.

", "CustomRoutingAccelerator$Name": "

The name of the accelerator. The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.

", "CustomRoutingAccelerator$DnsName": "

The Domain Name System (DNS) name that Global Accelerator creates that points to an accelerator's static IPv4 addresses.

The naming convention for the DNS name is the following: A lowercase letter a, followed by a 16-bit random hex string, followed by .awsglobalaccelerator.com. For example: a1234567890abcdef.awsglobalaccelerator.com.

If you have a dual-stack accelerator, you also have a second DNS name, DualStackDnsName, that points to both the A record and the AAAA record for all four static addresses for the accelerator: two IPv4 addresses and two IPv6 addresses.

For more information about the default DNS name, see Support for DNS addressing in Global Accelerator in the Global Accelerator Developer Guide.

", "CustomRoutingAcceleratorAttributes$FlowLogsS3Bucket": "

The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.

", "CustomRoutingAcceleratorAttributes$FlowLogsS3Prefix": "

The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true.

If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:

DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id

", "CustomRoutingEndpointConfiguration$EndpointId": "

An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.

", - "CustomRoutingEndpointConfiguration$AttachmentArn": "

The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.

", + "CustomRoutingEndpointConfiguration$AttachmentArn": "

The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints.

", "CustomRoutingEndpointDescription$EndpointId": "

An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.

", "CustomRoutingEndpointGroup$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", "CustomRoutingEndpointGroup$EndpointGroupRegion": "

The Amazon Web Services Region where the endpoint group is located.

", @@ -817,7 +818,7 @@ "DeleteListenerRequest$ListenerArn": "

The Amazon Resource Name (ARN) of the listener.

", "DenyCustomRoutingTrafficRequest$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", "DenyCustomRoutingTrafficRequest$EndpointId": "

An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.

", - "DeprovisionByoipCidrRequest$Cidr": "

The address range, in CIDR notation. The prefix must be the same prefix that you specified when you provisioned the address range.

", + "DeprovisionByoipCidrRequest$Cidr": "

The address range, in CIDR notation. The prefix must be the same prefix that you specified when you provisioned the address range.

For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

", "DescribeAcceleratorAttributesRequest$AcceleratorArn": "

The Amazon Resource Name (ARN) of the accelerator with the attributes that you want to describe.

", "DescribeAcceleratorRequest$AcceleratorArn": "

The Amazon Resource Name (ARN) of the accelerator to describe.

", "DescribeCrossAccountAttachmentRequest$AttachmentArn": "

The Amazon Resource Name (ARN) for the cross-account attachment to describe.

", @@ -831,8 +832,8 @@ "DestinationPortMapping$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", "DestinationPortMapping$EndpointId": "

The ID for the virtual private cloud (VPC) subnet.

", "DestinationPortMapping$EndpointGroupRegion": "

The Amazon Web Services Region for the endpoint group.

", - "EndpointConfiguration$EndpointId": "

An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must be valid and active when you add it as an endpoint.

An Application Load Balancer can be either internal or internet-facing.

", - "EndpointConfiguration$AttachmentArn": "

The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints to accelerators.

", + "EndpointConfiguration$EndpointId": "

An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must be valid and active when you add it as an endpoint.

For cross-account endpoints, this must be the ARN of the resource.

", + "EndpointConfiguration$AttachmentArn": "

The Amazon Resource Name (ARN) of the cross-account attachment that specifies the endpoints (resources) that can be added to accelerators and principals that have permission to add the endpoints.

", "EndpointDescription$EndpointId": "

An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For Amazon EC2 instances, this is the EC2 instance ID.

An Application Load Balancer can be either internal or internet-facing.

", "EndpointDescription$HealthReason": "

Returns a null result.

", "EndpointGroup$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", @@ -874,11 +875,12 @@ "Listener$ListenerArn": "

The Amazon Resource Name (ARN) of the listener.

", "PortMapping$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", "PortMapping$EndpointId": "

The IP address of the VPC subnet (the subnet ID).

", - "ProvisionByoipCidrRequest$Cidr": "

The public IPv4 address range, in CIDR notation. The most specific IP prefix that you can specify is /24. The address range cannot overlap with another address range that you've brought to this or another Region.

", + "ProvisionByoipCidrRequest$Cidr": "

The public IPv4 address range, in CIDR notation. The most specific IP prefix that you can specify is /24. The address range cannot overlap with another address range that you've brought to this Amazon Web Services Region or another Region.

For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

", "RemoveCustomRoutingEndpointsRequest$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group to remove endpoints from.

", "RemoveEndpointsRequest$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", - "Resource$EndpointId": "

The endpoint ID for the endpoint (Amazon Web Services resource).

", - "Resource$Region": "

The Amazon Web Services Region where a resource is located.

", + "Resource$EndpointId": "

The endpoint ID for the endpoint that is specified as a Amazon Web Services resource.

An endpoint ID for the cross-account feature is the ARN of an Amazon Web Services resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.

", + "Resource$Cidr": "

An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator

For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

", + "Resource$Region": "

The Amazon Web Services Region where a shared endpoint resource is located.

", "SocketAddress$IpAddress": "

The IP address for the socket address.

", "UpdateAcceleratorAttributesRequest$AcceleratorArn": "

The Amazon Resource Name (ARN) of the accelerator that you want to update.

", "UpdateAcceleratorAttributesRequest$FlowLogsS3Bucket": "

The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket.

", @@ -894,7 +896,7 @@ "UpdateCustomRoutingListenerRequest$ListenerArn": "

The Amazon Resource Name (ARN) of the listener to update.

", "UpdateEndpointGroupRequest$EndpointGroupArn": "

The Amazon Resource Name (ARN) of the endpoint group.

", "UpdateListenerRequest$ListenerArn": "

The Amazon Resource Name (ARN) of the listener to update.

", - "WithdrawByoipCidrRequest$Cidr": "

The address range, in CIDR notation.

" + "WithdrawByoipCidrRequest$Cidr": "

The address range, in CIDR notation.

For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.

" } }, "HealthCheckIntervalSeconds": { @@ -1179,7 +1181,7 @@ "ListAcceleratorsRequest$MaxResults": "

The number of Global Accelerator objects that you want to return with this call. The default value is 10.

", "ListByoipCidrsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "ListCrossAccountAttachmentsRequest$MaxResults": "

The number of cross-account attachment objects that you want to return with this call. The default value is 10.

", - "ListCrossAccountResourcesRequest$MaxResults": "

The number of cross-account endpoints objects that you want to return with this call. The default value is 10.

", + "ListCrossAccountResourcesRequest$MaxResults": "

The number of cross-account resource objects that you want to return with this call. The default value is 10.

", "ListCustomRoutingAcceleratorsRequest$MaxResults": "

The number of custom routing Global Accelerator objects that you want to return with this call. The default value is 10.

", "ListCustomRoutingEndpointGroupsRequest$MaxResults": "

The number of endpoint group objects that you want to return with this call. The default value is 10.

", "ListCustomRoutingListenersRequest$MaxResults": "

The number of listener objects that you want to return with this call. The default value is 10.

", @@ -1263,9 +1265,9 @@ "base": null, "refs": { "Attachment$Principals": "

The principals included in the cross-account attachment.

", - "CreateCrossAccountAttachmentRequest$Principals": "

The principals to list in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.

", - "UpdateCrossAccountAttachmentRequest$AddPrincipals": "

The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to add the resources from another account, listed in the attachment.

To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.

", - "UpdateCrossAccountAttachmentRequest$RemovePrincipals": "

The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that is given permission to add the resources from another account, listed in the cross-account attachment.

To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.

" + "CreateCrossAccountAttachmentRequest$Principals": "

The principals to include in the cross-account attachment. A principal can be an Amazon Web Services account number or the Amazon Resource Name (ARN) for an accelerator.

", + "UpdateCrossAccountAttachmentRequest$AddPrincipals": "

The principals to add to the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.

To add more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.

", + "UpdateCrossAccountAttachmentRequest$RemovePrincipals": "

The principals to remove from the cross-account attachment. A principal is an account or the Amazon Resource Name (ARN) of an accelerator that the attachment gives permission to work with resources from another account. The resources are also listed in the attachment.

To remove more than one principal, separate the account numbers or accelerator ARNs, or both, with commas.

" } }, "Protocol": { @@ -1304,7 +1306,7 @@ } }, "Resource": { - "base": "

An Amazon Web Services resource that is supported by Global Accelerator and can be added as an endpoint for an accelerator.

", + "base": "

A resource is one of the following: the ARN for an Amazon Web Services resource that is supported by Global Accelerator to be added as an endpoint, or a CIDR range that specifies a bring your own IP (BYOIP) address pool.

", "refs": { "Resources$member": null } @@ -1321,9 +1323,9 @@ "base": null, "refs": { "Attachment$Resources": "

The resources included in the cross-account attachment.

", - "CreateCrossAccountAttachmentRequest$Resources": "

The Amazon Resource Names (ARNs) for the resources to list in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator.

", - "UpdateCrossAccountAttachmentRequest$AddResources": "

The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be added to an accelerator by the principals that are listed in the attachment.

To add more than one resource, separate the resource ARNs with commas.

", - "UpdateCrossAccountAttachmentRequest$RemoveResources": "

The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be added to an accelerator fy principals that are listed in the cross-account attachment.

To remove more than one resource, separate the resource ARNs with commas.

" + "CreateCrossAccountAttachmentRequest$Resources": "

The Amazon Resource Names (ARNs) for the resources to include in the cross-account attachment. A resource can be any supported Amazon Web Services resource type for Global Accelerator or a CIDR range for a bring your own IP address (BYOIP) address pool.

", + "UpdateCrossAccountAttachmentRequest$AddResources": "

The resources to add to the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.

To add more than one resource, separate the resource ARNs with commas.

", + "UpdateCrossAccountAttachmentRequest$RemoveResources": "

The resources to remove from the cross-account attachment. A resource listed in a cross-account attachment can be used with an accelerator by the principals that are listed in the attachment.

To remove more than one resource, separate the resource ARNs with commas.

" } }, "SocketAddress": { @@ -1379,7 +1381,7 @@ "base": null, "refs": { "CreateAcceleratorRequest$Tags": "

Create tags for an accelerator.

For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

", - "CreateCrossAccountAttachmentRequest$Tags": "

Create tags for cross-account attachment.

For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

", + "CreateCrossAccountAttachmentRequest$Tags": "

Add tags for a cross-account attachment.

For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

", "CreateCustomRoutingAcceleratorRequest$Tags": "

Create tags for an accelerator.

For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.

", "ListTagsForResourceResponse$Tags": "

Root level tag for the Tags parameters.

", "TagResourceRequest$Tags": "

The tags to add to a resource. A tag consists of a key and a value that you define.

" diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index a658733e851..daab8578105 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -7447,6 +7447,30 @@ "TimecodeBurninSettings": { "shape": "TimecodeBurninSettings", "locationName": "timecodeBurninSettings" + }, + "MvOverPictureBoundaries": { + "shape": "H265MvOverPictureBoundaries", + "locationName": "mvOverPictureBoundaries" + }, + "MvTemporalPredictor": { + "shape": "H265MvTemporalPredictor", + "locationName": "mvTemporalPredictor" + }, + "TileHeight": { + "shape": "__integerMin64Max2160", + "locationName": "tileHeight" + }, + "TilePadding": { + "shape": "H265TilePadding", + "locationName": "tilePadding" + }, + "TileWidth": { + "shape": "__integerMin256Max3840", + "locationName": "tileWidth" + }, + "TreeblockSize": { + "shape": "H265TreeblockSize", + "locationName": "treeblockSize" } }, "required": [ @@ -15148,6 +15172,44 @@ "member": { "shape": "ChannelPipelineIdToRestart" } + }, + "H265MvOverPictureBoundaries": { + "type": "string", + "enum": [ + "DISABLED", + "ENABLED" + ] + }, + "H265MvTemporalPredictor": { + "type": "string", + "enum": [ + "DISABLED", + "ENABLED" + ] + }, + "H265TilePadding": { + "type": "string", + "enum": [ + "NONE", + "PADDED" + ] + }, + "H265TreeblockSize": { + "type": "string", + "enum": [ + "AUTO", + "TREE_SIZE_32X32" + ] + }, + "__integerMin256Max3840": { + "type": "integer", + "min": 256, + "max": 3840 + }, + "__integerMin64Max2160": { + "type": "integer", + "min": 64, + "max": 2160 } } } diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index 308b1b58338..ff4edc76a69 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -5114,6 +5114,42 @@ "refs": { "RestartChannelPipelinesRequest$PipelineIds": "An array of pipelines to restart in this channel. Format PIPELINE_0 or PIPELINE_1." } + }, + "H265MvOverPictureBoundaries": { + "base": "H265 Mv Over Picture Boundaries", + "refs": { + "H265Settings$MvOverPictureBoundaries": "If you are setting up the picture as a tile, you must set this to \"disabled\". In all other configurations, you typically enter \"enabled\"." + } + }, + "H265MvTemporalPredictor": { + "base": "H265 Mv Temporal Predictor", + "refs": { + "H265Settings$MvTemporalPredictor": "If you are setting up the picture as a tile, you must set this to \"disabled\". In other configurations, you typically enter \"enabled\"." + } + }, + "H265TilePadding": { + "base": "H265 Tile Padding", + "refs": { + "H265Settings$TilePadding": "Set to \"padded\" to force MediaLive to add padding to the frame, to obtain a frame that is a whole multiple of the tile size.\nIf you are setting up the picture as a tile, you must enter \"padded\".\nIn all other configurations, you typically enter \"none\"." + } + }, + "H265TreeblockSize": { + "base": "H265 Treeblock Size", + "refs": { + "H265Settings$TreeblockSize": "Select the tree block size used for encoding. If you enter \"auto\", the encoder will pick the best size. If you are setting up the picture as a tile, you must set this to 32x32. In all other configurations, you typically enter \"auto\"." + } + }, + "__integerMin256Max3840": { + "base": null, + "refs": { + "H265Settings$TileWidth": "Set this field to set up the picture as a tile. See tileHeight for more information." + } + }, + "__integerMin64Max2160": { + "base": null, + "refs": { + "H265Settings$TileHeight": "Set this field to set up the picture as a tile. You must also set tileWidth.\nThe tile height must result in 22 or fewer rows in the frame. The tile width\nmust result in 20 or fewer columns in the frame. And finally, the product of the\ncolumn count and row count must be 64 of less.\nIf the tile width and height are specified, MediaLive will override the video\ncodec slices field with a value that MediaLive calculates" + } } }, "documentation": "API for AWS Elemental MediaLive" diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index 921f73a4284..ede0ac8c100 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -4027,7 +4027,89 @@ "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", - "ml.trn1n.32xlarge" + "ml.trn1n.32xlarge", + "ml.p5.48xlarge", + "ml.m6i.large", + "ml.m6i.xlarge", + "ml.m6i.2xlarge", + "ml.m6i.4xlarge", + "ml.m6i.8xlarge", + "ml.m6i.12xlarge", + "ml.m6i.16xlarge", + "ml.m6i.24xlarge", + "ml.m6i.32xlarge", + "ml.m7i.large", + "ml.m7i.xlarge", + "ml.m7i.2xlarge", + "ml.m7i.4xlarge", + "ml.m7i.8xlarge", + "ml.m7i.12xlarge", + "ml.m7i.16xlarge", + "ml.m7i.24xlarge", + "ml.m7i.48xlarge", + "ml.c6i.large", + "ml.c6i.xlarge", + "ml.c6i.2xlarge", + "ml.c6i.4xlarge", + "ml.c6i.8xlarge", + "ml.c6i.12xlarge", + "ml.c6i.16xlarge", + "ml.c6i.24xlarge", + "ml.c6i.32xlarge", + "ml.c7i.large", + "ml.c7i.xlarge", + "ml.c7i.2xlarge", + "ml.c7i.4xlarge", + "ml.c7i.8xlarge", + "ml.c7i.12xlarge", + "ml.c7i.16xlarge", + "ml.c7i.24xlarge", + "ml.c7i.48xlarge", + "ml.r6i.large", + "ml.r6i.xlarge", + "ml.r6i.2xlarge", + "ml.r6i.4xlarge", + "ml.r6i.8xlarge", + "ml.r6i.12xlarge", + "ml.r6i.16xlarge", + "ml.r6i.24xlarge", + "ml.r6i.32xlarge", + "ml.r7i.large", + "ml.r7i.xlarge", + "ml.r7i.2xlarge", + "ml.r7i.4xlarge", + "ml.r7i.8xlarge", + "ml.r7i.12xlarge", + "ml.r7i.16xlarge", + "ml.r7i.24xlarge", + "ml.r7i.48xlarge", + "ml.m6id.large", + "ml.m6id.xlarge", + "ml.m6id.2xlarge", + "ml.m6id.4xlarge", + "ml.m6id.8xlarge", + "ml.m6id.12xlarge", + "ml.m6id.16xlarge", + "ml.m6id.24xlarge", + "ml.m6id.32xlarge", + "ml.c6id.large", + "ml.c6id.xlarge", + "ml.c6id.2xlarge", + "ml.c6id.4xlarge", + "ml.c6id.8xlarge", + "ml.c6id.12xlarge", + "ml.c6id.16xlarge", + "ml.c6id.24xlarge", + "ml.c6id.32xlarge", + "ml.r6id.large", + "ml.r6id.xlarge", + "ml.r6id.2xlarge", + "ml.r6id.4xlarge", + "ml.r6id.8xlarge", + "ml.r6id.12xlarge", + "ml.r6id.16xlarge", + "ml.r6id.24xlarge", + "ml.r6id.32xlarge" ] }, "AppList":{ diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 5b2605689ac..84797a956e6 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -24732,6 +24732,11 @@ } } }, + "models-v2-lex" : { + "endpoints" : { + "us-gov-west-1" : { } + } + }, "models.lex" : { "defaults" : { "credentialScope" : { @@ -25384,6 +25389,11 @@ } } }, + "runtime-v2-lex" : { + "endpoints" : { + "us-gov-west-1" : { } + } + }, "runtime.lex" : { "defaults" : { "credentialScope" : { diff --git a/service/codebuild/api.go b/service/codebuild/api.go index 485f5b9fa89..cd306585ac0 100644 --- a/service/codebuild/api.go +++ b/service/codebuild/api.go @@ -9692,6 +9692,8 @@ type FleetStatus struct { // // * ROTATING: The compute fleet is being rotated. // + // * PENDING_DELETION: The compute fleet is pending deletion. + // // * DELETING: The compute fleet is being deleted. // // * CREATE_FAILED: The compute fleet has failed to create. @@ -13449,6 +13451,19 @@ type ProjectSource struct { // console.) To instruct CodeBuild to use this connection, in the source // object, set the auth object's type value to OAUTH. // + // * For source code in an GitLab or self-managed GitLab repository, the + // HTTPS clone URL to the repository that contains the source and the buildspec + // file. You must connect your Amazon Web Services account to your GitLab + // account. Use the CodeBuild console to start creating a build project. + // When you use the console to connect (or reconnect) with GitLab, on the + // Connections Authorize application page, choose Authorize. Then on the + // CodeStar Connections Create GitLab connection page, choose Connect to + // GitLab. (After you have connected to your GitLab account, you do not need + // to finish creating the build project. You can leave the CodeBuild console.) + // To instruct CodeBuild to override the default connection and use this + // connection instead, set the auth object's type value to CODECONNECTIONS + // in the source object. + // // * For source code in a Bitbucket repository, the HTTPS clone URL to the // repository that contains the source and the buildspec file. You must connect // your Amazon Web Services account to your Bitbucket account. Use the CodeBuild @@ -13466,8 +13481,9 @@ type ProjectSource struct { // Set to true to report the status of a build's start and finish to your source // provider. This option is valid only when your source provider is GitHub, - // GitHub Enterprise, or Bitbucket. If this is set and you use a different source - // provider, an invalidInputException is thrown. + // GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket. If this is + // set and you use a different source provider, an invalidInputException is + // thrown. // // To be able to report the build status to the source provider, the user associated // with the source provider must have write access to the repo. If the user @@ -13496,11 +13512,15 @@ type ProjectSource struct { // * CODEPIPELINE: The source code settings are specified in the source action // of a pipeline in CodePipeline. // - // * GITHUB: The source code is in a GitHub or GitHub Enterprise Cloud repository. + // * GITHUB: The source code is in a GitHub repository. // // * GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server // repository. // + // * GITLAB: The source code is in a GitLab repository. + // + // * GITLAB_SELF_MANAGED: The source code is in a self-managed GitLab repository. + // // * NO_SOURCE: The project does not have input source code. // // * S3: The source code is in an Amazon S3 bucket. @@ -13626,9 +13646,9 @@ type ProjectSourceVersion struct { // // * For CodeCommit: the commit ID, branch, or Git tag to use. // - // * For GitHub: the commit ID, pull request ID, branch name, or tag name - // that corresponds to the version of the source code you want to build. - // If a pull request ID is specified, it must use the format pr/pull-request-ID + // * For GitHub or GitLab: the commit ID, pull request ID, branch name, or + // tag name that corresponds to the version of the source code you want to + // build. If a pull request ID is specified, it must use the format pr/pull-request-ID // (for example, pr/25). If a branch name is specified, the branch's HEAD // commit ID is used. If not specified, the default branch's HEAD commit // ID is used. @@ -15037,11 +15057,7 @@ type SourceAuth struct { // The resource value that applies to the specified authorization type. Resource *string `locationName:"resource" type:"string"` - // - // This data type is deprecated and is no longer accurate or used. - // - // The authorization type to use. The only valid value is OAUTH, which represents - // the OAuth authorization type. + // The authorization type to use. Valid options are OAUTH or CODECONNECTIONS. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"SourceAuthType"` @@ -15090,8 +15106,8 @@ func (s *SourceAuth) SetType(v string) *SourceAuth { return s } -// Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket -// repository. +// Information about the credentials for a GitHub, GitHub Enterprise, GitLab, +// GitLab Self Managed, or Bitbucket repository. type SourceCredentialsInfo struct { _ struct{} `type:"structure"` @@ -15099,11 +15115,15 @@ type SourceCredentialsInfo struct { Arn *string `locationName:"arn" min:"1" type:"string"` // The type of authentication used by the credentials. Valid options are OAUTH, - // BASIC_AUTH, or PERSONAL_ACCESS_TOKEN. + // BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS. AuthType *string `locationName:"authType" type:"string" enum:"AuthType"` + // The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED + // and your authType is CODECONNECTIONS. + Resource *string `locationName:"resource" type:"string"` + // The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, - // or BITBUCKET. + // GITLAB, GITLAB_SELF_MANAGED, or BITBUCKET. ServerType *string `locationName:"serverType" type:"string" enum:"ServerType"` } @@ -15137,6 +15157,12 @@ func (s *SourceCredentialsInfo) SetAuthType(v string) *SourceCredentialsInfo { return s } +// SetResource sets the Resource field's value. +func (s *SourceCredentialsInfo) SetResource(v string) *SourceCredentialsInfo { + s.Resource = &v + return s +} + // SetServerType sets the ServerType field's value. func (s *SourceCredentialsInfo) SetServerType(v string) *SourceCredentialsInfo { s.ServerType = &v @@ -18054,6 +18080,9 @@ const ( // AuthTypePersonalAccessToken is a AuthType enum value AuthTypePersonalAccessToken = "PERSONAL_ACCESS_TOKEN" + + // AuthTypeCodeconnections is a AuthType enum value + AuthTypeCodeconnections = "CODECONNECTIONS" ) // AuthType_Values returns all elements of the AuthType enum @@ -18062,6 +18091,7 @@ func AuthType_Values() []string { AuthTypeOauth, AuthTypeBasicAuth, AuthTypePersonalAccessToken, + AuthTypeCodeconnections, } } @@ -18849,6 +18879,12 @@ const ( // ServerTypeGithubEnterprise is a ServerType enum value ServerTypeGithubEnterprise = "GITHUB_ENTERPRISE" + + // ServerTypeGitlab is a ServerType enum value + ServerTypeGitlab = "GITLAB" + + // ServerTypeGitlabSelfManaged is a ServerType enum value + ServerTypeGitlabSelfManaged = "GITLAB_SELF_MANAGED" ) // ServerType_Values returns all elements of the ServerType enum @@ -18857,6 +18893,8 @@ func ServerType_Values() []string { ServerTypeGithub, ServerTypeBitbucket, ServerTypeGithubEnterprise, + ServerTypeGitlab, + ServerTypeGitlabSelfManaged, } } @@ -18895,12 +18933,16 @@ func SortOrderType_Values() []string { const ( // SourceAuthTypeOauth is a SourceAuthType enum value SourceAuthTypeOauth = "OAUTH" + + // SourceAuthTypeCodeconnections is a SourceAuthType enum value + SourceAuthTypeCodeconnections = "CODECONNECTIONS" ) // SourceAuthType_Values returns all elements of the SourceAuthType enum func SourceAuthType_Values() []string { return []string{ SourceAuthTypeOauth, + SourceAuthTypeCodeconnections, } } @@ -18914,6 +18956,12 @@ const ( // SourceTypeGithub is a SourceType enum value SourceTypeGithub = "GITHUB" + // SourceTypeGitlab is a SourceType enum value + SourceTypeGitlab = "GITLAB" + + // SourceTypeGitlabSelfManaged is a SourceType enum value + SourceTypeGitlabSelfManaged = "GITLAB_SELF_MANAGED" + // SourceTypeS3 is a SourceType enum value SourceTypeS3 = "S3" @@ -18933,6 +18981,8 @@ func SourceType_Values() []string { SourceTypeCodecommit, SourceTypeCodepipeline, SourceTypeGithub, + SourceTypeGitlab, + SourceTypeGitlabSelfManaged, SourceTypeS3, SourceTypeBitbucket, SourceTypeGithubEnterprise, diff --git a/service/ec2/api.go b/service/ec2/api.go index dd8b128ffbd..e571e38a6c8 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -41157,6 +41157,84 @@ func (c *EC2) GetImageBlockPublicAccessStateWithContext(ctx aws.Context, input * return out, req.Send() } +const opGetInstanceMetadataDefaults = "GetInstanceMetadataDefaults" + +// GetInstanceMetadataDefaultsRequest generates a "aws/request.Request" representing the +// client's request for the GetInstanceMetadataDefaults operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetInstanceMetadataDefaults for more information on using the GetInstanceMetadataDefaults +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the GetInstanceMetadataDefaultsRequest method. +// req, resp := client.GetInstanceMetadataDefaultsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceMetadataDefaults +func (c *EC2) GetInstanceMetadataDefaultsRequest(input *GetInstanceMetadataDefaultsInput) (req *request.Request, output *GetInstanceMetadataDefaultsOutput) { + op := &request.Operation{ + Name: opGetInstanceMetadataDefaults, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetInstanceMetadataDefaultsInput{} + } + + output = &GetInstanceMetadataDefaultsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetInstanceMetadataDefaults API operation for Amazon Elastic Compute Cloud. +// +// Gets the default instance metadata service (IMDS) settings that are set at +// the account level in the specified Amazon Web Services Region. +// +// For more information, see Order of precedence for instance metadata options +// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence) +// in the Amazon EC2 User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation GetInstanceMetadataDefaults for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceMetadataDefaults +func (c *EC2) GetInstanceMetadataDefaults(input *GetInstanceMetadataDefaultsInput) (*GetInstanceMetadataDefaultsOutput, error) { + req, out := c.GetInstanceMetadataDefaultsRequest(input) + return out, req.Send() +} + +// GetInstanceMetadataDefaultsWithContext is the same as GetInstanceMetadataDefaults with the addition of +// the ability to pass a context and additional request options. +// +// See GetInstanceMetadataDefaults for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) GetInstanceMetadataDefaultsWithContext(ctx aws.Context, input *GetInstanceMetadataDefaultsInput, opts ...request.Option) (*GetInstanceMetadataDefaultsOutput, error) { + req, out := c.GetInstanceMetadataDefaultsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetInstanceTypesFromInstanceRequirements = "GetInstanceTypesFromInstanceRequirements" // GetInstanceTypesFromInstanceRequirementsRequest generates a "aws/request.Request" representing the @@ -47166,6 +47244,86 @@ func (c *EC2) ModifyInstanceMaintenanceOptionsWithContext(ctx aws.Context, input return out, req.Send() } +const opModifyInstanceMetadataDefaults = "ModifyInstanceMetadataDefaults" + +// ModifyInstanceMetadataDefaultsRequest generates a "aws/request.Request" representing the +// client's request for the ModifyInstanceMetadataDefaults operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ModifyInstanceMetadataDefaults for more information on using the ModifyInstanceMetadataDefaults +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// // Example sending a request using the ModifyInstanceMetadataDefaultsRequest method. +// req, resp := client.ModifyInstanceMetadataDefaultsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMetadataDefaults +func (c *EC2) ModifyInstanceMetadataDefaultsRequest(input *ModifyInstanceMetadataDefaultsInput) (req *request.Request, output *ModifyInstanceMetadataDefaultsOutput) { + op := &request.Operation{ + Name: opModifyInstanceMetadataDefaults, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyInstanceMetadataDefaultsInput{} + } + + output = &ModifyInstanceMetadataDefaultsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyInstanceMetadataDefaults API operation for Amazon Elastic Compute Cloud. +// +// Modifies the default instance metadata service (IMDS) settings at the account +// level in the specified Amazon Web Services Region. +// +// To remove a parameter's account-level default setting, specify no-preference. +// At instance launch, the value will come from the AMI, or from the launch +// parameter if specified. For more information, see Order of precedence for +// instance metadata options (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence) +// in the Amazon EC2 User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation ModifyInstanceMetadataDefaults for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMetadataDefaults +func (c *EC2) ModifyInstanceMetadataDefaults(input *ModifyInstanceMetadataDefaultsInput) (*ModifyInstanceMetadataDefaultsOutput, error) { + req, out := c.ModifyInstanceMetadataDefaultsRequest(input) + return out, req.Send() +} + +// ModifyInstanceMetadataDefaultsWithContext is the same as ModifyInstanceMetadataDefaults with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyInstanceMetadataDefaults for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) ModifyInstanceMetadataDefaultsWithContext(ctx aws.Context, input *ModifyInstanceMetadataDefaultsInput, opts ...request.Option) (*ModifyInstanceMetadataDefaultsOutput, error) { + req, out := c.ModifyInstanceMetadataDefaultsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyInstanceMetadataOptions = "ModifyInstanceMetadataOptions" // ModifyInstanceMetadataOptionsRequest generates a "aws/request.Request" representing the @@ -125967,6 +126125,71 @@ func (s *GetImageBlockPublicAccessStateOutput) SetImageBlockPublicAccessState(v return s } +type GetInstanceMetadataDefaultsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetInstanceMetadataDefaultsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetInstanceMetadataDefaultsInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *GetInstanceMetadataDefaultsInput) SetDryRun(v bool) *GetInstanceMetadataDefaultsInput { + s.DryRun = &v + return s +} + +type GetInstanceMetadataDefaultsOutput struct { + _ struct{} `type:"structure"` + + // The account-level default IMDS settings. + AccountLevel *InstanceMetadataDefaultsResponse `locationName:"accountLevel" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetInstanceMetadataDefaultsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetInstanceMetadataDefaultsOutput) GoString() string { + return s.String() +} + +// SetAccountLevel sets the AccountLevel field's value. +func (s *GetInstanceMetadataDefaultsOutput) SetAccountLevel(v *InstanceMetadataDefaultsResponse) *GetInstanceMetadataDefaultsOutput { + s.AccountLevel = v + return s +} + type GetInstanceTypesFromInstanceRequirementsInput struct { _ struct{} `type:"structure"` @@ -131587,8 +131810,7 @@ type Image struct { // The location of the AMI. ImageLocation *string `locationName:"imageLocation" type:"string"` - // The Amazon Web Services account alias (for example, amazon, self) or the - // Amazon Web Services account ID of the AMI owner. + // The owner alias (amazon | aws-marketplace). ImageOwnerAlias *string `locationName:"imageOwnerAlias" type:"string"` // The type of image. @@ -135611,6 +135833,76 @@ func (s *InstanceMarketOptionsRequest) SetSpotOptions(v *SpotMarketOptions) *Ins return s } +// The default instance metadata service (IMDS) settings that were set at the +// account level in the specified Amazon Web Services Region. +type InstanceMetadataDefaultsResponse struct { + _ struct{} `type:"structure"` + + // Indicates whether the IMDS endpoint for an instance is enabled or disabled. + // When disabled, the instance metadata can't be accessed. + HttpEndpoint *string `locationName:"httpEndpoint" type:"string" enum:"InstanceMetadataEndpointState"` + + // The maximum number of hops that the metadata token can travel. + HttpPutResponseHopLimit *int64 `locationName:"httpPutResponseHopLimit" type:"integer"` + + // Indicates whether IMDSv2 is required. + // + // * optional – IMDSv2 is optional, which means that you can use either + // IMDSv2 or IMDSv1. + // + // * required – IMDSv2 is required, which means that IMDSv1 is disabled, + // and you must use IMDSv2. + HttpTokens *string `locationName:"httpTokens" type:"string" enum:"HttpTokensState"` + + // Indicates whether access to instance tags from the instance metadata is enabled + // or disabled. For more information, see Work with instance tags using the + // instance metadata (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS) + // in the Amazon EC2 User Guide. + InstanceMetadataTags *string `locationName:"instanceMetadataTags" type:"string" enum:"InstanceMetadataTagsState"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InstanceMetadataDefaultsResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s InstanceMetadataDefaultsResponse) GoString() string { + return s.String() +} + +// SetHttpEndpoint sets the HttpEndpoint field's value. +func (s *InstanceMetadataDefaultsResponse) SetHttpEndpoint(v string) *InstanceMetadataDefaultsResponse { + s.HttpEndpoint = &v + return s +} + +// SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value. +func (s *InstanceMetadataDefaultsResponse) SetHttpPutResponseHopLimit(v int64) *InstanceMetadataDefaultsResponse { + s.HttpPutResponseHopLimit = &v + return s +} + +// SetHttpTokens sets the HttpTokens field's value. +func (s *InstanceMetadataDefaultsResponse) SetHttpTokens(v string) *InstanceMetadataDefaultsResponse { + s.HttpTokens = &v + return s +} + +// SetInstanceMetadataTags sets the InstanceMetadataTags field's value. +func (s *InstanceMetadataDefaultsResponse) SetInstanceMetadataTags(v string) *InstanceMetadataDefaultsResponse { + s.InstanceMetadataTags = &v + return s +} + // The metadata options for the instance. type InstanceMetadataOptionsRequest struct { _ struct{} `type:"structure"` @@ -135627,29 +135919,33 @@ type InstanceMetadataOptionsRequest struct { // Default: disabled HttpProtocolIpv6 *string `type:"string" enum:"InstanceMetadataProtocolState"` - // The desired HTTP PUT response hop limit for instance metadata requests. The - // larger the number, the further instance metadata requests can travel. - // - // Default: 1 + // The maximum number of hops that the metadata token can travel. // // Possible values: Integers from 1 to 64 HttpPutResponseHopLimit *int64 `type:"integer"` // Indicates whether IMDSv2 is required. // - // * optional - IMDSv2 is optional. You can choose whether to send a session - // token in your instance metadata retrieval requests. If you retrieve IAM - // role credentials without a session token, you receive the IMDSv1 role - // credentials. If you retrieve IAM role credentials using a valid session - // token, you receive the IMDSv2 role credentials. + // * optional - IMDSv2 is optional, which means that you can use either IMDSv2 + // or IMDSv1. // - // * required - IMDSv2 is required. You must send a session token in your - // instance metadata retrieval requests. With this option, retrieving the - // IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials - // are not available. + // * required - IMDSv2 is required, which means that IMDSv1 is disabled, + // and you must use IMDSv2. // - // Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for - // your instance is v2.0, the default is required. + // Default: + // + // * If the value of ImdsSupport for the Amazon Machine Image (AMI) for your + // instance is v2.0 and the account level default is set to no-preference, + // the default is required. + // + // * If the value of ImdsSupport for the Amazon Machine Image (AMI) for your + // instance is v2.0, but the account level default is set to V1 or V2, the + // default is optional. + // + // The default value can also be affected by other combinations of parameters. + // For more information, see Order of precedence for instance metadata options + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence) + // in the Amazon EC2 User Guide. HttpTokens *string `type:"string" enum:"HttpTokensState"` // Set to enabled to allow access to instance tags from the instance metadata. @@ -135725,26 +136021,18 @@ type InstanceMetadataOptionsResponse struct { // Default: disabled HttpProtocolIpv6 *string `locationName:"httpProtocolIpv6" type:"string" enum:"InstanceMetadataProtocolState"` - // The desired HTTP PUT response hop limit for instance metadata requests. The - // larger the number, the further instance metadata requests can travel. - // - // Default: 1 + // The maximum number of hops that the metadata token can travel. // // Possible values: Integers from 1 to 64 HttpPutResponseHopLimit *int64 `locationName:"httpPutResponseHopLimit" type:"integer"` // Indicates whether IMDSv2 is required. // - // * optional - IMDSv2 is optional. You can choose whether to send a session - // token in your instance metadata retrieval requests. If you retrieve IAM - // role credentials without a session token, you receive the IMDSv1 role - // credentials. If you retrieve IAM role credentials using a valid session - // token, you receive the IMDSv2 role credentials. + // * optional - IMDSv2 is optional, which means that you can use either IMDSv2 + // or IMDSv1. // - // * required - IMDSv2 is required. You must send a session token in your - // instance metadata retrieval requests. With this option, retrieving the - // IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials - // are not available. + // * required - IMDSv2 is required, which means that IMDSv1 is disabled, + // and you must use IMDSv2. HttpTokens *string `locationName:"httpTokens" type:"string" enum:"HttpTokensState"` // Indicates whether access to instance tags from the instance metadata is enabled @@ -149795,6 +150083,122 @@ func (s *ModifyInstanceMaintenanceOptionsOutput) SetInstanceId(v string) *Modify return s } +type ModifyInstanceMetadataDefaultsInput struct { + _ struct{} `type:"structure"` + + // Checks whether you have the required permissions for the action, without + // actually making the request, and provides an error response. If you have + // the required permissions, the error response is DryRunOperation. Otherwise, + // it is UnauthorizedOperation. + DryRun *bool `type:"boolean"` + + // Enables or disables the IMDS endpoint on an instance. When disabled, the + // instance metadata can't be accessed. + HttpEndpoint *string `type:"string" enum:"DefaultInstanceMetadataEndpointState"` + + // The maximum number of hops that the metadata token can travel. + // + // Minimum: 1 + // + // Maximum: 64 + HttpPutResponseHopLimit *int64 `type:"integer"` + + // Indicates whether IMDSv2 is required. + // + // * optional – IMDSv2 is optional, which means that you can use either + // IMDSv2 or IMDSv1. + // + // * required – IMDSv2 is required, which means that IMDSv1 is disabled, + // and you must use IMDSv2. + HttpTokens *string `type:"string" enum:"MetadataDefaultHttpTokensState"` + + // Enables or disables access to an instance's tags from the instance metadata. + // For more information, see Work with instance tags using the instance metadata + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS) + // in the Amazon EC2 User Guide. + InstanceMetadataTags *string `type:"string" enum:"DefaultInstanceMetadataTagsState"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyInstanceMetadataDefaultsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyInstanceMetadataDefaultsInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *ModifyInstanceMetadataDefaultsInput) SetDryRun(v bool) *ModifyInstanceMetadataDefaultsInput { + s.DryRun = &v + return s +} + +// SetHttpEndpoint sets the HttpEndpoint field's value. +func (s *ModifyInstanceMetadataDefaultsInput) SetHttpEndpoint(v string) *ModifyInstanceMetadataDefaultsInput { + s.HttpEndpoint = &v + return s +} + +// SetHttpPutResponseHopLimit sets the HttpPutResponseHopLimit field's value. +func (s *ModifyInstanceMetadataDefaultsInput) SetHttpPutResponseHopLimit(v int64) *ModifyInstanceMetadataDefaultsInput { + s.HttpPutResponseHopLimit = &v + return s +} + +// SetHttpTokens sets the HttpTokens field's value. +func (s *ModifyInstanceMetadataDefaultsInput) SetHttpTokens(v string) *ModifyInstanceMetadataDefaultsInput { + s.HttpTokens = &v + return s +} + +// SetInstanceMetadataTags sets the InstanceMetadataTags field's value. +func (s *ModifyInstanceMetadataDefaultsInput) SetInstanceMetadataTags(v string) *ModifyInstanceMetadataDefaultsInput { + s.InstanceMetadataTags = &v + return s +} + +type ModifyInstanceMetadataDefaultsOutput struct { + _ struct{} `type:"structure"` + + // If the request succeeds, the response returns true. If the request fails, + // no response is returned, and instead an error message is returned. + Return *bool `locationName:"return" type:"boolean"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyInstanceMetadataDefaultsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ModifyInstanceMetadataDefaultsOutput) GoString() string { + return s.String() +} + +// SetReturn sets the Return field's value. +func (s *ModifyInstanceMetadataDefaultsOutput) SetReturn(v bool) *ModifyInstanceMetadataDefaultsOutput { + s.Return = &v + return s +} + type ModifyInstanceMetadataOptionsInput struct { _ struct{} `type:"structure"` @@ -149834,8 +150238,20 @@ type ModifyInstanceMetadataOptionsInput struct { // IAM role credentials always returns IMDSv2 credentials; IMDSv1 credentials // are not available. // - // Default: If the value of ImdsSupport for the Amazon Machine Image (AMI) for - // your instance is v2.0, the default is required. + // Default: + // + // * If the value of ImdsSupport for the Amazon Machine Image (AMI) for your + // instance is v2.0 and the account level default is set to no-preference, + // the default is required. + // + // * If the value of ImdsSupport for the Amazon Machine Image (AMI) for your + // instance is v2.0, but the account level default is set to V1 or V2, the + // default is optional. + // + // The default value can also be affected by other combinations of parameters. + // For more information, see Order of precedence for instance metadata options + // (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html#instance-metadata-options-order-of-precedence) + // in the Amazon EC2 User Guide. HttpTokens *string `type:"string" enum:"HttpTokensState"` // The ID of the instance. @@ -173800,7 +174216,8 @@ type SearchTransitGatewayRoutesInput struct { // Filters is a required field Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list" required:"true"` - // The maximum number of routes to return. + // The maximum number of routes to return. If a value is not provided, the default + // is 1000. MaxResults *int64 `min:"5" type:"integer"` // The ID of the transit gateway route table. @@ -191462,6 +191879,46 @@ func DatafeedSubscriptionState_Values() []string { } } +const ( + // DefaultInstanceMetadataEndpointStateDisabled is a DefaultInstanceMetadataEndpointState enum value + DefaultInstanceMetadataEndpointStateDisabled = "disabled" + + // DefaultInstanceMetadataEndpointStateEnabled is a DefaultInstanceMetadataEndpointState enum value + DefaultInstanceMetadataEndpointStateEnabled = "enabled" + + // DefaultInstanceMetadataEndpointStateNoPreference is a DefaultInstanceMetadataEndpointState enum value + DefaultInstanceMetadataEndpointStateNoPreference = "no-preference" +) + +// DefaultInstanceMetadataEndpointState_Values returns all elements of the DefaultInstanceMetadataEndpointState enum +func DefaultInstanceMetadataEndpointState_Values() []string { + return []string{ + DefaultInstanceMetadataEndpointStateDisabled, + DefaultInstanceMetadataEndpointStateEnabled, + DefaultInstanceMetadataEndpointStateNoPreference, + } +} + +const ( + // DefaultInstanceMetadataTagsStateDisabled is a DefaultInstanceMetadataTagsState enum value + DefaultInstanceMetadataTagsStateDisabled = "disabled" + + // DefaultInstanceMetadataTagsStateEnabled is a DefaultInstanceMetadataTagsState enum value + DefaultInstanceMetadataTagsStateEnabled = "enabled" + + // DefaultInstanceMetadataTagsStateNoPreference is a DefaultInstanceMetadataTagsState enum value + DefaultInstanceMetadataTagsStateNoPreference = "no-preference" +) + +// DefaultInstanceMetadataTagsState_Values returns all elements of the DefaultInstanceMetadataTagsState enum +func DefaultInstanceMetadataTagsState_Values() []string { + return []string{ + DefaultInstanceMetadataTagsStateDisabled, + DefaultInstanceMetadataTagsStateEnabled, + DefaultInstanceMetadataTagsStateNoPreference, + } +} + const ( // DefaultRouteTableAssociationValueEnable is a DefaultRouteTableAssociationValue enum value DefaultRouteTableAssociationValueEnable = "enable" @@ -197358,6 +197815,26 @@ func MembershipType_Values() []string { } } +const ( + // MetadataDefaultHttpTokensStateOptional is a MetadataDefaultHttpTokensState enum value + MetadataDefaultHttpTokensStateOptional = "optional" + + // MetadataDefaultHttpTokensStateRequired is a MetadataDefaultHttpTokensState enum value + MetadataDefaultHttpTokensStateRequired = "required" + + // MetadataDefaultHttpTokensStateNoPreference is a MetadataDefaultHttpTokensState enum value + MetadataDefaultHttpTokensStateNoPreference = "no-preference" +) + +// MetadataDefaultHttpTokensState_Values returns all elements of the MetadataDefaultHttpTokensState enum +func MetadataDefaultHttpTokensState_Values() []string { + return []string{ + MetadataDefaultHttpTokensStateOptional, + MetadataDefaultHttpTokensStateRequired, + MetadataDefaultHttpTokensStateNoPreference, + } +} + const ( // MetricTypeAggregateLatency is a MetricType enum value MetricTypeAggregateLatency = "aggregate-latency" diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index a3d25b7cf52..4be7c47860d 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -2171,6 +2171,10 @@ type EC2API interface { GetImageBlockPublicAccessStateWithContext(aws.Context, *ec2.GetImageBlockPublicAccessStateInput, ...request.Option) (*ec2.GetImageBlockPublicAccessStateOutput, error) GetImageBlockPublicAccessStateRequest(*ec2.GetImageBlockPublicAccessStateInput) (*request.Request, *ec2.GetImageBlockPublicAccessStateOutput) + GetInstanceMetadataDefaults(*ec2.GetInstanceMetadataDefaultsInput) (*ec2.GetInstanceMetadataDefaultsOutput, error) + GetInstanceMetadataDefaultsWithContext(aws.Context, *ec2.GetInstanceMetadataDefaultsInput, ...request.Option) (*ec2.GetInstanceMetadataDefaultsOutput, error) + GetInstanceMetadataDefaultsRequest(*ec2.GetInstanceMetadataDefaultsInput) (*request.Request, *ec2.GetInstanceMetadataDefaultsOutput) + GetInstanceTypesFromInstanceRequirements(*ec2.GetInstanceTypesFromInstanceRequirementsInput) (*ec2.GetInstanceTypesFromInstanceRequirementsOutput, error) GetInstanceTypesFromInstanceRequirementsWithContext(aws.Context, *ec2.GetInstanceTypesFromInstanceRequirementsInput, ...request.Option) (*ec2.GetInstanceTypesFromInstanceRequirementsOutput, error) GetInstanceTypesFromInstanceRequirementsRequest(*ec2.GetInstanceTypesFromInstanceRequirementsInput) (*request.Request, *ec2.GetInstanceTypesFromInstanceRequirementsOutput) @@ -2478,6 +2482,10 @@ type EC2API interface { ModifyInstanceMaintenanceOptionsWithContext(aws.Context, *ec2.ModifyInstanceMaintenanceOptionsInput, ...request.Option) (*ec2.ModifyInstanceMaintenanceOptionsOutput, error) ModifyInstanceMaintenanceOptionsRequest(*ec2.ModifyInstanceMaintenanceOptionsInput) (*request.Request, *ec2.ModifyInstanceMaintenanceOptionsOutput) + ModifyInstanceMetadataDefaults(*ec2.ModifyInstanceMetadataDefaultsInput) (*ec2.ModifyInstanceMetadataDefaultsOutput, error) + ModifyInstanceMetadataDefaultsWithContext(aws.Context, *ec2.ModifyInstanceMetadataDefaultsInput, ...request.Option) (*ec2.ModifyInstanceMetadataDefaultsOutput, error) + ModifyInstanceMetadataDefaultsRequest(*ec2.ModifyInstanceMetadataDefaultsInput) (*request.Request, *ec2.ModifyInstanceMetadataDefaultsOutput) + ModifyInstanceMetadataOptions(*ec2.ModifyInstanceMetadataOptionsInput) (*ec2.ModifyInstanceMetadataOptionsOutput, error) ModifyInstanceMetadataOptionsWithContext(aws.Context, *ec2.ModifyInstanceMetadataOptionsInput, ...request.Option) (*ec2.ModifyInstanceMetadataOptionsOutput, error) ModifyInstanceMetadataOptionsRequest(*ec2.ModifyInstanceMetadataOptionsInput) (*request.Request, *ec2.ModifyInstanceMetadataOptionsOutput) diff --git a/service/ecs/api.go b/service/ecs/api.go index 5a55dc125db..6b25fe40543 100644 --- a/service/ecs/api.go +++ b/service/ecs/api.go @@ -269,13 +269,9 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // Amazon ECS runs another copy of the task in the specified cluster. To update // an existing service, see the UpdateService action. // -// Starting April 15, 2023, Amazon Web Services will not onboard new customers -// to Amazon Elastic Inference (EI), and will help current customers migrate -// their workloads to options that offer better price and performance. After -// April 15, 2023, new customers will not be able to launch instances with Amazon -// EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, -// customers who have used Amazon EI at least once during the past 30-day period -// are considered current customers and will be able to continue using the service. +// The following change began on March 21, 2024. When the task definition revision +// is not specified, Amazon ECS resolves the task definition revision before +// it authorizes the task definition. // // In addition to maintaining the desired count of tasks in your service, you // can optionally run your service behind one or more load balancers. The load @@ -366,7 +362,15 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // When the service scheduler launches new tasks, it determines task placement. // For information about task placement and task placement strategies, see Amazon // ECS task placement (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html) -// in the Amazon Elastic Container Service Developer Guide. +// in the Amazon Elastic Container Service Developer Guide +// +// Starting April 15, 2023, Amazon Web Services will not onboard new customers +// to Amazon Elastic Inference (EI), and will help current customers migrate +// their workloads to options that offer better price and performance. After +// April 15, 2023, new customers will not be able to launch instances with Amazon +// EI accelerators in Amazon SageMaker, Amazon ECS, or Amazon EC2. However, +// customers who have used Amazon EI at least once during the past 30-day period +// are considered current customers and will be able to continue using the service. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -480,6 +484,10 @@ func (c *ECS) CreateTaskSetRequest(input *CreateTaskSetInput) (req *request.Requ // see Amazon ECS deployment types (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) // in the Amazon Elastic Container Service Developer Guide. // +// The following change began on March 21, 2024. When the task definition revision +// is not specified, Amazon ECS resolves the task definition revision before +// it authorizes the task definition. +// // For information about the maximum number of task sets and otther quotas, // see Amazon ECS service quotas (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html) // in the Amazon Elastic Container Service Developer Guide. @@ -4594,6 +4602,10 @@ func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output // // Starts a new task using the specified task definition. // +// The following change began on March 21, 2024. When the task definition revision +// is not specified, Amazon ECS resolves the task definition revision before +// it authorizes the task definition. +// // You can allow Amazon ECS to place tasks for you, or you can customize how // Amazon ECS places tasks using placement constraints and placement strategies. // For more information, see Scheduling Tasks (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html) @@ -4758,6 +4770,10 @@ func (c *ECS) StartTaskRequest(input *StartTaskInput) (req *request.Request, out // Starts a new task from the specified task definition on the specified container // instance or instances. // +// The following change began on March 21, 2024. When the task definition revision +// is not specified, Amazon ECS resolves the task definition revision before +// it authorizes the task definition. +// // Starting April 15, 2023, Amazon Web Services will not onboard new customers // to Amazon Elastic Inference (EI), and will help current customers migrate // their workloads to options that offer better price and performance. After @@ -6003,6 +6019,10 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // // Modifies the parameters of a service. // +// The following change began on March 21, 2024. When the task definition revision +// is not specified, Amazon ECS resolves the task definition revision before +// it authorizes the task definition. +// // For services using the rolling update (ECS) you can update the desired count, // deployment configuration, network configuration, load balancers, service // registries, enable ECS managed tags option, propagate tags option, task placement @@ -6625,9 +6645,8 @@ type Attachment struct { // For Service Connect services, this includes portName, clientAliases, discoveryName, // and ingressPortOverride. // - // For elastic block storage, this includes roleArn, encrypted, filesystemType, - // iops, kmsKeyId, sizeInGiB, snapshotId, tagSpecifications, throughput, and - // volumeType. + // For Elastic Block Storage, this includes roleArn, deleteOnTermination, volumeName, + // volumeId, and statusReason (only when the attachment fails to create or attach). Details []*KeyValuePair `locationName:"details" type:"list"` // The unique identifier for the attachment. @@ -10587,7 +10606,7 @@ type CreateServiceInput struct { // Fargate Spot infrastructure is available for use but a capacity provider // strategy must be used. For more information, see Fargate capacity providers // (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html) - // in the Amazon ECS User Guide for Fargate. + // in the Amazon ECS Developer Guide. // // The EC2 launch type runs your tasks on Amazon EC2 instances registered to // your cluster. @@ -10678,6 +10697,10 @@ type CreateServiceInput struct { // use the TagResource (https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html) // API action. // + // You must set this to a value other than NONE when you use Cost Explorer. + // For more information, see Amazon ECS usage reports (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/usage-reports.html) + // in the Amazon Elastic Container Service Developer Guide. + // // The default is NONE. PropagateTags *string `locationName:"propagateTags" type:"string" enum:"PropagateTags"` @@ -14128,10 +14151,13 @@ func (s *EFSVolumeConfiguration) SetTransitEncryptionPort(v int64) *EFSVolumeCon // in a container definition, they take precedence over the variables contained // within an environment file. If multiple environment files are specified that // contain the same variable, they're processed from the top down. We recommend -// that you use unique variable names. For more information, see Specifying -// environment variables (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html) +// that you use unique variable names. For more information, see Use a file +// to pass environment variables to a container (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/use-environment-file.html) // in the Amazon Elastic Container Service Developer Guide. // +// Environment variable files are objects in Amazon S3 and all Amazon S3 security +// considerations apply. +// // You must use the following platforms for the Fargate launch type: // // - Linux platform version 1.4.0 or later. @@ -14148,7 +14174,8 @@ func (s *EFSVolumeConfiguration) SetTransitEncryptionPort(v int64) *EFSVolumeCon type EnvironmentFile struct { _ struct{} `type:"structure"` - // The file type to use. The only supported value is s3. + // The file type to use. Environment files are objects in Amazon S3. The only + // supported value is s3. // // Type is a required field Type *string `locationName:"type" type:"string" required:"true" enum:"EnvironmentFileType"` @@ -14222,7 +14249,7 @@ type EphemeralStorage struct { _ struct{} `type:"structure"` // The total amount, in GiB, of ephemeral storage to set for the task. The minimum - // supported value is 21 GiB and the maximum supported value is 200 GiB. + // supported value is 20 GiB and the maximum supported value is 200 GiB. // // SizeInGiB is a required field SizeInGiB *int64 `locationName:"sizeInGiB" type:"integer" required:"true"` @@ -14973,6 +15000,9 @@ func (s *GetTaskProtectionOutput) SetProtectedTasks(v []*ProtectedTask) *GetTask // The health check is designed to make sure that your containers survive agent // restarts, upgrades, or temporary unavailability. // +// Amazon ECS performs health checks on containers with the default that launched +// the container instance or the task. +// // The following describes the possible healthStatus values for a container: // // - HEALTHY-The container health check has passed successfully. @@ -15504,8 +15534,8 @@ func (s *InvalidParameterException) RequestID() string { return s.RespMetadata.RequestID } -// The Linux capabilities for the container that are added to or dropped from -// the default configuration provided by Docker. For more information about +// The Linux capabilities to add or remove from the default Docker configuration +// for a container defined in the task definition. For more information about // the default capabilities and the non-default available capabilities, see // Runtime privilege and Linux capabilities (https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities) // in the Docker run reference. For more detailed information about these Linux diff --git a/service/globalaccelerator/api.go b/service/globalaccelerator/api.go index 0ece144cdf6..ebda53a728c 100644 --- a/service/globalaccelerator/api.go +++ b/service/globalaccelerator/api.go @@ -570,18 +570,28 @@ func (c *GlobalAccelerator) CreateCrossAccountAttachmentRequest(input *CreateCro // CreateCrossAccountAttachment API operation for AWS Global Accelerator. // // Create a cross-account attachment in Global Accelerator. You create a cross-account -// attachment to specify the principals who have permission to add to accelerators -// in their own account the resources in your account that you also list in -// the attachment. +// attachment to specify the principals who have permission to work with resources +// in accelerators in their own account. You specify, in the same attachment, +// the resources that are shared. // // A principal can be an Amazon Web Services account number or the Amazon Resource // Name (ARN) for an accelerator. For account numbers that are listed as principals, -// to add a resource listed in the attachment to an accelerator, you must sign -// in to an account specified as a principal. Then you can add the resources -// that are listed to any of your accelerators. If an accelerator ARN is listed +// to work with a resource listed in the attachment, you must sign in to an +// account specified as a principal. Then, you can work with resources that +// are listed, with any of your accelerators. If an accelerator ARN is listed // in the cross-account attachment as a principal, anyone with permission to -// make updates to the accelerator can add as endpoints resources that are listed -// in the attachment. +// make updates to the accelerator can work with resources that are listed in +// the attachment. +// +// Specify each principal and resource separately. To specify two CIDR address +// pools, list them individually under Resources, and so on. For a command line +// operation, for example, you might use a statement like the following: +// +// "Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}] +// +// For more information, see Working with cross-account attachments and resources +// in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) +// in the Global Accelerator Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1283,21 +1293,11 @@ func (c *GlobalAccelerator) DeleteCrossAccountAttachmentRequest(input *DeleteCro // Delete a cross-account attachment. When you delete an attachment, Global // Accelerator revokes the permission to use the resources in the attachment // from all principals in the list of principals. Global Accelerator revokes -// the permission for specific resources by doing the following: -// -// - If the principal is an account ID, Global Accelerator reviews every -// accelerator in the account and removes cross-account endpoints from all -// accelerators. -// -// - If the principal is an accelerator, Global Accelerator reviews just -// that accelerator and removes cross-account endpoints from it. +// the permission for specific resources. // -// If there are overlapping permissions provided by multiple cross-account attachments, -// Global Accelerator only removes endpoints if there are no current cross-account -// attachments that provide access permission. For example, if you delete a -// cross-account attachment that lists an accelerator as a principal, but another -// cross-account attachment includes the account ID that owns that accelerator, -// endpoints will not be removed from the accelerator. +// For more information, see Working with cross-account attachments and resources +// in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) +// in the Global Accelerator Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3250,7 +3250,11 @@ func (c *GlobalAccelerator) ListCrossAccountResourceAccountsRequest(input *ListC // ListCrossAccountResourceAccounts API operation for AWS Global Accelerator. // -// List the accounts that have cross-account endpoints. +// List the accounts that have cross-account resources. +// +// For more information, see Working with cross-account attachments and resources +// in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) +// in the Global Accelerator Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3338,7 +3342,7 @@ func (c *GlobalAccelerator) ListCrossAccountResourcesRequest(input *ListCrossAcc // ListCrossAccountResources API operation for AWS Global Accelerator. // -// List the cross-account endpoints available to add to an accelerator. +// List the cross-account resources available to work with. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5282,22 +5286,11 @@ func (c *GlobalAccelerator) UpdateCrossAccountAttachmentRequest(input *UpdateCro // // Update a cross-account attachment to add or remove principals or resources. // When you update an attachment to remove a principal (account ID or accelerator) -// or a resource, Global Accelerator revokes the permission for specific resources -// by doing the following: -// -// - If the principal is an account ID, Global Accelerator reviews every -// accelerator in the account and removes cross-account endpoints from all -// accelerators. -// -// - If the principal is an accelerator, Global Accelerator reviews just -// that accelerator and removes cross-account endpoints from it. +// or a resource, Global Accelerator revokes the permission for specific resources. // -// If there are overlapping permissions provided by multiple cross-account attachments, -// Global Accelerator only removes endpoints if there are no current cross-account -// attachments that provide access permission. For example, if you delete a -// cross-account attachment that lists an accelerator as a principal, but another -// cross-account attachment includes the account ID that owns that accelerator, -// endpoints will not be removed from the accelerator. +// For more information, see Working with cross-account attachments and resources +// in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) +// in the Global Accelerator Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6566,6 +6559,9 @@ type AdvertiseByoipCidrInput struct { // The address range, in CIDR notation. This must be the exact range that you // provisioned. You can't advertise only a portion of the provisioned range. // + // For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) + // in the Global Accelerator Developer Guide. + // // Cidr is a required field Cidr *string `type:"string" required:"true"` } @@ -6900,8 +6896,8 @@ func (s *AssociatedListenerFoundException) RequestID() string { } // A cross-account attachment in Global Accelerator. A cross-account attachment -// specifies the principals who have permission to add to accelerators in their -// own account the resources in your account that you also list in the attachment. +// specifies the principals who have permission to work with resources in your +// account, which you also list in the attachment. type Attachment struct { _ struct{} `type:"structure"` @@ -7091,6 +7087,9 @@ type ByoipCidr struct { _ struct{} `type:"structure"` // The address range, in CIDR notation. + // + // For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) + // in the Global Accelerator Developer Guide. Cidr *string `type:"string"` // A history of status changes for an IP address range that you bring to Global @@ -7552,17 +7551,18 @@ type CreateCrossAccountAttachmentInput struct { // Name is a required field Name *string `type:"string" required:"true"` - // The principals to list in the cross-account attachment. A principal can be - // an Amazon Web Services account number or the Amazon Resource Name (ARN) for - // an accelerator. + // The principals to include in the cross-account attachment. A principal can + // be an Amazon Web Services account number or the Amazon Resource Name (ARN) + // for an accelerator. Principals []*string `type:"list"` - // The Amazon Resource Names (ARNs) for the resources to list in the cross-account + // The Amazon Resource Names (ARNs) for the resources to include in the cross-account // attachment. A resource can be any supported Amazon Web Services resource - // type for Global Accelerator. + // type for Global Accelerator or a CIDR range for a bring your own IP address + // (BYOIP) address pool. Resources []*Resource `type:"list"` - // Create tags for cross-account attachment. + // Add tags for a cross-account attachment. // // For more information, see Tagging in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html) // in the Global Accelerator Developer Guide. @@ -7593,16 +7593,6 @@ func (s *CreateCrossAccountAttachmentInput) Validate() error { if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } - if s.Resources != nil { - for i, v := range s.Resources { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Resources", i), err.(request.ErrInvalidParams)) - } - } - } if s.Tags != nil { for i, v := range s.Tags { if v == nil { @@ -8460,17 +8450,30 @@ func (s *CreateListenerOutput) SetListener(v *Listener) *CreateListenerOutput { return s } -// An endpoint (Amazon Web Services resource) that is listed in a cross-account -// attachment and can be added to an accelerator by specified principals, that -// are also listed in the attachment. +// An endpoint (Amazon Web Services resource) or an IP address range, in CIDR +// format, that is listed in a cross-account attachment. A cross-account resource +// can be added to an accelerator by specified principals, which are also listed +// in the attachment. +// +// For more information, see Working with cross-account attachments and resources +// in Global Accelerator (https://docs.aws.amazon.com/global-accelerator/latest/dg/cross-account-resources.html) +// in the Global Accelerator Developer Guide. type CrossAccountResource struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the cross-account attachment that specifies - // the endpoints (resources) that can be added to accelerators and principals - // that have permission to add the endpoints to accelerators. + // the resources (endpoints or CIDR range) that can be added to accelerators + // and principals that have permission to add them. AttachmentArn *string `type:"string"` + // An IP address range, in CIDR format, that is specified as an Amazon Web Services + // resource. The address must be provisioned and advertised in Global Accelerator + // by following the bring your own IP address (BYOIP) process for Global Accelerator. + // + // For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) + // in the Global Accelerator Developer Guide. + Cidr *string `type:"string"` + // The endpoint ID for the endpoint that is listed in a cross-account attachment // and can be added to an accelerator by specified principals. EndpointId *string `type:"string"` @@ -8500,6 +8503,12 @@ func (s *CrossAccountResource) SetAttachmentArn(v string) *CrossAccountResource return s } +// SetCidr sets the Cidr field's value. +func (s *CrossAccountResource) SetCidr(v string) *CrossAccountResource { + s.Cidr = &v + return s +} + // SetEndpointId sets the EndpointId field's value. func (s *CrossAccountResource) SetEndpointId(v string) *CrossAccountResource { s.EndpointId = &v @@ -8843,7 +8852,7 @@ type CustomRoutingEndpointConfiguration struct { // The Amazon Resource Name (ARN) of the cross-account attachment that specifies // the endpoints (resources) that can be added to accelerators and principals - // that have permission to add the endpoints to accelerators. + // that have permission to add the endpoints. AttachmentArn *string `type:"string"` // An ID for the endpoint. For custom routing accelerators, this is the virtual @@ -9633,6 +9642,9 @@ type DeprovisionByoipCidrInput struct { // The address range, in CIDR notation. The prefix must be the same prefix that // you specified when you provisioned the address range. // + // For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) + // in the Global Accelerator Developer Guide. + // // Cidr is a required field Cidr *string `type:"string" required:"true"` } @@ -10572,7 +10584,7 @@ type EndpointConfiguration struct { // The Amazon Resource Name (ARN) of the cross-account attachment that specifies // the endpoints (resources) that can be added to accelerators and principals - // that have permission to add the endpoints to accelerators. + // that have permission to add the endpoints. AttachmentArn *string `type:"string"` // Indicates whether client IP address preservation is enabled for an endpoint. @@ -10599,7 +10611,7 @@ type EndpointConfiguration struct { // ID. For Amazon EC2 instances, this is the EC2 instance ID. A resource must // be valid and active when you add it as an endpoint. // - // An Application Load Balancer can be either internal or internet-facing. + // For cross-account endpoints, this must be the ARN of the resource. EndpointId *string `type:"string"` // The weight associated with the endpoint. When you add weights to endpoints, @@ -11896,7 +11908,7 @@ type ListCrossAccountResourceAccountsOutput struct { _ struct{} `type:"structure"` // The account IDs of principals (resource owners) in a cross-account attachment - // who can add endpoints (resources) listed in the same attachment. + // who can work with resources listed in the same attachment. ResourceOwnerAwsAccountIds []*string `type:"list"` } @@ -11930,7 +11942,7 @@ type ListCrossAccountResourcesInput struct { // The Amazon Resource Name (ARN) of an accelerator in a cross-account attachment. AcceleratorArn *string `type:"string"` - // The number of cross-account endpoints objects that you want to return with + // The number of cross-account resource objects that you want to return with // this call. The default value is 10. MaxResults *int64 `min:"1" type:"integer"` @@ -12008,7 +12020,7 @@ func (s *ListCrossAccountResourcesInput) SetResourceOwnerAwsAccountId(v string) type ListCrossAccountResourcesOutput struct { _ struct{} `type:"structure"` - // The endpoints attached to an accelerator in a cross-account attachment. + // The cross-account resources used with an accelerator. CrossAccountResources []*CrossAccountResource `type:"list"` // The token for the next set of results. You receive this token from a previous @@ -13265,7 +13277,11 @@ type ProvisionByoipCidrInput struct { // The public IPv4 address range, in CIDR notation. The most specific IP prefix // that you can specify is /24. The address range cannot overlap with another - // address range that you've brought to this or another Region. + // address range that you've brought to this Amazon Web Services Region or another + // Region. + // + // For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) + // in the Global Accelerator Developer Guide. // // Cidr is a required field Cidr *string `type:"string" required:"true"` @@ -13538,17 +13554,29 @@ func (s RemoveEndpointsOutput) GoString() string { return s.String() } -// An Amazon Web Services resource that is supported by Global Accelerator and -// can be added as an endpoint for an accelerator. +// A resource is one of the following: the ARN for an Amazon Web Services resource +// that is supported by Global Accelerator to be added as an endpoint, or a +// CIDR range that specifies a bring your own IP (BYOIP) address pool. type Resource struct { _ struct{} `type:"structure"` - // The endpoint ID for the endpoint (Amazon Web Services resource). + // An IP address range, in CIDR format, that is specified as resource. The address + // must be provisioned and advertised in Global Accelerator by following the + // bring your own IP address (BYOIP) process for Global Accelerator // - // EndpointId is a required field - EndpointId *string `type:"string" required:"true"` + // For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) + // in the Global Accelerator Developer Guide. + Cidr *string `type:"string"` + + // The endpoint ID for the endpoint that is specified as a Amazon Web Services + // resource. + // + // An endpoint ID for the cross-account feature is the ARN of an Amazon Web + // Services resource, such as a Network Load Balancer, that Global Accelerator + // supports as an endpoint for an accelerator. + EndpointId *string `type:"string"` - // The Amazon Web Services Region where a resource is located. + // The Amazon Web Services Region where a shared endpoint resource is located. Region *string `type:"string"` } @@ -13570,17 +13598,10 @@ func (s Resource) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *Resource) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Resource"} - if s.EndpointId == nil { - invalidParams.Add(request.NewErrParamRequired("EndpointId")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetCidr sets the Cidr field's value. +func (s *Resource) SetCidr(v string) *Resource { + s.Cidr = &v + return s } // SetEndpointId sets the EndpointId field's value. @@ -14179,15 +14200,15 @@ type UpdateCrossAccountAttachmentInput struct { // The principals to add to the cross-account attachment. A principal is an // account or the Amazon Resource Name (ARN) of an accelerator that the attachment - // gives permission to add the resources from another account, listed in the - // attachment. + // gives permission to work with resources from another account. The resources + // are also listed in the attachment. // // To add more than one principal, separate the account numbers or accelerator // ARNs, or both, with commas. AddPrincipals []*string `type:"list"` // The resources to add to the cross-account attachment. A resource listed in - // a cross-account attachment can be added to an accelerator by the principals + // a cross-account attachment can be used with an accelerator by the principals // that are listed in the attachment. // // To add more than one resource, separate the resource ARNs with commas. @@ -14202,17 +14223,17 @@ type UpdateCrossAccountAttachmentInput struct { Name *string `type:"string"` // The principals to remove from the cross-account attachment. A principal is - // an account or the Amazon Resource Name (ARN) of an accelerator that is given - // permission to add the resources from another account, listed in the cross-account - // attachment. + // an account or the Amazon Resource Name (ARN) of an accelerator that the attachment + // gives permission to work with resources from another account. The resources + // are also listed in the attachment. // // To remove more than one principal, separate the account numbers or accelerator // ARNs, or both, with commas. RemovePrincipals []*string `type:"list"` // The resources to remove from the cross-account attachment. A resource listed - // in a cross-account attachment can be added to an accelerator fy principals - // that are listed in the cross-account attachment. + // in a cross-account attachment can be used with an accelerator by the principals + // that are listed in the attachment. // // To remove more than one resource, separate the resource ARNs with commas. RemoveResources []*Resource `type:"list"` @@ -14242,26 +14263,6 @@ func (s *UpdateCrossAccountAttachmentInput) Validate() error { if s.AttachmentArn == nil { invalidParams.Add(request.NewErrParamRequired("AttachmentArn")) } - if s.AddResources != nil { - for i, v := range s.AddResources { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AddResources", i), err.(request.ErrInvalidParams)) - } - } - } - if s.RemoveResources != nil { - for i, v := range s.RemoveResources { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RemoveResources", i), err.(request.ErrInvalidParams)) - } - } - } if invalidParams.Len() > 0 { return invalidParams @@ -15005,6 +15006,9 @@ type WithdrawByoipCidrInput struct { // The address range, in CIDR notation. // + // For more information, see Bring your own IP addresses (BYOIP) (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html) + // in the Global Accelerator Developer Guide. + // // Cidr is a required field Cidr *string `type:"string" required:"true"` } @@ -15049,7 +15053,7 @@ func (s *WithdrawByoipCidrInput) SetCidr(v string) *WithdrawByoipCidrInput { type WithdrawByoipCidrOutput struct { _ struct{} `type:"structure"` - // Information about the address pool. + // Information about the BYOIP address pool. ByoipCidr *ByoipCidr `type:"structure"` } diff --git a/service/medialive/api.go b/service/medialive/api.go index d54c9b0be2b..529c0bc58fb 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -17981,6 +17981,14 @@ type H265Settings struct { // next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1 MinIInterval *int64 `locationName:"minIInterval" type:"integer"` + // If you are setting up the picture as a tile, you must set this to "disabled". + // In all other configurations, you typically enter "enabled". + MvOverPictureBoundaries *string `locationName:"mvOverPictureBoundaries" type:"string" enum:"H265MvOverPictureBoundaries"` + + // If you are setting up the picture as a tile, you must set this to "disabled". + // In other configurations, you typically enter "enabled". + MvTemporalPredictor *string `locationName:"mvTemporalPredictor" type:"string" enum:"H265MvTemporalPredictor"` + // Pixel Aspect Ratio denominator. ParDenominator *int64 `locationName:"parDenominator" min:"1" type:"integer"` @@ -18024,6 +18032,23 @@ type H265Settings struct { // H.265 Tier. Tier *string `locationName:"tier" type:"string" enum:"H265Tier"` + // Set this field to set up the picture as a tile. You must also set tileWidth.The + // tile height must result in 22 or fewer rows in the frame. The tile widthmust + // result in 20 or fewer columns in the frame. And finally, the product of thecolumn + // count and row count must be 64 of less.If the tile width and height are specified, + // MediaLive will override the videocodec slices field with a value that MediaLive + // calculates + TileHeight *int64 `locationName:"tileHeight" min:"64" type:"integer"` + + // Set to "padded" to force MediaLive to add padding to the frame, to obtain + // a frame that is a whole multiple of the tile size.If you are setting up the + // picture as a tile, you must enter "padded".In all other configurations, you + // typically enter "none". + TilePadding *string `locationName:"tilePadding" type:"string" enum:"H265TilePadding"` + + // Set this field to set up the picture as a tile. See tileHeight for more information. + TileWidth *int64 `locationName:"tileWidth" min:"256" type:"integer"` + // Timecode burn-in settings TimecodeBurninSettings *TimecodeBurninSettings `locationName:"timecodeBurninSettings" type:"structure"` @@ -18031,6 +18056,12 @@ type H265Settings struct { // 'disabled': Do not include timecodes- 'picTimingSei': Pass through picture // timing SEI messages from the source specified in Timecode Config TimecodeInsertion *string `locationName:"timecodeInsertion" type:"string" enum:"H265TimecodeInsertionBehavior"` + + // Select the tree block size used for encoding. If you enter "auto", the encoder + // will pick the best size. If you are setting up the picture as a tile, you + // must set this to 32x32. In all other configurations, you typically enter + // "auto". + TreeblockSize *string `locationName:"treeblockSize" type:"string" enum:"H265TreeblockSize"` } // String returns the string representation. @@ -18087,6 +18118,12 @@ func (s *H265Settings) Validate() error { if s.Slices != nil && *s.Slices < 1 { invalidParams.Add(request.NewErrParamMinValue("Slices", 1)) } + if s.TileHeight != nil && *s.TileHeight < 64 { + invalidParams.Add(request.NewErrParamMinValue("TileHeight", 64)) + } + if s.TileWidth != nil && *s.TileWidth < 256 { + invalidParams.Add(request.NewErrParamMinValue("TileWidth", 256)) + } if s.TimecodeBurninSettings != nil { if err := s.TimecodeBurninSettings.Validate(); err != nil { invalidParams.AddNested("TimecodeBurninSettings", err.(request.ErrInvalidParams)) @@ -18213,6 +18250,18 @@ func (s *H265Settings) SetMinIInterval(v int64) *H265Settings { return s } +// SetMvOverPictureBoundaries sets the MvOverPictureBoundaries field's value. +func (s *H265Settings) SetMvOverPictureBoundaries(v string) *H265Settings { + s.MvOverPictureBoundaries = &v + return s +} + +// SetMvTemporalPredictor sets the MvTemporalPredictor field's value. +func (s *H265Settings) SetMvTemporalPredictor(v string) *H265Settings { + s.MvTemporalPredictor = &v + return s +} + // SetParDenominator sets the ParDenominator field's value. func (s *H265Settings) SetParDenominator(v int64) *H265Settings { s.ParDenominator = &v @@ -18267,6 +18316,24 @@ func (s *H265Settings) SetTier(v string) *H265Settings { return s } +// SetTileHeight sets the TileHeight field's value. +func (s *H265Settings) SetTileHeight(v int64) *H265Settings { + s.TileHeight = &v + return s +} + +// SetTilePadding sets the TilePadding field's value. +func (s *H265Settings) SetTilePadding(v string) *H265Settings { + s.TilePadding = &v + return s +} + +// SetTileWidth sets the TileWidth field's value. +func (s *H265Settings) SetTileWidth(v int64) *H265Settings { + s.TileWidth = &v + return s +} + // SetTimecodeBurninSettings sets the TimecodeBurninSettings field's value. func (s *H265Settings) SetTimecodeBurninSettings(v *TimecodeBurninSettings) *H265Settings { s.TimecodeBurninSettings = v @@ -18279,6 +18346,12 @@ func (s *H265Settings) SetTimecodeInsertion(v string) *H265Settings { return s } +// SetTreeblockSize sets the TreeblockSize field's value. +func (s *H265Settings) SetTreeblockSize(v string) *H265Settings { + s.TreeblockSize = &v + return s +} + // Hdr10 Settings type Hdr10Settings struct { _ struct{} `type:"structure"` @@ -36805,6 +36878,40 @@ func H265LookAheadRateControl_Values() []string { } } +// H265 Mv Over Picture Boundaries +const ( + // H265MvOverPictureBoundariesDisabled is a H265MvOverPictureBoundaries enum value + H265MvOverPictureBoundariesDisabled = "DISABLED" + + // H265MvOverPictureBoundariesEnabled is a H265MvOverPictureBoundaries enum value + H265MvOverPictureBoundariesEnabled = "ENABLED" +) + +// H265MvOverPictureBoundaries_Values returns all elements of the H265MvOverPictureBoundaries enum +func H265MvOverPictureBoundaries_Values() []string { + return []string{ + H265MvOverPictureBoundariesDisabled, + H265MvOverPictureBoundariesEnabled, + } +} + +// H265 Mv Temporal Predictor +const ( + // H265MvTemporalPredictorDisabled is a H265MvTemporalPredictor enum value + H265MvTemporalPredictorDisabled = "DISABLED" + + // H265MvTemporalPredictorEnabled is a H265MvTemporalPredictor enum value + H265MvTemporalPredictorEnabled = "ENABLED" +) + +// H265MvTemporalPredictor_Values returns all elements of the H265MvTemporalPredictor enum +func H265MvTemporalPredictor_Values() []string { + return []string{ + H265MvTemporalPredictorDisabled, + H265MvTemporalPredictorEnabled, + } +} + // H265 Profile const ( // H265ProfileMain is a H265Profile enum value @@ -36894,6 +37001,23 @@ func H265Tier_Values() []string { } } +// H265 Tile Padding +const ( + // H265TilePaddingNone is a H265TilePadding enum value + H265TilePaddingNone = "NONE" + + // H265TilePaddingPadded is a H265TilePadding enum value + H265TilePaddingPadded = "PADDED" +) + +// H265TilePadding_Values returns all elements of the H265TilePadding enum +func H265TilePadding_Values() []string { + return []string{ + H265TilePaddingNone, + H265TilePaddingPadded, + } +} + // H265 Timecode Insertion Behavior const ( // H265TimecodeInsertionBehaviorDisabled is a H265TimecodeInsertionBehavior enum value @@ -36911,6 +37035,23 @@ func H265TimecodeInsertionBehavior_Values() []string { } } +// H265 Treeblock Size +const ( + // H265TreeblockSizeAuto is a H265TreeblockSize enum value + H265TreeblockSizeAuto = "AUTO" + + // H265TreeblockSizeTreeSize32x32 is a H265TreeblockSize enum value + H265TreeblockSizeTreeSize32x32 = "TREE_SIZE_32X32" +) + +// H265TreeblockSize_Values returns all elements of the H265TreeblockSize enum +func H265TreeblockSize_Values() []string { + return []string{ + H265TreeblockSizeAuto, + H265TreeblockSizeTreeSize32x32, + } +} + // Hls Ad Markers const ( // HlsAdMarkersAdobe is a HlsAdMarkers enum value diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 6c1e976bbd2..0a7b33b535f 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -126156,6 +126156,252 @@ const ( // AppInstanceTypeMlTrn1n32xlarge is a AppInstanceType enum value AppInstanceTypeMlTrn1n32xlarge = "ml.trn1n.32xlarge" + + // AppInstanceTypeMlP548xlarge is a AppInstanceType enum value + AppInstanceTypeMlP548xlarge = "ml.p5.48xlarge" + + // AppInstanceTypeMlM6iLarge is a AppInstanceType enum value + AppInstanceTypeMlM6iLarge = "ml.m6i.large" + + // AppInstanceTypeMlM6iXlarge is a AppInstanceType enum value + AppInstanceTypeMlM6iXlarge = "ml.m6i.xlarge" + + // AppInstanceTypeMlM6i2xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6i2xlarge = "ml.m6i.2xlarge" + + // AppInstanceTypeMlM6i4xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6i4xlarge = "ml.m6i.4xlarge" + + // AppInstanceTypeMlM6i8xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6i8xlarge = "ml.m6i.8xlarge" + + // AppInstanceTypeMlM6i12xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6i12xlarge = "ml.m6i.12xlarge" + + // AppInstanceTypeMlM6i16xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6i16xlarge = "ml.m6i.16xlarge" + + // AppInstanceTypeMlM6i24xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6i24xlarge = "ml.m6i.24xlarge" + + // AppInstanceTypeMlM6i32xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6i32xlarge = "ml.m6i.32xlarge" + + // AppInstanceTypeMlM7iLarge is a AppInstanceType enum value + AppInstanceTypeMlM7iLarge = "ml.m7i.large" + + // AppInstanceTypeMlM7iXlarge is a AppInstanceType enum value + AppInstanceTypeMlM7iXlarge = "ml.m7i.xlarge" + + // AppInstanceTypeMlM7i2xlarge is a AppInstanceType enum value + AppInstanceTypeMlM7i2xlarge = "ml.m7i.2xlarge" + + // AppInstanceTypeMlM7i4xlarge is a AppInstanceType enum value + AppInstanceTypeMlM7i4xlarge = "ml.m7i.4xlarge" + + // AppInstanceTypeMlM7i8xlarge is a AppInstanceType enum value + AppInstanceTypeMlM7i8xlarge = "ml.m7i.8xlarge" + + // AppInstanceTypeMlM7i12xlarge is a AppInstanceType enum value + AppInstanceTypeMlM7i12xlarge = "ml.m7i.12xlarge" + + // AppInstanceTypeMlM7i16xlarge is a AppInstanceType enum value + AppInstanceTypeMlM7i16xlarge = "ml.m7i.16xlarge" + + // AppInstanceTypeMlM7i24xlarge is a AppInstanceType enum value + AppInstanceTypeMlM7i24xlarge = "ml.m7i.24xlarge" + + // AppInstanceTypeMlM7i48xlarge is a AppInstanceType enum value + AppInstanceTypeMlM7i48xlarge = "ml.m7i.48xlarge" + + // AppInstanceTypeMlC6iLarge is a AppInstanceType enum value + AppInstanceTypeMlC6iLarge = "ml.c6i.large" + + // AppInstanceTypeMlC6iXlarge is a AppInstanceType enum value + AppInstanceTypeMlC6iXlarge = "ml.c6i.xlarge" + + // AppInstanceTypeMlC6i2xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6i2xlarge = "ml.c6i.2xlarge" + + // AppInstanceTypeMlC6i4xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6i4xlarge = "ml.c6i.4xlarge" + + // AppInstanceTypeMlC6i8xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6i8xlarge = "ml.c6i.8xlarge" + + // AppInstanceTypeMlC6i12xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6i12xlarge = "ml.c6i.12xlarge" + + // AppInstanceTypeMlC6i16xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6i16xlarge = "ml.c6i.16xlarge" + + // AppInstanceTypeMlC6i24xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6i24xlarge = "ml.c6i.24xlarge" + + // AppInstanceTypeMlC6i32xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6i32xlarge = "ml.c6i.32xlarge" + + // AppInstanceTypeMlC7iLarge is a AppInstanceType enum value + AppInstanceTypeMlC7iLarge = "ml.c7i.large" + + // AppInstanceTypeMlC7iXlarge is a AppInstanceType enum value + AppInstanceTypeMlC7iXlarge = "ml.c7i.xlarge" + + // AppInstanceTypeMlC7i2xlarge is a AppInstanceType enum value + AppInstanceTypeMlC7i2xlarge = "ml.c7i.2xlarge" + + // AppInstanceTypeMlC7i4xlarge is a AppInstanceType enum value + AppInstanceTypeMlC7i4xlarge = "ml.c7i.4xlarge" + + // AppInstanceTypeMlC7i8xlarge is a AppInstanceType enum value + AppInstanceTypeMlC7i8xlarge = "ml.c7i.8xlarge" + + // AppInstanceTypeMlC7i12xlarge is a AppInstanceType enum value + AppInstanceTypeMlC7i12xlarge = "ml.c7i.12xlarge" + + // AppInstanceTypeMlC7i16xlarge is a AppInstanceType enum value + AppInstanceTypeMlC7i16xlarge = "ml.c7i.16xlarge" + + // AppInstanceTypeMlC7i24xlarge is a AppInstanceType enum value + AppInstanceTypeMlC7i24xlarge = "ml.c7i.24xlarge" + + // AppInstanceTypeMlC7i48xlarge is a AppInstanceType enum value + AppInstanceTypeMlC7i48xlarge = "ml.c7i.48xlarge" + + // AppInstanceTypeMlR6iLarge is a AppInstanceType enum value + AppInstanceTypeMlR6iLarge = "ml.r6i.large" + + // AppInstanceTypeMlR6iXlarge is a AppInstanceType enum value + AppInstanceTypeMlR6iXlarge = "ml.r6i.xlarge" + + // AppInstanceTypeMlR6i2xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6i2xlarge = "ml.r6i.2xlarge" + + // AppInstanceTypeMlR6i4xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6i4xlarge = "ml.r6i.4xlarge" + + // AppInstanceTypeMlR6i8xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6i8xlarge = "ml.r6i.8xlarge" + + // AppInstanceTypeMlR6i12xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6i12xlarge = "ml.r6i.12xlarge" + + // AppInstanceTypeMlR6i16xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6i16xlarge = "ml.r6i.16xlarge" + + // AppInstanceTypeMlR6i24xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6i24xlarge = "ml.r6i.24xlarge" + + // AppInstanceTypeMlR6i32xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6i32xlarge = "ml.r6i.32xlarge" + + // AppInstanceTypeMlR7iLarge is a AppInstanceType enum value + AppInstanceTypeMlR7iLarge = "ml.r7i.large" + + // AppInstanceTypeMlR7iXlarge is a AppInstanceType enum value + AppInstanceTypeMlR7iXlarge = "ml.r7i.xlarge" + + // AppInstanceTypeMlR7i2xlarge is a AppInstanceType enum value + AppInstanceTypeMlR7i2xlarge = "ml.r7i.2xlarge" + + // AppInstanceTypeMlR7i4xlarge is a AppInstanceType enum value + AppInstanceTypeMlR7i4xlarge = "ml.r7i.4xlarge" + + // AppInstanceTypeMlR7i8xlarge is a AppInstanceType enum value + AppInstanceTypeMlR7i8xlarge = "ml.r7i.8xlarge" + + // AppInstanceTypeMlR7i12xlarge is a AppInstanceType enum value + AppInstanceTypeMlR7i12xlarge = "ml.r7i.12xlarge" + + // AppInstanceTypeMlR7i16xlarge is a AppInstanceType enum value + AppInstanceTypeMlR7i16xlarge = "ml.r7i.16xlarge" + + // AppInstanceTypeMlR7i24xlarge is a AppInstanceType enum value + AppInstanceTypeMlR7i24xlarge = "ml.r7i.24xlarge" + + // AppInstanceTypeMlR7i48xlarge is a AppInstanceType enum value + AppInstanceTypeMlR7i48xlarge = "ml.r7i.48xlarge" + + // AppInstanceTypeMlM6idLarge is a AppInstanceType enum value + AppInstanceTypeMlM6idLarge = "ml.m6id.large" + + // AppInstanceTypeMlM6idXlarge is a AppInstanceType enum value + AppInstanceTypeMlM6idXlarge = "ml.m6id.xlarge" + + // AppInstanceTypeMlM6id2xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6id2xlarge = "ml.m6id.2xlarge" + + // AppInstanceTypeMlM6id4xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6id4xlarge = "ml.m6id.4xlarge" + + // AppInstanceTypeMlM6id8xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6id8xlarge = "ml.m6id.8xlarge" + + // AppInstanceTypeMlM6id12xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6id12xlarge = "ml.m6id.12xlarge" + + // AppInstanceTypeMlM6id16xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6id16xlarge = "ml.m6id.16xlarge" + + // AppInstanceTypeMlM6id24xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6id24xlarge = "ml.m6id.24xlarge" + + // AppInstanceTypeMlM6id32xlarge is a AppInstanceType enum value + AppInstanceTypeMlM6id32xlarge = "ml.m6id.32xlarge" + + // AppInstanceTypeMlC6idLarge is a AppInstanceType enum value + AppInstanceTypeMlC6idLarge = "ml.c6id.large" + + // AppInstanceTypeMlC6idXlarge is a AppInstanceType enum value + AppInstanceTypeMlC6idXlarge = "ml.c6id.xlarge" + + // AppInstanceTypeMlC6id2xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6id2xlarge = "ml.c6id.2xlarge" + + // AppInstanceTypeMlC6id4xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6id4xlarge = "ml.c6id.4xlarge" + + // AppInstanceTypeMlC6id8xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6id8xlarge = "ml.c6id.8xlarge" + + // AppInstanceTypeMlC6id12xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6id12xlarge = "ml.c6id.12xlarge" + + // AppInstanceTypeMlC6id16xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6id16xlarge = "ml.c6id.16xlarge" + + // AppInstanceTypeMlC6id24xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6id24xlarge = "ml.c6id.24xlarge" + + // AppInstanceTypeMlC6id32xlarge is a AppInstanceType enum value + AppInstanceTypeMlC6id32xlarge = "ml.c6id.32xlarge" + + // AppInstanceTypeMlR6idLarge is a AppInstanceType enum value + AppInstanceTypeMlR6idLarge = "ml.r6id.large" + + // AppInstanceTypeMlR6idXlarge is a AppInstanceType enum value + AppInstanceTypeMlR6idXlarge = "ml.r6id.xlarge" + + // AppInstanceTypeMlR6id2xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6id2xlarge = "ml.r6id.2xlarge" + + // AppInstanceTypeMlR6id4xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6id4xlarge = "ml.r6id.4xlarge" + + // AppInstanceTypeMlR6id8xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6id8xlarge = "ml.r6id.8xlarge" + + // AppInstanceTypeMlR6id12xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6id12xlarge = "ml.r6id.12xlarge" + + // AppInstanceTypeMlR6id16xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6id16xlarge = "ml.r6id.16xlarge" + + // AppInstanceTypeMlR6id24xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6id24xlarge = "ml.r6id.24xlarge" + + // AppInstanceTypeMlR6id32xlarge is a AppInstanceType enum value + AppInstanceTypeMlR6id32xlarge = "ml.r6id.32xlarge" ) // AppInstanceType_Values returns all elements of the AppInstanceType enum @@ -126224,6 +126470,88 @@ func AppInstanceType_Values() []string { AppInstanceTypeMlTrn12xlarge, AppInstanceTypeMlTrn132xlarge, AppInstanceTypeMlTrn1n32xlarge, + AppInstanceTypeMlP548xlarge, + AppInstanceTypeMlM6iLarge, + AppInstanceTypeMlM6iXlarge, + AppInstanceTypeMlM6i2xlarge, + AppInstanceTypeMlM6i4xlarge, + AppInstanceTypeMlM6i8xlarge, + AppInstanceTypeMlM6i12xlarge, + AppInstanceTypeMlM6i16xlarge, + AppInstanceTypeMlM6i24xlarge, + AppInstanceTypeMlM6i32xlarge, + AppInstanceTypeMlM7iLarge, + AppInstanceTypeMlM7iXlarge, + AppInstanceTypeMlM7i2xlarge, + AppInstanceTypeMlM7i4xlarge, + AppInstanceTypeMlM7i8xlarge, + AppInstanceTypeMlM7i12xlarge, + AppInstanceTypeMlM7i16xlarge, + AppInstanceTypeMlM7i24xlarge, + AppInstanceTypeMlM7i48xlarge, + AppInstanceTypeMlC6iLarge, + AppInstanceTypeMlC6iXlarge, + AppInstanceTypeMlC6i2xlarge, + AppInstanceTypeMlC6i4xlarge, + AppInstanceTypeMlC6i8xlarge, + AppInstanceTypeMlC6i12xlarge, + AppInstanceTypeMlC6i16xlarge, + AppInstanceTypeMlC6i24xlarge, + AppInstanceTypeMlC6i32xlarge, + AppInstanceTypeMlC7iLarge, + AppInstanceTypeMlC7iXlarge, + AppInstanceTypeMlC7i2xlarge, + AppInstanceTypeMlC7i4xlarge, + AppInstanceTypeMlC7i8xlarge, + AppInstanceTypeMlC7i12xlarge, + AppInstanceTypeMlC7i16xlarge, + AppInstanceTypeMlC7i24xlarge, + AppInstanceTypeMlC7i48xlarge, + AppInstanceTypeMlR6iLarge, + AppInstanceTypeMlR6iXlarge, + AppInstanceTypeMlR6i2xlarge, + AppInstanceTypeMlR6i4xlarge, + AppInstanceTypeMlR6i8xlarge, + AppInstanceTypeMlR6i12xlarge, + AppInstanceTypeMlR6i16xlarge, + AppInstanceTypeMlR6i24xlarge, + AppInstanceTypeMlR6i32xlarge, + AppInstanceTypeMlR7iLarge, + AppInstanceTypeMlR7iXlarge, + AppInstanceTypeMlR7i2xlarge, + AppInstanceTypeMlR7i4xlarge, + AppInstanceTypeMlR7i8xlarge, + AppInstanceTypeMlR7i12xlarge, + AppInstanceTypeMlR7i16xlarge, + AppInstanceTypeMlR7i24xlarge, + AppInstanceTypeMlR7i48xlarge, + AppInstanceTypeMlM6idLarge, + AppInstanceTypeMlM6idXlarge, + AppInstanceTypeMlM6id2xlarge, + AppInstanceTypeMlM6id4xlarge, + AppInstanceTypeMlM6id8xlarge, + AppInstanceTypeMlM6id12xlarge, + AppInstanceTypeMlM6id16xlarge, + AppInstanceTypeMlM6id24xlarge, + AppInstanceTypeMlM6id32xlarge, + AppInstanceTypeMlC6idLarge, + AppInstanceTypeMlC6idXlarge, + AppInstanceTypeMlC6id2xlarge, + AppInstanceTypeMlC6id4xlarge, + AppInstanceTypeMlC6id8xlarge, + AppInstanceTypeMlC6id12xlarge, + AppInstanceTypeMlC6id16xlarge, + AppInstanceTypeMlC6id24xlarge, + AppInstanceTypeMlC6id32xlarge, + AppInstanceTypeMlR6idLarge, + AppInstanceTypeMlR6idXlarge, + AppInstanceTypeMlR6id2xlarge, + AppInstanceTypeMlR6id4xlarge, + AppInstanceTypeMlR6id8xlarge, + AppInstanceTypeMlR6id12xlarge, + AppInstanceTypeMlR6id16xlarge, + AppInstanceTypeMlR6id24xlarge, + AppInstanceTypeMlR6id32xlarge, } }