diff --git a/CHANGELOG.md b/CHANGELOG.md index e0b33c83537..96e9f7fc2c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,24 @@ +Release v1.33.7 (2020-07-17) +=== + +### Service Client Updates +* `service/application-autoscaling`: Updates service documentation +* `service/appsync`: Updates service documentation +* `service/connect`: Updates service API and documentation +* `service/ec2`: Updates service API and documentation + * Documentation updates for EC2 +* `service/elasticbeanstalk`: Updates service waiters and paginators + * Add waiters for `EnvironmentExists`, `EnvironmentUpdated`, and `EnvironmentTerminated`. Add paginators for `DescribeEnvironmentManagedActionHistory` and `ListPlatformVersions`. +* `service/macie2`: Updates service API, documentation, and paginators + +### SDK Enhancements +* `service/s3/s3manager`: Clarify documentation and behavior of GetBucketRegion ([#3428](https://github.com/aws/aws-sdk-go/pull/3428)) + * Updates the documentation for GetBucketRegion's behavior with regard to default configuration for path style addressing. Provides examples how to override this behavior. + * Updates the GetBucketRegion utility to not require a region hint when the session or client was configured with a custom endpoint URL. + * Related to [#3115](https://github.com/aws/aws-sdk-go/issues/3115) +* `service/s3`: Add failsafe handling for unknown stream messages + * Adds failsafe handling for receiving unknown stream messages from an API. A `UnknownEvent` type will encapsulate the unknown message received from the API. Where `` is the name of the API's stream, (e.g. S3's `SelectObjectContentEventStreamUnknownEvent`). + Release v1.33.6 (2020-07-15) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index bdbc1e8af53..8a1927a39ca 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,12 +1,5 @@ ### SDK Features ### SDK Enhancements -* `service/s3/s3manager`: Clarify documentation and behavior of GetBucketRegion ([#3428](https://github.com/aws/aws-sdk-go/pull/3428)) - * Updates the documentation for GetBucketRegion's behavior with regard to default configuration for path style addressing. Provides examples how to override this behavior. - * Updates the GetBucketRegion utility to not require a region hint when the session or client was configured with a custom endpoint URL. - * Related to [#3115](https://github.com/aws/aws-sdk-go/issues/3115) -* `service/s3`: Add failsafe handling for unknown stream messages - * Adds failsafe handling for receiving unknown stream messages from an API. A `UnknownEvent` type will encapsulate the unknown message received from the API. Where `` is the name of the API's stream, (e.g. S3's `SelectObjectContentEventStreamUnknownEvent`). ### SDK Bugs - diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index d4ad56ff977..bc5fb73f91c 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -3069,6 +3069,7 @@ var awsPartition = partition{ Endpoints: endpoints{ "ap-northeast-1": endpoint{}, + "ap-southeast-2": endpoint{}, "eu-central-1": endpoint{}, "eu-west-1": endpoint{}, "us-east-1": endpoint{}, @@ -6492,6 +6493,12 @@ var awscnPartition = partition{ "cn-northwest-1": endpoint{}, }, }, + "cur": service{ + + Endpoints: endpoints{ + "cn-northwest-1": endpoint{}, + }, + }, "dax": service{ Endpoints: endpoints{ @@ -8974,6 +8981,12 @@ var awsisoPartition = partition{ "us-iso-east-1": endpoint{}, }, }, + "transcribestreaming": service{ + + Endpoints: endpoints{ + "us-iso-east-1": endpoint{}, + }, + }, "workspaces": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index 7b0f8d82268..3a03eedd3fc 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.33.6" +const SDKVersion = "1.33.7" diff --git a/models/apis/application-autoscaling/2016-02-06/docs-2.json b/models/apis/application-autoscaling/2016-02-06/docs-2.json index e1b31d3ae63..c8cc97c7985 100644 --- a/models/apis/application-autoscaling/2016-02-06/docs-2.json +++ b/models/apis/application-autoscaling/2016-02-06/docs-2.json @@ -301,7 +301,7 @@ "ResourceCapacity": { "base": null, "refs": { - "RegisterScalableTargetRequest$MinCapacity": "

The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.

This parameter is required if you are registering a scalable target. For Lambda provisioned concurrency, the minimum value allowed is 0. For all other resources, the minimum value allowed is 1.

", + "RegisterScalableTargetRequest$MinCapacity": "

The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand.

This parameter is required if you are registering a scalable target. For certain resources, the minimum value allowed is 0. This includes Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR clusters, and custom resources. For all other resources, the minimum value allowed is 1.

", "RegisterScalableTargetRequest$MaxCapacity": "

The maximum value that you plan to scale out to. When a scaling policy is in effect, Application Auto Scaling can scale out (expand) as needed to the maximum capacity limit in response to changing demand.

This parameter is required if you are registering a scalable target.

", "ScalableTarget$MinCapacity": "

The minimum value to scale to in response to a scale-in activity.

", "ScalableTarget$MaxCapacity": "

The maximum value to scale to in response to a scale-out activity.

", @@ -356,7 +356,7 @@ "ResourceLabel": { "base": null, "refs": { - "PredefinedMetricSpecification$ResourceLabel": "

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group attached to the Spot Fleet request or ECS service.

The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

" + "PredefinedMetricSpecification$ResourceLabel": "

Identifies the resource associated with the metric type. You can't specify a resource label unless the metric type is ALBRequestCountPerTarget and there is a target group attached to the Spot Fleet request or ECS service.

Elastic Load Balancing sends data about your load balancers to Amazon CloudWatch. CloudWatch collects the data and specifies the format to use to access the data. The format is app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>, where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN

  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

" } }, "ScalableDimension": { diff --git a/models/apis/appsync/2017-07-25/docs-2.json b/models/apis/appsync/2017-07-25/docs-2.json index 732a952ba39..0bbfaf2e3d2 100644 --- a/models/apis/appsync/2017-07-25/docs-2.json +++ b/models/apis/appsync/2017-07-25/docs-2.json @@ -81,9 +81,9 @@ "ApiCacheType": { "base": null, "refs": { - "ApiCache$type": "

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are avaible, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

", - "CreateApiCacheRequest$type": "

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are avaible, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

", - "UpdateApiCacheRequest$type": "

The cache instance type. Valid values are

  • SMALL

  • MEDIUM

  • LARGE

  • XLARGE

  • LARGE_2X

  • LARGE_4X

  • LARGE_8X (not available in all regions)

  • LARGE_12X

Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.

The following legacy instance types are avaible, but their use is discouraged:

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

" + "ApiCache$type": "

The cache instance type.

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

", + "CreateApiCacheRequest$type": "

The cache instance type.

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

", + "UpdateApiCacheRequest$type": "

The cache instance type.

  • T2_SMALL: A t2.small instance type.

  • T2_MEDIUM: A t2.medium instance type.

  • R4_LARGE: A r4.large instance type.

  • R4_XLARGE: A r4.xlarge instance type.

  • R4_2XLARGE: A r4.2xlarge instance type.

  • R4_4XLARGE: A r4.4xlarge instance type.

  • R4_8XLARGE: A r4.8xlarge instance type.

" } }, "ApiCachingBehavior": { @@ -194,7 +194,7 @@ "CachingKeys": { "base": null, "refs": { - "CachingConfig$cachingKeys": "

The caching keys for a resolver that has caching enabled.

Valid values are entries from the $context.identity and $context.arguments maps.

" + "CachingConfig$cachingKeys": "

The caching keys for a resolver that has caching enabled.

Valid values are entries from the $context.arguments, $context.source, and $context.identity maps.

" } }, "CognitoUserPoolConfig": { diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 93f193ea8dc..3cf55d7f841 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -301,6 +301,20 @@ {"shape":"InternalServiceException"} ] }, + "ResumeContactRecording":{ + "name":"ResumeContactRecording", + "http":{ + "method":"POST", + "requestUri":"/contact/resume-recording" + }, + "input":{"shape":"ResumeContactRecordingRequest"}, + "output":{"shape":"ResumeContactRecordingResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServiceException"} + ] + }, "StartChatContact":{ "name":"StartChatContact", "http":{ @@ -317,6 +331,21 @@ {"shape":"LimitExceededException"} ] }, + "StartContactRecording":{ + "name":"StartContactRecording", + "http":{ + "method":"POST", + "requestUri":"/contact/start-recording" + }, + "input":{"shape":"StartContactRecordingRequest"}, + "output":{"shape":"StartContactRecordingResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServiceException"} + ] + }, "StartOutboundVoiceContact":{ "name":"StartOutboundVoiceContact", "http":{ @@ -351,6 +380,34 @@ {"shape":"InternalServiceException"} ] }, + "StopContactRecording":{ + "name":"StopContactRecording", + "http":{ + "method":"POST", + "requestUri":"/contact/stop-recording" + }, + "input":{"shape":"StopContactRecordingRequest"}, + "output":{"shape":"StopContactRecordingResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServiceException"} + ] + }, + "SuspendContactRecording":{ + "name":"SuspendContactRecording", + "http":{ + "method":"POST", + "requestUri":"/contact/suspend-recording" + }, + "input":{"shape":"SuspendContactRecordingRequest"}, + "output":{"shape":"SuspendContactRecordingResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServiceException"} + ] + }, "TagResource":{ "name":"TagResource", "http":{ @@ -1754,6 +1811,24 @@ "error":{"httpStatusCode":404}, "exception":true }, + "ResumeContactRecordingRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId", + "InitialContactId" + ], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "ContactId":{"shape":"ContactId"}, + "InitialContactId":{"shape":"ContactId"} + } + }, + "ResumeContactRecordingResponse":{ + "type":"structure", + "members":{ + } + }, "RoutingProfileId":{"type":"string"}, "RoutingProfileName":{ "type":"string", @@ -1823,6 +1898,26 @@ "ParticipantToken":{"shape":"ParticipantToken"} } }, + "StartContactRecordingRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId", + "InitialContactId", + "VoiceRecordingConfiguration" + ], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "ContactId":{"shape":"ContactId"}, + "InitialContactId":{"shape":"ContactId"}, + "VoiceRecordingConfiguration":{"shape":"VoiceRecordingConfiguration"} + } + }, + "StartContactRecordingResponse":{ + "type":"structure", + "members":{ + } + }, "StartOutboundVoiceContactRequest":{ "type":"structure", "required":[ @@ -1857,6 +1952,24 @@ "AVG" ] }, + "StopContactRecordingRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId", + "InitialContactId" + ], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "ContactId":{"shape":"ContactId"}, + "InitialContactId":{"shape":"ContactId"} + } + }, + "StopContactRecordingResponse":{ + "type":"structure", + "members":{ + } + }, "StopContactRequest":{ "type":"structure", "required":[ @@ -1873,6 +1986,24 @@ "members":{ } }, + "SuspendContactRecordingRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "ContactId", + "InitialContactId" + ], + "members":{ + "InstanceId":{"shape":"InstanceId"}, + "ContactId":{"shape":"ContactId"}, + "InitialContactId":{"shape":"ContactId"} + } + }, + "SuspendContactRecordingResponse":{ + "type":"structure", + "members":{ + } + }, "TagKey":{ "type":"string", "max":128, @@ -2134,6 +2265,20 @@ "member":{"shape":"UserSummary"} }, "Value":{"type":"double"}, + "VoiceRecordingConfiguration":{ + "type":"structure", + "members":{ + "VoiceRecordingTrack":{"shape":"VoiceRecordingTrack"} + } + }, + "VoiceRecordingTrack":{ + "type":"string", + "enum":[ + "FROM_AGENT", + "TO_AGENT", + "ALL" + ] + }, "timestamp":{"type":"timestamp"} } } diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 2390b44104d..50a72491d02 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -1,33 +1,37 @@ { "version": "2.0", - "service": "

Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides rich metrics and real-time reporting that allow you to optimize contact routing. You can also resolve customer issues more efficiently by putting customers in touch with the right agents.

There are limits to the number of Amazon Connect resources that you can create and limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

To connect programmatically to an AWS service, you use an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

", + "service": "

Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides rich metrics and real-time reporting that allow you to optimize contact routing. You can also resolve customer issues more efficiently by putting customers in touch with the right agents.

There are limits to the number of Amazon Connect resources that you can create and limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Limits in the Amazon Connect Administrator Guide.

", "operations": { - "CreateUser": "

Creates a user account for the specified Amazon Connect instance.

For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.

", - "DeleteUser": "

Deletes a user account from the specified Amazon Connect instance.

For information about what happens to a user's data when their account is deleted, see Delete Users from Your Amazon Connect Instance in the Amazon Connect Administrator Guide.

", + "CreateUser": "

Creates a user account for the specified Amazon Connect instance.

", + "DeleteUser": "

Deletes a user account from the specified Amazon Connect instance.

", "DescribeUser": "

Describes the specified user account. You can find the instance ID in the console (it’s the final part of the ARN). The console does not display the user IDs. Instead, list the users and note the IDs provided in the output.

", "DescribeUserHierarchyGroup": "

Describes the specified hierarchy group.

", "DescribeUserHierarchyStructure": "

Describes the hierarchy structure of the specified Amazon Connect instance.

", "GetContactAttributes": "

Retrieves the contact attributes for the specified contact.

", - "GetCurrentMetricData": "

Gets the real-time metric data from the specified Amazon Connect instance.

For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.

", + "GetCurrentMetricData": "

Gets the real-time metric data from the specified Amazon Connect instance.

For more information, see Real-time Metrics Reports in the Amazon Connect Administrator Guide.

", "GetFederationToken": "

Retrieves a token for federation.

", - "GetMetricData": "

Gets historical metric data from the specified Amazon Connect instance.

For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.

", - "ListContactFlows": "

Provides information about the contact flows for the specified Amazon Connect instance.

For more information about contact flows, see Contact Flows in the Amazon Connect Administrator Guide.

", - "ListHoursOfOperations": "

Provides information about the hours of operation for the specified Amazon Connect instance.

For more information about hours of operation, see Set the Hours of Operation for a Queue in the Amazon Connect Administrator Guide.

", - "ListPhoneNumbers": "

Provides information about the phone numbers for the specified Amazon Connect instance.

For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.

", - "ListQueues": "

Provides information about the queues for the specified Amazon Connect instance.

For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator Guide.

", - "ListRoutingProfiles": "

Provides summary information about the routing profiles for the specified Amazon Connect instance.

For more information about routing profiles, see Routing Profiles and Create a Routing Profile in the Amazon Connect Administrator Guide.

", - "ListSecurityProfiles": "

Provides summary information about the security profiles for the specified Amazon Connect instance.

For more information about security profiles, see Security Profiles in the Amazon Connect Administrator Guide.

", - "ListTagsForResource": "

Lists the tags for the specified resource.

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

", - "ListUserHierarchyGroups": "

Provides summary information about the hierarchy groups for the specified Amazon Connect instance.

For more information about agent hierarchies, see Set Up Agent Hierarchies in the Amazon Connect Administrator Guide.

", + "GetMetricData": "

Gets historical metric data from the specified Amazon Connect instance.

For more information, see Historical Metrics Reports in the Amazon Connect Administrator Guide.

", + "ListContactFlows": "

Provides information about the contact flows for the specified Amazon Connect instance.

", + "ListHoursOfOperations": "

Provides information about the hours of operation for the specified Amazon Connect instance.

", + "ListPhoneNumbers": "

Provides information about the phone numbers for the specified Amazon Connect instance.

", + "ListQueues": "

Provides information about the queues for the specified Amazon Connect instance.

", + "ListRoutingProfiles": "

Provides summary information about the routing profiles for the specified Amazon Connect instance.

", + "ListSecurityProfiles": "

Provides summary information about the security profiles for the specified Amazon Connect instance.

", + "ListTagsForResource": "

Lists the tags for the specified resource.

", + "ListUserHierarchyGroups": "

Provides summary information about the hierarchy groups for the specified Amazon Connect instance.

", "ListUsers": "

Provides summary information about the users for the specified Amazon Connect instance.

", - "StartChatContact": "

Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients need to subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.

A 429 error occurs in two situations:

  • API rate limit is exceeded. API TPS throttling returns a TooManyRequests exception from the API Gateway.

  • The quota for concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException.

For more information about how chat works, see Chat in the Amazon Connect Administrator Guide.

", - "StartOutboundVoiceContact": "

This API places an outbound call to a contact, and then initiates the contact flow. It performs the actions in the contact flow that's specified (in ContactFlowId).

Agents are not involved in initiating the outbound API (that is, dialing the contact). If the contact flow places an outbound call to a contact, and then puts the contact in queue, that's when the call is routed to the agent, like any other inbound case.

There is a 60 second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.

UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

", + "ResumeContactRecording": "

When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.

Only voice recordings are supported at this time.

", + "StartChatContact": "

Initiates a contact flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients need to subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.

", + "StartContactRecording": "

This API starts recording the contact when the agent joins the call. StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.

You can use this API to override the recording behavior configured in the Set recording behavior block.

Only voice recordings are supported at this time.

", + "StartOutboundVoiceContact": "

This API places an outbound call to a contact, and then initiates the contact flow. It performs the actions in the contact flow that's specified (in ContactFlowId).

Agents are not involved in initiating the outbound API (that is, dialing the contact). If the contact flow places an outbound call to a contact, and then puts the contact in queue, that's when the call is routed to the agent, like any other inbound case.

There is a 60 second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.

", "StopContact": "

Ends the specified contact.

", - "TagResource": "

Adds the specified tags to the specified resource.

The supported resource type is users.

For sample policies that use tags, see Amazon Connect Identity-Based Policy Examples in the Amazon Connect Administrator Guide.

", + "StopContactRecording": "

When a contact is being recorded, this API stops recording the call. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.

Only voice recordings are supported at this time.

", + "SuspendContactRecording": "

When a contact is being recorded, this API suspends recording the call. For example, you might suspend the call recording while collecting sensitive information, such as a credit card number. Then use ResumeContactRecording to restart recording.

The period of time that the recording is suspended is filled with silence in the final recording.

Only voice recordings are supported at this time.

", + "TagResource": "

Adds the specified tags to the specified resource.

The supported resource type is users.

", "UntagResource": "

Removes the specified tags from the specified resource.

", "UpdateContactAttributes": "

Creates or updates the contact attributes associated with the specified contact.

You can add or update attributes for both ongoing and completed contacts. For example, you can update the customer's name or the reason the customer called while the call is active, or add notes about steps that the agent took during the call that are displayed to the next agent that takes the call. You can also update attributes for a contact using data from your CRM application and save the data with the contact in Amazon Connect. You could also flag calls for additional analysis, such as legal review or identifying abusive callers.

Contact attributes are available in Amazon Connect for 24 months, and are then deleted.

Important: You cannot use the operation to update attributes for contacts that occurred prior to the release of the API, September 12, 2018. You can update attributes only for contacts that started after the release of the API. If you attempt to update attributes for a contact that occurred prior to the release of the API, a 400 error is returned. This applies also to queued callbacks that were initiated prior to the release of the API but are still active in your instance.

", "UpdateUserHierarchy": "

Assigns the specified hierarchy group to the specified user.

", - "UpdateUserIdentityInfo": "

Updates the identity information for the specified user.

Someone with the ability to invoke UpdateUserIndentityInfo can change the login credentials of other users by changing their email address. This poses a security risk to your organization. They can change the email address of a user to the attacker's email address, and then reset the password through email. We strongly recommend limiting who has the ability to invoke UpdateUserIndentityInfo. For more information, see Best Practices for Security Profiles in the Amazon Connect Administrator Guide.

", + "UpdateUserIdentityInfo": "

Updates the identity information for the specified user.

", "UpdateUserPhoneConfig": "

Updates the phone configuration settings for the specified user.

", "UpdateUserRoutingProfile": "

Assigns the specified routing profile to the specified user.

", "UpdateUserSecurityProfiles": "

Assigns the specified security profiles to the specified user.

" @@ -155,8 +159,8 @@ "base": null, "refs": { "ContactFlowSummary$Id": "

The identifier of the contact flow.

", - "StartChatContactRequest$ContactFlowId": "

The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

", - "StartOutboundVoiceContactRequest$ContactFlowId": "

The identifier of the contact flow for the outbound call. To see the ContactFlowId in the Amazon Connect console user interface, on the navigation menu go to Routing, Contact Flows. Choose the contact flow. On the contact flow page, under the name of the contact flow, choose Show additional flow information. The ContactFlowId is the last part of the ARN, shown here in bold:

arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx

" + "StartChatContactRequest$ContactFlowId": "

The identifier of the contact flow for the chat.

", + "StartOutboundVoiceContactRequest$ContactFlowId": "

The identifier of the contact flow for the outbound call.

" } }, "ContactFlowName": { @@ -194,9 +198,17 @@ "base": null, "refs": { "GetContactAttributesRequest$InitialContactId": "

The identifier of the initial contact.

", + "ResumeContactRecordingRequest$ContactId": "

The identifier of the contact.

", + "ResumeContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "StartChatContactResponse$ContactId": "

The identifier of this contact within the Amazon Connect instance.

", + "StartContactRecordingRequest$ContactId": "

The identifier of the contact.

", + "StartContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "StartOutboundVoiceContactResponse$ContactId": "

The identifier of this contact within the Amazon Connect instance.

", + "StopContactRecordingRequest$ContactId": "

The identifier of the contact.

", + "StopContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "StopContactRequest$ContactId": "

The ID of the contact.

", + "SuspendContactRecordingRequest$ContactId": "

The identifier of the contact.

", + "SuspendContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "UpdateContactAttributesRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

" } }, @@ -261,7 +273,7 @@ "CurrentMetrics": { "base": null, "refs": { - "GetCurrentMetricDataRequest$CurrentMetrics": "

The metrics to retrieve. Specify the name and unit for each metric. The following metrics are available. For a description of all the metrics, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.

AGENTS_AFTER_CONTACT_WORK

Unit: COUNT

Name in real-time metrics report: ACW

AGENTS_AVAILABLE

Unit: COUNT

Name in real-time metrics report: Available

AGENTS_ERROR

Unit: COUNT

Name in real-time metrics report: Error

AGENTS_NON_PRODUCTIVE

Unit: COUNT

Name in real-time metrics report: NPT (Non-Productive Time)

AGENTS_ON_CALL

Unit: COUNT

Name in real-time metrics report: On contact

AGENTS_ON_CONTACT

Unit: COUNT

Name in real-time metrics report: On contact

AGENTS_ONLINE

Unit: COUNT

Name in real-time metrics report: Online

AGENTS_STAFFED

Unit: COUNT

Name in real-time metrics report: Staffed

CONTACTS_IN_QUEUE

Unit: COUNT

Name in real-time metrics report: In queue

CONTACTS_SCHEDULED

Unit: COUNT

Name in real-time metrics report: Scheduled

OLDEST_CONTACT_AGE

Unit: SECONDS

When you use groupings, Unit says SECONDS but the Value is returned in MILLISECONDS. For example, if you get a response like this:

{ \"Metric\": { \"Name\": \"OLDEST_CONTACT_AGE\", \"Unit\": \"SECONDS\" }, \"Value\": 24113.0 }

The actual OLDEST_CONTACT_AGE is 24 seconds.

Name in real-time metrics report: Oldest

SLOTS_ACTIVE

Unit: COUNT

Name in real-time metrics report: Active

SLOTS_AVAILABLE

Unit: COUNT

Name in real-time metrics report: Availability

" + "GetCurrentMetricDataRequest$CurrentMetrics": "

The metrics to retrieve. Specify the name and unit for each metric. The following metrics are available. For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.

AGENTS_AFTER_CONTACT_WORK

Unit: COUNT

AGENTS_AVAILABLE

Unit: COUNT

AGENTS_ERROR

Unit: COUNT

AGENTS_NON_PRODUCTIVE

Unit: COUNT

AGENTS_ON_CALL

Unit: COUNT

AGENTS_ON_CONTACT

Unit: COUNT

AGENTS_ONLINE

Unit: COUNT

AGENTS_STAFFED

Unit: COUNT

CONTACTS_IN_QUEUE

Unit: COUNT

CONTACTS_SCHEDULED

Unit: COUNT

OLDEST_CONTACT_AGE

Unit: SECONDS

SLOTS_ACTIVE

Unit: COUNT

SLOTS_AVAILABLE

Unit: COUNT

" } }, "DeleteUserRequest": { @@ -558,9 +570,13 @@ "ListSecurityProfilesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "ListUserHierarchyGroupsRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "ListUsersRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "ResumeContactRecordingRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "StartChatContactRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "StartContactRecordingRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "StartOutboundVoiceContactRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "StopContactRecordingRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "StopContactRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", + "SuspendContactRecordingRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "UpdateContactAttributesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "UpdateUserHierarchyRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "UpdateUserIdentityInfoRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", @@ -885,6 +901,16 @@ "refs": { } }, + "ResumeContactRecordingRequest": { + "base": null, + "refs": { + } + }, + "ResumeContactRecordingResponse": { + "base": null, + "refs": { + } + }, "RoutingProfileId": { "base": null, "refs": { @@ -962,6 +988,16 @@ "refs": { } }, + "StartContactRecordingRequest": { + "base": null, + "refs": { + } + }, + "StartContactRecordingResponse": { + "base": null, + "refs": { + } + }, "StartOutboundVoiceContactRequest": { "base": null, "refs": { @@ -978,6 +1014,16 @@ "HistoricalMetric$Statistic": "

The statistic for the metric.

" } }, + "StopContactRecordingRequest": { + "base": null, + "refs": { + } + }, + "StopContactRecordingResponse": { + "base": null, + "refs": { + } + }, "StopContactRequest": { "base": null, "refs": { @@ -988,6 +1034,16 @@ "refs": { } }, + "SuspendContactRecordingRequest": { + "base": null, + "refs": { + } + }, + "SuspendContactRecordingResponse": { + "base": null, + "refs": { + } + }, "TagKey": { "base": null, "refs": { @@ -1146,6 +1202,18 @@ "HistoricalMetricData$Value": "

The value of the metric.

" } }, + "VoiceRecordingConfiguration": { + "base": "

Contains information about the recording configuration settings.

", + "refs": { + "StartContactRecordingRequest$VoiceRecordingConfiguration": "

Who is being recorded.

" + } + }, + "VoiceRecordingTrack": { + "base": null, + "refs": { + "VoiceRecordingConfiguration$VoiceRecordingTrack": "

Identifies which track is being recorded.

" + } + }, "timestamp": { "base": null, "refs": { diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 0102da5afc8..26f25b5b8c4 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -3941,7 +3941,7 @@ "type":"structure", "members":{ "Domain":{"shape":"DomainType"}, - "Address":{"shape":"String"}, + "Address":{"shape":"PublicIpAddress"}, "PublicIpv4Pool":{"shape":"String"}, "NetworkBorderGroup":{"shape":"String"}, "CustomerOwnedIpv4Pool":{"shape":"String"}, @@ -6203,6 +6203,13 @@ } }, "ConnectionNotificationId":{"type":"string"}, + "ConnectionNotificationIdsList":{ + "type":"list", + "member":{ + "shape":"ConnectionNotificationId", + "locationName":"item" + } + }, "ConnectionNotificationSet":{ "type":"list", "member":{ @@ -6283,7 +6290,7 @@ ], "members":{ "DryRun":{"shape":"Boolean"}, - "SourceFpgaImageId":{"shape":"FpgaImageId"}, + "SourceFpgaImageId":{"shape":"String"}, "Description":{"shape":"String"}, "Name":{"shape":"String"}, "SourceRegion":{"shape":"String"}, @@ -9083,7 +9090,7 @@ "members":{ "DryRun":{"shape":"Boolean"}, "ConnectionNotificationIds":{ - "shape":"ValueStringList", + "shape":"ConnectionNotificationIdsList", "locationName":"ConnectionNotificationId" } } @@ -17573,7 +17580,7 @@ "InstanceIdSet":{ "type":"list", "member":{ - "shape":"String", + "shape":"InstanceId", "locationName":"item" } }, @@ -22913,6 +22920,7 @@ } } }, + "PublicIpAddress":{"type":"string"}, "PublicIpStringList":{ "type":"list", "member":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 2868837691f..6d632ad87d7 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -198,7 +198,7 @@ "DescribeInternetGateways": "

Describes one or more of your internet gateways.

", "DescribeIpv6Pools": "

Describes your IPv6 address pools.

", "DescribeKeyPairs": "

Describes the specified key pairs or all of your key pairs.

For more information about key pairs, see Key Pairs in the Amazon Elastic Compute Cloud User Guide.

", - "DescribeLaunchTemplateVersions": "

Describes one or more versions of a specified launch template. You can describe all versions, individual versions, or a range of versions.

", + "DescribeLaunchTemplateVersions": "

Describes one or more versions of a specified launch template. You can describe all versions, individual versions, or a range of versions. You can also describe all the latest versions or all the default versions of all the launch templates in your account.

", "DescribeLaunchTemplates": "

Describes one or more launch templates.

", "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations": "

Describes the associations between virtual interface groups and local gateway route tables.

", "DescribeLocalGatewayRouteTableVpcAssociations": "

Describes the specified associations between VPCs and local gateway route tables.

", @@ -303,7 +303,7 @@ "GetEbsDefaultKmsKeyId": "

Describes the default customer master key (CMK) for EBS encryption by default for your account in this Region. You can change the default CMK for encryption by default using ModifyEbsDefaultKmsKeyId or ResetEbsDefaultKmsKeyId.

For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide.

", "GetEbsEncryptionByDefault": "

Describes whether EBS encryption by default is enabled for your account in the current Region.

For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide.

", "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.

", - "GetLaunchTemplateData": "

Retrieves the configuration data of the specified instance. You can use this data to create a launch template.

", + "GetLaunchTemplateData": "

Retrieves the configuration data of the specified instance. You can use this data to create a launch template.

This action calls on other describe actions to get instance information. Depending on your instance configuration, you may need to allow the following actions in your IAM policy: DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications, DescribeVolumes, DescribeInstanceAttribute, and DescribeElasticGpus. Or, you can allow describe* depending on your instance requirements.

", "GetManagedPrefixListAssociations": "

Gets information about the resources that are associated with the specified managed prefix list.

", "GetManagedPrefixListEntries": "

Gets information about the entries for a specified managed prefix list.

", "GetPasswordData": "

Retrieves the encrypted administrator password for a running Windows instance.

The Windows password is generated at boot by the EC2Config service or EC2Launch scripts (Windows Server 2016 and later). This usually only happens the first time an instance is launched. For more information, see EC2Config and EC2Launch in the Amazon Elastic Compute Cloud User Guide.

For the EC2Config service, the password is not generated for rebundled AMIs unless Ec2SetPassword is enabled before bundling.

The password is encrypted using the key pair that you specified when you launched the instance. You must provide the corresponding key pair file.

When you launch an instance, password generation and encryption may take a few minutes. If you try to retrieve the password before it's available, the output returns an empty string. We recommend that you wait up to 15 minutes after launching an instance before trying to retrieve the generated password.

", @@ -365,7 +365,7 @@ "PurchaseReservedInstancesOffering": "

Purchases a Reserved Instance for use with your account. With Reserved Instances, you pay a lower hourly rate compared to On-Demand instance pricing.

Use DescribeReservedInstancesOfferings to get a list of Reserved Instance offerings that match your specifications. After you've purchased a Reserved Instance, you can check for your new Reserved Instance with DescribeReservedInstances.

To queue a purchase for a future date and time, specify a purchase time. If you do not specify a purchase time, the default is the current time.

For more information, see Reserved Instances and Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide.

", "PurchaseScheduledInstances": "

Purchases the Scheduled Instances with the specified schedule.

Scheduled Instances enable you to purchase Amazon EC2 compute capacity by the hour for a one-year term. Before you can purchase a Scheduled Instance, you must call DescribeScheduledInstanceAvailability to check for available schedules and obtain a purchase token. After you purchase a Scheduled Instance, you must call RunScheduledInstances during each scheduled time period.

After you purchase a Scheduled Instance, you can't cancel, modify, or resell your purchase.

", "RebootInstances": "

Requests a reboot of the specified instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored.

If an instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot.

For more information about troubleshooting, see Getting console output and rebooting instances in the Amazon Elastic Compute Cloud User Guide.

", - "RegisterImage": "

Registers an AMI. When you're creating an AMI, this is the final step you must complete before you can launch an instance from the AMI. For more information about creating AMIs, see Creating Your Own AMIs in the Amazon Elastic Compute Cloud User Guide.

For Amazon EBS-backed instances, CreateImage creates and registers the AMI in a single request, so you don't have to register the AMI yourself.

You can also use RegisterImage to create an Amazon EBS-backed Linux AMI from a snapshot of a root device volume. You specify the snapshot using the block device mapping. For more information, see Launching a Linux Instance from a Backup in the Amazon Elastic Compute Cloud User Guide.

You can't register an image where a secondary (non-root) snapshot has AWS Marketplace product codes.

Windows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing product code associated with an AMI to verify the subscription status for package updates. To create a new AMI for operating systems that require a billing product code, instead of registering the AMI, do the following to preserve the billing product code association:

  1. Launch an instance from an existing AMI with that billing product code.

  2. Customize the instance.

  3. Create an AMI from the instance using CreateImage.

If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched from an AMI with a billing product code, make sure that the Reserved Instance has the matching billing product code. If you purchase a Reserved Instance without the matching billing product code, the Reserved Instance will not be applied to the On-Demand Instance. For information about how to obtain the platform details and billing information of an AMI, see Obtaining Billing Information in the Amazon Elastic Compute Cloud User Guide.

If needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration. If you make changes to an image, deregister the previous image and register the new image.

", + "RegisterImage": "

Registers an AMI. When you're creating an AMI, this is the final step you must complete before you can launch an instance from the AMI. For more information about creating AMIs, see Creating your own AMIs in the Amazon Elastic Compute Cloud User Guide.

For Amazon EBS-backed instances, CreateImage creates and registers the AMI in a single request, so you don't have to register the AMI yourself.

You can also use RegisterImage to create an Amazon EBS-backed Linux AMI from a snapshot of a root device volume. You specify the snapshot using the block device mapping. For more information, see Launching a Linux instance from a backup in the Amazon Elastic Compute Cloud User Guide.

If any snapshots have AWS Marketplace product codes, they are copied to the new AMI.

Windows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES), use the EC2 billing product code associated with an AMI to verify the subscription status for package updates. To create a new AMI for operating systems that require a billing product code, instead of registering the AMI, do the following to preserve the billing product code association:

  1. Launch an instance from an existing AMI with that billing product code.

  2. Customize the instance.

  3. Create an AMI from the instance using CreateImage.

If you purchase a Reserved Instance to apply to an On-Demand Instance that was launched from an AMI with a billing product code, make sure that the Reserved Instance has the matching billing product code. If you purchase a Reserved Instance without the matching billing product code, the Reserved Instance will not be applied to the On-Demand Instance. For information about how to obtain the platform details and billing information of an AMI, see Obtaining billing information in the Amazon Elastic Compute Cloud User Guide.

If needed, you can deregister an AMI at any time. Any modifications you make to an AMI backed by an instance store volume invalidates its registration. If you make changes to an image, deregister the previous image and register the new image.

", "RegisterInstanceEventNotificationAttributes": "

Registers a set of tag keys to include in scheduled event notifications for your resources.

To remove tags, use .

", "RegisterTransitGatewayMulticastGroupMembers": "

Registers members (network interfaces) with the transit gateway multicast group. A member is a network interface associated with a supported EC2 instance that receives multicast traffic. For information about supported instances, see Multicast Consideration in Amazon VPC Transit Gateways.

After you add the members, use SearchTransitGatewayMulticastGroups to verify that the members were added to the transit gateway multicast group.

", "RegisterTransitGatewayMulticastGroupSources": "

Registers sources (network interfaces) with the specified transit gateway multicast group.

A multicast source is a network interface attached to a supported instance that sends multicast traffic. For information about supported instances, see Multicast Considerations in Amazon VPC Transit Gateways.

After you add the source, use SearchTransitGatewayMulticastGroups to verify that the source was added to the multicast group.

", @@ -946,7 +946,7 @@ "base": null, "refs": { "TransitGatewayOptions$AutoAcceptSharedAttachments": "

Indicates whether attachment requests are automatically accepted.

", - "TransitGatewayRequestOptions$AutoAcceptSharedAttachments": "

Enable or disable automatic acceptance of attachment requests. The default is disable.

" + "TransitGatewayRequestOptions$AutoAcceptSharedAttachments": "

Enable or disable automatic acceptance of attachment requests. Disabled by default.

" } }, "AutoPlacement": { @@ -1123,7 +1123,7 @@ "AttachVpnGatewayRequest$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.

", "AttributeBooleanValue$Value": "

The attribute value. The valid values are true or false.

", "AuthorizationRule$AccessAll": "

Indicates whether the authorization rule grants access to all clients.

", - "AuthorizeClientVpnIngressRequest$AuthorizeAllGroups": "

Indicates whether to grant access to all clients. Use true to grant all clients who successfully establish a VPN connection access to the network.

", + "AuthorizeClientVpnIngressRequest$AuthorizeAllGroups": "

Indicates whether to grant access to all clients. Specify true to grant all clients who successfully establish a VPN connection access to the network. Must be set to true if AccessGroupId is not specified.

", "AuthorizeClientVpnIngressRequest$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.

", "AuthorizeSecurityGroupEgressRequest$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.

", "AuthorizeSecurityGroupIngressRequest$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.

", @@ -2313,10 +2313,17 @@ "ConnectionNotificationId": { "base": null, "refs": { + "ConnectionNotificationIdsList$member": null, "DescribeVpcEndpointConnectionNotificationsRequest$ConnectionNotificationId": "

The ID of the notification.

", "ModifyVpcEndpointConnectionNotificationRequest$ConnectionNotificationId": "

The ID of the notification.

" } }, + "ConnectionNotificationIdsList": { + "base": null, + "refs": { + "DeleteVpcEndpointConnectionNotificationsRequest$ConnectionNotificationIds": "

One or more notification IDs.

" + } + }, "ConnectionNotificationSet": { "base": null, "refs": { @@ -2991,15 +2998,15 @@ } }, "CreditSpecification": { - "base": "

Describes the credit option for CPU usage of a T2 or T3 instance.

", + "base": "

Describes the credit option for CPU usage of a T2, T3, or T3a instance.

", "refs": { "ResponseLaunchTemplateData$CreditSpecification": "

The credit option for CPU usage of the instance.

" } }, "CreditSpecificationRequest": { - "base": "

The credit option for CPU usage of a T2 or T3 instance.

", + "base": "

The credit option for CPU usage of a T2, T3, or T3a instance.

", "refs": { - "RequestLaunchTemplateData$CreditSpecification": "

The credit option for CPU usage of the instance. Valid for T2 or T3 instances only.

", + "RequestLaunchTemplateData$CreditSpecification": "

The credit option for CPU usage of the instance. Valid for T2, T3, or T3a instances only.

", "RunInstancesRequest$CreditSpecification": "

The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited. To change this attribute after launch, use ModifyInstanceCreditSpecification. For more information, see Burstable performance instances in the Amazon Elastic Compute Cloud User Guide.

Default: standard (T2 instances) or unlimited (T3/T3a instances)

" } }, @@ -3190,14 +3197,14 @@ "base": null, "refs": { "TransitGatewayOptions$DefaultRouteTableAssociation": "

Indicates whether resource attachments are automatically associated with the default association route table.

", - "TransitGatewayRequestOptions$DefaultRouteTableAssociation": "

Enable or disable automatic association with the default association route table. The default is enable.

" + "TransitGatewayRequestOptions$DefaultRouteTableAssociation": "

Enable or disable automatic association with the default association route table. Enabled by default.

" } }, "DefaultRouteTablePropagationValue": { "base": null, "refs": { "TransitGatewayOptions$DefaultRouteTablePropagation": "

Indicates whether resource attachments automatically propagate routes to the default propagation route table.

", - "TransitGatewayRequestOptions$DefaultRouteTablePropagation": "

Enable or disable automatic propagation of routes to the default propagation route table. The default is enable.

" + "TransitGatewayRequestOptions$DefaultRouteTablePropagation": "

Enable or disable automatic propagation of routes to the default propagation route table. Enabled by default.

" } }, "DefaultTargetCapacityType": { @@ -5484,7 +5491,7 @@ "CreateTransitGatewayVpcAttachmentRequestOptions$DnsSupport": "

Enable or disable DNS support. The default is enable.

", "ModifyTransitGatewayVpcAttachmentRequestOptions$DnsSupport": "

Enable or disable DNS support. The default is enable.

", "TransitGatewayOptions$DnsSupport": "

Indicates whether DNS support is enabled.

", - "TransitGatewayRequestOptions$DnsSupport": "

Enable or disable DNS support.

", + "TransitGatewayRequestOptions$DnsSupport": "

Enable or disable DNS support. Enabled by default.

", "TransitGatewayVpcAttachmentOptions$DnsSupport": "

Indicates whether DNS support is enabled.

" } }, @@ -5492,8 +5499,8 @@ "base": null, "refs": { "Address$Domain": "

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

", - "AllocateAddressRequest$Domain": "

Set to vpc to allocate the address for use with instances in a VPC.

Default: The address is for use with instances in EC2-Classic.

", - "AllocateAddressResult$Domain": "

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard) or instances in a VPC (vpc).

" + "AllocateAddressRequest$Domain": "

Indicates whether the Elastic IP address is for use with instances in a VPC or instances in EC2-Classic.

Default: If the Region supports EC2-Classic, the default is standard. Otherwise, the default is vpc.

", + "AllocateAddressResult$Domain": "

Indicates whether the Elastic IP address is for use with instances in a VPC (vpc) or instances in EC2-Classic (standard).

" } }, "Double": { @@ -6060,7 +6067,7 @@ "base": null, "refs": { "DescribeAddressesRequest$Filters": "

One or more filters. Filter names and values are case-sensitive.

  • allocation-id - [EC2-VPC] The allocation ID for the address.

  • association-id - [EC2-VPC] The association ID for the address.

  • domain - Indicates whether the address is for use in EC2-Classic (standard) or in a VPC (vpc).

  • instance-id - The ID of the instance the address is associated with, if any.

  • network-border-group - The location from where the IP address is advertised.

  • network-interface-id - [EC2-VPC] The ID of the network interface that the address is associated with, if any.

  • network-interface-owner-id - The AWS account ID of the owner.

  • private-ip-address - [EC2-VPC] The private IP address associated with the Elastic IP address.

  • public-ip - The Elastic IP address.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

", - "DescribeAvailabilityZonesRequest$Filters": "

The filters.

  • group-name - For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example, us-west-2-lax-1).

  • message - The Zone message.

  • opt-in-status - The opt in status (opted-in, and not-opted-in | opt-in-not-required).

  • region-name - The name of the Region for the Zone (for example, us-east-1).

  • state - The state of the Availability Zone or Local Zone (available | information | impaired | unavailable).

  • zone-id - The ID of the Availability Zone (for example, use1-az1) or the Local Zone (for example, use usw2-lax1-az1).

  • zone-name - The name of the Availability Zone (for example, us-east-1a) or the Local Zone (for example, use us-west-2-lax-1a).

", + "DescribeAvailabilityZonesRequest$Filters": "

The filters.

  • group-name - For Availability Zones, use the Region name. For Local Zones, use the name of the group associated with the Local Zone (for example, us-west-2-lax-1).

  • message - The Zone message.

  • opt-in-status - The opt in status (opted-in, and not-opted-in | opt-in-not-required).

  • The ID of the zone that handles some of the Local Zone control plane operations, such as API calls.

  • region-name - The name of the Region for the Zone (for example, us-east-1).

  • state - The state of the Availability Zone or Local Zone (available | information | impaired | unavailable).

  • zone-id - The ID of the Availability Zone (for example, use1-az1) or the Local Zone (for example, use usw2-lax1-az1).

  • zone-type - The type of zone, for example, local-zone.

  • zone-name - The name of the Availability Zone (for example, us-east-1a) or the Local Zone (for example, use us-west-2-lax-1a).

  • zone-type - The type of zone, for example, local-zone.

", "DescribeBundleTasksRequest$Filters": "

The filters.

  • bundle-id - The ID of the bundle task.

  • error-code - If the task failed, the error code returned.

  • error-message - If the task failed, the error message returned.

  • instance-id - The ID of the instance.

  • progress - The level of task completion, as a percentage (for example, 20%).

  • s3-bucket - The Amazon S3 bucket to store the AMI.

  • s3-prefix - The beginning of the AMI name.

  • start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z).

  • state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed).

  • update-time - The time of the most recent update for the task.

", "DescribeCapacityReservationsRequest$Filters": "

One or more filters.

  • instance-type - The type of instance for which the Capacity Reservation reserves capacity.

  • owner-id - The ID of the AWS account that owns the Capacity Reservation.

  • availability-zone-id - The Availability Zone ID of the Capacity Reservation.

  • instance-platform - The type of operating system for which the Capacity Reservation reserves capacity.

  • availability-zone - The Availability Zone ID of the Capacity Reservation.

  • tenancy - Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings:

    • default - The Capacity Reservation is created on hardware that is shared with other AWS accounts.

    • dedicated - The Capacity Reservation is created on single-tenant hardware that is dedicated to a single AWS account.

  • state - The current state of the Capacity Reservation. A Capacity Reservation can be in one of the following states:

    • active- The Capacity Reservation is active and the capacity is available for your use.

    • expired - The Capacity Reservation expired automatically at the date and time specified in your request. The reserved capacity is no longer available for your use.

    • cancelled - The Capacity Reservation was manually cancelled. The reserved capacity is no longer available for your use.

    • pending - The Capacity Reservation request was successful but the capacity provisioning is still pending.

    • failed - The Capacity Reservation request has failed. A request might fail due to invalid request parameters, capacity constraints, or instance limit constraints. Failed requests are retained for 60 minutes.

  • end-date - The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time.

  • end-date-type - Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types:

    • unlimited - The Capacity Reservation remains active until you explicitly cancel it.

    • limited - The Capacity Reservation expires automatically at a specified date and time.

  • instance-match-criteria - Indicates the type of instance launches that the Capacity Reservation accepts. The options include:

    • open - The Capacity Reservation accepts all instances that have matching attributes (instance type, platform, and Availability Zone). Instances that have matching attributes launch into the Capacity Reservation automatically without specifying any additional parameters.

    • targeted - The Capacity Reservation only accepts instances that have matching attributes (instance type, platform, and Availability Zone), and explicitly target the Capacity Reservation. This ensures that only permitted instances can use the reserved capacity.

", "DescribeClassicLinkInstancesRequest$Filters": "

One or more filters.

  • group-id - The ID of a VPC security group that's associated with the instance.

  • instance-id - The ID of the instance.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC to which the instance is linked.

    vpc-id - The ID of the VPC that the instance is linked to.

", @@ -6085,7 +6092,7 @@ "DescribeHostReservationsRequest$Filter": "

The filters.

  • instance-family - The instance family (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

  • state - The state of the reservation (payment-pending | payment-failed | active | retired).

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

", "DescribeHostsRequest$Filter": "

The filters.

  • auto-placement - Whether auto-placement is enabled or disabled (on | off).

  • availability-zone - The Availability Zone of the host.

  • client-token - The idempotency token that you provided when you allocated the host.

  • host-reservation-id - The ID of the reservation assigned to this host.

  • instance-type - The instance type size that the Dedicated Host is configured to support.

  • state - The allocation state of the Dedicated Host (available | under-assessment | permanent-failure | released | released-permanent-failure).

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

", "DescribeIamInstanceProfileAssociationsRequest$Filters": "

The filters.

  • instance-id - The ID of the instance.

  • state - The state of the association (associating | associated | disassociating).

", - "DescribeImagesRequest$Filters": "

The filters.

  • architecture - The image architecture (i386 | x86_64 | arm64).

  • block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.snapshot-id - The ID of the snapshot used for the EBS volume.

  • block-device-mapping.volume-size - The volume size of the EBS volume, in GiB.

  • block-device-mapping.volume-type - The volume type of the EBS volume (gp2 | io1 | st1 | sc1 | standard).

  • block-device-mapping.encrypted - A Boolean that indicates whether the EBS volume is encrypted.

  • description - The description of the image (provided during image creation).

  • ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled.

  • hypervisor - The hypervisor type (ovm | xen).

  • image-id - The ID of the image.

  • image-type - The image type (machine | kernel | ramdisk).

  • is-public - A Boolean that indicates whether the image is public.

  • kernel-id - The kernel ID.

  • manifest-location - The location of the image manifest.

  • name - The name of the AMI (provided during image creation).

  • owner-alias - String value from an Amazon-maintained list (amazon | aws-marketplace | microsoft) of snapshot owners. Not to be confused with the user-configured AWS account alias, which is set from the IAM console.

  • owner-id - The AWS account ID of the image owner.

  • platform - The platform. To only list Windows-based AMIs, use windows.

  • product-code - The product code.

  • product-code.type - The type of the product code (devpay | marketplace).

  • ramdisk-id - The RAM disk ID.

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

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • state - The state of the image (available | pending | failed).

  • state-reason-code - The reason code for the state change.

  • state-reason-message - The message for the state change.

  • sriov-net-support - A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • virtualization-type - The virtualization type (paravirtual | hvm).

", + "DescribeImagesRequest$Filters": "

The filters.

  • architecture - The image architecture (i386 | x86_64 | arm64).

  • block-device-mapping.delete-on-termination - A Boolean value that indicates whether the Amazon EBS volume is deleted on instance termination.

  • block-device-mapping.device-name - The device name specified in the block device mapping (for example, /dev/sdh or xvdh).

  • block-device-mapping.snapshot-id - The ID of the snapshot used for the EBS volume.

  • block-device-mapping.volume-size - The volume size of the EBS volume, in GiB.

  • block-device-mapping.volume-type - The volume type of the EBS volume (gp2 | io1 | st1 | sc1 | standard).

  • block-device-mapping.encrypted - A Boolean that indicates whether the EBS volume is encrypted.

  • description - The description of the image (provided during image creation).

  • ena-support - A Boolean that indicates whether enhanced networking with ENA is enabled.

  • hypervisor - The hypervisor type (ovm | xen).

  • image-id - The ID of the image.

  • image-type - The image type (machine | kernel | ramdisk).

  • is-public - A Boolean that indicates whether the image is public.

  • kernel-id - The kernel ID.

  • manifest-location - The location of the image manifest.

  • name - The name of the AMI (provided during image creation).

  • owner-alias - The owner alias, from an Amazon-maintained list (amazon | aws-marketplace). This is not the user-configured AWS account alias set using the IAM console. We recommend that you use the related parameter instead of this filter.

  • owner-id - The AWS account ID of the owner. We recommend that you use the related parameter instead of this filter.

  • platform - The platform. To only list Windows-based AMIs, use windows.

  • product-code - The product code.

  • product-code.type - The type of the product code (devpay | marketplace).

  • ramdisk-id - The RAM disk ID.

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

  • root-device-type - The type of the root device volume (ebs | instance-store).

  • state - The state of the image (available | pending | failed).

  • state-reason-code - The reason code for the state change.

  • state-reason-message - The message for the state change.

  • sriov-net-support - A value of simple indicates that enhanced networking with the Intel 82599 VF interface is enabled.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • virtualization-type - The virtualization type (paravirtual | hvm).

", "DescribeImportImageTasksRequest$Filters": "

Filter tasks using the task-state filter and one of the following values: active, completed, deleting, or deleted.

", "DescribeImportSnapshotTasksRequest$Filters": "

The filters.

", "DescribeInstanceCreditSpecificationsRequest$Filters": "

The filters.

  • instance-id - The ID of the instance.

", @@ -6118,7 +6125,7 @@ "DescribeReservedInstancesModificationsRequest$Filters": "

One or more filters.

  • client-token - The idempotency token for the modification request.

  • create-date - The time when the modification request was created.

  • effective-date - The time when the modification becomes effective.

  • modification-result.reserved-instances-id - The ID for the Reserved Instances created as part of the modification request. This ID is only available when the status of the modification is fulfilled.

  • modification-result.target-configuration.availability-zone - The Availability Zone for the new Reserved Instances.

  • modification-result.target-configuration.instance-count - The number of new Reserved Instances.

  • modification-result.target-configuration.instance-type - The instance type of the new Reserved Instances.

  • modification-result.target-configuration.platform - The network platform of the new Reserved Instances (EC2-Classic | EC2-VPC).

  • reserved-instances-id - The ID of the Reserved Instances modified.

  • reserved-instances-modification-id - The ID of the modification request.

  • status - The status of the Reserved Instances modification request (processing | fulfilled | failed).

  • status-message - The reason for the status.

  • update-date - The time when the modification request was last updated.

", "DescribeReservedInstancesOfferingsRequest$Filters": "

One or more filters.

  • availability-zone - The Availability Zone where the Reserved Instance can be used.

  • duration - The duration of the Reserved Instance (for example, one year or three years), in seconds (31536000 | 94608000).

  • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

  • instance-type - The instance type that is covered by the reservation.

  • marketplace - Set to true to show only Reserved Instance Marketplace offerings. When this filter is not used, which is the default behavior, all offerings from both AWS and the Reserved Instance Marketplace are listed.

  • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC. (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC))

  • reserved-instances-offering-id - The Reserved Instances offering ID.

  • scope - The scope of the Reserved Instance (Availability Zone or Region).

  • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

", "DescribeReservedInstancesRequest$Filters": "

One or more filters.

  • availability-zone - The Availability Zone where the Reserved Instance can be used.

  • duration - The duration of the Reserved Instance (one year or three years), in seconds (31536000 | 94608000).

  • end - The time when the Reserved Instance expires (for example, 2015-08-07T11:54:42.000Z).

  • fixed-price - The purchase price of the Reserved Instance (for example, 9800.0).

  • instance-type - The instance type that is covered by the reservation.

  • scope - The scope of the Reserved Instance (Region or Availability Zone).

  • product-description - The Reserved Instance product platform description. Instances that include (Amazon VPC) in the product platform description will only be displayed to EC2-Classic account holders and are for use with Amazon VPC (Linux/UNIX | Linux/UNIX (Amazon VPC) | SUSE Linux | SUSE Linux (Amazon VPC) | Red Hat Enterprise Linux | Red Hat Enterprise Linux (Amazon VPC) | Windows | Windows (Amazon VPC) | Windows with SQL Server Standard | Windows with SQL Server Standard (Amazon VPC) | Windows with SQL Server Web | Windows with SQL Server Web (Amazon VPC) | Windows with SQL Server Enterprise | Windows with SQL Server Enterprise (Amazon VPC)).

  • reserved-instances-id - The ID of the Reserved Instance.

  • start - The time at which the Reserved Instance purchase request was placed (for example, 2014-08-07T11:54:42.000Z).

  • state - The state of the Reserved Instance (payment-pending | active | payment-failed | retired).

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • usage-price - The usage price of the Reserved Instance, per hour (for example, 0.84).

", - "DescribeRouteTablesRequest$Filters": "

One or more filters.

  • association.route-table-association-id - The ID of an association ID for the route table.

  • association.route-table-id - The ID of the route table involved in the association.

  • association.subnet-id - The ID of the subnet involved in the association.

  • association.main - Indicates whether the route table is the main route table for the VPC (true | false). Route tables that do not have an association ID are not returned in the response.

  • owner-id - The ID of the AWS account that owns the route table.

  • route-table-id - The ID of the route table.

  • route.destination-cidr-block - The IPv4 CIDR range specified in a route in the table.

  • route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.

  • route.destination-prefix-list-id - The ID (prefix) of the AWS service specified in a route in the table.

  • route.egress-only-internet-gateway-id - The ID of an egress-only Internet gateway specified in a route in the route table.

  • route.gateway-id - The ID of a gateway specified in a route in the table.

  • route.instance-id - The ID of an instance specified in a route in the table.

  • route.nat-gateway-id - The ID of a NAT gateway.

  • route.transit-gateway-id - The ID of a transit gateway.

  • route.origin - Describes how the route was created. CreateRouteTable indicates that the route was automatically created when the route table was created; CreateRoute indicates that the route was manually added to the route table; EnableVgwRoutePropagation indicates that the route was propagated by route propagation.

  • route.state - The state of a route in the route table (active | blackhole). The blackhole state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, the specified NAT instance has been terminated, and so on).

  • route.vpc-peering-connection-id - The ID of a VPC peering connection specified in a route in the table.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • transit-gateway-id - The ID of a transit gateway.

  • vpc-id - The ID of the VPC for the route table.

", + "DescribeRouteTablesRequest$Filters": "

One or more filters.

  • association.route-table-association-id - The ID of an association ID for the route table.

  • association.route-table-id - The ID of the route table involved in the association.

  • association.subnet-id - The ID of the subnet involved in the association.

  • association.main - Indicates whether the route table is the main route table for the VPC (true | false). Route tables that do not have an association ID are not returned in the response.

  • owner-id - The ID of the AWS account that owns the route table.

  • route-table-id - The ID of the route table.

  • route.destination-cidr-block - The IPv4 CIDR range specified in a route in the table.

  • route.destination-ipv6-cidr-block - The IPv6 CIDR range specified in a route in the route table.

  • route.destination-prefix-list-id - The ID (prefix) of the AWS service specified in a route in the table.

  • route.egress-only-internet-gateway-id - The ID of an egress-only Internet gateway specified in a route in the route table.

  • route.gateway-id - The ID of a gateway specified in a route in the table.

  • route.instance-id - The ID of an instance specified in a route in the table.

  • route.nat-gateway-id - The ID of a NAT gateway.

  • route.transit-gateway-id - The ID of a transit gateway.

  • route.origin - Describes how the route was created. CreateRouteTable indicates that the route was automatically created when the route table was created; CreateRoute indicates that the route was manually added to the route table; EnableVgwRoutePropagation indicates that the route was propagated by route propagation.

  • route.state - The state of a route in the route table (active | blackhole). The blackhole state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, the specified NAT instance has been terminated, and so on).

  • route.vpc-peering-connection-id - The ID of a VPC peering connection specified in a route in the table.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC for the route table.

", "DescribeScheduledInstanceAvailabilityRequest$Filters": "

The filters.

  • availability-zone - The Availability Zone (for example, us-west-2a).

  • instance-type - The instance type (for example, c4.large).

  • network-platform - The network platform (EC2-Classic or EC2-VPC).

  • platform - The platform (Linux/UNIX or Windows).

", "DescribeScheduledInstancesRequest$Filters": "

The filters.

  • availability-zone - The Availability Zone (for example, us-west-2a).

  • instance-type - The instance type (for example, c4.large).

  • network-platform - The network platform (EC2-Classic or EC2-VPC).

  • platform - The platform (Linux/UNIX or Windows).

", "DescribeSecurityGroupsRequest$Filters": "

The filters. If using multiple filters for rules, the results include security groups for which any combination of rules - not necessarily a single rule - match all filters.

  • description - The description of the security group.

  • egress.ip-permission.cidr - An IPv4 CIDR block for an outbound security group rule.

  • egress.ip-permission.from-port - For an outbound rule, the start of port range for the TCP and UDP protocols, or an ICMP type number.

  • egress.ip-permission.group-id - The ID of a security group that has been referenced in an outbound security group rule.

  • egress.ip-permission.group-name - The name of a security group that has been referenced in an outbound security group rule.

  • egress.ip-permission.ipv6-cidr - An IPv6 CIDR block for an outbound security group rule.

  • egress.ip-permission.prefix-list-id - The ID of a prefix list to which a security group rule allows outbound access.

  • egress.ip-permission.protocol - The IP protocol for an outbound security group rule (tcp | udp | icmp or a protocol number).

  • egress.ip-permission.to-port - For an outbound rule, the end of port range for the TCP and UDP protocols, or an ICMP code.

  • egress.ip-permission.user-id - The ID of an AWS account that has been referenced in an outbound security group rule.

  • group-id - The ID of the security group.

  • group-name - The name of the security group.

  • ip-permission.cidr - An IPv4 CIDR block for an inbound security group rule.

  • ip-permission.from-port - For an inbound rule, the start of port range for the TCP and UDP protocols, or an ICMP type number.

  • ip-permission.group-id - The ID of a security group that has been referenced in an inbound security group rule.

  • ip-permission.group-name - The name of a security group that has been referenced in an inbound security group rule.

  • ip-permission.ipv6-cidr - An IPv6 CIDR block for an inbound security group rule.

  • ip-permission.prefix-list-id - The ID of a prefix list from which a security group rule allows inbound access.

  • ip-permission.protocol - The IP protocol for an inbound security group rule (tcp | udp | icmp or a protocol number).

  • ip-permission.to-port - For an inbound rule, the end of port range for the TCP and UDP protocols, or an ICMP code.

  • ip-permission.user-id - The ID of an AWS account that has been referenced in an inbound security group rule.

  • owner-id - The AWS account ID of the owner of the security group.

  • tag:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

  • vpc-id - The ID of the VPC specified when the security group was created.

", @@ -6420,7 +6427,6 @@ "FpgaImageId": { "base": null, "refs": { - "CopyFpgaImageRequest$SourceFpgaImageId": "

The ID of the source AFI.

", "DeleteFpgaImageRequest$FpgaImageId": "

The ID of the AFI.

", "DescribeFpgaImageAttributeRequest$FpgaImageId": "

The ID of the AFI.

", "FpgaImageIdList$member": null, @@ -7399,6 +7405,7 @@ "GetLaunchTemplateDataRequest$InstanceId": "

The ID of the instance.

", "GetPasswordDataRequest$InstanceId": "

The ID of the Windows instance.

", "InstanceCreditSpecificationRequest$InstanceId": "

The ID of the instance.

", + "InstanceIdSet$member": null, "InstanceIdStringList$member": null, "InstanceIdsSet$member": null, "InstanceSpecification$InstanceId": "

The instance to specify which volumes should be snapshotted.

", @@ -8495,7 +8502,7 @@ "CreateLaunchTemplateVersionRequest$LaunchTemplateId": "

The ID of the launch template. You must specify either the launch template ID or launch template name in the request.

", "DeleteLaunchTemplateRequest$LaunchTemplateId": "

The ID of the launch template. You must specify either the launch template ID or launch template name in the request.

", "DeleteLaunchTemplateVersionsRequest$LaunchTemplateId": "

The ID of the launch template. You must specify either the launch template ID or launch template name in the request.

", - "DescribeLaunchTemplateVersionsRequest$LaunchTemplateId": "

The ID of the launch template. You must specify either the launch template ID or launch template name in the request.

", + "DescribeLaunchTemplateVersionsRequest$LaunchTemplateId": "

The ID of the launch template. To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name in the request. To describe all the latest or default launch template versions in your account, you must omit this parameter.

", "FleetLaunchTemplateSpecificationRequest$LaunchTemplateId": "

The ID of the launch template. If you specify the template ID, you can't specify the template name.

", "LaunchTemplateIdStringList$member": null, "LaunchTemplateSpecification$LaunchTemplateId": "

The ID of the launch template.

", @@ -8600,7 +8607,7 @@ "CreateLaunchTemplateVersionRequest$LaunchTemplateName": "

The name of the launch template. You must specify either the launch template ID or launch template name in the request.

", "DeleteLaunchTemplateRequest$LaunchTemplateName": "

The name of the launch template. You must specify either the launch template ID or launch template name in the request.

", "DeleteLaunchTemplateVersionsRequest$LaunchTemplateName": "

The name of the launch template. You must specify either the launch template ID or launch template name in the request.

", - "DescribeLaunchTemplateVersionsRequest$LaunchTemplateName": "

The name of the launch template. You must specify either the launch template ID or launch template name in the request.

", + "DescribeLaunchTemplateVersionsRequest$LaunchTemplateName": "

The name of the launch template. To describe one or more versions of a specified launch template, you must specify either the launch template ID or the launch template name in the request. To describe all the latest or default launch template versions in your account, you must omit this parameter.

", "FleetLaunchTemplateSpecification$LaunchTemplateName": "

The name of the launch template. If you specify the template name, you can't specify the template ID.

", "FleetLaunchTemplateSpecificationRequest$LaunchTemplateName": "

The name of the launch template. If you specify the template name, you can't specify the template ID.

", "LaunchTemplate$LaunchTemplateName": "

The name of the launch template.

", @@ -9034,7 +9041,7 @@ "RestoreManagedPrefixListVersionRequest$PreviousVersion": "

The version to restore.

", "RestoreManagedPrefixListVersionRequest$CurrentVersion": "

The current version number for the prefix list.

", "TransitGatewayOptions$AmazonSideAsn": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.

", - "TransitGatewayRequestOptions$AmazonSideAsn": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.

", + "TransitGatewayRequestOptions$AmazonSideAsn": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. The default is 64512.

", "VolumeDetail$Size": "

The size of the volume, in GiB.

", "VolumeModification$Progress": "

The modification progress, from 0 to 100 percent complete.

", "VpnGateway$AmazonSideAsn": "

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

" @@ -9979,7 +9986,7 @@ "base": null, "refs": { "DescribeFpgaImagesRequest$Owners": "

Filters the AFI by owner. Specify an AWS account ID, self (owner is the sender of the request), or an AWS owner alias (valid values are amazon | aws-marketplace).

", - "DescribeImagesRequest$Owners": "

Filters the images by the owner. Specify an AWS account ID, self (owner is the sender of the request), or an AWS owner alias (valid values are amazon | aws-marketplace | microsoft). Omitting this option returns all images for which you have launch permissions, regardless of ownership.

", + "DescribeImagesRequest$Owners": "

Scopes the results to images with the specified owners. You can specify a combination of AWS account IDs, self, amazon, and aws-marketplace. If you omit this parameter, the results include all images for which you have launch permissions, regardless of ownership.

", "DescribeSnapshotsRequest$OwnerIds": "

Scopes the results to snapshots with the specified owners. You can specify a combination of AWS account IDs, self, and amazon.

" } }, @@ -10561,6 +10568,12 @@ "NatGateway$ProvisionedBandwidth": "

Reserved. If you need to sustain traffic greater than the documented limits, contact us through the Support Center.

" } }, + "PublicIpAddress": { + "base": null, + "refs": { + "AllocateAddressRequest$Address": "

[EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.

" + } + }, "PublicIpStringList": { "base": null, "refs": { @@ -11245,7 +11258,7 @@ "LaunchTemplateTagSpecificationRequest$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are instance and volume. To tag a resource after it has been created, see CreateTags.

", "SpotFleetTagSpecification$ResourceType": "

The type of resource. Currently, the only resource type that is supported is instance. To tag the Spot Fleet request on creation, use the TagSpecifications parameter in SpotFleetRequestConfigData .

", "TagDescription$ResourceType": "

The resource type.

", - "TagSpecification$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | client-vpn-endpoint | dedicated-host | dhcp-options | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | import-image-task | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | placement-group | prefix-list | launch-template | natgateway | network-acl | security-group | spot-fleet-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-route-table | volume |vpc | vpc-endpoint (for interface and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log.

To tag a resource after it has been created, see CreateTags.

" + "TagSpecification$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | client-vpn-endpoint | dedicated-host | dhcp-options | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | import-image-task | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | placement-group | prefix-list | natgateway | network-acl | security-group | spot-fleet-request | spot-instances-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-route-table | volume |vpc | vpc-endpoint (for interface and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log.

To tag a resource after it has been created, see CreateTags.

" } }, "ResponseError": { @@ -12179,7 +12192,6 @@ "Address$CustomerOwnedIp": "

The customer-owned IP address.

", "Address$CustomerOwnedIpv4Pool": "

The ID of the customer-owned address pool.

", "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.

", - "AllocateAddressRequest$Address": "

[EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.

", "AllocateAddressRequest$PublicIpv4Pool": "

The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the address pool. To specify a specific address from the address pool, use the Address parameter instead.

", "AllocateAddressRequest$NetworkBorderGroup": "

The location from which the IP address is advertised. Use this parameter to limit the address to this location.

A network border group is a unique set of Availability Zones or Local Zones from where AWS advertises IP addresses and limits the addresses to the group. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

", "AllocateAddressRequest$CustomerOwnedIpv4Pool": "

The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.

", @@ -12219,7 +12231,7 @@ "AuthorizationRule$GroupId": "

The ID of the Active Directory group to which the authorization rule grants access.

", "AuthorizationRule$DestinationCidr": "

The IPv4 address range, in CIDR notation, of the network to which the authorization rule applies.

", "AuthorizeClientVpnIngressRequest$TargetNetworkCidr": "

The IPv4 address range, in CIDR notation, of the network for which access is being authorized.

", - "AuthorizeClientVpnIngressRequest$AccessGroupId": "

The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group.

", + "AuthorizeClientVpnIngressRequest$AccessGroupId": "

The ID of the group to grant access to, for example, the Active Directory group or identity provider (IdP) group. Required if AuthorizeAllGroups is false or not specified.

", "AuthorizeClientVpnIngressRequest$Description": "

A brief description of the authorization rule.

", "AuthorizeClientVpnIngressRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", "AuthorizeSecurityGroupEgressRequest$CidrIp": "

Not supported. Use a set of IP permissions to specify the CIDR.

", @@ -12314,7 +12326,7 @@ "CoipAddressUsage$CoIp": "

The customer-owned IP address.

", "ConfirmProductInstanceRequest$ProductCode": "

The product code. This must be a product code that you own.

", "ConfirmProductInstanceResult$OwnerId": "

The AWS account ID of the instance owner. This is only present if the product code is attached to the instance.

", - "ConnectionLogOptions$CloudwatchLogGroup": "

The name of the CloudWatch Logs log group.

", + "ConnectionLogOptions$CloudwatchLogGroup": "

The name of the CloudWatch Logs log group. Required if connection logging is enabled.

", "ConnectionLogOptions$CloudwatchLogStream": "

The name of the CloudWatch Logs log stream to which the connection data is published.

", "ConnectionLogResponseOptions$CloudwatchLogGroup": "

The name of the Amazon CloudWatch Logs log group to which connection logging data is published.

", "ConnectionLogResponseOptions$CloudwatchLogStream": "

The name of the Amazon CloudWatch Logs log stream to which connection logging data is published.

", @@ -12325,6 +12337,7 @@ "ConversionTask$ConversionTaskId": "

The ID of the conversion task.

", "ConversionTask$ExpirationTime": "

The time when the task expires. If the upload isn't complete before the expiration time, we automatically cancel the task.

", "ConversionTask$StatusMessage": "

The status message related to the conversion task.

", + "CopyFpgaImageRequest$SourceFpgaImageId": "

The ID of the source AFI.

", "CopyFpgaImageRequest$Description": "

The description for the new AFI.

", "CopyFpgaImageRequest$Name": "

The name for the new AFI. The default is the name of the source AFI.

", "CopyFpgaImageRequest$SourceRegion": "

The Region that contains the source AFI.

", @@ -12453,8 +12466,8 @@ "CreateVpnConnectionRequest$Type": "

The type of VPN connection (ipsec.1).

", "CreateVpnConnectionRouteRequest$DestinationCidrBlock": "

The CIDR block associated with the local subnet of the customer network.

", "CreateVpnGatewayRequest$AvailabilityZone": "

The Availability Zone for the virtual private gateway.

", - "CreditSpecification$CpuCredits": "

The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and unlimited.

", - "CreditSpecificationRequest$CpuCredits": "

The credit option for CPU usage of a T2 or T3 instance. Valid values are standard and unlimited.

", + "CreditSpecification$CpuCredits": "

The credit option for CPU usage of a T2, T3, or T3a instance. Valid values are standard and unlimited.

", + "CreditSpecificationRequest$CpuCredits": "

The credit option for CPU usage of a T2, T3, or T3a instance. Valid values are standard and unlimited.

", "CustomerGateway$BgpAsn": "

The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN).

", "CustomerGateway$CustomerGatewayId": "

The ID of the customer gateway.

", "CustomerGateway$IpAddress": "

The Internet-routable IP address of the customer gateway's outside interface.

", @@ -12920,7 +12933,6 @@ "InstanceCreditSpecificationRequest$CpuCredits": "

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

", "InstanceExportDetails$InstanceId": "

The ID of the resource being exported.

", "InstanceFamilyCreditSpecification$CpuCredits": "

The default credit option for CPU usage of the instance family. Valid values are standard and unlimited.

", - "InstanceIdSet$member": null, "InstanceIpv6Address$Ipv6Address": "

The IPv6 address.

", "InstanceIpv6AddressRequest$Ipv6Address": "

The IPv6 address.

", "InstanceMonitoring$InstanceId": "

The ID of the instance.

", @@ -14945,7 +14957,6 @@ "CreateFlowLogsResult$FlowLogIds": "

The IDs of the flow logs.

", "CreateVpcEndpointConnectionNotificationRequest$ConnectionEvents": "

One or more endpoint events for which to receive notifications. Valid values are Accept, Connect, Delete, and Reject.

", "CreateVpcEndpointServiceConfigurationRequest$NetworkLoadBalancerArns": "

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

", - "DeleteVpcEndpointConnectionNotificationsRequest$ConnectionNotificationIds": "

One or more notification IDs.

", "DescribeClientVpnTargetNetworksRequest$AssociationIds": "

The IDs of the target network associations.

", "DescribeManagedPrefixListsRequest$PrefixListIds": "

One or more prefix list IDs.

", "DescribeMovingAddressesRequest$PublicIps": "

One or more Elastic IP addresses.

", @@ -14992,7 +15003,7 @@ "base": null, "refs": { "DeleteLaunchTemplateVersionsRequest$Versions": "

The version numbers of one or more launch template versions to delete.

", - "DescribeLaunchTemplateVersionsRequest$Versions": "

One or more versions of the launch template.

" + "DescribeLaunchTemplateVersionsRequest$Versions": "

One or more versions of the launch template. Valid values depend on whether you are describing a specified launch template (by ID or name) or all launch templates in your account.

To describe one or more versions of a specified launch template, valid values are $Latest, $Default, and numbers.

To describe all launch templates in your account that are defined as the latest version, the valid value is $Latest. To describe all launch templates in your account that are defined as the default version, the valid value is $Default. You can specify $Latest and $Default in the same call. You cannot specify numbers.

" } }, "VgwTelemetry": { @@ -15564,7 +15575,7 @@ "base": null, "refs": { "TransitGatewayOptions$VpnEcmpSupport": "

Indicates whether Equal Cost Multipath Protocol support is enabled.

", - "TransitGatewayRequestOptions$VpnEcmpSupport": "

Enable or disable Equal Cost Multipath Protocol support.

" + "TransitGatewayRequestOptions$VpnEcmpSupport": "

Enable or disable Equal Cost Multipath Protocol support. Enabled by default.

" } }, "VpnGateway": { diff --git a/models/apis/elasticbeanstalk/2010-12-01/paginators-1.json b/models/apis/elasticbeanstalk/2010-12-01/paginators-1.json index 874292e01c6..77e1c2b58aa 100644 --- a/models/apis/elasticbeanstalk/2010-12-01/paginators-1.json +++ b/models/apis/elasticbeanstalk/2010-12-01/paginators-1.json @@ -9,6 +9,12 @@ "DescribeConfigurationOptions": { "result_key": "Options" }, + "DescribeEnvironmentManagedActionHistory": { + "input_token": "NextToken", + "limit_key": "MaxItems", + "output_token": "NextToken", + "result_key": "ManagedActionHistoryItems" + }, "DescribeEnvironments": { "result_key": "Environments" }, @@ -25,6 +31,12 @@ "input_token": "NextToken", "limit_key": "MaxRecords", "output_token": "NextToken" + }, + "ListPlatformVersions": { + "input_token": "NextToken", + "limit_key": "MaxRecords", + "output_token": "NextToken", + "result_key": "PlatformSummaryList" } } } \ No newline at end of file diff --git a/models/apis/elasticbeanstalk/2010-12-01/waiters-2.json b/models/apis/elasticbeanstalk/2010-12-01/waiters-2.json new file mode 100644 index 00000000000..4fb906b4f14 --- /dev/null +++ b/models/apis/elasticbeanstalk/2010-12-01/waiters-2.json @@ -0,0 +1,63 @@ +{ + "version": 2, + "waiters": { + "EnvironmentExists": { + "delay": 20, + "maxAttempts": 20, + "operation": "DescribeEnvironments", + "acceptors": [ + { + "state": "success", + "matcher": "pathAll", + "argument": "Environments[].Status", + "expected": "Ready" + }, + { + "state": "retry", + "matcher": "pathAll", + "argument": "Environments[].Status", + "expected": "Launching" + } + ] + }, + "EnvironmentUpdated": { + "delay": 20, + "maxAttempts": 20, + "operation": "DescribeEnvironments", + "acceptors": [ + { + "state": "success", + "matcher": "pathAll", + "argument": "Environments[].Status", + "expected": "Ready" + }, + { + "state": "retry", + "matcher": "pathAll", + "argument": "Environments[].Status", + "expected": "Updating" + } + ] + }, + "EnvironmentTerminated": { + "delay": 20, + "maxAttempts": 20, + "operation": "DescribeEnvironments", + "acceptors": [ + { + "state": "success", + "matcher": "pathAll", + "argument": "Environments[].Status", + "expected": "Terminated" + }, + { + "state": "retry", + "matcher": "pathAll", + "argument": "Environments[].Status", + "expected": "Terminating" + } + ] + } + } +} + diff --git a/models/apis/macie2/2020-01-01/api-2.json b/models/apis/macie2/2020-01-01/api-2.json index fd1a972901f..f35e576ca78 100644 --- a/models/apis/macie2/2020-01-01/api-2.json +++ b/models/apis/macie2/2020-01-01/api-2.json @@ -3313,6 +3313,10 @@ "FindingsFilterListItem": { "type": "structure", "members": { + "action": { + "shape": "FindingsFilterAction", + "locationName": "action" + }, "arn": { "shape": "__string", "locationName": "arn" @@ -4414,7 +4418,9 @@ "Removed", "Resigned", "EmailVerificationInProgress", - "EmailVerificationFailed" + "EmailVerificationFailed", + "RegionDisabled", + "AccountSuspended" ] }, "ReplicationDetails": { diff --git a/models/apis/macie2/2020-01-01/docs-2.json b/models/apis/macie2/2020-01-01/docs-2.json index 5ade2ea2458..895e48cd0ff 100644 --- a/models/apis/macie2/2020-01-01/docs-2.json +++ b/models/apis/macie2/2020-01-01/docs-2.json @@ -11,7 +11,7 @@ "CreateMember" : "

Associates an account with an Amazon Macie master account.

", "CreateSampleFindings" : "

Creates sample findings.

", "DeclineInvitations" : "

Declines Amazon Macie membership invitations that were received from specific accounts.

", - "DeleteCustomDataIdentifier" : "

Deletes a custom data identifier.

", + "DeleteCustomDataIdentifier" : "

Soft deletes a custom data identifier.

", "DeleteFindingsFilter" : "

Deletes a findings filter.

", "DeleteInvitations" : "

Deletes Amazon Macie membership invitations that were received from specific accounts.

", "DeleteMember" : "

Deletes the association between an Amazon Macie master account and an account.

", @@ -36,7 +36,7 @@ "GetMember" : "

Retrieves information about a member account that's associated with an Amazon Macie master account.

", "GetUsageStatistics" : "

Retrieves (queries) quotas and aggregated usage data for one or more accounts.

", "GetUsageTotals" : "

Retrieves (queries) aggregated usage data for an account.

", - "ListClassificationJobs" : "

Retrieves information about the status and settings for one or more classification jobs.

", + "ListClassificationJobs" : "

Retrieves a subset of information about one or more classification jobs.

", "ListCustomDataIdentifiers" : "

Retrieves a subset of information about all the custom data identifiers for an account.

", "ListFindings" : "

Retrieves a subset of information about one or more findings.

", "ListFindingsFilters" : "

Retrieves a subset of information about all the findings filters for an account.

", @@ -94,27 +94,27 @@ } }, "ApiCallDetails" : { - "base" : "

For the affected resource:

  • The name of the operation that was invoked most recently and produced the finding (api).

  • The first date and time when any operation was invoked and produced the finding (firstSeen).

  • The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).

All date and time values are in UTC and extended ISO 8601 format.

", + "base" : "

Provides information about an API operation that an entity invoked for an affected resource.

", "refs" : { - "FindingAction$ApiCallDetails" : "

For the affected resource:

  • The name of the operation that was invoked most recently and produced the finding (api).

  • The first date and time when any operation was invoked and produced the finding (firstSeen).

  • The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).

All date and time values are in UTC and extended ISO 8601 format.

" + "FindingAction$ApiCallDetails" : "

The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.

" } }, "AssumedRole" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API.

", "refs" : { - "UserIdentity$AssumedRole" : null + "UserIdentity$AssumedRole" : "

If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

" } }, "AwsAccount" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for an AWS account other than your own account.

", "refs" : { - "UserIdentity$AwsAccount" : null + "UserIdentity$AwsAccount" : "

If the action was performed using the credentials for another AWS account, the details of that account.

" } }, "AwsService" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about an AWS service that performed an action on an affected resource.

", "refs" : { - "UserIdentity$AwsService" : null + "UserIdentity$AwsService" : "

If the action was performed by an AWS account that belongs to an AWS service, the name of the service.

" } }, "BatchGetCustomDataIdentifierSummary" : { @@ -139,21 +139,21 @@ } }, "BucketCountByEffectivePermission" : { - "base" : "

The total number of buckets that are publicly accessible, based on a combination of permissions settings for each bucket.

", + "base" : "

Provides information about the number of S3 buckets that are publicly accessible based on a combination of permissions settings for each bucket.

", "refs" : { - "GetBucketStatisticsResponse$BucketCountByEffectivePermission" : "

The total number of buckets that are publicly accessible, based on a combination of permissions settings for each bucket.

" + "GetBucketStatisticsResponse$BucketCountByEffectivePermission" : "

The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.

" } }, "BucketCountByEncryptionType" : { - "base" : "

The total number of buckets, grouped by server-side encryption type. This object also reports the total number of buckets that aren't encrypted.

", + "base" : "

Provides information about the number of S3 buckets that use certain types of server-side encryption or don't encrypt objects by default.

", "refs" : { "GetBucketStatisticsResponse$BucketCountByEncryptionType" : "

The total number of buckets, grouped by server-side encryption type. This object also reports the total number of buckets that aren't encrypted.

" } }, "BucketCountBySharedAccessType" : { - "base" : "

The total number of buckets that are shared with another AWS account or configured to support cross-origin resource sharing (CORS).

", + "base" : "

Provides information about the number of S3 buckets that are shared with other AWS accounts.

", "refs" : { - "GetBucketStatisticsResponse$BucketCountBySharedAccessType" : "

The total number of buckets that are shared with another AWS account or configured to support cross-origin resource sharing (CORS).

" + "GetBucketStatisticsResponse$BucketCountBySharedAccessType" : "

The total number of buckets that are shared with another AWS account.

" } }, "BucketCriteria" : { @@ -181,7 +181,7 @@ } }, "BucketPermissionConfiguration" : { - "base" : "

The account-level and bucket-level permissions settings for an S3 bucket, or the bucket that contains an object.

", + "base" : "

The account-level and bucket-level permissions settings for an S3 bucket.

", "refs" : { "BucketPublicAccess$PermissionConfiguration" : "

The account-level and bucket-level permissions for the bucket.

" } @@ -220,7 +220,7 @@ } }, "ClassificationResult" : { - "base" : "

Provides detailed information about a sensitive data finding, including the types and number of occurrences of the data that was found.

", + "base" : "

Provides detailed information about a sensitive data finding, including the types and number of occurrences of the sensitive data that was found.

", "refs" : { "ClassificationDetails$Result" : "

The status and detailed results of the finding.

" } @@ -236,7 +236,7 @@ "refs" : { } }, "CreateClassificationJobRequest" : { - "base" : "

Specifies the scope, schedule, and other settings for a classification job.

", + "base" : "

Specifies the scope, schedule, and other settings for a classification job. You can't delete or change the settings for a classification job after you create it. In Amazon Macie, classification jobs are immutable. This ensures accurate data classification results for audits or investigations.

", "refs" : { } }, "CreateClassificationJobResponse" : { @@ -244,7 +244,7 @@ "refs" : { } }, "CreateCustomDataIdentifierRequest" : { - "base" : "

Specifies the criteria and other settings for a new custom data identifier.

", + "base" : "

Specifies the criteria and other settings for a new custom data identifier. You can't change a custom data identifier after you create it. In Amazon Macie, custom data identifiers are immutable. This ensures accurate data classification results for audits or investigations.

", "refs" : { } }, "CreateCustomDataIdentifierResponse" : { @@ -317,21 +317,21 @@ } }, "CustomDetections" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about custom data identifiers that produced a sensitive data finding, and the number of occurrences of the data that each identifier detected.

", "refs" : { - "CustomDataIdentifiers$Detections" : "

The names of the custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.

" + "CustomDataIdentifiers$Detections" : "

The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.

" } }, "DailySchedule" : { - "base" : null, + "base" : "

Specifies that a classification job runs once a day, every day. This is an empty object.

", "refs" : { - "JobScheduleFrequency$DailySchedule" : "

Run the job once a day, every day. If specified, this is an empty object.

" + "JobScheduleFrequency$DailySchedule" : "

Specifies a daily recurrence pattern for running the job.

" } }, "DayOfWeek" : { "base" : null, "refs" : { - "WeeklySchedule$DayOfWeek" : "

Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY.

" + "WeeklySchedule$DayOfWeek" : "

The day of the week when Amazon Macie runs the job.

" } }, "DeclineInvitationsRequest" : { @@ -343,13 +343,13 @@ "refs" : { } }, "DefaultDetection" : { - "base" : "

Provides information about sensitive data that was detected by managed data identifiers and produced a finding.

", + "base" : "

Provides information about sensitive data that was detected by managed data identifiers and produced a sensitive data finding.

", "refs" : { "DefaultDetections$member" : null } }, "DefaultDetections" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about sensitive data that was detected by managed data identifiers and produced a sensitive data finding, and the number of occurrences of each type of sensitive data that was detected.

", "refs" : { "SensitiveDataItem$Detections" : "

An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected.

" } @@ -379,9 +379,9 @@ "refs" : { } }, "DomainDetails" : { - "base" : null, + "base" : "

Provides information about the domain name of the device that an entity used to perform an action on an affected resource.

", "refs" : { - "FindingActor$DomainDetails" : "

The DNS name of the entity that performed the action on the affected resource.

" + "FindingActor$DomainDetails" : "

The domain name of the device that the entity used to perform the action on the affected resource.

" } }, "EffectivePermission" : { @@ -403,7 +403,7 @@ "refs" : { } }, "EncryptionType" : { - "base" : "

The server-side encryption algorithm that's used when storing the S3 bucket or object. Valid values are:

", + "base" : "

The type of server-side encryption that's used to encrypt objects in the S3 bucket. Valid values are:

", "refs" : { "ServerSideEncryption$EncryptionType" : "

The server-side encryption algorithm that's used when storing data in the bucket or object. If encryption is disabled for the bucket or object, this value is NONE.

" } @@ -415,9 +415,9 @@ } }, "FederatedUser" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about an identity that performed an action on an affected resource by using temporary security credentials. The credentials were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API.

", "refs" : { - "UserIdentity$FederatedUser" : null + "UserIdentity$FederatedUser" : "

If the action was performed with temporary security credentials that were obtained using the GetFederationToken operation of the AWS Security Token Service (AWS STS) API, the identifiers, session context, and other details about the identity.

" } }, "Finding" : { @@ -429,11 +429,11 @@ "FindingAction" : { "base" : "

Provides information about an action that occurred for a resource and produced a policy finding.

", "refs" : { - "PolicyDetails$Action" : "

The action that occurred and produced the finding.

" + "PolicyDetails$Action" : "

The action that produced the finding.

" } }, "FindingActionType" : { - "base" : "

The type of action that occurred for the resource and produced the policy finding.

", + "base" : "

The type of action that occurred for the resource and produced the policy finding:

", "refs" : { "FindingAction$ActionType" : "

The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.

" } @@ -475,7 +475,7 @@ } }, "FindingStatisticsSortCriteria" : { - "base" : "

Specifies criteria for sorting the results of a query for information about findings.

", + "base" : "

Specifies criteria for sorting the results of a query that retrieves aggregated statistical data about findings.

", "refs" : { "GetFindingStatisticsRequest$SortCriteria" : "

The criteria to use to sort the query results.

" } @@ -491,6 +491,7 @@ "base" : "

The action to perform on findings that meet the filter criteria. To suppress (automatically archive) findings that meet the criteria, set this value to ARCHIVE. Valid values are:

", "refs" : { "CreateFindingsFilterRequest$Action" : "

The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", + "FindingsFilterListItem$Action" : "

The action that's performed on findings that meet the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", "GetFindingsFilterResponse$Action" : "

The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

", "UpdateFindingsFilterRequest$Action" : "

The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

" } @@ -502,7 +503,7 @@ } }, "GetBucketStatisticsRequest" : { - "base" : "

Specifies an account that's associated with S3 buckets to retrieve aggregated statistical data for.

", + "base" : "

Specifies an account that's associated with the S3 buckets to retrieve aggregated statistical data for.

", "refs" : { } }, "GetBucketStatisticsResponse" : { @@ -518,7 +519,7 @@ "refs" : { } }, "GetFindingStatisticsRequest" : { - "base" : "

Specifies criteria for filtering, grouping, sorting, and paginating the results of a query for information about findings.

", + "base" : "

Specifies criteria for filtering, grouping, sorting, and paginating the results of a query that retrieves aggregated statistical data about findings.

", "refs" : { } }, "GetFindingStatisticsResponse" : { @@ -526,7 +527,7 @@ "refs" : { } }, "GetFindingsFilterResponse" : { - "base" : "

Provides information about a findings filter.

", + "base" : "

Provides information about the criteria and other settings for a findings filter.

", "refs" : { } }, "GetFindingsRequest" : { @@ -572,15 +573,15 @@ } }, "GroupCount" : { - "base" : "

Provides a group of results for a query that retrieved information about findings.

", + "base" : "

Provides a group of results for a query that retrieved aggregated statistical data about findings.

", "refs" : { "__listOfGroupCount$member" : null } }, "IamUser" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about an AWS Identity and Access Management (IAM) user who performed an action on an affected resource.

", "refs" : { - "UserIdentity$IamUser" : null + "UserIdentity$IamUser" : "

If the action was performed using the credentials for an AWS Identity and Access Management (IAM) user, the name and other details about the user.

" } }, "InternalServerException" : { @@ -595,33 +596,33 @@ } }, "IpAddressDetails" : { - "base" : null, + "base" : "

Provides information about the IP address of the device that an entity used to perform an action on an affected resource.

", "refs" : { - "FindingActor$IpAddressDetails" : "

The IP address of the device that the entity used to perform the action on the affected resource. This object also provides information such as the owner and geographical location for the IP address.

" + "FindingActor$IpAddressDetails" : "

The IP address of the device that the entity used to perform the action on the affected resource. This object also provides information such as the owner and geographic location for the IP address.

" } }, "IpCity" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about the city that an IP address originated from.

", "refs" : { - "IpAddressDetails$IpCity" : null + "IpAddressDetails$IpCity" : "

The city that the IP address originated from.

" } }, "IpCountry" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about the country that an IP address originated from.

", "refs" : { - "IpAddressDetails$IpCountry" : null + "IpAddressDetails$IpCountry" : "

The country that the IP address originated from.

" } }, "IpGeoLocation" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides geographic coordinates that indicate where a specified IP address originated from.

", "refs" : { - "IpAddressDetails$IpGeoLocation" : null + "IpAddressDetails$IpGeoLocation" : "

The geographic coordinates of the location that the IP address originated from.

" } }, "IpOwner" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about the registered owner of an IP address.

", "refs" : { - "IpAddressDetails$IpOwner" : null + "IpAddressDetails$IpOwner" : "

The registered owner of the IP address.

" } }, "JobComparator" : { @@ -636,27 +637,27 @@ "base" : "

Specifies the recurrence pattern for running a classification job.

", "refs" : { "CreateClassificationJobRequest$ScheduleFrequency" : "

The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value of the jobType property to ONE_TIME.

", - "DescribeClassificationJobResponse$ScheduleFrequency" : "

The recurrence pattern for running the job. If the job is configured to run every day, this value is an empty dailySchedule object. If the job is configured to run only once, this value is null.

" + "DescribeClassificationJobResponse$ScheduleFrequency" : "

The recurrence pattern for running the job. If the job is configured to run only once, this value is null.

" } }, "JobScopeTerm" : { - "base" : "

Specifies one or more conditions that determine which objects a classification job analyzes.

", + "base" : "

Specifies a property- or tag-based condition that defines criteria for including or excluding objects from a classification job.

", "refs" : { "__listOfJobScopeTerm$member" : null } }, "JobScopingBlock" : { - "base" : "

Reserved for future use.

", + "base" : "

Specifies one or more property- and tag-based conditions that define criteria for including or excluding objects from a classification job.

", "refs" : { - "Scoping$Excludes" : null, - "Scoping$Includes" : null + "Scoping$Excludes" : "

The property- or tag-based conditions that determine which objects to exclude from the analysis.

", + "Scoping$Includes" : "

The property- or tag-based conditions that determine which objects to include in the analysis.

" } }, "JobStatus" : { - "base" : "

The current status of a classification job. Valid values are:

", + "base" : "

The current status of a classification job. Possible values are:

", "refs" : { - "DescribeClassificationJobResponse$JobStatus" : "

The current status of the job. Possible value are:

  • CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.

  • COMPLETE - Amazon Macie finished processing all the data specified for the job.

  • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.

  • PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.

  • RUNNING - The job is in progress.

", - "JobSummary$JobStatus" : "

The current status of the job. Possible value are:

  • CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.

  • COMPLETE - Amazon Macie finished processing all the data specified for the job.

  • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.

  • PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.

  • RUNNING - The job is in progress.

", + "DescribeClassificationJobResponse$JobStatus" : "

The current status of the job. Possible values are:

  • CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.

  • COMPLETE - Amazon Macie finished processing all the data specified for the job.

  • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.

  • PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.

  • RUNNING - The job is in progress.

", + "JobSummary$JobStatus" : "

The current status of the job. Possible values are:

  • CANCELLED - The job was cancelled by you or a user of the master account for your organization. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket.

  • COMPLETE - Amazon Macie finished processing all the data specified for the job.

  • IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once.

  • PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account.

  • RUNNING - The job is in progress.

", "UpdateClassificationJobRequest$JobStatus" : "

The status to change the job's status to. The only supported value is CANCELLED, which cancels the job completely.

" } }, @@ -670,8 +671,8 @@ "base" : "

The schedule for running a classification job. Valid values are:

", "refs" : { "CreateClassificationJobRequest$JobType" : "

The schedule for running the job. Valid values are:

  • ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.

  • SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to define the recurrence pattern for the job.

", - "DescribeClassificationJobResponse$JobType" : "

The schedule for running the job. Possible value are:

  • ONE_TIME - The job ran or will run only once.

  • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

", - "JobSummary$JobType" : "

The schedule for running the job. Possible value are:

  • ONE_TIME - The job ran or will run only once.

  • SCHEDULED - The job runs on a daily, weekly, or monthly basis.

" + "DescribeClassificationJobResponse$JobType" : "

The schedule for running the job. Possible values are:

  • ONE_TIME - The job ran or will run only once.

  • SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.

", + "JobSummary$JobType" : "

The schedule for running the job. Possible values are:

  • ONE_TIME - The job ran or will run only once.

  • SCHEDULED - The job runs on a daily, weekly, or monthly basis.

" } }, "KeyValuePair" : { @@ -682,7 +683,7 @@ } }, "KeyValuePairList" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about the tags that are associated with an S3 bucket or object. Each tag consists of a required tag key and an associated tag value.

", "refs" : { "S3Bucket$Tags" : "

The tags that are associated with the bucket.

", "S3Object$Tags" : "

The tags that are associated with the object.

" @@ -778,13 +779,13 @@ } }, "MonthlySchedule" : { - "base" : "

Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.

", + "base" : "

Specifies a monthly recurrence pattern for running a classification job.

", "refs" : { - "JobScheduleFrequency$MonthlySchedule" : "

Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.

" + "JobScheduleFrequency$MonthlySchedule" : "

Specifies a monthly recurrence pattern for running the job.

" } }, "ObjectCountByEncryptionType" : { - "base" : null, + "base" : "

The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted.

", "refs" : { "BucketMetadata$ObjectCountByEncryptionType" : "

The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted.

" } @@ -800,7 +801,7 @@ } }, "PolicyDetails" : { - "base" : "

Provides detailed information about a policy finding.

", + "base" : "

Provides the details of a policy finding.

", "refs" : { "Finding$PolicyDetails" : "

The details of a policy finding. This value is null for a sensitive data finding.

" } @@ -881,9 +882,9 @@ } }, "Scoping" : { - "base" : null, + "base" : "

Specifies one or more property- and tag-based conditions that refine the scope of a classification job. These conditions define criteria that determine which objects a job analyzes.

", "refs" : { - "S3JobDefinition$Scoping" : "

A JobScopeTerm object that specifies conditions for including or excluding objects from the job.

" + "S3JobDefinition$Scoping" : "

The property- and tag-based conditions that determine which objects to include or exclude from the analysis.

" } }, "SensitiveData" : { @@ -899,7 +900,7 @@ } }, "SensitiveDataItemCategory" : { - "base" : "

The category of sensitive data that was detected and produced the finding.

", + "base" : "

The category of sensitive data that was detected and produced the finding. Possible values are:

", "refs" : { "SensitiveDataItem$Category" : "

The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.

" } @@ -924,8 +925,8 @@ "SessionContext" : { "base" : "

Provides information about a session that was created for an entity that performed an action by using temporary security credentials.

", "refs" : { - "AssumedRole$SessionContext" : "

Reserved for future use.

", - "FederatedUser$SessionContext" : "

Reserved for future use.

" + "AssumedRole$SessionContext" : "

The details of the session that was created for the credentials, including the entity that issued the session.

", + "FederatedUser$SessionContext" : "

The details of the session that was created for the credentials, including the entity that issued the session.

" } }, "SessionContextAttributes" : { @@ -937,7 +938,7 @@ "SessionIssuer" : { "base" : "

Provides information about the source and type of temporary security credentials that were issued to an entity.

", "refs" : { - "SessionContext$SessionIssuer" : "

The source and type of credentials that the entity obtained.

" + "SessionContext$SessionIssuer" : "

The source and type of credentials that were issued to the entity.

" } }, "Severity" : { @@ -947,7 +948,7 @@ } }, "SeverityDescription" : { - "base" : "

The textual representation of the finding's severity. Valid values are:

", + "base" : "

The textual representation of the finding's severity. Possible values are:

", "refs" : { "Severity$Description" : "

The textual representation of the severity value, such as Low or High.

" } @@ -955,13 +956,13 @@ "SharedAccess" : { "base" : null, "refs" : { - "BucketMetadata$SharedAccess" : "

Specifies whether the bucket is shared with another AWS account or configured to support cross-origin resource sharing (CORS). Valid values are:

  • EXTERNAL - The bucket is shared with an AWS account that isn’t part of the Amazon Macie organization.

  • INTERNAL - The bucket is shared with an AWS account that's part of the Amazon Macie organization.

  • NOT_SHARED - The bucket isn't shared with other AWS accounts.

" + "BucketMetadata$SharedAccess" : "

Specifies whether the bucket is shared with another AWS account. Valid values are:

  • EXTERNAL - The bucket is shared with an AWS account that isn’t part of the same Amazon Macie organization.

  • INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization.

  • NOT_SHARED - The bucket isn't shared with other AWS accounts.

" } }, "SimpleScopeTerm" : { "base" : "

Specifies a property-based condition that determines whether an object is included or excluded from a classification job.

", "refs" : { - "JobScopeTerm$SimpleScopeTerm" : "

A property-based condition that defines a property, operator, and one or more values for including or excluding an object from a job.

" + "JobScopeTerm$SimpleScopeTerm" : "

A property-based condition that defines a property, operator, and one or more values for including or excluding an object from the job.

" } }, "SortCriteria" : { @@ -978,7 +979,7 @@ } }, "StorageClass" : { - "base" : "

The storage class of the S3 bucket or object. Valid values are:

", + "base" : "

The storage class of the S3 bucket or object. Possible values are:

", "refs" : { "S3Object$StorageClass" : "

The storage class of the object.

" } @@ -1011,7 +1012,7 @@ "TagScopeTerm" : { "base" : "

Specifies a tag-based condition that determines whether an object is included or excluded from a classification job.

", "refs" : { - "JobScopeTerm$TagScopeTerm" : "

A tag-based condition that defines a property, operator, and one or more values for including or excluding an object from a job.

" + "JobScopeTerm$TagScopeTerm" : "

A tag-based condition that defines the operator and a tag key or tag keys and values for including or excluding an object from the job.

" } }, "TagTarget" : { @@ -1097,7 +1098,7 @@ } }, "UsageStatisticsFilterKey" : { - "base" : "

The field to use to filter the results of a query for account quotas and usage data.

", + "base" : "

The field to use to filter the results of a query for account quotas and usage data:

", "refs" : { "UsageStatisticsFilter$Key" : "

The field to use to filter the results. The only supported value is accountId.

" } @@ -1109,7 +1110,7 @@ } }, "UsageStatisticsSortKey" : { - "base" : "

The field to use to sort the results of a query for account quotas and usage data.

", + "base" : "

The field to use to sort the results of a query for account quotas and usage data. Valid values are:

", "refs" : { "UsageStatisticsSortBy$Key" : "

The field to sort the results by.

" } @@ -1128,21 +1129,21 @@ } }, "UserIdentity" : { - "base" : null, + "base" : "

Provides information about the type and other characteristics of an entity that performed an action on an affected resource.

", "refs" : { - "FindingActor$UserIdentity" : "

The name and type of entity that performed the action on the affected resource.

" + "FindingActor$UserIdentity" : "

The type and other characteristics of the entity that performed the action on the affected resource.

" } }, "UserIdentityRoot" : { - "base" : "

Reserved for future use.

", + "base" : "

Provides information about an AWS account and entity that performed an action on an affected resource. The action was performed using the credentials for your AWS account.

", "refs" : { - "UserIdentity$Root" : null + "UserIdentity$Root" : "

If the action was performed using the credentials for your AWS account, the details of your account.

" } }, "UserIdentityType" : { - "base" : "

Reserved for future use.

", + "base" : "

The type of entity that performed the action on the affected resource. Possible values are:

", "refs" : { - "UserIdentity$Type" : null + "UserIdentity$Type" : "

The type of entity that performed the action.

" } }, "ValidationException" : { @@ -1150,9 +1151,9 @@ "refs" : { } }, "WeeklySchedule" : { - "base" : null, + "base" : "

Specifies a weekly recurrence pattern for running a classification job.

", "refs" : { - "JobScheduleFrequency$WeeklySchedule" : "

Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY.

" + "JobScheduleFrequency$WeeklySchedule" : "

Specifies a weekly recurrence pattern for running the job.

" } }, "__boolean" : { @@ -1187,8 +1188,8 @@ "__double" : { "base" : null, "refs" : { - "IpGeoLocation$Lat" : "

Reserved for future use.

", - "IpGeoLocation$Lon" : "

Reserved for future use.

", + "IpGeoLocation$Lat" : "

The latitude coordinate of the location, rounded to four decimal places.

", + "IpGeoLocation$Lon" : "

The longitude coordinate of the location, rounded to four decimal places.

", "Statistics$ApproximateNumberOfObjectsToProcess" : "

The approximate number of objects that the job has yet to process during its current run.

", "Statistics$NumberOfRuns" : "

The number of times that the job has run.

" } @@ -1208,7 +1209,7 @@ "ListClassificationJobsRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", "ListCustomDataIdentifiersRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", "ListFindingsRequest$MaxResults" : "

The maximum number of items to include in each page of the response.

", - "MonthlySchedule$DayOfMonth" : null, + "MonthlySchedule$DayOfMonth" : "

The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 30.

", "TestCustomDataIdentifierRequest$MaximumMatchDistance" : "

The maximum number of characters that can exist between text that matches the regex pattern and the character sequences specified by the keywords array. Macie includes or excludes a result based on the proximity of a keyword to text that matches the regex pattern. The distance can be 1 - 300 characters. The default value is 50.

", "TestCustomDataIdentifierResponse$MatchCount" : "

The number of instances of sample text that matched the detection criteria specified in the custom data identifier.

", "UpdateFindingsFilterRequest$Position" : "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

" @@ -1271,7 +1272,7 @@ "__listOfJobScopeTerm" : { "base" : null, "refs" : { - "JobScopingBlock$And" : "

Reserved for future use.

" + "JobScopingBlock$And" : "

An array of conditions, one for each condition that determines which objects to include or exclude from the job.

" } }, "__listOfJobSummary" : { @@ -1376,20 +1377,20 @@ "__long" : { "base" : null, "refs" : { - "BucketCountByEffectivePermission$PubliclyAccessible" : "

Reserved for future use.

", - "BucketCountByEffectivePermission$PubliclyReadable" : "

Reserved for future use.

", - "BucketCountByEffectivePermission$PubliclyWritable" : "

Reserved for future use.

", - "BucketCountByEncryptionType$KmsManaged" : "

Reserved for future use.

", - "BucketCountByEncryptionType$S3Managed" : "

Reserved for future use.

", - "BucketCountByEncryptionType$Unencrypted" : "

Reserved for future use.

", - "BucketCountBySharedAccessType$External" : "

Reserved for future use.

", - "BucketCountBySharedAccessType$Internal" : "

Reserved for future use.

", - "BucketCountBySharedAccessType$NotShared" : "

Reserved for future use.

", + "BucketCountByEffectivePermission$PubliclyAccessible" : "

The total number of buckets that allow the general public to have read or write access to the bucket.

", + "BucketCountByEffectivePermission$PubliclyReadable" : "

The total number of buckets that allow the general public to have read access to the bucket.

", + "BucketCountByEffectivePermission$PubliclyWritable" : "

The total number of buckets that allow the general public to have write access to the bucket.

", + "BucketCountByEncryptionType$KmsManaged" : "

The total number of buckets that use an AWS Key Management Service (AWS KMS) customer master key (CMK) to encrypt objects. These buckets use AWS KMS AWS-managed (AWS-KMS) encryption or AWS KMS customer-managed (SSE-KMS) encryption.

", + "BucketCountByEncryptionType$S3Managed" : "

The total number of buckets that use an Amazon S3-managed key to encrypt objects. These buckets use Amazon S3-managed (SSE-S3) encryption.

", + "BucketCountByEncryptionType$Unencrypted" : "

The total number of buckets that don't encrypt objects by default. Default encryption is disabled for these buckets.

", + "BucketCountBySharedAccessType$External" : "

The total number of buckets that are shared with an AWS account that isn't part of the same Amazon Macie organization.

", + "BucketCountBySharedAccessType$Internal" : "

The total number of buckets that are shared with an AWS account that's part of the same Amazon Macie organization.

", + "BucketCountBySharedAccessType$NotShared" : "

The total number of buckets that aren't shared with any other AWS accounts.

", "BucketCriteriaAdditionalProperties$Gt" : "

A greater than condition to apply to a specified attribute value for buckets.

", "BucketCriteriaAdditionalProperties$Gte" : "

A greater than or equal to condition to apply to a specified attribute value for buckets.

", "BucketCriteriaAdditionalProperties$Lt" : "

A less than condition to apply to a specified attribute value for buckets.

", "BucketCriteriaAdditionalProperties$Lte" : "

A less than or equal to condition to apply to a specified attribute value for buckets.

", - "BucketMetadata$ClassifiableObjectCount" : "

The total number of objects that Amazon Macie can monitor and analyze in the bucket. These objects use a file format, file extension, or content type that Amazon Macie supports.

", + "BucketMetadata$ClassifiableObjectCount" : "

The total number of objects that Amazon Macie can analyze in the bucket. These objects use a file format, file extension, or content type that Amazon Macie supports.

", "BucketMetadata$ObjectCount" : "

The total number of objects in the bucket.

", "BucketMetadata$SizeInBytes" : "

The total storage size, in bytes, of the bucket.

", "BucketMetadata$SizeInBytesCompressed" : "

The total compressed storage size, in bytes, of the bucket.

", @@ -1403,16 +1404,16 @@ "DefaultDetection$Count" : "

The total number of occurrences of the type of data that was detected.

", "Finding$Count" : "

The total number of occurrences of this finding.

", "GetBucketStatisticsResponse$BucketCount" : "

The total number of buckets.

", - "GetBucketStatisticsResponse$ClassifiableObjectCount" : "

The total number of objects that Amazon Macie can monitor and analyze in all the buckets. These objects use a file format, file extension, or content type that Amazon Macie supports.

", + "GetBucketStatisticsResponse$ClassifiableObjectCount" : "

The total number of objects that Amazon Macie can analyze in all the buckets. These objects use a file format, file extension, or content type that Amazon Macie supports.

", "GetBucketStatisticsResponse$ObjectCount" : "

The total number of objects in all the buckets.

", "GetBucketStatisticsResponse$SizeInBytes" : "

The total storage size, in bytes, of all the buckets.

", "GetBucketStatisticsResponse$SizeInBytesCompressed" : "

The total compressed storage size, in bytes, of all the buckets.

", "GetInvitationsCountResponse$InvitationsCount" : "

The total number of invitations that were received by the account, not including the currently accepted invitation.

", "GroupCount$Count" : "

The total number of findings in the group of query results.

", - "ObjectCountByEncryptionType$CustomerManaged" : null, - "ObjectCountByEncryptionType$KmsManaged" : null, - "ObjectCountByEncryptionType$S3Managed" : null, - "ObjectCountByEncryptionType$Unencrypted" : null, + "ObjectCountByEncryptionType$CustomerManaged" : "

Reserved for future use.

", + "ObjectCountByEncryptionType$KmsManaged" : "

Reserved for future use.

", + "ObjectCountByEncryptionType$S3Managed" : "

Reserved for future use.

", + "ObjectCountByEncryptionType$Unencrypted" : "

Reserved for future use.

", "S3Object$Size" : "

The total storage size, in bytes, of the object.

", "SensitiveDataItem$TotalCount" : "

The total number of occurrences of the sensitive data that was detected.

", "ServiceLimit$Value" : "

The value for the metric specified by the UsageByAccount.type field in the response.

", @@ -1428,15 +1429,15 @@ "AccountDetail$AccountId" : "

The AWS account ID for the account.

", "AccountDetail$Email" : "

The email address for the account.

", "AdminAccount$AccountId" : "

The AWS account ID for the account.

", - "ApiCallDetails$Api" : "

For the affected resource:

  • The name of the operation that was invoked most recently and produced the finding (api).

  • The first date and time when any operation was invoked and produced the finding (firstSeen).

  • The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).

All date and time values are in UTC and extended ISO 8601 format.

", - "ApiCallDetails$ApiServiceName" : "

Reserved for future use.

", - "AssumedRole$AccessKeyId" : "

Reserved for future use.

", - "AssumedRole$AccountId" : "

Reserved for future use.

", - "AssumedRole$Arn" : "

Reserved for future use.

", - "AssumedRole$PrincipalId" : "

Reserved for future use.

", - "AwsAccount$AccountId" : "

Reserved for future use.

", - "AwsAccount$PrincipalId" : "

Reserved for future use.

", - "AwsService$InvokedBy" : "

Reserved for future use.

", + "ApiCallDetails$Api" : "

The name of the operation that was invoked most recently and produced the finding.

", + "ApiCallDetails$ApiServiceName" : "

The URL of the AWS service that provides the operation, for example: s3.amazonaws.com.

", + "AssumedRole$AccessKeyId" : "

The AWS access key ID that identifies the credentials.

", + "AssumedRole$AccountId" : "

The unique identifier for the AWS account that owns the entity that was used to get the credentials.

", + "AssumedRole$Arn" : "

The Amazon Resource Name (ARN) of the entity that was used to get the credentials.

", + "AssumedRole$PrincipalId" : "

The unique identifier for the entity that was used to get the credentials.

", + "AwsAccount$AccountId" : "

The unique identifier for the AWS account.

", + "AwsAccount$PrincipalId" : "

The unique identifier for the entity that performed the action.

", + "AwsService$InvokedBy" : "

The name of the AWS service that performed the action.

", "BatchGetCustomDataIdentifierSummary$Arn" : "

The Amazon Resource Name (ARN) of the custom data identifier.

", "BatchGetCustomDataIdentifierSummary$Description" : "

The custom description of the custom data identifier.

", "BatchGetCustomDataIdentifierSummary$Id" : "

The unique identifier for the custom data identifier.

", @@ -1455,14 +1456,14 @@ "ClassificationResultStatus$Reason" : "

A brief description of the status of the finding. Amazon Macie uses this value to notify you of any errors, warnings, or considerations that might impact your analysis of the finding.

", "ConflictException$Message" : "

The explanation of the error that occurred.

", "CreateClassificationJobRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", - "CreateClassificationJobRequest$Description" : "

A custom description of the job. The description can contain as many as 512 characters.

", - "CreateClassificationJobRequest$Name" : "

A custom name for the job. The name must contain at least 3 characters and can contain as many as 64 characters.

", + "CreateClassificationJobRequest$Description" : "

A custom description of the job. The description can contain as many as 200 characters.

", + "CreateClassificationJobRequest$Name" : "

A custom name for the job. The name can contain as many as 500 characters.

", "CreateClassificationJobResponse$JobArn" : "

The Amazon Resource Name (ARN) of the job.

", "CreateClassificationJobResponse$JobId" : "

The unique identifier for the job.

", "CreateCustomDataIdentifierRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", - "CreateCustomDataIdentifierRequest$Description" : "

A custom description of the custom data identifier. The description can contain up to 120 characters.

We strongly recommend that you avoid including any sensitive data in the description of a custom data identifier. Other users of your account might be able to see the identifier's description, depending on the actions that they're allowed to perform in Amazon Macie.

", - "CreateCustomDataIdentifierRequest$Name" : "

A custom name for the custom data identifier. The name can contain as many as 120 characters.

We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see the identifier's name, depending on the actions that they're allowed to perform in Amazon Macie.

", - "CreateCustomDataIdentifierRequest$Regex" : "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 500 characters.

", + "CreateCustomDataIdentifierRequest$Description" : "

A custom description of the custom data identifier. The description can contain as many as 512 characters.

We strongly recommend that you avoid including any sensitive data in the description of a custom data identifier. Other users of your account might be able to see the identifier's description, depending on the actions that they're allowed to perform in Amazon Macie.

", + "CreateCustomDataIdentifierRequest$Name" : "

A custom name for the custom data identifier. The name can contain as many as 128 characters.

We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see the identifier's name, depending on the actions that they're allowed to perform in Amazon Macie.

", + "CreateCustomDataIdentifierRequest$Regex" : "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

", "CreateCustomDataIdentifierResponse$CustomDataIdentifierId" : "

The unique identifier for the custom data identifier that was created.

", "CreateFindingsFilterRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", "CreateFindingsFilterRequest$Description" : "

A custom description of the filter. The description can contain as many as 512 characters.

We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users of your account might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

", @@ -1485,15 +1486,15 @@ "DescribeClassificationJobResponse$JobArn" : "

The Amazon Resource Name (ARN) of the job.

", "DescribeClassificationJobResponse$JobId" : "

The unique identifier for the job.

", "DescribeClassificationJobResponse$Name" : "

The custom name of the job.

", - "DomainDetails$DomainName" : null, + "DomainDetails$DomainName" : "

The name of the domain.

", "EnableMacieRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", "EnableOrganizationAdminAccountRequest$AdminAccountId" : "

The AWS account ID for the account.

", "EnableOrganizationAdminAccountRequest$ClientToken" : "

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

", - "FederatedUser$AccessKeyId" : "

Reserved for future use.

", - "FederatedUser$AccountId" : "

Reserved for future use.

", - "FederatedUser$Arn" : "

Reserved for future use.

", - "FederatedUser$PrincipalId" : "

Reserved for future use.

", - "Finding$AccountId" : "

The identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.

", + "FederatedUser$AccessKeyId" : "

The AWS access key ID that identifies the credentials.

", + "FederatedUser$AccountId" : "

The unique identifier for the AWS account that owns the entity that was used to get the credentials.

", + "FederatedUser$Arn" : "

The Amazon Resource Name (ARN) of the entity that was used to get the credentials.

", + "FederatedUser$PrincipalId" : "

The unique identifier for the entity that was used to get the credentials.

", + "Finding$AccountId" : "

The unique identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.

", "Finding$Description" : "

The description of the finding.

", "Finding$Id" : "

The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

", "Finding$Partition" : "

The AWS partition that Amazon Macie created the finding in.

", @@ -1508,12 +1509,12 @@ "GetCustomDataIdentifierResponse$Description" : "

The custom description of the custom data identifier.

", "GetCustomDataIdentifierResponse$Id" : "

The unique identifier for the custom data identifier.

", "GetCustomDataIdentifierResponse$Name" : "

The custom name of the custom data identifier.

", - "GetCustomDataIdentifierResponse$Regex" : "

The regular expression (regex) that defines the pattern to match.

", + "GetCustomDataIdentifierResponse$Regex" : "

The regular expression (regex) that defines the pattern to match.

", "GetFindingsFilterResponse$Arn" : "

The Amazon Resource Name (ARN) of the filter.

", "GetFindingsFilterResponse$Description" : "

The custom description of the filter.

", "GetFindingsFilterResponse$Id" : "

The unique identifier for the filter.

", "GetFindingsFilterResponse$Name" : "

The custom name of the filter.

", - "GetMacieSessionResponse$ServiceRole" : "

The Amazon Resource Name (ARN) of the service-level role that allows Amazon Macie to monitor and analyze data in AWS resources for the account.

", + "GetMacieSessionResponse$ServiceRole" : "

The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in AWS resources for the account.

", "GetMemberResponse$AccountId" : "

The AWS account ID for the account.

", "GetMemberResponse$Arn" : "

The Amazon Resource Name (ARN) of the account.

", "GetMemberResponse$Email" : "

The email address for the account.

", @@ -1521,21 +1522,21 @@ "GetUsageStatisticsRequest$NextToken" : "

The nextToken string that specifies which page of results to return in a paginated response.

", "GetUsageStatisticsResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

", "GroupCount$GroupKey" : "

The name of the property that defines the group in the query results, as specified by the groupBy property in the query request.

", - "IamUser$AccountId" : "

Reserved for future use.

", - "IamUser$Arn" : "

Reserved for future use.

", - "IamUser$PrincipalId" : "

Reserved for future use.

", - "IamUser$UserName" : "

Reserved for future use.

", + "IamUser$AccountId" : "

The unique identifier for the AWS account that's associated with the IAM user who performed the action.

", + "IamUser$Arn" : "

The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user who performed the action.

", + "IamUser$PrincipalId" : "

The unique identifier for the IAM user who performed the action.

", + "IamUser$UserName" : "

The user name of the IAM user who performed the action.

", "InternalServerException$Message" : "

The explanation of the error that occurred.

", "Invitation$AccountId" : "

The AWS account ID for the account that sent the invitation.

", "Invitation$InvitationId" : "

The unique identifier for the invitation. Amazon Macie uses this identifier to validate the inviter account with the invitee account.

", - "IpAddressDetails$IpAddressV4" : null, - "IpCity$Name" : "

Reserved for future use.

", - "IpCountry$Code" : "

Reserved for future use.

", - "IpCountry$Name" : "

Reserved for future use.

", - "IpOwner$Asn" : "

Reserved for future use.

", - "IpOwner$AsnOrg" : "

Reserved for future use.

", - "IpOwner$Isp" : "

Reserved for future use.

", - "IpOwner$Org" : "

Reserved for future use.

", + "IpAddressDetails$IpAddressV4" : "

The Internet Protocol version 4 (IPv4) address of the device.

", + "IpCity$Name" : "

The name of the city.

", + "IpCountry$Code" : "

The two-character code, in ISO 3166-1 alpha-2 format, for the country that the IP address originated from. For example, US for the United States.

", + "IpCountry$Name" : "

The name of the country that the IP address originated from.

", + "IpOwner$Asn" : "

The autonomous system number (ASN) for the autonomous system that included the IP address.

", + "IpOwner$AsnOrg" : "

The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.

", + "IpOwner$Isp" : "

The name of the internet service provider (ISP) that owned the IP address.

", + "IpOwner$Org" : "

The name of the organization that owned the IP address.

", "JobSummary$JobId" : "

The unique identifier for the job.

", "JobSummary$Name" : "

The custom name of the job.

", "KeyValuePair$Key" : "

One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.

", @@ -1562,7 +1563,7 @@ "S3BucketOwner$Id" : "

The AWS account ID for the user who owns the bucket.

", "S3Destination$BucketName" : "

The name of the bucket.

", "S3Destination$KeyPrefix" : "

The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.

", - "S3Destination$KmsKeyArn" : "

The Amazon Resource Name (ARN) of the AWS Key Management Service customer master key (CMK) to use for encryption of the results. This must be the ARN of an existing CMK that's in the same AWS Region as the bucket.

", + "S3Destination$KmsKeyArn" : "

The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) customer master key (CMK) to use for encryption of the results. This must be the ARN of an existing CMK that's in the same AWS Region as the bucket.

", "S3Object$BucketArn" : "

The Amazon Resource Name (ARN) of the bucket that contains the object.

", "S3Object$ETag" : "

The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.

", "S3Object$Extension" : "

The file extension of the object. If the object doesn't have a file extension, this value is \"\".

", @@ -1571,9 +1572,9 @@ "S3Object$VersionId" : "

The identifier for the affected version of the object.

", "ServerSideEncryption$KmsMasterKeyId" : "

The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) master key that's used to encrypt the bucket or object. This value is null if KMS isn't used to encrypt the bucket or object.

", "ServiceQuotaExceededException$Message" : "

The explanation of the error that occurred.

", - "SessionIssuer$AccountId" : "

The account that owns the entity that was used to get the credentials.

", + "SessionIssuer$AccountId" : "

The unique identifier for the AWS account that owns the entity that was used to get the credentials.

", "SessionIssuer$Arn" : "

The Amazon Resource Name (ARN) of the source account, IAM user, or role that was used to get the credentials.

", - "SessionIssuer$PrincipalId" : "

The internal identifier for the entity that was used to get the credentials.

", + "SessionIssuer$PrincipalId" : "

The unique identifier for the entity that was used to get the credentials.

", "SessionIssuer$Type" : "

The source of the temporary security credentials, such as Root, IAMUser, or Role.

", "SessionIssuer$UserName" : "

The name or alias of the user or role that issued the session. This value is null if the credentials were obtained from a root account that doesn't have an alias.

", "SortCriteria$AttributeName" : "

The name of the property to sort the results by. This value can be the name of any property that Amazon Macie defines for a finding.

", @@ -1581,7 +1582,7 @@ "TagScopeTerm$Key" : "

The tag key to use in the condition.

", "TagValuePair$Key" : "

The value for the tag key to use in the condition.

", "TagValuePair$Value" : "

The tag value, associated with the specified tag key, to use in the condition.

", - "TestCustomDataIdentifierRequest$Regex" : "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 500 characters.

", + "TestCustomDataIdentifierRequest$Regex" : "

The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.

", "TestCustomDataIdentifierRequest$SampleText" : "

The sample text to inspect by using the custom data identifier. The text can contain as many as 1,000 characters.

", "ThrottlingException$Message" : "

The explanation of the error that occurred.

", "UnprocessedAccount$AccountId" : "

The AWS account ID for the account that the request applies to.

", @@ -1591,11 +1592,11 @@ "UpdateFindingsFilterResponse$Arn" : "

The Amazon Resource Name (ARN) of the filter that was updated.

", "UpdateFindingsFilterResponse$Id" : "

The unique identifier for the filter that was updated.

", "UsageByAccount$EstimatedCost" : "

The estimated value for the metric.

", - "UsageRecord$AccountId" : "

The AWS account ID for the account that the data applies to.

", + "UsageRecord$AccountId" : "

The unique identifier for the AWS account that the data applies to.

", "UsageTotal$EstimatedCost" : "

The estimated value for the metric.

", - "UserIdentityRoot$AccountId" : "

Reserved for future use.

", - "UserIdentityRoot$Arn" : "

Reserved for future use.

", - "UserIdentityRoot$PrincipalId" : "

Reserved for future use.

", + "UserIdentityRoot$AccountId" : "

The unique identifier for the AWS account.

", + "UserIdentityRoot$Arn" : "

The Amazon Resource Name (ARN) of the principal that performed the action. The last section of the ARN contains the name of the user or role that performed the action.

", + "UserIdentityRoot$PrincipalId" : "

The unique identifier for the entity that performed the action.

", "ValidationException$Message" : "

The explanation of the error that occurred.

", "__listOf__string$member" : null } @@ -1603,8 +1604,8 @@ "__timestampIso8601" : { "base" : null, "refs" : { - "ApiCallDetails$FirstSeen" : "

Reserved for future use.

", - "ApiCallDetails$LastSeen" : "

Reserved for future use.

", + "ApiCallDetails$FirstSeen" : "

The first date and time, in UTC and extended ISO 8601 format, when any operation was invoked and produced the finding.

", + "ApiCallDetails$LastSeen" : "

The most recent date and time, in UTC and extended ISO 8601 format, when the specified operation (api) was invoked and produced the finding.

", "BatchGetCustomDataIdentifierSummary$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the custom data identifier was created.

", "BucketMetadata$BucketCreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

", "BucketMetadata$LastUpdated" : "

The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last analyzed the bucket.

", @@ -1625,7 +1626,7 @@ "Member$UpdatedAt" : "

The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the relationship between the account and the master account.

", "S3Bucket$CreatedAt" : "

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

", "S3Object$LastModified" : "

The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

", - "SessionContextAttributes$CreationDate" : "

The date and time, in ISO 8601 format, when the credentials were issued.

", + "SessionContextAttributes$CreationDate" : "

The date and time, in UTC and ISO 8601 format, when the credentials were issued.

", "UsageRecord$FreeTrialStartDate" : "

The date and time, in UTC and extended ISO 8601 format, when the free trial period started for the account. This value is null if the account didn't participate in the free trial.

" } } diff --git a/models/apis/macie2/2020-01-01/paginators-1.json b/models/apis/macie2/2020-01-01/paginators-1.json index f3b7195d8e1..0ab359873da 100644 --- a/models/apis/macie2/2020-01-01/paginators-1.json +++ b/models/apis/macie2/2020-01-01/paginators-1.json @@ -1,3 +1,58 @@ { - "pagination" : { } -} \ No newline at end of file + "pagination": { + "DescribeBuckets": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "buckets" + }, + "GetUsageStatistics": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "records" + }, + "ListClassificationJobs": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, + "ListCustomDataIdentifiers": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, + "ListFindings": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "findingIds" + }, + "ListFindingsFilters": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "findingsFilterListItems" + }, + "ListInvitations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "invitations" + }, + "ListMembers": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "members" + }, + "ListOrganizationAdminAccounts": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "adminAccounts" + } + } +} diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index d4db2da47a7..ea5cdd95568 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -2919,6 +2919,7 @@ "iotanalytics" : { "endpoints" : { "ap-northeast-1" : { }, + "ap-southeast-2" : { }, "eu-central-1" : { }, "eu-west-1" : { }, "us-east-1" : { }, @@ -6237,6 +6238,11 @@ "cn-northwest-1" : { } } }, + "cur" : { + "endpoints" : { + "cn-northwest-1" : { } + } + }, "data.iot" : { "defaults" : { "credentialScope" : { @@ -8505,6 +8511,11 @@ "us-iso-east-1" : { } } }, + "transcribestreaming" : { + "endpoints" : { + "us-iso-east-1" : { } + } + }, "workspaces" : { "endpoints" : { "us-iso-east-1" : { } diff --git a/service/applicationautoscaling/api.go b/service/applicationautoscaling/api.go index 3ff3af132a8..a9d77bc4b9c 100644 --- a/service/applicationautoscaling/api.go +++ b/service/applicationautoscaling/api.go @@ -3275,7 +3275,9 @@ type PredefinedMetricSpecification struct { // a resource label unless the metric type is ALBRequestCountPerTarget and there // is a target group attached to the Spot Fleet request or ECS service. // - // The format is app///targetgroup//, + // Elastic Load Balancing sends data about your load balancers to Amazon CloudWatch. + // CloudWatch collects the data and specifies the format to use to access the + // data. The format is app///targetgroup//, // where: // // * app// is the final portion of @@ -3283,6 +3285,12 @@ type PredefinedMetricSpecification struct { // // * targetgroup// is the final portion // of the target group ARN. + // + // To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers + // (https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html) + // API operation. To find the ARN for the target group, use the DescribeTargetGroups + // (https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html) + // API operation. ResourceLabel *string `min:"1" type:"string"` } @@ -3854,8 +3862,10 @@ type RegisterScalableTargetInput struct { // the minimum capacity limit in response to changing demand. // // This parameter is required if you are registering a scalable target. For - // Lambda provisioned concurrency, the minimum value allowed is 0. For all other - // resources, the minimum value allowed is 1. + // certain resources, the minimum value allowed is 0. This includes Lambda provisioned + // concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR clusters, + // and custom resources. For all other resources, the minimum value allowed + // is 1. MinCapacity *int64 `type:"integer"` // The identifier of the resource that is associated with the scalable target. diff --git a/service/appsync/api.go b/service/appsync/api.go index 4af1265c5d6..83e616aff0d 100644 --- a/service/appsync/api.go +++ b/service/appsync/api.go @@ -3990,29 +3990,7 @@ type ApiCache struct { // Valid values are between 1 and 3600 seconds. Ttl *int64 `locationName:"ttl" type:"long"` - // The cache instance type. Valid values are - // - // * SMALL - // - // * MEDIUM - // - // * LARGE - // - // * XLARGE - // - // * LARGE_2X - // - // * LARGE_4X - // - // * LARGE_8X (not available in all regions) - // - // * LARGE_12X - // - // Historically, instance types were identified by an EC2-style value. As of - // July 2020, this is deprecated, and the generic identifiers above should be - // used. - // - // The following legacy instance types are avaible, but their use is discouraged: + // The cache instance type. // // * T2_SMALL: A t2.small instance type. // @@ -4471,8 +4449,8 @@ type CachingConfig struct { // The caching keys for a resolver that has caching enabled. // - // Valid values are entries from the $context.identity and $context.arguments - // maps. + // Valid values are entries from the $context.arguments, $context.source, and + // $context.identity maps. CachingKeys []*string `locationName:"cachingKeys" type:"list"` // The TTL in seconds for a resolver that has caching enabled. @@ -4655,29 +4633,7 @@ type CreateApiCacheInput struct { // Ttl is a required field Ttl *int64 `locationName:"ttl" type:"long" required:"true"` - // The cache instance type. Valid values are - // - // * SMALL - // - // * MEDIUM - // - // * LARGE - // - // * XLARGE - // - // * LARGE_2X - // - // * LARGE_4X - // - // * LARGE_8X (not available in all regions) - // - // * LARGE_12X - // - // Historically, instance types were identified by an EC2-style value. As of - // July 2020, this is deprecated, and the generic identifiers above should be - // used. - // - // The following legacy instance types are avaible, but their use is discouraged: + // The cache instance type. // // * T2_SMALL: A t2.small instance type. // @@ -9248,29 +9204,7 @@ type UpdateApiCacheInput struct { // Ttl is a required field Ttl *int64 `locationName:"ttl" type:"long" required:"true"` - // The cache instance type. Valid values are - // - // * SMALL - // - // * MEDIUM - // - // * LARGE - // - // * XLARGE - // - // * LARGE_2X - // - // * LARGE_4X - // - // * LARGE_8X (not available in all regions) - // - // * LARGE_12X - // - // Historically, instance types were identified by an EC2-style value. As of - // July 2020, this is deprecated, and the generic identifiers above should be - // used. - // - // The following legacy instance types are avaible, but their use is discouraged: + // The cache instance type. // // * T2_SMALL: A t2.small instance type. // diff --git a/service/connect/api.go b/service/connect/api.go index f4a977bffdc..55707845ecc 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -59,10 +59,6 @@ func (c *Connect) CreateUserRequest(input *CreateUserInput) (req *request.Reques // // Creates a user account for the specified Amazon Connect instance. // -// For information about how to create user accounts using the Amazon Connect -// console, see Add Users (https://docs.aws.amazon.com/connect/latest/adminguide/user-management.html) -// in the Amazon Connect Administrator 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. @@ -161,10 +157,6 @@ func (c *Connect) DeleteUserRequest(input *DeleteUserInput) (req *request.Reques // // Deletes a user account from the specified Amazon Connect instance. // -// For information about what happens to a user's data when their account is -// deleted, see Delete Users from Your Amazon Connect Instance (https://docs.aws.amazon.com/connect/latest/adminguide/delete-users.html) -// in the Amazon Connect Administrator 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. @@ -622,7 +614,7 @@ func (c *Connect) GetCurrentMetricDataRequest(input *GetCurrentMetricDataInput) // // Gets the real-time metric data from the specified Amazon Connect instance. // -// For a description of each metric, see Real-time Metrics Definitions (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html) +// For more information, see Real-time Metrics Reports (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-reports.html) // in the Amazon Connect Administrator Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -868,8 +860,7 @@ func (c *Connect) GetMetricDataRequest(input *GetMetricDataInput) (req *request. // // Gets historical metric data from the specified Amazon Connect instance. // -// For a description of each historical metric, see Historical Metrics Definitions -// (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html) +// For more information, see Historical Metrics Reports (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics.html) // in the Amazon Connect Administrator Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1022,9 +1013,6 @@ func (c *Connect) ListContactFlowsRequest(input *ListContactFlowsInput) (req *re // Provides information about the contact flows for the specified Amazon Connect // instance. // -// For more information about contact flows, see Contact Flows (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-contact-flows.html) -// in the Amazon Connect Administrator 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. @@ -1175,10 +1163,6 @@ func (c *Connect) ListHoursOfOperationsRequest(input *ListHoursOfOperationsInput // Provides information about the hours of operation for the specified Amazon // Connect instance. // -// For more information about hours of operation, see Set the Hours of Operation -// for a Queue (https://docs.aws.amazon.com/connect/latest/adminguide/set-hours-operation.html) -// in the Amazon Connect Administrator 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. @@ -1329,10 +1313,6 @@ func (c *Connect) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) (req *re // Provides information about the phone numbers for the specified Amazon Connect // instance. // -// For more information about phone numbers, see Set Up Phone Numbers for Your -// Contact Center (https://docs.aws.amazon.com/connect/latest/adminguide/contact-center-phone-number.html) -// in the Amazon Connect Administrator 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. @@ -1482,9 +1462,6 @@ func (c *Connect) ListQueuesRequest(input *ListQueuesInput) (req *request.Reques // // Provides information about the queues for the specified Amazon Connect instance. // -// For more information about queues, see Queues: Standard and Agent (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-queues-standard-and-agent.html) -// in the Amazon Connect Administrator 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. @@ -1635,10 +1612,6 @@ func (c *Connect) ListRoutingProfilesRequest(input *ListRoutingProfilesInput) (r // Provides summary information about the routing profiles for the specified // Amazon Connect instance. // -// For more information about routing profiles, see Routing Profiles (https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing.html) -// and Create a Routing Profile (https://docs.aws.amazon.com/connect/latest/adminguide/routing-profiles.html) -// in the Amazon Connect Administrator 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. @@ -1789,9 +1762,6 @@ func (c *Connect) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) // Provides summary information about the security profiles for the specified // Amazon Connect instance. // -// For more information about security profiles, see Security Profiles (https://docs.aws.amazon.com/connect/latest/adminguide/connect-security-profiles.html) -// in the Amazon Connect Administrator 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. @@ -1935,10 +1905,6 @@ func (c *Connect) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // // Lists the tags for the specified resource. // -// For sample policies that use tags, see Amazon Connect Identity-Based Policy -// Examples (https://docs.aws.amazon.com/connect/latest/adminguide/security_iam_id-based-policy-examples.html) -// in the Amazon Connect Administrator 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. @@ -2037,10 +2003,6 @@ func (c *Connect) ListUserHierarchyGroupsRequest(input *ListUserHierarchyGroupsI // Provides summary information about the hierarchy groups for the specified // Amazon Connect instance. // -// For more information about agent hierarchies, see Set Up Agent Hierarchies -// (https://docs.aws.amazon.com/connect/latest/adminguide/agent-hierarchy.html) -// in the Amazon Connect Administrator 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. @@ -2288,6 +2250,95 @@ func (c *Connect) ListUsersPagesWithContext(ctx aws.Context, input *ListUsersInp return p.Err() } +const opResumeContactRecording = "ResumeContactRecording" + +// ResumeContactRecordingRequest generates a "aws/request.Request" representing the +// client's request for the ResumeContactRecording 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 ResumeContactRecording for more information on using the ResumeContactRecording +// 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 ResumeContactRecordingRequest method. +// req, resp := client.ResumeContactRecordingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContactRecording +func (c *Connect) ResumeContactRecordingRequest(input *ResumeContactRecordingInput) (req *request.Request, output *ResumeContactRecordingOutput) { + op := &request.Operation{ + Name: opResumeContactRecording, + HTTPMethod: "POST", + HTTPPath: "/contact/resume-recording", + } + + if input == nil { + input = &ResumeContactRecordingInput{} + } + + output = &ResumeContactRecordingOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// ResumeContactRecording API operation for Amazon Connect Service. +// +// When a contact is being recorded, and the recording has been suspended using +// SuspendContactRecording, this API resumes recording the call. +// +// Only voice recordings are supported at this time. +// +// 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 Connect Service's +// API operation ResumeContactRecording for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * InternalServiceException +// Request processing failed due to an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContactRecording +func (c *Connect) ResumeContactRecording(input *ResumeContactRecordingInput) (*ResumeContactRecordingOutput, error) { + req, out := c.ResumeContactRecordingRequest(input) + return out, req.Send() +} + +// ResumeContactRecordingWithContext is the same as ResumeContactRecording with the addition of +// the ability to pass a context and additional request options. +// +// See ResumeContactRecording 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 *Connect) ResumeContactRecordingWithContext(ctx aws.Context, input *ResumeContactRecordingInput, opts ...request.Option) (*ResumeContactRecordingOutput, error) { + req, out := c.ResumeContactRecordingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartChatContact = "StartChatContact" // StartChatContactRequest generates a "aws/request.Request" representing the @@ -2342,17 +2393,6 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // This is achieved by invoking CreateParticipantConnection (https://docs.aws.amazon.com/connect-participant/latest/APIReference/API_CreateParticipantConnection.html) // with WEBSOCKET and CONNECTION_CREDENTIALS. // -// A 429 error occurs in two situations: -// -// * API rate limit is exceeded. API TPS throttling returns a TooManyRequests -// exception from the API Gateway. -// -// * The quota for concurrent active chats (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) -// is exceeded. Active chat throttling returns a LimitExceededException. -// -// For more information about how chat works, see Chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat.html) -// in the Amazon Connect Administrator 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. @@ -2398,6 +2438,106 @@ func (c *Connect) StartChatContactWithContext(ctx aws.Context, input *StartChatC return out, req.Send() } +const opStartContactRecording = "StartContactRecording" + +// StartContactRecordingRequest generates a "aws/request.Request" representing the +// client's request for the StartContactRecording 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 StartContactRecording for more information on using the StartContactRecording +// 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 StartContactRecordingRequest method. +// req, resp := client.StartContactRecordingRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactRecording +func (c *Connect) StartContactRecordingRequest(input *StartContactRecordingInput) (req *request.Request, output *StartContactRecordingOutput) { + op := &request.Operation{ + Name: opStartContactRecording, + HTTPMethod: "POST", + HTTPPath: "/contact/start-recording", + } + + if input == nil { + input = &StartContactRecordingInput{} + } + + output = &StartContactRecordingOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// StartContactRecording API operation for Amazon Connect Service. +// +// This API starts recording the contact when the agent joins the call. StartContactRecording +// is a one-time action. For example, if you use StopContactRecording to stop +// recording an ongoing call, you can't use StartContactRecording to restart +// it. For scenarios where the recording has started and you want to suspend +// and resume it, such as when collecting sensitive information (for example, +// a credit card number), use SuspendContactRecording and ResumeContactRecording. +// +// You can use this API to override the recording behavior configured in the +// Set recording behavior (https://docs.aws.amazon.com/connect/latest/adminguide/set-recording-behavior.html) +// block. +// +// Only voice recordings are supported at this time. +// +// 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 Connect Service's +// API operation StartContactRecording for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * InternalServiceException +// Request processing failed due to an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactRecording +func (c *Connect) StartContactRecording(input *StartContactRecordingInput) (*StartContactRecordingOutput, error) { + req, out := c.StartContactRecordingRequest(input) + return out, req.Send() +} + +// StartContactRecordingWithContext is the same as StartContactRecording with the addition of +// the ability to pass a context and additional request options. +// +// See StartContactRecording 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 *Connect) StartContactRecordingWithContext(ctx aws.Context, input *StartContactRecordingInput, opts ...request.Option) (*StartContactRecordingOutput, error) { + req, out := c.StartContactRecordingRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartOutboundVoiceContact = "StartOutboundVoiceContact" // StartOutboundVoiceContactRequest generates a "aws/request.Request" representing the @@ -2453,11 +2593,6 @@ func (c *Connect) StartOutboundVoiceContactRequest(input *StartOutboundVoiceCont // There is a 60 second dialing timeout for this operation. If the call is not // connected after 60 seconds, it fails. // -// UK numbers with a 447 prefix are not allowed by default. Before you can dial -// these UK mobile numbers, you must submit a service quota increase request. -// For more information, see Amazon Connect Service Quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) -// in the Amazon Connect Administrator 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. @@ -2601,234 +2736,417 @@ func (c *Connect) StopContactWithContext(ctx aws.Context, input *StopContactInpu return out, req.Send() } -const opTagResource = "TagResource" +const opStopContactRecording = "StopContactRecording" -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// StopContactRecordingRequest generates a "aws/request.Request" representing the +// client's request for the StopContactRecording 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 TagResource for more information on using the TagResource +// See StopContactRecording for more information on using the StopContactRecording // 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 TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the StopContactRecordingRequest method. +// req, resp := client.StopContactRecordingRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResource -func (c *Connect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRecording +func (c *Connect) StopContactRecordingRequest(input *StopContactRecordingInput) (req *request.Request, output *StopContactRecordingOutput) { op := &request.Operation{ - Name: opTagResource, + Name: opStopContactRecording, HTTPMethod: "POST", - HTTPPath: "/tags/{resourceArn}", + HTTPPath: "/contact/stop-recording", } if input == nil { - input = &TagResourceInput{} + input = &StopContactRecordingInput{} } - output = &TagResourceOutput{} + output = &StopContactRecordingOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for Amazon Connect Service. -// -// Adds the specified tags to the specified resource. +// StopContactRecording API operation for Amazon Connect Service. // -// The supported resource type is users. +// When a contact is being recorded, this API stops recording the call. StopContactRecording +// is a one-time action. If you use StopContactRecording to stop recording an +// ongoing call, you can't use StartContactRecording to restart it. For scenarios +// where the recording has started and you want to suspend it for sensitive +// information (for example, to collect a credit card number), and then restart +// it, use SuspendContactRecording and ResumeContactRecording. // -// For sample policies that use tags, see Amazon Connect Identity-Based Policy -// Examples (https://docs.aws.amazon.com/connect/latest/adminguide/security_iam_id-based-policy-examples.html) -// in the Amazon Connect Administrator Guide. +// Only voice recordings are supported at this time. // // 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 Connect Service's -// API operation TagResource for usage and error information. +// API operation StopContactRecording for usage and error information. // // Returned Error Types: // * InvalidRequestException // The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. -// -// * InternalServiceException -// Request processing failed due to an error or failure with the service. -// // * ResourceNotFoundException // The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// * InternalServiceException +// Request processing failed due to an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResource -func (c *Connect) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRecording +func (c *Connect) StopContactRecording(input *StopContactRecordingInput) (*StopContactRecordingOutput, error) { + req, out := c.StopContactRecordingRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource with the addition of +// StopContactRecordingWithContext is the same as StopContactRecording with the addition of // the ability to pass a context and additional request options. // -// See TagResource for details on how to use this API operation. +// See StopContactRecording 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 *Connect) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +func (c *Connect) StopContactRecordingWithContext(ctx aws.Context, input *StopContactRecordingInput, opts ...request.Option) (*StopContactRecordingOutput, error) { + req, out := c.StopContactRecordingRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUntagResource = "UntagResource" +const opSuspendContactRecording = "SuspendContactRecording" -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// SuspendContactRecordingRequest generates a "aws/request.Request" representing the +// client's request for the SuspendContactRecording 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 UntagResource for more information on using the UntagResource +// See SuspendContactRecording for more information on using the SuspendContactRecording // 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 UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) +// // Example sending a request using the SuspendContactRecordingRequest method. +// req, resp := client.SuspendContactRecordingRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResource -func (c *Connect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SuspendContactRecording +func (c *Connect) SuspendContactRecordingRequest(input *SuspendContactRecordingInput) (req *request.Request, output *SuspendContactRecordingOutput) { op := &request.Operation{ - Name: opUntagResource, - HTTPMethod: "DELETE", - HTTPPath: "/tags/{resourceArn}", + Name: opSuspendContactRecording, + HTTPMethod: "POST", + HTTPPath: "/contact/suspend-recording", } if input == nil { - input = &UntagResourceInput{} + input = &SuspendContactRecordingInput{} } - output = &UntagResourceOutput{} + output = &SuspendContactRecordingOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UntagResource API operation for Amazon Connect Service. +// SuspendContactRecording API operation for Amazon Connect Service. // -// Removes the specified tags from the specified resource. +// When a contact is being recorded, this API suspends recording the call. For +// example, you might suspend the call recording while collecting sensitive +// information, such as a credit card number. Then use ResumeContactRecording +// to restart recording. +// +// The period of time that the recording is suspended is filled with silence +// in the final recording. +// +// Only voice recordings are supported at this time. // // 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 Connect Service's -// API operation UntagResource for usage and error information. +// API operation SuspendContactRecording for usage and error information. // // Returned Error Types: // * InvalidRequestException // The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. -// -// * InternalServiceException -// Request processing failed due to an error or failure with the service. -// // * ResourceNotFoundException // The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// * InternalServiceException +// Request processing failed due to an error or failure with the service. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResource -func (c *Connect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SuspendContactRecording +func (c *Connect) SuspendContactRecording(input *SuspendContactRecordingInput) (*SuspendContactRecordingOutput, error) { + req, out := c.SuspendContactRecordingRequest(input) return out, req.Send() } -// UntagResourceWithContext is the same as UntagResource with the addition of +// SuspendContactRecordingWithContext is the same as SuspendContactRecording with the addition of // the ability to pass a context and additional request options. // -// See UntagResource for details on how to use this API operation. +// See SuspendContactRecording 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 *Connect) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +func (c *Connect) SuspendContactRecordingWithContext(ctx aws.Context, input *SuspendContactRecordingInput, opts ...request.Option) (*SuspendContactRecordingOutput, error) { + req, out := c.SuspendContactRecordingRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUpdateContactAttributes = "UpdateContactAttributes" +const opTagResource = "TagResource" -// UpdateContactAttributesRequest generates a "aws/request.Request" representing the -// client's request for the UpdateContactAttributes operation. The "output" return +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource 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 UpdateContactAttributes for more information on using the UpdateContactAttributes +// See TagResource for more information on using the TagResource // 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 UpdateContactAttributesRequest method. -// req, resp := client.UpdateContactAttributesRequest(params) +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes -func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) (req *request.Request, output *UpdateContactAttributesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResource +func (c *Connect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ - Name: opUpdateContactAttributes, + Name: opTagResource, HTTPMethod: "POST", - HTTPPath: "/contact/attributes", + HTTPPath: "/tags/{resourceArn}", } if input == nil { - input = &UpdateContactAttributesInput{} + input = &TagResourceInput{} } - output = &UpdateContactAttributesOutput{} + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for Amazon Connect Service. +// +// Adds the specified tags to the specified resource. +// +// The supported resource type is users. +// +// 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 Connect Service's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * InternalServiceException +// Request processing failed due to an error or failure with the service. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResource +func (c *Connect) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource 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 *Connect) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource 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 UntagResource for more information on using the UntagResource +// 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 UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResource +func (c *Connect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{resourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for Amazon Connect Service. +// +// Removes the specified tags from the specified resource. +// +// 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 Connect Service's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// * InvalidRequestException +// The request is not valid. +// +// * InvalidParameterException +// One or more of the specified parameters are not valid. +// +// * InternalServiceException +// Request processing failed due to an error or failure with the service. +// +// * ResourceNotFoundException +// The specified resource was not found. +// +// * ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResource +func (c *Connect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource 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 *Connect) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUpdateContactAttributes = "UpdateContactAttributes" + +// UpdateContactAttributesRequest generates a "aws/request.Request" representing the +// client's request for the UpdateContactAttributes 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 UpdateContactAttributes for more information on using the UpdateContactAttributes +// 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 UpdateContactAttributesRequest method. +// req, resp := client.UpdateContactAttributesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes +func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) (req *request.Request, output *UpdateContactAttributesOutput) { + op := &request.Operation{ + Name: opUpdateContactAttributes, + HTTPMethod: "POST", + HTTPPath: "/contact/attributes", + } + + if input == nil { + input = &UpdateContactAttributesInput{} + } + + output = &UpdateContactAttributesOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return @@ -3039,14 +3357,6 @@ func (c *Connect) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInp // // Updates the identity information for the specified user. // -// Someone with the ability to invoke UpdateUserIndentityInfo can change the -// login credentials of other users by changing their email address. This poses -// a security risk to your organization. They can change the email address of -// a user to the attacker's email address, and then reset the password through -// email. We strongly recommend limiting who has the ability to invoke UpdateUserIndentityInfo. -// For more information, see Best Practices for Security Profiles (https://docs.aws.amazon.com/connect/latest/adminguide/security-profile-best-practices.html) -// in the Amazon Connect Administrator 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. @@ -4471,96 +4781,62 @@ type GetCurrentMetricDataInput struct { _ struct{} `type:"structure"` // The metrics to retrieve. Specify the name and unit for each metric. The following - // metrics are available. For a description of all the metrics, see Real-time - // Metrics Definitions (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html) + // metrics are available. For a description of each metric, see Real-time Metrics + // Definitions (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html) // in the Amazon Connect Administrator Guide. // // AGENTS_AFTER_CONTACT_WORK // // Unit: COUNT // - // Name in real-time metrics report: ACW (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#aftercallwork-real-time) - // // AGENTS_AVAILABLE // // Unit: COUNT // - // Name in real-time metrics report: Available (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#available-real-time) - // // AGENTS_ERROR // // Unit: COUNT // - // Name in real-time metrics report: Error (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#error-real-time) - // // AGENTS_NON_PRODUCTIVE // // Unit: COUNT // - // Name in real-time metrics report: NPT (Non-Productive Time) (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#non-productive-time-real-time) - // // AGENTS_ON_CALL // // Unit: COUNT // - // Name in real-time metrics report: On contact (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#on-call-real-time) - // // AGENTS_ON_CONTACT // // Unit: COUNT // - // Name in real-time metrics report: On contact (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#on-call-real-time) - // // AGENTS_ONLINE // // Unit: COUNT // - // Name in real-time metrics report: Online (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#online-real-time) - // // AGENTS_STAFFED // // Unit: COUNT // - // Name in real-time metrics report: Staffed (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#staffed-real-time) - // // CONTACTS_IN_QUEUE // // Unit: COUNT // - // Name in real-time metrics report: In queue (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#in-queue-real-time) - // // CONTACTS_SCHEDULED // // Unit: COUNT // - // Name in real-time metrics report: Scheduled (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#scheduled-real-time) - // // OLDEST_CONTACT_AGE // // Unit: SECONDS // - // When you use groupings, Unit says SECONDS but the Value is returned in MILLISECONDS. - // For example, if you get a response like this: - // - // { "Metric": { "Name": "OLDEST_CONTACT_AGE", "Unit": "SECONDS" }, "Value": - // 24113.0 } - // - // The actual OLDEST_CONTACT_AGE is 24 seconds. - // - // Name in real-time metrics report: Oldest (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#oldest-real-time) - // // SLOTS_ACTIVE // // Unit: COUNT // - // Name in real-time metrics report: Active (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#active-real-time) - // // SLOTS_AVAILABLE // // Unit: COUNT // - // Name in real-time metrics report: Availability (https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html#availability-real-time) - // // CurrentMetrics is a required field CurrentMetrics []*CurrentMetric `type:"list" required:"true"` @@ -6942,38 +7218,128 @@ func (s *ResourceNotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// Contains summary information about a routing profile. -type RoutingProfileSummary struct { +type ResumeContactRecordingInput struct { _ struct{} `type:"structure"` - // The Amazon Resource Name (ARN) of the routing profile. - Arn *string `type:"string"` + // The identifier of the contact. + // + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` - // The identifier of the routing profile. - Id *string `type:"string"` + // The identifier of the contact. This is the identifier of the contact associated + // with the first interaction with the contact center. + // + // InitialContactId is a required field + InitialContactId *string `min:"1" type:"string" required:"true"` - // The name of the routing profile. - Name *string `min:"1" type:"string"` + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` } // String returns the string representation -func (s RoutingProfileSummary) String() string { +func (s ResumeContactRecordingInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s RoutingProfileSummary) GoString() string { +func (s ResumeContactRecordingInput) GoString() string { return s.String() } -// SetArn sets the Arn field's value. -func (s *RoutingProfileSummary) SetArn(v string) *RoutingProfileSummary { - s.Arn = &v - return s +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResumeContactRecordingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResumeContactRecordingInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InitialContactId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialContactId")) + } + if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil } -// SetId sets the Id field's value. -func (s *RoutingProfileSummary) SetId(v string) *RoutingProfileSummary { +// SetContactId sets the ContactId field's value. +func (s *ResumeContactRecordingInput) SetContactId(v string) *ResumeContactRecordingInput { + s.ContactId = &v + return s +} + +// SetInitialContactId sets the InitialContactId field's value. +func (s *ResumeContactRecordingInput) SetInitialContactId(v string) *ResumeContactRecordingInput { + s.InitialContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *ResumeContactRecordingInput) SetInstanceId(v string) *ResumeContactRecordingInput { + s.InstanceId = &v + return s +} + +type ResumeContactRecordingOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s ResumeContactRecordingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResumeContactRecordingOutput) GoString() string { + return s.String() +} + +// Contains summary information about a routing profile. +type RoutingProfileSummary struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the routing profile. + Arn *string `type:"string"` + + // The identifier of the routing profile. + Id *string `type:"string"` + + // The name of the routing profile. + Name *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s RoutingProfileSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RoutingProfileSummary) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *RoutingProfileSummary) SetArn(v string) *RoutingProfileSummary { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *RoutingProfileSummary) SetId(v string) *RoutingProfileSummary { s.Id = &v return s } @@ -7041,13 +7407,7 @@ type StartChatContactInput struct { // of the request. ClientToken *string `type:"string" idempotencyToken:"true"` - // The identifier of the contact flow for the outbound call. To see the ContactFlowId - // in the Amazon Connect console user interface, on the navigation menu go to - // Routing, Contact Flows. Choose the contact flow. On the contact flow page, - // under the name of the contact flow, choose Show additional flow information. - // The ContactFlowId is the last part of the ARN, shown here in bold: - // - // arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx + // The identifier of the contact flow for the chat. // // ContactFlowId is a required field ContactFlowId *string `type:"string" required:"true"` @@ -7188,6 +7548,110 @@ func (s *StartChatContactOutput) SetParticipantToken(v string) *StartChatContact return s } +type StartContactRecordingInput struct { + _ struct{} `type:"structure"` + + // The identifier of the contact. + // + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the contact. This is the identifier of the contact associated + // with the first interaction with the contact center. + // + // InitialContactId is a required field + InitialContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` + + // Who is being recorded. + // + // VoiceRecordingConfiguration is a required field + VoiceRecordingConfiguration *VoiceRecordingConfiguration `type:"structure" required:"true"` +} + +// String returns the string representation +func (s StartContactRecordingInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartContactRecordingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartContactRecordingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartContactRecordingInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InitialContactId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialContactId")) + } + if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.VoiceRecordingConfiguration == nil { + invalidParams.Add(request.NewErrParamRequired("VoiceRecordingConfiguration")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContactId sets the ContactId field's value. +func (s *StartContactRecordingInput) SetContactId(v string) *StartContactRecordingInput { + s.ContactId = &v + return s +} + +// SetInitialContactId sets the InitialContactId field's value. +func (s *StartContactRecordingInput) SetInitialContactId(v string) *StartContactRecordingInput { + s.InitialContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *StartContactRecordingInput) SetInstanceId(v string) *StartContactRecordingInput { + s.InstanceId = &v + return s +} + +// SetVoiceRecordingConfiguration sets the VoiceRecordingConfiguration field's value. +func (s *StartContactRecordingInput) SetVoiceRecordingConfiguration(v *VoiceRecordingConfiguration) *StartContactRecordingInput { + s.VoiceRecordingConfiguration = v + return s +} + +type StartContactRecordingOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s StartContactRecordingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartContactRecordingOutput) GoString() string { + return s.String() +} + type StartOutboundVoiceContactInput struct { _ struct{} `type:"structure"` @@ -7205,13 +7669,7 @@ type StartOutboundVoiceContactInput struct { // a new contact is started. ClientToken *string `type:"string" idempotencyToken:"true"` - // The identifier of the contact flow for the outbound call. To see the ContactFlowId - // in the Amazon Connect console user interface, on the navigation menu go to - // Routing, Contact Flows. Choose the contact flow. On the contact flow page, - // under the name of the contact flow, choose Show additional flow information. - // The ContactFlowId is the last part of the ARN, shown here in bold: - // - // arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/contact-flow/846ec553-a005-41c0-8341-xxxxxxxxxxxx + // The identifier of the contact flow for the outbound call. // // ContactFlowId is a required field ContactFlowId *string `type:"string" required:"true"` @@ -7406,6 +7864,186 @@ func (s StopContactOutput) GoString() string { return s.String() } +type StopContactRecordingInput struct { + _ struct{} `type:"structure"` + + // The identifier of the contact. + // + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the contact. This is the identifier of the contact associated + // with the first interaction with the contact center. + // + // InitialContactId is a required field + InitialContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s StopContactRecordingInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopContactRecordingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StopContactRecordingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StopContactRecordingInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InitialContactId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialContactId")) + } + if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContactId sets the ContactId field's value. +func (s *StopContactRecordingInput) SetContactId(v string) *StopContactRecordingInput { + s.ContactId = &v + return s +} + +// SetInitialContactId sets the InitialContactId field's value. +func (s *StopContactRecordingInput) SetInitialContactId(v string) *StopContactRecordingInput { + s.InitialContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *StopContactRecordingInput) SetInstanceId(v string) *StopContactRecordingInput { + s.InstanceId = &v + return s +} + +type StopContactRecordingOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s StopContactRecordingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StopContactRecordingOutput) GoString() string { + return s.String() +} + +type SuspendContactRecordingInput struct { + _ struct{} `type:"structure"` + + // The identifier of the contact. + // + // ContactId is a required field + ContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the contact. This is the identifier of the contact associated + // with the first interaction with the contact center. + // + // InitialContactId is a required field + InitialContactId *string `min:"1" type:"string" required:"true"` + + // The identifier of the Amazon Connect instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation +func (s SuspendContactRecordingInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SuspendContactRecordingInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SuspendContactRecordingInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SuspendContactRecordingInput"} + if s.ContactId == nil { + invalidParams.Add(request.NewErrParamRequired("ContactId")) + } + if s.ContactId != nil && len(*s.ContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ContactId", 1)) + } + if s.InitialContactId == nil { + invalidParams.Add(request.NewErrParamRequired("InitialContactId")) + } + if s.InitialContactId != nil && len(*s.InitialContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InitialContactId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetContactId sets the ContactId field's value. +func (s *SuspendContactRecordingInput) SetContactId(v string) *SuspendContactRecordingInput { + s.ContactId = &v + return s +} + +// SetInitialContactId sets the InitialContactId field's value. +func (s *SuspendContactRecordingInput) SetInitialContactId(v string) *SuspendContactRecordingInput { + s.InitialContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *SuspendContactRecordingInput) SetInstanceId(v string) *SuspendContactRecordingInput { + s.InstanceId = &v + return s +} + +type SuspendContactRecordingOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s SuspendContactRecordingOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SuspendContactRecordingOutput) GoString() string { + return s.String() +} + type TagResourceInput struct { _ struct{} `type:"structure"` @@ -8499,6 +9137,30 @@ func (s *UserSummary) SetUsername(v string) *UserSummary { return s } +// Contains information about the recording configuration settings. +type VoiceRecordingConfiguration struct { + _ struct{} `type:"structure"` + + // Identifies which track is being recorded. + VoiceRecordingTrack *string `type:"string" enum:"VoiceRecordingTrack"` +} + +// String returns the string representation +func (s VoiceRecordingConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s VoiceRecordingConfiguration) GoString() string { + return s.String() +} + +// SetVoiceRecordingTrack sets the VoiceRecordingTrack field's value. +func (s *VoiceRecordingConfiguration) SetVoiceRecordingTrack(v string) *VoiceRecordingConfiguration { + s.VoiceRecordingTrack = &v + return s +} + const ( // ChannelVoice is a Channel enum value ChannelVoice = "VOICE" @@ -9427,3 +10089,14 @@ const ( // UnitPercent is a Unit enum value UnitPercent = "PERCENT" ) + +const ( + // VoiceRecordingTrackFromAgent is a VoiceRecordingTrack enum value + VoiceRecordingTrackFromAgent = "FROM_AGENT" + + // VoiceRecordingTrackToAgent is a VoiceRecordingTrack enum value + VoiceRecordingTrackToAgent = "TO_AGENT" + + // VoiceRecordingTrackAll is a VoiceRecordingTrack enum value + VoiceRecordingTrackAll = "ALL" +) diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index 87c2a60287c..6bc308cd553 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -162,10 +162,18 @@ type ConnectAPI interface { ListUsersPages(*connect.ListUsersInput, func(*connect.ListUsersOutput, bool) bool) error ListUsersPagesWithContext(aws.Context, *connect.ListUsersInput, func(*connect.ListUsersOutput, bool) bool, ...request.Option) error + ResumeContactRecording(*connect.ResumeContactRecordingInput) (*connect.ResumeContactRecordingOutput, error) + ResumeContactRecordingWithContext(aws.Context, *connect.ResumeContactRecordingInput, ...request.Option) (*connect.ResumeContactRecordingOutput, error) + ResumeContactRecordingRequest(*connect.ResumeContactRecordingInput) (*request.Request, *connect.ResumeContactRecordingOutput) + StartChatContact(*connect.StartChatContactInput) (*connect.StartChatContactOutput, error) StartChatContactWithContext(aws.Context, *connect.StartChatContactInput, ...request.Option) (*connect.StartChatContactOutput, error) StartChatContactRequest(*connect.StartChatContactInput) (*request.Request, *connect.StartChatContactOutput) + StartContactRecording(*connect.StartContactRecordingInput) (*connect.StartContactRecordingOutput, error) + StartContactRecordingWithContext(aws.Context, *connect.StartContactRecordingInput, ...request.Option) (*connect.StartContactRecordingOutput, error) + StartContactRecordingRequest(*connect.StartContactRecordingInput) (*request.Request, *connect.StartContactRecordingOutput) + StartOutboundVoiceContact(*connect.StartOutboundVoiceContactInput) (*connect.StartOutboundVoiceContactOutput, error) StartOutboundVoiceContactWithContext(aws.Context, *connect.StartOutboundVoiceContactInput, ...request.Option) (*connect.StartOutboundVoiceContactOutput, error) StartOutboundVoiceContactRequest(*connect.StartOutboundVoiceContactInput) (*request.Request, *connect.StartOutboundVoiceContactOutput) @@ -174,6 +182,14 @@ type ConnectAPI interface { StopContactWithContext(aws.Context, *connect.StopContactInput, ...request.Option) (*connect.StopContactOutput, error) StopContactRequest(*connect.StopContactInput) (*request.Request, *connect.StopContactOutput) + StopContactRecording(*connect.StopContactRecordingInput) (*connect.StopContactRecordingOutput, error) + StopContactRecordingWithContext(aws.Context, *connect.StopContactRecordingInput, ...request.Option) (*connect.StopContactRecordingOutput, error) + StopContactRecordingRequest(*connect.StopContactRecordingInput) (*request.Request, *connect.StopContactRecordingOutput) + + SuspendContactRecording(*connect.SuspendContactRecordingInput) (*connect.SuspendContactRecordingOutput, error) + SuspendContactRecordingWithContext(aws.Context, *connect.SuspendContactRecordingInput, ...request.Option) (*connect.SuspendContactRecordingOutput, error) + SuspendContactRecordingRequest(*connect.SuspendContactRecordingInput) (*request.Request, *connect.SuspendContactRecordingOutput) + TagResource(*connect.TagResourceInput) (*connect.TagResourceOutput, error) TagResourceWithContext(aws.Context, *connect.TagResourceInput, ...request.Option) (*connect.TagResourceOutput, error) TagResourceRequest(*connect.TagResourceInput) (*request.Request, *connect.TagResourceOutput) diff --git a/service/connect/doc.go b/service/connect/doc.go index 4bf4568e777..eba85ef3194 100644 --- a/service/connect/doc.go +++ b/service/connect/doc.go @@ -13,12 +13,9 @@ // // There are limits to the number of Amazon Connect resources that you can create // and limits to the number of requests that you can make per second. For more -// information, see Amazon Connect Service Quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) +// information, see Amazon Connect Service Limits (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) // in the Amazon Connect Administrator Guide. // -// To connect programmatically to an AWS service, you use an endpoint. For a -// list of Amazon Connect endpoints, see Amazon Connect Endpoints (https://docs.aws.amazon.com/general/latest/gr/connect_region.html). -// // See https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08 for more information on this service. // // See connect package documentation for more information. diff --git a/service/ec2/api.go b/service/ec2/api.go index b7e7e4ace1d..f2f10974649 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -17464,7 +17464,9 @@ func (c *EC2) DescribeLaunchTemplateVersionsRequest(input *DescribeLaunchTemplat // DescribeLaunchTemplateVersions API operation for Amazon Elastic Compute Cloud. // // Describes one or more versions of a specified launch template. You can describe -// all versions, individual versions, or a range of versions. +// all versions, individual versions, or a range of versions. You can also describe +// all the latest versions or all the default versions of all the launch templates +// in your account. // // 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 @@ -28649,6 +28651,12 @@ func (c *EC2) GetLaunchTemplateDataRequest(input *GetLaunchTemplateDataInput) (r // Retrieves the configuration data of the specified instance. You can use this // data to create a launch template. // +// This action calls on other describe actions to get instance information. +// Depending on your instance configuration, you may need to allow the following +// actions in your IAM policy: DescribeSpotInstanceRequests, DescribeInstanceCreditSpecifications, +// DescribeVolumes, DescribeInstanceAttribute, and DescribeElasticGpus. Or, +// you can allow describe* depending on your instance requirements. +// // 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. @@ -34085,7 +34093,7 @@ func (c *EC2) RegisterImageRequest(input *RegisterImageInput) (req *request.Requ // // Registers an AMI. When you're creating an AMI, this is the final step you // must complete before you can launch an instance from the AMI. For more information -// about creating AMIs, see Creating Your Own AMIs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html) +// about creating AMIs, see Creating your own AMIs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami.html) // in the Amazon Elastic Compute Cloud User Guide. // // For Amazon EBS-backed instances, CreateImage creates and registers the AMI @@ -34093,12 +34101,12 @@ func (c *EC2) RegisterImageRequest(input *RegisterImageInput) (req *request.Requ // // You can also use RegisterImage to create an Amazon EBS-backed Linux AMI from // a snapshot of a root device volume. You specify the snapshot using the block -// device mapping. For more information, see Launching a Linux Instance from -// a Backup (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-launch-snapshot.html) +// device mapping. For more information, see Launching a Linux instance from +// a backup (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-launch-snapshot.html) // in the Amazon Elastic Compute Cloud User Guide. // -// You can't register an image where a secondary (non-root) snapshot has AWS -// Marketplace product codes. +// If any snapshots have AWS Marketplace product codes, they are copied to the +// new AMI. // // Windows and some Linux distributions, such as Red Hat Enterprise Linux (RHEL) // and SUSE Linux Enterprise Server (SLES), use the EC2 billing product code @@ -34119,7 +34127,7 @@ func (c *EC2) RegisterImageRequest(input *RegisterImageInput) (req *request.Requ // a Reserved Instance without the matching billing product code, the Reserved // Instance will not be applied to the On-Demand Instance. For information about // how to obtain the platform details and billing information of an AMI, see -// Obtaining Billing Information (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html) +// Obtaining billing information (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html) // in the Amazon Elastic Compute Cloud User Guide. // // If needed, you can deregister an AMI at any time. Any modifications you make @@ -38824,9 +38832,11 @@ type AllocateAddressInput struct { // address from the address pool. CustomerOwnedIpv4Pool *string `type:"string"` - // Set to vpc to allocate the address for use with instances in a VPC. + // Indicates whether the Elastic IP address is for use with instances in a VPC + // or instances in EC2-Classic. // - // Default: The address is for use with instances in EC2-Classic. + // Default: If the Region supports EC2-Classic, the default is standard. Otherwise, + // the default is vpc. Domain *string `type:"string" enum:"DomainType"` // Checks whether you have the required permissions for the action, without @@ -38915,8 +38925,8 @@ type AllocateAddressOutput struct { // The ID of the customer-owned address pool. CustomerOwnedIpv4Pool *string `locationName:"customerOwnedIpv4Pool" type:"string"` - // Indicates whether this Elastic IP address is for use with instances in EC2-Classic - // (standard) or instances in a VPC (vpc). + // Indicates whether the Elastic IP address is for use with instances in a VPC + // (vpc) or instances in EC2-Classic (standard). Domain *string `locationName:"domain" type:"string" enum:"DomainType"` // The location from which the IP address is advertised. @@ -40994,11 +41004,13 @@ type AuthorizeClientVpnIngressInput struct { _ struct{} `type:"structure"` // The ID of the group to grant access to, for example, the Active Directory - // group or identity provider (IdP) group. + // group or identity provider (IdP) group. Required if AuthorizeAllGroups is + // false or not specified. AccessGroupId *string `type:"string"` - // Indicates whether to grant access to all clients. Use true to grant all clients - // who successfully establish a VPN connection access to the network. + // Indicates whether to grant access to all clients. Specify true to grant all + // clients who successfully establish a VPN connection access to the network. + // Must be set to true if AccessGroupId is not specified. AuthorizeAllGroups *bool `type:"boolean"` // Unique, case-sensitive identifier that you provide to ensure the idempotency @@ -44376,7 +44388,8 @@ func (s *ConfirmProductInstanceOutput) SetReturn(v bool) *ConfirmProductInstance type ConnectionLogOptions struct { _ struct{} `type:"structure"` - // The name of the CloudWatch Logs log group. + // The name of the CloudWatch Logs log group. Required if connection logging + // is enabled. CloudwatchLogGroup *string `type:"string"` // The name of the CloudWatch Logs log stream to which the connection data is @@ -52082,12 +52095,12 @@ func (s *CreateVpnGatewayOutput) SetVpnGateway(v *VpnGateway) *CreateVpnGatewayO return s } -// Describes the credit option for CPU usage of a T2 or T3 instance. +// Describes the credit option for CPU usage of a T2, T3, or T3a instance. type CreditSpecification struct { _ struct{} `type:"structure"` - // The credit option for CPU usage of a T2 or T3 instance. Valid values are - // standard and unlimited. + // The credit option for CPU usage of a T2, T3, or T3a instance. Valid values + // are standard and unlimited. CpuCredits *string `locationName:"cpuCredits" type:"string"` } @@ -52107,12 +52120,12 @@ func (s *CreditSpecification) SetCpuCredits(v string) *CreditSpecification { return s } -// The credit option for CPU usage of a T2 or T3 instance. +// The credit option for CPU usage of a T2, T3, or T3a instance. type CreditSpecificationRequest struct { _ struct{} `type:"structure"` - // The credit option for CPU usage of a T2 or T3 instance. Valid values are - // standard and unlimited. + // The credit option for CPU usage of a T2, T3, or T3a instance. Valid values + // are standard and unlimited. // // CpuCredits is a required field CpuCredits *string `type:"string" required:"true"` @@ -56628,6 +56641,9 @@ type DescribeAvailabilityZonesInput struct { // // * opt-in-status - The opt in status (opted-in, and not-opted-in | opt-in-not-required). // + // * The ID of the zone that handles some of the Local Zone control plane + // operations, such as API calls. + // // * region-name - The name of the Region for the Zone (for example, us-east-1). // // * state - The state of the Availability Zone or Local Zone (available @@ -56636,8 +56652,12 @@ type DescribeAvailabilityZonesInput struct { // * zone-id - The ID of the Availability Zone (for example, use1-az1) or // the Local Zone (for example, use usw2-lax1-az1). // + // * zone-type - The type of zone, for example, local-zone. + // // * zone-name - The name of the Availability Zone (for example, us-east-1a) // or the Local Zone (for example, use us-west-2-lax-1a). + // + // * zone-type - The type of zone, for example, local-zone. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` // The IDs of the Zones. @@ -60474,11 +60494,13 @@ type DescribeImagesInput struct { // // * name - The name of the AMI (provided during image creation). // - // * owner-alias - String value from an Amazon-maintained list (amazon | - // aws-marketplace | microsoft) of snapshot owners. Not to be confused with - // the user-configured AWS account alias, which is set from the IAM console. + // * owner-alias - The owner alias, from an Amazon-maintained list (amazon + // | aws-marketplace). This is not the user-configured AWS account alias + // set using the IAM console. We recommend that you use the related parameter + // instead of this filter. // - // * owner-id - The AWS account ID of the image owner. + // * owner-id - The AWS account ID of the owner. We recommend that you use + // the related parameter instead of this filter. // // * platform - The platform. To only list Windows-based AMIs, use windows. // @@ -60520,10 +60542,10 @@ type DescribeImagesInput struct { // Default: Describes all images available to you. ImageIds []*string `locationName:"ImageId" locationNameList:"ImageId" type:"list"` - // Filters the images by the owner. Specify an AWS account ID, self (owner is - // the sender of the request), or an AWS owner alias (valid values are amazon - // | aws-marketplace | microsoft). Omitting this option returns all images for - // which you have launch permissions, regardless of ownership. + // Scopes the results to images with the specified owners. You can specify a + // combination of AWS account IDs, self, amazon, and aws-marketplace. If you + // omit this parameter, the results include all images for which you have launch + // permissions, regardless of ownership. Owners []*string `locationName:"Owner" locationNameList:"Owner" type:"list"` } @@ -62367,12 +62389,16 @@ type DescribeLaunchTemplateVersionsInput struct { // * ram-disk-id - The RAM disk ID. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` - // The ID of the launch template. You must specify either the launch template - // ID or launch template name in the request. + // The ID of the launch template. To describe one or more versions of a specified + // launch template, you must specify either the launch template ID or the launch + // template name in the request. To describe all the latest or default launch + // template versions in your account, you must omit this parameter. LaunchTemplateId *string `type:"string"` - // The name of the launch template. You must specify either the launch template - // ID or launch template name in the request. + // The name of the launch template. To describe one or more versions of a specified + // launch template, you must specify either the launch template ID or the launch + // template name in the request. To describe all the latest or default launch + // template versions in your account, you must omit this parameter. LaunchTemplateName *string `min:"3" type:"string"` // The maximum number of results to return in a single call. To retrieve the @@ -62389,7 +62415,18 @@ type DescribeLaunchTemplateVersionsInput struct { // The token to request the next page of results. NextToken *string `type:"string"` - // One or more versions of the launch template. + // One or more versions of the launch template. Valid values depend on whether + // you are describing a specified launch template (by ID or name) or all launch + // templates in your account. + // + // To describe one or more versions of a specified launch template, valid values + // are $Latest, $Default, and numbers. + // + // To describe all launch templates in your account that are defined as the + // latest version, the valid value is $Latest. To describe all launch templates + // in your account that are defined as the default version, the valid value + // is $Default. You can specify $Latest and $Default in the same call. You cannot + // specify numbers. Versions []*string `locationName:"LaunchTemplateVersion" locationNameList:"item" type:"list"` } @@ -65435,8 +65472,6 @@ type DescribeRouteTablesInput struct { // to find all resources assigned a tag with a specific key, regardless of // the tag value. // - // * transit-gateway-id - The ID of a transit gateway. - // // * vpc-id - The ID of the VPC for the route table. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` @@ -97195,8 +97230,8 @@ type RequestLaunchTemplateData struct { // in the Amazon Elastic Compute Cloud User Guide. CpuOptions *LaunchTemplateCpuOptionsRequest `type:"structure"` - // The credit option for CPU usage of the instance. Valid for T2 or T3 instances - // only. + // The credit option for CPU usage of the instance. Valid for T2, T3, or T3a + // instances only. CreditSpecification *CreditSpecificationRequest `type:"structure"` // If you set this parameter to true, you can't terminate the instance using @@ -106068,8 +106103,8 @@ type TagSpecification struct { // | dhcp-options | export-image-task | export-instance-task | fleet | fpga-image // | host-reservation | import-image-task | import-snapshot-task | instance // | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template - // | placement-group | prefix-list | launch-template | natgateway | network-acl - // | security-group | spot-fleet-request | snapshot | subnet | traffic-mirror-filter + // | placement-group | prefix-list | natgateway | network-acl | security-group + // | spot-fleet-request | spot-instances-request | snapshot | subnet | traffic-mirror-filter // | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment // | transit-gateway-route-table | volume |vpc | vpc-endpoint (for interface // and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log. @@ -108183,28 +108218,28 @@ type TransitGatewayRequestOptions struct { // A private Autonomous System Number (ASN) for the Amazon side of a BGP session. // The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 - // for 32-bit ASNs. + // for 32-bit ASNs. The default is 64512. AmazonSideAsn *int64 `type:"long"` - // Enable or disable automatic acceptance of attachment requests. The default - // is disable. + // Enable or disable automatic acceptance of attachment requests. Disabled by + // default. AutoAcceptSharedAttachments *string `type:"string" enum:"AutoAcceptSharedAttachmentsValue"` // Enable or disable automatic association with the default association route - // table. The default is enable. + // table. Enabled by default. DefaultRouteTableAssociation *string `type:"string" enum:"DefaultRouteTableAssociationValue"` // Enable or disable automatic propagation of routes to the default propagation - // route table. The default is enable. + // route table. Enabled by default. DefaultRouteTablePropagation *string `type:"string" enum:"DefaultRouteTablePropagationValue"` - // Enable or disable DNS support. + // Enable or disable DNS support. Enabled by default. DnsSupport *string `type:"string" enum:"DnsSupportValue"` // Indicates whether multicast is enabled on the transit gateway MulticastSupport *string `type:"string" enum:"MulticastSupportValue"` - // Enable or disable Equal Cost Multipath Protocol support. + // Enable or disable Equal Cost Multipath Protocol support. Enabled by default. VpnEcmpSupport *string `type:"string" enum:"VpnEcmpSupportValue"` } diff --git a/service/elasticbeanstalk/api.go b/service/elasticbeanstalk/api.go index fd4b093219f..5b63f49883b 100644 --- a/service/elasticbeanstalk/api.go +++ b/service/elasticbeanstalk/api.go @@ -1950,6 +1950,12 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryRequest(input Name: opDescribeEnvironmentManagedActionHistory, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxItems", + TruncationToken: "", + }, } if input == nil { @@ -1998,6 +2004,58 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryWithContext(ct return out, req.Send() } +// DescribeEnvironmentManagedActionHistoryPages iterates over the pages of a DescribeEnvironmentManagedActionHistory operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeEnvironmentManagedActionHistory method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeEnvironmentManagedActionHistory operation. +// pageNum := 0 +// err := client.DescribeEnvironmentManagedActionHistoryPages(params, +// func(page *elasticbeanstalk.DescribeEnvironmentManagedActionHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryPages(input *DescribeEnvironmentManagedActionHistoryInput, fn func(*DescribeEnvironmentManagedActionHistoryOutput, bool) bool) error { + return c.DescribeEnvironmentManagedActionHistoryPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeEnvironmentManagedActionHistoryPagesWithContext same as DescribeEnvironmentManagedActionHistoryPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryPagesWithContext(ctx aws.Context, input *DescribeEnvironmentManagedActionHistoryInput, fn func(*DescribeEnvironmentManagedActionHistoryOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeEnvironmentManagedActionHistoryInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeEnvironmentManagedActionHistoryRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeEnvironmentManagedActionHistoryOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeEnvironmentManagedActions = "DescribeEnvironmentManagedActions" // DescribeEnvironmentManagedActionsRequest generates a "aws/request.Request" representing the @@ -2863,6 +2921,12 @@ func (c *ElasticBeanstalk) ListPlatformVersionsRequest(input *ListPlatformVersio Name: opListPlatformVersions, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxRecords", + TruncationToken: "", + }, } if input == nil { @@ -2920,6 +2984,58 @@ func (c *ElasticBeanstalk) ListPlatformVersionsWithContext(ctx aws.Context, inpu return out, req.Send() } +// ListPlatformVersionsPages iterates over the pages of a ListPlatformVersions operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPlatformVersions method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListPlatformVersions operation. +// pageNum := 0 +// err := client.ListPlatformVersionsPages(params, +// func(page *elasticbeanstalk.ListPlatformVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *ElasticBeanstalk) ListPlatformVersionsPages(input *ListPlatformVersionsInput, fn func(*ListPlatformVersionsOutput, bool) bool) error { + return c.ListPlatformVersionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListPlatformVersionsPagesWithContext same as ListPlatformVersionsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *ElasticBeanstalk) ListPlatformVersionsPagesWithContext(ctx aws.Context, input *ListPlatformVersionsInput, fn func(*ListPlatformVersionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListPlatformVersionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListPlatformVersionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListPlatformVersionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the diff --git a/service/elasticbeanstalk/elasticbeanstalkiface/interface.go b/service/elasticbeanstalk/elasticbeanstalkiface/interface.go index 76f73fa9b01..e38f4ef43e8 100644 --- a/service/elasticbeanstalk/elasticbeanstalkiface/interface.go +++ b/service/elasticbeanstalk/elasticbeanstalkiface/interface.go @@ -152,6 +152,9 @@ type ElasticBeanstalkAPI interface { DescribeEnvironmentManagedActionHistoryWithContext(aws.Context, *elasticbeanstalk.DescribeEnvironmentManagedActionHistoryInput, ...request.Option) (*elasticbeanstalk.DescribeEnvironmentManagedActionHistoryOutput, error) DescribeEnvironmentManagedActionHistoryRequest(*elasticbeanstalk.DescribeEnvironmentManagedActionHistoryInput) (*request.Request, *elasticbeanstalk.DescribeEnvironmentManagedActionHistoryOutput) + DescribeEnvironmentManagedActionHistoryPages(*elasticbeanstalk.DescribeEnvironmentManagedActionHistoryInput, func(*elasticbeanstalk.DescribeEnvironmentManagedActionHistoryOutput, bool) bool) error + DescribeEnvironmentManagedActionHistoryPagesWithContext(aws.Context, *elasticbeanstalk.DescribeEnvironmentManagedActionHistoryInput, func(*elasticbeanstalk.DescribeEnvironmentManagedActionHistoryOutput, bool) bool, ...request.Option) error + DescribeEnvironmentManagedActions(*elasticbeanstalk.DescribeEnvironmentManagedActionsInput) (*elasticbeanstalk.DescribeEnvironmentManagedActionsOutput, error) DescribeEnvironmentManagedActionsWithContext(aws.Context, *elasticbeanstalk.DescribeEnvironmentManagedActionsInput, ...request.Option) (*elasticbeanstalk.DescribeEnvironmentManagedActionsOutput, error) DescribeEnvironmentManagedActionsRequest(*elasticbeanstalk.DescribeEnvironmentManagedActionsInput) (*request.Request, *elasticbeanstalk.DescribeEnvironmentManagedActionsOutput) @@ -198,6 +201,9 @@ type ElasticBeanstalkAPI interface { ListPlatformVersionsWithContext(aws.Context, *elasticbeanstalk.ListPlatformVersionsInput, ...request.Option) (*elasticbeanstalk.ListPlatformVersionsOutput, error) ListPlatformVersionsRequest(*elasticbeanstalk.ListPlatformVersionsInput) (*request.Request, *elasticbeanstalk.ListPlatformVersionsOutput) + ListPlatformVersionsPages(*elasticbeanstalk.ListPlatformVersionsInput, func(*elasticbeanstalk.ListPlatformVersionsOutput, bool) bool) error + ListPlatformVersionsPagesWithContext(aws.Context, *elasticbeanstalk.ListPlatformVersionsInput, func(*elasticbeanstalk.ListPlatformVersionsOutput, bool) bool, ...request.Option) error + ListTagsForResource(*elasticbeanstalk.ListTagsForResourceInput) (*elasticbeanstalk.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *elasticbeanstalk.ListTagsForResourceInput, ...request.Option) (*elasticbeanstalk.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*elasticbeanstalk.ListTagsForResourceInput) (*request.Request, *elasticbeanstalk.ListTagsForResourceOutput) @@ -253,6 +259,15 @@ type ElasticBeanstalkAPI interface { ValidateConfigurationSettings(*elasticbeanstalk.ValidateConfigurationSettingsInput) (*elasticbeanstalk.ValidateConfigurationSettingsOutput, error) ValidateConfigurationSettingsWithContext(aws.Context, *elasticbeanstalk.ValidateConfigurationSettingsInput, ...request.Option) (*elasticbeanstalk.ValidateConfigurationSettingsOutput, error) ValidateConfigurationSettingsRequest(*elasticbeanstalk.ValidateConfigurationSettingsInput) (*request.Request, *elasticbeanstalk.ValidateConfigurationSettingsOutput) + + WaitUntilEnvironmentExists(*elasticbeanstalk.DescribeEnvironmentsInput) error + WaitUntilEnvironmentExistsWithContext(aws.Context, *elasticbeanstalk.DescribeEnvironmentsInput, ...request.WaiterOption) error + + WaitUntilEnvironmentTerminated(*elasticbeanstalk.DescribeEnvironmentsInput) error + WaitUntilEnvironmentTerminatedWithContext(aws.Context, *elasticbeanstalk.DescribeEnvironmentsInput, ...request.WaiterOption) error + + WaitUntilEnvironmentUpdated(*elasticbeanstalk.DescribeEnvironmentsInput) error + WaitUntilEnvironmentUpdatedWithContext(aws.Context, *elasticbeanstalk.DescribeEnvironmentsInput, ...request.WaiterOption) error } var _ ElasticBeanstalkAPI = (*elasticbeanstalk.ElasticBeanstalk)(nil) diff --git a/service/elasticbeanstalk/waiters.go b/service/elasticbeanstalk/waiters.go new file mode 100644 index 00000000000..c02c0aba934 --- /dev/null +++ b/service/elasticbeanstalk/waiters.go @@ -0,0 +1,163 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +package elasticbeanstalk + +import ( + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/request" +) + +// WaitUntilEnvironmentExists uses the Elastic Beanstalk API operation +// DescribeEnvironments to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *ElasticBeanstalk) WaitUntilEnvironmentExists(input *DescribeEnvironmentsInput) error { + return c.WaitUntilEnvironmentExistsWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilEnvironmentExistsWithContext is an extended version of WaitUntilEnvironmentExists. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// 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 *ElasticBeanstalk) WaitUntilEnvironmentExistsWithContext(ctx aws.Context, input *DescribeEnvironmentsInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilEnvironmentExists", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(20 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathAllWaiterMatch, Argument: "Environments[].Status", + Expected: "Ready", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathAllWaiterMatch, Argument: "Environments[].Status", + Expected: "Launching", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *DescribeEnvironmentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeEnvironmentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilEnvironmentTerminated uses the Elastic Beanstalk API operation +// DescribeEnvironments to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *ElasticBeanstalk) WaitUntilEnvironmentTerminated(input *DescribeEnvironmentsInput) error { + return c.WaitUntilEnvironmentTerminatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilEnvironmentTerminatedWithContext is an extended version of WaitUntilEnvironmentTerminated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// 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 *ElasticBeanstalk) WaitUntilEnvironmentTerminatedWithContext(ctx aws.Context, input *DescribeEnvironmentsInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilEnvironmentTerminated", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(20 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathAllWaiterMatch, Argument: "Environments[].Status", + Expected: "Terminated", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathAllWaiterMatch, Argument: "Environments[].Status", + Expected: "Terminating", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *DescribeEnvironmentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeEnvironmentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} + +// WaitUntilEnvironmentUpdated uses the Elastic Beanstalk API operation +// DescribeEnvironments to wait for a condition to be met before returning. +// If the condition is not met within the max attempt window, an error will +// be returned. +func (c *ElasticBeanstalk) WaitUntilEnvironmentUpdated(input *DescribeEnvironmentsInput) error { + return c.WaitUntilEnvironmentUpdatedWithContext(aws.BackgroundContext(), input) +} + +// WaitUntilEnvironmentUpdatedWithContext is an extended version of WaitUntilEnvironmentUpdated. +// With the support for passing in a context and options to configure the +// Waiter and the underlying request options. +// +// 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 *ElasticBeanstalk) WaitUntilEnvironmentUpdatedWithContext(ctx aws.Context, input *DescribeEnvironmentsInput, opts ...request.WaiterOption) error { + w := request.Waiter{ + Name: "WaitUntilEnvironmentUpdated", + MaxAttempts: 20, + Delay: request.ConstantWaiterDelay(20 * time.Second), + Acceptors: []request.WaiterAcceptor{ + { + State: request.SuccessWaiterState, + Matcher: request.PathAllWaiterMatch, Argument: "Environments[].Status", + Expected: "Ready", + }, + { + State: request.RetryWaiterState, + Matcher: request.PathAllWaiterMatch, Argument: "Environments[].Status", + Expected: "Updating", + }, + }, + Logger: c.Config.Logger, + NewRequest: func(opts []request.Option) (*request.Request, error) { + var inCpy *DescribeEnvironmentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeEnvironmentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + w.ApplyOptions(opts...) + + return w.WaitWithContext(ctx) +} diff --git a/service/macie2/api.go b/service/macie2/api.go index 448a175acb6..d526cfc501b 100644 --- a/service/macie2/api.go +++ b/service/macie2/api.go @@ -998,7 +998,7 @@ func (c *Macie2) DeleteCustomDataIdentifierRequest(input *DeleteCustomDataIdenti // DeleteCustomDataIdentifier API operation for Amazon Macie 2. // -// Deletes a custom data identifier. +// Soft deletes a custom data identifier. // // 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 @@ -1404,6 +1404,12 @@ func (c *Macie2) DescribeBucketsRequest(input *DescribeBucketsInput) (req *reque Name: opDescribeBuckets, HTTPMethod: "POST", HTTPPath: "/datasources/s3", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -1478,6 +1484,58 @@ func (c *Macie2) DescribeBucketsWithContext(ctx aws.Context, input *DescribeBuck return out, req.Send() } +// DescribeBucketsPages iterates over the pages of a DescribeBuckets operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeBuckets method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeBuckets operation. +// pageNum := 0 +// err := client.DescribeBucketsPages(params, +// func(page *macie2.DescribeBucketsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) DescribeBucketsPages(input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool) error { + return c.DescribeBucketsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeBucketsPagesWithContext same as DescribeBucketsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) DescribeBucketsPagesWithContext(ctx aws.Context, input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeBucketsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeBucketsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeBucketsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeClassificationJob = "DescribeClassificationJob" // DescribeClassificationJobRequest generates a "aws/request.Request" representing the @@ -3398,6 +3456,12 @@ func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req Name: opGetUsageStatistics, HTTPMethod: "POST", HTTPPath: "/usage/statistics", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -3471,6 +3535,58 @@ func (c *Macie2) GetUsageStatisticsWithContext(ctx aws.Context, input *GetUsageS return out, req.Send() } +// GetUsageStatisticsPages iterates over the pages of a GetUsageStatistics operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetUsageStatistics method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetUsageStatistics operation. +// pageNum := 0 +// err := client.GetUsageStatisticsPages(params, +// func(page *macie2.GetUsageStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) GetUsageStatisticsPages(input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool) error { + return c.GetUsageStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetUsageStatisticsPagesWithContext same as GetUsageStatisticsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) GetUsageStatisticsPagesWithContext(ctx aws.Context, input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetUsageStatisticsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetUsageStatisticsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetUsageStatisticsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetUsageTotals = "GetUsageTotals" // GetUsageTotalsRequest generates a "aws/request.Request" representing the @@ -3606,6 +3722,12 @@ func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInpu Name: opListClassificationJobs, HTTPMethod: "POST", HTTPPath: "/jobs/list", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -3619,8 +3741,7 @@ func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInpu // ListClassificationJobs API operation for Amazon Macie 2. // -// Retrieves information about the status and settings for one or more classification -// jobs. +// Retrieves a subset of information about one or more classification jobs. // // 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 @@ -3680,6 +3801,58 @@ func (c *Macie2) ListClassificationJobsWithContext(ctx aws.Context, input *ListC return out, req.Send() } +// ListClassificationJobsPages iterates over the pages of a ListClassificationJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListClassificationJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListClassificationJobs operation. +// pageNum := 0 +// err := client.ListClassificationJobsPages(params, +// func(page *macie2.ListClassificationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) ListClassificationJobsPages(input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool) error { + return c.ListClassificationJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListClassificationJobsPagesWithContext same as ListClassificationJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) ListClassificationJobsPagesWithContext(ctx aws.Context, input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListClassificationJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListClassificationJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListClassificationJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListCustomDataIdentifiers = "ListCustomDataIdentifiers" // ListCustomDataIdentifiersRequest generates a "aws/request.Request" representing the @@ -3711,6 +3884,12 @@ func (c *Macie2) ListCustomDataIdentifiersRequest(input *ListCustomDataIdentifie Name: opListCustomDataIdentifiers, HTTPMethod: "POST", HTTPPath: "/custom-data-identifiers/list", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -3785,6 +3964,58 @@ func (c *Macie2) ListCustomDataIdentifiersWithContext(ctx aws.Context, input *Li return out, req.Send() } +// ListCustomDataIdentifiersPages iterates over the pages of a ListCustomDataIdentifiers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListCustomDataIdentifiers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListCustomDataIdentifiers operation. +// pageNum := 0 +// err := client.ListCustomDataIdentifiersPages(params, +// func(page *macie2.ListCustomDataIdentifiersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) ListCustomDataIdentifiersPages(input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool) error { + return c.ListCustomDataIdentifiersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListCustomDataIdentifiersPagesWithContext same as ListCustomDataIdentifiersPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) ListCustomDataIdentifiersPagesWithContext(ctx aws.Context, input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListCustomDataIdentifiersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListCustomDataIdentifiersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListCustomDataIdentifiersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListFindings = "ListFindings" // ListFindingsRequest generates a "aws/request.Request" representing the @@ -3816,6 +4047,12 @@ func (c *Macie2) ListFindingsRequest(input *ListFindingsInput) (req *request.Req Name: opListFindings, HTTPMethod: "POST", HTTPPath: "/findings", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -3889,6 +4126,58 @@ func (c *Macie2) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInp return out, req.Send() } +// ListFindingsPages iterates over the pages of a ListFindings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListFindings method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListFindings operation. +// pageNum := 0 +// err := client.ListFindingsPages(params, +// func(page *macie2.ListFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error { + return c.ListFindingsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListFindingsPagesWithContext same as ListFindingsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) ListFindingsPagesWithContext(ctx aws.Context, input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListFindingsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListFindingsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListFindingsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListFindingsFilters = "ListFindingsFilters" // ListFindingsFiltersRequest generates a "aws/request.Request" representing the @@ -3920,6 +4209,12 @@ func (c *Macie2) ListFindingsFiltersRequest(input *ListFindingsFiltersInput) (re Name: opListFindingsFilters, HTTPMethod: "GET", HTTPPath: "/findingsfilters", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -3993,6 +4288,58 @@ func (c *Macie2) ListFindingsFiltersWithContext(ctx aws.Context, input *ListFind return out, req.Send() } +// ListFindingsFiltersPages iterates over the pages of a ListFindingsFilters operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListFindingsFilters method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListFindingsFilters operation. +// pageNum := 0 +// err := client.ListFindingsFiltersPages(params, +// func(page *macie2.ListFindingsFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) ListFindingsFiltersPages(input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool) error { + return c.ListFindingsFiltersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListFindingsFiltersPagesWithContext same as ListFindingsFiltersPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) ListFindingsFiltersPagesWithContext(ctx aws.Context, input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListFindingsFiltersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListFindingsFiltersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListFindingsFiltersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListInvitations = "ListInvitations" // ListInvitationsRequest generates a "aws/request.Request" representing the @@ -4024,6 +4371,12 @@ func (c *Macie2) ListInvitationsRequest(input *ListInvitationsInput) (req *reque Name: opListInvitations, HTTPMethod: "GET", HTTPPath: "/invitations", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -4098,6 +4451,58 @@ func (c *Macie2) ListInvitationsWithContext(ctx aws.Context, input *ListInvitati return out, req.Send() } +// ListInvitationsPages iterates over the pages of a ListInvitations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListInvitations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListInvitations operation. +// pageNum := 0 +// err := client.ListInvitationsPages(params, +// func(page *macie2.ListInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error { + return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListInvitationsPagesWithContext same as ListInvitationsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) ListInvitationsPagesWithContext(ctx aws.Context, input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListInvitationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListInvitationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListInvitationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListMembers = "ListMembers" // ListMembersRequest generates a "aws/request.Request" representing the @@ -4129,6 +4534,12 @@ func (c *Macie2) ListMembersRequest(input *ListMembersInput) (req *request.Reque Name: opListMembers, HTTPMethod: "GET", HTTPPath: "/members", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -4203,6 +4614,58 @@ func (c *Macie2) ListMembersWithContext(ctx aws.Context, input *ListMembersInput return out, req.Send() } +// ListMembersPages iterates over the pages of a ListMembers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListMembers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *macie2.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { + return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListMembersPagesWithContext same as ListMembersPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) ListMembersPagesWithContext(ctx aws.Context, input *ListMembersInput, fn func(*ListMembersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListMembersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListMembersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListMembersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListOrganizationAdminAccounts = "ListOrganizationAdminAccounts" // ListOrganizationAdminAccountsRequest generates a "aws/request.Request" representing the @@ -4234,6 +4697,12 @@ func (c *Macie2) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdm Name: opListOrganizationAdminAccounts, HTTPMethod: "GET", HTTPPath: "/admin", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -4308,6 +4777,58 @@ func (c *Macie2) ListOrganizationAdminAccountsWithContext(ctx aws.Context, input return out, req.Send() } +// ListOrganizationAdminAccountsPages iterates over the pages of a ListOrganizationAdminAccounts operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOrganizationAdminAccounts method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. +// pageNum := 0 +// err := client.ListOrganizationAdminAccountsPages(params, +// func(page *macie2.ListOrganizationAdminAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *Macie2) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error { + return c.ListOrganizationAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListOrganizationAdminAccountsPagesWithContext same as ListOrganizationAdminAccountsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *Macie2) ListOrganizationAdminAccountsPagesWithContext(ctx aws.Context, input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListOrganizationAdminAccountsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListOrganizationAdminAccountsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListOrganizationAdminAccountsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the @@ -5535,18 +6056,8 @@ func (s *AdminAccount) SetStatus(v string) *AdminAccount { return s } -// For the affected resource: -// -// * The name of the operation that was invoked most recently and produced -// the finding (api). -// -// * The first date and time when any operation was invoked and produced -// the finding (firstSeen). -// -// * The most recent date and time when the specified operation was invoked -// and produced the finding (lastSeen). -// -// All date and time values are in UTC and extended ISO 8601 format. +// Provides information about an API operation that an entity invoked for an +// affected resource. type ApiCallDetails struct { _ struct{} `type:"structure"` @@ -5593,7 +6104,10 @@ func (s *ApiCallDetails) SetLastSeen(v time.Time) *ApiCallDetails { return s } -// Reserved for future use. +// Provides information about an identity that performed an action on an affected +// resource by using temporary security credentials. The credentials were obtained +// using the AssumeRole operation of the AWS Security Token Service (AWS STS) +// API. type AssumedRole struct { _ struct{} `type:"structure"` @@ -5650,7 +6164,9 @@ func (s *AssumedRole) SetSessionContext(v *SessionContext) *AssumedRole { return s } -// Reserved for future use. +// Provides information about an AWS account and entity that performed an action +// on an affected resource. The action was performed using the credentials for +// an AWS account other than your own account. type AwsAccount struct { _ struct{} `type:"structure"` @@ -5681,7 +6197,8 @@ func (s *AwsAccount) SetPrincipalId(v string) *AwsAccount { return s } -// Reserved for future use. +// Provides information about an AWS service that performed an action on an +// affected resource. type AwsService struct { _ struct{} `type:"structure"` @@ -5872,8 +6389,8 @@ func (s *BlockPublicAccess) SetRestrictPublicBuckets(v bool) *BlockPublicAccess return s } -// The total number of buckets that are publicly accessible, based on a combination -// of permissions settings for each bucket. +// Provides information about the number of S3 buckets that are publicly accessible +// based on a combination of permissions settings for each bucket. type BucketCountByEffectivePermission struct { _ struct{} `type:"structure"` @@ -5912,8 +6429,8 @@ func (s *BucketCountByEffectivePermission) SetPubliclyWritable(v int64) *BucketC return s } -// The total number of buckets, grouped by server-side encryption type. This -// object also reports the total number of buckets that aren't encrypted. +// Provides information about the number of S3 buckets that use certain types +// of server-side encryption or don't encrypt objects by default. type BucketCountByEncryptionType struct { _ struct{} `type:"structure"` @@ -5952,8 +6469,8 @@ func (s *BucketCountByEncryptionType) SetUnencrypted(v int64) *BucketCountByEncr return s } -// The total number of buckets that are shared with another AWS account or configured -// to support cross-origin resource sharing (CORS). +// Provides information about the number of S3 buckets that are shared with +// other AWS accounts. type BucketCountBySharedAccessType struct { _ struct{} `type:"structure"` @@ -6130,6 +6647,9 @@ type BucketMetadata struct { ObjectCount *int64 `locationName:"objectCount" type:"long"` + // The total number of objects that are in the bucket, grouped by server-side + // encryption type. This includes a grouping that reports the total number of + // objects that aren't encrypted. ObjectCountByEncryptionType *ObjectCountByEncryptionType `locationName:"objectCountByEncryptionType" type:"structure"` // Provides information about permissions settings that determine whether an @@ -6260,8 +6780,7 @@ func (s *BucketMetadata) SetVersioning(v bool) *BucketMetadata { return s } -// The account-level and bucket-level permissions settings for an S3 bucket, -// or the bucket that contains an object. +// The account-level and bucket-level permissions settings for an S3 bucket. type BucketPermissionConfiguration struct { _ struct{} `type:"structure"` @@ -6334,8 +6853,7 @@ type BucketPublicAccess struct { EffectivePermission *string `locationName:"effectivePermission" type:"string" enum:"EffectivePermission"` - // The account-level and bucket-level permissions settings for an S3 bucket, - // or the bucket that contains an object. + // The account-level and bucket-level permissions settings for an S3 bucket. PermissionConfiguration *BucketPermissionConfiguration `locationName:"permissionConfiguration" type:"structure"` } @@ -6405,7 +6923,7 @@ type ClassificationDetails struct { JobId *string `locationName:"jobId" type:"string"` // Provides detailed information about a sensitive data finding, including the - // types and number of occurrences of the data that was found. + // types and number of occurrences of the sensitive data that was found. Result *ClassificationResult `locationName:"result" type:"structure"` } @@ -6486,7 +7004,7 @@ func (s *ClassificationExportConfiguration) SetS3Destination(v *S3Destination) * } // Provides detailed information about a sensitive data finding, including the -// types and number of occurrences of the data that was found. +// types and number of occurrences of the sensitive data that was found. type ClassificationResult struct { _ struct{} `type:"structure"` @@ -6636,6 +7154,9 @@ func (s *ConflictException) RequestID() string { } // Specifies the scope, schedule, and other settings for a classification job. +// You can't delete or change the settings for a classification job after you +// create it. In Amazon Macie, classification jobs are immutable. This ensures +// accurate data classification results for audits or investigations. type CreateClassificationJobInput struct { _ struct{} `type:"structure"` @@ -6794,6 +7315,9 @@ func (s *CreateClassificationJobOutput) SetJobId(v string) *CreateClassification } // Specifies the criteria and other settings for a new custom data identifier. +// You can't change a custom data identifier after you create it. In Amazon +// Macie, custom data identifiers are immutable. This ensures accurate data +// classification results for audits or investigations. type CreateCustomDataIdentifierInput struct { _ struct{} `type:"structure"` @@ -7354,7 +7878,9 @@ func (s *CustomDataIdentifierSummary) SetName(v string) *CustomDataIdentifierSum type CustomDataIdentifiers struct { _ struct{} `type:"structure"` - // Reserved for future use. + // Provides information about custom data identifiers that produced a sensitive + // data finding, and the number of occurrences of the data that each identifier + // detected. Detections []*CustomDetection `locationName:"detections" type:"list"` TotalCount *int64 `locationName:"totalCount" type:"long"` @@ -7423,6 +7949,8 @@ func (s *CustomDetection) SetName(v string) *CustomDetection { return s } +// Specifies that a classification job runs once a day, every day. This is an +// empty object. type DailySchedule struct { _ struct{} `type:"structure"` } @@ -7500,7 +8028,7 @@ func (s *DeclineInvitationsOutput) SetUnprocessedAccounts(v []*UnprocessedAccoun } // Provides information about sensitive data that was detected by managed data -// identifiers and produced a finding. +// identifiers and produced a sensitive data finding. type DefaultDetection struct { _ struct{} `type:"structure"` @@ -7894,7 +8422,7 @@ type DescribeClassificationJobOutput struct { JobId *string `locationName:"jobId" type:"string"` - // The current status of a classification job. Valid values are: + // The current status of a classification job. Possible values are: JobStatus *string `locationName:"jobStatus" type:"string" enum:"JobStatus"` // The schedule for running a classification job. Valid values are: @@ -8233,6 +8761,8 @@ func (s DisassociateMemberOutput) GoString() string { return s.String() } +// Provides information about the domain name of the device that an entity used +// to perform an action on an affected resource. type DomainDetails struct { _ struct{} `type:"structure"` @@ -8375,7 +8905,10 @@ func (s EnableOrganizationAdminAccountOutput) GoString() string { return s.String() } -// Reserved for future use. +// Provides information about an identity that performed an action on an affected +// resource by using temporary security credentials. The credentials were obtained +// using the GetFederationToken operation of the AWS Security Token Service +// (AWS STS) API. type FederatedUser struct { _ struct{} `type:"structure"` @@ -8457,7 +8990,7 @@ type Finding struct { Partition *string `locationName:"partition" type:"string"` - // Provides detailed information about a policy finding. + // Provides the details of a policy finding. PolicyDetails *PolicyDetails `locationName:"policyDetails" type:"structure"` Region *string `locationName:"region" type:"string"` @@ -8604,21 +9137,11 @@ type FindingAction struct { _ struct{} `type:"structure"` // The type of action that occurred for the resource and produced the policy - // finding. + // finding: ActionType *string `locationName:"actionType" type:"string" enum:"FindingActionType"` - // For the affected resource: - // - // * The name of the operation that was invoked most recently and produced - // the finding (api). - // - // * The first date and time when any operation was invoked and produced - // the finding (firstSeen). - // - // * The most recent date and time when the specified operation was invoked - // and produced the finding (lastSeen). - // - // All date and time values are in UTC and extended ISO 8601 format. + // Provides information about an API operation that an entity invoked for an + // affected resource. ApiCallDetails *ApiCallDetails `locationName:"apiCallDetails" type:"structure"` } @@ -8649,10 +9172,16 @@ func (s *FindingAction) SetApiCallDetails(v *ApiCallDetails) *FindingAction { type FindingActor struct { _ struct{} `type:"structure"` + // Provides information about the domain name of the device that an entity used + // to perform an action on an affected resource. DomainDetails *DomainDetails `locationName:"domainDetails" type:"structure"` + // Provides information about the IP address of the device that an entity used + // to perform an action on an affected resource. IpAddressDetails *IpAddressDetails `locationName:"ipAddressDetails" type:"structure"` + // Provides information about the type and other characteristics of an entity + // that performed an action on an affected resource. UserIdentity *UserIdentity `locationName:"userIdentity" type:"structure"` } @@ -8710,8 +9239,8 @@ func (s *FindingCriteria) SetCriterion(v map[string]*CriterionAdditionalProperti return s } -// Specifies criteria for sorting the results of a query for information about -// findings. +// Specifies criteria for sorting the results of a query that retrieves aggregated +// statistical data about findings. type FindingStatisticsSortCriteria struct { _ struct{} `type:"structure"` @@ -8747,6 +9276,11 @@ func (s *FindingStatisticsSortCriteria) SetOrderBy(v string) *FindingStatisticsS type FindingsFilterListItem struct { _ struct{} `type:"structure"` + // The action to perform on findings that meet the filter criteria. To suppress + // (automatically archive) findings that meet the criteria, set this value to + // ARCHIVE. Valid values are: + Action *string `locationName:"action" type:"string" enum:"FindingsFilterAction"` + Arn *string `locationName:"arn" type:"string"` Id *string `locationName:"id" type:"string"` @@ -8769,6 +9303,12 @@ func (s FindingsFilterListItem) GoString() string { return s.String() } +// SetAction sets the Action field's value. +func (s *FindingsFilterListItem) SetAction(v string) *FindingsFilterListItem { + s.Action = &v + return s +} + // SetArn sets the Arn field's value. func (s *FindingsFilterListItem) SetArn(v string) *FindingsFilterListItem { s.Arn = &v @@ -8793,7 +9333,7 @@ func (s *FindingsFilterListItem) SetTags(v map[string]*string) *FindingsFilterLi return s } -// Specifies an account that's associated with S3 buckets to retrieve aggregated +// Specifies an account that's associated with the S3 buckets to retrieve aggregated // statistical data for. type GetBucketStatisticsInput struct { _ struct{} `type:"structure"` @@ -8824,16 +9364,16 @@ type GetBucketStatisticsOutput struct { BucketCount *int64 `locationName:"bucketCount" type:"long"` - // The total number of buckets that are publicly accessible, based on a combination - // of permissions settings for each bucket. + // Provides information about the number of S3 buckets that are publicly accessible + // based on a combination of permissions settings for each bucket. BucketCountByEffectivePermission *BucketCountByEffectivePermission `locationName:"bucketCountByEffectivePermission" type:"structure"` - // The total number of buckets, grouped by server-side encryption type. This - // object also reports the total number of buckets that aren't encrypted. + // Provides information about the number of S3 buckets that use certain types + // of server-side encryption or don't encrypt objects by default. BucketCountByEncryptionType *BucketCountByEncryptionType `locationName:"bucketCountByEncryptionType" type:"structure"` - // The total number of buckets that are shared with another AWS account or configured - // to support cross-origin resource sharing (CORS). + // Provides information about the number of S3 buckets that are shared with + // other AWS accounts. BucketCountBySharedAccessType *BucketCountBySharedAccessType `locationName:"bucketCountBySharedAccessType" type:"structure"` ClassifiableObjectCount *int64 `locationName:"classifiableObjectCount" type:"long"` @@ -9099,7 +9639,7 @@ func (s *GetCustomDataIdentifierOutput) SetTags(v map[string]*string) *GetCustom } // Specifies criteria for filtering, grouping, sorting, and paginating the results -// of a query for information about findings. +// of a query that retrieves aggregated statistical data about findings. type GetFindingStatisticsInput struct { _ struct{} `type:"structure"` @@ -9112,8 +9652,8 @@ type GetFindingStatisticsInput struct { Size *int64 `locationName:"size" type:"integer"` - // Specifies criteria for sorting the results of a query for information about - // findings. + // Specifies criteria for sorting the results of a query that retrieves aggregated + // statistical data about findings. SortCriteria *FindingStatisticsSortCriteria `locationName:"sortCriteria" type:"structure"` } @@ -9227,7 +9767,8 @@ func (s *GetFindingsFilterInput) SetId(v string) *GetFindingsFilterInput { return s } -// Provides information about a findings filter. +// Provides information about the criteria and other settings for a findings +// filter. type GetFindingsFilterOutput struct { _ struct{} `type:"structure"` @@ -9782,8 +10323,8 @@ func (s *GetUsageTotalsOutput) SetUsageTotals(v []*UsageTotal) *GetUsageTotalsOu return s } -// Provides a group of results for a query that retrieved information about -// findings. +// Provides a group of results for a query that retrieved aggregated statistical +// data about findings. type GroupCount struct { _ struct{} `type:"structure"` @@ -9814,7 +10355,8 @@ func (s *GroupCount) SetGroupKey(v string) *GroupCount { return s } -// Reserved for future use. +// Provides information about an AWS Identity and Access Management (IAM) user +// who performed an action on an affected resource. type IamUser struct { _ struct{} `type:"structure"` @@ -9968,21 +10510,24 @@ func (s *Invitation) SetRelationshipStatus(v string) *Invitation { return s } +// Provides information about the IP address of the device that an entity used +// to perform an action on an affected resource. type IpAddressDetails struct { _ struct{} `type:"structure"` IpAddressV4 *string `locationName:"ipAddressV4" type:"string"` - // Reserved for future use. + // Provides information about the city that an IP address originated from. IpCity *IpCity `locationName:"ipCity" type:"structure"` - // Reserved for future use. + // Provides information about the country that an IP address originated from. IpCountry *IpCountry `locationName:"ipCountry" type:"structure"` - // Reserved for future use. + // Provides geographic coordinates that indicate where a specified IP address + // originated from. IpGeoLocation *IpGeoLocation `locationName:"ipGeoLocation" type:"structure"` - // Reserved for future use. + // Provides information about the registered owner of an IP address. IpOwner *IpOwner `locationName:"ipOwner" type:"structure"` } @@ -10026,7 +10571,7 @@ func (s *IpAddressDetails) SetIpOwner(v *IpOwner) *IpAddressDetails { return s } -// Reserved for future use. +// Provides information about the city that an IP address originated from. type IpCity struct { _ struct{} `type:"structure"` @@ -10049,7 +10594,7 @@ func (s *IpCity) SetName(v string) *IpCity { return s } -// Reserved for future use. +// Provides information about the country that an IP address originated from. type IpCountry struct { _ struct{} `type:"structure"` @@ -10080,7 +10625,8 @@ func (s *IpCountry) SetName(v string) *IpCountry { return s } -// Reserved for future use. +// Provides geographic coordinates that indicate where a specified IP address +// originated from. type IpGeoLocation struct { _ struct{} `type:"structure"` @@ -10111,7 +10657,7 @@ func (s *IpGeoLocation) SetLon(v float64) *IpGeoLocation { return s } -// Reserved for future use. +// Provides information about the registered owner of an IP address. type IpOwner struct { _ struct{} `type:"structure"` @@ -10162,12 +10708,14 @@ func (s *IpOwner) SetOrg(v string) *IpOwner { type JobScheduleFrequency struct { _ struct{} `type:"structure"` + // Specifies that a classification job runs once a day, every day. This is an + // empty object. DailySchedule *DailySchedule `locationName:"dailySchedule" type:"structure"` - // Run the job once a month, on a specific day of the month. This value can - // be an integer from 1 through 30. + // Specifies a monthly recurrence pattern for running a classification job. MonthlySchedule *MonthlySchedule `locationName:"monthlySchedule" type:"structure"` + // Specifies a weekly recurrence pattern for running a classification job. WeeklySchedule *WeeklySchedule `locationName:"weeklySchedule" type:"structure"` } @@ -10199,8 +10747,8 @@ func (s *JobScheduleFrequency) SetWeeklySchedule(v *WeeklySchedule) *JobSchedule return s } -// Specifies one or more conditions that determine which objects a classification -// job analyzes. +// Specifies a property- or tag-based condition that defines criteria for including +// or excluding objects from a classification job. type JobScopeTerm struct { _ struct{} `type:"structure"` @@ -10235,7 +10783,8 @@ func (s *JobScopeTerm) SetTagScopeTerm(v *TagScopeTerm) *JobScopeTerm { return s } -// Reserved for future use. +// Specifies one or more property- and tag-based conditions that define criteria +// for including or excluding objects from a classification job. type JobScopingBlock struct { _ struct{} `type:"structure"` @@ -10269,7 +10818,7 @@ type JobSummary struct { JobId *string `locationName:"jobId" type:"string"` - // The current status of a classification job. Valid values are: + // The current status of a classification job. Possible values are: JobStatus *string `locationName:"jobStatus" type:"string" enum:"JobStatus"` // The schedule for running a classification job. Valid values are: @@ -11154,8 +11703,7 @@ func (s *Member) SetUpdatedAt(v time.Time) *Member { return s } -// Run the job once a month, on a specific day of the month. This value can -// be an integer from 1 through 30. +// Specifies a monthly recurrence pattern for running a classification job. type MonthlySchedule struct { _ struct{} `type:"structure"` @@ -11178,6 +11726,9 @@ func (s *MonthlySchedule) SetDayOfMonth(v int64) *MonthlySchedule { return s } +// The total number of objects that are in the bucket, grouped by server-side +// encryption type. This includes a grouping that reports the total number of +// objects that aren't encrypted. type ObjectCountByEncryptionType struct { _ struct{} `type:"structure"` @@ -11224,7 +11775,7 @@ func (s *ObjectCountByEncryptionType) SetUnencrypted(v int64) *ObjectCountByEncr return s } -// Provides detailed information about a policy finding. +// Provides the details of a policy finding. type PolicyDetails struct { _ struct{} `type:"structure"` @@ -11486,7 +12037,9 @@ type S3Bucket struct { // S3 bucket is publicly accessible. PublicAccess *BucketPublicAccess `locationName:"publicAccess" type:"structure"` - // Reserved for future use. + // Provides information about the tags that are associated with an S3 bucket + // or object. Each tag consists of a required tag key and an associated tag + // value. Tags []*KeyValuePair `locationName:"tags" type:"list"` } @@ -11670,6 +12223,9 @@ type S3JobDefinition struct { BucketDefinitions []*S3BucketDefinitionForJob `locationName:"bucketDefinitions" type:"list"` + // Specifies one or more property- and tag-based conditions that refine the + // scope of a classification job. These conditions define criteria that determine + // which objects a job analyzes. Scoping *Scoping `locationName:"scoping" type:"structure"` } @@ -11719,10 +12275,12 @@ type S3Object struct { Size *int64 `locationName:"size" type:"long"` - // The storage class of the S3 bucket or object. Valid values are: + // The storage class of the S3 bucket or object. Possible values are: StorageClass *string `locationName:"storageClass" type:"string" enum:"StorageClass"` - // Reserved for future use. + // Provides information about the tags that are associated with an S3 bucket + // or object. Each tag consists of a required tag key and an associated tag + // value. Tags []*KeyValuePair `locationName:"tags" type:"list"` VersionId *string `locationName:"versionId" type:"string"` @@ -11810,13 +12368,18 @@ func (s *S3Object) SetVersionId(v string) *S3Object { return s } +// Specifies one or more property- and tag-based conditions that refine the +// scope of a classification job. These conditions define criteria that determine +// which objects a job analyzes. type Scoping struct { _ struct{} `type:"structure"` - // Reserved for future use. + // Specifies one or more property- and tag-based conditions that define criteria + // for including or excluding objects from a classification job. Excludes *JobScopingBlock `locationName:"excludes" type:"structure"` - // Reserved for future use. + // Specifies one or more property- and tag-based conditions that define criteria + // for including or excluding objects from a classification job. Includes *JobScopingBlock `locationName:"includes" type:"structure"` } @@ -11848,9 +12411,12 @@ type SensitiveDataItem struct { _ struct{} `type:"structure"` // The category of sensitive data that was detected and produced the finding. + // Possible values are: Category *string `locationName:"category" type:"string" enum:"SensitiveDataItemCategory"` - // Reserved for future use. + // Provides information about sensitive data that was detected by managed data + // identifiers and produced a sensitive data finding, and the number of occurrences + // of each type of sensitive data that was detected. Detections []*DefaultDetection `locationName:"detections" type:"list"` TotalCount *int64 `locationName:"totalCount" type:"long"` @@ -11889,8 +12455,8 @@ func (s *SensitiveDataItem) SetTotalCount(v int64) *SensitiveDataItem { type ServerSideEncryption struct { _ struct{} `type:"structure"` - // The server-side encryption algorithm that's used when storing the S3 bucket - // or object. Valid values are: + // The type of server-side encryption that's used to encrypt objects in the + // S3 bucket. Valid values are: EncryptionType *string `locationName:"encryptionType" type:"string" enum:"EncryptionType"` KmsMasterKeyId *string `locationName:"kmsMasterKeyId" type:"string"` @@ -12142,7 +12708,7 @@ func (s *SessionIssuer) SetUserName(v string) *SessionIssuer { type Severity struct { _ struct{} `type:"structure"` - // The textual representation of the finding's severity. Valid values are: + // The textual representation of the finding's severity. Possible values are: Description *string `locationName:"description" type:"string" enum:"SeverityDescription"` Score *int64 `locationName:"score" type:"long"` @@ -12696,7 +13262,7 @@ type UpdateClassificationJobInput struct { // JobId is a required field JobId *string `location:"uri" locationName:"jobId" type:"string" required:"true"` - // The current status of a classification job. Valid values are: + // The current status of a classification job. Possible values are: // // JobStatus is a required field JobStatus *string `locationName:"jobStatus" type:"string" required:"true" enum:"JobStatus"` @@ -13142,7 +13708,7 @@ type UsageStatisticsFilter struct { _ struct{} `type:"structure"` // The field to use to filter the results of a query for account quotas and - // usage data. + // usage data: Key *string `locationName:"key" type:"string" enum:"UsageStatisticsFilterKey"` Values []*string `locationName:"values" type:"list"` @@ -13176,7 +13742,7 @@ type UsageStatisticsSortBy struct { _ struct{} `type:"structure"` // The field to use to sort the results of a query for account quotas and usage - // data. + // data. Valid values are: Key *string `locationName:"key" type:"string" enum:"UsageStatisticsSortKey"` OrderBy *string `locationName:"orderBy" type:"string" enum:"OrderBy"` @@ -13247,28 +13813,43 @@ func (s *UsageTotal) SetType(v string) *UsageTotal { return s } +// Provides information about the type and other characteristics of an entity +// that performed an action on an affected resource. type UserIdentity struct { _ struct{} `type:"structure"` - // Reserved for future use. + // Provides information about an identity that performed an action on an affected + // resource by using temporary security credentials. The credentials were obtained + // using the AssumeRole operation of the AWS Security Token Service (AWS STS) + // API. AssumedRole *AssumedRole `locationName:"assumedRole" type:"structure"` - // Reserved for future use. + // Provides information about an AWS account and entity that performed an action + // on an affected resource. The action was performed using the credentials for + // an AWS account other than your own account. AwsAccount *AwsAccount `locationName:"awsAccount" type:"structure"` - // Reserved for future use. + // Provides information about an AWS service that performed an action on an + // affected resource. AwsService *AwsService `locationName:"awsService" type:"structure"` - // Reserved for future use. + // Provides information about an identity that performed an action on an affected + // resource by using temporary security credentials. The credentials were obtained + // using the GetFederationToken operation of the AWS Security Token Service + // (AWS STS) API. FederatedUser *FederatedUser `locationName:"federatedUser" type:"structure"` - // Reserved for future use. + // Provides information about an AWS Identity and Access Management (IAM) user + // who performed an action on an affected resource. IamUser *IamUser `locationName:"iamUser" type:"structure"` - // Reserved for future use. + // Provides information about an AWS account and entity that performed an action + // on an affected resource. The action was performed using the credentials for + // your AWS account. Root *UserIdentityRoot `locationName:"root" type:"structure"` - // Reserved for future use. + // The type of entity that performed the action on the affected resource. Possible + // values are: Type *string `locationName:"type" type:"string" enum:"UserIdentityType"` } @@ -13324,7 +13905,9 @@ func (s *UserIdentity) SetType(v string) *UserIdentity { return s } -// Reserved for future use. +// Provides information about an AWS account and entity that performed an action +// on an affected resource. The action was performed using the credentials for +// your AWS account. type UserIdentityRoot struct { _ struct{} `type:"structure"` @@ -13420,6 +14003,7 @@ func (s *ValidationException) RequestID() string { return s.RespMetadata.RequestID } +// Specifies a weekly recurrence pattern for running a classification job. type WeeklySchedule struct { _ struct{} `type:"structure"` @@ -13490,8 +14074,8 @@ const ( EffectivePermissionNotPublic = "NOT_PUBLIC" ) -// The server-side encryption algorithm that's used when storing the S3 bucket -// or object. Valid values are: +// The type of server-side encryption that's used to encrypt objects in the +// S3 bucket. Valid values are: const ( // EncryptionTypeNone is a EncryptionType enum value EncryptionTypeNone = "NONE" @@ -13516,7 +14100,7 @@ const ( ) // The type of action that occurred for the resource and produced the policy -// finding. +// finding: const ( // FindingActionTypeAwsApiCall is a FindingActionType enum value FindingActionTypeAwsApiCall = "AWS_API_CALL" @@ -13637,7 +14221,7 @@ const ( JobComparatorContains = "CONTAINS" ) -// The current status of a classification job. Valid values are: +// The current status of a classification job. Possible values are: const ( // JobStatusRunning is a JobStatus enum value JobStatusRunning = "RUNNING" @@ -13737,6 +14321,12 @@ const ( // RelationshipStatusEmailVerificationFailed is a RelationshipStatus enum value RelationshipStatusEmailVerificationFailed = "EmailVerificationFailed" + + // RelationshipStatusRegionDisabled is a RelationshipStatus enum value + RelationshipStatusRegionDisabled = "RegionDisabled" + + // RelationshipStatusAccountSuspended is a RelationshipStatus enum value + RelationshipStatusAccountSuspended = "AccountSuspended" ) // The property to use in a condition that determines which objects are analyzed @@ -13759,6 +14349,7 @@ const ( ) // The category of sensitive data that was detected and produced the finding. +// Possible values are: const ( // SensitiveDataItemCategoryFinancialInformation is a SensitiveDataItemCategory enum value SensitiveDataItemCategoryFinancialInformation = "FINANCIAL_INFORMATION" @@ -13773,7 +14364,7 @@ const ( SensitiveDataItemCategoryCustomIdentifier = "CUSTOM_IDENTIFIER" ) -// The textual representation of the finding's severity. Valid values are: +// The textual representation of the finding's severity. Possible values are: const ( // SeverityDescriptionLow is a SeverityDescription enum value SeverityDescriptionLow = "Low" @@ -13796,7 +14387,7 @@ const ( SharedAccessNotShared = "NOT_SHARED" ) -// The storage class of the S3 bucket or object. Valid values are: +// The storage class of the S3 bucket or object. Possible values are: const ( // StorageClassStandard is a StorageClass enum value StorageClassStandard = "STANDARD" @@ -13832,14 +14423,14 @@ const ( ) // The field to use to filter the results of a query for account quotas and -// usage data. +// usage data: const ( // UsageStatisticsFilterKeyAccountId is a UsageStatisticsFilterKey enum value UsageStatisticsFilterKeyAccountId = "accountId" ) // The field to use to sort the results of a query for account quotas and usage -// data. +// data. Valid values are: const ( // UsageStatisticsSortKeyAccountId is a UsageStatisticsSortKey enum value UsageStatisticsSortKeyAccountId = "accountId" @@ -13857,7 +14448,8 @@ const ( UsageTypeSensitiveDataDiscovery = "SENSITIVE_DATA_DISCOVERY" ) -// Reserved for future use. +// The type of entity that performed the action on the affected resource. Possible +// values are: const ( // UserIdentityTypeAssumedRole is a UserIdentityType enum value UserIdentityTypeAssumedRole = "AssumedRole" diff --git a/service/macie2/macie2iface/interface.go b/service/macie2/macie2iface/interface.go index c16f716bcfa..96377bd47f3 100644 --- a/service/macie2/macie2iface/interface.go +++ b/service/macie2/macie2iface/interface.go @@ -116,6 +116,9 @@ type Macie2API interface { DescribeBucketsWithContext(aws.Context, *macie2.DescribeBucketsInput, ...request.Option) (*macie2.DescribeBucketsOutput, error) DescribeBucketsRequest(*macie2.DescribeBucketsInput) (*request.Request, *macie2.DescribeBucketsOutput) + DescribeBucketsPages(*macie2.DescribeBucketsInput, func(*macie2.DescribeBucketsOutput, bool) bool) error + DescribeBucketsPagesWithContext(aws.Context, *macie2.DescribeBucketsInput, func(*macie2.DescribeBucketsOutput, bool) bool, ...request.Option) error + DescribeClassificationJob(*macie2.DescribeClassificationJobInput) (*macie2.DescribeClassificationJobOutput, error) DescribeClassificationJobWithContext(aws.Context, *macie2.DescribeClassificationJobInput, ...request.Option) (*macie2.DescribeClassificationJobOutput, error) DescribeClassificationJobRequest(*macie2.DescribeClassificationJobInput) (*request.Request, *macie2.DescribeClassificationJobOutput) @@ -192,6 +195,9 @@ type Macie2API interface { GetUsageStatisticsWithContext(aws.Context, *macie2.GetUsageStatisticsInput, ...request.Option) (*macie2.GetUsageStatisticsOutput, error) GetUsageStatisticsRequest(*macie2.GetUsageStatisticsInput) (*request.Request, *macie2.GetUsageStatisticsOutput) + GetUsageStatisticsPages(*macie2.GetUsageStatisticsInput, func(*macie2.GetUsageStatisticsOutput, bool) bool) error + GetUsageStatisticsPagesWithContext(aws.Context, *macie2.GetUsageStatisticsInput, func(*macie2.GetUsageStatisticsOutput, bool) bool, ...request.Option) error + GetUsageTotals(*macie2.GetUsageTotalsInput) (*macie2.GetUsageTotalsOutput, error) GetUsageTotalsWithContext(aws.Context, *macie2.GetUsageTotalsInput, ...request.Option) (*macie2.GetUsageTotalsOutput, error) GetUsageTotalsRequest(*macie2.GetUsageTotalsInput) (*request.Request, *macie2.GetUsageTotalsOutput) @@ -200,30 +206,51 @@ type Macie2API interface { ListClassificationJobsWithContext(aws.Context, *macie2.ListClassificationJobsInput, ...request.Option) (*macie2.ListClassificationJobsOutput, error) ListClassificationJobsRequest(*macie2.ListClassificationJobsInput) (*request.Request, *macie2.ListClassificationJobsOutput) + ListClassificationJobsPages(*macie2.ListClassificationJobsInput, func(*macie2.ListClassificationJobsOutput, bool) bool) error + ListClassificationJobsPagesWithContext(aws.Context, *macie2.ListClassificationJobsInput, func(*macie2.ListClassificationJobsOutput, bool) bool, ...request.Option) error + ListCustomDataIdentifiers(*macie2.ListCustomDataIdentifiersInput) (*macie2.ListCustomDataIdentifiersOutput, error) ListCustomDataIdentifiersWithContext(aws.Context, *macie2.ListCustomDataIdentifiersInput, ...request.Option) (*macie2.ListCustomDataIdentifiersOutput, error) ListCustomDataIdentifiersRequest(*macie2.ListCustomDataIdentifiersInput) (*request.Request, *macie2.ListCustomDataIdentifiersOutput) + ListCustomDataIdentifiersPages(*macie2.ListCustomDataIdentifiersInput, func(*macie2.ListCustomDataIdentifiersOutput, bool) bool) error + ListCustomDataIdentifiersPagesWithContext(aws.Context, *macie2.ListCustomDataIdentifiersInput, func(*macie2.ListCustomDataIdentifiersOutput, bool) bool, ...request.Option) error + ListFindings(*macie2.ListFindingsInput) (*macie2.ListFindingsOutput, error) ListFindingsWithContext(aws.Context, *macie2.ListFindingsInput, ...request.Option) (*macie2.ListFindingsOutput, error) ListFindingsRequest(*macie2.ListFindingsInput) (*request.Request, *macie2.ListFindingsOutput) + ListFindingsPages(*macie2.ListFindingsInput, func(*macie2.ListFindingsOutput, bool) bool) error + ListFindingsPagesWithContext(aws.Context, *macie2.ListFindingsInput, func(*macie2.ListFindingsOutput, bool) bool, ...request.Option) error + ListFindingsFilters(*macie2.ListFindingsFiltersInput) (*macie2.ListFindingsFiltersOutput, error) ListFindingsFiltersWithContext(aws.Context, *macie2.ListFindingsFiltersInput, ...request.Option) (*macie2.ListFindingsFiltersOutput, error) ListFindingsFiltersRequest(*macie2.ListFindingsFiltersInput) (*request.Request, *macie2.ListFindingsFiltersOutput) + ListFindingsFiltersPages(*macie2.ListFindingsFiltersInput, func(*macie2.ListFindingsFiltersOutput, bool) bool) error + ListFindingsFiltersPagesWithContext(aws.Context, *macie2.ListFindingsFiltersInput, func(*macie2.ListFindingsFiltersOutput, bool) bool, ...request.Option) error + ListInvitations(*macie2.ListInvitationsInput) (*macie2.ListInvitationsOutput, error) ListInvitationsWithContext(aws.Context, *macie2.ListInvitationsInput, ...request.Option) (*macie2.ListInvitationsOutput, error) ListInvitationsRequest(*macie2.ListInvitationsInput) (*request.Request, *macie2.ListInvitationsOutput) + ListInvitationsPages(*macie2.ListInvitationsInput, func(*macie2.ListInvitationsOutput, bool) bool) error + ListInvitationsPagesWithContext(aws.Context, *macie2.ListInvitationsInput, func(*macie2.ListInvitationsOutput, bool) bool, ...request.Option) error + ListMembers(*macie2.ListMembersInput) (*macie2.ListMembersOutput, error) ListMembersWithContext(aws.Context, *macie2.ListMembersInput, ...request.Option) (*macie2.ListMembersOutput, error) ListMembersRequest(*macie2.ListMembersInput) (*request.Request, *macie2.ListMembersOutput) + ListMembersPages(*macie2.ListMembersInput, func(*macie2.ListMembersOutput, bool) bool) error + ListMembersPagesWithContext(aws.Context, *macie2.ListMembersInput, func(*macie2.ListMembersOutput, bool) bool, ...request.Option) error + ListOrganizationAdminAccounts(*macie2.ListOrganizationAdminAccountsInput) (*macie2.ListOrganizationAdminAccountsOutput, error) ListOrganizationAdminAccountsWithContext(aws.Context, *macie2.ListOrganizationAdminAccountsInput, ...request.Option) (*macie2.ListOrganizationAdminAccountsOutput, error) ListOrganizationAdminAccountsRequest(*macie2.ListOrganizationAdminAccountsInput) (*request.Request, *macie2.ListOrganizationAdminAccountsOutput) + ListOrganizationAdminAccountsPages(*macie2.ListOrganizationAdminAccountsInput, func(*macie2.ListOrganizationAdminAccountsOutput, bool) bool) error + ListOrganizationAdminAccountsPagesWithContext(aws.Context, *macie2.ListOrganizationAdminAccountsInput, func(*macie2.ListOrganizationAdminAccountsOutput, bool) bool, ...request.Option) error + ListTagsForResource(*macie2.ListTagsForResourceInput) (*macie2.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *macie2.ListTagsForResourceInput, ...request.Option) (*macie2.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*macie2.ListTagsForResourceInput) (*request.Request, *macie2.ListTagsForResourceOutput)