diff --git a/CHANGELOG.md b/CHANGELOG.md index 3741fea03c6..19af4016a6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +Release v1.49.4 (2023-12-15) +=== + +### Service Client Updates +* `service/cloud9`: Updates service documentation and examples + * Updated Cloud9 API documentation for AL2023 release +* `service/connect`: Updates service API and documentation +* `service/connectcases`: Updates service API +* `service/kms`: Updates service documentation + * Documentation updates for AWS Key Management Service +* `service/rds`: Updates service API, documentation, waiters, paginators, and examples + * Updates Amazon RDS documentation by adding code examples +* `service/sagemaker`: Updates service API and documentation + * This release 1) introduces a new API: DeleteCompilationJob , and 2) adds InfraCheckConfig for Create/Describe training job API + Release v1.49.3 (2023-12-14) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 19674a248af..e519246f43e 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -6621,6 +6621,9 @@ var awsPartition = partition{ }, "cognito-identity": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, @@ -6639,6 +6642,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -6745,6 +6751,9 @@ var awsPartition = partition{ }, "cognito-idp": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, endpointKey{ Region: "ap-northeast-1", }: endpoint{}, @@ -6763,6 +6772,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-southeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, endpointKey{ Region: "ca-central-1", }: endpoint{}, @@ -20659,6 +20671,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "il-central-1", + }: endpoint{}, endpointKey{ Region: "me-central-1", }: endpoint{}, @@ -24595,6 +24610,42 @@ var awsPartition = partition{ endpointKey{ Region: "eu-west-3", }: endpoint{}, + endpointKey{ + Region: "fips-us-east-1", + }: endpoint{ + Hostname: "rolesanywhere-fips.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-east-2", + }: endpoint{ + Hostname: "rolesanywhere-fips.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-1", + }: endpoint{ + Hostname: "rolesanywhere-fips.us-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-west-2", + }: endpoint{ + Hostname: "rolesanywhere-fips.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "me-south-1", }: endpoint{}, @@ -24604,15 +24655,39 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-1", }: endpoint{}, + endpointKey{ + Region: "us-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rolesanywhere-fips.us-east-1.amazonaws.com", + }, endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rolesanywhere-fips.us-east-2.amazonaws.com", + }, endpointKey{ Region: "us-west-1", }: endpoint{}, + endpointKey{ + Region: "us-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rolesanywhere-fips.us-west-1.amazonaws.com", + }, endpointKey{ Region: "us-west-2", }: endpoint{}, + endpointKey{ + Region: "us-west-2", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rolesanywhere-fips.us-west-2.amazonaws.com", + }, }, }, "route53": service{ @@ -40582,12 +40657,42 @@ var awsusgovPartition = partition{ }, "rolesanywhere": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "fips-us-gov-east-1", + }: endpoint{ + Hostname: "rolesanywhere-fips.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-gov-west-1", + }: endpoint{ + Hostname: "rolesanywhere-fips.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "us-gov-east-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rolesanywhere-fips.us-gov-east-1.amazonaws.com", + }, endpointKey{ Region: "us-gov-west-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "rolesanywhere-fips.us-gov-west-1.amazonaws.com", + }, }, }, "route53": service{ diff --git a/aws/version.go b/aws/version.go index 63d455f950e..d6e9549d154 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.49.3" +const SDKVersion = "1.49.4" diff --git a/models/apis/cloud9/2017-09-23/docs-2.json b/models/apis/cloud9/2017-09-23/docs-2.json index 1324c02158a..6aee5eccffc 100644 --- a/models/apis/cloud9/2017-09-23/docs-2.json +++ b/models/apis/cloud9/2017-09-23/docs-2.json @@ -232,7 +232,7 @@ "ImageId": { "base": null, "refs": { - "CreateEnvironmentEC2Request$imageId": "

The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.

From December 04, 2023, you will be required to include the imageId parameter for the CreateEnvironmentEC2 action. This change will be reflected across all direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services CloudFormation. This change will only affect direct API consumers, and not Cloud9 console users.

From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux 2 as the AMI to create your environment as it is fully supported. This change will only affect direct API consumers, and not Cloud9 console users.

Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.

AMI aliases

SSM paths

" + "CreateEnvironmentEC2Request$imageId": "

The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM) path.

From December 04, 2023, you will be required to include the imageId parameter for the CreateEnvironmentEC2 action. This change will be reflected across all direct methods of communicating with the API, such as Amazon Web Services SDK, Amazon Web Services CLI and Amazon Web Services CloudFormation. This change will only affect direct API consumers, and not Cloud9 console users.

From January 22, 2024, Amazon Linux (AL1) will be removed from the list of available image IDs for Cloud9. This is necessary as AL1 will reach the end of maintenance support in December 2023, and as a result will no longer receive security updates. We recommend using Amazon Linux 2023 as the AMI to create your environment as it is fully supported. This change will only affect direct API consumers, and not Cloud9 console users.

Since Ubuntu 18.04 has ended standard support as of May 31, 2023, we recommend you choose Ubuntu 22.04.

AMI aliases

SSM paths

" } }, "InstanceType": { diff --git a/models/apis/cloud9/2017-09-23/examples-1.json b/models/apis/cloud9/2017-09-23/examples-1.json index f50266854a6..a0ed687f171 100644 --- a/models/apis/cloud9/2017-09-23/examples-1.json +++ b/models/apis/cloud9/2017-09-23/examples-1.json @@ -7,7 +7,7 @@ "name": "my-demo-environment", "automaticStopTimeMinutes": 60, "description": "This is my demonstration environment.", - "imageId": "amazonlinux-2-x86_64", + "imageId": "amazonlinux-2023-x86_64", "instanceType": "t2.micro", "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser", "subnetId": "subnet-6300cd1b" diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 4e8905f95d7..4bf5c706dd9 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -2519,6 +2519,25 @@ {"shape":"InternalServiceException"} ] }, + "PauseContact":{ + "name":"PauseContact", + "http":{ + "method":"POST", + "requestUri":"/contact/pause" + }, + "input":{"shape":"PauseContactRequest"}, + "output":{"shape":"PauseContactResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"LimitExceededException"}, + {"shape":"ConflictException"} + ] + }, "PutUserStatus":{ "name":"PutUserStatus", "http":{ @@ -2572,6 +2591,24 @@ {"shape":"ResourceConflictException"} ] }, + "ResumeContact":{ + "name":"ResumeContact", + "http":{ + "method":"POST", + "requestUri":"/contact/resume" + }, + "input":{"shape":"ResumeContactRequest"}, + "output":{"shape":"ResumeContactResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InternalServiceException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ConflictException"} + ] + }, "ResumeContactRecording":{ "name":"ResumeContactRecording", "http":{ @@ -3754,7 +3791,10 @@ "CREATE_TASK", "ASSIGN_CONTACT_CATEGORY", "GENERATE_EVENTBRIDGE_EVENT", - "SEND_NOTIFICATION" + "SEND_NOTIFICATION", + "CREATE_CASE", + "UPDATE_CASE", + "END_ASSOCIATED_TASKS" ] }, "ActivateEvaluationFormRequest":{ @@ -3834,7 +3874,8 @@ "type":"structure", "members":{ "Id":{"shape":"AgentResourceId"}, - "ConnectedToAgentTimestamp":{"shape":"timestamp"} + "ConnectedToAgentTimestamp":{"shape":"timestamp"}, + "AgentPauseDurationInSeconds":{"shape":"AgentPauseDurationInSeconds"} } }, "AgentLastName":{ @@ -3842,6 +3883,10 @@ "max":100, "min":1 }, + "AgentPauseDurationInSeconds":{ + "type":"integer", + "min":0 + }, "AgentResourceId":{ "type":"string", "max":256, @@ -4605,6 +4650,14 @@ "max":10, "min":1 }, + "ConflictException":{ + "type":"structure", + "members":{ + "Message":{"shape":"Message"} + }, + "error":{"httpStatusCode":409}, + "exception":true + }, "ConnectionData":{ "type":"structure", "members":{ @@ -4628,6 +4681,10 @@ "InitiationTimestamp":{"shape":"timestamp"}, "DisconnectTimestamp":{"shape":"timestamp"}, "LastUpdateTimestamp":{"shape":"timestamp"}, + "LastPausedTimestamp":{"shape":"timestamp"}, + "LastResumedTimestamp":{"shape":"timestamp"}, + "TotalPauseCount":{"shape":"TotalPauseCount"}, + "TotalPauseDurationInSeconds":{"shape":"TotalPauseDurationInSeconds"}, "ScheduledTimestamp":{"shape":"timestamp"}, "RelatedContactId":{"shape":"ContactId"}, "WisdomInfo":{"shape":"WisdomInfo"}, @@ -4912,6 +4969,17 @@ "AgentStatusId":{"shape":"AgentStatusId"} } }, + "CreateCaseActionDefinition":{ + "type":"structure", + "required":[ + "Fields", + "TemplateId" + ], + "members":{ + "Fields":{"shape":"FieldValues"}, + "TemplateId":{"shape":"TemplateId"} + } + }, "CreateContactFlowModuleRequest":{ "type":"structure", "required":[ @@ -7099,6 +7167,7 @@ "type":"list", "member":{"shape":"Distribution"} }, + "Double":{"type":"double"}, "DuplicateResourceException":{ "type":"structure", "members":{ @@ -7115,6 +7184,11 @@ "Value":{"shape":"ReferenceValue"} } }, + "EmptyFieldValue":{ + "type":"structure", + "members":{ + } + }, "EncryptionConfig":{ "type":"structure", "required":[ @@ -7130,6 +7204,11 @@ "type":"string", "enum":["KMS"] }, + "EndAssociatedTasksActionDefinition":{ + "type":"structure", + "members":{ + } + }, "Endpoint":{ "type":"structure", "members":{ @@ -7676,7 +7755,9 @@ "OnZendeskTicketStatusUpdate", "OnSalesforceCaseCreate", "OnContactEvaluationSubmit", - "OnMetricDataUpdate" + "OnMetricDataUpdate", + "OnCaseCreate", + "OnCaseUpdate" ] }, "FailedRequest":{ @@ -7706,6 +7787,40 @@ "INTERNAL_ERROR" ] }, + "FieldStringValue":{ + "type":"string", + "max":500, + "min":0 + }, + "FieldValue":{ + "type":"structure", + "required":[ + "Id", + "Value" + ], + "members":{ + "Id":{"shape":"FieldValueId"}, + "Value":{"shape":"FieldValueUnion"} + } + }, + "FieldValueId":{ + "type":"string", + "max":500, + "min":1 + }, + "FieldValueUnion":{ + "type":"structure", + "members":{ + "BooleanValue":{"shape":"Boolean"}, + "DoubleValue":{"shape":"Double"}, + "EmptyValue":{"shape":"EmptyFieldValue"}, + "StringValue":{"shape":"FieldStringValue"} + } + }, + "FieldValues":{ + "type":"list", + "member":{"shape":"FieldValue"} + }, "FilterV2":{ "type":"structure", "members":{ @@ -10519,6 +10634,23 @@ "type":"string", "pattern":"/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)[a-zA-Z\\d\\S]{8,64}$/" }, + "PauseContactRequest":{ + "type":"structure", + "required":[ + "ContactId", + "InstanceId" + ], + "members":{ + "ContactId":{"shape":"ContactId"}, + "InstanceId":{"shape":"InstanceId"}, + "ContactFlowId":{"shape":"ContactFlowId"} + } + }, + "PauseContactResponse":{ + "type":"structure", + "members":{ + } + }, "Percentage":{ "type":"integer", "max":100, @@ -11742,6 +11874,23 @@ "members":{ } }, + "ResumeContactRequest":{ + "type":"structure", + "required":[ + "ContactId", + "InstanceId" + ], + "members":{ + "ContactId":{"shape":"ContactId"}, + "InstanceId":{"shape":"InstanceId"}, + "ContactFlowId":{"shape":"ContactFlowId"} + } + }, + "ResumeContactResponse":{ + "type":"structure", + "members":{ + } + }, "RoutingProfile":{ "type":"structure", "members":{ @@ -11920,7 +12069,10 @@ "TaskAction":{"shape":"TaskActionDefinition"}, "EventBridgeAction":{"shape":"EventBridgeActionDefinition"}, "AssignContactCategoryAction":{"shape":"AssignContactCategoryActionDefinition"}, - "SendNotificationAction":{"shape":"SendNotificationActionDefinition"} + "SendNotificationAction":{"shape":"SendNotificationActionDefinition"}, + "CreateCaseAction":{"shape":"CreateCaseActionDefinition"}, + "UpdateCaseAction":{"shape":"UpdateCaseActionDefinition"}, + "EndAssociatedTasksAction":{"shape":"EndAssociatedTasksActionDefinition"} } }, "RuleActions":{ @@ -12472,7 +12624,8 @@ "type":"string", "enum":[ "SALESFORCE", - "ZENDESK" + "ZENDESK", + "CASES" ] }, "StartChatContactRequest":{ @@ -12593,6 +12746,10 @@ "InstanceId" ], "members":{ + "Name":{"shape":"Name"}, + "Description":{"shape":"Description"}, + "References":{"shape":"ContactReferences"}, + "RelatedContactId":{"shape":"ContactId"}, "DestinationPhoneNumber":{"shape":"PhoneNumber"}, "ContactFlowId":{"shape":"ContactFlowId"}, "InstanceId":{"shape":"InstanceId"}, @@ -13118,6 +13275,11 @@ "Distributions":{"shape":"DistributionList"} } }, + "TemplateId":{ + "type":"string", + "max":500, + "min":1 + }, "Threshold":{ "type":"structure", "members":{ @@ -13169,6 +13331,15 @@ "error":{"httpStatusCode":429}, "exception":true }, + "TotalPauseCount":{ + "type":"integer", + "max":10, + "min":0 + }, + "TotalPauseDurationInSeconds":{ + "type":"integer", + "min":0 + }, "TrafficDistributionGroup":{ "type":"structure", "members":{ @@ -13361,6 +13532,13 @@ "ResetOrderNumber":{"shape":"Boolean"} } }, + "UpdateCaseActionDefinition":{ + "type":"structure", + "required":["Fields"], + "members":{ + "Fields":{"shape":"FieldValues"} + } + }, "UpdateContactAttributesRequest":{ "type":"structure", "required":[ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 447c0eb33ea..d0b1819c8e2 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -156,9 +156,11 @@ "ListViewVersions": "

Returns all the available versions for the specified Amazon Connect instance and view identifier.

Results will be sorted from highest to lowest.

", "ListViews": "

Returns views in the given instance.

Results are sorted primarily by type, and secondarily by name.

", "MonitorContact": "

Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.

", + "PauseContact": "

Allows pausing an ongoing task contact.

", "PutUserStatus": "

Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, this sets the agent's next status.

For more information, see Agent status and Set your next status in the Amazon Connect Administrator Guide.

", "ReleasePhoneNumber": "

Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed.

To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the Amazon Connect admin website.

After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support.

If you plan to claim and release numbers frequently during a 30 day period, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until 30 days past the oldest number released has expired.

By default you can claim and release up to 200% of your maximum number of active phone numbers during any 30 day period. If you claim and release phone numbers using the UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming any more numbers until 30 days past the oldest number released has expired.

For example, if you already have 99 claimed numbers and a service level quota of 99 phone numbers, and in any 30 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services support ticket.

", "ReplicateInstance": "

Replicates an Amazon Connect instance in the specified Amazon Web Services Region and copies configuration information for Amazon Connect resources across Amazon Web Services Regions.

For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.

", + "ResumeContact": "

Allows resuming a task contact in a paused state.

", "ResumeContactRecording": "

When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording whatever recording is selected in the flow configuration: call, screen, or both. If only call recording or only screen recording is enabled, then it would resume.

Voice and screen recordings are supported.

", "SearchAvailablePhoneNumbers": "

Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with the traffic distribution group.

", "SearchHoursOfOperations": "

Searches the hours of operation in an Amazon Connect instance, with optional filtering.

", @@ -463,6 +465,12 @@ "UserIdentityInfoLite$LastName": "

The user's last name.

" } }, + "AgentPauseDurationInSeconds": { + "base": null, + "refs": { + "AgentInfo$AgentPauseDurationInSeconds": "

Agent pause duration for a contact in seconds.

" + } + }, "AgentResourceId": { "base": null, "refs": { @@ -926,6 +934,7 @@ "EvaluationFormSingleSelectQuestionOption$AutomaticFail": "

The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.

", "EvaluationScore$NotApplicable": "

The flag to mark the item as not applicable for scoring.

", "EvaluationScore$AutomaticFail": "

The flag that marks the item as automatic fail. If the item or a child item gets an automatic fail answer, this flag will be true.

", + "FieldValueUnion$BooleanValue": "

A Boolean number value type.

", "MetricFilterV2$Negate": "

The flag to use to filter on requested metric filter values or to not filter on requested metric filter values. By default the negate is false, which indicates to filter on the requested metric filter.

", "RoutingProfile$IsDefault": "

Whether this a default routing profile.

", "SignInDistribution$Enabled": "

Whether sign in distribution is enabled.

", @@ -1122,6 +1131,11 @@ "MediaConcurrency$Concurrency": "

The number of contacts an agent can have on a channel simultaneously.

Valid Range for VOICE: Minimum value of 1. Maximum value of 1.

Valid Range for CHAT: Minimum value of 1. Maximum value of 10.

Valid Range for TASK: Minimum value of 1. Maximum value of 10.

" } }, + "ConflictException": { + "base": "

Operation cannot be performed at this time as there is a conflict with another operation or contact state.

", + "refs": { + } + }, "ConnectionData": { "base": "

Information required to join the call.

", "refs": { @@ -1187,7 +1201,9 @@ "DescribeContactFlowRequest$ContactFlowId": "

The identifier of the flow.

", "GetTaskTemplateResponse$ContactFlowId": "

The identifier of the flow that runs by default when a task is created by referencing this template.

", "OutboundCallerConfig$OutboundFlowId": "

The outbound whisper flow to be used during an outbound call.

", + "PauseContactRequest$ContactFlowId": "

The identifier of the flow.

", "QueueQuickConnectConfig$ContactFlowId": "

The identifier of the flow.

", + "ResumeContactRequest$ContactFlowId": "

The identifier of the flow.

", "StartChatContactRequest$ContactFlowId": "

The identifier of the flow for initiating the chat. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the 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 flow for the outbound call. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the 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

", "StartTaskContactRequest$ContactFlowId": "

The identifier of the flow for initiating the tasks. To see the ContactFlowId in the Amazon Connect admin website, on the navigation menu go to Routing, Contact Flows. Choose the flow. On the flow page, under the name of the 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

", @@ -1343,9 +1359,11 @@ "ListRealtimeContactAnalysisSegmentsV2Request$ContactId": "

The identifier of the contact in this instance of Amazon Connect.

", "MonitorContactRequest$ContactId": "

The identifier of the contact.

", "MonitorContactResponse$ContactId": "

The identifier of the contact.

", + "PauseContactRequest$ContactId": "

The identifier of the contact.

", "PersistentChat$SourceContactId": "

The contactId from which a persistent chat session must be started.

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

", + "ResumeContactRequest$ContactId": "

The identifier of the contact.

", "SendChatIntegrationEventResponse$InitialContactId": "

Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.

", "StartChatContactRequest$RelatedContactId": "

The unique identifier for an Amazon Connect contact. This identifier is related to the chat starting.

You cannot provide data for both RelatedContactId and PersistentChat.

", "StartChatContactResponse$ContactId": "

The identifier of this contact within the Amazon Connect instance.

", @@ -1354,6 +1372,7 @@ "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.

", "StartContactStreamingRequest$ContactId": "

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

", + "StartOutboundVoiceContactRequest$RelatedContactId": "

The contactId that is related to this contact. Linking voice, task, or chat by using RelatedContactID copies over contact attributes from the related contact to the new contact. All updates to user-defined attributes in the new contact are limited to the individual contact ID. There are no limits to the number of contacts that can be linked by using RelatedContactId.

", "StartOutboundVoiceContactResponse$ContactId": "

The identifier of this contact within the Amazon Connect instance.

", "StartTaskContactRequest$PreviousContactId": "

The identifier of the previous chat, voice, or task contact. Any updates to user-defined attributes to task contacts linked using the same PreviousContactID will affect every contact in the chain. There can be a maximum of 12 linked task contacts in a chain.

", "StartTaskContactRequest$RelatedContactId": "

The contactId that is related to this contact. Linking tasks together by using RelatedContactID copies over contact attributes from the related task contact to the new task contact. All updates to user-defined attributes in the new task contact are limited to the individual contact ID, unlike what happens when tasks are linked by using PreviousContactID. There are no limits to the number of contacts that can be linked by using RelatedContactId.

", @@ -1392,6 +1411,7 @@ "ContactReferences": { "base": null, "refs": { + "StartOutboundVoiceContactRequest$References": "

A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Contacts can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference type during voice contact creation.

", "StartTaskContactRequest$References": "

A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference type during task creation.

", "StartWebRTCContactRequest$References": "

A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference type during task creation.

", "TaskActionDefinition$References": "

Information about the reference when the referenceType is URL. Otherwise, null. (Supports variable injection in the Value field.)

", @@ -1471,6 +1491,12 @@ "refs": { } }, + "CreateCaseActionDefinition": { + "base": "

The CreateCase action definition.

", + "refs": { + "RuleAction$CreateCaseAction": "

Information about the create case action.

Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnPostChatAnalysisAvailable.

" + } + }, "CreateContactFlowModuleRequest": { "base": null, "refs": { @@ -2193,6 +2219,7 @@ "base": null, "refs": { "Contact$Description": "

The description of the contact.

", + "StartOutboundVoiceContactRequest$Description": "

A description of the voice contact that is shown to an agent in the Contact Control Panel (CCP).

", "StartTaskContactRequest$Description": "

A description of the task that is shown to an agent in the Contact Control Panel (CCP).

", "StartWebRTCContactRequest$Description": "

A description of the task that is shown to an agent in the Contact Control Panel (CCP).

", "UpdateContactRequest$Description": "

The description of the contact.

" @@ -2387,6 +2414,12 @@ "TelephonyConfig$Distributions": "

Information about traffic distributions.

" } }, + "Double": { + "base": null, + "refs": { + "FieldValueUnion$DoubleValue": "

a Double number value type.

" + } + }, "DuplicateResourceException": { "base": "

A resource with the specified name already exists.

", "refs": { @@ -2405,6 +2438,12 @@ "ReferenceSummary$Email": "

Information about a reference when the referenceType is EMAIL. Otherwise, null.

" } }, + "EmptyFieldValue": { + "base": "

An empty value.

", + "refs": { + "FieldValueUnion$EmptyValue": "

An empty value.

" + } + }, "EncryptionConfig": { "base": "

The encryption configuration.

", "refs": { @@ -2418,6 +2457,12 @@ "EncryptionConfig$EncryptionType": "

The type of encryption.

" } }, + "EndAssociatedTasksActionDefinition": { + "base": "

End associated tasks related to a case.

", + "refs": { + "RuleAction$EndAssociatedTasksAction": "

Information about the end associated tasks action.

Supported only for TriggerEventSource values: OnCaseUpdate.

" + } + }, "Endpoint": { "base": "

Information about the endpoint.

", "refs": { @@ -2840,6 +2885,37 @@ "FailedRequest$FailureReasonCode": "

Reason code for the failure.

" } }, + "FieldStringValue": { + "base": null, + "refs": { + "FieldValueUnion$StringValue": "

String value type.

" + } + }, + "FieldValue": { + "base": "

Object for case field values.

", + "refs": { + "FieldValues$member": null + } + }, + "FieldValueId": { + "base": null, + "refs": { + "FieldValue$Id": "

Unique identifier of a field.

" + } + }, + "FieldValueUnion": { + "base": "

Object to store union of Field values.

", + "refs": { + "FieldValue$Value": "

Union of potential field value types.

" + } + }, + "FieldValues": { + "base": null, + "refs": { + "CreateCaseActionDefinition$Fields": "

An array of objects with Field ID and Value data.

", + "UpdateCaseActionDefinition$Fields": "

An array of objects with Field ID and Value data.

" + } + }, "FilterV2": { "base": "

Contains the filter to apply when retrieving metrics with the GetMetricDataV2 API.

", "refs": { @@ -3514,9 +3590,11 @@ "ListUserHierarchyGroupsRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "ListUsersRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "MonitorContactRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", + "PauseContactRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", "PutUserStatusRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "ReplicateInstanceResponse$Id": "

The identifier of the replicated instance. You can find the instanceId in the ARN of the instance. The replicated instance has the same identifier as the instance it was replicated from.

", "ResumeContactRecordingRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", + "ResumeContactRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

", "RoutingProfile$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "SearchAvailablePhoneNumbersRequest$InstanceId": "

The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance. You must enter InstanceId or TargetArn.

", "SearchHoursOfOperationsRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", @@ -4436,6 +4514,7 @@ "base": null, "refs": { "AccessDeniedException$Message": null, + "ConflictException$Message": null, "ContactFlowNotPublishedException$Message": null, "ContactNotFoundException$Message": "

The message.

", "DestinationNotAllowedException$Message": "

The message about the outbound calls.

", @@ -4524,7 +4603,7 @@ "MetricsV2": { "base": null, "refs": { - "GetMetricDataV2Request$Metrics": "

The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.

ABANDONMENT_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AGENT_ADHERENT_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_ANSWER_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_ADHERENT_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

AGENT_OCCUPANCY

Unit: Percentage

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULE_ADHERENCE

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULED_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

AVG_CONTACT_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_CONVERSATION_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_GREETING_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME_ALL_CONTACTS

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HOLDS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERRUPTIONS_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERRUPTION_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_RESOLUTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ABANDONED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED

Unit: Count

Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HOLD_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_PUT_ON_HOLD

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_RESOLVED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

CONTACTS_TRANSFERRED_OUT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

MAX_QUEUED_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SERVICE_LEVEL

You can include up to 20 SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONNECTING_TIME_AGENT

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

SUM_CONTACT_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACT_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

SUM_CONTACTS_DISCONNECTED

Valid metric filter key: DISCONNECT_REASON

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HOLD_TIME

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_IDLE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_ONLINE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

" + "GetMetricDataV2Request$Metrics": "

The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's Guide.

ABANDONMENT_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AGENT_ADHERENT_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_ANSWER_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_ADHERENT_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

AGENT_OCCUPANCY

Unit: Percentage

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULE_ADHERENCE

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AGENT_SCHEDULED_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_ABANDON_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_ACTIVE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

AVG_AGENT_PAUSE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

AVG_CONTACT_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_CONVERSATION_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

AVG_GREETING_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME_ALL_CONTACTS

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_HOLDS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_INTERRUPTIONS_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_INTERRUPTION_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

AVG_RESOLUTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

AVG_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ABANDONED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED

Unit: Count

Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_HOLD_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_PUT_ON_HOLD

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_RESOLVED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

CONTACTS_TRANSFERRED_OUT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype

Feature is a valid filter but not a valid grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

MAX_QUEUED_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

PERCENT_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SERVICE_LEVEL

You can include up to 20 SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONNECTING_TIME_AGENT

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

The Negate key in Metric Level Filters is not applicable for this metric.

SUM_CONTACT_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACT_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

SUM_CONTACTS_DISCONNECTED

Valid metric filter key: DISCONNECT_REASON

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_HOLD_TIME

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_IDLE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_INTERACTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_ONLINE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype

" } }, "MinutesLimit60": { @@ -4553,6 +4632,7 @@ "base": null, "refs": { "Contact$Name": "

The name of the contact.

", + "StartOutboundVoiceContactRequest$Name": "

The name of a voice contact that is shown to an agent in the Contact Control Panel (CCP).

", "StartTaskContactRequest$Name": "

The name of a task that is shown to an agent in the Contact Control Panel (CCP).

", "UpdateContactRequest$Name": "

The name of the contact.

" } @@ -4875,6 +4955,16 @@ "CreateUserRequest$Password": "

The password for the user account. A password is required if you are using Amazon Connect for identity management. Otherwise, it is an error to include a password.

" } }, + "PauseContactRequest": { + "base": null, + "refs": { + } + }, + "PauseContactResponse": { + "base": null, + "refs": { + } + }, "Percentage": { "base": null, "refs": { @@ -5894,6 +5984,16 @@ "refs": { } }, + "ResumeContactRequest": { + "base": null, + "refs": { + } + }, + "ResumeContactResponse": { + "base": null, + "refs": { + } + }, "RoutingProfile": { "base": "

Contains information about a routing profile.

", "refs": { @@ -7026,6 +7126,12 @@ "UpdateTrafficDistributionRequest$TelephonyConfig": "

The distribution of traffic between the instance and its replica(s).

" } }, + "TemplateId": { + "base": null, + "refs": { + "CreateCaseActionDefinition$TemplateId": "

A unique identifier of a template.

" + } + }, "Threshold": { "base": "

Contains information about the threshold for service level metrics.

", "refs": { @@ -7132,6 +7238,18 @@ "refs": { } }, + "TotalPauseCount": { + "base": null, + "refs": { + "Contact$TotalPauseCount": "

Total pause count for a contact.

" + } + }, + "TotalPauseDurationInSeconds": { + "base": null, + "refs": { + "Contact$TotalPauseDurationInSeconds": "

Total pause duration for a contact in seconds.

" + } + }, "TrafficDistributionGroup": { "base": "

Information about a traffic distribution group.

", "refs": { @@ -7260,6 +7378,12 @@ "refs": { } }, + "UpdateCaseActionDefinition": { + "base": "

The UpdateCase action definition.

", + "refs": { + "RuleAction$UpdateCaseAction": "

Information about the update case action.

Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.

" + } + }, "UpdateContactAttributesRequest": { "base": null, "refs": { @@ -8093,6 +8217,8 @@ "Contact$InitiationTimestamp": "

The date and time this contact was initiated, in UTC time. For INBOUND, this is when the contact arrived. For OUTBOUND, this is when the agent began dialing. For CALLBACK, this is when the callback contact was created. For TRANSFER and QUEUE_TRANSFER, this is when the transfer was initiated. For API, this is when the request arrived. For EXTERNAL_OUTBOUND, this is when the agent started dialing the external participant. For MONITOR, this is when the supervisor started listening to a contact.

", "Contact$DisconnectTimestamp": "

The timestamp when the customer endpoint disconnected from Amazon Connect.

", "Contact$LastUpdateTimestamp": "

The timestamp when contact was last updated.

", + "Contact$LastPausedTimestamp": "

The timestamp when the contact was last paused.

", + "Contact$LastResumedTimestamp": "

The timestamp when the contact was last resumed.

", "Contact$ScheduledTimestamp": "

The timestamp, in Unix epoch time format, at which to start running the inbound flow.

", "Credentials$AccessTokenExpiration": "

A token generated with an expiration time for the session a user is logged in to Amazon Connect.

", "Credentials$RefreshTokenExpiration": "

Renews the expiration timer for a generated token.

", diff --git a/models/apis/connectcases/2022-10-03/api-2.json b/models/apis/connectcases/2022-10-03/api-2.json index 912589c3165..fa573276dcb 100644 --- a/models/apis/connectcases/2022-10-03/api-2.json +++ b/models/apis/connectcases/2022-10-03/api-2.json @@ -680,7 +680,7 @@ "CaseEventIncludedDataFieldsList":{ "type":"list", "member":{"shape":"FieldIdentifier"}, - "max":50, + "max":200, "min":0 }, "CaseFilter":{ diff --git a/models/apis/kms/2014-11-01/docs-2.json b/models/apis/kms/2014-11-01/docs-2.json index dec823de1f5..b7ef676e6f1 100644 --- a/models/apis/kms/2014-11-01/docs-2.json +++ b/models/apis/kms/2014-11-01/docs-2.json @@ -2,56 +2,56 @@ "version": "2.0", "service": "Key Management Service

Key Management Service (KMS) is an encryption and key management web service. This guide describes the KMS operations that you can call programmatically. For general information about KMS, see the Key Management Service Developer Guide .

KMS has replaced the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.

Amazon Web Services provides SDKs that consist of libraries and sample code for various programming languages and platforms (Java, Ruby, .Net, macOS, Android, etc.). The SDKs provide a convenient way to create programmatic access to KMS and other Amazon Web Services services. For example, the SDKs take care of tasks such as signing requests (see below), managing errors, and retrying requests automatically. For more information about the Amazon Web Services SDKs, including how to download and install them, see Tools for Amazon Web Services.

We recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS.

If you need to use FIPS 140-2 validated cryptographic modules when communicating with Amazon Web Services, use the FIPS endpoint in your preferred Amazon Web Services Region. For more information about the available FIPS endpoints, see Service endpoints in the Key Management Service topic of the Amazon Web Services General Reference.

All KMS API calls must be signed and be transmitted using Transport Layer Security (TLS). KMS recommends you always use the latest supported TLS version. Clients must also support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems such as Java 7 and later support these modes.

Signing Requests

Requests must be signed using an access key ID and a secret access key. We strongly recommend that you do not use your Amazon Web Services account root access key ID and secret access key for everyday work. You can use the access key ID and secret access key for an IAM user or you can use the Security Token Service (STS) to generate temporary security credentials and use those to sign requests.

All KMS requests must be signed with Signature Version 4.

Logging API Requests

KMS supports CloudTrail, a service that logs Amazon Web Services API calls and related events for your Amazon Web Services account and delivers them to an Amazon S3 bucket that you specify. By using the information collected by CloudTrail, you can determine what requests were made to KMS, who made the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it on and find your log files, see the CloudTrail User Guide.

Additional Resources

For more information about credentials and request signing, see the following:

Commonly Used API Operations

Of the API operations discussed in this guide, the following will prove the most useful for most applications. You will likely perform operations other than these, such as creating keys and assigning policies, by using the console.

", "operations": { - "CancelKeyDeletion": "

Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS key is Disabled. To enable the KMS key, use EnableKey.

For more information about scheduling and canceling deletion of a KMS key, see Deleting KMS keys in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:CancelKeyDeletion (key policy)

Related operations: ScheduleKeyDeletion

", - "ConnectCustomKeyStore": "

Connects or reconnects a custom key store to its backing key store. For an CloudHSM key store, ConnectCustomKeyStore connects the key store to its associated CloudHSM cluster. For an external key store, ConnectCustomKeyStore connects the key store to the external key store proxy that communicates with your external key manager.

The custom key store must be connected before you can create KMS keys in the key store or use the KMS keys it contains. You can disconnect and reconnect a custom key store at any time.

The connection process for a custom key store can take an extended amount of time to complete. This operation starts the connection process, but it does not wait for it to complete. When it succeeds, this operation quickly returns an HTTP 200 response and a JSON object with no properties. However, this response does not indicate that the custom key store is connected. To get the connection state of the custom key store, use the DescribeCustomKeyStores operation.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

The ConnectCustomKeyStore operation might fail for various reasons. To find the reason, use the DescribeCustomKeyStores operation and see the ConnectionErrorCode in the response. For help interpreting the ConnectionErrorCode, see CustomKeyStoresListEntry.

To fix the failure, use the DisconnectCustomKeyStore operation to disconnect the custom key store, correct the error, use the UpdateCustomKeyStore operation if necessary, and then use ConnectCustomKeyStore again.

CloudHSM key store

During the connection process for an CloudHSM key store, KMS finds the CloudHSM cluster that is associated with the custom key store, creates the connection infrastructure, connects to the cluster, logs into the CloudHSM client as the kmsuser CU, and rotates its password.

To connect an CloudHSM key store, its associated CloudHSM cluster must have at least one active HSM. To get the number of active HSMs in a cluster, use the DescribeClusters operation. To add HSMs to the cluster, use the CreateHsm operation. Also, the kmsuser crypto user (CU) must not be logged into the cluster. This prevents KMS from using this account to log in.

If you are having trouble connecting or disconnecting a CloudHSM key store, see Troubleshooting an CloudHSM key store in the Key Management Service Developer Guide.

External key store

When you connect an external key store that uses public endpoint connectivity, KMS tests its ability to communicate with your external key manager by sending a request via the external key store proxy.

When you connect to an external key store that uses VPC endpoint service connectivity, KMS establishes the networking elements that it needs to communicate with your external key manager via the external key store proxy. This includes creating an interface endpoint to the VPC endpoint service and a private hosted zone for traffic between KMS and the VPC endpoint service.

To connect an external key store, KMS must be able to connect to the external key store proxy, the external key store proxy must be able to communicate with your external key manager, and the external key manager must be available for cryptographic operations.

If you are having trouble connecting or disconnecting an external key store, see Troubleshooting an external key store in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:ConnectCustomKeyStore (IAM policy)

Related operations

", - "CreateAlias": "

Creates a friendly name for a KMS key.

Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

You can use an alias to identify a KMS key in the KMS console, in the DescribeKey operation and in cryptographic operations, such as Encrypt and GenerateDataKey. You can also change the KMS key that's associated with the alias (UpdateAlias) or delete the alias (DeleteAlias) at any time. These operations don't affect the underlying KMS key.

You can associate the alias with any customer managed key in the same Amazon Web Services Region. Each alias is associated with only one KMS key at a time, but a KMS key can have multiple aliases. A valid KMS key is required. You can't create an alias without a KMS key.

The alias must be unique in the account and Region, but you can have aliases with the same name in different Regions. For detailed information about aliases, see Using aliases in the Key Management Service Developer Guide.

This operation does not return a response. To get the alias that you created, use the ListAliases operation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.

Required permissions

For details, see Controlling access to aliases in the Key Management Service Developer Guide.

Related operations:

", - "CreateCustomKeyStore": "

Creates a custom key store backed by a key store that you own and manage. When you use a KMS key in a custom key store for a cryptographic operation, the cryptographic operation is actually performed in your key store using your keys. KMS supports CloudHSM key stores backed by an CloudHSM cluster and external key stores backed by an external key store proxy and external key manager outside of Amazon Web Services.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

Before you create the custom key store, the required elements must be in place and operational. We recommend that you use the test tools that KMS provides to verify the configuration your external key store proxy. For details about the required elements and verification tests, see Assemble the prerequisites (for CloudHSM key stores) or Assemble the prerequisites (for external key stores) in the Key Management Service Developer Guide.

To create a custom key store, use the following parameters.

For external key stores:

Some external key managers provide a simpler method for creating an external key store. For details, see your external key manager documentation.

When creating an external key store in the KMS console, you can upload a JSON-based proxy configuration file with the desired values. You cannot use a proxy configuration with the CreateCustomKeyStore operation. However, you can use the values in the file to help you determine the correct values for the CreateCustomKeyStore parameters.

When the operation completes successfully, it returns the ID of the new custom key store. Before you can use your new custom key store, you need to use the ConnectCustomKeyStore operation to connect a new CloudHSM key store to its CloudHSM cluster, or to connect a new external key store to the external key store proxy for your external key manager. Even if you are not going to use your custom key store immediately, you might want to connect it to verify that all settings are correct and then disconnect it until you are ready to use it.

For help with failures, see Troubleshooting a custom key store in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:CreateCustomKeyStore (IAM policy).

Related operations:

", - "CreateGrant": "

Adds a grant to a KMS key.

A grant is a policy instrument that allows Amazon Web Services principals to use KMS keys in cryptographic operations. It also can allow them to view a KMS key (DescribeKey) and create and manage grants. When authorizing access to a KMS key, grants are considered along with key policies and IAM policies. Grants are often used for temporary permissions because you can create one, use its permissions, and delete it without changing your key policies or IAM policies.

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

The CreateGrant operation returns a GrantToken and a GrantId.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

Required permissions: kms:CreateGrant (key policy)

Related operations:

", - "CreateKey": "

Creates a unique customer managed KMS key in your Amazon Web Services account and Region. You can use a KMS key in cryptographic operations, such as encryption and signing. Some Amazon Web Services services let you use KMS keys that you create and manage to protect your service resources.

A KMS key is a logical representation of a cryptographic key. In addition to the key material used in cryptographic operations, a KMS key includes metadata, such as the key ID, key policy, creation date, description, and key state. For details, see Managing keys in the Key Management Service Developer Guide

Use the parameters of CreateKey to specify the type of KMS key, the source of its key material, its key policy, description, tags, and other properties.

KMS has replaced the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.

To create different types of KMS keys, use the following guidance:

Symmetric encryption KMS key

By default, CreateKey creates a symmetric encryption KMS key with key material that KMS generates. This is the basic and most widely used type of KMS key, and provides the best performance.

To create a symmetric encryption KMS key, you don't need to specify any parameters. The default value for KeySpec, SYMMETRIC_DEFAULT, the default value for KeyUsage, ENCRYPT_DECRYPT, and the default value for Origin, AWS_KMS, create a symmetric encryption KMS key with KMS key material.

If you need a key for basic encryption and decryption or you are creating a KMS key to protect your resources in an Amazon Web Services service, create a symmetric encryption KMS key. The key material in a symmetric encryption key never leaves KMS unencrypted. You can use a symmetric encryption KMS key to encrypt and decrypt data up to 4,096 bytes, but they are typically used to generate data keys and data keys pairs. For details, see GenerateDataKey and GenerateDataKeyPair.

Asymmetric KMS keys

To create an asymmetric KMS key, use the KeySpec parameter to specify the type of key material in the KMS key. Then, use the KeyUsage parameter to determine whether the KMS key will be used to encrypt and decrypt or sign and verify. You can't change these properties after the KMS key is created.

Asymmetric KMS keys contain an RSA key pair, Elliptic Curve (ECC) key pair, or an SM2 key pair (China Regions only). The private key in an asymmetric KMS key never leaves KMS unencrypted. However, you can use the GetPublicKey operation to download the public key so it can be used outside of KMS. KMS keys with RSA or SM2 key pairs can be used to encrypt or decrypt data or sign and verify messages (but not both). KMS keys with ECC key pairs can be used only to sign and verify messages. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

HMAC KMS key

To create an HMAC KMS key, set the KeySpec parameter to a key spec value for HMAC KMS keys. Then set the KeyUsage parameter to GENERATE_VERIFY_MAC. You must set the key usage even though GENERATE_VERIFY_MAC is the only valid key usage value for HMAC KMS keys. You can't change these properties after the KMS key is created.

HMAC KMS keys are symmetric keys that never leave KMS unencrypted. You can use HMAC keys to generate (GenerateMac) and verify (VerifyMac) HMAC codes for messages up to 4096 bytes.

Multi-Region primary keys
Imported key material

To create a multi-Region primary key in the local Amazon Web Services Region, use the MultiRegion parameter with a value of True. To create a multi-Region replica key, that is, a KMS key with the same key ID and key material as a primary key, but in a different Amazon Web Services Region, use the ReplicateKey operation. To change a replica key to a primary key, and its primary key to a replica key, use the UpdatePrimaryRegion operation.

You can create multi-Region KMS keys for all supported KMS key types: symmetric encryption KMS keys, HMAC KMS keys, asymmetric encryption KMS keys, and asymmetric signing KMS keys. You can also create multi-Region keys with imported key material. However, you can't create multi-Region keys in a custom key store.

This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

To import your own key material into a KMS key, begin by creating a KMS key with no key material. To do this, use the Origin parameter of CreateKey with a value of EXTERNAL. Next, use GetParametersForImport operation to get a public key and import token. Use the wrapping public key to encrypt your key material. Then, use ImportKeyMaterial with your import token to import the key material. For step-by-step instructions, see Importing Key Material in the Key Management Service Developer Guide .

You can import key material into KMS keys of all supported KMS key types: symmetric encryption KMS keys, HMAC KMS keys, asymmetric encryption KMS keys, and asymmetric signing KMS keys. You can also create multi-Region keys with imported key material. However, you can't import key material into a KMS key in a custom key store.

To create a multi-Region primary key with imported key material, use the Origin parameter of CreateKey with a value of EXTERNAL and the MultiRegion parameter with a value of True. To create replicas of the multi-Region primary key, use the ReplicateKey operation. For instructions, see Importing key material into multi-Region keys. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

Custom key store

A custom key store lets you protect your Amazon Web Services resources using keys in a backing key store that you own and manage. When you request a cryptographic operation with a KMS key in a custom key store, the operation is performed in the backing key store using its cryptographic keys.

KMS supports CloudHSM key stores backed by an CloudHSM cluster and external key stores backed by an external key manager outside of Amazon Web Services. When you create a KMS key in an CloudHSM key store, KMS generates an encryption key in the CloudHSM cluster and associates it with the KMS key. When you create a KMS key in an external key store, you specify an existing encryption key in the external key manager.

Some external key managers provide a simpler method for creating a KMS key in an external key store. For details, see your external key manager documentation.

Before you create a KMS key in a custom key store, the ConnectionState of the key store must be CONNECTED. To connect the custom key store, use the ConnectCustomKeyStore operation. To find the ConnectionState, use the DescribeCustomKeyStores operation.

To create a KMS key in a custom key store, use the CustomKeyStoreId. Use the default KeySpec value, SYMMETRIC_DEFAULT, and the default KeyUsage value, ENCRYPT_DECRYPT to create a symmetric encryption key. No other key type is supported in a custom key store.

To create a KMS key in an CloudHSM key store, use the Origin parameter with a value of AWS_CLOUDHSM. The CloudHSM cluster that is associated with the custom key store must have at least two active HSMs in different Availability Zones in the Amazon Web Services Region.

To create a KMS key in an external key store, use the Origin parameter with a value of EXTERNAL_KEY_STORE and an XksKeyId parameter that identifies an existing external key.

Some external key managers provide a simpler method for creating a KMS key in an external key store. For details, see your external key manager documentation.

Cross-account use: No. You cannot use this operation to create a KMS key in a different Amazon Web Services account.

Required permissions: kms:CreateKey (IAM policy). To use the Tags parameter, kms:TagResource (IAM policy). For examples and information about related permissions, see Allow a user to create KMS keys in the Key Management Service Developer Guide.

Related operations:

", - "Decrypt": "

Decrypts ciphertext that was encrypted by a KMS key using any of the following operations:

You can use this operation to decrypt ciphertext that was encrypted under a symmetric encryption KMS key or an asymmetric encryption KMS key. When the KMS key is asymmetric, you must specify the KMS key and the encryption algorithm that was used to encrypt the ciphertext. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

The Decrypt operation also decrypts ciphertext that was encrypted outside of KMS by the public key in an KMS asymmetric KMS key. However, it cannot decrypt symmetric ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption. These libraries return a ciphertext format that is incompatible with KMS.

If the ciphertext was encrypted under a symmetric encryption KMS key, the KeyId parameter is optional. KMS can get this information from metadata that it adds to the symmetric ciphertext blob. This feature adds durability to your implementation by ensuring that authorized users can decrypt ciphertext decades after it was encrypted, even if they've lost track of the key ID. However, specifying the KMS key is always recommended as a best practice. When you use the KeyId parameter to specify a KMS key, KMS only uses the KMS key you specify. If the ciphertext was encrypted under a different KMS key, the Decrypt operation fails. This practice ensures that you use the KMS key that you intend.

Whenever possible, use key policies to give users permission to call the Decrypt operation on a particular KMS key, instead of using &IAM; policies. Otherwise, you might create an &IAM; policy that gives the user Decrypt permission on all KMS keys. This user could decrypt ciphertext that was encrypted by KMS keys in other accounts if the key policy for the cross-account KMS key permits it. If you must use an IAM policy for Decrypt permissions, limit the user to particular KMS keys or particular trusted accounts. For details, see Best practices for IAM policies in the Key Management Service Developer Guide.

Decrypt also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call Decrypt for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. Instead of the plaintext data, the response includes the plaintext data encrypted with the public key from the attestation document (CiphertextForRecipient).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. If you use the KeyId parameter to identify a KMS key in a different Amazon Web Services account, specify the key ARN or the alias ARN of the KMS key.

Required permissions: kms:Decrypt (key policy)

Related operations:

", - "DeleteAlias": "

Deletes the specified alias.

Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

Because an alias is not a property of a KMS key, you can delete and change the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the DescribeKey operation. To get the aliases of all KMS keys, use the ListAliases operation.

Each KMS key can have multiple aliases. To change the alias of a KMS key, use DeleteAlias to delete the current alias and CreateAlias to create a new alias. To associate an existing alias with a different KMS key, call UpdateAlias.

Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.

Required permissions

For details, see Controlling access to aliases in the Key Management Service Developer Guide.

Related operations:

", - "DeleteCustomKeyStore": "

Deletes a custom key store. This operation does not affect any backing elements of the custom key store. It does not delete the CloudHSM cluster that is associated with an CloudHSM key store, or affect any users or keys in the cluster. For an external key store, it does not affect the external key store proxy, external key manager, or any external keys.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

The custom key store that you delete cannot contain any KMS keys. Before deleting the key store, verify that you will never need to use any of the KMS keys in the key store for any cryptographic operations. Then, use ScheduleKeyDeletion to delete the KMS keys from the key store. After the required waiting period expires and all KMS keys are deleted from the custom key store, use DisconnectCustomKeyStore to disconnect the key store from KMS. Then, you can delete the custom key store.

For keys in an CloudHSM key store, the ScheduleKeyDeletion operation makes a best effort to delete the key material from the associated cluster. However, you might need to manually delete the orphaned key material from the cluster and its backups. KMS never creates, manages, or deletes cryptographic keys in the external key manager associated with an external key store. You must manage them using your external key manager tools.

Instead of deleting the custom key store, consider using the DisconnectCustomKeyStore operation to disconnect the custom key store from its backing key store. While the key store is disconnected, you cannot create or use the KMS keys in the key store. But, you do not need to delete KMS keys and you can reconnect a disconnected custom key store at any time.

If the operation succeeds, it returns a JSON object with no properties.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:DeleteCustomKeyStore (IAM policy)

Related operations:

", - "DeleteImportedKeyMaterial": "

Deletes key material that was previously imported. This operation makes the specified KMS key temporarily unusable. To restore the usability of the KMS key, reimport the same key material. For more information about importing key material into KMS, see Importing Key Material in the Key Management Service Developer Guide.

When the specified KMS key is in the PendingDeletion state, this operation does not change the KMS key's state. Otherwise, it changes the KMS key's state to PendingImport.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:DeleteImportedKeyMaterial (key policy)

Related operations:

", - "DescribeCustomKeyStores": "

Gets information about custom key stores in the account and Region.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

By default, this operation returns information about all custom key stores in the account and Region. To get only information about a particular custom key store, use either the CustomKeyStoreName or CustomKeyStoreId parameter (but not both).

To determine whether the custom key store is connected to its CloudHSM cluster or external key store proxy, use the ConnectionState element in the response. If an attempt to connect the custom key store failed, the ConnectionState value is FAILED and the ConnectionErrorCode element in the response indicates the cause of the failure. For help interpreting the ConnectionErrorCode, see CustomKeyStoresListEntry.

Custom key stores have a DISCONNECTED connection state if the key store has never been connected or you used the DisconnectCustomKeyStore operation to disconnect it. Otherwise, the connection state is CONNECTED. If your custom key store connection state is CONNECTED but you are having trouble using it, verify that the backing store is active and available. For an CloudHSM key store, verify that the associated CloudHSM cluster is active and contains the minimum number of HSMs required for the operation, if any. For an external key store, verify that the external key store proxy and its associated external key manager are reachable and enabled.

For help repairing your CloudHSM key store, see the Troubleshooting CloudHSM key stores. For help repairing your external key store, see the Troubleshooting external key stores. Both topics are in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:DescribeCustomKeyStores (IAM policy)

Related operations:

", - "DescribeKey": "

Provides detailed information about a KMS key. You can run DescribeKey on a customer managed key or an Amazon Web Services managed key.

This detailed information includes the key ARN, creation date (and deletion date, if applicable), the key state, and the origin and expiration date (if any) of the key material. It includes fields, like KeySpec, that help you distinguish different types of KMS keys. It also displays the key usage (encryption, signing, or generating and verifying MACs) and the algorithms that the KMS key supports.

For multi-Region keys, DescribeKey displays the primary key and all related replica keys. For KMS keys in CloudHSM key stores, it includes information about the key store, such as the key store ID and the CloudHSM cluster ID. For KMS keys in external key stores, it includes the custom key store ID and the ID of the external key.

DescribeKey does not return the following information:

In general, DescribeKey is a non-mutating operation. It returns data about KMS keys, but doesn't change them. However, Amazon Web Services services use DescribeKey to create Amazon Web Services managed keys from a predefined Amazon Web Services alias with no key ID.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:DescribeKey (key policy)

Related operations:

", - "DisableKey": "

Sets the state of a KMS key to disabled. This change temporarily prevents use of the KMS key for cryptographic operations.

For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide .

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:DisableKey (key policy)

Related operations: EnableKey

", - "DisableKeyRotation": "

Disables automatic rotation of the key material of the specified symmetric encryption KMS key.

Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

You can enable (EnableKeyRotation) and disable automatic rotation of the key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not configurable. KMS always rotates the key material for every year. Rotation of Amazon Web Services owned KMS keys varies.

In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years to every year. For details, see EnableKeyRotation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:DisableKeyRotation (key policy)

Related operations:

", - "DisconnectCustomKeyStore": "

Disconnects the custom key store from its backing key store. This operation disconnects an CloudHSM key store from its associated CloudHSM cluster or disconnects an external key store from the external key store proxy that communicates with your external key manager.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

While a custom key store is disconnected, you can manage the custom key store and its KMS keys, but you cannot create or use its KMS keys. You can reconnect the custom key store at any time.

While a custom key store is disconnected, all attempts to create KMS keys in the custom key store or to use existing KMS keys in cryptographic operations will fail. This action can prevent users from storing and accessing sensitive data.

When you disconnect a custom key store, its ConnectionState changes to Disconnected. To find the connection state of a custom key store, use the DescribeCustomKeyStores operation. To reconnect a custom key store, use the ConnectCustomKeyStore operation.

If the operation succeeds, it returns a JSON object with no properties.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:DisconnectCustomKeyStore (IAM policy)

Related operations:

", - "EnableKey": "

Sets the key state of a KMS key to enabled. This allows you to use the KMS key for cryptographic operations.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:EnableKey (key policy)

Related operations: DisableKey

", - "EnableKeyRotation": "

Enables automatic rotation of the key material of the specified symmetric encryption KMS key.

When you enable automatic rotation of acustomer managed KMS key, KMS rotates the key material of the KMS key one year (approximately 365 days) from the enable date and every year thereafter. You can monitor rotation of the key material for your KMS keys in CloudTrail and Amazon CloudWatch. To disable rotation of the key material in a customer managed KMS key, use the DisableKeyRotation operation.

Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

You cannot enable or disable automatic rotation Amazon Web Services managed KMS keys. KMS always rotates the key material of Amazon Web Services managed keys every year. Rotation of Amazon Web Services owned KMS keys varies.

In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years (approximately 1,095 days) to every year (approximately 365 days).

New Amazon Web Services managed keys are automatically rotated one year after they are created, and approximately every year thereafter.

Existing Amazon Web Services managed keys are automatically rotated one year after their most recent rotation, and every year thereafter.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:EnableKeyRotation (key policy)

Related operations:

", - "Encrypt": "

Encrypts plaintext of up to 4,096 bytes using a KMS key. You can use a symmetric or asymmetric KMS key with a KeyUsage of ENCRYPT_DECRYPT.

You can use this operation to encrypt small amounts of arbitrary data, such as a personal identifier or database password, or other sensitive information. You don't need to use the Encrypt operation to encrypt a data key. The GenerateDataKey and GenerateDataKeyPair operations return a plaintext data key and an encrypted copy of that data key.

If you use a symmetric encryption KMS key, you can use an encryption context to add additional security to your encryption operation. If you specify an EncryptionContext when encrypting data, you must specify the same encryption context (a case-sensitive exact match) when decrypting the data. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

If you specify an asymmetric KMS key, you must also specify the encryption algorithm. The algorithm must be compatible with the KMS key spec.

When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.

You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.

The maximum size of the data that you can encrypt varies with the type of KMS key and the encryption algorithm that you choose.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:Encrypt (key policy)

Related operations:

", - "GenerateDataKey": "

Returns a unique symmetric data key for use outside of KMS. This operation returns a plaintext copy of the data key and a copy that is encrypted under a symmetric encryption KMS key that you specify. The bytes in the plaintext key are random; they are not related to the caller or the KMS key. You can use the plaintext key to encrypt your data outside of KMS and store the encrypted data key with the encrypted data.

To generate a data key, specify the symmetric encryption KMS key that will be used to encrypt the data key. You cannot use an asymmetric KMS key to encrypt data keys. To get the type of your KMS key, use the DescribeKey operation.

You must also specify the length of the data key. Use either the KeySpec or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data keys, use the KeySpec parameter.

To generate a 128-bit SM4 data key (China Regions only), specify a KeySpec value of AES_128 or a NumberOfBytes value of 16. The symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption key.

To get only an encrypted copy of the data key, use GenerateDataKeyWithoutPlaintext. To generate an asymmetric data key pair, use the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operation. To get a cryptographically secure random byte string, use GenerateRandom.

You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

GenerateDataKey also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateDataKey for an Amazon Web Services Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. GenerateDataKey returns a copy of the data key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the data key, the response includes a copy of the data key encrypted under the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

How to use your data key

We recommend that you use the following pattern to encrypt data locally in your application. You can write your own code or use a client-side encryption library, such as the Amazon Web Services Encryption SDK, the Amazon DynamoDB Encryption Client, or Amazon S3 client-side encryption to do these tasks for you.

To encrypt data outside of KMS:

  1. Use the GenerateDataKey operation to get a data key.

  2. Use the plaintext data key (in the Plaintext field of the response) to encrypt your data outside of KMS. Then erase the plaintext data key from memory.

  3. Store the encrypted data key (in the CiphertextBlob field of the response) with the encrypted data.

To decrypt data outside of KMS:

  1. Use the Decrypt operation to decrypt the encrypted data key. The operation returns a plaintext copy of the data key.

  2. Use the plaintext data key to decrypt data outside of KMS, then erase the plaintext data key from memory.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateDataKey (key policy)

Related operations:

", - "GenerateDataKeyPair": "

Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key, a plaintext private key, and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. You can use the data key pair to perform asymmetric cryptography and implement digital signatures outside of KMS. The bytes in the keys are random; they not related to the caller or to the KMS key that is used to encrypt the private key.

You can use the public key that GenerateDataKeyPair returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.

To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.

If you are using the data key pair to encrypt data, or for any operation where you don't immediately need a private key, consider using the GenerateDataKeyPairWithoutPlaintext operation. GenerateDataKeyPairWithoutPlaintext returns a plaintext public key and an encrypted private key, but omits the plaintext private key that you need only to decrypt ciphertext or sign a message. Later, when you need to decrypt the data or sign a message, use the Decrypt operation to decrypt the encrypted private key in the data key pair.

GenerateDataKeyPair returns a unique data key pair for each request. The bytes in the keys are random; they are not related to the caller or the KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280. The private key is a DER-encoded PKCS8 PrivateKeyInfo, as specified in RFC 5958.

GenerateDataKeyPair also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateDataKeyPair for an Amazon Web Services Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. GenerateDataKeyPair returns the public data key and a copy of the private data key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the private data key (PrivateKeyPlaintext), the response includes a copy of the private data key encrypted under the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateDataKeyPair (key policy)

Related operations:

", - "GenerateDataKeyPairWithoutPlaintext": "

Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. Unlike GenerateDataKeyPair, this operation does not return a plaintext private key. The bytes in the keys are random; they are not related to the caller or to the KMS key that is used to encrypt the private key.

You can use the public key that GenerateDataKeyPairWithoutPlaintext returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.

To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.

GenerateDataKeyPairWithoutPlaintext returns a unique data key pair for each request. The bytes in the key are not related to the caller or KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280.

You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateDataKeyPairWithoutPlaintext (key policy)

Related operations:

", - "GenerateDataKeyWithoutPlaintext": "

Returns a unique symmetric data key for use outside of KMS. This operation returns a data key that is encrypted under a symmetric encryption KMS key that you specify. The bytes in the key are random; they are not related to the caller or to the KMS key.

GenerateDataKeyWithoutPlaintext is identical to the GenerateDataKey operation except that it does not return a plaintext copy of the data key.

This operation is useful for systems that need to encrypt data at some point, but not immediately. When you need to encrypt the data, you call the Decrypt operation on the encrypted copy of the key.

It's also useful in distributed systems with different levels of trust. For example, you might store encrypted data in containers. One component of your system creates new containers and stores an encrypted data key with each container. Then, a different component puts the data into the containers. That component first decrypts the data key, uses the plaintext data key to encrypt data, puts the encrypted data into the container, and then destroys the plaintext data key. In this system, the component that creates the containers never sees the plaintext data key.

To request an asymmetric data key pair, use the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operations.

To generate a data key, you must specify the symmetric encryption KMS key that is used to encrypt the data key. You cannot use an asymmetric KMS key or a key in a custom key store to generate a data key. To get the type of your KMS key, use the DescribeKey operation.

You must also specify the length of the data key. Use either the KeySpec or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data keys, use the KeySpec parameter.

To generate an SM4 data key (China Regions only), specify a KeySpec value of AES_128 or NumberOfBytes value of 16. The symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption key.

If the operation succeeds, you will find the encrypted copy of the data key in the CiphertextBlob field.

You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateDataKeyWithoutPlaintext (key policy)

Related operations:

", - "GenerateMac": "

Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS key and a MAC algorithm that the key supports. HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.

You can use value that GenerateMac returns in the VerifyMac operation to demonstrate that the original message has not changed. Also, because a secret key is used to create the hash, you can verify that the party that generated the hash has the required secret key. You can also use the raw result to implement HMAC-based algorithms such as key derivation functions. This operation is part of KMS support for HMAC KMS keys. For details, see HMAC keys in KMS in the Key Management Service Developer Guide .

Best practices recommend that you limit the time during which any signing mechanism, including an HMAC, is effective. This deters an attack where the actor uses a signed message to establish validity repeatedly or long after the message is superseded. HMAC tags do not include a timestamp, but you can include a timestamp in the token or message to help you detect when its time to refresh the HMAC.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateMac (key policy)

Related operations: VerifyMac

", - "GenerateRandom": "

Returns a random byte string that is cryptographically secure.

You must use the NumberOfBytes parameter to specify the length of the random byte string. There is no default value for string length.

By default, the random byte string is generated in KMS. To generate the byte string in the CloudHSM cluster associated with an CloudHSM key store, use the CustomKeyStoreId parameter.

GenerateRandom also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateRandom for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. Instead of plaintext bytes, the response includes the plaintext bytes encrypted under the public key from the attestation document (CiphertextForRecipient).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

For more information about entropy and random number generation, see Key Management Service Cryptographic Details.

Cross-account use: Not applicable. GenerateRandom does not use any account-specific resources, such as KMS keys.

Required permissions: kms:GenerateRandom (IAM policy)

", - "GetKeyPolicy": "

Gets a key policy attached to the specified KMS key.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:GetKeyPolicy (key policy)

Related operations: PutKeyPolicy

", - "GetKeyRotationStatus": "

Gets a Boolean value that indicates whether automatic rotation of the key material is enabled for the specified KMS key.

When you enable automatic rotation for customer managed KMS keys, KMS rotates the key material of the KMS key one year (approximately 365 days) from the enable date and every year thereafter. You can monitor rotation of the key material for your KMS keys in CloudTrail and Amazon CloudWatch.

Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key..

You can enable (EnableKeyRotation) and disable automatic rotation (DisableKeyRotation) of the key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not configurable. KMS always rotates the key material in Amazon Web Services managed KMS keys every year. The key rotation status for Amazon Web Services managed KMS keys is always true.

In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years to every year. For details, see EnableKeyRotation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

Required permissions: kms:GetKeyRotationStatus (key policy)

Related operations:

", - "GetParametersForImport": "

Returns the public key and an import token you need to import or reimport key material for a KMS key.

By default, KMS keys are created with key material that KMS generates. This operation supports Importing key material, an advanced feature that lets you generate and import the cryptographic key material for a KMS key. For more information about importing key material into KMS, see Importing key material in the Key Management Service Developer Guide.

Before calling GetParametersForImport, use the CreateKey operation with an Origin value of EXTERNAL to create a KMS key with no key material. You can import key material for a symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric signing KMS key. You can also import key material into a multi-Region key of any supported type. However, you can't import key material into a KMS key in a custom key store. You can also use GetParametersForImport to get a public key and import token to reimport the original key material into a KMS key whose key material expired or was deleted.

GetParametersForImport returns the items that you need to import your key material.

The public key and its import token are permanently linked and must be used together. Each public key and import token set is valid for 24 hours. The expiration date and time appear in the ParametersValidTo field in the GetParametersForImport response. You cannot use an expired public key or import token in an ImportKeyMaterial request. If your key and token expire, send another GetParametersForImport request.

GetParametersForImport requires the following information:

You can use the same or a different public key spec and wrapping algorithm each time you import or reimport the same key material.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:GetParametersForImport (key policy)

Related operations:

", - "GetPublicKey": "

Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric KMS key, which never leaves KMS unencrypted, callers with kms:GetPublicKey permission can download the public key of an asymmetric KMS key. You can share the public key to allow others to encrypt messages and verify signatures outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

You do not need to download the public key. Instead, you can use the public key within KMS by calling the Encrypt, ReEncrypt, or Verify operations with the identifier of an asymmetric KMS key. When you use the public key within KMS, you benefit from the authentication, authorization, and logging that are part of every KMS operation. You also reduce of risk of encrypting data that cannot be decrypted. These features are not effective outside of KMS.

To help you use the public key safely outside of KMS, GetPublicKey returns important information about the public key in the response, including:

Although KMS cannot enforce these restrictions on external operations, it is crucial that you use this information to prevent the public key from being used improperly. For example, you can prevent a public signing key from being used encrypt data, or prevent a public key from being used with an encryption algorithm that is not supported by KMS. You can also avoid errors, such as using the wrong signing algorithm in a verification operation.

To verify a signature outside of KMS with an SM2 public key (China Regions only), you must specify the distinguishing ID. By default, KMS uses 1234567812345678 as the distinguishing ID. For more information, see Offline verification with SM2 key pairs.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GetPublicKey (key policy)

Related operations: CreateKey

", - "ImportKeyMaterial": "

Imports or reimports key material into an existing KMS key that was created without key material. ImportKeyMaterial also sets the expiration model and expiration date of the imported key material.

By default, KMS keys are created with key material that KMS generates. This operation supports Importing key material, an advanced feature that lets you generate and import the cryptographic key material for a KMS key. For more information about importing key material into KMS, see Importing key material in the Key Management Service Developer Guide.

After you successfully import key material into a KMS key, you can reimport the same key material into that KMS key, but you cannot import different key material. You might reimport key material to replace key material that expired or key material that you deleted. You might also reimport key material to change the expiration model or expiration date of the key material. Before reimporting key material, if necessary, call DeleteImportedKeyMaterial to delete the current imported key material.

Each time you import key material into KMS, you can determine whether (ExpirationModel) and when (ValidTo) the key material expires. To change the expiration of your key material, you must import it again, either by calling ImportKeyMaterial or using the import features of the KMS console.

Before calling ImportKeyMaterial:

Then, in an ImportKeyMaterial request, you submit your encrypted key material and import token. When calling this operation, you must specify the following values:

When this operation is successful, the key state of the KMS key changes from PendingImport to Enabled, and you can use the KMS key in cryptographic operations.

If this operation fails, use the exception to help determine the problem. If the error is related to the key material, the import token, or wrapping key, use GetParametersForImport to get a new public key and import token for the KMS key and repeat the import procedure. For help, see How To Import Key Material in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ImportKeyMaterial (key policy)

Related operations:

", - "ListAliases": "

Gets a list of aliases in the caller's Amazon Web Services account and region. For more information about aliases, see CreateAlias.

By default, the ListAliases operation returns all aliases in the account and region. To get only the aliases associated with a particular KMS key, use the KeyId parameter.

The ListAliases response can include aliases that you created and associated with your customer managed keys, and aliases that Amazon Web Services created and associated with Amazon Web Services managed keys in your account. You can recognize Amazon Web Services aliases because their names have the format aws/<service-name>, such as aws/dynamodb.

The response might also include aliases that have no TargetKeyId field. These are predefined aliases that Amazon Web Services has created but has not yet associated with a KMS key. Aliases that Amazon Web Services creates in your account, including predefined aliases, do not count against your KMS aliases quota.

Cross-account use: No. ListAliases does not return aliases in other Amazon Web Services accounts.

Required permissions: kms:ListAliases (IAM policy)

For details, see Controlling access to aliases in the Key Management Service Developer Guide.

Related operations:

", - "ListGrants": "

Gets a list of all grants for the specified KMS key.

You must specify the KMS key in all requests. You can filter the grant list by grant ID or grantee principal.

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

The GranteePrincipal field in the ListGrants response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an Amazon Web Services service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.

Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

Required permissions: kms:ListGrants (key policy)

Related operations:

", - "ListKeyPolicies": "

Gets the names of the key policies that are attached to a KMS key. This operation is designed to get policy names that you can use in a GetKeyPolicy operation. However, the only valid policy name is default.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ListKeyPolicies (key policy)

Related operations:

", - "ListKeys": "

Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ListKeys (IAM policy)

Related operations:

", - "ListResourceTags": "

Returns all tags on the specified KMS key.

For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference. For information about using tags in KMS, see Tagging keys.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ListResourceTags (key policy)

Related operations:

", - "ListRetirableGrants": "

Returns information about all grants in the Amazon Web Services account and Region that have the specified retiring principal.

You can specify any principal in your Amazon Web Services account. The grants that are returned include grants for KMS keys in your Amazon Web Services account and other Amazon Web Services accounts. You might use this operation to determine which grants you may retire. To retire a grant, use the RetireGrant operation.

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

Cross-account use: You must specify a principal in your Amazon Web Services account. However, this operation can return grants in any Amazon Web Services account. You do not need kms:ListRetirableGrants permission (or any other additional permission) in any Amazon Web Services account other than your own.

Required permissions: kms:ListRetirableGrants (IAM policy) in your Amazon Web Services account.

Related operations:

", - "PutKeyPolicy": "

Attaches a key policy to the specified KMS key.

For more information about key policies, see Key Policies in the Key Management Service Developer Guide. For help writing and formatting a JSON policy document, see the IAM JSON Policy Reference in the Identity and Access Management User Guide . For examples of adding a key policy in multiple programming languages, see Setting a key policy in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:PutKeyPolicy (key policy)

Related operations: GetKeyPolicy

", - "ReEncrypt": "

Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this operation to change the KMS key under which data is encrypted, such as when you manually rotate a KMS key or change the KMS key that protects a ciphertext. You can also use it to reencrypt ciphertext under the same KMS key, such as to change the encryption context of a ciphertext.

The ReEncrypt operation can decrypt ciphertext that was encrypted by using a KMS key in an KMS operation, such as Encrypt or GenerateDataKey. It can also decrypt ciphertext that was encrypted by using the public key of an asymmetric KMS key outside of KMS. However, it cannot decrypt ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption. These libraries return a ciphertext format that is incompatible with KMS.

When you use the ReEncrypt operation, you need to provide information for the decrypt operation and the subsequent encrypt operation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. The source KMS key and destination KMS key can be in different Amazon Web Services accounts. Either or both KMS keys can be in a different account than the caller. To specify a KMS key in a different account, you must use its key ARN or alias ARN.

Required permissions:

To permit reencryption from or to a KMS key, include the \"kms:ReEncrypt*\" permission in your key policy. This permission is automatically included in the key policy when you use the console to create a KMS key. But you must include it manually when you create a KMS key programmatically or when you use the PutKeyPolicy operation to set a key policy.

Related operations:

", - "ReplicateKey": "

Replicates a multi-Region key into the specified Region. This operation creates a multi-Region replica key based on a multi-Region primary key in a different Region of the same Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a different Region. To create a multi-Region primary key, use the CreateKey operation.

This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

A replica key is a fully-functional KMS key that can be used independently of its primary and peer replica keys. A primary key and its replica keys share properties that make them interoperable. They have the same key ID and key material. They also have the same key spec, key usage, key material origin, and automatic key rotation status. KMS automatically synchronizes these shared properties among related multi-Region keys. All other properties of a replica key can differ, including its key policy, tags, aliases, and Key states of KMS keys. KMS pricing and quotas for KMS keys apply to each primary key and replica key.

When this operation completes, the new replica key has a transient key state of Creating. This key state changes to Enabled (or PendingImport) after a few seconds when the process of creating the new replica key is complete. While the key state is Creating, you can manage key, but you cannot yet use it in cryptographic operations. If you are creating and using the replica key programmatically, retry on KMSInvalidStateException or call DescribeKey to check its KeyState value before using it. For details about the Creating key state, see Key states of KMS keys in the Key Management Service Developer Guide.

You cannot create more than one replica of a primary key in any Region. If the Region already includes a replica of the key you're trying to replicate, ReplicateKey returns an AlreadyExistsException error. If the key state of the existing replica is PendingDeletion, you can cancel the scheduled key deletion (CancelKeyDeletion) or wait for the key to be deleted. The new replica key you create will have the same shared properties as the original replica key.

The CloudTrail log of a ReplicateKey operation records a ReplicateKey operation in the primary key's Region and a CreateKey operation in the replica key's Region.

If you replicate a multi-Region primary key with imported key material, the replica key is created with no key material. You must import the same key material that you imported into the primary key. For details, see Importing key material into multi-Region keys in the Key Management Service Developer Guide.

To convert a replica key to a primary key, use the UpdatePrimaryRegion operation.

ReplicateKey uses different default values for the KeyPolicy and Tags parameters than those used in the KMS console. For details, see the parameter descriptions.

Cross-account use: No. You cannot use this operation to create a replica key in a different Amazon Web Services account.

Required permissions:

Related operations

", - "RetireGrant": "

Deletes a grant. Typically, you retire a grant when you no longer need its permissions. To identify the grant to retire, use a grant token, or both the grant ID and a key identifier (key ID or key ARN) of the KMS key. The CreateGrant operation returns both values.

This operation can be called by the retiring principal for a grant, by the grantee principal if the grant allows the RetireGrant operation, and by the Amazon Web Services account in which the grant is created. It can also be called by principals to whom permission for retiring a grant is delegated. For details, see Retiring and revoking grants in the Key Management Service Developer Guide.

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

Cross-account use: Yes. You can retire a grant on a KMS key in a different Amazon Web Services account.

Required permissions::Permission to retire a grant is determined primarily by the grant. For details, see Retiring and revoking grants in the Key Management Service Developer Guide.

Related operations:

", - "RevokeGrant": "

Deletes the specified grant. You revoke a grant to terminate the permissions that the grant allows. For more information, see Retiring and revoking grants in the Key Management Service Developer Guide .

When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. For details, see Eventual consistency in the Key Management Service Developer Guide .

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

Required permissions: kms:RevokeGrant (key policy).

Related operations:

", - "ScheduleKeyDeletion": "

Schedules the deletion of a KMS key. By default, KMS applies a waiting period of 30 days, but you can specify a waiting period of 7-30 days. When this operation is successful, the key state of the KMS key changes to PendingDeletion and the key can't be used in any cryptographic operations. It remains in this state for the duration of the waiting period. Before the waiting period ends, you can use CancelKeyDeletion to cancel the deletion of the KMS key. After the waiting period ends, KMS deletes the KMS key, its key material, and all KMS data associated with it, including all aliases that refer to it.

Deleting a KMS key is a destructive and potentially dangerous operation. When a KMS key is deleted, all data that was encrypted under the KMS key is unrecoverable. (The only exception is a multi-Region replica key, or an asymmetric or HMAC KMS key with imported key material.) To prevent the use of a KMS key without deleting it, use DisableKey.

You can schedule the deletion of a multi-Region primary key and its replica keys at any time. However, KMS will not delete a multi-Region primary key with existing replica keys. If you schedule the deletion of a primary key with replicas, its key state changes to PendingReplicaDeletion and it cannot be replicated or used in cryptographic operations. This status can continue indefinitely. When the last of its replicas keys is deleted (not just scheduled), the key state of the primary key changes to PendingDeletion and its waiting period (PendingWindowInDays) begins. For details, see Deleting multi-Region keys in the Key Management Service Developer Guide.

When KMS deletes a KMS key from an CloudHSM key store, it makes a best effort to delete the associated key material from the associated CloudHSM cluster. However, you might need to manually delete the orphaned key material from the cluster and its backups. Deleting a KMS key from an external key store has no effect on the associated external key. However, for both types of custom key stores, deleting a KMS key is destructive and irreversible. You cannot decrypt ciphertext encrypted under the KMS key by using only its associated external key or CloudHSM key. Also, you cannot recreate a KMS key in an external key store by creating a new KMS key with the same key material.

For more information about scheduling a KMS key for deletion, see Deleting KMS keys in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ScheduleKeyDeletion (key policy)

Related operations

", - "Sign": "

Creates a digital signature for a message or message digest by using the private key in an asymmetric signing KMS key. To verify the signature, use the Verify operation, or use the public key in the same asymmetric KMS key outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

Digital signatures are generated and verified by using asymmetric key pair, such as an RSA or ECC pair that is represented by an asymmetric KMS key. The key owner (or an authorized user) uses their private key to sign a message. Anyone with the public key can verify that the message was signed with that particular private key and that the message hasn't changed since it was signed.

To use the Sign operation, provide the following information:

When signing a message, be sure to record the KMS key and the signing algorithm. This information is required to verify the signature.

Best practices recommend that you limit the time during which any signature is effective. This deters an attack where the actor uses a signed message to establish validity repeatedly or long after the message is superseded. Signatures do not include a timestamp, but you can include a timestamp in the signed message to help you detect when its time to refresh the signature.

To verify the signature that this operation generates, use the Verify operation. Or use the GetPublicKey operation to download the public key and then use the public key to verify the signature outside of KMS.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:Sign (key policy)

Related operations: Verify

", - "TagResource": "

Adds or edits tags on a customer managed key.

Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

Each tag consists of a tag key and a tag value, both of which are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.

You can use this operation to tag a customer managed key, but you cannot tag an Amazon Web Services managed key, an Amazon Web Services owned key, a custom key store, or an alias.

You can also add tags to a KMS key while creating it (CreateKey) or replicating it (ReplicateKey).

For information about using tags in KMS, see Tagging keys. For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:TagResource (key policy)

Related operations

", - "UntagResource": "

Deletes tags from a customer managed key. To delete a tag, specify the tag key and the KMS key.

Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

When it succeeds, the UntagResource operation doesn't return any output. Also, if the specified tag key isn't found on the KMS key, it doesn't throw an exception or return a response. To confirm that the operation worked, use the ListResourceTags operation.

For information about using tags in KMS, see Tagging keys. For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:UntagResource (key policy)

Related operations

", - "UpdateAlias": "

Associates an existing KMS alias with a different KMS key. Each alias is associated with only one KMS key at a time, although a KMS key can have multiple aliases. The alias and the KMS key must be in the same Amazon Web Services account and Region.

Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

The current and new KMS key must be the same type (both symmetric or both asymmetric or both HMAC), and they must have the same key usage. This restriction prevents errors in code that uses aliases. If you must assign an alias to a different type of KMS key, use DeleteAlias to delete the old alias and CreateAlias to create a new alias.

You cannot use UpdateAlias to change an alias name. To change an alias name, use DeleteAlias to delete the old alias and CreateAlias to create a new alias.

Because an alias is not a property of a KMS key, you can create, update, and delete the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the DescribeKey operation. To get the aliases of all KMS keys in the account, use the ListAliases operation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions

For details, see Controlling access to aliases in the Key Management Service Developer Guide.

Related operations:

", - "UpdateCustomKeyStore": "

Changes the properties of a custom key store. You can use this operation to change the properties of an CloudHSM key store or an external key store.

Use the required CustomKeyStoreId parameter to identify the custom key store. Use the remaining optional parameters to change its properties. This operation does not return any property values. To verify the updated property values, use the DescribeCustomKeyStores operation.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

When updating the properties of an external key store, verify that the updated settings connect your key store, via the external key store proxy, to the same external key manager as the previous settings, or to a backup or snapshot of the external key manager with the same cryptographic keys. If the updated connection settings fail, you can fix them and retry, although an extended delay might disrupt Amazon Web Services services. However, if KMS permanently loses its access to cryptographic keys, ciphertext encrypted under those keys is unrecoverable.

For external key stores:

Some external key managers provide a simpler method for updating an external key store. For details, see your external key manager documentation.

When updating an external key store in the KMS console, you can upload a JSON-based proxy configuration file with the desired values. You cannot upload the proxy configuration file to the UpdateCustomKeyStore operation. However, you can use the file to help you determine the correct values for the UpdateCustomKeyStore parameters.

For an CloudHSM key store, you can use this operation to change the custom key store friendly name (NewCustomKeyStoreName), to tell KMS about a change to the kmsuser crypto user password (KeyStorePassword), or to associate the custom key store with a different, but related, CloudHSM cluster (CloudHsmClusterId). To update any property of an CloudHSM key store, the ConnectionState of the CloudHSM key store must be DISCONNECTED.

For an external key store, you can use this operation to change the custom key store friendly name (NewCustomKeyStoreName), or to tell KMS about a change to the external key store proxy authentication credentials (XksProxyAuthenticationCredential), connection method (XksProxyConnectivity), external proxy endpoint (XksProxyUriEndpoint) and path (XksProxyUriPath). For external key stores with an XksProxyConnectivity of VPC_ENDPOINT_SERVICE, you can also update the Amazon VPC endpoint service name (XksProxyVpcEndpointServiceName). To update most properties of an external key store, the ConnectionState of the external key store must be DISCONNECTED. However, you can update the CustomKeyStoreName, XksProxyAuthenticationCredential, and XksProxyUriPath of an external key store when it is in the CONNECTED or DISCONNECTED state.

If your update requires a DISCONNECTED state, before using UpdateCustomKeyStore, use the DisconnectCustomKeyStore operation to disconnect the custom key store. After the UpdateCustomKeyStore operation completes, use the ConnectCustomKeyStore to reconnect the custom key store. To find the ConnectionState of the custom key store, use the DescribeCustomKeyStores operation.

Before updating the custom key store, verify that the new values allow KMS to connect the custom key store to its backing key store. For example, before you change the XksProxyUriPath value, verify that the external key store proxy is reachable at the new path.

If the operation succeeds, it returns a JSON object with no properties.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:UpdateCustomKeyStore (IAM policy)

Related operations:

", - "UpdateKeyDescription": "

Updates the description of a KMS key. To see the description of a KMS key, use DescribeKey.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:UpdateKeyDescription (key policy)

Related operations

", - "UpdatePrimaryRegion": "

Changes the primary key of a multi-Region key.

This operation changes the replica key in the specified Region to a primary key and changes the former primary key to a replica key. For example, suppose you have a primary key in us-east-1 and a replica key in eu-west-2. If you run UpdatePrimaryRegion with a PrimaryRegion value of eu-west-2, the primary key is now the key in eu-west-2, and the key in us-east-1 becomes a replica key. For details, see Updating the primary Region in the Key Management Service Developer Guide.

This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

The primary key of a multi-Region key is the source for properties that are always shared by primary and replica keys, including the key material, key ID, key spec, key usage, key material origin, and automatic key rotation. It's the only key that can be replicated. You cannot delete the primary key until all replica keys are deleted.

The key ID and primary Region that you specify uniquely identify the replica key that will become the primary key. The primary Region must already have a replica key. This operation does not create a KMS key in the specified Region. To find the replica keys, use the DescribeKey operation on the primary key or any replica key. To create a replica key, use the ReplicateKey operation.

You can run this operation while using the affected multi-Region keys in cryptographic operations. This operation should not delay, interrupt, or cause failures in cryptographic operations.

Even after this operation completes, the process of updating the primary Region might still be in progress for a few more seconds. Operations such as DescribeKey might display both the old and new primary keys as replicas. The old and new primary keys have a transient key state of Updating. The original key state is restored when the update is complete. While the key state is Updating, you can use the keys in cryptographic operations, but you cannot replicate the new primary key or perform certain management operations, such as enabling or disabling these keys. For details about the Updating key state, see Key states of KMS keys in the Key Management Service Developer Guide.

This operation does not return any output. To verify that primary key is changed, use the DescribeKey operation.

Cross-account use: No. You cannot use this operation in a different Amazon Web Services account.

Required permissions:

Related operations

", - "Verify": "

Verifies a digital signature that was generated by the Sign operation.

Verification confirms that an authorized user signed the message with the specified KMS key and signing algorithm, and the message hasn't changed since it was signed. If the signature is verified, the value of the SignatureValid field in the response is True. If the signature verification fails, the Verify operation fails with an KMSInvalidSignatureException exception.

A digital signature is generated by using the private key in an asymmetric KMS key. The signature is verified by using the public key in the same asymmetric KMS key. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

To use the Verify operation, specify the same asymmetric KMS key, message, and signing algorithm that were used to produce the signature. The message type does not need to be the same as the one used for signing, but it must indicate whether the value of the Message parameter should be hashed as part of the verification process.

You can also verify the digital signature by using the public key of the KMS key outside of KMS. Use the GetPublicKey operation to download the public key in the asymmetric KMS key and then use the public key to verify the signature outside of KMS. The advantage of using the Verify operation is that it is performed within KMS. As a result, it's easy to call, the operation is performed within the FIPS boundary, it is logged in CloudTrail, and you can use key policy and IAM policy to determine who is authorized to use the KMS key to verify signatures.

To verify a signature outside of KMS with an SM2 public key (China Regions only), you must specify the distinguishing ID. By default, KMS uses 1234567812345678 as the distinguishing ID. For more information, see Offline verification with SM2 key pairs.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:Verify (key policy)

Related operations: Sign

", - "VerifyMac": "

Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC KMS key, and MAC algorithm. To verify the HMAC, VerifyMac computes an HMAC using the message, HMAC KMS key, and MAC algorithm that you specify, and compares the computed HMAC to the HMAC that you specify. If the HMACs are identical, the verification succeeds; otherwise, it fails. Verification indicates that the message hasn't changed since the HMAC was calculated, and the specified key was used to generate and verify the HMAC.

HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.

This operation is part of KMS support for HMAC KMS keys. For details, see HMAC keys in KMS in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:VerifyMac (key policy)

Related operations: GenerateMac

" + "CancelKeyDeletion": "

Cancels the deletion of a KMS key. When this operation succeeds, the key state of the KMS key is Disabled. To enable the KMS key, use EnableKey.

For more information about scheduling and canceling deletion of a KMS key, see Deleting KMS keys in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:CancelKeyDeletion (key policy)

Related operations: ScheduleKeyDeletion

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ConnectCustomKeyStore": "

Connects or reconnects a custom key store to its backing key store. For an CloudHSM key store, ConnectCustomKeyStore connects the key store to its associated CloudHSM cluster. For an external key store, ConnectCustomKeyStore connects the key store to the external key store proxy that communicates with your external key manager.

The custom key store must be connected before you can create KMS keys in the key store or use the KMS keys it contains. You can disconnect and reconnect a custom key store at any time.

The connection process for a custom key store can take an extended amount of time to complete. This operation starts the connection process, but it does not wait for it to complete. When it succeeds, this operation quickly returns an HTTP 200 response and a JSON object with no properties. However, this response does not indicate that the custom key store is connected. To get the connection state of the custom key store, use the DescribeCustomKeyStores operation.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

The ConnectCustomKeyStore operation might fail for various reasons. To find the reason, use the DescribeCustomKeyStores operation and see the ConnectionErrorCode in the response. For help interpreting the ConnectionErrorCode, see CustomKeyStoresListEntry.

To fix the failure, use the DisconnectCustomKeyStore operation to disconnect the custom key store, correct the error, use the UpdateCustomKeyStore operation if necessary, and then use ConnectCustomKeyStore again.

CloudHSM key store

During the connection process for an CloudHSM key store, KMS finds the CloudHSM cluster that is associated with the custom key store, creates the connection infrastructure, connects to the cluster, logs into the CloudHSM client as the kmsuser CU, and rotates its password.

To connect an CloudHSM key store, its associated CloudHSM cluster must have at least one active HSM. To get the number of active HSMs in a cluster, use the DescribeClusters operation. To add HSMs to the cluster, use the CreateHsm operation. Also, the kmsuser crypto user (CU) must not be logged into the cluster. This prevents KMS from using this account to log in.

If you are having trouble connecting or disconnecting a CloudHSM key store, see Troubleshooting an CloudHSM key store in the Key Management Service Developer Guide.

External key store

When you connect an external key store that uses public endpoint connectivity, KMS tests its ability to communicate with your external key manager by sending a request via the external key store proxy.

When you connect to an external key store that uses VPC endpoint service connectivity, KMS establishes the networking elements that it needs to communicate with your external key manager via the external key store proxy. This includes creating an interface endpoint to the VPC endpoint service and a private hosted zone for traffic between KMS and the VPC endpoint service.

To connect an external key store, KMS must be able to connect to the external key store proxy, the external key store proxy must be able to communicate with your external key manager, and the external key manager must be available for cryptographic operations.

If you are having trouble connecting or disconnecting an external key store, see Troubleshooting an external key store in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:ConnectCustomKeyStore (IAM policy)

Related operations

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "CreateAlias": "

Creates a friendly name for a KMS key.

Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

You can use an alias to identify a KMS key in the KMS console, in the DescribeKey operation and in cryptographic operations, such as Encrypt and GenerateDataKey. You can also change the KMS key that's associated with the alias (UpdateAlias) or delete the alias (DeleteAlias) at any time. These operations don't affect the underlying KMS key.

You can associate the alias with any customer managed key in the same Amazon Web Services Region. Each alias is associated with only one KMS key at a time, but a KMS key can have multiple aliases. A valid KMS key is required. You can't create an alias without a KMS key.

The alias must be unique in the account and Region, but you can have aliases with the same name in different Regions. For detailed information about aliases, see Using aliases in the Key Management Service Developer Guide.

This operation does not return a response. To get the alias that you created, use the ListAliases operation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.

Required permissions

For details, see Controlling access to aliases in the Key Management Service Developer Guide.

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "CreateCustomKeyStore": "

Creates a custom key store backed by a key store that you own and manage. When you use a KMS key in a custom key store for a cryptographic operation, the cryptographic operation is actually performed in your key store using your keys. KMS supports CloudHSM key stores backed by an CloudHSM cluster and external key stores backed by an external key store proxy and external key manager outside of Amazon Web Services.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

Before you create the custom key store, the required elements must be in place and operational. We recommend that you use the test tools that KMS provides to verify the configuration your external key store proxy. For details about the required elements and verification tests, see Assemble the prerequisites (for CloudHSM key stores) or Assemble the prerequisites (for external key stores) in the Key Management Service Developer Guide.

To create a custom key store, use the following parameters.

For external key stores:

Some external key managers provide a simpler method for creating an external key store. For details, see your external key manager documentation.

When creating an external key store in the KMS console, you can upload a JSON-based proxy configuration file with the desired values. You cannot use a proxy configuration with the CreateCustomKeyStore operation. However, you can use the values in the file to help you determine the correct values for the CreateCustomKeyStore parameters.

When the operation completes successfully, it returns the ID of the new custom key store. Before you can use your new custom key store, you need to use the ConnectCustomKeyStore operation to connect a new CloudHSM key store to its CloudHSM cluster, or to connect a new external key store to the external key store proxy for your external key manager. Even if you are not going to use your custom key store immediately, you might want to connect it to verify that all settings are correct and then disconnect it until you are ready to use it.

For help with failures, see Troubleshooting a custom key store in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:CreateCustomKeyStore (IAM policy).

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "CreateGrant": "

Adds a grant to a KMS key.

A grant is a policy instrument that allows Amazon Web Services principals to use KMS keys in cryptographic operations. It also can allow them to view a KMS key (DescribeKey) and create and manage grants. When authorizing access to a KMS key, grants are considered along with key policies and IAM policies. Grants are often used for temporary permissions because you can create one, use its permissions, and delete it without changing your key policies or IAM policies.

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

The CreateGrant operation returns a GrantToken and a GrantId.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

Required permissions: kms:CreateGrant (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "CreateKey": "

Creates a unique customer managed KMS key in your Amazon Web Services account and Region. You can use a KMS key in cryptographic operations, such as encryption and signing. Some Amazon Web Services services let you use KMS keys that you create and manage to protect your service resources.

A KMS key is a logical representation of a cryptographic key. In addition to the key material used in cryptographic operations, a KMS key includes metadata, such as the key ID, key policy, creation date, description, and key state. For details, see Managing keys in the Key Management Service Developer Guide

Use the parameters of CreateKey to specify the type of KMS key, the source of its key material, its key policy, description, tags, and other properties.

KMS has replaced the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.

To create different types of KMS keys, use the following guidance:

Symmetric encryption KMS key

By default, CreateKey creates a symmetric encryption KMS key with key material that KMS generates. This is the basic and most widely used type of KMS key, and provides the best performance.

To create a symmetric encryption KMS key, you don't need to specify any parameters. The default value for KeySpec, SYMMETRIC_DEFAULT, the default value for KeyUsage, ENCRYPT_DECRYPT, and the default value for Origin, AWS_KMS, create a symmetric encryption KMS key with KMS key material.

If you need a key for basic encryption and decryption or you are creating a KMS key to protect your resources in an Amazon Web Services service, create a symmetric encryption KMS key. The key material in a symmetric encryption key never leaves KMS unencrypted. You can use a symmetric encryption KMS key to encrypt and decrypt data up to 4,096 bytes, but they are typically used to generate data keys and data keys pairs. For details, see GenerateDataKey and GenerateDataKeyPair.

Asymmetric KMS keys

To create an asymmetric KMS key, use the KeySpec parameter to specify the type of key material in the KMS key. Then, use the KeyUsage parameter to determine whether the KMS key will be used to encrypt and decrypt or sign and verify. You can't change these properties after the KMS key is created.

Asymmetric KMS keys contain an RSA key pair, Elliptic Curve (ECC) key pair, or an SM2 key pair (China Regions only). The private key in an asymmetric KMS key never leaves KMS unencrypted. However, you can use the GetPublicKey operation to download the public key so it can be used outside of KMS. KMS keys with RSA or SM2 key pairs can be used to encrypt or decrypt data or sign and verify messages (but not both). KMS keys with ECC key pairs can be used only to sign and verify messages. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

HMAC KMS key

To create an HMAC KMS key, set the KeySpec parameter to a key spec value for HMAC KMS keys. Then set the KeyUsage parameter to GENERATE_VERIFY_MAC. You must set the key usage even though GENERATE_VERIFY_MAC is the only valid key usage value for HMAC KMS keys. You can't change these properties after the KMS key is created.

HMAC KMS keys are symmetric keys that never leave KMS unencrypted. You can use HMAC keys to generate (GenerateMac) and verify (VerifyMac) HMAC codes for messages up to 4096 bytes.

Multi-Region primary keys
Imported key material

To create a multi-Region primary key in the local Amazon Web Services Region, use the MultiRegion parameter with a value of True. To create a multi-Region replica key, that is, a KMS key with the same key ID and key material as a primary key, but in a different Amazon Web Services Region, use the ReplicateKey operation. To change a replica key to a primary key, and its primary key to a replica key, use the UpdatePrimaryRegion operation.

You can create multi-Region KMS keys for all supported KMS key types: symmetric encryption KMS keys, HMAC KMS keys, asymmetric encryption KMS keys, and asymmetric signing KMS keys. You can also create multi-Region keys with imported key material. However, you can't create multi-Region keys in a custom key store.

This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

To import your own key material into a KMS key, begin by creating a KMS key with no key material. To do this, use the Origin parameter of CreateKey with a value of EXTERNAL. Next, use GetParametersForImport operation to get a public key and import token. Use the wrapping public key to encrypt your key material. Then, use ImportKeyMaterial with your import token to import the key material. For step-by-step instructions, see Importing Key Material in the Key Management Service Developer Guide .

You can import key material into KMS keys of all supported KMS key types: symmetric encryption KMS keys, HMAC KMS keys, asymmetric encryption KMS keys, and asymmetric signing KMS keys. You can also create multi-Region keys with imported key material. However, you can't import key material into a KMS key in a custom key store.

To create a multi-Region primary key with imported key material, use the Origin parameter of CreateKey with a value of EXTERNAL and the MultiRegion parameter with a value of True. To create replicas of the multi-Region primary key, use the ReplicateKey operation. For instructions, see Importing key material into multi-Region keys. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

Custom key store

A custom key store lets you protect your Amazon Web Services resources using keys in a backing key store that you own and manage. When you request a cryptographic operation with a KMS key in a custom key store, the operation is performed in the backing key store using its cryptographic keys.

KMS supports CloudHSM key stores backed by an CloudHSM cluster and external key stores backed by an external key manager outside of Amazon Web Services. When you create a KMS key in an CloudHSM key store, KMS generates an encryption key in the CloudHSM cluster and associates it with the KMS key. When you create a KMS key in an external key store, you specify an existing encryption key in the external key manager.

Some external key managers provide a simpler method for creating a KMS key in an external key store. For details, see your external key manager documentation.

Before you create a KMS key in a custom key store, the ConnectionState of the key store must be CONNECTED. To connect the custom key store, use the ConnectCustomKeyStore operation. To find the ConnectionState, use the DescribeCustomKeyStores operation.

To create a KMS key in a custom key store, use the CustomKeyStoreId. Use the default KeySpec value, SYMMETRIC_DEFAULT, and the default KeyUsage value, ENCRYPT_DECRYPT to create a symmetric encryption key. No other key type is supported in a custom key store.

To create a KMS key in an CloudHSM key store, use the Origin parameter with a value of AWS_CLOUDHSM. The CloudHSM cluster that is associated with the custom key store must have at least two active HSMs in different Availability Zones in the Amazon Web Services Region.

To create a KMS key in an external key store, use the Origin parameter with a value of EXTERNAL_KEY_STORE and an XksKeyId parameter that identifies an existing external key.

Some external key managers provide a simpler method for creating a KMS key in an external key store. For details, see your external key manager documentation.

Cross-account use: No. You cannot use this operation to create a KMS key in a different Amazon Web Services account.

Required permissions: kms:CreateKey (IAM policy). To use the Tags parameter, kms:TagResource (IAM policy). For examples and information about related permissions, see Allow a user to create KMS keys in the Key Management Service Developer Guide.

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "Decrypt": "

Decrypts ciphertext that was encrypted by a KMS key using any of the following operations:

You can use this operation to decrypt ciphertext that was encrypted under a symmetric encryption KMS key or an asymmetric encryption KMS key. When the KMS key is asymmetric, you must specify the KMS key and the encryption algorithm that was used to encrypt the ciphertext. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

The Decrypt operation also decrypts ciphertext that was encrypted outside of KMS by the public key in an KMS asymmetric KMS key. However, it cannot decrypt symmetric ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption. These libraries return a ciphertext format that is incompatible with KMS.

If the ciphertext was encrypted under a symmetric encryption KMS key, the KeyId parameter is optional. KMS can get this information from metadata that it adds to the symmetric ciphertext blob. This feature adds durability to your implementation by ensuring that authorized users can decrypt ciphertext decades after it was encrypted, even if they've lost track of the key ID. However, specifying the KMS key is always recommended as a best practice. When you use the KeyId parameter to specify a KMS key, KMS only uses the KMS key you specify. If the ciphertext was encrypted under a different KMS key, the Decrypt operation fails. This practice ensures that you use the KMS key that you intend.

Whenever possible, use key policies to give users permission to call the Decrypt operation on a particular KMS key, instead of using &IAM; policies. Otherwise, you might create an &IAM; policy that gives the user Decrypt permission on all KMS keys. This user could decrypt ciphertext that was encrypted by KMS keys in other accounts if the key policy for the cross-account KMS key permits it. If you must use an IAM policy for Decrypt permissions, limit the user to particular KMS keys or particular trusted accounts. For details, see Best practices for IAM policies in the Key Management Service Developer Guide.

Decrypt also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call Decrypt for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. Instead of the plaintext data, the response includes the plaintext data encrypted with the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. If you use the KeyId parameter to identify a KMS key in a different Amazon Web Services account, specify the key ARN or the alias ARN of the KMS key.

Required permissions: kms:Decrypt (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "DeleteAlias": "

Deletes the specified alias.

Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

Because an alias is not a property of a KMS key, you can delete and change the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the DescribeKey operation. To get the aliases of all KMS keys, use the ListAliases operation.

Each KMS key can have multiple aliases. To change the alias of a KMS key, use DeleteAlias to delete the current alias and CreateAlias to create a new alias. To associate an existing alias with a different KMS key, call UpdateAlias.

Cross-account use: No. You cannot perform this operation on an alias in a different Amazon Web Services account.

Required permissions

For details, see Controlling access to aliases in the Key Management Service Developer Guide.

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "DeleteCustomKeyStore": "

Deletes a custom key store. This operation does not affect any backing elements of the custom key store. It does not delete the CloudHSM cluster that is associated with an CloudHSM key store, or affect any users or keys in the cluster. For an external key store, it does not affect the external key store proxy, external key manager, or any external keys.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

The custom key store that you delete cannot contain any KMS keys. Before deleting the key store, verify that you will never need to use any of the KMS keys in the key store for any cryptographic operations. Then, use ScheduleKeyDeletion to delete the KMS keys from the key store. After the required waiting period expires and all KMS keys are deleted from the custom key store, use DisconnectCustomKeyStore to disconnect the key store from KMS. Then, you can delete the custom key store.

For keys in an CloudHSM key store, the ScheduleKeyDeletion operation makes a best effort to delete the key material from the associated cluster. However, you might need to manually delete the orphaned key material from the cluster and its backups. KMS never creates, manages, or deletes cryptographic keys in the external key manager associated with an external key store. You must manage them using your external key manager tools.

Instead of deleting the custom key store, consider using the DisconnectCustomKeyStore operation to disconnect the custom key store from its backing key store. While the key store is disconnected, you cannot create or use the KMS keys in the key store. But, you do not need to delete KMS keys and you can reconnect a disconnected custom key store at any time.

If the operation succeeds, it returns a JSON object with no properties.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:DeleteCustomKeyStore (IAM policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "DeleteImportedKeyMaterial": "

Deletes key material that was previously imported. This operation makes the specified KMS key temporarily unusable. To restore the usability of the KMS key, reimport the same key material. For more information about importing key material into KMS, see Importing Key Material in the Key Management Service Developer Guide.

When the specified KMS key is in the PendingDeletion state, this operation does not change the KMS key's state. Otherwise, it changes the KMS key's state to PendingImport.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:DeleteImportedKeyMaterial (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "DescribeCustomKeyStores": "

Gets information about custom key stores in the account and Region.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

By default, this operation returns information about all custom key stores in the account and Region. To get only information about a particular custom key store, use either the CustomKeyStoreName or CustomKeyStoreId parameter (but not both).

To determine whether the custom key store is connected to its CloudHSM cluster or external key store proxy, use the ConnectionState element in the response. If an attempt to connect the custom key store failed, the ConnectionState value is FAILED and the ConnectionErrorCode element in the response indicates the cause of the failure. For help interpreting the ConnectionErrorCode, see CustomKeyStoresListEntry.

Custom key stores have a DISCONNECTED connection state if the key store has never been connected or you used the DisconnectCustomKeyStore operation to disconnect it. Otherwise, the connection state is CONNECTED. If your custom key store connection state is CONNECTED but you are having trouble using it, verify that the backing store is active and available. For an CloudHSM key store, verify that the associated CloudHSM cluster is active and contains the minimum number of HSMs required for the operation, if any. For an external key store, verify that the external key store proxy and its associated external key manager are reachable and enabled.

For help repairing your CloudHSM key store, see the Troubleshooting CloudHSM key stores. For help repairing your external key store, see the Troubleshooting external key stores. Both topics are in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:DescribeCustomKeyStores (IAM policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "DescribeKey": "

Provides detailed information about a KMS key. You can run DescribeKey on a customer managed key or an Amazon Web Services managed key.

This detailed information includes the key ARN, creation date (and deletion date, if applicable), the key state, and the origin and expiration date (if any) of the key material. It includes fields, like KeySpec, that help you distinguish different types of KMS keys. It also displays the key usage (encryption, signing, or generating and verifying MACs) and the algorithms that the KMS key supports.

For multi-Region keys, DescribeKey displays the primary key and all related replica keys. For KMS keys in CloudHSM key stores, it includes information about the key store, such as the key store ID and the CloudHSM cluster ID. For KMS keys in external key stores, it includes the custom key store ID and the ID of the external key.

DescribeKey does not return the following information:

In general, DescribeKey is a non-mutating operation. It returns data about KMS keys, but doesn't change them. However, Amazon Web Services services use DescribeKey to create Amazon Web Services managed keys from a predefined Amazon Web Services alias with no key ID.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:DescribeKey (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "DisableKey": "

Sets the state of a KMS key to disabled. This change temporarily prevents use of the KMS key for cryptographic operations.

For more information about how key state affects the use of a KMS key, see Key states of KMS keys in the Key Management Service Developer Guide .

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:DisableKey (key policy)

Related operations: EnableKey

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "DisableKeyRotation": "

Disables automatic rotation of the key material of the specified symmetric encryption KMS key.

Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

You can enable (EnableKeyRotation) and disable automatic rotation of the key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not configurable. KMS always rotates the key material for every year. Rotation of Amazon Web Services owned KMS keys varies.

In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years to every year. For details, see EnableKeyRotation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:DisableKeyRotation (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "DisconnectCustomKeyStore": "

Disconnects the custom key store from its backing key store. This operation disconnects an CloudHSM key store from its associated CloudHSM cluster or disconnects an external key store from the external key store proxy that communicates with your external key manager.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

While a custom key store is disconnected, you can manage the custom key store and its KMS keys, but you cannot create or use its KMS keys. You can reconnect the custom key store at any time.

While a custom key store is disconnected, all attempts to create KMS keys in the custom key store or to use existing KMS keys in cryptographic operations will fail. This action can prevent users from storing and accessing sensitive data.

When you disconnect a custom key store, its ConnectionState changes to Disconnected. To find the connection state of a custom key store, use the DescribeCustomKeyStores operation. To reconnect a custom key store, use the ConnectCustomKeyStore operation.

If the operation succeeds, it returns a JSON object with no properties.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:DisconnectCustomKeyStore (IAM policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "EnableKey": "

Sets the key state of a KMS key to enabled. This allows you to use the KMS key for cryptographic operations.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:EnableKey (key policy)

Related operations: DisableKey

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "EnableKeyRotation": "

Enables automatic rotation of the key material of the specified symmetric encryption KMS key.

When you enable automatic rotation of a customer managed KMS key, KMS rotates the key material of the KMS key one year (approximately 365 days) from the enable date and every year thereafter. You can monitor rotation of the key material for your KMS keys in CloudTrail and Amazon CloudWatch. To disable rotation of the key material in a customer managed KMS key, use the DisableKeyRotation operation.

Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key.

You cannot enable or disable automatic rotation Amazon Web Services managed KMS keys. KMS always rotates the key material of Amazon Web Services managed keys every year. Rotation of Amazon Web Services owned KMS keys varies.

In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years (approximately 1,095 days) to every year (approximately 365 days).

New Amazon Web Services managed keys are automatically rotated one year after they are created, and approximately every year thereafter.

Existing Amazon Web Services managed keys are automatically rotated one year after their most recent rotation, and every year thereafter.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:EnableKeyRotation (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "Encrypt": "

Encrypts plaintext of up to 4,096 bytes using a KMS key. You can use a symmetric or asymmetric KMS key with a KeyUsage of ENCRYPT_DECRYPT.

You can use this operation to encrypt small amounts of arbitrary data, such as a personal identifier or database password, or other sensitive information. You don't need to use the Encrypt operation to encrypt a data key. The GenerateDataKey and GenerateDataKeyPair operations return a plaintext data key and an encrypted copy of that data key.

If you use a symmetric encryption KMS key, you can use an encryption context to add additional security to your encryption operation. If you specify an EncryptionContext when encrypting data, you must specify the same encryption context (a case-sensitive exact match) when decrypting the data. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

If you specify an asymmetric KMS key, you must also specify the encryption algorithm. The algorithm must be compatible with the KMS key spec.

When you use an asymmetric KMS key to encrypt or reencrypt data, be sure to record the KMS key and encryption algorithm that you choose. You will be required to provide the same KMS key and encryption algorithm when you decrypt the data. If the KMS key and algorithm do not match the values used to encrypt the data, the decrypt operation fails.

You are not required to supply the key ID and encryption algorithm when you decrypt with symmetric encryption KMS keys because KMS stores this information in the ciphertext blob. KMS cannot store metadata in ciphertext generated with asymmetric keys. The standard format for asymmetric key ciphertext does not include configurable fields.

The maximum size of the data that you can encrypt varies with the type of KMS key and the encryption algorithm that you choose.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:Encrypt (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GenerateDataKey": "

Returns a unique symmetric data key for use outside of KMS. This operation returns a plaintext copy of the data key and a copy that is encrypted under a symmetric encryption KMS key that you specify. The bytes in the plaintext key are random; they are not related to the caller or the KMS key. You can use the plaintext key to encrypt your data outside of KMS and store the encrypted data key with the encrypted data.

To generate a data key, specify the symmetric encryption KMS key that will be used to encrypt the data key. You cannot use an asymmetric KMS key to encrypt data keys. To get the type of your KMS key, use the DescribeKey operation.

You must also specify the length of the data key. Use either the KeySpec or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data keys, use the KeySpec parameter.

To generate a 128-bit SM4 data key (China Regions only), specify a KeySpec value of AES_128 or a NumberOfBytes value of 16. The symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption key.

To get only an encrypted copy of the data key, use GenerateDataKeyWithoutPlaintext. To generate an asymmetric data key pair, use the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operation. To get a cryptographically secure random byte string, use GenerateRandom.

You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

GenerateDataKey also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateDataKey for an Amazon Web Services Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. GenerateDataKey returns a copy of the data key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the data key, the response includes a copy of the data key encrypted under the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

How to use your data key

We recommend that you use the following pattern to encrypt data locally in your application. You can write your own code or use a client-side encryption library, such as the Amazon Web Services Encryption SDK, the Amazon DynamoDB Encryption Client, or Amazon S3 client-side encryption to do these tasks for you.

To encrypt data outside of KMS:

  1. Use the GenerateDataKey operation to get a data key.

  2. Use the plaintext data key (in the Plaintext field of the response) to encrypt your data outside of KMS. Then erase the plaintext data key from memory.

  3. Store the encrypted data key (in the CiphertextBlob field of the response) with the encrypted data.

To decrypt data outside of KMS:

  1. Use the Decrypt operation to decrypt the encrypted data key. The operation returns a plaintext copy of the data key.

  2. Use the plaintext data key to decrypt data outside of KMS, then erase the plaintext data key from memory.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateDataKey (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GenerateDataKeyPair": "

Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key, a plaintext private key, and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. You can use the data key pair to perform asymmetric cryptography and implement digital signatures outside of KMS. The bytes in the keys are random; they are not related to the caller or to the KMS key that is used to encrypt the private key.

You can use the public key that GenerateDataKeyPair returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.

To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.

If you are using the data key pair to encrypt data, or for any operation where you don't immediately need a private key, consider using the GenerateDataKeyPairWithoutPlaintext operation. GenerateDataKeyPairWithoutPlaintext returns a plaintext public key and an encrypted private key, but omits the plaintext private key that you need only to decrypt ciphertext or sign a message. Later, when you need to decrypt the data or sign a message, use the Decrypt operation to decrypt the encrypted private key in the data key pair.

GenerateDataKeyPair returns a unique data key pair for each request. The bytes in the keys are random; they are not related to the caller or the KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280. The private key is a DER-encoded PKCS8 PrivateKeyInfo, as specified in RFC 5958.

GenerateDataKeyPair also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateDataKeyPair for an Amazon Web Services Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. GenerateDataKeyPair returns the public data key and a copy of the private data key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the private data key (PrivateKeyPlaintext), the response includes a copy of the private data key encrypted under the public key from the attestation document (CiphertextForRecipient). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide..

You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateDataKeyPair (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GenerateDataKeyPairWithoutPlaintext": "

Returns a unique asymmetric data key pair for use outside of KMS. This operation returns a plaintext public key and a copy of the private key that is encrypted under the symmetric encryption KMS key you specify. Unlike GenerateDataKeyPair, this operation does not return a plaintext private key. The bytes in the keys are random; they are not related to the caller or to the KMS key that is used to encrypt the private key.

You can use the public key that GenerateDataKeyPairWithoutPlaintext returns to encrypt data or verify a signature outside of KMS. Then, store the encrypted private key with the data. When you are ready to decrypt data or sign a message, you can use the Decrypt operation to decrypt the encrypted private key.

To generate a data key pair, you must specify a symmetric encryption KMS key to encrypt the private key in a data key pair. You cannot use an asymmetric KMS key or a KMS key in a custom key store. To get the type and origin of your KMS key, use the DescribeKey operation.

Use the KeyPairSpec parameter to choose an RSA or Elliptic Curve (ECC) data key pair. In China Regions, you can also choose an SM2 data key pair. KMS recommends that you use ECC key pairs for signing, and use RSA and SM2 key pairs for either encryption or signing, but not both. However, KMS cannot enforce any restrictions on the use of data key pairs outside of KMS.

GenerateDataKeyPairWithoutPlaintext returns a unique data key pair for each request. The bytes in the key are not related to the caller or KMS key that is used to encrypt the private key. The public key is a DER-encoded X.509 SubjectPublicKeyInfo, as specified in RFC 5280.

You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateDataKeyPairWithoutPlaintext (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GenerateDataKeyWithoutPlaintext": "

Returns a unique symmetric data key for use outside of KMS. This operation returns a data key that is encrypted under a symmetric encryption KMS key that you specify. The bytes in the key are random; they are not related to the caller or to the KMS key.

GenerateDataKeyWithoutPlaintext is identical to the GenerateDataKey operation except that it does not return a plaintext copy of the data key.

This operation is useful for systems that need to encrypt data at some point, but not immediately. When you need to encrypt the data, you call the Decrypt operation on the encrypted copy of the key.

It's also useful in distributed systems with different levels of trust. For example, you might store encrypted data in containers. One component of your system creates new containers and stores an encrypted data key with each container. Then, a different component puts the data into the containers. That component first decrypts the data key, uses the plaintext data key to encrypt data, puts the encrypted data into the container, and then destroys the plaintext data key. In this system, the component that creates the containers never sees the plaintext data key.

To request an asymmetric data key pair, use the GenerateDataKeyPair or GenerateDataKeyPairWithoutPlaintext operations.

To generate a data key, you must specify the symmetric encryption KMS key that is used to encrypt the data key. You cannot use an asymmetric KMS key or a key in a custom key store to generate a data key. To get the type of your KMS key, use the DescribeKey operation.

You must also specify the length of the data key. Use either the KeySpec or NumberOfBytes parameters (but not both). For 128-bit and 256-bit data keys, use the KeySpec parameter.

To generate an SM4 data key (China Regions only), specify a KeySpec value of AES_128 or NumberOfBytes value of 16. The symmetric encryption key used in China Regions to encrypt your data key is an SM4 encryption key.

If the operation succeeds, you will find the encrypted copy of the data key in the CiphertextBlob field.

You can use an optional encryption context to add additional security to the encryption operation. If you specify an EncryptionContext, you must specify the same encryption context (a case-sensitive exact match) when decrypting the encrypted data key. Otherwise, the request to decrypt fails with an InvalidCiphertextException. For more information, see Encryption Context in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateDataKeyWithoutPlaintext (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GenerateMac": "

Generates a hash-based message authentication code (HMAC) for a message using an HMAC KMS key and a MAC algorithm that the key supports. HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.

You can use value that GenerateMac returns in the VerifyMac operation to demonstrate that the original message has not changed. Also, because a secret key is used to create the hash, you can verify that the party that generated the hash has the required secret key. You can also use the raw result to implement HMAC-based algorithms such as key derivation functions. This operation is part of KMS support for HMAC KMS keys. For details, see HMAC keys in KMS in the Key Management Service Developer Guide .

Best practices recommend that you limit the time during which any signing mechanism, including an HMAC, is effective. This deters an attack where the actor uses a signed message to establish validity repeatedly or long after the message is superseded. HMAC tags do not include a timestamp, but you can include a timestamp in the token or message to help you detect when its time to refresh the HMAC.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GenerateMac (key policy)

Related operations: VerifyMac

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GenerateRandom": "

Returns a random byte string that is cryptographically secure.

You must use the NumberOfBytes parameter to specify the length of the random byte string. There is no default value for string length.

By default, the random byte string is generated in KMS. To generate the byte string in the CloudHSM cluster associated with an CloudHSM key store, use the CustomKeyStoreId parameter.

GenerateRandom also supports Amazon Web Services Nitro Enclaves, which provide an isolated compute environment in Amazon EC2. To call GenerateRandom for a Nitro enclave, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK. Use the Recipient parameter to provide the attestation document for the enclave. Instead of plaintext bytes, the response includes the plaintext bytes encrypted under the public key from the attestation document (CiphertextForRecipient).For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

For more information about entropy and random number generation, see Key Management Service Cryptographic Details.

Cross-account use: Not applicable. GenerateRandom does not use any account-specific resources, such as KMS keys.

Required permissions: kms:GenerateRandom (IAM policy)

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GetKeyPolicy": "

Gets a key policy attached to the specified KMS key.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:GetKeyPolicy (key policy)

Related operations: PutKeyPolicy

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GetKeyRotationStatus": "

Gets a Boolean value that indicates whether automatic rotation of the key material is enabled for the specified KMS key.

When you enable automatic rotation for customer managed KMS keys, KMS rotates the key material of the KMS key one year (approximately 365 days) from the enable date and every year thereafter. You can monitor rotation of the key material for your KMS keys in CloudTrail and Amazon CloudWatch.

Automatic key rotation is supported only on symmetric encryption KMS keys. You cannot enable automatic rotation of asymmetric KMS keys, HMAC KMS keys, KMS keys with imported key material, or KMS keys in a custom key store. To enable or disable automatic rotation of a set of related multi-Region keys, set the property on the primary key..

You can enable (EnableKeyRotation) and disable automatic rotation (DisableKeyRotation) of the key material in customer managed KMS keys. Key material rotation of Amazon Web Services managed KMS keys is not configurable. KMS always rotates the key material in Amazon Web Services managed KMS keys every year. The key rotation status for Amazon Web Services managed KMS keys is always true.

In May 2022, KMS changed the rotation schedule for Amazon Web Services managed keys from every three years to every year. For details, see EnableKeyRotation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

Required permissions: kms:GetKeyRotationStatus (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GetParametersForImport": "

Returns the public key and an import token you need to import or reimport key material for a KMS key.

By default, KMS keys are created with key material that KMS generates. This operation supports Importing key material, an advanced feature that lets you generate and import the cryptographic key material for a KMS key. For more information about importing key material into KMS, see Importing key material in the Key Management Service Developer Guide.

Before calling GetParametersForImport, use the CreateKey operation with an Origin value of EXTERNAL to create a KMS key with no key material. You can import key material for a symmetric encryption KMS key, HMAC KMS key, asymmetric encryption KMS key, or asymmetric signing KMS key. You can also import key material into a multi-Region key of any supported type. However, you can't import key material into a KMS key in a custom key store. You can also use GetParametersForImport to get a public key and import token to reimport the original key material into a KMS key whose key material expired or was deleted.

GetParametersForImport returns the items that you need to import your key material.

The public key and its import token are permanently linked and must be used together. Each public key and import token set is valid for 24 hours. The expiration date and time appear in the ParametersValidTo field in the GetParametersForImport response. You cannot use an expired public key or import token in an ImportKeyMaterial request. If your key and token expire, send another GetParametersForImport request.

GetParametersForImport requires the following information:

You can use the same or a different public key spec and wrapping algorithm each time you import or reimport the same key material.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:GetParametersForImport (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "GetPublicKey": "

Returns the public key of an asymmetric KMS key. Unlike the private key of a asymmetric KMS key, which never leaves KMS unencrypted, callers with kms:GetPublicKey permission can download the public key of an asymmetric KMS key. You can share the public key to allow others to encrypt messages and verify signatures outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

You do not need to download the public key. Instead, you can use the public key within KMS by calling the Encrypt, ReEncrypt, or Verify operations with the identifier of an asymmetric KMS key. When you use the public key within KMS, you benefit from the authentication, authorization, and logging that are part of every KMS operation. You also reduce of risk of encrypting data that cannot be decrypted. These features are not effective outside of KMS.

To help you use the public key safely outside of KMS, GetPublicKey returns important information about the public key in the response, including:

Although KMS cannot enforce these restrictions on external operations, it is crucial that you use this information to prevent the public key from being used improperly. For example, you can prevent a public signing key from being used encrypt data, or prevent a public key from being used with an encryption algorithm that is not supported by KMS. You can also avoid errors, such as using the wrong signing algorithm in a verification operation.

To verify a signature outside of KMS with an SM2 public key (China Regions only), you must specify the distinguishing ID. By default, KMS uses 1234567812345678 as the distinguishing ID. For more information, see Offline verification with SM2 key pairs.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:GetPublicKey (key policy)

Related operations: CreateKey

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ImportKeyMaterial": "

Imports or reimports key material into an existing KMS key that was created without key material. ImportKeyMaterial also sets the expiration model and expiration date of the imported key material.

By default, KMS keys are created with key material that KMS generates. This operation supports Importing key material, an advanced feature that lets you generate and import the cryptographic key material for a KMS key. For more information about importing key material into KMS, see Importing key material in the Key Management Service Developer Guide.

After you successfully import key material into a KMS key, you can reimport the same key material into that KMS key, but you cannot import different key material. You might reimport key material to replace key material that expired or key material that you deleted. You might also reimport key material to change the expiration model or expiration date of the key material. Before reimporting key material, if necessary, call DeleteImportedKeyMaterial to delete the current imported key material.

Each time you import key material into KMS, you can determine whether (ExpirationModel) and when (ValidTo) the key material expires. To change the expiration of your key material, you must import it again, either by calling ImportKeyMaterial or using the import features of the KMS console.

Before calling ImportKeyMaterial:

Then, in an ImportKeyMaterial request, you submit your encrypted key material and import token. When calling this operation, you must specify the following values:

When this operation is successful, the key state of the KMS key changes from PendingImport to Enabled, and you can use the KMS key in cryptographic operations.

If this operation fails, use the exception to help determine the problem. If the error is related to the key material, the import token, or wrapping key, use GetParametersForImport to get a new public key and import token for the KMS key and repeat the import procedure. For help, see How To Import Key Material in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ImportKeyMaterial (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ListAliases": "

Gets a list of aliases in the caller's Amazon Web Services account and region. For more information about aliases, see CreateAlias.

By default, the ListAliases operation returns all aliases in the account and region. To get only the aliases associated with a particular KMS key, use the KeyId parameter.

The ListAliases response can include aliases that you created and associated with your customer managed keys, and aliases that Amazon Web Services created and associated with Amazon Web Services managed keys in your account. You can recognize Amazon Web Services aliases because their names have the format aws/<service-name>, such as aws/dynamodb.

The response might also include aliases that have no TargetKeyId field. These are predefined aliases that Amazon Web Services has created but has not yet associated with a KMS key. Aliases that Amazon Web Services creates in your account, including predefined aliases, do not count against your KMS aliases quota.

Cross-account use: No. ListAliases does not return aliases in other Amazon Web Services accounts.

Required permissions: kms:ListAliases (IAM policy)

For details, see Controlling access to aliases in the Key Management Service Developer Guide.

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ListGrants": "

Gets a list of all grants for the specified KMS key.

You must specify the KMS key in all requests. You can filter the grant list by grant ID or grantee principal.

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

The GranteePrincipal field in the ListGrants response usually contains the user or role designated as the grantee principal in the grant. However, when the grantee principal in the grant is an Amazon Web Services service, the GranteePrincipal field contains the service principal, which might represent several different grantee principals.

Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

Required permissions: kms:ListGrants (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ListKeyPolicies": "

Gets the names of the key policies that are attached to a KMS key. This operation is designed to get policy names that you can use in a GetKeyPolicy operation. However, the only valid policy name is default.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ListKeyPolicies (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ListKeys": "

Gets a list of all KMS keys in the caller's Amazon Web Services account and Region.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ListKeys (IAM policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ListResourceTags": "

Returns all tags on the specified KMS key.

For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference. For information about using tags in KMS, see Tagging keys.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ListResourceTags (key policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ListRetirableGrants": "

Returns information about all grants in the Amazon Web Services account and Region that have the specified retiring principal.

You can specify any principal in your Amazon Web Services account. The grants that are returned include grants for KMS keys in your Amazon Web Services account and other Amazon Web Services accounts. You might use this operation to determine which grants you may retire. To retire a grant, use the RetireGrant operation.

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

Cross-account use: You must specify a principal in your Amazon Web Services account. This operation returns a list of grants where the retiring principal specified in the ListRetirableGrants request is the same retiring principal on the grant. This can include grants on KMS keys owned by other Amazon Web Services accounts, but you do not need kms:ListRetirableGrants permission (or any other additional permission) in any Amazon Web Services account other than your own.

Required permissions: kms:ListRetirableGrants (IAM policy) in your Amazon Web Services account.

KMS authorizes ListRetirableGrants requests by evaluating the caller account's kms:ListRetirableGrants permissions. The authorized resource in ListRetirableGrants calls is the retiring principal specified in the request. KMS does not evaluate the caller's permissions to verify their access to any KMS keys or grants that might be returned by the ListRetirableGrants call.

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "PutKeyPolicy": "

Attaches a key policy to the specified KMS key.

For more information about key policies, see Key Policies in the Key Management Service Developer Guide. For help writing and formatting a JSON policy document, see the IAM JSON Policy Reference in the Identity and Access Management User Guide . For examples of adding a key policy in multiple programming languages, see Setting a key policy in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:PutKeyPolicy (key policy)

Related operations: GetKeyPolicy

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ReEncrypt": "

Decrypts ciphertext and then reencrypts it entirely within KMS. You can use this operation to change the KMS key under which data is encrypted, such as when you manually rotate a KMS key or change the KMS key that protects a ciphertext. You can also use it to reencrypt ciphertext under the same KMS key, such as to change the encryption context of a ciphertext.

The ReEncrypt operation can decrypt ciphertext that was encrypted by using a KMS key in an KMS operation, such as Encrypt or GenerateDataKey. It can also decrypt ciphertext that was encrypted by using the public key of an asymmetric KMS key outside of KMS. However, it cannot decrypt ciphertext produced by other libraries, such as the Amazon Web Services Encryption SDK or Amazon S3 client-side encryption. These libraries return a ciphertext format that is incompatible with KMS.

When you use the ReEncrypt operation, you need to provide information for the decrypt operation and the subsequent encrypt operation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. The source KMS key and destination KMS key can be in different Amazon Web Services accounts. Either or both KMS keys can be in a different account than the caller. To specify a KMS key in a different account, you must use its key ARN or alias ARN.

Required permissions:

To permit reencryption from or to a KMS key, include the \"kms:ReEncrypt*\" permission in your key policy. This permission is automatically included in the key policy when you use the console to create a KMS key. But you must include it manually when you create a KMS key programmatically or when you use the PutKeyPolicy operation to set a key policy.

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ReplicateKey": "

Replicates a multi-Region key into the specified Region. This operation creates a multi-Region replica key based on a multi-Region primary key in a different Region of the same Amazon Web Services partition. You can create multiple replicas of a primary key, but each must be in a different Region. To create a multi-Region primary key, use the CreateKey operation.

This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

A replica key is a fully-functional KMS key that can be used independently of its primary and peer replica keys. A primary key and its replica keys share properties that make them interoperable. They have the same key ID and key material. They also have the same key spec, key usage, key material origin, and automatic key rotation status. KMS automatically synchronizes these shared properties among related multi-Region keys. All other properties of a replica key can differ, including its key policy, tags, aliases, and Key states of KMS keys. KMS pricing and quotas for KMS keys apply to each primary key and replica key.

When this operation completes, the new replica key has a transient key state of Creating. This key state changes to Enabled (or PendingImport) after a few seconds when the process of creating the new replica key is complete. While the key state is Creating, you can manage key, but you cannot yet use it in cryptographic operations. If you are creating and using the replica key programmatically, retry on KMSInvalidStateException or call DescribeKey to check its KeyState value before using it. For details about the Creating key state, see Key states of KMS keys in the Key Management Service Developer Guide.

You cannot create more than one replica of a primary key in any Region. If the Region already includes a replica of the key you're trying to replicate, ReplicateKey returns an AlreadyExistsException error. If the key state of the existing replica is PendingDeletion, you can cancel the scheduled key deletion (CancelKeyDeletion) or wait for the key to be deleted. The new replica key you create will have the same shared properties as the original replica key.

The CloudTrail log of a ReplicateKey operation records a ReplicateKey operation in the primary key's Region and a CreateKey operation in the replica key's Region.

If you replicate a multi-Region primary key with imported key material, the replica key is created with no key material. You must import the same key material that you imported into the primary key. For details, see Importing key material into multi-Region keys in the Key Management Service Developer Guide.

To convert a replica key to a primary key, use the UpdatePrimaryRegion operation.

ReplicateKey uses different default values for the KeyPolicy and Tags parameters than those used in the KMS console. For details, see the parameter descriptions.

Cross-account use: No. You cannot use this operation to create a replica key in a different Amazon Web Services account.

Required permissions:

Related operations

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "RetireGrant": "

Deletes a grant. Typically, you retire a grant when you no longer need its permissions. To identify the grant to retire, use a grant token, or both the grant ID and a key identifier (key ID or key ARN) of the KMS key. The CreateGrant operation returns both values.

This operation can be called by the retiring principal for a grant, by the grantee principal if the grant allows the RetireGrant operation, and by the Amazon Web Services account in which the grant is created. It can also be called by principals to whom permission for retiring a grant is delegated. For details, see Retiring and revoking grants in the Key Management Service Developer Guide.

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

Cross-account use: Yes. You can retire a grant on a KMS key in a different Amazon Web Services account.

Required permissions: Permission to retire a grant is determined primarily by the grant. For details, see Retiring and revoking grants in the Key Management Service Developer Guide.

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "RevokeGrant": "

Deletes the specified grant. You revoke a grant to terminate the permissions that the grant allows. For more information, see Retiring and revoking grants in the Key Management Service Developer Guide .

When you create, retire, or revoke a grant, there might be a brief delay, usually less than five minutes, until the grant is available throughout KMS. This state is known as eventual consistency. For details, see Eventual consistency in the Key Management Service Developer Guide .

For detailed information about grants, including grant terminology, see Grants in KMS in the Key Management Service Developer Guide . For examples of working with grants in several programming languages, see Programming grants.

Cross-account use: Yes. To perform this operation on a KMS key in a different Amazon Web Services account, specify the key ARN in the value of the KeyId parameter.

Required permissions: kms:RevokeGrant (key policy).

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "ScheduleKeyDeletion": "

Schedules the deletion of a KMS key. By default, KMS applies a waiting period of 30 days, but you can specify a waiting period of 7-30 days. When this operation is successful, the key state of the KMS key changes to PendingDeletion and the key can't be used in any cryptographic operations. It remains in this state for the duration of the waiting period. Before the waiting period ends, you can use CancelKeyDeletion to cancel the deletion of the KMS key. After the waiting period ends, KMS deletes the KMS key, its key material, and all KMS data associated with it, including all aliases that refer to it.

Deleting a KMS key is a destructive and potentially dangerous operation. When a KMS key is deleted, all data that was encrypted under the KMS key is unrecoverable. (The only exception is a multi-Region replica key, or an asymmetric or HMAC KMS key with imported key material.) To prevent the use of a KMS key without deleting it, use DisableKey.

You can schedule the deletion of a multi-Region primary key and its replica keys at any time. However, KMS will not delete a multi-Region primary key with existing replica keys. If you schedule the deletion of a primary key with replicas, its key state changes to PendingReplicaDeletion and it cannot be replicated or used in cryptographic operations. This status can continue indefinitely. When the last of its replicas keys is deleted (not just scheduled), the key state of the primary key changes to PendingDeletion and its waiting period (PendingWindowInDays) begins. For details, see Deleting multi-Region keys in the Key Management Service Developer Guide.

When KMS deletes a KMS key from an CloudHSM key store, it makes a best effort to delete the associated key material from the associated CloudHSM cluster. However, you might need to manually delete the orphaned key material from the cluster and its backups. Deleting a KMS key from an external key store has no effect on the associated external key. However, for both types of custom key stores, deleting a KMS key is destructive and irreversible. You cannot decrypt ciphertext encrypted under the KMS key by using only its associated external key or CloudHSM key. Also, you cannot recreate a KMS key in an external key store by creating a new KMS key with the same key material.

For more information about scheduling a KMS key for deletion, see Deleting KMS keys in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:ScheduleKeyDeletion (key policy)

Related operations

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "Sign": "

Creates a digital signature for a message or message digest by using the private key in an asymmetric signing KMS key. To verify the signature, use the Verify operation, or use the public key in the same asymmetric KMS key outside of KMS. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

Digital signatures are generated and verified by using asymmetric key pair, such as an RSA or ECC pair that is represented by an asymmetric KMS key. The key owner (or an authorized user) uses their private key to sign a message. Anyone with the public key can verify that the message was signed with that particular private key and that the message hasn't changed since it was signed.

To use the Sign operation, provide the following information:

When signing a message, be sure to record the KMS key and the signing algorithm. This information is required to verify the signature.

Best practices recommend that you limit the time during which any signature is effective. This deters an attack where the actor uses a signed message to establish validity repeatedly or long after the message is superseded. Signatures do not include a timestamp, but you can include a timestamp in the signed message to help you detect when its time to refresh the signature.

To verify the signature that this operation generates, use the Verify operation. Or use the GetPublicKey operation to download the public key and then use the public key to verify the signature outside of KMS.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:Sign (key policy)

Related operations: Verify

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "TagResource": "

Adds or edits tags on a customer managed key.

Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

Each tag consists of a tag key and a tag value, both of which are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.

You can use this operation to tag a customer managed key, but you cannot tag an Amazon Web Services managed key, an Amazon Web Services owned key, a custom key store, or an alias.

You can also add tags to a KMS key while creating it (CreateKey) or replicating it (ReplicateKey).

For information about using tags in KMS, see Tagging keys. For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:TagResource (key policy)

Related operations

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "UntagResource": "

Deletes tags from a customer managed key. To delete a tag, specify the tag key and the KMS key.

Tagging or untagging a KMS key can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

When it succeeds, the UntagResource operation doesn't return any output. Also, if the specified tag key isn't found on the KMS key, it doesn't throw an exception or return a response. To confirm that the operation worked, use the ListResourceTags operation.

For information about using tags in KMS, see Tagging keys. For general information about tags, including the format and syntax, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:UntagResource (key policy)

Related operations

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "UpdateAlias": "

Associates an existing KMS alias with a different KMS key. Each alias is associated with only one KMS key at a time, although a KMS key can have multiple aliases. The alias and the KMS key must be in the same Amazon Web Services account and Region.

Adding, deleting, or updating an alias can allow or deny permission to the KMS key. For details, see ABAC for KMS in the Key Management Service Developer Guide.

The current and new KMS key must be the same type (both symmetric or both asymmetric or both HMAC), and they must have the same key usage. This restriction prevents errors in code that uses aliases. If you must assign an alias to a different type of KMS key, use DeleteAlias to delete the old alias and CreateAlias to create a new alias.

You cannot use UpdateAlias to change an alias name. To change an alias name, use DeleteAlias to delete the old alias and CreateAlias to create a new alias.

Because an alias is not a property of a KMS key, you can create, update, and delete the aliases of a KMS key without affecting the KMS key. Also, aliases do not appear in the response from the DescribeKey operation. To get the aliases of all KMS keys in the account, use the ListAliases operation.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions

For details, see Controlling access to aliases in the Key Management Service Developer Guide.

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "UpdateCustomKeyStore": "

Changes the properties of a custom key store. You can use this operation to change the properties of an CloudHSM key store or an external key store.

Use the required CustomKeyStoreId parameter to identify the custom key store. Use the remaining optional parameters to change its properties. This operation does not return any property values. To verify the updated property values, use the DescribeCustomKeyStores operation.

This operation is part of the custom key stores feature in KMS, which combines the convenience and extensive integration of KMS with the isolation and control of a key store that you own and manage.

When updating the properties of an external key store, verify that the updated settings connect your key store, via the external key store proxy, to the same external key manager as the previous settings, or to a backup or snapshot of the external key manager with the same cryptographic keys. If the updated connection settings fail, you can fix them and retry, although an extended delay might disrupt Amazon Web Services services. However, if KMS permanently loses its access to cryptographic keys, ciphertext encrypted under those keys is unrecoverable.

For external key stores:

Some external key managers provide a simpler method for updating an external key store. For details, see your external key manager documentation.

When updating an external key store in the KMS console, you can upload a JSON-based proxy configuration file with the desired values. You cannot upload the proxy configuration file to the UpdateCustomKeyStore operation. However, you can use the file to help you determine the correct values for the UpdateCustomKeyStore parameters.

For an CloudHSM key store, you can use this operation to change the custom key store friendly name (NewCustomKeyStoreName), to tell KMS about a change to the kmsuser crypto user password (KeyStorePassword), or to associate the custom key store with a different, but related, CloudHSM cluster (CloudHsmClusterId). To update any property of an CloudHSM key store, the ConnectionState of the CloudHSM key store must be DISCONNECTED.

For an external key store, you can use this operation to change the custom key store friendly name (NewCustomKeyStoreName), or to tell KMS about a change to the external key store proxy authentication credentials (XksProxyAuthenticationCredential), connection method (XksProxyConnectivity), external proxy endpoint (XksProxyUriEndpoint) and path (XksProxyUriPath). For external key stores with an XksProxyConnectivity of VPC_ENDPOINT_SERVICE, you can also update the Amazon VPC endpoint service name (XksProxyVpcEndpointServiceName). To update most properties of an external key store, the ConnectionState of the external key store must be DISCONNECTED. However, you can update the CustomKeyStoreName, XksProxyAuthenticationCredential, and XksProxyUriPath of an external key store when it is in the CONNECTED or DISCONNECTED state.

If your update requires a DISCONNECTED state, before using UpdateCustomKeyStore, use the DisconnectCustomKeyStore operation to disconnect the custom key store. After the UpdateCustomKeyStore operation completes, use the ConnectCustomKeyStore to reconnect the custom key store. To find the ConnectionState of the custom key store, use the DescribeCustomKeyStores operation.

Before updating the custom key store, verify that the new values allow KMS to connect the custom key store to its backing key store. For example, before you change the XksProxyUriPath value, verify that the external key store proxy is reachable at the new path.

If the operation succeeds, it returns a JSON object with no properties.

Cross-account use: No. You cannot perform this operation on a custom key store in a different Amazon Web Services account.

Required permissions: kms:UpdateCustomKeyStore (IAM policy)

Related operations:

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "UpdateKeyDescription": "

Updates the description of a KMS key. To see the description of a KMS key, use DescribeKey.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: No. You cannot perform this operation on a KMS key in a different Amazon Web Services account.

Required permissions: kms:UpdateKeyDescription (key policy)

Related operations

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "UpdatePrimaryRegion": "

Changes the primary key of a multi-Region key.

This operation changes the replica key in the specified Region to a primary key and changes the former primary key to a replica key. For example, suppose you have a primary key in us-east-1 and a replica key in eu-west-2. If you run UpdatePrimaryRegion with a PrimaryRegion value of eu-west-2, the primary key is now the key in eu-west-2, and the key in us-east-1 becomes a replica key. For details, see Updating the primary Region in the Key Management Service Developer Guide.

This operation supports multi-Region keys, an KMS feature that lets you create multiple interoperable KMS keys in different Amazon Web Services Regions. Because these KMS keys have the same key ID, key material, and other metadata, you can use them interchangeably to encrypt data in one Amazon Web Services Region and decrypt it in a different Amazon Web Services Region without re-encrypting the data or making a cross-Region call. For more information about multi-Region keys, see Multi-Region keys in KMS in the Key Management Service Developer Guide.

The primary key of a multi-Region key is the source for properties that are always shared by primary and replica keys, including the key material, key ID, key spec, key usage, key material origin, and automatic key rotation. It's the only key that can be replicated. You cannot delete the primary key until all replica keys are deleted.

The key ID and primary Region that you specify uniquely identify the replica key that will become the primary key. The primary Region must already have a replica key. This operation does not create a KMS key in the specified Region. To find the replica keys, use the DescribeKey operation on the primary key or any replica key. To create a replica key, use the ReplicateKey operation.

You can run this operation while using the affected multi-Region keys in cryptographic operations. This operation should not delay, interrupt, or cause failures in cryptographic operations.

Even after this operation completes, the process of updating the primary Region might still be in progress for a few more seconds. Operations such as DescribeKey might display both the old and new primary keys as replicas. The old and new primary keys have a transient key state of Updating. The original key state is restored when the update is complete. While the key state is Updating, you can use the keys in cryptographic operations, but you cannot replicate the new primary key or perform certain management operations, such as enabling or disabling these keys. For details about the Updating key state, see Key states of KMS keys in the Key Management Service Developer Guide.

This operation does not return any output. To verify that primary key is changed, use the DescribeKey operation.

Cross-account use: No. You cannot use this operation in a different Amazon Web Services account.

Required permissions:

Related operations

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "Verify": "

Verifies a digital signature that was generated by the Sign operation.

Verification confirms that an authorized user signed the message with the specified KMS key and signing algorithm, and the message hasn't changed since it was signed. If the signature is verified, the value of the SignatureValid field in the response is True. If the signature verification fails, the Verify operation fails with an KMSInvalidSignatureException exception.

A digital signature is generated by using the private key in an asymmetric KMS key. The signature is verified by using the public key in the same asymmetric KMS key. For information about asymmetric KMS keys, see Asymmetric KMS keys in the Key Management Service Developer Guide.

To use the Verify operation, specify the same asymmetric KMS key, message, and signing algorithm that were used to produce the signature. The message type does not need to be the same as the one used for signing, but it must indicate whether the value of the Message parameter should be hashed as part of the verification process.

You can also verify the digital signature by using the public key of the KMS key outside of KMS. Use the GetPublicKey operation to download the public key in the asymmetric KMS key and then use the public key to verify the signature outside of KMS. The advantage of using the Verify operation is that it is performed within KMS. As a result, it's easy to call, the operation is performed within the FIPS boundary, it is logged in CloudTrail, and you can use key policy and IAM policy to determine who is authorized to use the KMS key to verify signatures.

To verify a signature outside of KMS with an SM2 public key (China Regions only), you must specify the distinguishing ID. By default, KMS uses 1234567812345678 as the distinguishing ID. For more information, see Offline verification with SM2 key pairs.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:Verify (key policy)

Related operations: Sign

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

", + "VerifyMac": "

Verifies the hash-based message authentication code (HMAC) for a specified message, HMAC KMS key, and MAC algorithm. To verify the HMAC, VerifyMac computes an HMAC using the message, HMAC KMS key, and MAC algorithm that you specify, and compares the computed HMAC to the HMAC that you specify. If the HMACs are identical, the verification succeeds; otherwise, it fails. Verification indicates that the message hasn't changed since the HMAC was calculated, and the specified key was used to generate and verify the HMAC.

HMAC KMS keys and the HMAC algorithms that KMS uses conform to industry standards defined in RFC 2104.

This operation is part of KMS support for HMAC KMS keys. For details, see HMAC keys in KMS in the Key Management Service Developer Guide.

The KMS key that you use for this operation must be in a compatible key state. For details, see Key states of KMS keys in the Key Management Service Developer Guide.

Cross-account use: Yes. To perform this operation with a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN in the value of the KeyId parameter.

Required permissions: kms:VerifyMac (key policy)

Related operations: GenerateMac

Eventual consistency: The KMS API follows an eventual consistency model. For more information, see KMS eventual consistency.

" }, "shapes": { "AWSAccountIdType": { @@ -63,7 +63,7 @@ "AlgorithmSpec": { "base": null, "refs": { - "GetParametersForImportRequest$WrappingAlgorithm": "

The algorithm you will use with the RSA public key (PublicKey) in the response to protect your key material during import. For more information, see Select a wrapping algorithm in the Key Management Service Developer Guide.

For RSA_AES wrapping algorithms, you encrypt your key material with an AES key that you generate, then encrypt your AES key with the RSA public key from KMS. For RSAES wrapping algorithms, you encrypt your key material directly with the RSA public key from KMS.

The wrapping algorithms that you can use depend on the type of key material that you are importing. To import an RSA private key, you must use an RSA_AES wrapping algorithm.

" + "GetParametersForImportRequest$WrappingAlgorithm": "

The algorithm you will use with the RSA public key (PublicKey) in the response to protect your key material during import. For more information, see Select a wrapping algorithm in the Key Management Service Developer Guide.

For RSA_AES wrapping algorithms, you encrypt your key material with an AES key that you generate, then encrypt your AES key with the RSA public key from KMS. For RSAES wrapping algorithms, you encrypt your key material directly with the RSA public key from KMS.

The wrapping algorithms that you can use depend on the type of key material that you are importing. To import an RSA private key, you must use an RSA_AES wrapping algorithm.

" } }, "AliasList": { @@ -110,7 +110,7 @@ "BooleanType": { "base": null, "refs": { - "CreateKeyRequest$BypassPolicyLockoutSafetyCheck": "

Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

For more information, see Default key policy in the Key Management Service Developer Guide.

Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

", + "CreateKeyRequest$BypassPolicyLockoutSafetyCheck": "

Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

For more information, see Default key policy in the Key Management Service Developer Guide.

Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

", "DescribeCustomKeyStoresResponse$Truncated": "

A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker element in thisresponse to the Marker parameter in a subsequent request.

", "GetKeyRotationStatusResponse$KeyRotationEnabled": "

A Boolean value that specifies whether key rotation is enabled.

", "KeyMetadata$Enabled": "

Specifies whether the KMS key is enabled. When KeyState is Enabled this value is true, otherwise it is false.

", @@ -119,8 +119,8 @@ "ListKeyPoliciesResponse$Truncated": "

A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker element in thisresponse to the Marker parameter in a subsequent request.

", "ListKeysResponse$Truncated": "

A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker element in thisresponse to the Marker parameter in a subsequent request.

", "ListResourceTagsResponse$Truncated": "

A flag that indicates whether there are more items in the list. When this value is true, the list in this response is truncated. To get more items, pass the value of the NextMarker element in thisresponse to the Marker parameter in a subsequent request.

", - "PutKeyPolicyRequest$BypassPolicyLockoutSafetyCheck": "

Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

For more information, see Default key policy in the Key Management Service Developer Guide.

Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

", - "ReplicateKeyRequest$BypassPolicyLockoutSafetyCheck": "

Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

For more information, see Default key policy in the Key Management Service Developer Guide.

Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

", + "PutKeyPolicyRequest$BypassPolicyLockoutSafetyCheck": "

Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

For more information, see Default key policy in the Key Management Service Developer Guide.

Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

", + "ReplicateKeyRequest$BypassPolicyLockoutSafetyCheck": "

Skips (\"bypasses\") the key policy lockout safety check. The default value is false.

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do not set this value to true indiscriminately.

For more information, see Default key policy in the Key Management Service Developer Guide.

Use this parameter only when you intend to prevent the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

", "VerifyMacResponse$MacValid": "

A Boolean value that indicates whether the HMAC was verified. A value of True indicates that the HMAC (Mac) was generated with the specified Message, HMAC KMS key (KeyID) and MacAlgorithm..

If the HMAC is not verified, the VerifyMac operation fails with a KMSInvalidMacException exception. This exception indicates that one or more of the inputs changed since the HMAC was computed.

", "VerifyResponse$SignatureValid": "

A Boolean value that indicates whether the signature was verified. A value of True indicates that the Signature was produced by signing the Message with the specified KeyID and SigningAlgorithm. If the signature is not verified, the Verify operation fails with a KMSInvalidSignatureException exception.

" } @@ -1240,7 +1240,7 @@ "RecipientInfo": { "base": "

Contains information about the party that receives the response from the API operation.

This data type is designed to support Amazon Web Services Nitro Enclaves, which lets you create an isolated compute environment in Amazon EC2. For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

", "refs": { - "DecryptRequest$Recipient": "

A signed attestation document from an Amazon Web Services Nitro enclave and the encryption algorithm to use with the enclave's public key. The only valid encryption algorithm is RSAES_OAEP_SHA_256.

This parameter only supports attestation documents for Amazon Web Services Nitro Enclaves. To include this parameter, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK.

When you use this parameter, instead of returning the plaintext data, KMS encrypts the plaintext data with the public key in the attestation document, and returns the resulting ciphertext in the CiphertextForRecipient field in the response. This ciphertext can be decrypted only with the private key in the enclave. The Plaintext field in the response is null or empty.

For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

", + "DecryptRequest$Recipient": "

A signed attestation document from an Amazon Web Services Nitro enclave and the encryption algorithm to use with the enclave's public key. The only valid encryption algorithm is RSAES_OAEP_SHA_256.

This parameter only supports attestation documents for Amazon Web Services Nitro Enclaves. To include this parameter, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK.

When you use this parameter, instead of returning the plaintext data, KMS encrypts the plaintext data with the public key in the attestation document, and returns the resulting ciphertext in the CiphertextForRecipient field in the response. This ciphertext can be decrypted only with the private key in the enclave. The Plaintext field in the response is null or empty.

For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

", "GenerateDataKeyPairRequest$Recipient": "

A signed attestation document from an Amazon Web Services Nitro enclave and the encryption algorithm to use with the enclave's public key. The only valid encryption algorithm is RSAES_OAEP_SHA_256.

This parameter only supports attestation documents for Amazon Web Services Nitro Enclaves. To include this parameter, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK.

When you use this parameter, instead of returning a plaintext copy of the private data key, KMS encrypts the plaintext private data key under the public key in the attestation document, and returns the resulting ciphertext in the CiphertextForRecipient field in the response. This ciphertext can be decrypted only with the private key in the enclave. The CiphertextBlob field in the response contains a copy of the private data key encrypted under the KMS key specified by the KeyId parameter. The PrivateKeyPlaintext field in the response is null or empty.

For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

", "GenerateDataKeyRequest$Recipient": "

A signed attestation document from an Amazon Web Services Nitro enclave and the encryption algorithm to use with the enclave's public key. The only valid encryption algorithm is RSAES_OAEP_SHA_256.

This parameter only supports attestation documents for Amazon Web Services Nitro Enclaves. To include this parameter, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK.

When you use this parameter, instead of returning the plaintext data key, KMS encrypts the plaintext data key under the public key in the attestation document, and returns the resulting ciphertext in the CiphertextForRecipient field in the response. This ciphertext can be decrypted only with the private key in the enclave. The CiphertextBlob field in the response contains a copy of the data key encrypted under the KMS key specified by the KeyId parameter. The Plaintext field in the response is null or empty.

For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

", "GenerateRandomRequest$Recipient": "

A signed attestation document from an Amazon Web Services Nitro enclave and the encryption algorithm to use with the enclave's public key. The only valid encryption algorithm is RSAES_OAEP_SHA_256.

This parameter only supports attestation documents for Amazon Web Services Nitro Enclaves. To include this parameter, use the Amazon Web Services Nitro Enclaves SDK or any Amazon Web Services SDK.

When you use this parameter, instead of returning plaintext bytes, KMS encrypts the plaintext bytes under the public key in the attestation document, and returns the resulting ciphertext in the CiphertextForRecipient field in the response. This ciphertext can be decrypted only with the private key in the enclave. The Plaintext field in the response is null or empty.

For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.

" @@ -1538,7 +1538,7 @@ } }, "XksProxyVpcEndpointServiceInvalidConfigurationException": { - "base": "

The request was rejected because the Amazon VPC endpoint service configuration does not fulfill the requirements for an external key store proxy. For details, see the exception message and review the requirements for Amazon VPC endpoint service connectivity for an external key store.

", + "base": "

The request was rejected because the Amazon VPC endpoint service configuration does not fulfill the requirements for an external key store proxy. For details, see the exception message and review the requirements for Amazon VPC endpoint service connectivity for an external key store.

", "refs": { } }, diff --git a/models/apis/kms/2014-11-01/endpoint-rule-set-1.json b/models/apis/kms/2014-11-01/endpoint-rule-set-1.json index 64b8c61c24d..46ded272270 100644 --- a/models/apis/kms/2014-11-01/endpoint-rule-set-1.json +++ b/models/apis/kms/2014-11-01/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -58,293 +57,258 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, { - "conditions": [], - "type": "tree", + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://kms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ { - "ref": "UseFIPS" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, true ] } ], - "type": "tree", "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kms-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://kms-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] + ], + "type": "tree" }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ], + "type": "tree" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://kms.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], - "type": "tree", + ], "rules": [ { "conditions": [], "endpoint": { - "url": "https://kms.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://kms.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "endpoint": { + "url": "https://kms.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" + ], + "type": "tree" } - ] + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] } \ No newline at end of file diff --git a/models/apis/rds/2014-10-31/docs-2.json b/models/apis/rds/2014-10-31/docs-2.json index 85ee272d40d..f7ddd61f40a 100644 --- a/models/apis/rds/2014-10-31/docs-2.json +++ b/models/apis/rds/2014-10-31/docs-2.json @@ -2840,7 +2840,7 @@ "CreateDBClusterMessage$Iops": "

The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster.

For information about valid IOPS values, see Provisioned IOPS storage in the Amazon RDS User Guide.

This setting is required to create a Multi-AZ DB cluster.

Valid for Cluster Type: Multi-AZ DB clusters only

Constraints:

", "CreateDBClusterMessage$MonitoringInterval": "

The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB cluster. To turn off collecting Enhanced Monitoring metrics, specify 0.

If MonitoringRoleArn is specified, also set MonitoringInterval to a value other than 0.

Valid for Cluster Type: Multi-AZ DB clusters only

Valid Values: 0 | 1 | 5 | 10 | 15 | 30 | 60

Default: 0

", "CreateDBClusterMessage$PerformanceInsightsRetentionPeriod": "

The number of days to retain Performance Insights data.

Valid for Cluster Type: Multi-AZ DB clusters only

Valid Values:

Default: 7 days

If you specify a retention period that isn't valid, such as 94, Amazon RDS issues an error.

", - "CreateDBInstanceMessage$AllocatedStorage": "

The amount of storage in gibibytes (GiB) to allocate for the DB instance.

This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume.

Amazon RDS Custom

Constraints to the amount of storage for each storage type are the following:

RDS for Db2

Constraints to the amount of storage for each storage type are the following:

RDS for MariaDB

Constraints to the amount of storage for each storage type are the following:

RDS for MySQL

Constraints to the amount of storage for each storage type are the following:

RDS for Oracle

Constraints to the amount of storage for each storage type are the following:

RDS for PostgreSQL

Constraints to the amount of storage for each storage type are the following:

RDS for SQL Server

Constraints to the amount of storage for each storage type are the following:

", + "CreateDBInstanceMessage$AllocatedStorage": "

The amount of storage in gibibytes (GiB) to allocate for the DB instance.

This setting doesn't apply to Amazon Aurora DB instances. Aurora cluster volumes automatically grow as the amount of data in your database increases, though you are only charged for the space that you use in an Aurora cluster volume.

Amazon RDS Custom

Constraints to the amount of storage for each storage type are the following:

RDS for Db2

Constraints to the amount of storage for each storage type are the following:

RDS for MariaDB

Constraints to the amount of storage for each storage type are the following:

RDS for MySQL

Constraints to the amount of storage for each storage type are the following:

RDS for Oracle

Constraints to the amount of storage for each storage type are the following:

RDS for PostgreSQL

Constraints to the amount of storage for each storage type are the following:

RDS for SQL Server

Constraints to the amount of storage for each storage type are the following:

", "CreateDBInstanceMessage$BackupRetentionPeriod": "

The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.

This setting doesn't apply to Amazon Aurora DB instances. The retention period for automated backups is managed by the DB cluster.

Default: 1

Constraints:

", "CreateDBInstanceMessage$Port": "

The port number on which the database accepts connections.

This setting doesn't apply to Aurora DB instances. The port number is managed by the cluster.

Valid Values: 1150-65535

Default:

Constraints:

", "CreateDBInstanceMessage$Iops": "

The amount of Provisioned IOPS (input/output operations per second) to initially allocate for the DB instance. For information about valid IOPS values, see Amazon RDS DB instance storage in the Amazon RDS User Guide.

This setting doesn't apply to Amazon Aurora DB instances. Storage is managed by the DB cluster.

Constraints:

", diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index 94950233d9b..b3bfad51470 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -590,7 +590,8 @@ "output":{"shape":"CreatePipelineResponse"}, "errors":[ {"shape":"ResourceNotFound"}, - {"shape":"ResourceLimitExceeded"} + {"shape":"ResourceLimitExceeded"}, + {"shape":"ConflictException"} ] }, "CreatePresignedDomainUrl":{ @@ -771,7 +772,10 @@ "method":"POST", "requestUri":"/" }, - "input":{"shape":"DeleteAlgorithmInput"} + "input":{"shape":"DeleteAlgorithmInput"}, + "errors":[ + {"shape":"ConflictException"} + ] }, "DeleteApp":{ "name":"DeleteApp", @@ -841,6 +845,17 @@ }, "input":{"shape":"DeleteCodeRepositoryInput"} }, + "DeleteCompilationJob":{ + "name":"DeleteCompilationJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteCompilationJobRequest"}, + "errors":[ + {"shape":"ResourceNotFound"} + ] + }, "DeleteContext":{ "name":"DeleteContext", "http":{ @@ -1163,7 +1178,8 @@ "input":{"shape":"DeletePipelineRequest"}, "output":{"shape":"DeletePipelineResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} ] }, "DeleteProject":{ @@ -1944,7 +1960,8 @@ "input":{"shape":"DescribeUserProfileRequest"}, "output":{"shape":"DescribeUserProfileResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ResourceLimitExceeded"} ] }, "DescribeWorkforce":{ @@ -2817,7 +2834,10 @@ "requestUri":"/" }, "input":{"shape":"PutModelPackageGroupPolicyInput"}, - "output":{"shape":"PutModelPackageGroupPolicyOutput"} + "output":{"shape":"PutModelPackageGroupPolicyOutput"}, + "errors":[ + {"shape":"ConflictException"} + ] }, "QueryLineage":{ "name":"QueryLineage", @@ -2887,7 +2907,8 @@ "output":{"shape":"SendPipelineExecutionStepFailureResponse"}, "errors":[ {"shape":"ResourceNotFound"}, - {"shape":"ResourceLimitExceeded"} + {"shape":"ResourceLimitExceeded"}, + {"shape":"ConflictException"} ] }, "SendPipelineExecutionStepSuccess":{ @@ -2900,7 +2921,8 @@ "output":{"shape":"SendPipelineExecutionStepSuccessResponse"}, "errors":[ {"shape":"ResourceNotFound"}, - {"shape":"ResourceLimitExceeded"} + {"shape":"ResourceLimitExceeded"}, + {"shape":"ConflictException"} ] }, "StartEdgeDeploymentStage":{ @@ -2956,7 +2978,8 @@ "output":{"shape":"StartPipelineExecutionResponse"}, "errors":[ {"shape":"ResourceNotFound"}, - {"shape":"ResourceLimitExceeded"} + {"shape":"ResourceLimitExceeded"}, + {"shape":"ConflictException"} ] }, "StopAutoMLJob":{ @@ -3071,7 +3094,8 @@ "input":{"shape":"StopPipelineExecutionRequest"}, "output":{"shape":"StopPipelineExecutionResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} ] }, "StopProcessingJob":{ @@ -3166,7 +3190,10 @@ "requestUri":"/" }, "input":{"shape":"UpdateCodeRepositoryInput"}, - "output":{"shape":"UpdateCodeRepositoryOutput"} + "output":{"shape":"UpdateCodeRepositoryOutput"}, + "errors":[ + {"shape":"ConflictException"} + ] }, "UpdateContext":{ "name":"UpdateContext", @@ -3260,7 +3287,8 @@ "input":{"shape":"UpdateFeatureGroupRequest"}, "output":{"shape":"UpdateFeatureGroupResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ResourceLimitExceeded"} ] }, "UpdateFeatureMetadata":{ @@ -3370,7 +3398,10 @@ "requestUri":"/" }, "input":{"shape":"UpdateModelPackageInput"}, - "output":{"shape":"UpdateModelPackageOutput"} + "output":{"shape":"UpdateModelPackageOutput"}, + "errors":[ + {"shape":"ConflictException"} + ] }, "UpdateMonitoringAlert":{ "name":"UpdateMonitoringAlert", @@ -3431,7 +3462,8 @@ "input":{"shape":"UpdatePipelineRequest"}, "output":{"shape":"UpdatePipelineResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} ] }, "UpdatePipelineExecution":{ @@ -3443,7 +3475,8 @@ "input":{"shape":"UpdatePipelineExecutionRequest"}, "output":{"shape":"UpdatePipelineExecutionResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ConflictException"} ] }, "UpdateProject":{ @@ -3453,7 +3486,10 @@ "requestUri":"/" }, "input":{"shape":"UpdateProjectInput"}, - "output":{"shape":"UpdateProjectOutput"} + "output":{"shape":"UpdateProjectOutput"}, + "errors":[ + {"shape":"ConflictException"} + ] }, "UpdateSpace":{ "name":"UpdateSpace", @@ -3478,7 +3514,8 @@ "input":{"shape":"UpdateTrainingJobRequest"}, "output":{"shape":"UpdateTrainingJobResponse"}, "errors":[ - {"shape":"ResourceNotFound"} + {"shape":"ResourceNotFound"}, + {"shape":"ResourceLimitExceeded"} ] }, "UpdateTrial":{ @@ -3555,6 +3592,8 @@ "AcceptEula":{"type":"boolean"}, "AccountId":{ "type":"string", + "max":12, + "min":12, "pattern":"^\\d+$" }, "ActionArn":{ @@ -3566,7 +3605,7 @@ "type":"structure", "required":["SourceUri"], "members":{ - "SourceUri":{"shape":"String2048"}, + "SourceUri":{"shape":"SourceUri"}, "SourceType":{"shape":"String256"}, "SourceId":{"shape":"String256"} } @@ -3858,11 +3897,11 @@ "members":{ "DomainId":{"shape":"DomainId"}, "UserProfileName":{"shape":"UserProfileName"}, + "SpaceName":{"shape":"SpaceName"}, "AppType":{"shape":"AppType"}, "AppName":{"shape":"AppName"}, "Status":{"shape":"AppStatus"}, "CreationTime":{"shape":"CreationTime"}, - "SpaceName":{"shape":"SpaceName"}, "ResourceSpec":{"shape":"ResourceSpec"} } }, @@ -4019,11 +4058,19 @@ "enum":[ "JupyterServer", "KernelGateway", + "DetailedProfiler", "TensorBoard", + "VSCode", + "Savitur", + "CodeEditor", + "JupyterLab", "RStudioServerPro", + "RSession", "RSessionGateway", - "JupyterLab", - "CodeEditor" + "Canvas", + "DatasetManager", + "SageMakerLite", + "Local" ] }, "ApprovalDescription":{ @@ -4046,11 +4093,22 @@ "type":"string", "pattern":"^[\\w:]+$" }, + "ArtifactProperties":{ + "type":"map", + "key":{"shape":"StringParameterValue"}, + "value":{"shape":"ArtifactPropertyValue"}, + "max":30 + }, + "ArtifactPropertyValue":{ + "type":"string", + "max":4096, + "pattern":".*" + }, "ArtifactSource":{ "type":"structure", "required":["SourceUri"], "members":{ - "SourceUri":{"shape":"String2048"}, + "SourceUri":{"shape":"SourceUri"}, "SourceTypes":{"shape":"ArtifactSourceTypes"} } }, @@ -4124,7 +4182,8 @@ "ContributedTo", "AssociatedWith", "DerivedFrom", - "Produced" + "Produced", + "SameAs" ] }, "AssociationEntityArn":{ @@ -4357,10 +4416,7 @@ }, "AutoMLChannel":{ "type":"structure", - "required":[ - "DataSource", - "TargetAttributeName" - ], + "required":["TargetAttributeName"], "members":{ "DataSource":{"shape":"AutoMLDataSource"}, "CompressionType":{"shape":"CompressionType"}, @@ -4458,8 +4514,8 @@ "members":{ "CompletionCriteria":{"shape":"AutoMLJobCompletionCriteria"}, "SecurityConfig":{"shape":"AutoMLSecurityConfig"}, - "DataSplitConfig":{"shape":"AutoMLDataSplitConfig"}, "CandidateGenerationConfig":{"shape":"AutoMLCandidateGenerationConfig"}, + "DataSplitConfig":{"shape":"AutoMLDataSplitConfig"}, "Mode":{"shape":"AutoMLMode"} } }, @@ -4493,22 +4549,22 @@ "type":"string", "enum":[ "Starting", - "AnalyzingData", - "FeatureEngineering", - "ModelTuning", "MaxCandidatesReached", "Failed", "Stopped", "MaxAutoMLJobRuntimeReached", "Stopping", "CandidateDefinitionsGenerated", - "GeneratingExplainabilityReport", "Completed", "ExplainabilityError", "DeployingModel", "ModelDeploymentError", "GeneratingModelInsightsReport", "ModelInsightsError", + "AnalyzingData", + "FeatureEngineering", + "ModelTuning", + "GeneratingExplainabilityReport", "TrainingModels", "PreTraining" ] @@ -4560,6 +4616,11 @@ "max":100, "min":1 }, + "AutoMLMaxResultsForTrials":{ + "type":"integer", + "max":300, + "min":1 + }, "AutoMLMetricEnum":{ "type":"string", "enum":[ @@ -4569,13 +4630,13 @@ "F1macro", "AUC", "RMSE", - "MAE", - "R2", "BalancedAccuracy", - "Precision", - "PrecisionMacro", + "R2", "Recall", "RecallMacro", + "Precision", + "PrecisionMacro", + "MAE", "MAPE", "MASE", "WAPE", @@ -4651,8 +4712,8 @@ "members":{ "ImageClassificationJobConfig":{"shape":"ImageClassificationJobConfig"}, "TextClassificationJobConfig":{"shape":"TextClassificationJobConfig"}, - "TabularJobConfig":{"shape":"TabularJobConfig"}, "TimeSeriesForecastingJobConfig":{"shape":"TimeSeriesForecastingJobConfig"}, + "TabularJobConfig":{"shape":"TabularJobConfig"}, "TextGenerationJobConfig":{"shape":"TextGenerationJobConfig"} }, "union":true @@ -4662,8 +4723,8 @@ "enum":[ "ImageClassification", "TextClassification", - "Tabular", "TimeSeriesForecasting", + "Tabular", "TextGeneration" ] }, @@ -4770,7 +4831,10 @@ "type":"string", "enum":[ "AWS/Rekognition/DetectModerationLabels/Image/V3", - "AWS/Textract/AnalyzeDocument/Forms/V1" + "AWS/Textract/AnalyzeDocument/Forms/V1", + "AWS/Textract/AnalyzeExpense", + "AWS/Handshake/VerifyIdentity", + "AWS/Bedrock/ModelEvaluation" ] }, "BacktestResultsLocation":{ @@ -5021,8 +5085,8 @@ "ModelRegisterSettings":{"shape":"ModelRegisterSettings"}, "WorkspaceSettings":{"shape":"WorkspaceSettings"}, "IdentityProviderOAuthSettings":{"shape":"IdentityProviderOAuthSettings"}, - "KendraSettings":{"shape":"KendraSettings"}, - "DirectDeploySettings":{"shape":"DirectDeploySettings"} + "DirectDeploySettings":{"shape":"DirectDeploySettings"}, + "KendraSettings":{"shape":"KendraSettings"} } }, "CapacitySize":{ @@ -5058,7 +5122,8 @@ "type":"string", "enum":[ "Input", - "Output" + "Output", + "InputAndOutput" ] }, "CaptureOption":{ @@ -5071,7 +5136,7 @@ "CaptureOptionList":{ "type":"list", "member":{"shape":"CaptureOption"}, - "max":2, + "max":32, "min":1 }, "CaptureStatus":{ @@ -5965,11 +6030,11 @@ "ImageConfig":{"shape":"ImageConfig"}, "Mode":{"shape":"ContainerMode"}, "ModelDataUrl":{"shape":"Url"}, + "ModelDataSource":{"shape":"ModelDataSource"}, "Environment":{"shape":"EnvironmentMap"}, "ModelPackageName":{"shape":"VersionedArnOrName"}, "InferenceSpecificationName":{"shape":"InferenceSpecificationName"}, - "MultiModelConfig":{"shape":"MultiModelConfig"}, - "ModelDataSource":{"shape":"ModelDataSource"} + "MultiModelConfig":{"shape":"MultiModelConfig"} } }, "ContainerDefinitionList":{ @@ -6041,11 +6106,23 @@ "max":256, "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:context/.*" }, + "ContextName":{ + "type":"string", + "max":120, + "min":1, + "pattern":"^[a-zA-Z0-9]([-_]*[a-zA-Z0-9]){0,119}" + }, + "ContextNameOrArn":{ + "type":"string", + "max":256, + "min":1, + "pattern":"(arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:context\\/)?([a-zA-Z0-9]([-_]*[a-zA-Z0-9]){0,119})" + }, "ContextSource":{ "type":"structure", "required":["SourceUri"], "members":{ - "SourceUri":{"shape":"String2048"}, + "SourceUri":{"shape":"SourceUri"}, "SourceType":{"shape":"String256"}, "SourceId":{"shape":"String256"} } @@ -6058,7 +6135,7 @@ "type":"structure", "members":{ "ContextArn":{"shape":"ContextArn"}, - "ContextName":{"shape":"ExperimentEntityName"}, + "ContextName":{"shape":"ContextName"}, "Source":{"shape":"ContextSource"}, "ContextType":{"shape":"String256"}, "CreationTime":{"shape":"Timestamp"}, @@ -6181,11 +6258,11 @@ "members":{ "DomainId":{"shape":"DomainId"}, "UserProfileName":{"shape":"UserProfileName"}, + "SpaceName":{"shape":"SpaceName"}, "AppType":{"shape":"AppType"}, "AppName":{"shape":"AppName"}, "Tags":{"shape":"TagList"}, - "ResourceSpec":{"shape":"ResourceSpec"}, - "SpaceName":{"shape":"SpaceName"} + "ResourceSpec":{"shape":"ResourceSpec"} } }, "CreateAppResponse":{ @@ -6204,7 +6281,7 @@ "ArtifactName":{"shape":"ExperimentEntityName"}, "Source":{"shape":"ArtifactSource"}, "ArtifactType":{"shape":"String256"}, - "Properties":{"shape":"LineageEntityParameters"}, + "Properties":{"shape":"ArtifactProperties"}, "MetadataProperties":{"shape":"MetadataProperties"}, "Tags":{"shape":"TagList"} } @@ -6345,7 +6422,7 @@ "ContextType" ], "members":{ - "ContextName":{"shape":"ExperimentEntityName"}, + "ContextName":{"shape":"ContextName"}, "Source":{"shape":"ContextSource"}, "ContextType":{"shape":"String256"}, "Description":{"shape":"ExperimentDescription"}, @@ -6417,6 +6494,7 @@ "DomainName":{"shape":"DomainName"}, "AuthMode":{"shape":"AuthMode"}, "DefaultUserSettings":{"shape":"UserSettings"}, + "DomainSettings":{"shape":"DomainSettings"}, "SubnetIds":{"shape":"Subnets"}, "VpcId":{"shape":"VpcId"}, "Tags":{"shape":"TagList"}, @@ -6428,7 +6506,6 @@ }, "KmsKeyId":{"shape":"KmsKeyId"}, "AppSecurityGroupManagement":{"shape":"AppSecurityGroupManagement"}, - "DomainSettings":{"shape":"DomainSettings"}, "DefaultSpaceSettings":{"shape":"DefaultSpaceSettings"} } }, @@ -6587,7 +6664,6 @@ "type":"structure", "required":[ "FlowDefinitionName", - "HumanLoopConfig", "OutputConfig", "RoleArn" ], @@ -6992,11 +7068,11 @@ "shape":"ClientToken", "idempotencyToken":true }, - "CustomerMetadataProperties":{"shape":"CustomerMetadataMap"}, - "DriftCheckBaselines":{"shape":"DriftCheckBaselines"}, "Domain":{"shape":"String"}, "Task":{"shape":"String"}, "SamplePayloadUrl":{"shape":"S3Uri"}, + "CustomerMetadataProperties":{"shape":"CustomerMetadataMap"}, + "DriftCheckBaselines":{"shape":"DriftCheckBaselines"}, "AdditionalInferenceSpecifications":{"shape":"AdditionalInferenceSpecifications"}, "SkipModelValidation":{"shape":"SkipModelValidation"} } @@ -7231,9 +7307,9 @@ "SpaceName":{"shape":"SpaceName"}, "Tags":{"shape":"TagList"}, "SpaceSettings":{"shape":"SpaceSettings"}, - "SpaceDisplayName":{"shape":"NonEmptyString64"}, "OwnershipSettings":{"shape":"OwnershipSettings"}, - "SpaceSharingSettings":{"shape":"SpaceSharingSettings"} + "SpaceSharingSettings":{"shape":"SpaceSharingSettings"}, + "SpaceDisplayName":{"shape":"NonEmptyString64"} } }, "CreateSpaceResponse":{ @@ -7623,7 +7699,7 @@ }, "DataInputConfig":{ "type":"string", - "max":1024, + "max":16384, "min":1, "pattern":"[\\S\\s]+" }, @@ -7813,9 +7889,9 @@ "members":{ "DomainId":{"shape":"DomainId"}, "UserProfileName":{"shape":"UserProfileName"}, + "SpaceName":{"shape":"SpaceName"}, "AppType":{"shape":"AppType"}, - "AppName":{"shape":"AppName"}, - "SpaceName":{"shape":"SpaceName"} + "AppName":{"shape":"AppName"} } }, "DeleteArtifactRequest":{ @@ -7870,11 +7946,18 @@ "CodeRepositoryName":{"shape":"EntityName"} } }, + "DeleteCompilationJobRequest":{ + "type":"structure", + "required":["CompilationJobName"], + "members":{ + "CompilationJobName":{"shape":"EntityName"} + } + }, "DeleteContextRequest":{ "type":"structure", "required":["ContextName"], "members":{ - "ContextName":{"shape":"ExperimentEntityName"} + "ContextName":{"shape":"ContextName"} } }, "DeleteContextResponse":{ @@ -8277,8 +8360,8 @@ "type":"structure", "members":{ "BlueGreenUpdatePolicy":{"shape":"BlueGreenUpdatePolicy"}, - "AutoRollbackConfiguration":{"shape":"AutoRollbackConfig"}, - "RollingUpdatePolicy":{"shape":"RollingUpdatePolicy"} + "RollingUpdatePolicy":{"shape":"RollingUpdatePolicy"}, + "AutoRollbackConfiguration":{"shape":"AutoRollbackConfig"} } }, "DeploymentRecommendation":{ @@ -8349,7 +8432,7 @@ "type":"structure", "required":["ActionName"], "members":{ - "ActionName":{"shape":"ExperimentEntityName"} + "ActionName":{"shape":"ExperimentEntityNameOrArn"} } }, "DescribeActionResponse":{ @@ -8429,9 +8512,9 @@ "members":{ "DomainId":{"shape":"DomainId"}, "UserProfileName":{"shape":"UserProfileName"}, + "SpaceName":{"shape":"SpaceName"}, "AppType":{"shape":"AppType"}, - "AppName":{"shape":"AppName"}, - "SpaceName":{"shape":"SpaceName"} + "AppName":{"shape":"AppName"} } }, "DescribeAppResponse":{ @@ -8442,13 +8525,13 @@ "AppName":{"shape":"AppName"}, "DomainId":{"shape":"DomainId"}, "UserProfileName":{"shape":"UserProfileName"}, + "SpaceName":{"shape":"SpaceName"}, "Status":{"shape":"AppStatus"}, "LastHealthCheckTimestamp":{"shape":"Timestamp"}, "LastUserActivityTimestamp":{"shape":"Timestamp"}, - "CreationTime":{"shape":"CreationTime"}, + "CreationTime":{"shape":"Timestamp"}, "FailureReason":{"shape":"FailureReason"}, - "ResourceSpec":{"shape":"ResourceSpec"}, - "SpaceName":{"shape":"SpaceName"} + "ResourceSpec":{"shape":"ResourceSpec"} } }, "DescribeArtifactRequest":{ @@ -8546,6 +8629,7 @@ "RoleArn":{"shape":"RoleArn"}, "AutoMLJobObjective":{"shape":"AutoMLJobObjective"}, "AutoMLProblemTypeConfig":{"shape":"AutoMLProblemTypeConfig"}, + "AutoMLProblemTypeConfigName":{"shape":"AutoMLProblemTypeConfigName"}, "CreationTime":{"shape":"Timestamp"}, "EndTime":{"shape":"Timestamp"}, "LastModifiedTime":{"shape":"Timestamp"}, @@ -8554,13 +8638,12 @@ "BestCandidate":{"shape":"AutoMLCandidate"}, "AutoMLJobStatus":{"shape":"AutoMLJobStatus"}, "AutoMLJobSecondaryStatus":{"shape":"AutoMLJobSecondaryStatus"}, + "AutoMLJobArtifacts":{"shape":"AutoMLJobArtifacts"}, + "ResolvedAttributes":{"shape":"AutoMLResolvedAttributes"}, "ModelDeployConfig":{"shape":"ModelDeployConfig"}, "ModelDeployResult":{"shape":"ModelDeployResult"}, "DataSplitConfig":{"shape":"AutoMLDataSplitConfig"}, - "SecurityConfig":{"shape":"AutoMLSecurityConfig"}, - "AutoMLJobArtifacts":{"shape":"AutoMLJobArtifacts"}, - "ResolvedAttributes":{"shape":"AutoMLResolvedAttributes"}, - "AutoMLProblemTypeConfigName":{"shape":"AutoMLProblemTypeConfigName"} + "SecurityConfig":{"shape":"AutoMLSecurityConfig"} } }, "DescribeClusterNodeRequest":{ @@ -8675,13 +8758,13 @@ "type":"structure", "required":["ContextName"], "members":{ - "ContextName":{"shape":"ExperimentEntityNameOrArn"} + "ContextName":{"shape":"ContextNameOrArn"} } }, "DescribeContextResponse":{ "type":"structure", "members":{ - "ContextName":{"shape":"ExperimentEntityName"}, + "ContextName":{"shape":"ContextName"}, "ContextArn":{"shape":"ContextArn"}, "Source":{"shape":"ContextSource"}, "ContextType":{"shape":"String256"}, @@ -8807,8 +8890,10 @@ "CreationTime":{"shape":"CreationTime"}, "LastModifiedTime":{"shape":"LastModifiedTime"}, "FailureReason":{"shape":"FailureReason"}, + "SecurityGroupIdForDomainBoundary":{"shape":"SecurityGroupId"}, "AuthMode":{"shape":"AuthMode"}, "DefaultUserSettings":{"shape":"UserSettings"}, + "DomainSettings":{"shape":"DomainSettings"}, "AppNetworkAccessType":{"shape":"AppNetworkAccessType"}, "HomeEfsFileSystemKmsKeyId":{ "shape":"KmsKeyId", @@ -8819,9 +8904,7 @@ "Url":{"shape":"String1024"}, "VpcId":{"shape":"VpcId"}, "KmsKeyId":{"shape":"KmsKeyId"}, - "DomainSettings":{"shape":"DomainSettings"}, "AppSecurityGroupManagement":{"shape":"AppSecurityGroupManagement"}, - "SecurityGroupIdForDomainBoundary":{"shape":"SecurityGroupId"}, "DefaultSpaceSettings":{"shape":"DefaultSpaceSettings"} } }, @@ -8931,7 +9014,6 @@ "required":[ "EndpointName", "EndpointArn", - "EndpointConfigName", "EndpointStatus", "CreationTime", "LastModifiedTime" @@ -9059,7 +9141,6 @@ "FlowDefinitionName", "FlowDefinitionStatus", "CreationTime", - "HumanLoopConfig", "OutputConfig", "RoleArn" ], @@ -9208,10 +9289,10 @@ "BestTrainingJob":{"shape":"HyperParameterTrainingJobSummary"}, "OverallBestTrainingJob":{"shape":"HyperParameterTrainingJobSummary"}, "WarmStartConfig":{"shape":"HyperParameterTuningJobWarmStartConfig"}, + "Autotune":{"shape":"Autotune"}, "FailureReason":{"shape":"FailureReason"}, "TuningJobCompletionDetails":{"shape":"HyperParameterTuningJobCompletionDetails"}, - "ConsumedResources":{"shape":"HyperParameterTuningJobConsumedResources"}, - "Autotune":{"shape":"Autotune"} + "ConsumedResources":{"shape":"HyperParameterTuningJobConsumedResources"} } }, "DescribeImageRequest":{ @@ -9650,11 +9731,11 @@ "LastModifiedTime":{"shape":"Timestamp"}, "LastModifiedBy":{"shape":"UserContext"}, "ApprovalDescription":{"shape":"ApprovalDescription"}, - "CustomerMetadataProperties":{"shape":"CustomerMetadataMap"}, - "DriftCheckBaselines":{"shape":"DriftCheckBaselines"}, "Domain":{"shape":"String"}, "Task":{"shape":"String"}, "SamplePayloadUrl":{"shape":"String"}, + "CustomerMetadataProperties":{"shape":"CustomerMetadataMap"}, + "DriftCheckBaselines":{"shape":"DriftCheckBaselines"}, "AdditionalInferenceSpecifications":{"shape":"AdditionalInferenceSpecifications"}, "SkipModelValidation":{"shape":"SkipModelValidation"} } @@ -9933,10 +10014,10 @@ "CreationTime":{"shape":"CreationTime"}, "FailureReason":{"shape":"FailureReason"}, "SpaceSettings":{"shape":"SpaceSettings"}, - "Url":{"shape":"String1024"}, - "SpaceDisplayName":{"shape":"NonEmptyString64"}, "OwnershipSettings":{"shape":"OwnershipSettings"}, - "SpaceSharingSettings":{"shape":"SpaceSharingSettings"} + "SpaceSharingSettings":{"shape":"SpaceSharingSettings"}, + "SpaceDisplayName":{"shape":"NonEmptyString64"}, + "Url":{"shape":"String1024"} } }, "DescribeStudioLifecycleConfigRequest":{ @@ -10007,6 +10088,7 @@ "InputDataConfig":{"shape":"InputDataConfig"}, "OutputDataConfig":{"shape":"OutputDataConfig"}, "ResourceConfig":{"shape":"ResourceConfig"}, + "WarmPoolStatus":{"shape":"WarmPoolStatus"}, "VpcConfig":{"shape":"VpcConfig"}, "StoppingCondition":{"shape":"StoppingCondition"}, "CreationTime":{"shape":"Timestamp"}, @@ -10030,9 +10112,8 @@ "ProfilerRuleConfigurations":{"shape":"ProfilerRuleConfigurations"}, "ProfilerRuleEvaluationStatuses":{"shape":"ProfilerRuleEvaluationStatuses"}, "ProfilingStatus":{"shape":"ProfilingStatus"}, - "RetryStrategy":{"shape":"RetryStrategy"}, "Environment":{"shape":"TrainingEnvironmentMap"}, - "WarmPoolStatus":{"shape":"WarmPoolStatus"}, + "RetryStrategy":{"shape":"RetryStrategy"}, "InfraCheckConfig":{"shape":"InfraCheckConfig"} } }, @@ -10472,7 +10553,8 @@ }, "DomainId":{ "type":"string", - "max":63 + "max":63, + "pattern":"^d-(-*[a-z0-9]){1,61}" }, "DomainList":{ "type":"list", @@ -10906,7 +10988,6 @@ }, "EndpointInfo":{ "type":"structure", - "required":["EndpointName"], "members":{ "EndpointName":{"shape":"EndpointName"} } @@ -10935,9 +11016,9 @@ "type":"structure", "members":{ "InstanceType":{"shape":"ProductionVariantInstanceType"}, + "ServerlessConfig":{"shape":"ProductionVariantServerlessConfig"}, "InferenceSpecificationName":{"shape":"InferenceSpecificationName"}, - "EnvironmentParameterRanges":{"shape":"EnvironmentParameterRanges"}, - "ServerlessConfig":{"shape":"ProductionVariantServerlessConfig"} + "EnvironmentParameterRanges":{"shape":"EnvironmentParameterRanges"} } }, "EndpointInputConfigurations":{ @@ -11244,6 +11325,10 @@ }, "FeatureDefinition":{ "type":"structure", + "required":[ + "FeatureName", + "FeatureType" + ], "members":{ "FeatureName":{"shape":"FeatureName"}, "FeatureType":{"shape":"FeatureType"}, @@ -11472,6 +11557,7 @@ }, "FileSystemId":{ "type":"string", + "max":21, "min":11, "pattern":"^(fs-[0-9a-f]{8,})$" }, @@ -11584,7 +11670,7 @@ "FlowDefinitionArn":{ "type":"string", "max":1024, - "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:flow-definition/.*" + "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]+:[0-9]{12}:flow-definition/.*" }, "FlowDefinitionName":{ "type":"string", @@ -11631,7 +11717,6 @@ }, "FlowDefinitionTaskAvailabilityLifetimeInSeconds":{ "type":"integer", - "max":864000, "min":1 }, "FlowDefinitionTaskCount":{ @@ -11659,7 +11744,6 @@ }, "FlowDefinitionTaskTimeLimitInSeconds":{ "type":"integer", - "max":28800, "min":30 }, "FlowDefinitionTaskTitle":{ @@ -12146,7 +12230,7 @@ "HumanTaskUiArn":{ "type":"string", "max":1024, - "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:human-task-ui/.*" + "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]+:[0-9]{12}:human-task-ui/.*" }, "HumanTaskUiName":{ "type":"string", @@ -12243,13 +12327,13 @@ "VpcConfig":{"shape":"VpcConfig"}, "OutputDataConfig":{"shape":"OutputDataConfig"}, "ResourceConfig":{"shape":"ResourceConfig"}, + "HyperParameterTuningResourceConfig":{"shape":"HyperParameterTuningResourceConfig"}, "StoppingCondition":{"shape":"StoppingCondition"}, "EnableNetworkIsolation":{"shape":"Boolean"}, "EnableInterContainerTrafficEncryption":{"shape":"Boolean"}, "EnableManagedSpotTraining":{"shape":"Boolean"}, "CheckpointConfig":{"shape":"CheckpointConfig"}, "RetryStrategy":{"shape":"RetryStrategy"}, - "HyperParameterTuningResourceConfig":{"shape":"HyperParameterTuningResourceConfig"}, "Environment":{"shape":"HyperParameterTrainingJobEnvironmentMap"} } }, @@ -12413,9 +12497,9 @@ "OverallBestTrainingJob":{"shape":"HyperParameterTrainingJobSummary"}, "WarmStartConfig":{"shape":"HyperParameterTuningJobWarmStartConfig"}, "FailureReason":{"shape":"FailureReason"}, - "Tags":{"shape":"TagList"}, "TuningJobCompletionDetails":{"shape":"HyperParameterTuningJobCompletionDetails"}, - "ConsumedResources":{"shape":"HyperParameterTuningJobConsumedResources"} + "ConsumedResources":{"shape":"HyperParameterTuningJobConsumedResources"}, + "Tags":{"shape":"TagList"} } }, "HyperParameterTuningJobSortByOptions":{ @@ -12433,7 +12517,9 @@ "InProgress", "Failed", "Stopped", - "Stopping" + "Stopping", + "Deleting", + "DeleteFailed" ] }, "HyperParameterTuningJobStrategyConfig":{ @@ -13042,10 +13128,10 @@ "ModelConfiguration" ], "members":{ + "RecommendationId":{"shape":"String"}, "Metrics":{"shape":"RecommendationMetrics"}, "EndpointConfiguration":{"shape":"EndpointOutputConfiguration"}, "ModelConfiguration":{"shape":"ModelConfiguration"}, - "RecommendationId":{"shape":"String"}, "InvocationEndTime":{"shape":"InvocationEndTime"}, "InvocationStartTime":{"shape":"InvocationStartTime"} } @@ -13320,7 +13406,6 @@ "max":30, "min":0 }, - "IntegerValue":{"type":"integer"}, "InvocationEndTime":{"type":"timestamp"}, "InvocationStartTime":{"type":"timestamp"}, "InvocationsMaxRetries":{ @@ -13392,6 +13477,7 @@ "JupyterLabAppImageConfig":{ "type":"structure", "members":{ + "FileSystemConfig":{"shape":"FileSystemConfig"}, "ContainerConfig":{"shape":"ContainerConfig"} } }, @@ -13458,7 +13544,7 @@ "KernelSpecs":{ "type":"list", "member":{"shape":"KernelSpec"}, - "max":1, + "max":5, "min":1 }, "Key":{ @@ -13907,7 +13993,7 @@ "SortOrder":{"shape":"AutoMLSortOrder"}, "SortBy":{"shape":"CandidateSortBy"}, "MaxResults":{ - "shape":"AutoMLMaxResults", + "shape":"AutoMLMaxResultsForTrials", "box":true }, "NextToken":{"shape":"NextToken"} @@ -14283,10 +14369,7 @@ }, "ListFeatureGroupsResponse":{ "type":"structure", - "required":[ - "FeatureGroupSummaries", - "NextToken" - ], + "required":["FeatureGroupSummaries"], "members":{ "FeatureGroupSummaries":{"shape":"FeatureGroupSummaries"}, "NextToken":{"shape":"NextToken"} @@ -16043,7 +16126,6 @@ }, "ModelDataSource":{ "type":"structure", - "required":["S3DataSource"], "members":{ "S3DataSource":{"shape":"S3ModelDataSource"} } @@ -16197,7 +16279,7 @@ "ModelName":{ "type":"string", "max":63, - "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*" + "pattern":"^[a-zA-Z0-9]([\\-a-zA-Z0-9]*[a-zA-Z0-9])?" }, "ModelNameContains":{ "type":"string", @@ -16424,7 +16506,7 @@ "type":"list", "member":{"shape":"ModelPackageValidationProfile"}, "max":1, - "min":1 + "min":0 }, "ModelPackageValidationSpecification":{ "type":"structure", @@ -17381,7 +17463,6 @@ }, "OidcMemberDefinition":{ "type":"structure", - "required":["Groups"], "members":{ "Groups":{"shape":"Groups"} } @@ -17524,7 +17605,7 @@ "ParameterList":{ "type":"list", "member":{"shape":"Parameter"}, - "max":50, + "max":200, "min":0 }, "ParameterName":{ @@ -17663,7 +17744,7 @@ }, "PipelineArn":{ "type":"string", - "max":256, + "max":2048, "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:pipeline/.*" }, "PipelineDefinition":{ @@ -17705,13 +17786,13 @@ "CreatedBy":{"shape":"UserContext"}, "LastModifiedBy":{"shape":"UserContext"}, "ParallelismConfiguration":{"shape":"ParallelismConfiguration"}, - "PipelineParameters":{"shape":"ParameterList"}, - "SelectiveExecutionConfig":{"shape":"SelectiveExecutionConfig"} + "SelectiveExecutionConfig":{"shape":"SelectiveExecutionConfig"}, + "PipelineParameters":{"shape":"ParameterList"} } }, "PipelineExecutionArn":{ "type":"string", - "max":256, + "max":2048, "pattern":"^arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:pipeline\\/.*\\/execution\\/.*$" }, "PipelineExecutionDescription":{ @@ -17751,9 +17832,9 @@ "EndTime":{"shape":"Timestamp"}, "StepStatus":{"shape":"StepStatus"}, "CacheHitResult":{"shape":"CacheHitResult"}, - "AttemptCount":{"shape":"IntegerValue"}, "FailureReason":{"shape":"FailureReason"}, "Metadata":{"shape":"PipelineExecutionStepMetadata"}, + "AttemptCount":{"shape":"Integer"}, "SelectiveExecutionResult":{"shape":"SelectiveExecutionResult"} } }, @@ -17775,9 +17856,9 @@ "Condition":{"shape":"ConditionStepMetadata"}, "Callback":{"shape":"CallbackStepMetadata"}, "Lambda":{"shape":"LambdaStepMetadata"}, + "EMR":{"shape":"EMRStepMetadata"}, "QualityCheck":{"shape":"QualityCheckStepMetadata"}, "ClarifyCheck":{"shape":"ClarifyCheckStepMetadata"}, - "EMR":{"shape":"EMRStepMetadata"}, "Fail":{"shape":"FailStepMetadata"}, "AutoMLJob":{"shape":"AutoMLJobStepMetadata"} } @@ -17826,7 +17907,10 @@ }, "PipelineStatus":{ "type":"string", - "enum":["Active"] + "enum":[ + "Active", + "Deleting" + ] }, "PipelineSummary":{ "type":"structure", @@ -18065,7 +18149,7 @@ }, "ProcessingMaxRuntimeInSeconds":{ "type":"integer", - "max":604800, + "max":777600, "min":1 }, "ProcessingOutput":{ @@ -18303,6 +18387,7 @@ "ml.inf1.2xlarge", "ml.inf1.6xlarge", "ml.inf1.24xlarge", + "ml.dl1.24xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", @@ -18380,11 +18465,39 @@ "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", + "ml.trn1n.32xlarge", "ml.inf2.xlarge", "ml.inf2.8xlarge", "ml.inf2.24xlarge", "ml.inf2.48xlarge", - "ml.p5.48xlarge" + "ml.p5.48xlarge", + "ml.m7i.large", + "ml.m7i.xlarge", + "ml.m7i.2xlarge", + "ml.m7i.4xlarge", + "ml.m7i.8xlarge", + "ml.m7i.12xlarge", + "ml.m7i.16xlarge", + "ml.m7i.24xlarge", + "ml.m7i.48xlarge", + "ml.c7i.large", + "ml.c7i.xlarge", + "ml.c7i.2xlarge", + "ml.c7i.4xlarge", + "ml.c7i.8xlarge", + "ml.c7i.12xlarge", + "ml.c7i.16xlarge", + "ml.c7i.24xlarge", + "ml.c7i.48xlarge", + "ml.r7i.large", + "ml.r7i.xlarge", + "ml.r7i.2xlarge", + "ml.r7i.4xlarge", + "ml.r7i.8xlarge", + "ml.r7i.12xlarge", + "ml.r7i.16xlarge", + "ml.r7i.24xlarge", + "ml.r7i.48xlarge" ] }, "ProductionVariantList":{ @@ -18897,12 +19010,12 @@ "Domain":{"shape":"String"}, "Task":{"shape":"String"}, "Framework":{"shape":"String"}, - "FrameworkVersion":{"shape":"String"}, + "FrameworkVersion":{"shape":"RecommendationJobFrameworkVersion"}, "PayloadConfig":{"shape":"RecommendationJobPayloadConfig"}, "NearestModelName":{"shape":"String"}, "SupportedInstanceTypes":{"shape":"RecommendationJobSupportedInstanceTypes"}, - "DataInputConfig":{"shape":"RecommendationJobDataInputConfig"}, "SupportedEndpointType":{"shape":"RecommendationJobSupportedEndpointType"}, + "DataInputConfig":{"shape":"RecommendationJobDataInputConfig"}, "SupportedResponseMIMETypes":{"shape":"RecommendationJobSupportedResponseMIMETypes"} } }, @@ -18916,15 +19029,21 @@ "type":"string", "max":128 }, + "RecommendationJobFrameworkVersion":{ + "type":"string", + "max":10, + "min":3, + "pattern":"[0-9]\\.[A-Za-z0-9.-]+" + }, "RecommendationJobInferenceBenchmark":{ "type":"structure", "required":["ModelConfiguration"], "members":{ "Metrics":{"shape":"RecommendationMetrics"}, + "EndpointMetrics":{"shape":"InferenceMetrics"}, "EndpointConfiguration":{"shape":"EndpointOutputConfiguration"}, "ModelConfiguration":{"shape":"ModelConfiguration"}, "FailureReason":{"shape":"RecommendationFailureReason"}, - "EndpointMetrics":{"shape":"InferenceMetrics"}, "InvocationEndTime":{"shape":"InvocationEndTime"}, "InvocationStartTime":{"shape":"InvocationStartTime"} } @@ -18933,6 +19052,7 @@ "type":"structure", "members":{ "ModelPackageVersionArn":{"shape":"ModelPackageArn"}, + "ModelName":{"shape":"ModelName"}, "JobDurationInSeconds":{"shape":"JobDurationInSeconds"}, "TrafficPattern":{"shape":"TrafficPattern"}, "ResourceLimit":{"shape":"RecommendationJobResourceLimit"}, @@ -18940,8 +19060,7 @@ "VolumeKmsKeyId":{"shape":"KmsKeyId"}, "ContainerConfig":{"shape":"RecommendationJobContainerConfig"}, "Endpoints":{"shape":"Endpoints"}, - "VpcConfig":{"shape":"RecommendationJobVpcConfig"}, - "ModelName":{"shape":"ModelName"} + "VpcConfig":{"shape":"RecommendationJobVpcConfig"} } }, "RecommendationJobName":{ @@ -18960,7 +19079,7 @@ "RecommendationJobPayloadConfig":{ "type":"structure", "members":{ - "SamplePayloadUrl":{"shape":"String"}, + "SamplePayloadUrl":{"shape":"S3Uri"}, "SupportedContentTypes":{"shape":"RecommendationJobSupportedContentTypes"} } }, @@ -18979,7 +19098,9 @@ "COMPLETED", "FAILED", "STOPPING", - "STOPPED" + "STOPPED", + "DELETING", + "DELETED" ] }, "RecommendationJobStoppingConditions":{ @@ -18990,9 +19111,14 @@ "FlatInvocations":{"shape":"FlatInvocations"} } }, + "RecommendationJobSupportedContentType":{ + "type":"string", + "max":256, + "pattern":".*" + }, "RecommendationJobSupportedContentTypes":{ "type":"list", - "member":{"shape":"String"} + "member":{"shape":"RecommendationJobSupportedContentType"} }, "RecommendationJobSupportedEndpointType":{ "type":"string", @@ -19316,8 +19442,8 @@ "InstanceCount":{"shape":"TrainingInstanceCount"}, "VolumeSizeInGB":{"shape":"VolumeSizeInGB"}, "VolumeKmsKeyId":{"shape":"KmsKeyId"}, - "InstanceGroups":{"shape":"InstanceGroups"}, - "KeepAlivePeriodInSeconds":{"shape":"KeepAlivePeriodInSeconds"} + "KeepAlivePeriodInSeconds":{"shape":"KeepAlivePeriodInSeconds"}, + "InstanceGroups":{"shape":"InstanceGroups"} } }, "ResourceConfigForUpdate":{ @@ -19394,16 +19520,18 @@ "ExperimentTrial", "ExperimentTrialComponent", "Endpoint", + "Model", "ModelPackage", "ModelPackageGroup", "Pipeline", "PipelineExecution", "FeatureGroup", - "Project", "FeatureMetadata", + "Image", + "ImageVersion", + "Project", "HyperParameterTuningJob", - "ModelCard", - "Model" + "ModelCard" ] }, "ResponseMIMEType":{ @@ -19691,11 +19819,11 @@ "Pipeline":{"shape":"Pipeline"}, "PipelineExecution":{"shape":"PipelineExecution"}, "FeatureGroup":{"shape":"FeatureGroup"}, - "Project":{"shape":"Project"}, "FeatureMetadata":{"shape":"FeatureMetadata"}, + "Project":{"shape":"Project"}, "HyperParameterTuningJob":{"shape":"HyperParameterTuningJobSearchEntity"}, - "Model":{"shape":"ModelDashboardModel"}, - "ModelCard":{"shape":"ModelCard"} + "ModelCard":{"shape":"ModelCard"}, + "Model":{"shape":"ModelDashboardModel"} } }, "SearchRequest":{ @@ -19750,7 +19878,8 @@ "Interrupted", "MaxWaitTimeExceeded", "Updating", - "Restarting" + "Restarting", + "Pending" ] }, "SecondaryStatusTransition":{ @@ -20098,6 +20227,7 @@ "SourceUri":{ "type":"string", "max":2048, + "min":1, "pattern":".*" }, "SpaceArn":{ @@ -20119,10 +20249,10 @@ "Status":{"shape":"SpaceStatus"}, "CreationTime":{"shape":"CreationTime"}, "LastModifiedTime":{"shape":"LastModifiedTime"}, - "SpaceDisplayName":{"shape":"NonEmptyString64"}, "SpaceSettingsSummary":{"shape":"SpaceSettingsSummary"}, "SpaceSharingSettingsSummary":{"shape":"SpaceSharingSettingsSummary"}, - "OwnershipSettingsSummary":{"shape":"OwnershipSettingsSummary"} + "OwnershipSettingsSummary":{"shape":"OwnershipSettingsSummary"}, + "SpaceDisplayName":{"shape":"NonEmptyString64"} } }, "SpaceEbsVolumeSizeInGb":{ @@ -20151,10 +20281,10 @@ "members":{ "JupyterServerAppSettings":{"shape":"JupyterServerAppSettings"}, "KernelGatewayAppSettings":{"shape":"KernelGatewayAppSettings"}, - "JupyterLabAppSettings":{"shape":"SpaceJupyterLabAppSettings"}, "CodeEditorAppSettings":{"shape":"SpaceCodeEditorAppSettings"}, - "SpaceStorageSettings":{"shape":"SpaceStorageSettings"}, + "JupyterLabAppSettings":{"shape":"SpaceJupyterLabAppSettings"}, "AppType":{"shape":"AppType"}, + "SpaceStorageSettings":{"shape":"SpaceStorageSettings"}, "CustomFileSystems":{"shape":"CustomFileSystems"} } }, @@ -20504,10 +20634,6 @@ "min":1, "pattern":".+" }, - "String2048":{ - "type":"string", - "max":2048 - }, "String256":{ "type":"string", "max":256 @@ -20530,7 +20656,7 @@ }, "StringParameterValue":{ "type":"string", - "max":256, + "max":2500, "pattern":".*" }, "StudioLifecycleConfigAppType":{ @@ -20538,8 +20664,10 @@ "enum":[ "JupyterServer", "KernelGateway", - "JupyterLab", - "CodeEditor" + "VSCode", + "Savitur", + "CodeEditor", + "JupyterLab" ] }, "StudioLifecycleConfigArn":{ @@ -20623,6 +20751,7 @@ "TableFormat":{ "type":"string", "enum":[ + "Default", "Glue", "Iceberg" ] @@ -20698,8 +20827,10 @@ "lambda", "ml_m4", "ml_m5", + "ml_m6g", "ml_c4", "ml_c5", + "ml_c6g", "ml_p2", "ml_p3", "ml_g4dn", @@ -20712,6 +20843,7 @@ "jetson_nano", "jetson_xavier", "rasp3b", + "rasp4b", "imx8qm", "deeplens", "rk3399", @@ -20898,7 +21030,8 @@ "members":{ "CompletionCriteria":{"shape":"AutoMLJobCompletionCriteria"}, "BaseModelName":{"shape":"BaseModelName"}, - "TextGenerationHyperParameters":{"shape":"TextGenerationHyperParameters"} + "TextGenerationHyperParameters":{"shape":"TextGenerationHyperParameters"}, + "ModelAccessConfig":{"shape":"ModelAccessConfig"} } }, "TextGenerationResolvedAttributes":{ @@ -21094,6 +21227,8 @@ "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.p4d.24xlarge", + "ml.p4de.24xlarge", + "ml.p5.48xlarge", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", @@ -21115,7 +21250,23 @@ "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", - "ml.p5.48xlarge" + "ml.m6i.large", + "ml.m6i.xlarge", + "ml.m6i.2xlarge", + "ml.m6i.4xlarge", + "ml.m6i.8xlarge", + "ml.m6i.12xlarge", + "ml.m6i.16xlarge", + "ml.m6i.24xlarge", + "ml.m6i.32xlarge", + "ml.c6i.xlarge", + "ml.c6i.2xlarge", + "ml.c6i.8xlarge", + "ml.c6i.4xlarge", + "ml.c6i.12xlarge", + "ml.c6i.16xlarge", + "ml.c6i.24xlarge", + "ml.c6i.32xlarge" ] }, "TrainingInstanceTypes":{ @@ -21399,6 +21550,7 @@ "Environment":{"shape":"TransformEnvironmentMap"}, "TransformInput":{"shape":"TransformInput"}, "TransformOutput":{"shape":"TransformOutput"}, + "DataCaptureConfig":{"shape":"BatchDataCaptureConfig"}, "TransformResources":{"shape":"TransformResources"}, "CreationTime":{"shape":"Timestamp"}, "TransformStartTime":{"shape":"Timestamp"}, @@ -21407,8 +21559,7 @@ "AutoMLJobArn":{"shape":"AutoMLJobArn"}, "DataProcessing":{"shape":"DataProcessing"}, "ExperimentConfig":{"shape":"ExperimentConfig"}, - "Tags":{"shape":"TagList"}, - "DataCaptureConfig":{"shape":"BatchDataCaptureConfig"} + "Tags":{"shape":"TagList"} } }, "TransformJobArn":{ @@ -21583,18 +21734,23 @@ }, "TrialComponentArtifacts":{ "type":"map", - "key":{"shape":"TrialComponentKey64"}, + "key":{"shape":"TrialComponentKey128"}, "value":{"shape":"TrialComponentArtifact"}, - "max":30 + "max":60 + }, + "TrialComponentKey128":{ + "type":"string", + "max":128, + "pattern":".*" }, "TrialComponentKey256":{ "type":"string", "max":256, "pattern":".*" }, - "TrialComponentKey64":{ + "TrialComponentKey320":{ "type":"string", - "max":64, + "max":320, "pattern":".*" }, "TrialComponentMetricSummaries":{ @@ -21624,9 +21780,9 @@ }, "TrialComponentParameters":{ "type":"map", - "key":{"shape":"TrialComponentKey256"}, + "key":{"shape":"TrialComponentKey320"}, "value":{"shape":"TrialComponentParameterValue"}, - "max":150 + "max":300 }, "TrialComponentPrimaryStatus":{ "type":"string", @@ -21845,7 +22001,7 @@ "members":{ "ArtifactArn":{"shape":"ArtifactArn"}, "ArtifactName":{"shape":"ExperimentEntityName"}, - "Properties":{"shape":"LineageEntityParameters"}, + "Properties":{"shape":"ArtifactProperties"}, "PropertiesToRemove":{"shape":"ListLineageEntityParameterKey"} } }, @@ -21892,7 +22048,7 @@ "type":"structure", "required":["ContextName"], "members":{ - "ContextName":{"shape":"ExperimentEntityName"}, + "ContextName":{"shape":"ContextName"}, "Description":{"shape":"ExperimentDescription"}, "Properties":{"shape":"LineageEntityParameters"}, "PropertiesToRemove":{"shape":"ListLineageEntityParameterKey"} @@ -21936,8 +22092,8 @@ "DomainId":{"shape":"DomainId"}, "DefaultUserSettings":{"shape":"UserSettings"}, "DomainSettingsForUpdate":{"shape":"DomainSettingsForUpdate"}, - "DefaultSpaceSettings":{"shape":"DefaultSpaceSettings"}, "AppSecurityGroupManagement":{"shape":"AppSecurityGroupManagement"}, + "DefaultSpaceSettings":{"shape":"DefaultSpaceSettings"}, "SubnetIds":{"shape":"Subnets"}, "AppNetworkAccessType":{"shape":"AppNetworkAccessType"} } @@ -22505,8 +22661,8 @@ "RStudioServerProAppSettings":{"shape":"RStudioServerProAppSettings"}, "RSessionAppSettings":{"shape":"RSessionAppSettings"}, "CanvasAppSettings":{"shape":"CanvasAppSettings"}, - "JupyterLabAppSettings":{"shape":"JupyterLabAppSettings"}, "CodeEditorAppSettings":{"shape":"CodeEditorAppSettings"}, + "JupyterLabAppSettings":{"shape":"JupyterLabAppSettings"}, "SpaceStorageSettings":{"shape":"DefaultSpaceStorageSettings"}, "DefaultLandingUri":{"shape":"LandingUri"}, "StudioWebPortal":{"shape":"StudioWebPortal"}, diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 64e0d48e273..ab70f69a226 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -11,8 +11,8 @@ "CreateApp": "

Creates a running app for the specified UserProfile. This operation is automatically invoked by Amazon SageMaker upon access to the associated Domain, and when new kernel configurations are selected by the user. A user may have multiple Apps active simultaneously.

", "CreateAppImageConfig": "

Creates a configuration for running a SageMaker image as a KernelGateway app. The configuration specifies the Amazon Elastic File System (EFS) storage volume on the image, and a list of the kernels in the image.

", "CreateArtifact": "

Creates an artifact. An artifact is a lineage tracking entity that represents a URI addressable object or data. Some examples are the S3 URI of a dataset and the ECR registry path of an image. For more information, see Amazon SageMaker ML Lineage Tracking.

", - "CreateAutoMLJob": "

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.

We recommend using the new versions CreateAutoMLJobV2 and DescribeAutoMLJobV2, which offer backward compatibility.

CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

You can find the best-performing model after you run an AutoML job by calling DescribeAutoMLJobV2 (recommended) or DescribeAutoMLJob.

", - "CreateAutoMLJobV2": "

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.

CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility.

CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig.

You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

", + "CreateAutoMLJob": "

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job.

We recommend using the new versions CreateAutoMLJobV2 and DescribeAutoMLJobV2, which offer backward compatibility.

CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

You can find the best-performing model after you run an AutoML job by calling DescribeAutoMLJobV2 (recommended) or DescribeAutoMLJob.

", + "CreateAutoMLJobV2": "

Creates an Autopilot job also referred to as Autopilot experiment or AutoML job V2.

CreateAutoMLJobV2 and DescribeAutoMLJobV2 are new versions of CreateAutoMLJob and DescribeAutoMLJob which offer backward compatibility.

CreateAutoMLJobV2 can manage tabular problem types identical to those of its previous version CreateAutoMLJob, as well as time-series forecasting, non-tabular problem types such as image or text classification, and text generation (LLMs fine-tuning).

Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 in Migrate a CreateAutoMLJob to CreateAutoMLJobV2.

For the list of available problem types supported by CreateAutoMLJobV2, see AutoMLProblemTypeConfig.

You can find the best-performing model after you run an AutoML job V2 by calling DescribeAutoMLJobV2.

", "CreateCluster": "

Creates a SageMaker HyperPod cluster. SageMaker HyperPod is a capability of SageMaker for creating and managing persistent clusters for developing large machine learning models, such as large language models (LLMs) and diffusion models. To learn more, see Amazon SageMaker HyperPod in the Amazon SageMaker Developer Guide.

", "CreateCodeRepository": "

Creates a Git repository as a resource in your SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.

The repository can be hosted either in Amazon Web Services CodeCommit or in any other Git repository.

", "CreateCompilationJob": "

Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.

If you choose to host your model using Amazon SageMaker hosting services, you can use the resulting model artifacts as part of the model. You can also use the artifacts with Amazon Web Services IoT Greengrass. In that case, deploy them as an ML resource.

In the request body, you provide the following:

You can also provide a Tag to track the model compilation job's resource use and costs. The response body contains the CompilationJobArn for the compiled job.

To stop a model compilation job, use StopCompilationJob. To get information about a particular model compilation job, use DescribeCompilationJob. To get information about multiple model compilation jobs, use ListCompilationJobs.

", @@ -70,6 +70,7 @@ "DeleteAssociation": "

Deletes an association.

", "DeleteCluster": "

Delete a SageMaker HyperPod cluster.

", "DeleteCodeRepository": "

Deletes the specified Git repository from your account.

", + "DeleteCompilationJob": "

Deletes the specified compilation job. This action deletes only the compilation job resource in Amazon SageMaker. It doesn't delete other resources that are related to that job, such as the model artifacts that the job creates, the compilation logs in CloudWatch, the compiled model, or the IAM role.

You can delete a compilation job only if its current status is COMPLETED, FAILED, or STOPPED. If the job status is STARTING or INPROGRESS, stop the job, and then delete it after its status becomes STOPPED.

", "DeleteContext": "

Deletes an context.

", "DeleteDataQualityJobDefinition": "

Deletes a data quality monitoring job definition.

", "DeleteDeviceFleet": "

Deletes a fleet.

", @@ -742,6 +743,19 @@ "ModelDigests$ArtifactDigest": "

Provides a hash value that uniquely identifies the stored model artifacts.

" } }, + "ArtifactProperties": { + "base": null, + "refs": { + "CreateArtifactRequest$Properties": "

A list of properties to add to the artifact.

", + "UpdateArtifactRequest$Properties": "

The new list of properties. Overwrites the current property list.

" + } + }, + "ArtifactPropertyValue": { + "base": null, + "refs": { + "ArtifactProperties$value": null + } + }, "ArtifactSource": { "base": "

A structure describing the source of an artifact.

", "refs": { @@ -1185,7 +1199,12 @@ "AutoMLMaxResults": { "base": null, "refs": { - "ListAutoMLJobsRequest$MaxResults": "

Request a list of jobs up to a specified limit.

", + "ListAutoMLJobsRequest$MaxResults": "

Request a list of jobs up to a specified limit.

" + } + }, + "AutoMLMaxResultsForTrials": { + "base": null, + "refs": { "ListCandidatesForAutoMLJobRequest$MaxResults": "

List the job's candidates up to a specified limit.

" } }, @@ -2471,6 +2490,22 @@ "UpdateContextResponse$ContextArn": "

The Amazon Resource Name (ARN) of the context.

" } }, + "ContextName": { + "base": null, + "refs": { + "ContextSummary$ContextName": "

The name of the context.

", + "CreateContextRequest$ContextName": "

The name of the context. Must be unique to your account in an Amazon Web Services Region.

", + "DeleteContextRequest$ContextName": "

The name of the context to delete.

", + "DescribeContextResponse$ContextName": "

The name of the context.

", + "UpdateContextRequest$ContextName": "

The name of the context to update.

" + } + }, + "ContextNameOrArn": { + "base": null, + "refs": { + "DescribeContextRequest$ContextName": "

The name of the context to describe.

" + } + }, "ContextSource": { "base": "

A structure describing the source of a context.

", "refs": { @@ -3075,7 +3110,6 @@ "CodeRepositorySummary$CreationTime": "

The date and time that the Git repository was created.

", "CompilationJobSummary$CreationTime": "

The time when the model compilation job was created.

", "DescribeAlgorithmOutput$CreationTime": "

A timestamp specifying when the algorithm was created.

", - "DescribeAppResponse$CreationTime": "

The creation time.

", "DescribeCodeRepositoryOutput$CreationTime": "

The date and time that the repository was created.

", "DescribeCompilationJobResponse$CreationTime": "

The time that the model compilation job was created.

", "DescribeDomainResponse$CreationTime": "

The creation time.

", @@ -3454,6 +3488,11 @@ "refs": { } }, + "DeleteCompilationJobRequest": { + "base": null, + "refs": { + } + }, "DeleteContextRequest": { "base": null, "refs": { @@ -5300,6 +5339,7 @@ "CreateModelPackageInput$ModelPackageName": "

The name of the model package. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).

This parameter is required for unversioned models. It is not applicable to versioned models.

", "DeleteAlgorithmInput$AlgorithmName": "

The name of the algorithm to delete.

", "DeleteCodeRepositoryInput$CodeRepositoryName": "

The name of the Git repository to delete.

", + "DeleteCompilationJobRequest$CompilationJobName": "

The name of the compilation job to delete.

", "DeleteDeviceFleetRequest$DeviceFleetName": "

The name of the fleet to delete.

", "DeleteEdgeDeploymentPlanRequest$EdgeDeploymentPlanName": "

The name of the edge deployment plan to delete.

", "DeleteEdgeDeploymentStageRequest$EdgeDeploymentPlanName": "

The name of the edge deployment plan from which the stage will be deleted.

", @@ -5513,10 +5553,8 @@ "AssociateTrialComponentRequest$TrialName": "

The name of the trial to associate with.

", "AssociationSummary$SourceName": "

The name of the source.

", "AssociationSummary$DestinationName": "

The name of the destination.

", - "ContextSummary$ContextName": "

The name of the context.

", "CreateActionRequest$ActionName": "

The name of the action. Must be unique to your account in an Amazon Web Services Region.

", "CreateArtifactRequest$ArtifactName": "

The name of the artifact. Must be unique to your account in an Amazon Web Services Region.

", - "CreateContextRequest$ContextName": "

The name of the context. Must be unique to your account in an Amazon Web Services Region.

", "CreateExperimentRequest$ExperimentName": "

The name of the experiment. The name must be unique in your Amazon Web Services account and is not case-sensitive.

", "CreateExperimentRequest$DisplayName": "

The name of the experiment as displayed. The name doesn't need to be unique. If you don't specify DisplayName, the value in ExperimentName is displayed.

", "CreateTrialComponentRequest$TrialComponentName": "

The name of the component. The name must be unique in your Amazon Web Services account and is not case-sensitive.

", @@ -5525,12 +5563,9 @@ "CreateTrialRequest$DisplayName": "

The name of the trial as displayed. The name doesn't need to be unique. If DisplayName isn't specified, TrialName is displayed.

", "CreateTrialRequest$ExperimentName": "

The name of the experiment to associate the trial with.

", "DeleteActionRequest$ActionName": "

The name of the action to delete.

", - "DeleteContextRequest$ContextName": "

The name of the context to delete.

", "DeleteExperimentRequest$ExperimentName": "

The name of the experiment to delete.

", "DeleteTrialComponentRequest$TrialComponentName": "

The name of the component to delete.

", "DeleteTrialRequest$TrialName": "

The name of the trial to delete.

", - "DescribeActionRequest$ActionName": "

The name of the action to describe.

", - "DescribeContextResponse$ContextName": "

The name of the context.

", "DescribeExperimentRequest$ExperimentName": "

The name of the experiment to describe.

", "DescribeExperimentResponse$ExperimentName": "

The name of the experiment.

", "DescribeExperimentResponse$DisplayName": "

The name of the experiment as displayed. If DisplayName isn't specified, ExperimentName is displayed.

", @@ -5576,7 +5611,6 @@ "TrialSummary$DisplayName": "

The name of the trial as displayed. If DisplayName isn't specified, TrialName is displayed.

", "UpdateActionRequest$ActionName": "

The name of the action to update.

", "UpdateArtifactRequest$ArtifactName": "

The new name for the artifact.

", - "UpdateContextRequest$ContextName": "

The name of the context to update.

", "UpdateExperimentRequest$ExperimentName": "

The name of the experiment to update.

", "UpdateExperimentRequest$DisplayName": "

The name of the experiment as displayed. The name doesn't need to be unique. If DisplayName isn't specified, ExperimentName is displayed.

", "UpdateTrialComponentRequest$TrialComponentName": "

The name of the component to update.

", @@ -5588,9 +5622,9 @@ "ExperimentEntityNameOrArn": { "base": null, "refs": { + "DescribeActionRequest$ActionName": "

The name of the action to describe.

", "DescribeActionResponse$ActionName": "

The name of the action.

", "DescribeArtifactResponse$ArtifactName": "

The name of the artifact.

", - "DescribeContextRequest$ContextName": "

The name of the context to describe.

", "DescribeTrialComponentRequest$TrialComponentName": "

The name of the trial component to describe.

" } }, @@ -5918,6 +5952,7 @@ "FileSystemConfig": { "base": "

The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.

", "refs": { + "JupyterLabAppImageConfig$FileSystemConfig": null, "KernelGatewayImageConfig$FileSystemConfig": "

The Amazon Elastic File System (EFS) storage configuration for a SageMaker image.

" } }, @@ -7039,7 +7074,7 @@ "ImageVersionAlias": { "base": null, "refs": { - "ResourceSpec$SageMakerImageVersionAlias": "

The SageMakerImageVersionAlias.

" + "ResourceSpec$SageMakerImageVersionAlias": "

The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.

" } }, "ImageVersionArn": { @@ -7523,6 +7558,7 @@ "ModelCardVersionSummary$ModelCardVersion": "

A version of the model card.

", "ModelDashboardModelCard$ModelCardVersion": "

The model card version.

", "ModelLatencyThreshold$ValueInMilliseconds": "

The model latency percentile value in milliseconds.

", + "PipelineExecutionStep$AttemptCount": "

The current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps.

", "RecommendationJobStoppingConditions$MaxInvocations": "

The maximum number of requests per minute expected for the endpoint.

", "RecommendationMetrics$MaxInvocations": "

The expected maximum number of requests per minute for the instance.

", "RecommendationMetrics$ModelLatency": "

The expected model latency at maximum invocation per minute for the instance.

", @@ -7550,12 +7586,6 @@ "ParameterRanges$IntegerParameterRanges": "

The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.

" } }, - "IntegerValue": { - "base": null, - "refs": { - "PipelineExecutionStep$AttemptCount": "

The current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps.

" - } - }, "InvocationEndTime": { "base": null, "refs": { @@ -7670,7 +7700,7 @@ } }, "KeepAlivePeriodInSeconds": { - "base": null, + "base": "Optional. Customer requested period in seconds for which the Training cluster is kept alive after the job is finished.", "refs": { "ResourceConfig$KeepAlivePeriodInSeconds": "

The duration of time in seconds to retain configured resources in a warm pool for subsequent training jobs.

", "ResourceConfigForUpdate$KeepAlivePeriodInSeconds": "

The KeepAlivePeriodInSeconds value specified in the ResourceConfig to update.

" @@ -7762,7 +7792,7 @@ "MonitoringOutputConfig$KmsKeyId": "

The Key Management Service (KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.

", "OnlineStoreSecurityConfig$KmsKeyId": "

The Amazon Web Services Key Management Service (KMS) key ARN that SageMaker Feature Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side encryption.

The caller (either user or IAM role) of CreateFeatureGroup must have below permissions to the OnlineStore KmsKeyId:

The caller (either user or IAM role) to all DataPlane operations (PutRecord, GetRecord, DeleteRecord) must have the following permissions to the KmsKeyId:

", "OutputConfig$KmsKeyId": "

The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker uses to encrypt your output models with Amazon S3 server-side encryption after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

The KmsKeyId can be any of the following formats:

", - "OutputDataConfig$KmsKeyId": "

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. SageMaker uses server-side encryption with KMS-managed keys for OutputDataConfig. If you use a bucket policy with an s3:PutObject permission that only allows objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption to \"aws:kms\". For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

The KMS key policy must grant permission to the IAM role that you specify in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

", + "OutputDataConfig$KmsKeyId": "

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide. If the output data is stored in Amazon S3 Express One Zone, it is encrypted with server-side encryption with Amazon S3 managed keys (SSE-S3). KMS key is not supported for Amazon S3 Express One Zone

The KMS key policy must grant permission to the IAM role that you specify in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

", "ProcessingClusterConfig$VolumeKmsKeyId": "

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance(s) that run the processing job.

Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are encrypted using a hardware module on the instance. You can't request a VolumeKmsKeyId when using an instance type with local storage.

For a list of instance types that support local instance storage, see Instance Store Volumes.

For more information about local instance storage encryption, see SSD Instance Store Volumes.

", "ProcessingOutputConfig$KmsKeyId": "

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the processing job output. KmsKeyId can be an ID of a KMS key, ARN of a KMS key, alias of a KMS key, or alias of a KMS key. The KmsKeyId is applied to all outputs.

", "ProductionVariantCoreDumpConfig$KmsKeyId": "

The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that SageMaker uses to encrypt the core dump data at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats:

If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt. If you don't provide a KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's account. SageMaker uses server-side encryption with KMS-managed keys for OutputDataConfig. If you use a bucket policy with an s3:PutObject permission that only allows objects with server-side encryption, set the condition key of s3:x-amz-server-side-encryption to \"aws:kms\". For more information, see KMS-Managed Encryption Keys in the Amazon Simple Storage Service Developer Guide.

The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint and UpdateEndpoint requests. For more information, see Using Key Policies in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.

", @@ -7955,7 +7985,7 @@ "LandingUri": { "base": null, "refs": { - "CreatePresignedDomainUrlRequest$LandingUri": "

The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:

", + "CreatePresignedDomainUrlRequest$LandingUri": "

The landing page that the user is directed to when accessing the presigned URL. Using this value, users can access Studio or Studio Classic, even if it is not the default experience for the domain. The supported values are:

", "UserSettings$DefaultLandingUri": "

The default experience that the user is directed to when accessing the domain. The supported values are:

" } }, @@ -8018,13 +8048,11 @@ "base": null, "refs": { "CreateActionRequest$Properties": "

A list of properties to add to the action.

", - "CreateArtifactRequest$Properties": "

A list of properties to add to the artifact.

", "CreateContextRequest$Properties": "

A list of properties to add to the context.

", "DescribeActionResponse$Properties": "

A list of the action's properties.

", "DescribeArtifactResponse$Properties": "

A list of the artifact's properties.

", "DescribeContextResponse$Properties": "

A list of the context's properties.

", "UpdateActionRequest$Properties": "

The new list of properties. Overwrites the current property list.

", - "UpdateArtifactRequest$Properties": "

The new list of properties. Overwrites the current property list.

", "UpdateContextRequest$Properties": "

The new list of properties. Overwrites the current property list.

" } }, @@ -9289,7 +9317,8 @@ "ModelAccessConfig": { "base": "

The access configuration file for the ML model. You can explicitly accept the model end-user license agreement (EULA) within the ModelAccessConfig. For more information, see End-user license agreements.

", "refs": { - "S3ModelDataSource$ModelAccessConfig": "

Specifies the access configuration file for the ML model. You can explicitly accept the model end-user license agreement (EULA) within the ModelAccessConfig. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.

" + "S3ModelDataSource$ModelAccessConfig": "

Specifies the access configuration file for the ML model. You can explicitly accept the model end-user license agreement (EULA) within the ModelAccessConfig. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.

", + "TextGenerationJobConfig$ModelAccessConfig": null } }, "ModelApprovalStatus": { @@ -12323,6 +12352,12 @@ "InferenceRecommendationsJob$JobDescription": "

The job description.

" } }, + "RecommendationJobFrameworkVersion": { + "base": null, + "refs": { + "RecommendationJobContainerConfig$FrameworkVersion": "

The framework version of the container image.

" + } + }, "RecommendationJobInferenceBenchmark": { "base": "

The details for a specific benchmark from an Inference Recommender job.

", "refs": { @@ -12385,6 +12420,12 @@ "DescribeInferenceRecommendationsJobResponse$StoppingConditions": "

The stopping conditions that you provided when you initiated the job.

" } }, + "RecommendationJobSupportedContentType": { + "base": null, + "refs": { + "RecommendationJobSupportedContentTypes$member": null + } + }, "RecommendationJobSupportedContentTypes": { "base": null, "refs": { @@ -12709,7 +12750,7 @@ } }, "ResourceRetainedBillableTimeInSeconds": { - "base": null, + "base": "Optional. Indicates how many seconds the resource stayed in ResourceRetained state. Populated only after resource reaches ResourceReused or ResourceReleased state.", "refs": { "WarmPoolStatus$ResourceRetainedBillableTimeInSeconds": "

The billable time in seconds used by the warm pool. Billable time refers to the absolute wall-clock time.

Multiply ResourceRetainedBillableTimeInSeconds by the number of instances (InstanceCount) in your training cluster to get the total compute time SageMaker bills you if you run warm pool training. The formula is as follows: ResourceRetainedBillableTimeInSeconds * InstanceCount.

" } @@ -12995,6 +13036,7 @@ "ProfilerConfigForUpdate$S3OutputPath": "

Path to Amazon S3 storage location for system and framework metrics.

", "ProfilerRuleConfiguration$S3OutputPath": "

Path to Amazon S3 storage location for rules.

", "RecommendationJobCompiledOutputConfig$S3OutputUri": "

Identifies the Amazon S3 bucket where you want SageMaker to store the compiled model artifacts.

", + "RecommendationJobPayloadConfig$SamplePayloadUrl": "

The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

", "RedshiftDatasetDefinition$OutputS3Uri": "

The location in Amazon S3 where the Redshift query results are stored.

", "S3DataSource$S3Uri": "

Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example:

Your input bucket must be located in same Amazon Web Services region as your training job.

", "S3StorageConfig$S3Uri": "

The S3 URI, or location in Amazon S3, of OfflineStore.

S3 URIs have a format similar to the following: s3://example-bucket/prefix/.

", @@ -13335,7 +13377,7 @@ "SingleSignOnApplicationArn": { "base": null, "refs": { - "DescribeDomainResponse$SingleSignOnApplicationArn": "

The ARN of the application managed by SageMaker in IAM Identity Center. This value is only returned for domains created after September 19, 2023.

" + "DescribeDomainResponse$SingleSignOnApplicationArn": "

The ARN of the application managed by SageMaker in IAM Identity Center. This value is only returned for domains created after October 1, 2023.

" } }, "SingleSignOnUserIdentifier": { @@ -13529,6 +13571,9 @@ "SourceUri": { "base": null, "refs": { + "ActionSource$SourceUri": "

The URI of the source.

", + "ArtifactSource$SourceUri": "

The URI of the source.

", + "ContextSource$SourceUri": "

The URI of the source.

", "ListActionsRequest$SourceUri": "

A filter that returns only actions with the specified source URI.

", "ListArtifactsRequest$SourceUri": "

A filter that returns only artifacts with the specified source URI.

", "ListContextsRequest$SourceUri": "

A filter that returns only contexts with the specified source URI.

" @@ -13909,10 +13954,7 @@ "RecommendationJobContainerConfig$Domain": "

The machine learning domain of the model and its components.

Valid Values: COMPUTER_VISION | NATURAL_LANGUAGE_PROCESSING | MACHINE_LEARNING

", "RecommendationJobContainerConfig$Task": "

The machine learning task that the model accomplishes.

Valid Values: IMAGE_CLASSIFICATION | OBJECT_DETECTION | TEXT_GENERATION | IMAGE_SEGMENTATION | FILL_MASK | CLASSIFICATION | REGRESSION | OTHER

", "RecommendationJobContainerConfig$Framework": "

The machine learning framework of the container image.

Valid Values: TENSORFLOW | PYTORCH | XGBOOST | SAGEMAKER-SCIKIT-LEARN

", - "RecommendationJobContainerConfig$FrameworkVersion": "

The framework version of the container image.

", "RecommendationJobContainerConfig$NearestModelName": "

The name of a pre-trained machine learning model benchmarked by Amazon SageMaker Inference Recommender that matches your model.

Valid Values: efficientnetb7 | unet | xgboost | faster-rcnn-resnet101 | nasnetlarge | vgg16 | inception-v3 | mask-rcnn | sagemaker-scikit-learn | densenet201-gluon | resnet18v2-gluon | xception | densenet201 | yolov4 | resnet152 | bert-base-cased | xceptionV1-keras | resnet50 | retinanet

", - "RecommendationJobPayloadConfig$SamplePayloadUrl": "

The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

", - "RecommendationJobSupportedContentTypes$member": null, "RecommendationJobSupportedInstanceTypes$member": null, "RenderUiTemplateResponse$RenderedContent": "

A Liquid template that renders the HTML for the worker UI.

", "RenderingError$Code": "

A unique identifier for a specific class of errors.

", @@ -13936,7 +13978,7 @@ "ClarifyCheckStepMetadata$ViolationReport": "

The Amazon S3 URI of the violation report if violations are detected.

", "CreateDomainResponse$Url": "

The URL to the created domain.

", "DescribeDomainResponse$Url": "

The domain's URL.

", - "DescribeSpaceResponse$Url": "

Returns the URL of the space. If the space is created with Amazon Web Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) authentication, users can navigate to the URL after appending the respective redirect parameter for the application type to be federated through Amazon Web Services IAM Identity Center.

The following application types are supported:

", + "DescribeSpaceResponse$Url": "

Returns the URL of the space. If the space is created with Amazon Web Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) authentication, users can navigate to the URL after appending the respective redirect parameter for the application type to be federated through Amazon Web Services IAM Identity Center.

The following application types are supported:

", "DomainDetails$Url": "

The domain's URL.

", "EMRStepMetadata$LogFilePath": "

The path to the log file where the cluster step's failure root cause is recorded.

", "OutputParameter$Value": "

The value of the output parameter.

", @@ -13964,14 +14006,6 @@ "Workteam$Description": "

A description of the work team.

" } }, - "String2048": { - "base": null, - "refs": { - "ActionSource$SourceUri": "

The URI of the source.

", - "ArtifactSource$SourceUri": "

The URI of the source.

", - "ContextSource$SourceUri": "

The URI of the source.

" - } - }, "String256": { "base": null, "refs": { @@ -14053,6 +14087,7 @@ "StringParameterValue": { "base": null, "refs": { + "ArtifactProperties$key": null, "LineageEntityParameters$key": null, "LineageEntityParameters$value": null, "ListLineageEntityParameterKey$member": null, @@ -14548,6 +14583,7 @@ "DescribeAppImageConfigResponse$LastModifiedTime": "

When the AppImageConfig was last modified.

", "DescribeAppResponse$LastHealthCheckTimestamp": "

The timestamp of the last health check.

", "DescribeAppResponse$LastUserActivityTimestamp": "

The timestamp of the last user's activity. LastUserActivityTimestamp is also updated when SageMaker performs health checks without user activity. As a result, this value is set to the same value as LastHealthCheckTimestamp.

", + "DescribeAppResponse$CreationTime": "

The creation time.

", "DescribeArtifactResponse$CreationTime": "

When the artifact was created.

", "DescribeArtifactResponse$LastModifiedTime": "

When the artifact was last modified.

", "DescribeAutoMLJobResponse$CreationTime": "

Returns the creation time of the AutoML job.

", @@ -15393,17 +15429,22 @@ "UpdateTrialComponentRequest$OutputArtifacts": "

Replaces all of the component's output artifacts with the specified artifacts or adds new output artifacts. Existing output artifacts are replaced if the trial component is updated with an identical output artifact key.

" } }, + "TrialComponentKey128": { + "base": null, + "refs": { + "TrialComponentArtifacts$key": null + } + }, "TrialComponentKey256": { "base": null, "refs": { - "ListTrialComponentKey256$member": null, - "TrialComponentParameters$key": null + "ListTrialComponentKey256$member": null } }, - "TrialComponentKey64": { + "TrialComponentKey320": { "base": null, "refs": { - "TrialComponentArtifacts$key": null + "TrialComponentParameters$key": null } }, "TrialComponentMetricSummaries": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 0f14692b861..7346f141fc0 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -3584,12 +3584,14 @@ }, "cognito-identity" : { "endpoints" : { + "af-south-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, @@ -3656,12 +3658,14 @@ }, "cognito-idp" : { "endpoints" : { + "af-south-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, @@ -11907,6 +11911,7 @@ "deprecated" : true, "hostname" : "mq-fips.us-west-2.amazonaws.com" }, + "il-central-1" : { }, "me-central-1" : { }, "me-south-1" : { }, "sa-east-1" : { }, @@ -14197,12 +14202,60 @@ "eu-west-1" : { }, "eu-west-2" : { }, "eu-west-3" : { }, + "fips-us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "deprecated" : true, + "hostname" : "rolesanywhere-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "deprecated" : true, + "hostname" : "rolesanywhere-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1" : { + "credentialScope" : { + "region" : "us-west-1" + }, + "deprecated" : true, + "hostname" : "rolesanywhere-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "deprecated" : true, + "hostname" : "rolesanywhere-fips.us-west-2.amazonaws.com" + }, "me-south-1" : { }, "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "us-east-1" : { + "variants" : [ { + "hostname" : "rolesanywhere-fips.us-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "rolesanywhere-fips.us-east-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "rolesanywhere-fips.us-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "rolesanywhere-fips.us-west-2.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "route53" : { @@ -24448,8 +24501,32 @@ }, "rolesanywhere" : { "endpoints" : { - "us-gov-east-1" : { }, - "us-gov-west-1" : { } + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "rolesanywhere-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "rolesanywhere-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "variants" : [ { + "hostname" : "rolesanywhere-fips.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1" : { + "variants" : [ { + "hostname" : "rolesanywhere-fips.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + } } }, "route53" : { diff --git a/service/cloud9/api.go b/service/cloud9/api.go index 15792334399..4b9a0d2e500 100644 --- a/service/cloud9/api.go +++ b/service/cloud9/api.go @@ -1610,7 +1610,7 @@ type CreateEnvironmentEC2Input struct { // From January 22, 2024, Amazon Linux (AL1) will be removed from the list of // available image IDs for Cloud9. This is necessary as AL1 will reach the end // of maintenance support in December 2023, and as a result will no longer receive - // security updates. We recommend using Amazon Linux 2 as the AMI to create + // security updates. We recommend using Amazon Linux 2023 as the AMI to create // your environment as it is fully supported. This change will only affect direct // API consumers, and not Cloud9 console users. // @@ -1623,6 +1623,8 @@ type CreateEnvironmentEC2Input struct { // // * Amazon Linux 2: amazonlinux-2-x86_64 // + // * Amazon Linux 2023 (recommended): amazonlinux-2023-x86_64 + // // * Ubuntu 18.04: ubuntu-18.04-x86_64 // // * Ubuntu 22.04: ubuntu-22.04-x86_64 @@ -1633,6 +1635,8 @@ type CreateEnvironmentEC2Input struct { // // * Amazon Linux 2: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64 // + // * Amazon Linux 2023 (recommended): resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2023-x86_64 + // // * Ubuntu 18.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64 // // * Ubuntu 22.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64 diff --git a/service/cloud9/examples_test.go b/service/cloud9/examples_test.go index e443bc700bc..a897a7edb54 100644 --- a/service/cloud9/examples_test.go +++ b/service/cloud9/examples_test.go @@ -33,7 +33,7 @@ func ExampleCloud9_CreateEnvironmentEC2_shared00() { input := &cloud9.CreateEnvironmentEC2Input{ AutomaticStopTimeMinutes: aws.Int64(60), Description: aws.String("This is my demonstration environment."), - ImageId: aws.String("amazonlinux-2-x86_64"), + ImageId: aws.String("amazonlinux-2023-x86_64"), InstanceType: aws.String("t2.micro"), Name: aws.String("my-demo-environment"), OwnerArn: aws.String("arn:aws:iam::123456789012:user/MyDemoUser"), diff --git a/service/connect/api.go b/service/connect/api.go index 1495d5643ae..ac7f4d29e23 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -17219,6 +17219,108 @@ func (c *Connect) MonitorContactWithContext(ctx aws.Context, input *MonitorConta return out, req.Send() } +const opPauseContact = "PauseContact" + +// PauseContactRequest generates a "aws/request.Request" representing the +// client's request for the PauseContact 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 PauseContact for more information on using the PauseContact +// 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 PauseContactRequest method. +// req, resp := client.PauseContactRequest(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/PauseContact +func (c *Connect) PauseContactRequest(input *PauseContactInput) (req *request.Request, output *PauseContactOutput) { + op := &request.Operation{ + Name: opPauseContact, + HTTPMethod: "POST", + HTTPPath: "/contact/pause", + } + + if input == nil { + input = &PauseContactInput{} + } + + output = &PauseContactOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// PauseContact API operation for Amazon Connect Service. +// +// Allows pausing an ongoing task contact. +// +// 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 PauseContact for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - LimitExceededException +// The allowed limit for the resource has been exceeded. +// +// - ConflictException +// Operation cannot be performed at this time as there is a conflict with another +// operation or contact state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PauseContact +func (c *Connect) PauseContact(input *PauseContactInput) (*PauseContactOutput, error) { + req, out := c.PauseContactRequest(input) + return out, req.Send() +} + +// PauseContactWithContext is the same as PauseContact with the addition of +// the ability to pass a context and additional request options. +// +// See PauseContact 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) PauseContactWithContext(ctx aws.Context, input *PauseContactInput, opts ...request.Option) (*PauseContactOutput, error) { + req, out := c.PauseContactRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opPutUserStatus = "PutUserStatus" // PutUserStatusRequest generates a "aws/request.Request" representing the @@ -17550,6 +17652,105 @@ func (c *Connect) ReplicateInstanceWithContext(ctx aws.Context, input *Replicate return out, req.Send() } +const opResumeContact = "ResumeContact" + +// ResumeContactRequest generates a "aws/request.Request" representing the +// client's request for the ResumeContact 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 ResumeContact for more information on using the ResumeContact +// 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 ResumeContactRequest method. +// req, resp := client.ResumeContactRequest(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/ResumeContact +func (c *Connect) ResumeContactRequest(input *ResumeContactInput) (req *request.Request, output *ResumeContactOutput) { + op := &request.Operation{ + Name: opResumeContact, + HTTPMethod: "POST", + HTTPPath: "/contact/resume", + } + + if input == nil { + input = &ResumeContactInput{} + } + + output = &ResumeContactOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// ResumeContact API operation for Amazon Connect Service. +// +// Allows resuming a task contact in a paused state. +// +// 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 ResumeContact for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - ConflictException +// Operation cannot be performed at this time as there is a conflict with another +// operation or contact state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContact +func (c *Connect) ResumeContact(input *ResumeContactInput) (*ResumeContactOutput, error) { + req, out := c.ResumeContactRequest(input) + return out, req.Send() +} + +// ResumeContactWithContext is the same as ResumeContact with the addition of +// the ability to pass a context and additional request options. +// +// See ResumeContact 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) ResumeContactWithContext(ctx aws.Context, input *ResumeContactInput, opts ...request.Option) (*ResumeContactOutput, error) { + req, out := c.ResumeContactRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opResumeContactRecording = "ResumeContactRecording" // ResumeContactRecordingRequest generates a "aws/request.Request" representing the @@ -25517,6 +25718,9 @@ func (s *AgentContactReference) SetStateStartTimestamp(v time.Time) *AgentContac type AgentInfo struct { _ struct{} `type:"structure"` + // Agent pause duration for a contact in seconds. + AgentPauseDurationInSeconds *int64 `type:"integer"` + // The timestamp when the contact was connected to the agent. ConnectedToAgentTimestamp *time.Time `type:"timestamp"` @@ -25542,6 +25746,12 @@ func (s AgentInfo) GoString() string { return s.String() } +// SetAgentPauseDurationInSeconds sets the AgentPauseDurationInSeconds field's value. +func (s *AgentInfo) SetAgentPauseDurationInSeconds(v int64) *AgentInfo { + s.AgentPauseDurationInSeconds = &v + return s +} + // SetConnectedToAgentTimestamp sets the ConnectedToAgentTimestamp field's value. func (s *AgentInfo) SetConnectedToAgentTimestamp(v time.Time) *AgentInfo { s.ConnectedToAgentTimestamp = &v @@ -28733,6 +28943,71 @@ func (s *ClaimedPhoneNumberSummary) SetTargetArn(v string) *ClaimedPhoneNumberSu return s } +// Operation cannot be performed at this time as there is a conflict with another +// operation or contact state. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + // Information required to join the call. type ConnectionData struct { _ struct{} `type:"structure"` @@ -28812,6 +29087,12 @@ type Contact struct { // started listening to a contact. InitiationTimestamp *time.Time `type:"timestamp"` + // The timestamp when the contact was last paused. + LastPausedTimestamp *time.Time `type:"timestamp"` + + // The timestamp when the contact was last resumed. + LastResumedTimestamp *time.Time `type:"timestamp"` + // The timestamp when contact was last updated. LastUpdateTimestamp *time.Time `type:"timestamp"` @@ -28837,6 +29118,12 @@ type Contact struct { // generated and user-defined tags. Tags map[string]*string `min:"1" type:"map"` + // Total pause count for a contact. + TotalPauseCount *int64 `type:"integer"` + + // Total pause duration for a contact in seconds. + TotalPauseDurationInSeconds *int64 `type:"integer"` + // Information about Amazon Connect Wisdom. WisdomInfo *WisdomInfo `type:"structure"` } @@ -28913,6 +29200,18 @@ func (s *Contact) SetInitiationTimestamp(v time.Time) *Contact { return s } +// SetLastPausedTimestamp sets the LastPausedTimestamp field's value. +func (s *Contact) SetLastPausedTimestamp(v time.Time) *Contact { + s.LastPausedTimestamp = &v + return s +} + +// SetLastResumedTimestamp sets the LastResumedTimestamp field's value. +func (s *Contact) SetLastResumedTimestamp(v time.Time) *Contact { + s.LastResumedTimestamp = &v + return s +} + // SetLastUpdateTimestamp sets the LastUpdateTimestamp field's value. func (s *Contact) SetLastUpdateTimestamp(v time.Time) *Contact { s.LastUpdateTimestamp = &v @@ -28955,6 +29254,18 @@ func (s *Contact) SetTags(v map[string]*string) *Contact { return s } +// SetTotalPauseCount sets the TotalPauseCount field's value. +func (s *Contact) SetTotalPauseCount(v int64) *Contact { + s.TotalPauseCount = &v + return s +} + +// SetTotalPauseDurationInSeconds sets the TotalPauseDurationInSeconds field's value. +func (s *Contact) SetTotalPauseDurationInSeconds(v int64) *Contact { + s.TotalPauseDurationInSeconds = &v + return s +} + // SetWisdomInfo sets the WisdomInfo field's value. func (s *Contact) SetWisdomInfo(v *WisdomInfo) *Contact { s.WisdomInfo = v @@ -29761,6 +30072,80 @@ func (s *CreateAgentStatusOutput) SetAgentStatusId(v string) *CreateAgentStatusO return s } +// The CreateCase action definition. +type CreateCaseActionDefinition struct { + _ struct{} `type:"structure"` + + // An array of objects with Field ID and Value data. + // + // Fields is a required field + Fields []*FieldValue `type:"list" required:"true"` + + // A unique identifier of a template. + // + // TemplateId is a required field + TemplateId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCaseActionDefinition) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateCaseActionDefinition) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateCaseActionDefinition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateCaseActionDefinition"} + if s.Fields == nil { + invalidParams.Add(request.NewErrParamRequired("Fields")) + } + if s.TemplateId == nil { + invalidParams.Add(request.NewErrParamRequired("TemplateId")) + } + if s.TemplateId != nil && len(*s.TemplateId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateId", 1)) + } + if s.Fields != nil { + for i, v := range s.Fields { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Fields", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFields sets the Fields field's value. +func (s *CreateCaseActionDefinition) SetFields(v []*FieldValue) *CreateCaseActionDefinition { + s.Fields = v + return s +} + +// SetTemplateId sets the TemplateId field's value. +func (s *CreateCaseActionDefinition) SetTemplateId(v string) *CreateCaseActionDefinition { + s.TemplateId = &v + return s +} + type CreateContactFlowInput struct { _ struct{} `type:"structure"` @@ -39850,6 +40235,29 @@ func (s *EmailReference) SetValue(v string) *EmailReference { return s } +// An empty value. +type EmptyFieldValue struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EmptyFieldValue) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EmptyFieldValue) GoString() string { + return s.String() +} + // The encryption configuration. type EncryptionConfig struct { _ struct{} `type:"structure"` @@ -39919,6 +40327,29 @@ func (s *EncryptionConfig) SetKeyId(v string) *EncryptionConfig { return s } +// End associated tasks related to a case. +type EndAssociatedTasksActionDefinition struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EndAssociatedTasksActionDefinition) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s EndAssociatedTasksActionDefinition) GoString() string { + return s.String() +} + // Information about the endpoint. type Endpoint struct { _ struct{} `type:"structure"` @@ -42093,6 +42524,129 @@ func (s *FailedRequest) SetRequestIdentifier(v string) *FailedRequest { return s } +// Object for case field values. +type FieldValue struct { + _ struct{} `type:"structure"` + + // Unique identifier of a field. + // + // Id is a required field + Id *string `min:"1" type:"string" required:"true"` + + // Union of potential field value types. + // + // Value is a required field + Value *FieldValueUnion `type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FieldValue) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FieldValue) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FieldValue) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FieldValue"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *FieldValue) SetId(v string) *FieldValue { + s.Id = &v + return s +} + +// SetValue sets the Value field's value. +func (s *FieldValue) SetValue(v *FieldValueUnion) *FieldValue { + s.Value = v + return s +} + +// Object to store union of Field values. +type FieldValueUnion struct { + _ struct{} `type:"structure"` + + // A Boolean number value type. + BooleanValue *bool `type:"boolean"` + + // a Double number value type. + DoubleValue *float64 `type:"double"` + + // An empty value. + EmptyValue *EmptyFieldValue `type:"structure"` + + // String value type. + StringValue *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FieldValueUnion) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FieldValueUnion) GoString() string { + return s.String() +} + +// SetBooleanValue sets the BooleanValue field's value. +func (s *FieldValueUnion) SetBooleanValue(v bool) *FieldValueUnion { + s.BooleanValue = &v + return s +} + +// SetDoubleValue sets the DoubleValue field's value. +func (s *FieldValueUnion) SetDoubleValue(v float64) *FieldValueUnion { + s.DoubleValue = &v + return s +} + +// SetEmptyValue sets the EmptyValue field's value. +func (s *FieldValueUnion) SetEmptyValue(v *EmptyFieldValue) *FieldValueUnion { + s.EmptyValue = v + return s +} + +// SetStringValue sets the StringValue field's value. +func (s *FieldValueUnion) SetStringValue(v string) *FieldValueUnion { + s.StringValue = &v + return s +} + // Contains the filter to apply when retrieving metrics with the GetMetricDataV2 // (https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricDataV2.html) // API. @@ -43630,6 +44184,13 @@ type GetMetricDataV2Input struct { // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent // Hierarchy, Feature, contact/segmentAttributes/connect:Subtype // + // AVG_ACTIVE_TIME + // + // Unit: Seconds + // + // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent + // Hierarchy + // // AVG_AFTER_CONTACT_WORK_TIME // // Unit: Seconds @@ -43653,6 +44214,13 @@ type GetMetricDataV2Input struct { // // The Negate key in Metric Level Filters is not applicable for this metric. // + // AVG_AGENT_PAUSE_TIME + // + // Unit: Seconds + // + // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent + // Hierarchy + // // AVG_CONTACT_DURATION // // Unit: Seconds @@ -54425,6 +54993,104 @@ func (s *ParticipantTokenCredentials) SetParticipantToken(v string) *Participant return s } +type PauseContactInput struct { + _ struct{} `type:"structure"` + + // The identifier of the flow. + ContactFlowId *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 Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PauseContactInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PauseContactInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PauseContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PauseContactInput"} + 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.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 +} + +// SetContactFlowId sets the ContactFlowId field's value. +func (s *PauseContactInput) SetContactFlowId(v string) *PauseContactInput { + s.ContactFlowId = &v + return s +} + +// SetContactId sets the ContactId field's value. +func (s *PauseContactInput) SetContactId(v string) *PauseContactInput { + s.ContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *PauseContactInput) SetInstanceId(v string) *PauseContactInput { + s.InstanceId = &v + return s +} + +type PauseContactOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PauseContactOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PauseContactOutput) GoString() string { + return s.String() +} + // Enable persistent chats. For more information about enabling persistent chat, // and for example use cases and how to configure for them, see Enable persistent // chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html). @@ -57548,6 +58214,104 @@ func (s *ResourceTagsSearchCriteria) SetTagSearchCondition(v *TagSearchCondition return s } +type ResumeContactInput struct { + _ struct{} `type:"structure"` + + // The identifier of the flow. + ContactFlowId *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 Amazon Connect instance. You can find the instanceId + // in the ARN of the instance. + // + // InstanceId is a required field + InstanceId *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResumeContactInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResumeContactInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ResumeContactInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ResumeContactInput"} + 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.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 +} + +// SetContactFlowId sets the ContactFlowId field's value. +func (s *ResumeContactInput) SetContactFlowId(v string) *ResumeContactInput { + s.ContactFlowId = &v + return s +} + +// SetContactId sets the ContactId field's value. +func (s *ResumeContactInput) SetContactId(v string) *ResumeContactInput { + s.ContactId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *ResumeContactInput) SetInstanceId(v string) *ResumeContactInput { + s.InstanceId = &v + return s +} + +type ResumeContactOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResumeContactOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ResumeContactOutput) GoString() string { + return s.String() +} + type ResumeContactRecordingInput struct { _ struct{} `type:"structure"` @@ -58415,6 +59179,17 @@ type RuleAction struct { // | OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate AssignContactCategoryAction *AssignContactCategoryActionDefinition `type:"structure"` + // Information about the create case action. + // + // Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable + // | OnPostChatAnalysisAvailable. + CreateCaseAction *CreateCaseActionDefinition `type:"structure"` + + // Information about the end associated tasks action. + // + // Supported only for TriggerEventSource values: OnCaseUpdate. + EndAssociatedTasksAction *EndAssociatedTasksActionDefinition `type:"structure"` + // Information about the EventBridge action. // // Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable @@ -58433,6 +59208,11 @@ type RuleAction struct { // is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate // | OnSalesforceCaseCreate TaskAction *TaskActionDefinition `type:"structure"` + + // Information about the update case action. + // + // Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate. + UpdateCaseAction *UpdateCaseActionDefinition `type:"structure"` } // String returns the string representation. @@ -58459,6 +59239,11 @@ func (s *RuleAction) Validate() error { if s.ActionType == nil { invalidParams.Add(request.NewErrParamRequired("ActionType")) } + if s.CreateCaseAction != nil { + if err := s.CreateCaseAction.Validate(); err != nil { + invalidParams.AddNested("CreateCaseAction", err.(request.ErrInvalidParams)) + } + } if s.EventBridgeAction != nil { if err := s.EventBridgeAction.Validate(); err != nil { invalidParams.AddNested("EventBridgeAction", err.(request.ErrInvalidParams)) @@ -58474,6 +59259,11 @@ func (s *RuleAction) Validate() error { invalidParams.AddNested("TaskAction", err.(request.ErrInvalidParams)) } } + if s.UpdateCaseAction != nil { + if err := s.UpdateCaseAction.Validate(); err != nil { + invalidParams.AddNested("UpdateCaseAction", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -58493,6 +59283,18 @@ func (s *RuleAction) SetAssignContactCategoryAction(v *AssignContactCategoryActi return s } +// SetCreateCaseAction sets the CreateCaseAction field's value. +func (s *RuleAction) SetCreateCaseAction(v *CreateCaseActionDefinition) *RuleAction { + s.CreateCaseAction = v + return s +} + +// SetEndAssociatedTasksAction sets the EndAssociatedTasksAction field's value. +func (s *RuleAction) SetEndAssociatedTasksAction(v *EndAssociatedTasksActionDefinition) *RuleAction { + s.EndAssociatedTasksAction = v + return s +} + // SetEventBridgeAction sets the EventBridgeAction field's value. func (s *RuleAction) SetEventBridgeAction(v *EventBridgeActionDefinition) *RuleAction { s.EventBridgeAction = v @@ -58511,6 +59313,12 @@ func (s *RuleAction) SetTaskAction(v *TaskActionDefinition) *RuleAction { return s } +// SetUpdateCaseAction sets the UpdateCaseAction field's value. +func (s *RuleAction) SetUpdateCaseAction(v *UpdateCaseActionDefinition) *RuleAction { + s.UpdateCaseAction = v + return s +} + // A list of ActionTypes associated with a rule. type RuleSummary struct { _ struct{} `type:"structure"` @@ -61940,6 +62748,10 @@ type StartOutboundVoiceContactInput struct { // ContactFlowId is a required field ContactFlowId *string `type:"string" required:"true"` + // A description of the voice contact that is shown to an agent in the Contact + // Control Panel (CCP). + Description *string `type:"string"` + // The phone number of the customer, in E.164 format. // // DestinationPhoneNumber is a required field @@ -61952,12 +62764,29 @@ type StartOutboundVoiceContactInput struct { // InstanceId is a required field InstanceId *string `min:"1" type:"string" required:"true"` + // The name of a voice contact that is shown to an agent in the Contact Control + // Panel (CCP). + Name *string `type:"string"` + // The queue for the call. If you specify a queue, the phone displayed for caller // ID is the phone number specified in the queue. If you do not specify a queue, // the queue defined in the flow is used. If you do not specify a queue, you // must specify a source phone number. QueueId *string `type:"string"` + // A formatted URL that is shown to an agent in the Contact Control Panel (CCP). + // Contacts can have the following reference types at the time of creation: + // URL | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference + // type during voice contact creation. + References map[string]*Reference `type:"map"` + + // The contactId that is related to this contact. Linking voice, task, or chat + // by using RelatedContactID copies over contact attributes from the related + // contact to the new contact. All updates to user-defined attributes in the + // new contact are limited to the individual contact ID. There are no limits + // to the number of contacts that can be linked by using RelatedContactId. + RelatedContactId *string `min:"1" type:"string"` + // The phone number associated with the Amazon Connect instance, in E.164 format. // If you do not specify a source phone number, you must specify a queue. SourcePhoneNumber *string `type:"string"` @@ -62005,6 +62834,19 @@ func (s *StartOutboundVoiceContactInput) Validate() error { if s.InstanceId != nil && len(*s.InstanceId) < 1 { invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) } + if s.RelatedContactId != nil && len(*s.RelatedContactId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RelatedContactId", 1)) + } + if s.References != nil { + for i, v := range s.References { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "References", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -62042,6 +62884,12 @@ func (s *StartOutboundVoiceContactInput) SetContactFlowId(v string) *StartOutbou return s } +// SetDescription sets the Description field's value. +func (s *StartOutboundVoiceContactInput) SetDescription(v string) *StartOutboundVoiceContactInput { + s.Description = &v + return s +} + // SetDestinationPhoneNumber sets the DestinationPhoneNumber field's value. func (s *StartOutboundVoiceContactInput) SetDestinationPhoneNumber(v string) *StartOutboundVoiceContactInput { s.DestinationPhoneNumber = &v @@ -62054,12 +62902,30 @@ func (s *StartOutboundVoiceContactInput) SetInstanceId(v string) *StartOutboundV return s } +// SetName sets the Name field's value. +func (s *StartOutboundVoiceContactInput) SetName(v string) *StartOutboundVoiceContactInput { + s.Name = &v + return s +} + // SetQueueId sets the QueueId field's value. func (s *StartOutboundVoiceContactInput) SetQueueId(v string) *StartOutboundVoiceContactInput { s.QueueId = &v return s } +// SetReferences sets the References field's value. +func (s *StartOutboundVoiceContactInput) SetReferences(v map[string]*Reference) *StartOutboundVoiceContactInput { + s.References = v + return s +} + +// SetRelatedContactId sets the RelatedContactId field's value. +func (s *StartOutboundVoiceContactInput) SetRelatedContactId(v string) *StartOutboundVoiceContactInput { + s.RelatedContactId = &v + return s +} + // SetSourcePhoneNumber sets the SourcePhoneNumber field's value. func (s *StartOutboundVoiceContactInput) SetSourcePhoneNumber(v string) *StartOutboundVoiceContactInput { s.SourcePhoneNumber = &v @@ -65155,6 +66021,63 @@ func (s UpdateAgentStatusOutput) GoString() string { return s.String() } +// The UpdateCase action definition. +type UpdateCaseActionDefinition struct { + _ struct{} `type:"structure"` + + // An array of objects with Field ID and Value data. + // + // Fields is a required field + Fields []*FieldValue `type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateCaseActionDefinition) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateCaseActionDefinition) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateCaseActionDefinition) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateCaseActionDefinition"} + if s.Fields == nil { + invalidParams.Add(request.NewErrParamRequired("Fields")) + } + if s.Fields != nil { + for i, v := range s.Fields { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Fields", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFields sets the Fields field's value. +func (s *UpdateCaseActionDefinition) SetFields(v []*FieldValue) *UpdateCaseActionDefinition { + s.Fields = v + return s +} + type UpdateContactAttributesInput struct { _ struct{} `type:"structure"` @@ -72120,6 +73043,15 @@ const ( // ActionTypeSendNotification is a ActionType enum value ActionTypeSendNotification = "SEND_NOTIFICATION" + + // ActionTypeCreateCase is a ActionType enum value + ActionTypeCreateCase = "CREATE_CASE" + + // ActionTypeUpdateCase is a ActionType enum value + ActionTypeUpdateCase = "UPDATE_CASE" + + // ActionTypeEndAssociatedTasks is a ActionType enum value + ActionTypeEndAssociatedTasks = "END_ASSOCIATED_TASKS" ) // ActionType_Values returns all elements of the ActionType enum @@ -72129,6 +73061,9 @@ func ActionType_Values() []string { ActionTypeAssignContactCategory, ActionTypeGenerateEventbridgeEvent, ActionTypeSendNotification, + ActionTypeCreateCase, + ActionTypeUpdateCase, + ActionTypeEndAssociatedTasks, } } @@ -72692,6 +73627,12 @@ const ( // EventSourceNameOnMetricDataUpdate is a EventSourceName enum value EventSourceNameOnMetricDataUpdate = "OnMetricDataUpdate" + + // EventSourceNameOnCaseCreate is a EventSourceName enum value + EventSourceNameOnCaseCreate = "OnCaseCreate" + + // EventSourceNameOnCaseUpdate is a EventSourceName enum value + EventSourceNameOnCaseUpdate = "OnCaseUpdate" ) // EventSourceName_Values returns all elements of the EventSourceName enum @@ -72706,6 +73647,8 @@ func EventSourceName_Values() []string { EventSourceNameOnSalesforceCaseCreate, EventSourceNameOnContactEvaluationSubmit, EventSourceNameOnMetricDataUpdate, + EventSourceNameOnCaseCreate, + EventSourceNameOnCaseUpdate, } } @@ -74700,6 +75643,9 @@ const ( // SourceTypeZendesk is a SourceType enum value SourceTypeZendesk = "ZENDESK" + + // SourceTypeCases is a SourceType enum value + SourceTypeCases = "CASES" ) // SourceType_Values returns all elements of the SourceType enum @@ -74707,6 +75653,7 @@ func SourceType_Values() []string { return []string{ SourceTypeSalesforce, SourceTypeZendesk, + SourceTypeCases, } } diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index bd93289f4b1..c891281a389 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -808,6 +808,10 @@ type ConnectAPI interface { MonitorContactWithContext(aws.Context, *connect.MonitorContactInput, ...request.Option) (*connect.MonitorContactOutput, error) MonitorContactRequest(*connect.MonitorContactInput) (*request.Request, *connect.MonitorContactOutput) + PauseContact(*connect.PauseContactInput) (*connect.PauseContactOutput, error) + PauseContactWithContext(aws.Context, *connect.PauseContactInput, ...request.Option) (*connect.PauseContactOutput, error) + PauseContactRequest(*connect.PauseContactInput) (*request.Request, *connect.PauseContactOutput) + PutUserStatus(*connect.PutUserStatusInput) (*connect.PutUserStatusOutput, error) PutUserStatusWithContext(aws.Context, *connect.PutUserStatusInput, ...request.Option) (*connect.PutUserStatusOutput, error) PutUserStatusRequest(*connect.PutUserStatusInput) (*request.Request, *connect.PutUserStatusOutput) @@ -820,6 +824,10 @@ type ConnectAPI interface { ReplicateInstanceWithContext(aws.Context, *connect.ReplicateInstanceInput, ...request.Option) (*connect.ReplicateInstanceOutput, error) ReplicateInstanceRequest(*connect.ReplicateInstanceInput) (*request.Request, *connect.ReplicateInstanceOutput) + ResumeContact(*connect.ResumeContactInput) (*connect.ResumeContactOutput, error) + ResumeContactWithContext(aws.Context, *connect.ResumeContactInput, ...request.Option) (*connect.ResumeContactOutput, error) + ResumeContactRequest(*connect.ResumeContactInput) (*request.Request, *connect.ResumeContactOutput) + ResumeContactRecording(*connect.ResumeContactRecordingInput) (*connect.ResumeContactRecordingOutput, error) ResumeContactRecordingWithContext(aws.Context, *connect.ResumeContactRecordingInput, ...request.Option) (*connect.ResumeContactRecordingOutput, error) ResumeContactRecordingRequest(*connect.ResumeContactRecordingInput) (*request.Request, *connect.ResumeContactRecordingOutput) diff --git a/service/connect/errors.go b/service/connect/errors.go index 515f7a7b1a6..90dffc75d42 100644 --- a/service/connect/errors.go +++ b/service/connect/errors.go @@ -14,6 +14,13 @@ const ( // You do not have sufficient permissions to perform this action. ErrCodeAccessDeniedException = "AccessDeniedException" + // ErrCodeConflictException for service response error code + // "ConflictException". + // + // Operation cannot be performed at this time as there is a conflict with another + // operation or contact state. + ErrCodeConflictException = "ConflictException" + // ErrCodeContactFlowNotPublishedException for service response error code // "ContactFlowNotPublishedException". // @@ -159,6 +166,7 @@ const ( var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "AccessDeniedException": newErrorAccessDeniedException, + "ConflictException": newErrorConflictException, "ContactFlowNotPublishedException": newErrorContactFlowNotPublishedException, "ContactNotFoundException": newErrorContactNotFoundException, "DestinationNotAllowedException": newErrorDestinationNotAllowedException, diff --git a/service/kms/api.go b/service/kms/api.go index 6d70114087b..90fad2676fc 100644 --- a/service/kms/api.go +++ b/service/kms/api.go @@ -75,6 +75,9 @@ func (c *KMS) CancelKeyDeletionRequest(input *CancelKeyDeletionInput) (req *requ // // Related operations: ScheduleKeyDeletion // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -270,6 +273,9 @@ func (c *KMS) ConnectCustomKeyStoreRequest(input *ConnectCustomKeyStoreInput) (r // // - UpdateCustomKeyStore // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -470,6 +476,9 @@ func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, // // - UpdateAlias // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -664,6 +673,9 @@ func (c *KMS) CreateCustomKeyStoreRequest(input *CreateCustomKeyStoreInput) (req // // - UpdateCustomKeyStore // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -791,7 +803,7 @@ func (c *KMS) CreateCustomKeyStoreRequest(input *CreateCustomKeyStoreInput) (req // - XksProxyVpcEndpointServiceInvalidConfigurationException // The request was rejected because the Amazon VPC endpoint service configuration // does not fulfill the requirements for an external key store proxy. For details, -// see the exception message and review the requirements (kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements) +// see the exception message and review the requirements (https://docs.aws.amazon.com/kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements) // for Amazon VPC endpoint service connectivity for an external key store. // // - XksProxyInvalidResponseException @@ -922,6 +934,9 @@ func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, // // - RevokeGrant // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -1218,6 +1233,9 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // // - ScheduleKeyDeletion // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -1462,10 +1480,10 @@ func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output // or any Amazon Web Services SDK. Use the Recipient parameter to provide the // attestation document for the enclave. Instead of the plaintext data, the // response includes the plaintext data encrypted with the public key from the -// attestation document (CiphertextForRecipient).For information about the interaction -// between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services -// Nitro Enclaves uses KMS (https://docs.aws.amazon.com/kms/latest/developerguide/services-nitro-enclaves.html) -// in the Key Management Service Developer Guide.. +// attestation document (CiphertextForRecipient). For information about the +// interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon +// Web Services Nitro Enclaves uses KMS (https://docs.aws.amazon.com/kms/latest/developerguide/services-nitro-enclaves.html) +// in the Key Management Service Developer Guide. // // The KMS key that you use for this operation must be in a compatible key state. // For details, see Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) @@ -1488,6 +1506,9 @@ func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output // // - ReEncrypt // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -1672,6 +1693,9 @@ func (c *KMS) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, // // - UpdateAlias // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -1827,6 +1851,9 @@ func (c *KMS) DeleteCustomKeyStoreRequest(input *DeleteCustomKeyStoreInput) (req // // - UpdateCustomKeyStore // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -1971,6 +1998,9 @@ func (c *KMS) DeleteImportedKeyMaterialRequest(input *DeleteImportedKeyMaterialI // // - ImportKeyMaterial // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -2140,6 +2170,9 @@ func (c *KMS) DescribeCustomKeyStoresRequest(input *DescribeCustomKeyStoresInput // // - UpdateCustomKeyStore // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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,11 +2321,11 @@ func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, // signing, or generating and verifying MACs) and the algorithms that the KMS // key supports. // -// For multi-Region keys (kms/latest/developerguide/multi-region-keys-overview.html), +// For multi-Region keys (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html), // DescribeKey displays the primary key and all related replica keys. For KMS -// keys in CloudHSM key stores (kms/latest/developerguide/keystore-cloudhsm.html), +// keys in CloudHSM key stores (https://docs.aws.amazon.com/kms/latest/developerguide/keystore-cloudhsm.html), // it includes information about the key store, such as the key store ID and -// the CloudHSM cluster ID. For KMS keys in external key stores (kms/latest/developerguide/keystore-external.html), +// the CloudHSM cluster ID. For KMS keys in external key stores (https://docs.aws.amazon.com/kms/latest/developerguide/keystore-external.html), // it includes the custom key store ID and the ID of the external key. // // DescribeKey does not return the following information: @@ -2338,6 +2371,9 @@ func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, // // - ListRetirableGrants // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -2448,6 +2484,9 @@ func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *request.Request, o // // Related operations: EnableKey // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -2593,6 +2632,9 @@ func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *re // // - GetKeyRotationStatus // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -2752,6 +2794,9 @@ func (c *KMS) DisconnectCustomKeyStoreRequest(input *DisconnectCustomKeyStoreInp // // - UpdateCustomKeyStore // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -2879,6 +2924,9 @@ func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, out // // Related operations: DisableKey // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -2994,7 +3042,7 @@ func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *requ // Enables automatic rotation of the key material (https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html) // of the specified symmetric encryption KMS key. // -// When you enable automatic rotation of acustomer managed KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk), +// When you enable automatic rotation of a customer managed KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk), // KMS rotates the key material of the KMS key one year (approximately 365 days) // from the enable date and every year thereafter. You can monitor rotation // of the key material for your KMS keys in CloudTrail and Amazon CloudWatch. @@ -3043,6 +3091,9 @@ func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *requ // // - GetKeyRotationStatus // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -3220,6 +3271,9 @@ func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output // // - GenerateDataKeyPair // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -3445,6 +3499,9 @@ func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request. // // - GenerateDataKeyWithoutPlaintext // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -3582,8 +3639,8 @@ func (c *KMS) GenerateDataKeyPairRequest(input *GenerateDataKeyPairInput) (req * // private key that is encrypted under the symmetric encryption KMS key you // specify. You can use the data key pair to perform asymmetric cryptography // and implement digital signatures outside of KMS. The bytes in the keys are -// random; they not related to the caller or to the KMS key that is used to -// encrypt the private key. +// random; they are not related to the caller or to the KMS key that is used +// to encrypt the private key. // // You can use the public key that GenerateDataKeyPair returns to encrypt data // or verify a signature outside of KMS. Then, store the encrypted private key @@ -3660,6 +3717,9 @@ func (c *KMS) GenerateDataKeyPairRequest(input *GenerateDataKeyPairInput) (req * // // - GenerateDataKeyWithoutPlaintext // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -3854,6 +3914,9 @@ func (c *KMS) GenerateDataKeyPairWithoutPlaintextRequest(input *GenerateDataKeyP // // - GenerateDataKeyWithoutPlaintext // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -4060,6 +4123,9 @@ func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWitho // // - GenerateDataKeyPairWithoutPlaintext // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -4226,6 +4292,9 @@ func (c *KMS) GenerateMacRequest(input *GenerateMacInput) (req *request.Request, // // Related operations: VerifyMac // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -4383,6 +4452,9 @@ func (c *KMS) GenerateRandomRequest(input *GenerateRandomInput) (req *request.Re // Required permissions: kms:GenerateRandom (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) // (IAM policy) // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -4510,7 +4582,10 @@ func (c *KMS) GetKeyPolicyRequest(input *GetKeyPolicyInput) (req *request.Reques // Required permissions: kms:GetKeyPolicy (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) // (key policy) // -// Related operations: PutKeyPolicy +// Related operations: PutKeyPolicy (https://docs.aws.amazon.com/kms/latest/APIReference/API_PutKeyPolicy.html) +// +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). // // 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 @@ -4676,6 +4751,9 @@ func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req // // - EnableKeyRotation // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -4800,11 +4878,11 @@ func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) // Origin value of EXTERNAL to create a KMS key with no key material. You can // import key material for a symmetric encryption KMS key, HMAC KMS key, asymmetric // encryption KMS key, or asymmetric signing KMS key. You can also import key -// material into a multi-Region key (kms/latest/developerguide/multi-region-keys-overview.html) +// material into a multi-Region key (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) // of any supported type. However, you can't import key material into a KMS -// key in a custom key store (kms/latest/developerguide/custom-key-store-overview.html). +// key in a custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html). // You can also use GetParametersForImport to get a public key and import token -// to reimport the original key material (kms/latest/developerguide/importing-keys.html#reimport-key-material) +// to reimport the original key material (https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html#reimport-key-material) // into a KMS key whose key material expired or was deleted. // // GetParametersForImport returns the items that you need to import your key @@ -4853,6 +4931,9 @@ func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) // // - DeleteImportedKeyMaterial // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -5017,6 +5098,9 @@ func (c *KMS) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request.Reques // // Related operations: CreateKey // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -5256,6 +5340,9 @@ func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *requ // // - GetParametersForImport // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -5431,6 +5518,9 @@ func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, // // - UpdateAlias // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -5615,6 +5705,9 @@ func (c *KMS) ListGrantsRequest(input *ListGrantsInput) (req *request.Request, o // // - RevokeGrant // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -5799,7 +5892,10 @@ func (c *KMS) ListKeyPoliciesRequest(input *ListKeyPoliciesInput) (req *request. // // - GetKeyPolicy // -// - PutKeyPolicy +// - PutKeyPolicy (https://docs.aws.amazon.com/kms/latest/APIReference/API_PutKeyPolicy.html) +// +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). // // 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 @@ -5983,6 +6079,9 @@ func (c *KMS) ListKeysRequest(input *ListKeysInput) (req *request.Request, outpu // // - ListResourceTags // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -6149,6 +6248,9 @@ func (c *KMS) ListResourceTagsRequest(input *ListResourceTagsInput) (req *reques // // - UntagResource // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -6311,14 +6413,22 @@ func (c *KMS) ListRetirableGrantsRequest(input *ListRetirableGrantsInput) (req * // grants in several programming languages, see Programming grants (https://docs.aws.amazon.com/kms/latest/developerguide/programming-grants.html). // // Cross-account use: You must specify a principal in your Amazon Web Services -// account. However, this operation can return grants in any Amazon Web Services -// account. You do not need kms:ListRetirableGrants permission (or any other -// additional permission) in any Amazon Web Services account other than your -// own. +// account. This operation returns a list of grants where the retiring principal +// specified in the ListRetirableGrants request is the same retiring principal +// on the grant. This can include grants on KMS keys owned by other Amazon Web +// Services accounts, but you do not need kms:ListRetirableGrants permission +// (or any other additional permission) in any Amazon Web Services account other +// than your own. // // Required permissions: kms:ListRetirableGrants (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) // (IAM policy) in your Amazon Web Services account. // +// KMS authorizes ListRetirableGrants requests by evaluating the caller account's +// kms:ListRetirableGrants permissions. The authorized resource in ListRetirableGrants +// calls is the retiring principal specified in the request. KMS does not evaluate +// the caller's permissions to verify their access to any KMS keys or grants +// that might be returned by the ListRetirableGrants call. +// // Related operations: // // - CreateGrant @@ -6329,6 +6439,9 @@ func (c *KMS) ListRetirableGrantsRequest(input *ListRetirableGrantsInput) (req * // // - RevokeGrant // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -6493,6 +6606,9 @@ func (c *KMS) PutKeyPolicyRequest(input *PutKeyPolicyInput) (req *request.Reques // // Related operations: GetKeyPolicy // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -6697,6 +6813,9 @@ func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, out // // - GenerateDataKeyPair // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -6900,7 +7019,7 @@ func (c *KMS) ReplicateKeyRequest(input *ReplicateKeyInput) (req *request.Reques // If you replicate a multi-Region primary key with imported key material, the // replica key is created with no key material. You must import the same key // material that you imported into the primary key. For details, see Importing -// key material into multi-Region keys (kms/latest/developerguide/multi-region-keys-import.html) +// key material into multi-Region keys (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-import.html) // in the Key Management Service Developer Guide. // // To convert a replica key to a primary key, use the UpdatePrimaryRegion operation. @@ -6927,6 +7046,9 @@ func (c *KMS) ReplicateKeyRequest(input *ReplicateKeyInput) (req *request.Reques // // - UpdatePrimaryRegion // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -7073,7 +7195,7 @@ func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request, // Cross-account use: Yes. You can retire a grant on a KMS key in a different // Amazon Web Services account. // -// Required permissions::Permission to retire a grant is determined primarily +// Required permissions: Permission to retire a grant is determined primarily // by the grant. For details, see Retiring and revoking grants (https://docs.aws.amazon.com/kms/latest/developerguide/grant-manage.html#grant-delete) // in the Key Management Service Developer Guide. // @@ -7087,6 +7209,9 @@ func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request, // // - RevokeGrant // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -7236,6 +7361,9 @@ func (c *KMS) RevokeGrantRequest(input *RevokeGrantInput) (req *request.Request, // // - RetireGrant // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -7360,7 +7488,7 @@ func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req * // // Deleting a KMS key is a destructive and potentially dangerous operation. // When a KMS key is deleted, all data that was encrypted under the KMS key -// is unrecoverable. (The only exception is a multi-Region replica key (kms/latest/developerguide/multi-region-keys-delete.html), +// is unrecoverable. (The only exception is a multi-Region replica key (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-delete.html), // or an asymmetric or HMAC KMS key with imported key material (kms/latest/developerguide/importing-keys-managing.html#import-delete-key).) // To prevent the use of a KMS key without deleting it, use DisableKey. // @@ -7406,6 +7534,9 @@ func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req * // // - DisableKey // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -7566,6 +7697,9 @@ func (c *KMS) SignRequest(input *SignInput) (req *request.Request, output *SignO // // Related operations: Verify // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -7744,6 +7878,9 @@ func (c *KMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // // - UntagResource // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -7892,6 +8029,9 @@ func (c *KMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // // - TagResource // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -8050,6 +8190,9 @@ func (c *KMS) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, // // - ListAliases // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -8240,6 +8383,9 @@ func (c *KMS) UpdateCustomKeyStoreRequest(input *UpdateCustomKeyStoreInput) (req // // - DisconnectCustomKeyStore // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -8390,7 +8536,7 @@ func (c *KMS) UpdateCustomKeyStoreRequest(input *UpdateCustomKeyStoreInput) (req // - XksProxyVpcEndpointServiceInvalidConfigurationException // The request was rejected because the Amazon VPC endpoint service configuration // does not fulfill the requirements for an external key store proxy. For details, -// see the exception message and review the requirements (kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements) +// see the exception message and review the requirements (https://docs.aws.amazon.com/kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements) // for Amazon VPC endpoint service connectivity for an external key store. // // - XksProxyInvalidResponseException @@ -8489,6 +8635,9 @@ func (c *KMS) UpdateKeyDescriptionRequest(input *UpdateKeyDescriptionInput) (req // // - DescribeKey // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -8667,6 +8816,9 @@ func (c *KMS) UpdatePrimaryRegionRequest(input *UpdatePrimaryRegionInput) (req * // // - ReplicateKey // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -8823,6 +8975,9 @@ func (c *KMS) VerifyRequest(input *VerifyInput) (req *request.Request, output *V // // Related operations: Sign // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -8988,6 +9143,9 @@ func (c *KMS) VerifyMacRequest(input *VerifyMacInput) (req *request.Request, out // // Related operations: GenerateMac // +// Eventual consistency: The KMS API follows an eventual consistency model. +// For more information, see KMS eventual consistency (https://docs.aws.amazon.com/kms/latest/developerguide/programming-eventual-consistency.html). +// // 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. @@ -10454,8 +10612,8 @@ type CreateKeyInput struct { // in the Key Management Service Developer Guide. // // Use this parameter only when you intend to prevent the principal that is - // making the request from making a subsequent PutKeyPolicy request on the KMS - // key. + // making the request from making a subsequent PutKeyPolicy (https://docs.aws.amazon.com/kms/latest/APIReference/API_PutKeyPolicy.html) + // request on the KMS key. BypassPolicyLockoutSafetyCheck *bool `type:"boolean"` // Creates the KMS key in the specified custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html). @@ -11459,7 +11617,7 @@ type DecryptInput struct { // To get the alias name and alias ARN, use ListAliases. KeyId *string `min:"1" type:"string"` - // A signed attestation document (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave-how.html#term-attestdoc) + // A signed attestation document (https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave-concepts.html#term-attestdoc) // from an Amazon Web Services Nitro enclave and the encryption algorithm to // use with the enclave's public key. The only valid encryption algorithm is // RSAES_OAEP_SHA_256. @@ -14537,8 +14695,8 @@ type GetParametersForImportInput struct { // algorithm with the RSA_2048 wrapping key spec to wrap ECC_NIST_P521 key // material. // - // * RSAES_PKCS1_V1_5 (Deprecated) — Supported only for symmetric encryption - // key material (and only in legacy mode). + // * RSAES_PKCS1_V1_5 (Deprecated) — As of October 10, 2023, KMS does not + // support the RSAES_PKCS1_V1_5 wrapping algorithm. // // WrappingAlgorithm is a required field WrappingAlgorithm *string `type:"string" required:"true" enum:"AlgorithmSpec"` @@ -17791,8 +17949,8 @@ type PutKeyPolicyInput struct { // in the Key Management Service Developer Guide. // // Use this parameter only when you intend to prevent the principal that is - // making the request from making a subsequent PutKeyPolicy request on the KMS - // key. + // making the request from making a subsequent PutKeyPolicy (https://docs.aws.amazon.com/kms/latest/APIReference/API_PutKeyPolicy.html) + // request on the KMS key. BypassPolicyLockoutSafetyCheck *bool `type:"boolean"` // Sets the key policy on the specified KMS key. @@ -18330,8 +18488,8 @@ type ReplicateKeyInput struct { // in the Key Management Service Developer Guide. // // Use this parameter only when you intend to prevent the principal that is - // making the request from making a subsequent PutKeyPolicy request on the KMS - // key. + // making the request from making a subsequent PutKeyPolicy (https://docs.aws.amazon.com/kms/latest/APIReference/API_PutKeyPolicy.html) + // request on the KMS key. BypassPolicyLockoutSafetyCheck *bool `type:"boolean"` // A description of the KMS key. The default value is an empty string (no description). @@ -21550,7 +21708,7 @@ func (s *XksProxyVpcEndpointServiceInUseException) RequestID() string { // The request was rejected because the Amazon VPC endpoint service configuration // does not fulfill the requirements for an external key store proxy. For details, -// see the exception message and review the requirements (kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements) +// see the exception message and review the requirements (https://docs.aws.amazon.com/kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements) // for Amazon VPC endpoint service connectivity for an external key store. type XksProxyVpcEndpointServiceInvalidConfigurationException struct { _ struct{} `type:"structure"` diff --git a/service/kms/errors.go b/service/kms/errors.go index 5810320c116..2149d82faed 100644 --- a/service/kms/errors.go +++ b/service/kms/errors.go @@ -466,7 +466,7 @@ const ( // // The request was rejected because the Amazon VPC endpoint service configuration // does not fulfill the requirements for an external key store proxy. For details, - // see the exception message and review the requirements (kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements) + // see the exception message and review the requirements (https://docs.aws.amazon.com/kms/latest/developerguide/vpc-connectivity.html#xks-vpc-requirements) // for Amazon VPC endpoint service connectivity for an external key store. ErrCodeXksProxyVpcEndpointServiceInvalidConfigurationException = "XksProxyVpcEndpointServiceInvalidConfigurationException" diff --git a/service/rds/api.go b/service/rds/api.go index 02b5469b1dc..b21bd9281f2 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -22364,8 +22364,7 @@ type CreateDBInstanceInput struct { // // Constraints to the amount of storage for each storage type are the following: // - // * General Purpose (SSD) storage (gp2, gp3): Must be an integer from 20 - // to 64000. + // * General Purpose (SSD) storage (gp3): Must be an integer from 20 to 64000. // // * Provisioned IOPS storage (io1): Must be an integer from 100 to 64000. // diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index e5c45cc7946..0972f9434be 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -816,7 +816,7 @@ func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *re // generation (LLMs fine-tuning). // // Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 -// in Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2). +// in Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment.html#autopilot-create-experiment-api-migrate-v1-v2). // // You can find the best-performing model after you run an AutoML job by calling // DescribeAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeAutoMLJobV2.html) @@ -918,7 +918,7 @@ func (c *SageMaker) CreateAutoMLJobV2Request(input *CreateAutoMLJobV2Input) (req // generation (LLMs fine-tuning). // // Find guidelines about how to migrate a CreateAutoMLJob to CreateAutoMLJobV2 -// in Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment-api.html#autopilot-create-experiment-api-migrate-v1-v2). +// in Migrate a CreateAutoMLJob to CreateAutoMLJobV2 (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development-create-experiment.html#autopilot-create-experiment-api-migrate-v1-v2). // // For the list of available problem types supported by CreateAutoMLJobV2, see // AutoMLProblemTypeConfig (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_AutoMLProblemTypeConfig.html). @@ -4290,6 +4290,10 @@ func (c *SageMaker) CreatePipelineRequest(input *CreatePipelineInput) (req *requ // You have exceeded an SageMaker resource limit. For example, you might have // too many training jobs created. // +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline func (c *SageMaker) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) { req, out := c.CreatePipelineRequest(input) @@ -5666,6 +5670,12 @@ func (c *SageMaker) DeleteAlgorithmRequest(input *DeleteAlgorithmInput) (req *re // // See the AWS API reference guide for Amazon SageMaker Service's // API operation DeleteAlgorithm for usage and error information. +// +// Returned Error Types: +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm func (c *SageMaker) DeleteAlgorithm(input *DeleteAlgorithmInput) (*DeleteAlgorithmOutput, error) { req, out := c.DeleteAlgorithmRequest(input) @@ -6163,6 +6173,92 @@ func (c *SageMaker) DeleteCodeRepositoryWithContext(ctx aws.Context, input *Dele return out, req.Send() } +const opDeleteCompilationJob = "DeleteCompilationJob" + +// DeleteCompilationJobRequest generates a "aws/request.Request" representing the +// client's request for the DeleteCompilationJob 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 DeleteCompilationJob for more information on using the DeleteCompilationJob +// 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 DeleteCompilationJobRequest method. +// req, resp := client.DeleteCompilationJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCompilationJob +func (c *SageMaker) DeleteCompilationJobRequest(input *DeleteCompilationJobInput) (req *request.Request, output *DeleteCompilationJobOutput) { + op := &request.Operation{ + Name: opDeleteCompilationJob, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteCompilationJobInput{} + } + + output = &DeleteCompilationJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteCompilationJob API operation for Amazon SageMaker Service. +// +// Deletes the specified compilation job. This action deletes only the compilation +// job resource in Amazon SageMaker. It doesn't delete other resources that +// are related to that job, such as the model artifacts that the job creates, +// the compilation logs in CloudWatch, the compiled model, or the IAM role. +// +// You can delete a compilation job only if its current status is COMPLETED, +// FAILED, or STOPPED. If the job status is STARTING or INPROGRESS, stop the +// job, and then delete it after its status becomes STOPPED. +// +// 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 SageMaker Service's +// API operation DeleteCompilationJob for usage and error information. +// +// Returned Error Types: +// - ResourceNotFound +// Resource being access is not found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCompilationJob +func (c *SageMaker) DeleteCompilationJob(input *DeleteCompilationJobInput) (*DeleteCompilationJobOutput, error) { + req, out := c.DeleteCompilationJobRequest(input) + return out, req.Send() +} + +// DeleteCompilationJobWithContext is the same as DeleteCompilationJob with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteCompilationJob 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 *SageMaker) DeleteCompilationJobWithContext(ctx aws.Context, input *DeleteCompilationJobInput, opts ...request.Option) (*DeleteCompilationJobOutput, error) { + req, out := c.DeleteCompilationJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteContext = "DeleteContext" // DeleteContextRequest generates a "aws/request.Request" representing the @@ -8571,9 +8667,14 @@ func (c *SageMaker) DeletePipelineRequest(input *DeletePipelineInput) (req *requ // API operation DeletePipeline for usage and error information. // // Returned Error Types: +// // - ResourceNotFound // Resource being access is not found. // +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline func (c *SageMaker) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) { req, out := c.DeletePipelineRequest(input) @@ -13968,9 +14069,14 @@ func (c *SageMaker) DescribeUserProfileRequest(input *DescribeUserProfileInput) // API operation DescribeUserProfile for usage and error information. // // Returned Error Types: +// // - ResourceNotFound // Resource being access is not found. // +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile func (c *SageMaker) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error) { req, out := c.DescribeUserProfileRequest(input) @@ -24741,6 +24847,12 @@ func (c *SageMaker) PutModelPackageGroupPolicyRequest(input *PutModelPackageGrou // // See the AWS API reference guide for Amazon SageMaker Service's // API operation PutModelPackageGroupPolicy for usage and error information. +// +// Returned Error Types: +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy func (c *SageMaker) PutModelPackageGroupPolicy(input *PutModelPackageGroupPolicyInput) (*PutModelPackageGroupPolicyOutput, error) { req, out := c.PutModelPackageGroupPolicyRequest(input) @@ -25350,6 +25462,10 @@ func (c *SageMaker) SendPipelineExecutionStepFailureRequest(input *SendPipelineE // You have exceeded an SageMaker resource limit. For example, you might have // too many training jobs created. // +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepFailure func (c *SageMaker) SendPipelineExecutionStepFailure(input *SendPipelineExecutionStepFailureInput) (*SendPipelineExecutionStepFailureOutput, error) { req, out := c.SendPipelineExecutionStepFailureRequest(input) @@ -25436,6 +25552,10 @@ func (c *SageMaker) SendPipelineExecutionStepSuccessRequest(input *SendPipelineE // You have exceeded an SageMaker resource limit. For example, you might have // too many training jobs created. // +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepSuccess func (c *SageMaker) SendPipelineExecutionStepSuccess(input *SendPipelineExecutionStepSuccessInput) (*SendPipelineExecutionStepSuccessOutput, error) { req, out := c.SendPipelineExecutionStepSuccessRequest(input) @@ -25841,6 +25961,10 @@ func (c *SageMaker) StartPipelineExecutionRequest(input *StartPipelineExecutionI // You have exceeded an SageMaker resource limit. For example, you might have // too many training jobs created. // +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution func (c *SageMaker) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error) { req, out := c.StartPipelineExecutionRequest(input) @@ -26744,9 +26868,14 @@ func (c *SageMaker) StopPipelineExecutionRequest(input *StopPipelineExecutionInp // API operation StopPipelineExecution for usage and error information. // // Returned Error Types: +// // - ResourceNotFound // Resource being access is not found. // +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution func (c *SageMaker) StopPipelineExecution(input *StopPipelineExecutionInput) (*StopPipelineExecutionOutput, error) { req, out := c.StopPipelineExecutionRequest(input) @@ -27400,6 +27529,12 @@ func (c *SageMaker) UpdateCodeRepositoryRequest(input *UpdateCodeRepositoryInput // // See the AWS API reference guide for Amazon SageMaker Service's // API operation UpdateCodeRepository for usage and error information. +// +// Returned Error Types: +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository func (c *SageMaker) UpdateCodeRepository(input *UpdateCodeRepositoryInput) (*UpdateCodeRepositoryOutput, error) { req, out := c.UpdateCodeRepositoryRequest(input) @@ -28071,9 +28206,14 @@ func (c *SageMaker) UpdateFeatureGroupRequest(input *UpdateFeatureGroupInput) (r // API operation UpdateFeatureGroup for usage and error information. // // Returned Error Types: +// // - ResourceNotFound // Resource being access is not found. // +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateFeatureGroup func (c *SageMaker) UpdateFeatureGroup(input *UpdateFeatureGroupInput) (*UpdateFeatureGroupOutput, error) { req, out := c.UpdateFeatureGroupRequest(input) @@ -28806,6 +28946,12 @@ func (c *SageMaker) UpdateModelPackageRequest(input *UpdateModelPackageInput) (r // // See the AWS API reference guide for Amazon SageMaker Service's // API operation UpdateModelPackage for usage and error information. +// +// Returned Error Types: +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackage func (c *SageMaker) UpdateModelPackage(input *UpdateModelPackageInput) (*UpdateModelPackageOutput, error) { req, out := c.UpdateModelPackageRequest(input) @@ -29211,9 +29357,14 @@ func (c *SageMaker) UpdatePipelineRequest(input *UpdatePipelineInput) (req *requ // API operation UpdatePipeline for usage and error information. // // Returned Error Types: +// // - ResourceNotFound // Resource being access is not found. // +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline func (c *SageMaker) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) { req, out := c.UpdatePipelineRequest(input) @@ -29289,9 +29440,14 @@ func (c *SageMaker) UpdatePipelineExecutionRequest(input *UpdatePipelineExecutio // API operation UpdatePipelineExecution for usage and error information. // // Returned Error Types: +// // - ResourceNotFound // Resource being access is not found. // +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution func (c *SageMaker) UpdatePipelineExecution(input *UpdatePipelineExecutionInput) (*UpdatePipelineExecutionOutput, error) { req, out := c.UpdatePipelineExecutionRequest(input) @@ -29370,6 +29526,12 @@ func (c *SageMaker) UpdateProjectRequest(input *UpdateProjectInput) (req *reques // // See the AWS API reference guide for Amazon SageMaker Service's // API operation UpdateProject for usage and error information. +// +// Returned Error Types: +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateProject func (c *SageMaker) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { req, out := c.UpdateProjectRequest(input) @@ -29532,9 +29694,14 @@ func (c *SageMaker) UpdateTrainingJobRequest(input *UpdateTrainingJobInput) (req // API operation UpdateTrainingJob for usage and error information. // // Returned Error Types: +// // - ResourceNotFound // Resource being access is not found. // +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob func (c *SageMaker) UpdateTrainingJob(input *UpdateTrainingJobInput) (*UpdateTrainingJobOutput, error) { req, out := c.UpdateTrainingJobRequest(input) @@ -30013,7 +30180,7 @@ type ActionSource struct { // The URI of the source. // // SourceUri is a required field - SourceUri *string `type:"string" required:"true"` + SourceUri *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -30040,6 +30207,9 @@ func (s *ActionSource) Validate() error { if s.SourceUri == nil { invalidParams.Add(request.NewErrParamRequired("SourceUri")) } + if s.SourceUri != nil && len(*s.SourceUri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceUri", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -32169,7 +32339,7 @@ type ArtifactSource struct { // The URI of the source. // // SourceUri is a required field - SourceUri *string `type:"string" required:"true"` + SourceUri *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -32196,6 +32366,9 @@ func (s *ArtifactSource) Validate() error { if s.SourceUri == nil { invalidParams.Add(request.NewErrParamRequired("SourceUri")) } + if s.SourceUri != nil && len(*s.SourceUri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceUri", 1)) + } if s.SourceTypes != nil { for i, v := range s.SourceTypes { if v == nil { @@ -33339,9 +33512,7 @@ type AutoMLChannel struct { ContentType *string `type:"string"` // The data source for an AutoML channel. - // - // DataSource is a required field - DataSource *AutoMLDataSource `type:"structure" required:"true"` + DataSource *AutoMLDataSource `type:"structure"` // If specified, this column name indicates which column of the dataset should // be treated as sample weights for use by the objective metric during the training, @@ -33385,9 +33556,6 @@ func (s AutoMLChannel) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *AutoMLChannel) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AutoMLChannel"} - if s.DataSource == nil { - invalidParams.Add(request.NewErrParamRequired("DataSource")) - } if s.SampleWeightAttributeName != nil && len(*s.SampleWeightAttributeName) < 1 { invalidParams.Add(request.NewErrParamMinLen("SampleWeightAttributeName", 1)) } @@ -38716,7 +38884,7 @@ type ContextSource struct { // The URI of the source. // // SourceUri is a required field - SourceUri *string `type:"string" required:"true"` + SourceUri *string `min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -38743,6 +38911,9 @@ func (s *ContextSource) Validate() error { if s.SourceUri == nil { invalidParams.Add(request.NewErrParamRequired("SourceUri")) } + if s.SourceUri != nil && len(*s.SourceUri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceUri", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -42942,9 +43113,7 @@ type CreateFlowDefinitionInput struct { // An object containing information about the tasks the human reviewers will // perform. - // - // HumanLoopConfig is a required field - HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"` + HumanLoopConfig *HumanLoopConfig `type:"structure"` // Container for configuring the source of human task requests. Use to specify // if Amazon Rekognition or Amazon Textract is used as an integration source. @@ -42995,9 +43164,6 @@ func (s *CreateFlowDefinitionInput) Validate() error { if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 { invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1)) } - if s.HumanLoopConfig == nil { - invalidParams.Add(request.NewErrParamRequired("HumanLoopConfig")) - } if s.OutputConfig == nil { invalidParams.Add(request.NewErrParamRequired("OutputConfig")) } @@ -47378,6 +47544,9 @@ type CreatePresignedDomainUrlInput struct { // * app:RStudioServerPro:relative/path: Directs users to the relative path // in the RStudio application. // + // * app:CodeEditor:relative/path: Directs users to the relative path in + // the Code Editor, based on Code-OSS, Visual Studio Code - Open Source application. + // // * app:Canvas:relative/path: Directs users to the relative path in the // Canvas application. LandingUri *string `type:"string"` @@ -52156,6 +52325,77 @@ func (s DeleteCodeRepositoryOutput) GoString() string { return s.String() } +type DeleteCompilationJobInput struct { + _ struct{} `type:"structure"` + + // The name of the compilation job to delete. + // + // CompilationJobName is a required field + CompilationJobName *string `min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCompilationJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCompilationJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteCompilationJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteCompilationJobInput"} + if s.CompilationJobName == nil { + invalidParams.Add(request.NewErrParamRequired("CompilationJobName")) + } + if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCompilationJobName sets the CompilationJobName field's value. +func (s *DeleteCompilationJobInput) SetCompilationJobName(v string) *DeleteCompilationJobInput { + s.CompilationJobName = &v + return s +} + +type DeleteCompilationJobOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCompilationJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteCompilationJobOutput) GoString() string { + return s.String() +} + type DeleteContextInput struct { _ struct{} `type:"structure"` @@ -58509,7 +58749,7 @@ type DescribeDomainOutput struct { SecurityGroupIdForDomainBoundary *string `type:"string"` // The ARN of the application managed by SageMaker in IAM Identity Center. This - // value is only returned for domains created after September 19, 2023. + // value is only returned for domains created after October 1, 2023. SingleSignOnApplicationArn *string `type:"string"` // The IAM Identity Center managed application instance ID. @@ -59357,9 +59597,7 @@ type DescribeEndpointOutput struct { EndpointArn *string `min:"20" type:"string" required:"true"` // The name of the endpoint configuration associated with this endpoint. - // - // EndpointConfigName is a required field - EndpointConfigName *string `type:"string" required:"true"` + EndpointConfigName *string `type:"string"` // Name of the endpoint. // @@ -60219,9 +60457,7 @@ type DescribeFlowDefinitionOutput struct { // An object containing information about who works on the task, the workforce // task price, and other task details. - // - // HumanLoopConfig is a required field - HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"` + HumanLoopConfig *HumanLoopConfig `type:"structure"` // Container for configuring the source of human task requests. Used to specify // if Amazon Rekognition or Amazon Textract is used as an integration source. @@ -65939,6 +66175,8 @@ type DescribeSpaceOutput struct { // * Studio Classic: &redirect=JupyterServer // // * JupyterLab: &redirect=JupyterLab + // + // * Code Editor, based on Code-OSS, Visual Studio Code - Open Source: &redirect=CodeEditor Url *string `type:"string"` } @@ -70622,9 +70860,7 @@ type EndpointInfo struct { _ struct{} `type:"structure"` // The name of a customer's endpoint. - // - // EndpointName is a required field - EndpointName *string `type:"string" required:"true"` + EndpointName *string `type:"string"` } // String returns the string representation. @@ -70645,19 +70881,6 @@ func (s EndpointInfo) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *EndpointInfo) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "EndpointInfo"} - if s.EndpointName == nil { - invalidParams.Add(request.NewErrParamRequired("EndpointName")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - // SetEndpointName sets the EndpointName field's value. func (s *EndpointInfo) SetEndpointName(v string) *EndpointInfo { s.EndpointName = &v @@ -71791,10 +72014,14 @@ type FeatureDefinition struct { // The name of a feature. The type must be a string. FeatureName cannot be any // of the following: is_deleted, write_time, api_invocation_time. - FeatureName *string `min:"1" type:"string"` + // + // FeatureName is a required field + FeatureName *string `min:"1" type:"string" required:"true"` // The value type of a feature. Valid values are Integral, Fractional, or String. - FeatureType *string `type:"string" enum:"FeatureType"` + // + // FeatureType is a required field + FeatureType *string `type:"string" required:"true" enum:"FeatureType"` } // String returns the string representation. @@ -71818,9 +72045,15 @@ func (s FeatureDefinition) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *FeatureDefinition) Validate() error { invalidParams := request.ErrInvalidParams{Context: "FeatureDefinition"} + if s.FeatureName == nil { + invalidParams.Add(request.NewErrParamRequired("FeatureName")) + } if s.FeatureName != nil && len(*s.FeatureName) < 1 { invalidParams.Add(request.NewErrParamMinLen("FeatureName", 1)) } + if s.FeatureType == nil { + invalidParams.Add(request.NewErrParamRequired("FeatureType")) + } if s.CollectionConfig != nil { if err := s.CollectionConfig.Validate(); err != nil { invalidParams.AddNested("CollectionConfig", err.(request.ErrInvalidParams)) @@ -80031,6 +80264,10 @@ type JupyterLabAppImageConfig struct { // The configuration used to run the application image container. ContainerConfig *ContainerConfig `type:"structure"` + + // The Amazon Elastic File System (EFS) storage configuration for a SageMaker + // image. + FileSystemConfig *FileSystemConfig `type:"structure"` } // String returns the string representation. @@ -80057,6 +80294,12 @@ func (s *JupyterLabAppImageConfig) SetContainerConfig(v *ContainerConfig) *Jupyt return s } +// SetFileSystemConfig sets the FileSystemConfig field's value. +func (s *JupyterLabAppImageConfig) SetFileSystemConfig(v *FileSystemConfig) *JupyterLabAppImageConfig { + s.FileSystemConfig = v + return s +} + // The settings for the JupyterLab application. type JupyterLabAppSettings struct { _ struct{} `type:"structure"` @@ -80825,7 +81068,7 @@ type LabelingJobForWorkteamSummary struct { // job. // // WorkRequesterAccountId is a required field - WorkRequesterAccountId *string `type:"string" required:"true"` + WorkRequesterAccountId *string `min:"12" type:"string" required:"true"` } // String returns the string representation. @@ -81657,7 +81900,7 @@ type ListActionsInput struct { SortOrder *string `type:"string" enum:"SortOrder"` // A filter that returns only actions with the specified source URI. - SourceUri *string `type:"string"` + SourceUri *string `min:"1" type:"string"` } // String returns the string representation. @@ -81684,6 +81927,9 @@ func (s *ListActionsInput) Validate() error { if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.SourceUri != nil && len(*s.SourceUri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceUri", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -82393,7 +82639,7 @@ type ListArtifactsInput struct { SortOrder *string `type:"string" enum:"SortOrder"` // A filter that returns only artifacts with the specified source URI. - SourceUri *string `type:"string"` + SourceUri *string `min:"1" type:"string"` } // String returns the string representation. @@ -82420,6 +82666,9 @@ func (s *ListArtifactsInput) Validate() error { if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.SourceUri != nil && len(*s.SourceUri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceUri", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -83749,7 +83998,7 @@ type ListContextsInput struct { SortOrder *string `type:"string" enum:"SortOrder"` // A filter that returns only contexts with the specified source URI. - SourceUri *string `type:"string"` + SourceUri *string `min:"1" type:"string"` } // String returns the string representation. @@ -83776,6 +84025,9 @@ func (s *ListContextsInput) Validate() error { if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.SourceUri != nil && len(*s.SourceUri) < 1 { + invalidParams.Add(request.NewErrParamMinLen("SourceUri", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -85307,9 +85559,7 @@ type ListFeatureGroupsOutput struct { FeatureGroupSummaries []*FeatureGroupSummary `type:"list" required:"true"` // A token to resume pagination of ListFeatureGroups results. - // - // NextToken is a required field - NextToken *string `type:"string" required:"true"` + NextToken *string `type:"string"` } // String returns the string representation. @@ -95384,9 +95634,7 @@ type ModelDataSource struct { _ struct{} `type:"structure"` // Specifies the S3 location of ML model data to deploy. - // - // S3DataSource is a required field - S3DataSource *S3ModelDataSource `type:"structure" required:"true"` + S3DataSource *S3ModelDataSource `type:"structure"` } // String returns the string representation. @@ -95410,9 +95658,6 @@ func (s ModelDataSource) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ModelDataSource) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ModelDataSource"} - if s.S3DataSource == nil { - invalidParams.Add(request.NewErrParamRequired("S3DataSource")) - } if s.S3DataSource != nil { if err := s.S3DataSource.Validate(); err != nil { invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams)) @@ -97110,7 +97355,7 @@ type ModelPackageValidationSpecification struct { // a batch transform job that SageMaker runs to validate your model package. // // ValidationProfiles is a required field - ValidationProfiles []*ModelPackageValidationProfile `min:"1" type:"list" required:"true"` + ValidationProfiles []*ModelPackageValidationProfile `type:"list" required:"true"` // The IAM roles to be used for the validation of the model package. // @@ -97142,9 +97387,6 @@ func (s *ModelPackageValidationSpecification) Validate() error { if s.ValidationProfiles == nil { invalidParams.Add(request.NewErrParamRequired("ValidationProfiles")) } - if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1)) - } if s.ValidationRole == nil { invalidParams.Add(request.NewErrParamRequired("ValidationRole")) } @@ -100639,9 +100881,7 @@ type OidcMemberDefinition struct { // A list of comma seperated strings that identifies user groups in your OIDC // IdP. Each user group is made up of a group of private workers. - // - // Groups is a required field - Groups []*string `min:"1" type:"list" required:"true"` + Groups []*string `min:"1" type:"list"` } // String returns the string representation. @@ -100665,9 +100905,6 @@ func (s OidcMemberDefinition) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *OidcMemberDefinition) Validate() error { invalidParams := request.ErrInvalidParams{Context: "OidcMemberDefinition"} - if s.Groups == nil { - invalidParams.Add(request.NewErrParamRequired("Groups")) - } if s.Groups != nil && len(s.Groups) < 1 { invalidParams.Add(request.NewErrParamMinLen("Groups", 1)) } @@ -101103,12 +101340,11 @@ type OutputDataConfig struct { // If you use a KMS key ID or an alias of your KMS key, the SageMaker execution // role must include permissions to call kms:Encrypt. If you don't provide a // KMS key ID, SageMaker uses the default KMS key for Amazon S3 for your role's - // account. SageMaker uses server-side encryption with KMS-managed keys for - // OutputDataConfig. If you use a bucket policy with an s3:PutObject permission - // that only allows objects with server-side encryption, set the condition key - // of s3:x-amz-server-side-encryption to "aws:kms". For more information, see - // KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) - // in the Amazon Simple Storage Service Developer Guide. + // account. For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) + // in the Amazon Simple Storage Service Developer Guide. If the output data + // is stored in Amazon S3 Express One Zone, it is encrypted with server-side + // encryption with Amazon S3 managed keys (SSE-S3). KMS key is not supported + // for Amazon S3 Express One Zone // // The KMS key policy must grant permission to the IAM role that you specify // in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob @@ -106654,7 +106890,7 @@ type RecommendationJobContainerConfig struct { Framework *string `type:"string"` // The framework version of the container image. - FrameworkVersion *string `type:"string"` + FrameworkVersion *string `min:"3" type:"string"` // The name of a pre-trained machine learning model benchmarked by Amazon SageMaker // Inference Recommender that matches your model. @@ -106712,6 +106948,9 @@ func (s *RecommendationJobContainerConfig) Validate() error { if s.DataInputConfig != nil && len(*s.DataInputConfig) < 1 { invalidParams.Add(request.NewErrParamMinLen("DataInputConfig", 1)) } + if s.FrameworkVersion != nil && len(*s.FrameworkVersion) < 3 { + invalidParams.Add(request.NewErrParamMinLen("FrameworkVersion", 3)) + } if invalidParams.Len() > 0 { return invalidParams @@ -106977,16 +107216,6 @@ func (s *RecommendationJobInputConfig) Validate() error { } } } - if s.Endpoints != nil { - for i, v := range s.Endpoints { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Endpoints", i), err.(request.ErrInvalidParams)) - } - } - } if s.ResourceLimit != nil { if err := s.ResourceLimit.Validate(); err != nil { invalidParams.AddNested("ResourceLimit", err.(request.ErrInvalidParams)) @@ -108711,7 +108940,8 @@ type ResourceSpec struct { // The ARN of the SageMaker image that the image version belongs to. SageMakerImageArn *string `type:"string"` - // The SageMakerImageVersionAlias. + // The SageMakerImageVersionAlias of the image to launch with. This value is + // in SemVer 2.0.0 versioning format. SageMakerImageVersionAlias *string `min:"1" type:"string"` // The ARN of the image version created on the instance. @@ -114447,6 +114677,11 @@ type TextGenerationJobConfig struct { // defaults to 72h (259200s). CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"` + // The access configuration file for the ML model. You can explicitly accept + // the model end-user license agreement (EULA) within the ModelAccessConfig. + // For more information, see End-user license agreements (https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula). + ModelAccessConfig *ModelAccessConfig `type:"structure"` + // The hyperparameters used to configure and optimize the learning process of // the base model. You can set any combination of the following hyperparameters // for all base models. For more information on each supported hyperparameter, @@ -114506,6 +114741,11 @@ func (s *TextGenerationJobConfig) Validate() error { invalidParams.AddNested("CompletionCriteria", err.(request.ErrInvalidParams)) } } + if s.ModelAccessConfig != nil { + if err := s.ModelAccessConfig.Validate(); err != nil { + invalidParams.AddNested("ModelAccessConfig", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -114525,6 +114765,12 @@ func (s *TextGenerationJobConfig) SetCompletionCriteria(v *AutoMLJobCompletionCr return s } +// SetModelAccessConfig sets the ModelAccessConfig field's value. +func (s *TextGenerationJobConfig) SetModelAccessConfig(v *ModelAccessConfig) *TextGenerationJobConfig { + s.ModelAccessConfig = v + return s +} + // SetTextGenerationHyperParameters sets the TextGenerationHyperParameters field's value. func (s *TextGenerationJobConfig) SetTextGenerationHyperParameters(v map[string]*string) *TextGenerationJobConfig { s.TextGenerationHyperParameters = v @@ -125046,20 +125292,44 @@ const ( // AppTypeKernelGateway is a AppType enum value AppTypeKernelGateway = "KernelGateway" + // AppTypeDetailedProfiler is a AppType enum value + AppTypeDetailedProfiler = "DetailedProfiler" + // AppTypeTensorBoard is a AppType enum value AppTypeTensorBoard = "TensorBoard" + // AppTypeVscode is a AppType enum value + AppTypeVscode = "VSCode" + + // AppTypeSavitur is a AppType enum value + AppTypeSavitur = "Savitur" + + // AppTypeCodeEditor is a AppType enum value + AppTypeCodeEditor = "CodeEditor" + + // AppTypeJupyterLab is a AppType enum value + AppTypeJupyterLab = "JupyterLab" + // AppTypeRstudioServerPro is a AppType enum value AppTypeRstudioServerPro = "RStudioServerPro" + // AppTypeRsession is a AppType enum value + AppTypeRsession = "RSession" + // AppTypeRsessionGateway is a AppType enum value AppTypeRsessionGateway = "RSessionGateway" - // AppTypeJupyterLab is a AppType enum value - AppTypeJupyterLab = "JupyterLab" + // AppTypeCanvas is a AppType enum value + AppTypeCanvas = "Canvas" - // AppTypeCodeEditor is a AppType enum value - AppTypeCodeEditor = "CodeEditor" + // AppTypeDatasetManager is a AppType enum value + AppTypeDatasetManager = "DatasetManager" + + // AppTypeSageMakerLite is a AppType enum value + AppTypeSageMakerLite = "SageMakerLite" + + // AppTypeLocal is a AppType enum value + AppTypeLocal = "Local" ) // AppType_Values returns all elements of the AppType enum @@ -125067,11 +125337,19 @@ func AppType_Values() []string { return []string{ AppTypeJupyterServer, AppTypeKernelGateway, + AppTypeDetailedProfiler, AppTypeTensorBoard, + AppTypeVscode, + AppTypeSavitur, + AppTypeCodeEditor, + AppTypeJupyterLab, AppTypeRstudioServerPro, + AppTypeRsession, AppTypeRsessionGateway, - AppTypeJupyterLab, - AppTypeCodeEditor, + AppTypeCanvas, + AppTypeDatasetManager, + AppTypeSageMakerLite, + AppTypeLocal, } } @@ -125127,6 +125405,9 @@ const ( // AssociationEdgeTypeProduced is a AssociationEdgeType enum value AssociationEdgeTypeProduced = "Produced" + + // AssociationEdgeTypeSameAs is a AssociationEdgeType enum value + AssociationEdgeTypeSameAs = "SameAs" ) // AssociationEdgeType_Values returns all elements of the AssociationEdgeType enum @@ -125136,6 +125417,7 @@ func AssociationEdgeType_Values() []string { AssociationEdgeTypeAssociatedWith, AssociationEdgeTypeDerivedFrom, AssociationEdgeTypeProduced, + AssociationEdgeTypeSameAs, } } @@ -125301,15 +125583,6 @@ const ( // AutoMLJobSecondaryStatusStarting is a AutoMLJobSecondaryStatus enum value AutoMLJobSecondaryStatusStarting = "Starting" - // AutoMLJobSecondaryStatusAnalyzingData is a AutoMLJobSecondaryStatus enum value - AutoMLJobSecondaryStatusAnalyzingData = "AnalyzingData" - - // AutoMLJobSecondaryStatusFeatureEngineering is a AutoMLJobSecondaryStatus enum value - AutoMLJobSecondaryStatusFeatureEngineering = "FeatureEngineering" - - // AutoMLJobSecondaryStatusModelTuning is a AutoMLJobSecondaryStatus enum value - AutoMLJobSecondaryStatusModelTuning = "ModelTuning" - // AutoMLJobSecondaryStatusMaxCandidatesReached is a AutoMLJobSecondaryStatus enum value AutoMLJobSecondaryStatusMaxCandidatesReached = "MaxCandidatesReached" @@ -125328,9 +125601,6 @@ const ( // AutoMLJobSecondaryStatusCandidateDefinitionsGenerated is a AutoMLJobSecondaryStatus enum value AutoMLJobSecondaryStatusCandidateDefinitionsGenerated = "CandidateDefinitionsGenerated" - // AutoMLJobSecondaryStatusGeneratingExplainabilityReport is a AutoMLJobSecondaryStatus enum value - AutoMLJobSecondaryStatusGeneratingExplainabilityReport = "GeneratingExplainabilityReport" - // AutoMLJobSecondaryStatusCompleted is a AutoMLJobSecondaryStatus enum value AutoMLJobSecondaryStatusCompleted = "Completed" @@ -125349,6 +125619,18 @@ const ( // AutoMLJobSecondaryStatusModelInsightsError is a AutoMLJobSecondaryStatus enum value AutoMLJobSecondaryStatusModelInsightsError = "ModelInsightsError" + // AutoMLJobSecondaryStatusAnalyzingData is a AutoMLJobSecondaryStatus enum value + AutoMLJobSecondaryStatusAnalyzingData = "AnalyzingData" + + // AutoMLJobSecondaryStatusFeatureEngineering is a AutoMLJobSecondaryStatus enum value + AutoMLJobSecondaryStatusFeatureEngineering = "FeatureEngineering" + + // AutoMLJobSecondaryStatusModelTuning is a AutoMLJobSecondaryStatus enum value + AutoMLJobSecondaryStatusModelTuning = "ModelTuning" + + // AutoMLJobSecondaryStatusGeneratingExplainabilityReport is a AutoMLJobSecondaryStatus enum value + AutoMLJobSecondaryStatusGeneratingExplainabilityReport = "GeneratingExplainabilityReport" + // AutoMLJobSecondaryStatusTrainingModels is a AutoMLJobSecondaryStatus enum value AutoMLJobSecondaryStatusTrainingModels = "TrainingModels" @@ -125360,22 +125642,22 @@ const ( func AutoMLJobSecondaryStatus_Values() []string { return []string{ AutoMLJobSecondaryStatusStarting, - AutoMLJobSecondaryStatusAnalyzingData, - AutoMLJobSecondaryStatusFeatureEngineering, - AutoMLJobSecondaryStatusModelTuning, AutoMLJobSecondaryStatusMaxCandidatesReached, AutoMLJobSecondaryStatusFailed, AutoMLJobSecondaryStatusStopped, AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached, AutoMLJobSecondaryStatusStopping, AutoMLJobSecondaryStatusCandidateDefinitionsGenerated, - AutoMLJobSecondaryStatusGeneratingExplainabilityReport, AutoMLJobSecondaryStatusCompleted, AutoMLJobSecondaryStatusExplainabilityError, AutoMLJobSecondaryStatusDeployingModel, AutoMLJobSecondaryStatusModelDeploymentError, AutoMLJobSecondaryStatusGeneratingModelInsightsReport, AutoMLJobSecondaryStatusModelInsightsError, + AutoMLJobSecondaryStatusAnalyzingData, + AutoMLJobSecondaryStatusFeatureEngineering, + AutoMLJobSecondaryStatusModelTuning, + AutoMLJobSecondaryStatusGeneratingExplainabilityReport, AutoMLJobSecondaryStatusTrainingModels, AutoMLJobSecondaryStatusPreTraining, } @@ -125428,14 +125710,17 @@ const ( // AutoMLMetricEnumRmse is a AutoMLMetricEnum enum value AutoMLMetricEnumRmse = "RMSE" - // AutoMLMetricEnumMae is a AutoMLMetricEnum enum value - AutoMLMetricEnumMae = "MAE" + // AutoMLMetricEnumBalancedAccuracy is a AutoMLMetricEnum enum value + AutoMLMetricEnumBalancedAccuracy = "BalancedAccuracy" // AutoMLMetricEnumR2 is a AutoMLMetricEnum enum value AutoMLMetricEnumR2 = "R2" - // AutoMLMetricEnumBalancedAccuracy is a AutoMLMetricEnum enum value - AutoMLMetricEnumBalancedAccuracy = "BalancedAccuracy" + // AutoMLMetricEnumRecall is a AutoMLMetricEnum enum value + AutoMLMetricEnumRecall = "Recall" + + // AutoMLMetricEnumRecallMacro is a AutoMLMetricEnum enum value + AutoMLMetricEnumRecallMacro = "RecallMacro" // AutoMLMetricEnumPrecision is a AutoMLMetricEnum enum value AutoMLMetricEnumPrecision = "Precision" @@ -125443,11 +125728,8 @@ const ( // AutoMLMetricEnumPrecisionMacro is a AutoMLMetricEnum enum value AutoMLMetricEnumPrecisionMacro = "PrecisionMacro" - // AutoMLMetricEnumRecall is a AutoMLMetricEnum enum value - AutoMLMetricEnumRecall = "Recall" - - // AutoMLMetricEnumRecallMacro is a AutoMLMetricEnum enum value - AutoMLMetricEnumRecallMacro = "RecallMacro" + // AutoMLMetricEnumMae is a AutoMLMetricEnum enum value + AutoMLMetricEnumMae = "MAE" // AutoMLMetricEnumMape is a AutoMLMetricEnum enum value AutoMLMetricEnumMape = "MAPE" @@ -125471,13 +125753,13 @@ func AutoMLMetricEnum_Values() []string { AutoMLMetricEnumF1macro, AutoMLMetricEnumAuc, AutoMLMetricEnumRmse, - AutoMLMetricEnumMae, - AutoMLMetricEnumR2, AutoMLMetricEnumBalancedAccuracy, - AutoMLMetricEnumPrecision, - AutoMLMetricEnumPrecisionMacro, + AutoMLMetricEnumR2, AutoMLMetricEnumRecall, AutoMLMetricEnumRecallMacro, + AutoMLMetricEnumPrecision, + AutoMLMetricEnumPrecisionMacro, + AutoMLMetricEnumMae, AutoMLMetricEnumMape, AutoMLMetricEnumMase, AutoMLMetricEnumWape, @@ -125624,12 +125906,12 @@ const ( // AutoMLProblemTypeConfigNameTextClassification is a AutoMLProblemTypeConfigName enum value AutoMLProblemTypeConfigNameTextClassification = "TextClassification" - // AutoMLProblemTypeConfigNameTabular is a AutoMLProblemTypeConfigName enum value - AutoMLProblemTypeConfigNameTabular = "Tabular" - // AutoMLProblemTypeConfigNameTimeSeriesForecasting is a AutoMLProblemTypeConfigName enum value AutoMLProblemTypeConfigNameTimeSeriesForecasting = "TimeSeriesForecasting" + // AutoMLProblemTypeConfigNameTabular is a AutoMLProblemTypeConfigName enum value + AutoMLProblemTypeConfigNameTabular = "Tabular" + // AutoMLProblemTypeConfigNameTextGeneration is a AutoMLProblemTypeConfigName enum value AutoMLProblemTypeConfigNameTextGeneration = "TextGeneration" ) @@ -125639,8 +125921,8 @@ func AutoMLProblemTypeConfigName_Values() []string { return []string{ AutoMLProblemTypeConfigNameImageClassification, AutoMLProblemTypeConfigNameTextClassification, - AutoMLProblemTypeConfigNameTabular, AutoMLProblemTypeConfigNameTimeSeriesForecasting, + AutoMLProblemTypeConfigNameTabular, AutoMLProblemTypeConfigNameTextGeneration, } } @@ -125735,6 +126017,15 @@ const ( // AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 is a AwsManagedHumanLoopRequestSource enum value AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 = "AWS/Textract/AnalyzeDocument/Forms/V1" + + // AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeExpense is a AwsManagedHumanLoopRequestSource enum value + AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeExpense = "AWS/Textract/AnalyzeExpense" + + // AwsManagedHumanLoopRequestSourceAwsHandshakeVerifyIdentity is a AwsManagedHumanLoopRequestSource enum value + AwsManagedHumanLoopRequestSourceAwsHandshakeVerifyIdentity = "AWS/Handshake/VerifyIdentity" + + // AwsManagedHumanLoopRequestSourceAwsBedrockModelEvaluation is a AwsManagedHumanLoopRequestSource enum value + AwsManagedHumanLoopRequestSourceAwsBedrockModelEvaluation = "AWS/Bedrock/ModelEvaluation" ) // AwsManagedHumanLoopRequestSource_Values returns all elements of the AwsManagedHumanLoopRequestSource enum @@ -125742,6 +126033,9 @@ func AwsManagedHumanLoopRequestSource_Values() []string { return []string{ AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3, AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1, + AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeExpense, + AwsManagedHumanLoopRequestSourceAwsHandshakeVerifyIdentity, + AwsManagedHumanLoopRequestSourceAwsBedrockModelEvaluation, } } @@ -125867,6 +126161,9 @@ const ( // CaptureModeOutput is a CaptureMode enum value CaptureModeOutput = "Output" + + // CaptureModeInputAndOutput is a CaptureMode enum value + CaptureModeInputAndOutput = "InputAndOutput" ) // CaptureMode_Values returns all elements of the CaptureMode enum @@ -125874,6 +126171,7 @@ func CaptureMode_Values() []string { return []string{ CaptureModeInput, CaptureModeOutput, + CaptureModeInputAndOutput, } } @@ -127504,6 +127802,12 @@ const ( // HyperParameterTuningJobStatusStopping is a HyperParameterTuningJobStatus enum value HyperParameterTuningJobStatusStopping = "Stopping" + + // HyperParameterTuningJobStatusDeleting is a HyperParameterTuningJobStatus enum value + HyperParameterTuningJobStatusDeleting = "Deleting" + + // HyperParameterTuningJobStatusDeleteFailed is a HyperParameterTuningJobStatus enum value + HyperParameterTuningJobStatusDeleteFailed = "DeleteFailed" ) // HyperParameterTuningJobStatus_Values returns all elements of the HyperParameterTuningJobStatus enum @@ -127514,6 +127818,8 @@ func HyperParameterTuningJobStatus_Values() []string { HyperParameterTuningJobStatusFailed, HyperParameterTuningJobStatusStopped, HyperParameterTuningJobStatusStopping, + HyperParameterTuningJobStatusDeleting, + HyperParameterTuningJobStatusDeleteFailed, } } @@ -129339,12 +129645,16 @@ func PipelineExecutionStatus_Values() []string { const ( // PipelineStatusActive is a PipelineStatus enum value PipelineStatusActive = "Active" + + // PipelineStatusDeleting is a PipelineStatus enum value + PipelineStatusDeleting = "Deleting" ) // PipelineStatus_Values returns all elements of the PipelineStatus enum func PipelineStatus_Values() []string { return []string{ PipelineStatusActive, + PipelineStatusDeleting, } } @@ -129907,6 +130217,9 @@ const ( // ProductionVariantInstanceTypeMlInf124xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlInf124xlarge = "ml.inf1.24xlarge" + // ProductionVariantInstanceTypeMlDl124xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlDl124xlarge = "ml.dl1.24xlarge" + // ProductionVariantInstanceTypeMlC6iLarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlC6iLarge = "ml.c6i.large" @@ -130138,6 +130451,9 @@ const ( // ProductionVariantInstanceTypeMlTrn132xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlTrn132xlarge = "ml.trn1.32xlarge" + // ProductionVariantInstanceTypeMlTrn1n32xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlTrn1n32xlarge = "ml.trn1n.32xlarge" + // ProductionVariantInstanceTypeMlInf2Xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlInf2Xlarge = "ml.inf2.xlarge" @@ -130152,6 +130468,87 @@ const ( // ProductionVariantInstanceTypeMlP548xlarge is a ProductionVariantInstanceType enum value ProductionVariantInstanceTypeMlP548xlarge = "ml.p5.48xlarge" + + // ProductionVariantInstanceTypeMlM7iLarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7iLarge = "ml.m7i.large" + + // ProductionVariantInstanceTypeMlM7iXlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7iXlarge = "ml.m7i.xlarge" + + // ProductionVariantInstanceTypeMlM7i2xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7i2xlarge = "ml.m7i.2xlarge" + + // ProductionVariantInstanceTypeMlM7i4xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7i4xlarge = "ml.m7i.4xlarge" + + // ProductionVariantInstanceTypeMlM7i8xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7i8xlarge = "ml.m7i.8xlarge" + + // ProductionVariantInstanceTypeMlM7i12xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7i12xlarge = "ml.m7i.12xlarge" + + // ProductionVariantInstanceTypeMlM7i16xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7i16xlarge = "ml.m7i.16xlarge" + + // ProductionVariantInstanceTypeMlM7i24xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7i24xlarge = "ml.m7i.24xlarge" + + // ProductionVariantInstanceTypeMlM7i48xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlM7i48xlarge = "ml.m7i.48xlarge" + + // ProductionVariantInstanceTypeMlC7iLarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7iLarge = "ml.c7i.large" + + // ProductionVariantInstanceTypeMlC7iXlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7iXlarge = "ml.c7i.xlarge" + + // ProductionVariantInstanceTypeMlC7i2xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7i2xlarge = "ml.c7i.2xlarge" + + // ProductionVariantInstanceTypeMlC7i4xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7i4xlarge = "ml.c7i.4xlarge" + + // ProductionVariantInstanceTypeMlC7i8xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7i8xlarge = "ml.c7i.8xlarge" + + // ProductionVariantInstanceTypeMlC7i12xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7i12xlarge = "ml.c7i.12xlarge" + + // ProductionVariantInstanceTypeMlC7i16xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7i16xlarge = "ml.c7i.16xlarge" + + // ProductionVariantInstanceTypeMlC7i24xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7i24xlarge = "ml.c7i.24xlarge" + + // ProductionVariantInstanceTypeMlC7i48xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlC7i48xlarge = "ml.c7i.48xlarge" + + // ProductionVariantInstanceTypeMlR7iLarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7iLarge = "ml.r7i.large" + + // ProductionVariantInstanceTypeMlR7iXlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7iXlarge = "ml.r7i.xlarge" + + // ProductionVariantInstanceTypeMlR7i2xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7i2xlarge = "ml.r7i.2xlarge" + + // ProductionVariantInstanceTypeMlR7i4xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7i4xlarge = "ml.r7i.4xlarge" + + // ProductionVariantInstanceTypeMlR7i8xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7i8xlarge = "ml.r7i.8xlarge" + + // ProductionVariantInstanceTypeMlR7i12xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7i12xlarge = "ml.r7i.12xlarge" + + // ProductionVariantInstanceTypeMlR7i16xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7i16xlarge = "ml.r7i.16xlarge" + + // ProductionVariantInstanceTypeMlR7i24xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7i24xlarge = "ml.r7i.24xlarge" + + // ProductionVariantInstanceTypeMlR7i48xlarge is a ProductionVariantInstanceType enum value + ProductionVariantInstanceTypeMlR7i48xlarge = "ml.r7i.48xlarge" ) // ProductionVariantInstanceType_Values returns all elements of the ProductionVariantInstanceType enum @@ -130223,6 +130620,7 @@ func ProductionVariantInstanceType_Values() []string { ProductionVariantInstanceTypeMlInf12xlarge, ProductionVariantInstanceTypeMlInf16xlarge, ProductionVariantInstanceTypeMlInf124xlarge, + ProductionVariantInstanceTypeMlDl124xlarge, ProductionVariantInstanceTypeMlC6iLarge, ProductionVariantInstanceTypeMlC6iXlarge, ProductionVariantInstanceTypeMlC6i2xlarge, @@ -130300,11 +130698,39 @@ func ProductionVariantInstanceType_Values() []string { ProductionVariantInstanceTypeMlP4de24xlarge, ProductionVariantInstanceTypeMlTrn12xlarge, ProductionVariantInstanceTypeMlTrn132xlarge, + ProductionVariantInstanceTypeMlTrn1n32xlarge, ProductionVariantInstanceTypeMlInf2Xlarge, ProductionVariantInstanceTypeMlInf28xlarge, ProductionVariantInstanceTypeMlInf224xlarge, ProductionVariantInstanceTypeMlInf248xlarge, ProductionVariantInstanceTypeMlP548xlarge, + ProductionVariantInstanceTypeMlM7iLarge, + ProductionVariantInstanceTypeMlM7iXlarge, + ProductionVariantInstanceTypeMlM7i2xlarge, + ProductionVariantInstanceTypeMlM7i4xlarge, + ProductionVariantInstanceTypeMlM7i8xlarge, + ProductionVariantInstanceTypeMlM7i12xlarge, + ProductionVariantInstanceTypeMlM7i16xlarge, + ProductionVariantInstanceTypeMlM7i24xlarge, + ProductionVariantInstanceTypeMlM7i48xlarge, + ProductionVariantInstanceTypeMlC7iLarge, + ProductionVariantInstanceTypeMlC7iXlarge, + ProductionVariantInstanceTypeMlC7i2xlarge, + ProductionVariantInstanceTypeMlC7i4xlarge, + ProductionVariantInstanceTypeMlC7i8xlarge, + ProductionVariantInstanceTypeMlC7i12xlarge, + ProductionVariantInstanceTypeMlC7i16xlarge, + ProductionVariantInstanceTypeMlC7i24xlarge, + ProductionVariantInstanceTypeMlC7i48xlarge, + ProductionVariantInstanceTypeMlR7iLarge, + ProductionVariantInstanceTypeMlR7iXlarge, + ProductionVariantInstanceTypeMlR7i2xlarge, + ProductionVariantInstanceTypeMlR7i4xlarge, + ProductionVariantInstanceTypeMlR7i8xlarge, + ProductionVariantInstanceTypeMlR7i12xlarge, + ProductionVariantInstanceTypeMlR7i16xlarge, + ProductionVariantInstanceTypeMlR7i24xlarge, + ProductionVariantInstanceTypeMlR7i48xlarge, } } @@ -130454,6 +130880,12 @@ const ( // RecommendationJobStatusStopped is a RecommendationJobStatus enum value RecommendationJobStatusStopped = "STOPPED" + + // RecommendationJobStatusDeleting is a RecommendationJobStatus enum value + RecommendationJobStatusDeleting = "DELETING" + + // RecommendationJobStatusDeleted is a RecommendationJobStatus enum value + RecommendationJobStatusDeleted = "DELETED" ) // RecommendationJobStatus_Values returns all elements of the RecommendationJobStatus enum @@ -130465,6 +130897,8 @@ func RecommendationJobStatus_Values() []string { RecommendationJobStatusFailed, RecommendationJobStatusStopping, RecommendationJobStatusStopped, + RecommendationJobStatusDeleting, + RecommendationJobStatusDeleted, } } @@ -130658,6 +131092,9 @@ const ( // ResourceTypeEndpoint is a ResourceType enum value ResourceTypeEndpoint = "Endpoint" + // ResourceTypeModel is a ResourceType enum value + ResourceTypeModel = "Model" + // ResourceTypeModelPackage is a ResourceType enum value ResourceTypeModelPackage = "ModelPackage" @@ -130673,20 +131110,23 @@ const ( // ResourceTypeFeatureGroup is a ResourceType enum value ResourceTypeFeatureGroup = "FeatureGroup" - // ResourceTypeProject is a ResourceType enum value - ResourceTypeProject = "Project" - // ResourceTypeFeatureMetadata is a ResourceType enum value ResourceTypeFeatureMetadata = "FeatureMetadata" + // ResourceTypeImage is a ResourceType enum value + ResourceTypeImage = "Image" + + // ResourceTypeImageVersion is a ResourceType enum value + ResourceTypeImageVersion = "ImageVersion" + + // ResourceTypeProject is a ResourceType enum value + ResourceTypeProject = "Project" + // ResourceTypeHyperParameterTuningJob is a ResourceType enum value ResourceTypeHyperParameterTuningJob = "HyperParameterTuningJob" // ResourceTypeModelCard is a ResourceType enum value ResourceTypeModelCard = "ModelCard" - - // ResourceTypeModel is a ResourceType enum value - ResourceTypeModel = "Model" ) // ResourceType_Values returns all elements of the ResourceType enum @@ -130697,16 +131137,18 @@ func ResourceType_Values() []string { ResourceTypeExperimentTrial, ResourceTypeExperimentTrialComponent, ResourceTypeEndpoint, + ResourceTypeModel, ResourceTypeModelPackage, ResourceTypeModelPackageGroup, ResourceTypePipeline, ResourceTypePipelineExecution, ResourceTypeFeatureGroup, - ResourceTypeProject, ResourceTypeFeatureMetadata, + ResourceTypeImage, + ResourceTypeImageVersion, + ResourceTypeProject, ResourceTypeHyperParameterTuningJob, ResourceTypeModelCard, - ResourceTypeModel, } } @@ -130946,6 +131388,9 @@ const ( // SecondaryStatusRestarting is a SecondaryStatus enum value SecondaryStatusRestarting = "Restarting" + + // SecondaryStatusPending is a SecondaryStatus enum value + SecondaryStatusPending = "Pending" ) // SecondaryStatus_Values returns all elements of the SecondaryStatus enum @@ -130967,6 +131412,7 @@ func SecondaryStatus_Values() []string { SecondaryStatusMaxWaitTimeExceeded, SecondaryStatusUpdating, SecondaryStatusRestarting, + SecondaryStatusPending, } } @@ -131425,11 +131871,17 @@ const ( // StudioLifecycleConfigAppTypeKernelGateway is a StudioLifecycleConfigAppType enum value StudioLifecycleConfigAppTypeKernelGateway = "KernelGateway" - // StudioLifecycleConfigAppTypeJupyterLab is a StudioLifecycleConfigAppType enum value - StudioLifecycleConfigAppTypeJupyterLab = "JupyterLab" + // StudioLifecycleConfigAppTypeVscode is a StudioLifecycleConfigAppType enum value + StudioLifecycleConfigAppTypeVscode = "VSCode" + + // StudioLifecycleConfigAppTypeSavitur is a StudioLifecycleConfigAppType enum value + StudioLifecycleConfigAppTypeSavitur = "Savitur" // StudioLifecycleConfigAppTypeCodeEditor is a StudioLifecycleConfigAppType enum value StudioLifecycleConfigAppTypeCodeEditor = "CodeEditor" + + // StudioLifecycleConfigAppTypeJupyterLab is a StudioLifecycleConfigAppType enum value + StudioLifecycleConfigAppTypeJupyterLab = "JupyterLab" ) // StudioLifecycleConfigAppType_Values returns all elements of the StudioLifecycleConfigAppType enum @@ -131437,8 +131889,10 @@ func StudioLifecycleConfigAppType_Values() []string { return []string{ StudioLifecycleConfigAppTypeJupyterServer, StudioLifecycleConfigAppTypeKernelGateway, - StudioLifecycleConfigAppTypeJupyterLab, + StudioLifecycleConfigAppTypeVscode, + StudioLifecycleConfigAppTypeSavitur, StudioLifecycleConfigAppTypeCodeEditor, + StudioLifecycleConfigAppTypeJupyterLab, } } @@ -131479,6 +131933,9 @@ func StudioWebPortal_Values() []string { } const ( + // TableFormatDefault is a TableFormat enum value + TableFormatDefault = "Default" + // TableFormatGlue is a TableFormat enum value TableFormatGlue = "Glue" @@ -131489,6 +131946,7 @@ const ( // TableFormat_Values returns all elements of the TableFormat enum func TableFormat_Values() []string { return []string{ + TableFormatDefault, TableFormatGlue, TableFormatIceberg, } @@ -131504,12 +131962,18 @@ const ( // TargetDeviceMlM5 is a TargetDevice enum value TargetDeviceMlM5 = "ml_m5" + // TargetDeviceMlM6g is a TargetDevice enum value + TargetDeviceMlM6g = "ml_m6g" + // TargetDeviceMlC4 is a TargetDevice enum value TargetDeviceMlC4 = "ml_c4" // TargetDeviceMlC5 is a TargetDevice enum value TargetDeviceMlC5 = "ml_c5" + // TargetDeviceMlC6g is a TargetDevice enum value + TargetDeviceMlC6g = "ml_c6g" + // TargetDeviceMlP2 is a TargetDevice enum value TargetDeviceMlP2 = "ml_p2" @@ -131546,6 +132010,9 @@ const ( // TargetDeviceRasp3b is a TargetDevice enum value TargetDeviceRasp3b = "rasp3b" + // TargetDeviceRasp4b is a TargetDevice enum value + TargetDeviceRasp4b = "rasp4b" + // TargetDeviceImx8qm is a TargetDevice enum value TargetDeviceImx8qm = "imx8qm" @@ -131604,8 +132071,10 @@ func TargetDevice_Values() []string { TargetDeviceLambda, TargetDeviceMlM4, TargetDeviceMlM5, + TargetDeviceMlM6g, TargetDeviceMlC4, TargetDeviceMlC5, + TargetDeviceMlC6g, TargetDeviceMlP2, TargetDeviceMlP3, TargetDeviceMlG4dn, @@ -131618,6 +132087,7 @@ func TargetDevice_Values() []string { TargetDeviceJetsonNano, TargetDeviceJetsonXavier, TargetDeviceRasp3b, + TargetDeviceRasp4b, TargetDeviceImx8qm, TargetDeviceDeeplens, TargetDeviceRk3399, @@ -131886,6 +132356,12 @@ const ( // TrainingInstanceTypeMlP4d24xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlP4d24xlarge = "ml.p4d.24xlarge" + // TrainingInstanceTypeMlP4de24xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlP4de24xlarge = "ml.p4de.24xlarge" + + // TrainingInstanceTypeMlP548xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlP548xlarge = "ml.p5.48xlarge" + // TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge" @@ -131949,8 +132425,56 @@ const ( // TrainingInstanceTypeMlTrn1n32xlarge is a TrainingInstanceType enum value TrainingInstanceTypeMlTrn1n32xlarge = "ml.trn1n.32xlarge" - // TrainingInstanceTypeMlP548xlarge is a TrainingInstanceType enum value - TrainingInstanceTypeMlP548xlarge = "ml.p5.48xlarge" + // TrainingInstanceTypeMlM6iLarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6iLarge = "ml.m6i.large" + + // TrainingInstanceTypeMlM6iXlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6iXlarge = "ml.m6i.xlarge" + + // TrainingInstanceTypeMlM6i2xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6i2xlarge = "ml.m6i.2xlarge" + + // TrainingInstanceTypeMlM6i4xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6i4xlarge = "ml.m6i.4xlarge" + + // TrainingInstanceTypeMlM6i8xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6i8xlarge = "ml.m6i.8xlarge" + + // TrainingInstanceTypeMlM6i12xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6i12xlarge = "ml.m6i.12xlarge" + + // TrainingInstanceTypeMlM6i16xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6i16xlarge = "ml.m6i.16xlarge" + + // TrainingInstanceTypeMlM6i24xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6i24xlarge = "ml.m6i.24xlarge" + + // TrainingInstanceTypeMlM6i32xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlM6i32xlarge = "ml.m6i.32xlarge" + + // TrainingInstanceTypeMlC6iXlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlC6iXlarge = "ml.c6i.xlarge" + + // TrainingInstanceTypeMlC6i2xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlC6i2xlarge = "ml.c6i.2xlarge" + + // TrainingInstanceTypeMlC6i8xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlC6i8xlarge = "ml.c6i.8xlarge" + + // TrainingInstanceTypeMlC6i4xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlC6i4xlarge = "ml.c6i.4xlarge" + + // TrainingInstanceTypeMlC6i12xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlC6i12xlarge = "ml.c6i.12xlarge" + + // TrainingInstanceTypeMlC6i16xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlC6i16xlarge = "ml.c6i.16xlarge" + + // TrainingInstanceTypeMlC6i24xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlC6i24xlarge = "ml.c6i.24xlarge" + + // TrainingInstanceTypeMlC6i32xlarge is a TrainingInstanceType enum value + TrainingInstanceTypeMlC6i32xlarge = "ml.c6i.32xlarge" ) // TrainingInstanceType_Values returns all elements of the TrainingInstanceType enum @@ -131985,6 +132509,8 @@ func TrainingInstanceType_Values() []string { TrainingInstanceTypeMlP316xlarge, TrainingInstanceTypeMlP3dn24xlarge, TrainingInstanceTypeMlP4d24xlarge, + TrainingInstanceTypeMlP4de24xlarge, + TrainingInstanceTypeMlP548xlarge, TrainingInstanceTypeMlC5Xlarge, TrainingInstanceTypeMlC52xlarge, TrainingInstanceTypeMlC54xlarge, @@ -132006,7 +132532,23 @@ func TrainingInstanceType_Values() []string { TrainingInstanceTypeMlTrn12xlarge, TrainingInstanceTypeMlTrn132xlarge, TrainingInstanceTypeMlTrn1n32xlarge, - TrainingInstanceTypeMlP548xlarge, + TrainingInstanceTypeMlM6iLarge, + TrainingInstanceTypeMlM6iXlarge, + TrainingInstanceTypeMlM6i2xlarge, + TrainingInstanceTypeMlM6i4xlarge, + TrainingInstanceTypeMlM6i8xlarge, + TrainingInstanceTypeMlM6i12xlarge, + TrainingInstanceTypeMlM6i16xlarge, + TrainingInstanceTypeMlM6i24xlarge, + TrainingInstanceTypeMlM6i32xlarge, + TrainingInstanceTypeMlC6iXlarge, + TrainingInstanceTypeMlC6i2xlarge, + TrainingInstanceTypeMlC6i8xlarge, + TrainingInstanceTypeMlC6i4xlarge, + TrainingInstanceTypeMlC6i12xlarge, + TrainingInstanceTypeMlC6i16xlarge, + TrainingInstanceTypeMlC6i24xlarge, + TrainingInstanceTypeMlC6i32xlarge, } } diff --git a/service/sagemaker/sagemakeriface/interface.go b/service/sagemaker/sagemakeriface/interface.go index 96e7b5dfa2d..f3e6e12b04d 100644 --- a/service/sagemaker/sagemakeriface/interface.go +++ b/service/sagemaker/sagemakeriface/interface.go @@ -332,6 +332,10 @@ type SageMakerAPI interface { DeleteCodeRepositoryWithContext(aws.Context, *sagemaker.DeleteCodeRepositoryInput, ...request.Option) (*sagemaker.DeleteCodeRepositoryOutput, error) DeleteCodeRepositoryRequest(*sagemaker.DeleteCodeRepositoryInput) (*request.Request, *sagemaker.DeleteCodeRepositoryOutput) + DeleteCompilationJob(*sagemaker.DeleteCompilationJobInput) (*sagemaker.DeleteCompilationJobOutput, error) + DeleteCompilationJobWithContext(aws.Context, *sagemaker.DeleteCompilationJobInput, ...request.Option) (*sagemaker.DeleteCompilationJobOutput, error) + DeleteCompilationJobRequest(*sagemaker.DeleteCompilationJobInput) (*request.Request, *sagemaker.DeleteCompilationJobOutput) + DeleteContext(*sagemaker.DeleteContextInput) (*sagemaker.DeleteContextOutput, error) DeleteContextWithContext(aws.Context, *sagemaker.DeleteContextInput, ...request.Option) (*sagemaker.DeleteContextOutput, error) DeleteContextRequest(*sagemaker.DeleteContextInput) (*request.Request, *sagemaker.DeleteContextOutput)