From 417f8a94adeed59918cfef686dcb3e438b77735b Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Fri, 3 May 2024 14:37:24 -0400 Subject: [PATCH] Release v1.52.2 (2024-05-03) (#5252) Release v1.52.2 (2024-05-03) === ### Service Client Updates * `service/bedrock-agent`: Updates service API and documentation * `service/connect`: Updates service API and documentation * `service/connectcases`: Updates service API and documentation * `service/datasync`: Updates service API and documentation * `service/inspector2`: Updates service API and documentation * `service/sagemaker`: Updates service API and documentation * Amazon SageMaker Inference now supports m6i, c6i, r6i, m7i, c7i, r7i and g5 instance types for Batch Transform Jobs * `service/sesv2`: Updates service API and documentation --- CHANGELOG.md | 13 + aws/endpoints/defaults.go | 51 + aws/version.go | 2 +- .../apis/bedrock-agent/2023-06-05/api-2.json | 11 +- .../apis/bedrock-agent/2023-06-05/docs-2.json | 15 +- models/apis/connect/2017-08-08/api-2.json | 410 +++- models/apis/connect/2017-08-08/docs-2.json | 239 ++- .../apis/connectcases/2022-10-03/api-2.json | 30 +- .../apis/connectcases/2022-10-03/docs-2.json | 46 +- models/apis/datasync/2018-11-09/api-2.json | 1 + models/apis/datasync/2018-11-09/docs-2.json | 10 +- models/apis/inspector2/2020-06-08/api-2.json | 9 + models/apis/inspector2/2020-06-08/docs-2.json | 8 +- models/apis/sagemaker/2017-07-24/api-2.json | 64 +- models/apis/sagemaker/2017-07-24/docs-2.json | 2 +- models/apis/sesv2/2019-09-27/api-2.json | 3 +- models/apis/sesv2/2019-09-27/docs-2.json | 1 + models/endpoints/endpoints.json | 32 + service/bedrockagent/api.go | 40 +- service/connect/api.go | 1709 ++++++++++++++++- service/connect/connectiface/interface.go | 20 + service/connectcases/api.go | 156 +- service/datasync/api.go | 59 +- service/inspector2/api.go | 32 +- service/sagemaker/api.go | 253 ++- service/sesv2/api.go | 32 + 26 files changed, 3160 insertions(+), 88 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3282271ada6..13b37e90b3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +Release v1.52.2 (2024-05-03) +=== + +### Service Client Updates +* `service/bedrock-agent`: Updates service API and documentation +* `service/connect`: Updates service API and documentation +* `service/connectcases`: Updates service API and documentation +* `service/datasync`: Updates service API and documentation +* `service/inspector2`: Updates service API and documentation +* `service/sagemaker`: Updates service API and documentation + * Amazon SageMaker Inference now supports m6i, c6i, r6i, m7i, c7i, r7i and g5 instance types for Batch Transform Jobs +* `service/sesv2`: Updates service API and documentation + Release v1.52.1 (2024-05-02) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index bbbf6cbdf9b..7b2131e1140 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -14156,6 +14156,15 @@ var awsPartition = partition{ }: endpoint{ Hostname: "fsx-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, + endpointKey{ + Region: "ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "fsx-fips.ca-west-1.amazonaws.com", + }, endpointKey{ Region: "eu-central-1", }: endpoint{}, @@ -14189,6 +14198,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-ca-west-1", + }: endpoint{ + Hostname: "fsx-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-prod-ca-central-1", }: endpoint{ @@ -14198,6 +14216,15 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "fips-prod-ca-west-1", + }: endpoint{ + Hostname: "fsx-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "fips-prod-us-east-1", }: endpoint{ @@ -14297,6 +14324,24 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "prod-ca-west-1", + }: endpoint{ + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "prod-ca-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "fsx-fips.ca-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ca-west-1", + }, + Deprecated: boxedTrue, + }, endpointKey{ Region: "prod-us-east-1", }: endpoint{ @@ -30442,6 +30487,9 @@ var awsPartition = partition{ }, Deprecated: boxedTrue, }, + endpointKey{ + Region: "il-central-1", + }: endpoint{}, endpointKey{ Region: "me-central-1", }: endpoint{}, @@ -32999,6 +33047,9 @@ var awsPartition = partition{ }: endpoint{ Hostname: "transfer-fips.ca-central-1.amazonaws.com", }, + endpointKey{ + Region: "ca-west-1", + }: endpoint{}, endpointKey{ Region: "eu-central-1", }: endpoint{}, diff --git a/aws/version.go b/aws/version.go index 25f2c8b55aa..309377cfdd8 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.52.1" +const SDKVersion = "1.52.2" diff --git a/models/apis/bedrock-agent/2023-06-05/api-2.json b/models/apis/bedrock-agent/2023-06-05/api-2.json index c44bdf481a0..584409003e2 100644 --- a/models/apis/bedrock-agent/2023-06-05/api-2.json +++ b/models/apis/bedrock-agent/2023-06-05/api-2.json @@ -886,6 +886,7 @@ "clientToken":{"shape":"ClientToken"}, "createdAt":{"shape":"DateTimestamp"}, "description":{"shape":"Description"}, + "failureReasons":{"shape":"FailureReasons"}, "routingConfiguration":{"shape":"AgentAliasRoutingConfiguration"}, "updatedAt":{"shape":"DateTimestamp"} } @@ -924,9 +925,9 @@ }, "AgentAliasRoutingConfigurationListItem":{ "type":"structure", - "required":["agentVersion"], "members":{ - "agentVersion":{"shape":"Version"} + "agentVersion":{"shape":"Version"}, + "provisionedThroughput":{"shape":"ProvisionedModelIdentifier"} } }, "AgentAliasStatus":{ @@ -2672,6 +2673,12 @@ "KNOWLEDGE_BASE_RESPONSE_GENERATION" ] }, + "ProvisionedModelIdentifier":{ + "type":"string", + "max":2048, + "min":1, + "pattern":"^((([0-9a-zA-Z][_-]?){1,63})|(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:provisioned-model/[a-z0-9]{12}))$" + }, "RdsArn":{ "type":"string", "pattern":"^arn:aws(|-cn|-us-gov):rds:[a-zA-Z0-9-]*:[0-9]{12}:cluster:[a-zA-Z0-9-]{1,63}$" diff --git a/models/apis/bedrock-agent/2023-06-05/docs-2.json b/models/apis/bedrock-agent/2023-06-05/docs-2.json index ad26299e9f7..f4255000803 100644 --- a/models/apis/bedrock-agent/2023-06-05/docs-2.json +++ b/models/apis/bedrock-agent/2023-06-05/docs-2.json @@ -58,10 +58,10 @@ } }, "ActionGroupExecutor": { - "base": "

Contains details about the Lambda function containing the business logic that is carried out upon invoking the action.

", + "base": "

Contains details about the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.

", "refs": { - "AgentActionGroup$actionGroupExecutor": "

The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.

", - "CreateAgentActionGroupRequest$actionGroupExecutor": "

The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.

", + "AgentActionGroup$actionGroupExecutor": "

The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.

", + "CreateAgentActionGroupRequest$actionGroupExecutor": "

The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.

", "UpdateAgentActionGroupRequest$actionGroupExecutor": "

The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.

" } }, @@ -406,7 +406,7 @@ "refs": { "CreateDataSourceRequest$dataDeletionPolicy": "

The data deletion policy assigned to the data source.

", "DataSource$dataDeletionPolicy": "

The data deletion policy for a data source.

", - "UpdateDataSourceRequest$dataDeletionPolicy": "

The data deletion policy assigned to the data source.

" + "UpdateDataSourceRequest$dataDeletionPolicy": "

The data deletion policy of the updated data source.

" } }, "DataSource": { @@ -613,6 +613,7 @@ "base": null, "refs": { "Agent$failureReasons": "

Contains reasons that the agent-related API that you invoked failed.

", + "AgentAlias$failureReasons": "

Information on the failure of Provisioned Throughput assigned to an agent alias.

", "AgentVersion$failureReasons": "

A list of reasons that the API operation on the version failed.

", "DataSource$failureReasons": "

The detailed reasons on the failure to delete a data source.

", "IngestionJob$failureReasons": "

A list of reasons that the ingestion job failed.

", @@ -1389,6 +1390,12 @@ "PromptConfiguration$promptType": "

The step in the agent sequence that this prompt configuration applies to.

" } }, + "ProvisionedModelIdentifier": { + "base": null, + "refs": { + "AgentAliasRoutingConfigurationListItem$provisionedThroughput": "

Information on the Provisioned Throughput assigned to an agent alias.

" + } + }, "RdsArn": { "base": null, "refs": { diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 2e67b6c762d..03b1a11e51a 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"connect", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceAbbreviation":"Amazon Connect", "serviceFullName":"Amazon Connect Service", "serviceId":"Connect", @@ -292,6 +293,22 @@ {"shape":"InternalServiceException"} ] }, + "BatchGetAttachedFileMetadata":{ + "name":"BatchGetAttachedFileMetadata", + "http":{ + "method":"POST", + "requestUri":"/attached-files/{InstanceId}" + }, + "input":{"shape":"BatchGetAttachedFileMetadataRequest"}, + "output":{"shape":"BatchGetAttachedFileMetadataResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ] + }, "BatchGetFlowAssociation":{ "name":"BatchGetFlowAssociation", "http":{ @@ -344,6 +361,22 @@ {"shape":"AccessDeniedException"} ] }, + "CompleteAttachedFileUpload":{ + "name":"CompleteAttachedFileUpload", + "http":{ + "method":"POST", + "requestUri":"/attached-files/{InstanceId}/{FileId}" + }, + "input":{"shape":"CompleteAttachedFileUploadRequest"}, + "output":{"shape":"CompleteAttachedFileUploadResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ] + }, "CreateAgentStatus":{ "name":"CreateAgentStatus", "http":{ @@ -790,6 +823,22 @@ {"shape":"ResourceConflictException"} ] }, + "DeleteAttachedFile":{ + "name":"DeleteAttachedFile", + "http":{ + "method":"DELETE", + "requestUri":"/attached-files/{InstanceId}/{FileId}" + }, + "input":{"shape":"DeleteAttachedFileRequest"}, + "output":{"shape":"DeleteAttachedFileResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ] + }, "DeleteContactEvaluation":{ "name":"DeleteContactEvaluation", "http":{ @@ -1738,6 +1787,22 @@ {"shape":"InternalServiceException"} ] }, + "GetAttachedFile":{ + "name":"GetAttachedFile", + "http":{ + "method":"GET", + "requestUri":"/attached-files/{InstanceId}/{FileId}" + }, + "input":{"shape":"GetAttachedFileRequest"}, + "output":{"shape":"GetAttachedFileResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"} + ] + }, "GetContactAttributes":{ "name":"GetContactAttributes", "http":{ @@ -2942,6 +3007,23 @@ {"shape":"AccessDeniedException"} ] }, + "StartAttachedFileUpload":{ + "name":"StartAttachedFileUpload", + "http":{ + "method":"PUT", + "requestUri":"/attached-files/{InstanceId}" + }, + "input":{"shape":"StartAttachedFileUploadRequest"}, + "output":{"shape":"StartAttachedFileUploadResponse"}, + "errors":[ + {"shape":"AccessDeniedException"}, + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceException"}, + {"shape":"ThrottlingException"}, + {"shape":"ResourceConflictException"}, + {"shape":"ServiceQuotaExceededException"} + ] + }, "StartChatContact":{ "name":"StartChatContact", "http":{ @@ -4550,6 +4632,56 @@ "max":100, "min":1 }, + "AttachedFile":{ + "type":"structure", + "required":[ + "CreationTime", + "FileArn", + "FileId", + "FileName", + "FileSizeInBytes", + "FileStatus" + ], + "members":{ + "CreationTime":{"shape":"ISO8601Datetime"}, + "FileArn":{"shape":"ARN"}, + "FileId":{"shape":"FileId"}, + "FileName":{"shape":"FileName"}, + "FileSizeInBytes":{ + "shape":"FileSizeInBytes", + "box":true + }, + "FileStatus":{"shape":"FileStatusType"}, + "CreatedBy":{"shape":"CreatedByInfo"}, + "FileUseCaseType":{"shape":"FileUseCaseType"}, + "AssociatedResourceArn":{"shape":"ARN"}, + "Tags":{"shape":"TagMap"} + } + }, + "AttachedFileError":{ + "type":"structure", + "members":{ + "ErrorCode":{"shape":"ErrorCode"}, + "ErrorMessage":{"shape":"ErrorMessage"}, + "FileId":{"shape":"FileId"} + } + }, + "AttachedFileErrorsList":{ + "type":"list", + "member":{"shape":"AttachedFileError"} + }, + "AttachedFileInvalidRequestExceptionReason":{ + "type":"string", + "enum":[ + "INVALID_FILE_SIZE", + "INVALID_FILE_TYPE", + "INVALID_FILE_NAME" + ] + }, + "AttachedFilesList":{ + "type":"list", + "member":{"shape":"AttachedFile"} + }, "AttachmentName":{ "type":"string", "max":256, @@ -4679,6 +4811,34 @@ "Errors":{"shape":"ErrorResults"} } }, + "BatchGetAttachedFileMetadataRequest":{ + "type":"structure", + "required":[ + "FileIds", + "InstanceId", + "AssociatedResourceArn" + ], + "members":{ + "FileIds":{"shape":"FileIdList"}, + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "AssociatedResourceArn":{ + "shape":"ARN", + "location":"querystring", + "locationName":"associatedResourceArn" + } + } + }, + "BatchGetAttachedFileMetadataResponse":{ + "type":"structure", + "members":{ + "Files":{"shape":"AttachedFilesList"}, + "Errors":{"shape":"AttachedFileErrorsList"} + } + }, "BatchGetFlowAssociationRequest":{ "type":"structure", "required":[ @@ -4891,6 +5051,36 @@ "type":"string", "enum":["LT"] }, + "CompleteAttachedFileUploadRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "FileId", + "AssociatedResourceArn" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "FileId":{ + "shape":"FileId", + "location":"uri", + "locationName":"FileId" + }, + "AssociatedResourceArn":{ + "shape":"ARN", + "location":"querystring", + "locationName":"associatedResourceArn" + } + } + }, + "CompleteAttachedFileUploadResponse":{ + "type":"structure", + "members":{ + } + }, "Concurrency":{ "type":"integer", "max":10, @@ -5948,6 +6138,14 @@ "State":{"shape":"VocabularyState"} } }, + "CreatedByInfo":{ + "type":"structure", + "members":{ + "ConnectUserArn":{"shape":"ARN"}, + "AWSIdentityArn":{"shape":"ARN"} + }, + "union":true + }, "Credentials":{ "type":"structure", "members":{ @@ -6106,6 +6304,36 @@ "max":9999, "min":0 }, + "DeleteAttachedFileRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "FileId", + "AssociatedResourceArn" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "FileId":{ + "shape":"FileId", + "location":"uri", + "locationName":"FileId" + }, + "AssociatedResourceArn":{ + "shape":"ARN", + "location":"querystring", + "locationName":"associatedResourceArn" + } + } + }, + "DeleteAttachedFileResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteContactEvaluationRequest":{ "type":"structure", "required":[ @@ -7552,6 +7780,13 @@ "member":{"shape":"Distribution"} }, "Double":{"type":"double"}, + "DownloadUrlMetadata":{ + "type":"structure", + "members":{ + "Url":{"shape":"MetadataUrl"}, + "UrlExpiry":{"shape":"ISO8601Datetime"} + } + }, "DuplicateResourceException":{ "type":"structure", "members":{ @@ -7616,6 +7851,8 @@ "CONTACT_FLOW" ] }, + "ErrorCode":{"type":"string"}, + "ErrorMessage":{"type":"string"}, "ErrorResult":{ "type":"structure", "members":{ @@ -8213,6 +8450,40 @@ "type":"list", "member":{"shape":"FieldValue"} }, + "FileId":{ + "type":"string", + "max":256, + "min":1 + }, + "FileIdList":{ + "type":"list", + "member":{"shape":"FileId"}, + "min":1 + }, + "FileName":{ + "type":"string", + "max":256, + "min":1, + "pattern":"^\\P{C}*$" + }, + "FileSizeInBytes":{ + "type":"long", + "box":true, + "min":1 + }, + "FileStatusType":{ + "type":"string", + "enum":[ + "APPROVED", + "REJECTED", + "PROCESSING", + "FAILED" + ] + }, + "FileUseCaseType":{ + "type":"string", + "enum":["ATTACHMENT"] + }, "FilterV2":{ "type":"structure", "members":{ @@ -8266,6 +8537,56 @@ "type":"list", "member":{"shape":"FunctionArn"} }, + "GetAttachedFileRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "FileId", + "AssociatedResourceArn" + ], + "members":{ + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "FileId":{ + "shape":"FileId", + "location":"uri", + "locationName":"FileId" + }, + "UrlExpiryInSeconds":{ + "shape":"URLExpiryInSeconds", + "location":"querystring", + "locationName":"urlExpiryInSeconds" + }, + "AssociatedResourceArn":{ + "shape":"ARN", + "location":"querystring", + "locationName":"associatedResourceArn" + } + } + }, + "GetAttachedFileResponse":{ + "type":"structure", + "required":["FileSizeInBytes"], + "members":{ + "FileArn":{"shape":"ARN"}, + "FileId":{"shape":"FileId"}, + "CreationTime":{"shape":"ISO8601Datetime"}, + "FileStatus":{"shape":"FileStatusType"}, + "FileName":{"shape":"FileName"}, + "FileSizeInBytes":{ + "shape":"FileSizeInBytes", + "box":true + }, + "AssociatedResourceArn":{"shape":"ARN"}, + "FileUseCaseType":{"shape":"FileUseCaseType"}, + "CreatedBy":{"shape":"CreatedByInfo"}, + "DownloadUrlMetadata":{"shape":"DownloadUrlMetadata"}, + "Tags":{"shape":"TagMap"} + } + }, "GetContactAttributesRequest":{ "type":"structure", "required":[ @@ -9146,11 +9467,19 @@ "InvalidRequestException":{ "type":"structure", "members":{ - "Message":{"shape":"Message"} + "Message":{"shape":"Message"}, + "Reason":{"shape":"InvalidRequestExceptionReason"} }, "error":{"httpStatusCode":400}, "exception":true }, + "InvalidRequestExceptionReason":{ + "type":"structure", + "members":{ + "AttachedFileInvalidRequestExceptionReason":{"shape":"AttachedFileInvalidRequestExceptionReason"} + }, + "union":true + }, "InvisibleFieldInfo":{ "type":"structure", "members":{ @@ -10811,6 +11140,11 @@ }, "MeetingId":{"type":"string"}, "Message":{"type":"string"}, + "MetadataUrl":{ + "type":"string", + "max":2000, + "min":1 + }, "MetricDataCollectionsV2":{ "type":"list", "member":{"shape":"MetricDataV2"} @@ -13377,6 +13711,52 @@ "CASES" ] }, + "StartAttachedFileUploadRequest":{ + "type":"structure", + "required":[ + "InstanceId", + "FileName", + "FileSizeInBytes", + "FileUseCaseType", + "AssociatedResourceArn" + ], + "members":{ + "ClientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + }, + "InstanceId":{ + "shape":"InstanceId", + "location":"uri", + "locationName":"InstanceId" + }, + "FileName":{"shape":"FileName"}, + "FileSizeInBytes":{ + "shape":"FileSizeInBytes", + "box":true + }, + "UrlExpiryInSeconds":{"shape":"URLExpiryInSeconds"}, + "FileUseCaseType":{"shape":"FileUseCaseType"}, + "AssociatedResourceArn":{ + "shape":"ARN", + "location":"querystring", + "locationName":"associatedResourceArn" + }, + "CreatedBy":{"shape":"CreatedByInfo"}, + "Tags":{"shape":"TagMap"} + } + }, + "StartAttachedFileUploadResponse":{ + "type":"structure", + "members":{ + "FileArn":{"shape":"ARN"}, + "FileId":{"shape":"FileId"}, + "CreationTime":{"shape":"ISO8601Datetime"}, + "FileStatus":{"shape":"FileStatusType"}, + "CreatedBy":{"shape":"CreatedByInfo"}, + "UploadUrlMetadata":{"shape":"UploadUrlMetadata"} + } + }, "StartChatContactRequest":{ "type":"structure", "required":[ @@ -14227,6 +14607,11 @@ "max":2000, "min":1 }, + "URLExpiryInSeconds":{ + "type":"integer", + "max":300, + "min":5 + }, "Unit":{ "type":"string", "enum":[ @@ -15412,7 +15797,30 @@ "members":{ } }, + "UploadUrlMetadata":{ + "type":"structure", + "members":{ + "Url":{"shape":"MetadataUrl"}, + "UrlExpiry":{"shape":"ISO8601Datetime"}, + "HeadersToInclude":{"shape":"UrlMetadataSignedHeaders"} + } + }, "Url":{"type":"string"}, + "UrlMetadataSignedHeaders":{ + "type":"map", + "key":{"shape":"UrlMetadataSignedHeadersKey"}, + "value":{"shape":"UrlMetadataSignedHeadersValue"} + }, + "UrlMetadataSignedHeadersKey":{ + "type":"string", + "max":128, + "min":1 + }, + "UrlMetadataSignedHeadersValue":{ + "type":"string", + "max":256, + "min":1 + }, "UrlReference":{ "type":"structure", "members":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 8eb446b7684..ba111a7b355 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -19,9 +19,11 @@ "AssociateUserProficiencies": "

>Associates a set of proficiencies with a user.

", "BatchAssociateAnalyticsDataSet": "

This API is in preview release for Amazon Connect and is subject to change.

Associates a list of analytics datasets for a given Amazon Connect instance to a target account. You can associate multiple datasets in a single call.

", "BatchDisassociateAnalyticsDataSet": "

This API is in preview release for Amazon Connect and is subject to change.

Removes a list of analytics datasets associated with a given Amazon Connect instance. You can disassociate multiple datasets in a single call.

", + "BatchGetAttachedFileMetadata": "

Allows you to retrieve metadata about multiple attached files on an associated resource. Each attached file provided in the input list must be associated with the input AssociatedResourceArn.

", "BatchGetFlowAssociation": "

Retrieve the flow associations for the given resources.

", "BatchPutContact": "

Only the Amazon Connect outbound campaigns service principal is allowed to assume a role in your account and call this API.

Allows you to create a batch of contacts in Amazon Connect. The outbound campaigns capability ingests dial requests via the PutDialRequestBatch API. It then uses BatchPutContact to create contacts corresponding to those dial requests. If agents are available, the dial requests are dialed out, which results in a voice call. The resulting voice call uses the same contactId that was created by BatchPutContact.

", "ClaimPhoneNumber": "

Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created.

For more information about how to use this operation, see Claim a phone number in your country and Claim phone numbers to traffic distribution groups in the Amazon Connect Administrator Guide.

You can call the SearchAvailablePhoneNumbers API for available phone numbers that you can claim. Call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation.

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.

", + "CompleteAttachedFileUpload": "

Allows you to confirm that the attached file has been uploaded using the pre-signed URL provided in the StartAttachedFileUpload API.

", "CreateAgentStatus": "

This API is in preview release for Amazon Connect and is subject to change.

Creates an agent status for the specified Amazon Connect instance.

", "CreateContactFlow": "

Creates a flow for the specified Amazon Connect instance.

You can also create and update flows using the Amazon Connect Flow language.

", "CreateContactFlowModule": "

Creates a flow module for the specified Amazon Connect instance.

", @@ -47,6 +49,7 @@ "CreateViewVersion": "

Publishes a new version of the view identifier.

Versions are immutable and monotonically increasing.

It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST alias.

", "CreateVocabulary": "

Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in post-call and real-time contact analysis sessions for that language.

", "DeactivateEvaluationForm": "

Deactivates an evaluation form in the specified Amazon Connect instance. After a form is deactivated, it is no longer available for users to start new evaluations based on the form.

", + "DeleteAttachedFile": "

Deletes an attached file along with the underlying S3 Object.

The attached file is permanently deleted if S3 bucket versioning is not enabled.

", "DeleteContactEvaluation": "

Deletes a contact evaluation in the specified Amazon Connect instance.

", "DeleteContactFlow": "

Deletes a flow for the specified Amazon Connect instance.

", "DeleteContactFlowModule": "

Deletes the specified flow module.

", @@ -107,6 +110,7 @@ "DisassociateTrafficDistributionGroupUser": "

Disassociates an agent from a traffic distribution group.

", "DisassociateUserProficiencies": "

Disassociates a set of proficiencies from a user.

", "DismissUserContact": "

Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to receive a new routed contact. Contacts can only be dismissed if they are in a MISSED, ERROR, ENDED, or REJECTED state in the Agent Event Stream.

", + "GetAttachedFile": "

Provides a pre-signed URL for download of an approved attached file. This API also returns metadata about the attached file. It will only return a downloadURL if the status of the attached file is APPROVED.

", "GetContactAttributes": "

Retrieves the contact attributes for the specified contact.

", "GetCurrentMetricData": "

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

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

", "GetCurrentUserData": "

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

", @@ -182,6 +186,7 @@ "SearchUsers": "

Searches users in an Amazon Connect instance, with optional filtering.

AfterContactWorkTimeLimit is returned in milliseconds.

", "SearchVocabularies": "

Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode.

", "SendChatIntegrationEvent": "

Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect. A chat integration event includes:

When a chat integration event is sent with chat identifiers that do not map to an active chat contact, a new chat contact is also created before handling chat action.

Access to this API is currently restricted to Amazon Pinpoint for supporting SMS integration.

", + "StartAttachedFileUpload": "

Provides a pre-signed Amazon S3 URL in response for uploading your content.

You may only use this API to upload attachments to a Connect Case.

", "StartChatContact": "

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

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

A 429 error occurs in the following situations:

If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.

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

", "StartContactEvaluation": "

Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact. The evaluation form version used for the contact evaluation corresponds to the currently activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started.

Evaluations created through the public API do not contain answer values suggested from automation.

", "StartContactRecording": "

Starts recording the contact:

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

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

Only voice recordings are supported at this time.

", @@ -258,11 +263,15 @@ "AssociateAnalyticsDataSetResponse$ResourceShareArn": "

The Amazon Resource Name (ARN) of the Resource Access Manager share.

", "AssociateFlowRequest$ResourceId": "

The identifier of the resource.

", "AssociateFlowRequest$FlowId": "

The identifier of the flow.

", + "AttachedFile$FileArn": "

The unique identifier of the attached file resource (ARN).

", + "AttachedFile$AssociatedResourceArn": "

The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

This value must be a valid ARN.

", + "BatchGetAttachedFileMetadataRequest$AssociatedResourceArn": "

The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

This value must be a valid ARN.

", "ClaimPhoneNumberRequest$TargetArn": "

The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through. You must enter InstanceId or TargetArn.

", "ClaimPhoneNumberResponse$PhoneNumberArn": "

The Amazon Resource Name (ARN) of the phone number.

", "ClaimedPhoneNumberSummary$PhoneNumberArn": "

The Amazon Resource Name (ARN) of the phone number.

", "ClaimedPhoneNumberSummary$TargetArn": "

The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.

", "ClaimedPhoneNumberSummary$SourcePhoneNumberArn": "

The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.

", + "CompleteAttachedFileUploadRequest$AssociatedResourceArn": "

The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

This value must be a valid ARN.

", "Contact$Arn": "

The Amazon Resource Name (ARN) for the contact.

", "ContactFlow$Arn": "

The Amazon Resource Name (ARN) of the flow.

", "ContactFlowModule$Arn": "

The Amazon Resource Name (ARN).

", @@ -287,7 +296,10 @@ "CreateUserHierarchyGroupResponse$HierarchyGroupArn": "

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

", "CreateUserResponse$UserArn": "

The Amazon Resource Name (ARN) of the user account.

", "CreateVocabularyResponse$VocabularyArn": "

The Amazon Resource Name (ARN) of the custom vocabulary.

", + "CreatedByInfo$ConnectUserArn": "

An agent ARN representing a connect user.

", + "CreatedByInfo$AWSIdentityArn": "

STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and this value is calculated automatically if ConnectUserArn is not provided.

", "DeactivateEvaluationFormResponse$EvaluationFormArn": "

The Amazon Resource Name (ARN) for the evaluation form resource.

", + "DeleteAttachedFileRequest$AssociatedResourceArn": "

The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

This value must be a valid ARN.

", "DeleteVocabularyResponse$VocabularyArn": "

The Amazon Resource Name (ARN) of the custom vocabulary.

", "DisassociateFlowRequest$ResourceId": "

The identifier of the resource.

", "Evaluation$EvaluationArn": "

The Amazon Resource Name (ARN) for the contact evaluation resource.

", @@ -307,6 +319,9 @@ "EvaluationSummary$EvaluatorArn": "

The Amazon Resource Name (ARN) of the user who last updated the evaluation.

", "FlowAssociationSummary$ResourceId": "

The identifier of the resource.

", "FlowAssociationSummary$FlowId": "

The identifier of the flow.

", + "GetAttachedFileRequest$AssociatedResourceArn": "

The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

This value must be a valid ARN.

", + "GetAttachedFileResponse$FileArn": "

The unique identifier of the attached file resource (ARN).

", + "GetAttachedFileResponse$AssociatedResourceArn": "

The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

This value must be a valid ARN.

", "GetFederationTokenResponse$UserArn": "

The Amazon Resource Name (ARN) of the user.

", "GetFlowAssociationRequest$ResourceId": "

The identifier of the resource.

", "GetFlowAssociationResponse$ResourceId": "

The identifier of the resource.

", @@ -356,6 +371,8 @@ "SecurityProfile$Arn": "

The Amazon Resource Name (ARN) for the secruity profile.

", "SecurityProfileSearchSummary$Arn": "

The Amazon Resource Name (ARN) of the security profile.

", "SecurityProfileSummary$Arn": "

The Amazon Resource Name (ARN) of the security profile.

", + "StartAttachedFileUploadRequest$AssociatedResourceArn": "

The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

This value must be a valid ARN.

", + "StartAttachedFileUploadResponse$FileArn": "

The unique identifier of the attached file resource (ARN).

", "StartContactEvaluationResponse$EvaluationArn": "

The Amazon Resource Name (ARN) for the contact evaluation resource.

", "SubmitContactEvaluationResponse$EvaluationArn": "

The Amazon Resource Name (ARN) for the contact evaluation resource.

", "TagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource.

", @@ -816,6 +833,36 @@ "UpdateInstanceStorageConfigRequest$AssociationId": "

The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.

" } }, + "AttachedFile": { + "base": "

Information about the attached file.

", + "refs": { + "AttachedFilesList$member": null + } + }, + "AttachedFileError": { + "base": "

Error describing a failure to retrieve attached file metadata through BatchGetAttachedFileMetadata action.

", + "refs": { + "AttachedFileErrorsList$member": null + } + }, + "AttachedFileErrorsList": { + "base": null, + "refs": { + "BatchGetAttachedFileMetadataResponse$Errors": "

List of errors of attached files that could not be retrieved.

" + } + }, + "AttachedFileInvalidRequestExceptionReason": { + "base": null, + "refs": { + "InvalidRequestExceptionReason$AttachedFileInvalidRequestExceptionReason": "

Reason why the StartAttachedFiledUpload request was invalid.

" + } + }, + "AttachedFilesList": { + "base": null, + "refs": { + "BatchGetAttachedFileMetadataResponse$Files": "

List of attached files that were successfully retrieved.

" + } + }, "AttachmentName": { "base": null, "refs": { @@ -882,7 +929,7 @@ "StartOutboundVoiceContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

", "StartTaskContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

", "StartWebRTCContactRequest$Attributes": "

A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes, and can be accessed in flows just like any other contact attributes.

There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only alphanumeric, -, and _ characters.

", - "UpdateContactAttributesRequest$Attributes": "

The Amazon Connect attributes. These attributes can be accessed in flows just like any other contact attributes.

You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

" + "UpdateContactAttributesRequest$Attributes": "

The Amazon Connect attributes. These attributes can be accessed in flows just like any other contact attributes.

You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys can include only alphanumeric, dash, and underscore characters.

When the attributes for a contact exceed 32 KB, the contact is routed down the Error branch of the flow. As a mitigation, consider the following options:

" } }, "AttributesList": { @@ -943,6 +990,16 @@ "refs": { } }, + "BatchGetAttachedFileMetadataRequest": { + "base": null, + "refs": { + } + }, + "BatchGetAttachedFileMetadataResponse": { + "base": null, + "refs": { + } + }, "BatchGetFlowAssociationRequest": { "base": null, "refs": { @@ -1147,6 +1204,7 @@ "MonitorContactRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "ReleasePhoneNumberRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "ReplicateInstanceRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", + "StartAttachedFileUploadRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "StartChatContactRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "StartContactEvaluationRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "StartContactStreamingRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", @@ -1179,6 +1237,16 @@ "Threshold$Comparison": "

The type of comparison. Only \"less than\" (LT) comparisons are supported.

" } }, + "CompleteAttachedFileUploadRequest": { + "base": "Request to CompleteAttachedFileUpload API", + "refs": { + } + }, + "CompleteAttachedFileUploadResponse": { + "base": "Response from CompleteAttachedFileUpload API", + "refs": { + } + }, "Concurrency": { "base": null, "refs": { @@ -1824,6 +1892,15 @@ "refs": { } }, + "CreatedByInfo": { + "base": "

Information on the identity that created the file.

", + "refs": { + "AttachedFile$CreatedBy": "

Represents the identity that created the file.

", + "GetAttachedFileResponse$CreatedBy": "

Represents the identity that created the file.

", + "StartAttachedFileUploadRequest$CreatedBy": "

Represents the identity that created the file.

", + "StartAttachedFileUploadResponse$CreatedBy": "

Represents the identity that created the file.

" + } + }, "Credentials": { "base": "

Contains credentials to use for federation.

", "refs": { @@ -1946,6 +2023,16 @@ "RoutingProfileQueueConfigSummary$Delay": "

The delay, in seconds, that a contact should be in the queue before they are routed to an available agent. For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide.

" } }, + "DeleteAttachedFileRequest": { + "base": "Request to DeleteAttachedFile API", + "refs": { + } + }, + "DeleteAttachedFileResponse": { + "base": "Response from DeleteAttachedFile API", + "refs": { + } + }, "DeleteContactEvaluationRequest": { "base": null, "refs": { @@ -2541,6 +2628,12 @@ "FieldValueUnion$DoubleValue": "

a Double number value type.

" } }, + "DownloadUrlMetadata": { + "base": "

Metadata used to download the attached file.

", + "refs": { + "GetAttachedFileResponse$DownloadUrlMetadata": "

URL and expiry to be used when downloading the attached file.

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

A resource with the specified name already exists.

", "refs": { @@ -2603,6 +2696,18 @@ "Endpoint$Type": "

Type of the endpoint.

" } }, + "ErrorCode": { + "base": null, + "refs": { + "AttachedFileError$ErrorCode": "

Status code describing the failure.

" + } + }, + "ErrorMessage": { + "base": null, + "refs": { + "AttachedFileError$ErrorMessage": "

Why the attached file couldn't be retrieved.

" + } + }, "ErrorResult": { "base": "

This API is in preview release for Amazon Connect and is subject to change.

List of errors for dataset association failures.

", "refs": { @@ -3043,6 +3148,57 @@ "UpdateCaseActionDefinition$Fields": "

An array of objects with Field ID and Value data.

" } }, + "FileId": { + "base": null, + "refs": { + "AttachedFile$FileId": "

The unique identifier of the attached file resource.

", + "AttachedFileError$FileId": "

The unique identifier of the attached file resource.

", + "CompleteAttachedFileUploadRequest$FileId": "

The unique identifier of the attached file resource.

", + "DeleteAttachedFileRequest$FileId": "

The unique identifier of the attached file resource.

", + "FileIdList$member": null, + "GetAttachedFileRequest$FileId": "

The unique identifier of the attached file resource.

", + "GetAttachedFileResponse$FileId": "

The unique identifier of the attached file resource.

", + "StartAttachedFileUploadResponse$FileId": "

The unique identifier of the attached file resource.

" + } + }, + "FileIdList": { + "base": null, + "refs": { + "BatchGetAttachedFileMetadataRequest$FileIds": "

The unique identifiers of the attached file resource.

" + } + }, + "FileName": { + "base": null, + "refs": { + "AttachedFile$FileName": "

A case-sensitive name of the attached file being uploaded.

", + "GetAttachedFileResponse$FileName": "

A case-sensitive name of the attached file being uploaded.

", + "StartAttachedFileUploadRequest$FileName": "

A case-sensitive name of the attached file being uploaded.

" + } + }, + "FileSizeInBytes": { + "base": null, + "refs": { + "AttachedFile$FileSizeInBytes": "

The size of the attached file in bytes.

", + "GetAttachedFileResponse$FileSizeInBytes": "

The size of the attached file in bytes.

", + "StartAttachedFileUploadRequest$FileSizeInBytes": "

The size of the attached file in bytes.

" + } + }, + "FileStatusType": { + "base": null, + "refs": { + "AttachedFile$FileStatus": "

The current status of the attached file.

", + "GetAttachedFileResponse$FileStatus": "

The current status of the attached file.

", + "StartAttachedFileUploadResponse$FileStatus": "

The current status of the attached file.

" + } + }, + "FileUseCaseType": { + "base": null, + "refs": { + "AttachedFile$FileUseCaseType": "

The use case for the file.

", + "GetAttachedFileResponse$FileUseCaseType": "

The use case for the file.

", + "StartAttachedFileUploadRequest$FileUseCaseType": "

The use case for the file.

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

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

", "refs": { @@ -3104,6 +3260,16 @@ "ListLambdaFunctionsResponse$LambdaFunctions": "

The Lambdafunction ARNs associated with the specified instance.

" } }, + "GetAttachedFileRequest": { + "base": "Request to GetAttachedFile API.", + "refs": { + } + }, + "GetAttachedFileResponse": { + "base": "Response from GetAttachedFile API.", + "refs": { + } + }, "GetContactAttributesRequest": { "base": null, "refs": { @@ -3546,7 +3712,12 @@ "ISO8601Datetime": { "base": null, "refs": { - "ParticipantTokenCredentials$Expiry": "

The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

" + "AttachedFile$CreationTime": "

The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2024-05-03T02:41:28.172Z.

", + "DownloadUrlMetadata$UrlExpiry": "

The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

", + "GetAttachedFileResponse$CreationTime": "

The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2024-05-03T02:41:28.172Z.

", + "ParticipantTokenCredentials$Expiry": "

The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

", + "StartAttachedFileUploadResponse$CreationTime": "

The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2024-05-03T02:41:28.172Z.

", + "UploadUrlMetadata$UrlExpiry": "

The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

" } }, "IdempotencyException": { @@ -3626,10 +3797,12 @@ "AssociateUserProficienciesRequest$InstanceId": "

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

", "BatchAssociateAnalyticsDataSetRequest$InstanceId": "

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

", "BatchDisassociateAnalyticsDataSetRequest$InstanceId": "

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

", + "BatchGetAttachedFileMetadataRequest$InstanceId": "

The unique identifier of the Connect instance.

", "BatchGetFlowAssociationRequest$InstanceId": "

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

", "BatchPutContactRequest$InstanceId": "

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

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

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

", + "CompleteAttachedFileUploadRequest$InstanceId": "

The unique identifier of the Connect instance.

", "CreateAgentStatusRequest$InstanceId": "

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

", "CreateContactFlowModuleRequest$InstanceId": "

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

", "CreateContactFlowRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", @@ -3653,6 +3826,7 @@ "CreateVocabularyRequest$InstanceId": "

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

", "DeactivateEvaluationFormRequest$InstanceId": "

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

", "DefaultVocabulary$InstanceId": "

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

", + "DeleteAttachedFileRequest$InstanceId": "

The unique identifier of the Connect instance.

", "DeleteContactEvaluationRequest$InstanceId": "

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

", "DeleteContactFlowModuleRequest$InstanceId": "

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

", "DeleteContactFlowRequest$InstanceId": "

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

", @@ -3707,6 +3881,7 @@ "DisassociateTrafficDistributionGroupUserRequest$InstanceId": "

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

", "DisassociateUserProficienciesRequest$InstanceId": "

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

", "DismissUserContactRequest$InstanceId": "

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

", + "GetAttachedFileRequest$InstanceId": "

The unique identifier of the Connect instance.

", "GetContactAttributesRequest$InstanceId": "

The identifier of the Amazon Connect instance.

", "GetCurrentMetricDataRequest$InstanceId": "

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

", "GetCurrentUserDataRequest$InstanceId": "

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

", @@ -3779,6 +3954,7 @@ "SearchVocabulariesRequest$InstanceId": "

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

", "SecurityProfile$OrganizationResourceId": "

The organization resource identifier for the security profile.

", "SecurityProfileSearchSummary$OrganizationResourceId": "

The organization resource identifier.

", + "StartAttachedFileUploadRequest$InstanceId": "

The unique identifier of the Connect instance.

", "StartChatContactRequest$InstanceId": "

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

", "StartContactEvaluationRequest$InstanceId": "

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

", "StartContactRecordingRequest$InstanceId": "

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

", @@ -3983,6 +4159,12 @@ "refs": { } }, + "InvalidRequestExceptionReason": { + "base": "

Reason why the request was invalid.

", + "refs": { + "InvalidRequestException$Reason": null + } + }, "InvisibleFieldInfo": { "base": "

A field that is invisible to an agent.

", "refs": { @@ -4745,6 +4927,13 @@ "UserNotFoundException$Message": null } }, + "MetadataUrl": { + "base": null, + "refs": { + "DownloadUrlMetadata$Url": "

A pre-signed URL that should be used to download the attached file.

", + "UploadUrlMetadata$Url": "

A pre-signed S3 URL that should be used for uploading the attached file.

" + } + }, "MetricDataCollectionsV2": { "base": null, "refs": { @@ -4809,7 +4998,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

UI name: Abandonment rate

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

UI name: Adherent time

AGENT_ANSWER_RATE

Unit: Percent

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

UI name: Agent answer rate

AGENT_NON_ADHERENT_TIME

Unit: Seconds

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

UI name: Non-adherent time

AGENT_NON_RESPONSE

Unit: Count

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

UI name: Agent non-response

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.

UI name: Agent non-response without customer abandons

AGENT_OCCUPANCY

Unit: Percentage

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

UI name: Occupancy

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

UI name: Adherence

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

UI name: Scheduled time

AVG_ABANDON_TIME

Unit: Seconds

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

UI name: Average queue abandon time

AVG_ACTIVE_TIME

Unit: Seconds

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

UI name: Average active time

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

UI name: Average after contact work time

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

UI name: Average agent API connecting time

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

UI name: Average agent pause time

AVG_CASE_RELATED_CONTACTS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Average contacts per case

AVG_CASE_RESOLUTION_TIME

Unit: Seconds

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Average case resolution time

AVG_CONTACT_DURATION

Unit: Seconds

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

UI name: Average contact duration

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

UI name: Average conversation duration

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

UI name: Average greeting time agent

AVG_HANDLE_TIME

Unit: Seconds

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

UI name: Average handle time

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

UI name: Average customer hold time

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

UI name: Average customer hold time all contacts

AVG_HOLDS

Unit: Count

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

UI name: Average holds

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

UI name: Average agent interaction and customer hold time

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

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

UI name: Average agent interaction time

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

UI name: Average interruptions agent

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

UI name: Average interruption time agent

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

UI name: Average non-talk time

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

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

UI name: Average queue answer time

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

UI name: Average resolution time

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

UI name: Average talk time

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

UI name: Average talk time agent

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

UI name: Average talk time customer

CASES_CREATED

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases created

CONTACTS_ABANDONED

Unit: Count

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

UI name: Contact abandoned

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

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

UI name: Contacts created

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, RoutingStepExpression

UI name: API contacts handled

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT

Unit: Count

Valid metric filter key: INITIATION_METHOD

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

UI name: Contacts handled by Connected to agent

CONTACTS_HOLD_ABANDONS

Unit: Count

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

UI name: Contacts hold disconnect

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

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

UI name: Contacts hold agent disconnect

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

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

UI name: Contacts hold customer disconnect

CONTACTS_PUT_ON_HOLD

Unit: Count

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

UI name: Contacts put on hold

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

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

UI name: Contacts transferred out external

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

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

UI name: Contacts transferred out internal

CONTACTS_QUEUED

Unit: Count

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

UI name: Contacts queued

CONTACTS_QUEUED_BY_ENQUEUE

Unit: Count

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

UI name: Contacts queued by Enqueue

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\").

UI name: Contacts resolved in X

CONTACTS_TRANSFERRED_OUT

Unit: Count

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

UI name: Contacts transferred out

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

UI name: Contacts transferred out by agent

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

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

UI name: Contacts transferred out queue

CURRENT_CASES

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Current cases

MAX_QUEUED_TIME

Unit: Seconds

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

UI name: Maximum queued time

PERCENT_CASES_FIRST_CONTACT_RESOLVED

Unit: Percent

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases resolved on first contact

PERCENT_CONTACTS_STEP_EXPIRED

Unit: Percent

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

PERCENT_CONTACTS_STEP_JOINED

Unit: Percent

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

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

UI name: Non-talk time percent

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

UI name: Talk time percent

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

UI name: Talk time agent percent

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

UI name: Talk time customer percent

REOPENED_CASE_ACTIONS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases reopened

RESOLVED_CASE_ACTIONS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases resolved

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\").

UI name: Service level X

STEP_CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

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

UI name: After contact work time

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

UI name: Agent API connecting time

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

UI name: Contact flow time

SUM_CONTACT_TIME_AGENT

Unit: Seconds

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

UI name: Agent on contact time

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\").

UI name: Contacts answered in X seconds

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\").

UI name: Contacts abandoned in X seconds

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

UI name: Contact disconnected

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

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

UI name: Error status time

SUM_HANDLE_TIME

Unit: Seconds

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

UI name: Contact handle time

SUM_HOLD_TIME

Unit: Count

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

UI name: Customer hold time

SUM_IDLE_TIME_AGENT

Unit: Seconds

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

UI name: Agent idle time

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

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

UI name: Agent interaction and hold time

SUM_INTERACTION_TIME

Unit: Seconds

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

UI name: Agent interaction time

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

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

UI name: Non-Productive Time

SUM_ONLINE_TIME_AGENT

Unit: Seconds

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

UI name: Online time

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

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

UI name: Callback attempts

" + "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

UI name: Abandonment rate

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

UI name: Adherent time

AGENT_ANSWER_RATE

Unit: Percent

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

UI name: Agent answer rate

AGENT_NON_ADHERENT_TIME

Unit: Seconds

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

UI name: Non-adherent time

AGENT_NON_RESPONSE

Unit: Count

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

UI name: Agent non-response

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.

UI name: Agent non-response without customer abandons

AGENT_OCCUPANCY

Unit: Percentage

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

UI name: Occupancy

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

UI name: Adherence

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

UI name: Scheduled time

AVG_ABANDON_TIME

Unit: Seconds

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

UI name: Average queue abandon time

AVG_ACTIVE_TIME

Unit: Seconds

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

UI name: Average active time

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

UI name: Average after contact work time

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

UI name: Average agent API connecting time

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

UI name: Average agent pause time

AVG_CASE_RELATED_CONTACTS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Average contacts per case

AVG_CASE_RESOLUTION_TIME

Unit: Seconds

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Average case resolution time

AVG_CONTACT_DURATION

Unit: Seconds

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

UI name: Average contact duration

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

UI name: Average conversation duration

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

UI name: Average agent greeting time

AVG_HANDLE_TIME

Unit: Seconds

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

UI name: Average handle time

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

UI name: Average customer hold time

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

UI name: Average customer hold time all contacts

AVG_HOLDS

Unit: Count

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

UI name: Average holds

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

UI name: Average agent interaction and customer hold time

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

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

UI name: Average agent interaction time

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

UI name: Average agent interruptions

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

UI name: Average agent interruption time

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

UI name: Average non-talk time

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

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

UI name: Average queue answer time

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

UI name: Average resolution time

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

UI name: Average talk time

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

UI name: Average agent talk time

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

UI name: Average customer talk time

CASES_CREATED

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases created

CONTACTS_ABANDONED

Unit: Count

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

UI name: Contact abandoned

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

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

UI name: Contacts created

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, RoutingStepExpression

UI name: API contacts handled

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT

Unit: Count

Valid metric filter key: INITIATION_METHOD

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

UI name: Contacts handled (connected to agent timestamp)

CONTACTS_HOLD_ABANDONS

Unit: Count

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

UI name: Contacts hold disconnect

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

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

UI name: Contacts hold agent disconnect

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

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

UI name: Contacts hold customer disconnect

CONTACTS_PUT_ON_HOLD

Unit: Count

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

UI name: Contacts put on hold

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

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

UI name: Contacts transferred out external

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

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

UI name: Contacts transferred out internal

CONTACTS_QUEUED

Unit: Count

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

UI name: Contacts queued

CONTACTS_QUEUED_BY_ENQUEUE

Unit: Count

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

UI name: Contacts queued (enqueue timestamp)

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\").

UI name: Contacts resolved in X

CONTACTS_TRANSFERRED_OUT

Unit: Count

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

UI name: Contacts transferred out

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

UI name: Contacts transferred out by agent

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

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

UI name: Contacts transferred out queue

CURRENT_CASES

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Current cases

MAX_QUEUED_TIME

Unit: Seconds

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

UI name: Maximum queued time

PERCENT_CASES_FIRST_CONTACT_RESOLVED

Unit: Percent

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases resolved on first contact

PERCENT_CONTACTS_STEP_EXPIRED

Unit: Percent

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

PERCENT_CONTACTS_STEP_JOINED

Unit: Percent

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

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

UI name: Non-talk time percent

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

UI name: Talk time percent

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

UI name: Agent talk time percent

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

UI name: Customer talk time percent

REOPENED_CASE_ACTIONS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases reopened

RESOLVED_CASE_ACTIONS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases resolved

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\").

UI name: Service level X

STEP_CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

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

UI name: After contact work time

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

UI name: Agent API connecting time

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

UI name: Contact flow time

SUM_CONTACT_TIME_AGENT

Unit: Seconds

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

UI name: Agent on contact time

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\").

UI name: Contacts answered in X seconds

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\").

UI name: Contacts abandoned in X seconds

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

UI name: Contact disconnected

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

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

UI name: Error status time

SUM_HANDLE_TIME

Unit: Seconds

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

UI name: Contact handle time

SUM_HOLD_TIME

Unit: Count

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

UI name: Customer hold time

SUM_IDLE_TIME_AGENT

Unit: Seconds

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

UI name: Agent idle time

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

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

UI name: Agent interaction and hold time

SUM_INTERACTION_TIME

Unit: Seconds

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

UI name: Agent interaction time

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

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

UI name: Non-Productive Time

SUM_ONLINE_TIME_AGENT

Unit: Seconds

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

UI name: Online time

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

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

UI name: Callback attempts

" } }, "MinutesLimit60": { @@ -7015,6 +7204,16 @@ "IntegrationAssociationSummary$SourceType": "

The name of the source.

" } }, + "StartAttachedFileUploadRequest": { + "base": null, + "refs": { + } + }, + "StartAttachedFileUploadResponse": { + "base": "Response from StartAttachedFileUpload API.", + "refs": { + } + }, "StartChatContactRequest": { "base": null, "refs": { @@ -7297,6 +7496,7 @@ "base": null, "refs": { "AgentStatus$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", + "AttachedFile$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "ClaimPhoneNumberRequest$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "ClaimedPhoneNumberSummary$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "ContactFlow$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", @@ -7320,6 +7520,7 @@ "CreateVocabularyRequest$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "Evaluation$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "EvaluationForm$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", + "GetAttachedFileResponse$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "GetTaskTemplateResponse$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "HierarchyGroup$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "HoursOfOperation$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", @@ -7333,6 +7534,7 @@ "Rule$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "SecurityProfile$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "SecurityProfileSearchSummary$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", + "StartAttachedFileUploadRequest$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "TagResourceRequest$tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "TrafficDistributionGroup$Tags": "

The tags used to organize, track, or control access for this resource. For example, { \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }.

", "User$Tags": "

The tags.

", @@ -7821,6 +8023,13 @@ "MediaPlacement$EventIngestionUrl": "

The event ingestion URL to which you send client meeting events.

" } }, + "URLExpiryInSeconds": { + "base": null, + "refs": { + "GetAttachedFileRequest$UrlExpiryInSeconds": "

Optional override for the expiry of the pre-signed S3 URL in seconds.

", + "StartAttachedFileUploadRequest$UrlExpiryInSeconds": "

Optional override for the expiry of the pre-signed S3 URL in seconds.

" + } + }, "Unit": { "base": null, "refs": { @@ -8193,6 +8402,12 @@ "refs": { } }, + "UploadUrlMetadata": { + "base": "

Fields required when uploading an attached file.

", + "refs": { + "StartAttachedFileUploadResponse$UploadUrlMetadata": "

Information to be used while uploading the attached file.

" + } + }, "Url": { "base": null, "refs": { @@ -8201,6 +8416,24 @@ "InstanceSummary$InstanceAccessUrl": "

This URL allows contact center users to access the Amazon Connect admin website.

" } }, + "UrlMetadataSignedHeaders": { + "base": null, + "refs": { + "UploadUrlMetadata$HeadersToInclude": "

A map of headers that should be provided when uploading the attached file.

" + } + }, + "UrlMetadataSignedHeadersKey": { + "base": null, + "refs": { + "UrlMetadataSignedHeaders$key": null + } + }, + "UrlMetadataSignedHeadersValue": { + "base": null, + "refs": { + "UrlMetadataSignedHeaders$value": null + } + }, "UrlReference": { "base": "

The URL reference.

", "refs": { diff --git a/models/apis/connectcases/2022-10-03/api-2.json b/models/apis/connectcases/2022-10-03/api-2.json index 44bbd039134..a6a4e561360 100644 --- a/models/apis/connectcases/2022-10-03/api-2.json +++ b/models/apis/connectcases/2022-10-03/api-2.json @@ -1486,6 +1486,24 @@ "max":1500, "min":0 }, + "FileArn":{ + "type":"string", + "max":500, + "min":1 + }, + "FileContent":{ + "type":"structure", + "required":["fileArn"], + "members":{ + "fileArn":{"shape":"FileArn"} + } + }, + "FileFilter":{ + "type":"structure", + "members":{ + "fileArn":{"shape":"FileArn"} + } + }, "GetCaseAuditEventsRequest":{ "type":"structure", "required":[ @@ -2079,7 +2097,8 @@ "type":"structure", "members":{ "comment":{"shape":"CommentContent"}, - "contact":{"shape":"ContactContent"} + "contact":{"shape":"ContactContent"}, + "file":{"shape":"FileContent"} }, "union":true }, @@ -2099,7 +2118,8 @@ "type":"structure", "members":{ "comment":{"shape":"CommentContent"}, - "contact":{"shape":"Contact"} + "contact":{"shape":"Contact"}, + "file":{"shape":"FileContent"} }, "union":true }, @@ -2107,14 +2127,16 @@ "type":"string", "enum":[ "Contact", - "Comment" + "Comment", + "File" ] }, "RelatedItemTypeFilter":{ "type":"structure", "members":{ "comment":{"shape":"CommentFilter"}, - "contact":{"shape":"ContactFilter"} + "contact":{"shape":"ContactFilter"}, + "file":{"shape":"FileFilter"} }, "union":true }, diff --git a/models/apis/connectcases/2022-10-03/docs-2.json b/models/apis/connectcases/2022-10-03/docs-2.json index 694e368e39c..a5fdd6557f2 100644 --- a/models/apis/connectcases/2022-10-03/docs-2.json +++ b/models/apis/connectcases/2022-10-03/docs-2.json @@ -394,9 +394,9 @@ "base": null, "refs": { "GetDomainResponse$createdTime": "

The timestamp when the Cases domain was created.

", - "GetFieldResponse$createdTime": "

The timestamp for when the resource was created.

", - "GetLayoutResponse$createdTime": "

The timestamp for when the resource was created.

", - "GetTemplateResponse$createdTime": "

The timestamp for when the resource was created.

" + "GetFieldResponse$createdTime": "

Timestamp at which the resource was created.

", + "GetLayoutResponse$createdTime": "

Timestamp at which the resource was created.

", + "GetTemplateResponse$createdTime": "

Timestamp at which the resource was created.

" } }, "DeleteDomainRequest": { @@ -442,9 +442,9 @@ "Deleted": { "base": null, "refs": { - "GetFieldResponse$deleted": "

Indicates whether the resource has been deleted.

", - "GetLayoutResponse$deleted": "

Indicates whether the resource has been deleted.

", - "GetTemplateResponse$deleted": "

Indicates whether the resource has been deleted.

" + "GetFieldResponse$deleted": "

Denotes whether or not the resource has been deleted.

", + "GetLayoutResponse$deleted": "

Denotes whether or not the resource has been deleted.

", + "GetTemplateResponse$deleted": "

Denotes whether or not the resource has been deleted.

" } }, "DomainArn": { @@ -467,9 +467,9 @@ "CreateRelatedItemRequest$domainId": "

The unique identifier of the Cases domain.

", "CreateTemplateRequest$domainId": "

The unique identifier of the Cases domain.

", "DeleteDomainRequest$domainId": "

The unique identifier of the Cases domain.

", - "DeleteFieldRequest$domainId": "

The unique identifier of the Cases domain.

", - "DeleteLayoutRequest$domainId": "

The unique identifier of the Cases domain.

", - "DeleteTemplateRequest$domainId": "

The unique identifier of the Cases domain.

", + "DeleteFieldRequest$domainId": "

The unique identifier of the Cases domain.

", + "DeleteLayoutRequest$domainId": "

The unique identifier of the Cases domain.

", + "DeleteTemplateRequest$domainId": "

The unique identifier of the Cases domain.

", "DomainSummary$domainId": "

The unique identifier of the domain.

", "GetCaseAuditEventsRequest$domainId": "

The unique identifier of the Cases domain.

", "GetCaseEventConfigurationRequest$domainId": "

The unique identifier of the Cases domain.

", @@ -597,7 +597,7 @@ "refs": { "BatchPutFieldOptionsRequest$fieldId": "

The unique identifier of a field.

", "CreateFieldResponse$fieldId": "

The unique identifier of a field.

", - "DeleteFieldRequest$fieldId": "

The unique identifier of a field.

", + "DeleteFieldRequest$fieldId": "

Unique identifier of the field.

", "FieldError$id": "

The field identifier that caused the error.

", "FieldIdentifier$id": "

Unique identifier of a field.

", "FieldItem$id": "

Unique identifier of a field.

", @@ -714,6 +714,26 @@ "FieldValueUnion$stringValue": "

String value type.

" } }, + "FileArn": { + "base": null, + "refs": { + "FileContent$fileArn": "

The Amazon Resource Name (ARN) of a File in Amazon Connect.

", + "FileFilter$fileArn": "

The Amazon Resource Name (ARN) of the file.

" + } + }, + "FileContent": { + "base": "

An object that represents a content of an Amazon Connect file object.

", + "refs": { + "RelatedItemContent$file": "

Represents the content of a File to be returned to agents.

", + "RelatedItemInputContent$file": "

A file of related items.

" + } + }, + "FileFilter": { + "base": "

A filter for related items of type File.

", + "refs": { + "RelatedItemTypeFilter$file": "

A filter for related items of this type of File.

" + } + }, "GetCaseAuditEventsRequest": { "base": null, "refs": { @@ -824,9 +844,9 @@ "LastModifiedTime": { "base": null, "refs": { - "GetFieldResponse$lastModifiedTime": "

The timestamp for when the resource was created or last modified.

", - "GetLayoutResponse$lastModifiedTime": "

The timestamp for when the resource was created or last modified.

", - "GetTemplateResponse$lastModifiedTime": "

The timestamp for when the resource was created or last modified.

" + "GetFieldResponse$lastModifiedTime": "

Timestamp at which the resource was created or last modified.

", + "GetLayoutResponse$lastModifiedTime": "

Timestamp at which the resource was created or last modified.

", + "GetTemplateResponse$lastModifiedTime": "

Timestamp at which the resource was created or last modified.

" } }, "LayoutArn": { diff --git a/models/apis/datasync/2018-11-09/api-2.json b/models/apis/datasync/2018-11-09/api-2.json index e7041dc989f..398a7280e71 100644 --- a/models/apis/datasync/2018-11-09/api-2.json +++ b/models/apis/datasync/2018-11-09/api-2.json @@ -5,6 +5,7 @@ "endpointPrefix":"datasync", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"DataSync", "serviceFullName":"AWS DataSync", "serviceId":"DataSync", diff --git a/models/apis/datasync/2018-11-09/docs-2.json b/models/apis/datasync/2018-11-09/docs-2.json index aefa23eb2f8..83b07b5750e 100644 --- a/models/apis/datasync/2018-11-09/docs-2.json +++ b/models/apis/datasync/2018-11-09/docs-2.json @@ -57,7 +57,7 @@ "UpdateLocationAzureBlob": "

Modifies some configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.

", "UpdateLocationHdfs": "

Updates some parameters of a previously created location for a Hadoop Distributed File System cluster.

", "UpdateLocationNfs": "

Modifies some configurations of the Network File System (NFS) transfer location that you're using with DataSync.

For more information, see Configuring transfers to or from an NFS file server.

", - "UpdateLocationObjectStorage": "

Updates some parameters of an existing object storage location that DataSync accesses for a transfer. For information about creating a self-managed object storage location, see Creating a location for object storage.

", + "UpdateLocationObjectStorage": "

Updates some parameters of an existing DataSync location for an object storage system.

", "UpdateLocationSmb": "

Updates some of the parameters of a Server Message Block (SMB) file server location that you can use for DataSync transfers.

", "UpdateStorageSystem": "

Modifies some configurations of an on-premises storage system resource that you're using with DataSync Discovery.

", "UpdateTask": "

Updates the configuration of a task, which defines where and how DataSync transfers your data.

", @@ -1465,9 +1465,9 @@ "ObjectStorageCertificate": { "base": null, "refs": { - "CreateLocationObjectStorageRequest$ServerCertificate": "

Specifies a file with the certificates that are used to sign the object storage server's certificate (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The file you specify must include the following:

The file can be up to 32768 bytes (before base64 encoding).

To use this parameter, configure ServerProtocol to HTTPS.

", - "DescribeLocationObjectStorageResponse$ServerCertificate": "

The self-signed certificate that DataSync uses to securely authenticate with your object storage system.

", - "UpdateLocationObjectStorageRequest$ServerCertificate": "

Specifies a certificate to authenticate with an object storage system that uses a private or self-signed certificate authority (CA). You must specify a Base64-encoded .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). The certificate can be up to 32768 bytes (before Base64 encoding).

To use this parameter, configure ServerProtocol to HTTPS.

Updating the certificate doesn't interfere with tasks that you have in progress.

" + "CreateLocationObjectStorageRequest$ServerCertificate": "

Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA). You must specify a single .pem file with a full certificate chain (for example, file:///home/user/.ssh/object_storage_certificates.pem).

The certificate chain might include:

You can concatenate your certificates into a .pem file (which can be up to 32768 bytes before base64 encoding). The following example cat command creates an object_storage_certificates.pem file that includes three certificates:

cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem

To use this parameter, configure ServerProtocol to HTTPS.

", + "DescribeLocationObjectStorageResponse$ServerCertificate": "

The certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).

", + "UpdateLocationObjectStorageRequest$ServerCertificate": "

Specifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA). You must specify a single .pem file with a full certificate chain (for example, file:///home/user/.ssh/object_storage_certificates.pem).

The certificate chain might include:

You can concatenate your certificates into a .pem file (which can be up to 32768 bytes before base64 encoding). The following example cat command creates an object_storage_certificates.pem file that includes three certificates:

cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem > object_storage_certificates.pem

To use this parameter, configure ServerProtocol to HTTPS.

Updating this parameter doesn't interfere with tasks that you have in progress.

" } }, "ObjectStorageSecretKey": { @@ -1839,7 +1839,7 @@ "ScheduleStatus": { "base": null, "refs": { - "TaskSchedule$Status": "

Specifies whether to enable or disable your task schedule. Your schedule is enabled by default, but there can be situations where you need to disable it. For example, you might need to pause a recurring transfer or fix an issue with your task or perform maintenance on your storage system.

DataSync might disable your schedule automatically if your task fails repeatedly with the same error. For more information, see TaskScheduleDetails.

" + "TaskSchedule$Status": "

Specifies whether to enable or disable your task schedule. Your schedule is enabled by default, but there can be situations where you need to disable it. For example, you might need to pause a recurring transfer to fix an issue with your task or perform maintenance on your storage system.

DataSync might disable your schedule automatically if your task fails repeatedly with the same error. For more information, see TaskScheduleDetails.

" } }, "SecretsManagerArn": { diff --git a/models/apis/inspector2/2020-06-08/api-2.json b/models/apis/inspector2/2020-06-08/api-2.json index 02b7d4ff79b..08661ec230c 100644 --- a/models/apis/inspector2/2020-06-08/api-2.json +++ b/models/apis/inspector2/2020-06-08/api-2.json @@ -380,6 +380,7 @@ {"shape":"ValidationException"}, {"shape":"AccessDeniedException"}, {"shape":"ThrottlingException"}, + {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"} ] }, @@ -1580,6 +1581,13 @@ "type":"string", "pattern":"^\\d{12}|o-[a-z0-9]{10,32}$" }, + "CisReportFormat":{ + "type":"string", + "enum":[ + "PDF", + "CSV" + ] + }, "CisReportStatus":{ "type":"string", "enum":[ @@ -3335,6 +3343,7 @@ "type":"structure", "required":["scanArn"], "members":{ + "reportFormat":{"shape":"CisReportFormat"}, "scanArn":{"shape":"CisScanArn"}, "targetAccounts":{"shape":"ReportTargetAccounts"} } diff --git a/models/apis/inspector2/2020-06-08/docs-2.json b/models/apis/inspector2/2020-06-08/docs-2.json index 71c40409010..f7a6d0da7b0 100644 --- a/models/apis/inspector2/2020-06-08/docs-2.json +++ b/models/apis/inspector2/2020-06-08/docs-2.json @@ -547,6 +547,12 @@ "CisScanConfiguration$ownerId": "

The CIS scan configuration's owner ID.

" } }, + "CisReportFormat": { + "base": null, + "refs": { + "GetCisScanReportRequest$reportFormat": "

The format of the report. Valid values are PDF and CSV. If no value is specified, the report format defaults to PDF.

" + } + }, "CisReportStatus": { "base": null, "refs": { @@ -3446,7 +3452,7 @@ "Ec2InstanceAggregationResponse$operatingSystem": "

The operating system of the Amazon EC2 instance.

", "EcrRepositoryMetadata$name": "

The name of the Amazon ECR repository.

", "FreeTrialInfoError$message": "

The error message returned.

", - "GetCisScanReportResponse$url": "

The URL where a PDF of the CIS scan report can be downloaded.

", + "GetCisScanReportResponse$url": "

The URL where a PDF or CSV of the CIS scan report can be downloaded.

", "InternalServerException$message": null, "LambdaFunctionAggregationResponse$functionName": "

The Amazon Web Services Lambda function names included in the aggregation results.

", "LambdaFunctionAggregationResponse$runtime": "

The runtimes included in the aggregation results.

", diff --git a/models/apis/sagemaker/2017-07-24/api-2.json b/models/apis/sagemaker/2017-07-24/api-2.json index d7d2fb9f62e..e7b1ec696bb 100644 --- a/models/apis/sagemaker/2017-07-24/api-2.json +++ b/models/apis/sagemaker/2017-07-24/api-2.json @@ -21821,12 +21821,74 @@ "ml.m5.4xlarge", "ml.m5.12xlarge", "ml.m5.24xlarge", + "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.large", + "ml.c6i.xlarge", + "ml.c6i.2xlarge", + "ml.c6i.4xlarge", + "ml.c6i.8xlarge", + "ml.c6i.12xlarge", + "ml.c6i.16xlarge", + "ml.c6i.24xlarge", + "ml.c6i.32xlarge", + "ml.r6i.large", + "ml.r6i.xlarge", + "ml.r6i.2xlarge", + "ml.r6i.4xlarge", + "ml.r6i.8xlarge", + "ml.r6i.12xlarge", + "ml.r6i.16xlarge", + "ml.r6i.24xlarge", + "ml.r6i.32xlarge", + "ml.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", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", - "ml.g4dn.16xlarge" + "ml.g4dn.16xlarge", + "ml.g5.xlarge", + "ml.g5.2xlarge", + "ml.g5.4xlarge", + "ml.g5.8xlarge", + "ml.g5.12xlarge", + "ml.g5.16xlarge", + "ml.g5.24xlarge", + "ml.g5.48xlarge" ] }, "TransformInstanceTypes":{ diff --git a/models/apis/sagemaker/2017-07-24/docs-2.json b/models/apis/sagemaker/2017-07-24/docs-2.json index 6240ca51b4c..a37e51ffb89 100644 --- a/models/apis/sagemaker/2017-07-24/docs-2.json +++ b/models/apis/sagemaker/2017-07-24/docs-2.json @@ -13420,7 +13420,7 @@ } }, "SessionChainingConfig": { - "base": "

Contains information about attribute-based access control (ABAC) for a training job.

", + "base": "

Contains information about attribute-based access control (ABAC) for a training job. The session chaining configuration uses Amazon Security Token Service (STS) for your training job to request temporary, limited-privilege credentials to tenants. For more information, see Attribute-based access control (ABAC) for multi-tenancy training.

", "refs": { "CreateTrainingJobRequest$SessionChainingConfig": "

Contains information about attribute-based access control (ABAC) for the training job.

" } diff --git a/models/apis/sesv2/2019-09-27/api-2.json b/models/apis/sesv2/2019-09-27/api-2.json index e6418dcbede..4771f1f9b76 100644 --- a/models/apis/sesv2/2019-09-27/api-2.json +++ b/models/apis/sesv2/2019-09-27/api-2.json @@ -1494,7 +1494,8 @@ "members":{ "Destination":{"shape":"Destination"}, "ReplacementTags":{"shape":"MessageTagList"}, - "ReplacementEmailContent":{"shape":"ReplacementEmailContent"} + "ReplacementEmailContent":{"shape":"ReplacementEmailContent"}, + "ReplacementHeaders":{"shape":"MessageHeaderList"} } }, "BulkEmailEntryList":{ diff --git a/models/apis/sesv2/2019-09-27/docs-2.json b/models/apis/sesv2/2019-09-27/docs-2.json index 3607ad263ea..c2e6ae54cdf 100644 --- a/models/apis/sesv2/2019-09-27/docs-2.json +++ b/models/apis/sesv2/2019-09-27/docs-2.json @@ -2038,6 +2038,7 @@ "MessageHeaderList": { "base": "

A list of message headers. The list of message headers has to meet the following criteria:

", "refs": { + "BulkEmailEntry$ReplacementHeaders": "

The list of message headers associated with the BulkEmailEntry data type.

", "Message$Headers": "

The list of message headers that will be added to the email message.

", "Template$Headers": "

The list of message headers that will be added to the email message.

" } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 90b0b645fd6..18e52890cdc 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -8193,6 +8193,12 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { + "variants" : [ { + "hostname" : "fsx-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, @@ -8208,6 +8214,13 @@ "deprecated" : true, "hostname" : "fsx-fips.ca-central-1.amazonaws.com" }, + "fips-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "fsx-fips.ca-west-1.amazonaws.com" + }, "fips-prod-ca-central-1" : { "credentialScope" : { "region" : "ca-central-1" @@ -8215,6 +8228,13 @@ "deprecated" : true, "hostname" : "fsx-fips.ca-central-1.amazonaws.com" }, + "fips-prod-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "hostname" : "fsx-fips.ca-west-1.amazonaws.com" + }, "fips-prod-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -8284,6 +8304,16 @@ "tags" : [ "fips" ] } ] }, + "prod-ca-west-1" : { + "credentialScope" : { + "region" : "ca-west-1" + }, + "deprecated" : true, + "variants" : [ { + "hostname" : "fsx-fips.ca-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, "prod-us-east-1" : { "credentialScope" : { "region" : "us-east-1" @@ -17716,6 +17746,7 @@ "deprecated" : true, "hostname" : "snowball-fips.us-west-2.amazonaws.com" }, + "il-central-1" : { }, "me-central-1" : { }, "sa-east-1" : { "variants" : [ { @@ -19119,6 +19150,7 @@ "tags" : [ "fips" ] } ] }, + "ca-west-1" : { }, "eu-central-1" : { }, "eu-central-2" : { }, "eu-north-1" : { }, diff --git a/service/bedrockagent/api.go b/service/bedrockagent/api.go index f8b5d486fe1..2fee7ad96ac 100644 --- a/service/bedrockagent/api.go +++ b/service/bedrockagent/api.go @@ -4449,7 +4449,8 @@ func (s *AccessDeniedException) RequestID() string { } // Contains details about the Lambda function containing the business logic -// that is carried out upon invoking the action. +// that is carried out upon invoking the action or the custom control method +// for handling the information elicited from the user. type ActionGroupExecutor struct { _ struct{} `type:"structure"` @@ -4813,7 +4814,8 @@ type AgentActionGroup struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the Lambda function containing the business - // logic that is carried out upon invoking the action. + // logic that is carried out upon invoking the action or the custom control + // method for handling the information elicited from the user. ActionGroupExecutor *ActionGroupExecutor `locationName:"actionGroupExecutor" type:"structure"` // The unique identifier of the action group. @@ -5037,6 +5039,10 @@ type AgentAlias struct { // The description of the alias of the agent. Description *string `locationName:"description" min:"1" type:"string"` + // Information on the failure of Provisioned Throughput assigned to an agent + // alias. + FailureReasons []*string `locationName:"failureReasons" type:"list"` + // Contains details about the routing configuration of the alias. // // RoutingConfiguration is a required field @@ -5120,6 +5126,12 @@ func (s *AgentAlias) SetDescription(v string) *AgentAlias { return s } +// SetFailureReasons sets the FailureReasons field's value. +func (s *AgentAlias) SetFailureReasons(v []*string) *AgentAlias { + s.FailureReasons = v + return s +} + // SetRoutingConfiguration sets the RoutingConfiguration field's value. func (s *AgentAlias) SetRoutingConfiguration(v []*AgentAliasRoutingConfigurationListItem) *AgentAlias { s.RoutingConfiguration = v @@ -5189,9 +5201,10 @@ type AgentAliasRoutingConfigurationListItem struct { _ struct{} `type:"structure"` // The version of the agent with which the alias is associated. - // - // AgentVersion is a required field - AgentVersion *string `locationName:"agentVersion" min:"1" type:"string" required:"true"` + AgentVersion *string `locationName:"agentVersion" min:"1" type:"string"` + + // Information on the Provisioned Throughput assigned to an agent alias. + ProvisionedThroughput *string `locationName:"provisionedThroughput" min:"1" type:"string"` } // String returns the string representation. @@ -5215,12 +5228,12 @@ func (s AgentAliasRoutingConfigurationListItem) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *AgentAliasRoutingConfigurationListItem) Validate() error { invalidParams := request.ErrInvalidParams{Context: "AgentAliasRoutingConfigurationListItem"} - if s.AgentVersion == nil { - invalidParams.Add(request.NewErrParamRequired("AgentVersion")) - } if s.AgentVersion != nil && len(*s.AgentVersion) < 1 { invalidParams.Add(request.NewErrParamMinLen("AgentVersion", 1)) } + if s.ProvisionedThroughput != nil && len(*s.ProvisionedThroughput) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ProvisionedThroughput", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -5234,6 +5247,12 @@ func (s *AgentAliasRoutingConfigurationListItem) SetAgentVersion(v string) *Agen return s } +// SetProvisionedThroughput sets the ProvisionedThroughput field's value. +func (s *AgentAliasRoutingConfigurationListItem) SetProvisionedThroughput(v string) *AgentAliasRoutingConfigurationListItem { + s.ProvisionedThroughput = &v + return s +} + // Contains details about an alias of an agent. type AgentAliasSummary struct { _ struct{} `type:"structure"` @@ -6161,7 +6180,8 @@ type CreateAgentActionGroupInput struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the Lambda function containing the business - // logic that is carried out upon invoking the action. + // logic that is carried out upon invoking the action or the custom control + // method for handling the information elicited from the user. ActionGroupExecutor *ActionGroupExecutor `locationName:"actionGroupExecutor" type:"structure"` // The name to give the action group. @@ -14004,7 +14024,7 @@ func (s *UpdateAgentOutput) SetAgent(v *Agent) *UpdateAgentOutput { type UpdateDataSourceInput struct { _ struct{} `type:"structure"` - // The data deletion policy assigned to the data source. + // The data deletion policy of the updated data source. DataDeletionPolicy *string `locationName:"dataDeletionPolicy" type:"string" enum:"DataDeletionPolicy"` // Contains details about the storage configuration of the data source. diff --git a/service/connect/api.go b/service/connect/api.go index e5e31776fb0..6d79cf09285 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -1659,6 +1659,99 @@ func (c *Connect) BatchDisassociateAnalyticsDataSetWithContext(ctx aws.Context, return out, req.Send() } +const opBatchGetAttachedFileMetadata = "BatchGetAttachedFileMetadata" + +// BatchGetAttachedFileMetadataRequest generates a "aws/request.Request" representing the +// client's request for the BatchGetAttachedFileMetadata 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 BatchGetAttachedFileMetadata for more information on using the BatchGetAttachedFileMetadata +// 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 BatchGetAttachedFileMetadataRequest method. +// req, resp := client.BatchGetAttachedFileMetadataRequest(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/BatchGetAttachedFileMetadata +func (c *Connect) BatchGetAttachedFileMetadataRequest(input *BatchGetAttachedFileMetadataInput) (req *request.Request, output *BatchGetAttachedFileMetadataOutput) { + op := &request.Operation{ + Name: opBatchGetAttachedFileMetadata, + HTTPMethod: "POST", + HTTPPath: "/attached-files/{InstanceId}", + } + + if input == nil { + input = &BatchGetAttachedFileMetadataInput{} + } + + output = &BatchGetAttachedFileMetadataOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchGetAttachedFileMetadata API operation for Amazon Connect Service. +// +// Allows you to retrieve metadata about multiple attached files on an associated +// resource. Each attached file provided in the input list must be associated +// with the input AssociatedResourceArn. +// +// 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 BatchGetAttachedFileMetadata for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/BatchGetAttachedFileMetadata +func (c *Connect) BatchGetAttachedFileMetadata(input *BatchGetAttachedFileMetadataInput) (*BatchGetAttachedFileMetadataOutput, error) { + req, out := c.BatchGetAttachedFileMetadataRequest(input) + return out, req.Send() +} + +// BatchGetAttachedFileMetadataWithContext is the same as BatchGetAttachedFileMetadata with the addition of +// the ability to pass a context and additional request options. +// +// See BatchGetAttachedFileMetadata 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) BatchGetAttachedFileMetadataWithContext(ctx aws.Context, input *BatchGetAttachedFileMetadataInput, opts ...request.Option) (*BatchGetAttachedFileMetadataOutput, error) { + req, out := c.BatchGetAttachedFileMetadataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opBatchGetFlowAssociation = "BatchGetFlowAssociation" // BatchGetFlowAssociationRequest generates a "aws/request.Request" representing the @@ -1980,6 +2073,99 @@ func (c *Connect) ClaimPhoneNumberWithContext(ctx aws.Context, input *ClaimPhone return out, req.Send() } +const opCompleteAttachedFileUpload = "CompleteAttachedFileUpload" + +// CompleteAttachedFileUploadRequest generates a "aws/request.Request" representing the +// client's request for the CompleteAttachedFileUpload 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 CompleteAttachedFileUpload for more information on using the CompleteAttachedFileUpload +// 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 CompleteAttachedFileUploadRequest method. +// req, resp := client.CompleteAttachedFileUploadRequest(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/CompleteAttachedFileUpload +func (c *Connect) CompleteAttachedFileUploadRequest(input *CompleteAttachedFileUploadInput) (req *request.Request, output *CompleteAttachedFileUploadOutput) { + op := &request.Operation{ + Name: opCompleteAttachedFileUpload, + HTTPMethod: "POST", + HTTPPath: "/attached-files/{InstanceId}/{FileId}", + } + + if input == nil { + input = &CompleteAttachedFileUploadInput{} + } + + output = &CompleteAttachedFileUploadOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// CompleteAttachedFileUpload API operation for Amazon Connect Service. +// +// Allows you to confirm that the attached file has been uploaded using the +// pre-signed URL provided in the StartAttachedFileUpload API. +// +// 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 CompleteAttachedFileUpload for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CompleteAttachedFileUpload +func (c *Connect) CompleteAttachedFileUpload(input *CompleteAttachedFileUploadInput) (*CompleteAttachedFileUploadOutput, error) { + req, out := c.CompleteAttachedFileUploadRequest(input) + return out, req.Send() +} + +// CompleteAttachedFileUploadWithContext is the same as CompleteAttachedFileUpload with the addition of +// the ability to pass a context and additional request options. +// +// See CompleteAttachedFileUpload 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) CompleteAttachedFileUploadWithContext(ctx aws.Context, input *CompleteAttachedFileUploadInput, opts ...request.Option) (*CompleteAttachedFileUploadOutput, error) { + req, out := c.CompleteAttachedFileUploadRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateAgentStatus = "CreateAgentStatus" // CreateAgentStatusRequest generates a "aws/request.Request" representing the @@ -4479,6 +4665,100 @@ func (c *Connect) DeactivateEvaluationFormWithContext(ctx aws.Context, input *De return out, req.Send() } +const opDeleteAttachedFile = "DeleteAttachedFile" + +// DeleteAttachedFileRequest generates a "aws/request.Request" representing the +// client's request for the DeleteAttachedFile 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 DeleteAttachedFile for more information on using the DeleteAttachedFile +// 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 DeleteAttachedFileRequest method. +// req, resp := client.DeleteAttachedFileRequest(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/DeleteAttachedFile +func (c *Connect) DeleteAttachedFileRequest(input *DeleteAttachedFileInput) (req *request.Request, output *DeleteAttachedFileOutput) { + op := &request.Operation{ + Name: opDeleteAttachedFile, + HTTPMethod: "DELETE", + HTTPPath: "/attached-files/{InstanceId}/{FileId}", + } + + if input == nil { + input = &DeleteAttachedFileInput{} + } + + output = &DeleteAttachedFileOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteAttachedFile API operation for Amazon Connect Service. +// +// Deletes an attached file along with the underlying S3 Object. +// +// The attached file is permanently deleted if S3 bucket versioning is not enabled. +// +// 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 DeleteAttachedFile for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteAttachedFile +func (c *Connect) DeleteAttachedFile(input *DeleteAttachedFileInput) (*DeleteAttachedFileOutput, error) { + req, out := c.DeleteAttachedFileRequest(input) + return out, req.Send() +} + +// DeleteAttachedFileWithContext is the same as DeleteAttachedFile with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteAttachedFile 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) DeleteAttachedFileWithContext(ctx aws.Context, input *DeleteAttachedFileInput, opts ...request.Option) (*DeleteAttachedFileOutput, error) { + req, out := c.DeleteAttachedFileRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteContactEvaluation = "DeleteContactEvaluation" // DeleteContactEvaluationRequest generates a "aws/request.Request" representing the @@ -10139,6 +10419,99 @@ func (c *Connect) DismissUserContactWithContext(ctx aws.Context, input *DismissU return out, req.Send() } +const opGetAttachedFile = "GetAttachedFile" + +// GetAttachedFileRequest generates a "aws/request.Request" representing the +// client's request for the GetAttachedFile 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 GetAttachedFile for more information on using the GetAttachedFile +// 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 GetAttachedFileRequest method. +// req, resp := client.GetAttachedFileRequest(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/GetAttachedFile +func (c *Connect) GetAttachedFileRequest(input *GetAttachedFileInput) (req *request.Request, output *GetAttachedFileOutput) { + op := &request.Operation{ + Name: opGetAttachedFile, + HTTPMethod: "GET", + HTTPPath: "/attached-files/{InstanceId}/{FileId}", + } + + if input == nil { + input = &GetAttachedFileInput{} + } + + output = &GetAttachedFileOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAttachedFile API operation for Amazon Connect Service. +// +// Provides a pre-signed URL for download of an approved attached file. This +// API also returns metadata about the attached file. It will only return a +// downloadURL if the status of the attached file is APPROVED. +// +// 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 GetAttachedFile for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetAttachedFile +func (c *Connect) GetAttachedFile(input *GetAttachedFileInput) (*GetAttachedFileOutput, error) { + req, out := c.GetAttachedFileRequest(input) + return out, req.Send() +} + +// GetAttachedFileWithContext is the same as GetAttachedFile with the addition of +// the ability to pass a context and additional request options. +// +// See GetAttachedFile 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) GetAttachedFileWithContext(ctx aws.Context, input *GetAttachedFileInput, opts ...request.Option) (*GetAttachedFileOutput, error) { + req, out := c.GetAttachedFileRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetContactAttributes = "GetContactAttributes" // GetContactAttributesRequest generates a "aws/request.Request" representing the @@ -20516,6 +20889,102 @@ func (c *Connect) SendChatIntegrationEventWithContext(ctx aws.Context, input *Se return out, req.Send() } +const opStartAttachedFileUpload = "StartAttachedFileUpload" + +// StartAttachedFileUploadRequest generates a "aws/request.Request" representing the +// client's request for the StartAttachedFileUpload 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 StartAttachedFileUpload for more information on using the StartAttachedFileUpload +// 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 StartAttachedFileUploadRequest method. +// req, resp := client.StartAttachedFileUploadRequest(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/StartAttachedFileUpload +func (c *Connect) StartAttachedFileUploadRequest(input *StartAttachedFileUploadInput) (req *request.Request, output *StartAttachedFileUploadOutput) { + op := &request.Operation{ + Name: opStartAttachedFileUpload, + HTTPMethod: "PUT", + HTTPPath: "/attached-files/{InstanceId}", + } + + if input == nil { + input = &StartAttachedFileUploadInput{} + } + + output = &StartAttachedFileUploadOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartAttachedFileUpload API operation for Amazon Connect Service. +// +// Provides a pre-signed Amazon S3 URL in response for uploading your content. +// +// You may only use this API to upload attachments to a Connect Case (https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.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. +// +// See the AWS API reference guide for Amazon Connect Service's +// API operation StartAttachedFileUpload for usage and error information. +// +// Returned Error Types: +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - ResourceConflictException +// A resource already has that name. +// +// - ServiceQuotaExceededException +// The service quota has been exceeded. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartAttachedFileUpload +func (c *Connect) StartAttachedFileUpload(input *StartAttachedFileUploadInput) (*StartAttachedFileUploadOutput, error) { + req, out := c.StartAttachedFileUploadRequest(input) + return out, req.Send() +} + +// StartAttachedFileUploadWithContext is the same as StartAttachedFileUpload with the addition of +// the ability to pass a context and additional request options. +// +// See StartAttachedFileUpload 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) StartAttachedFileUploadWithContext(ctx aws.Context, input *StartAttachedFileUploadInput, opts ...request.Option) (*StartAttachedFileUploadOutput, error) { + req, out := c.StartAttachedFileUploadRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartChatContact = "StartChatContact" // StartChatContactRequest generates a "aws/request.Request" representing the @@ -29192,6 +29661,187 @@ func (s AssociateUserProficienciesOutput) GoString() string { return s.String() } +// Information about the attached file. +type AttachedFile struct { + _ struct{} `type:"structure"` + + // The resource to which the attached file is (being) uploaded to. Cases (https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html) + // are the only current supported resource. + // + // This value must be a valid ARN. + AssociatedResourceArn *string `type:"string"` + + // Represents the identity that created the file. + CreatedBy *CreatedByInfo `type:"structure"` + + // The time of Creation of the file resource as an ISO timestamp. It's specified + // in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2024-05-03T02:41:28.172Z. + // + // CreationTime is a required field + CreationTime *string `type:"string" required:"true"` + + // The unique identifier of the attached file resource (ARN). + // + // FileArn is a required field + FileArn *string `type:"string" required:"true"` + + // The unique identifier of the attached file resource. + // + // FileId is a required field + FileId *string `min:"1" type:"string" required:"true"` + + // A case-sensitive name of the attached file being uploaded. + // + // FileName is a required field + FileName *string `min:"1" type:"string" required:"true"` + + // The size of the attached file in bytes. + // + // FileSizeInBytes is a required field + FileSizeInBytes *int64 `min:"1" type:"long" required:"true"` + + // The current status of the attached file. + // + // FileStatus is a required field + FileStatus *string `type:"string" required:"true" enum:"FileStatusType"` + + // The use case for the file. + FileUseCaseType *string `type:"string" enum:"FileUseCaseType"` + + // The tags used to organize, track, or control access for this resource. For + // example, { "Tags": {"key1":"value1", "key2":"value2"} }. + Tags map[string]*string `min:"1" type:"map"` +} + +// 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 AttachedFile) 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 AttachedFile) GoString() string { + return s.String() +} + +// SetAssociatedResourceArn sets the AssociatedResourceArn field's value. +func (s *AttachedFile) SetAssociatedResourceArn(v string) *AttachedFile { + s.AssociatedResourceArn = &v + return s +} + +// SetCreatedBy sets the CreatedBy field's value. +func (s *AttachedFile) SetCreatedBy(v *CreatedByInfo) *AttachedFile { + s.CreatedBy = v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *AttachedFile) SetCreationTime(v string) *AttachedFile { + s.CreationTime = &v + return s +} + +// SetFileArn sets the FileArn field's value. +func (s *AttachedFile) SetFileArn(v string) *AttachedFile { + s.FileArn = &v + return s +} + +// SetFileId sets the FileId field's value. +func (s *AttachedFile) SetFileId(v string) *AttachedFile { + s.FileId = &v + return s +} + +// SetFileName sets the FileName field's value. +func (s *AttachedFile) SetFileName(v string) *AttachedFile { + s.FileName = &v + return s +} + +// SetFileSizeInBytes sets the FileSizeInBytes field's value. +func (s *AttachedFile) SetFileSizeInBytes(v int64) *AttachedFile { + s.FileSizeInBytes = &v + return s +} + +// SetFileStatus sets the FileStatus field's value. +func (s *AttachedFile) SetFileStatus(v string) *AttachedFile { + s.FileStatus = &v + return s +} + +// SetFileUseCaseType sets the FileUseCaseType field's value. +func (s *AttachedFile) SetFileUseCaseType(v string) *AttachedFile { + s.FileUseCaseType = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *AttachedFile) SetTags(v map[string]*string) *AttachedFile { + s.Tags = v + return s +} + +// Error describing a failure to retrieve attached file metadata through BatchGetAttachedFileMetadata +// action. +type AttachedFileError struct { + _ struct{} `type:"structure"` + + // Status code describing the failure. + ErrorCode *string `type:"string"` + + // Why the attached file couldn't be retrieved. + ErrorMessage *string `type:"string"` + + // The unique identifier of the attached file resource. + FileId *string `min:"1" 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 AttachedFileError) 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 AttachedFileError) GoString() string { + return s.String() +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *AttachedFileError) SetErrorCode(v string) *AttachedFileError { + s.ErrorCode = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *AttachedFileError) SetErrorMessage(v string) *AttachedFileError { + s.ErrorMessage = &v + return s +} + +// SetFileId sets the FileId field's value. +func (s *AttachedFileError) SetFileId(v string) *AttachedFileError { + s.FileId = &v + return s +} + // Information about a reference when the referenceType is ATTACHMENT. Otherwise, // null. type AttachmentReference struct { @@ -29689,6 +30339,129 @@ func (s *BatchDisassociateAnalyticsDataSetOutput) SetErrors(v []*ErrorResult) *B return s } +type BatchGetAttachedFileMetadataInput struct { + _ struct{} `type:"structure"` + + // The resource to which the attached file is (being) uploaded to. Cases (https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html) + // are the only current supported resource. + // + // This value must be a valid ARN. + // + // AssociatedResourceArn is a required field + AssociatedResourceArn *string `location:"querystring" locationName:"associatedResourceArn" type:"string" required:"true"` + + // The unique identifiers of the attached file resource. + // + // FileIds is a required field + FileIds []*string `min:"1" type:"list" required:"true"` + + // The unique identifier of the Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" 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 BatchGetAttachedFileMetadataInput) 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 BatchGetAttachedFileMetadataInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchGetAttachedFileMetadataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchGetAttachedFileMetadataInput"} + if s.AssociatedResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("AssociatedResourceArn")) + } + if s.FileIds == nil { + invalidParams.Add(request.NewErrParamRequired("FileIds")) + } + if s.FileIds != nil && len(s.FileIds) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FileIds", 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 +} + +// SetAssociatedResourceArn sets the AssociatedResourceArn field's value. +func (s *BatchGetAttachedFileMetadataInput) SetAssociatedResourceArn(v string) *BatchGetAttachedFileMetadataInput { + s.AssociatedResourceArn = &v + return s +} + +// SetFileIds sets the FileIds field's value. +func (s *BatchGetAttachedFileMetadataInput) SetFileIds(v []*string) *BatchGetAttachedFileMetadataInput { + s.FileIds = v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *BatchGetAttachedFileMetadataInput) SetInstanceId(v string) *BatchGetAttachedFileMetadataInput { + s.InstanceId = &v + return s +} + +type BatchGetAttachedFileMetadataOutput struct { + _ struct{} `type:"structure"` + + // List of errors of attached files that could not be retrieved. + Errors []*AttachedFileError `type:"list"` + + // List of attached files that were successfully retrieved. + Files []*AttachedFile `type:"list"` +} + +// 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 BatchGetAttachedFileMetadataOutput) 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 BatchGetAttachedFileMetadataOutput) GoString() string { + return s.String() +} + +// SetErrors sets the Errors field's value. +func (s *BatchGetAttachedFileMetadataOutput) SetErrors(v []*AttachedFileError) *BatchGetAttachedFileMetadataOutput { + s.Errors = v + return s +} + +// SetFiles sets the Files field's value. +func (s *BatchGetAttachedFileMetadataOutput) SetFiles(v []*AttachedFile) *BatchGetAttachedFileMetadataOutput { + s.Files = v + return s +} + type BatchGetFlowAssociationInput struct { _ struct{} `type:"structure"` @@ -30559,6 +31332,113 @@ func (s *ClaimedPhoneNumberSummary) SetTargetArn(v string) *ClaimedPhoneNumberSu return s } +// Request to CompleteAttachedFileUpload API +type CompleteAttachedFileUploadInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The resource to which the attached file is (being) uploaded to. Cases (https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html) + // are the only current supported resource. + // + // This value must be a valid ARN. + // + // AssociatedResourceArn is a required field + AssociatedResourceArn *string `location:"querystring" locationName:"associatedResourceArn" type:"string" required:"true"` + + // The unique identifier of the attached file resource. + // + // FileId is a required field + FileId *string `location:"uri" locationName:"FileId" min:"1" type:"string" required:"true"` + + // The unique identifier of the Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" 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 CompleteAttachedFileUploadInput) 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 CompleteAttachedFileUploadInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CompleteAttachedFileUploadInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CompleteAttachedFileUploadInput"} + if s.AssociatedResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("AssociatedResourceArn")) + } + if s.FileId == nil { + invalidParams.Add(request.NewErrParamRequired("FileId")) + } + if s.FileId != nil && len(*s.FileId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FileId", 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 +} + +// SetAssociatedResourceArn sets the AssociatedResourceArn field's value. +func (s *CompleteAttachedFileUploadInput) SetAssociatedResourceArn(v string) *CompleteAttachedFileUploadInput { + s.AssociatedResourceArn = &v + return s +} + +// SetFileId sets the FileId field's value. +func (s *CompleteAttachedFileUploadInput) SetFileId(v string) *CompleteAttachedFileUploadInput { + s.FileId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *CompleteAttachedFileUploadInput) SetInstanceId(v string) *CompleteAttachedFileUploadInput { + s.InstanceId = &v + return s +} + +// Response from CompleteAttachedFileUpload API +type CompleteAttachedFileUploadOutput 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 CompleteAttachedFileUploadOutput) 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 CompleteAttachedFileUploadOutput) GoString() string { + return s.String() +} + // Operation cannot be performed at this time as there is a conflict with another // operation or contact state. type ConflictException struct { @@ -36004,6 +36884,49 @@ func (s *CreateVocabularyOutput) SetVocabularyId(v string) *CreateVocabularyOutp return s } +// Information on the identity that created the file. +type CreatedByInfo struct { + _ struct{} `type:"structure"` + + // STS or IAM ARN representing the identity of API Caller. SDK users cannot + // populate this and this value is calculated automatically if ConnectUserArn + // is not provided. + AWSIdentityArn *string `type:"string"` + + // An agent ARN representing a connect user (https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-resources-for-iam-policies). + ConnectUserArn *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 CreatedByInfo) 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 CreatedByInfo) GoString() string { + return s.String() +} + +// SetAWSIdentityArn sets the AWSIdentityArn field's value. +func (s *CreatedByInfo) SetAWSIdentityArn(v string) *CreatedByInfo { + s.AWSIdentityArn = &v + return s +} + +// SetConnectUserArn sets the ConnectUserArn field's value. +func (s *CreatedByInfo) SetConnectUserArn(v string) *CreatedByInfo { + s.ConnectUserArn = &v + return s +} + // Contains credentials to use for federation. type Credentials struct { _ struct{} `type:"structure" sensitive:"true"` @@ -36542,6 +37465,113 @@ func (s *DefaultVocabulary) SetVocabularyName(v string) *DefaultVocabulary { return s } +// Request to DeleteAttachedFile API +type DeleteAttachedFileInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The resource to which the attached file is (being) uploaded to. Cases (https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html) + // are the only current supported resource. + // + // This value must be a valid ARN. + // + // AssociatedResourceArn is a required field + AssociatedResourceArn *string `location:"querystring" locationName:"associatedResourceArn" type:"string" required:"true"` + + // The unique identifier of the attached file resource. + // + // FileId is a required field + FileId *string `location:"uri" locationName:"FileId" min:"1" type:"string" required:"true"` + + // The unique identifier of the Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" 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 DeleteAttachedFileInput) 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 DeleteAttachedFileInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAttachedFileInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAttachedFileInput"} + if s.AssociatedResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("AssociatedResourceArn")) + } + if s.FileId == nil { + invalidParams.Add(request.NewErrParamRequired("FileId")) + } + if s.FileId != nil && len(*s.FileId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FileId", 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 +} + +// SetAssociatedResourceArn sets the AssociatedResourceArn field's value. +func (s *DeleteAttachedFileInput) SetAssociatedResourceArn(v string) *DeleteAttachedFileInput { + s.AssociatedResourceArn = &v + return s +} + +// SetFileId sets the FileId field's value. +func (s *DeleteAttachedFileInput) SetFileId(v string) *DeleteAttachedFileInput { + s.FileId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *DeleteAttachedFileInput) SetInstanceId(v string) *DeleteAttachedFileInput { + s.InstanceId = &v + return s +} + +// Response from DeleteAttachedFile API +type DeleteAttachedFileOutput 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 DeleteAttachedFileOutput) 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 DeleteAttachedFileOutput) GoString() string { + return s.String() +} + type DeleteContactEvaluationInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -42557,6 +43587,48 @@ func (s *Distribution) SetRegion(v string) *Distribution { return s } +// Metadata used to download the attached file. +type DownloadUrlMetadata struct { + _ struct{} `type:"structure"` + + // A pre-signed URL that should be used to download the attached file. + Url *string `min:"1" type:"string"` + + // The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 + // format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z. + UrlExpiry *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 DownloadUrlMetadata) 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 DownloadUrlMetadata) GoString() string { + return s.String() +} + +// SetUrl sets the Url field's value. +func (s *DownloadUrlMetadata) SetUrl(v string) *DownloadUrlMetadata { + s.Url = &v + return s +} + +// SetUrlExpiry sets the UrlExpiry field's value. +func (s *DownloadUrlMetadata) SetUrlExpiry(v string) *DownloadUrlMetadata { + s.UrlExpiry = &v + return s +} + // A resource with the specified name already exists. type DuplicateResourceException struct { _ struct{} `type:"structure"` @@ -45271,6 +46343,231 @@ func (s *FlowAssociationSummary) SetResourceType(v string) *FlowAssociationSumma return s } +// Request to GetAttachedFile API. +type GetAttachedFileInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The resource to which the attached file is (being) uploaded to. Cases (https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html) + // are the only current supported resource. + // + // This value must be a valid ARN. + // + // AssociatedResourceArn is a required field + AssociatedResourceArn *string `location:"querystring" locationName:"associatedResourceArn" type:"string" required:"true"` + + // The unique identifier of the attached file resource. + // + // FileId is a required field + FileId *string `location:"uri" locationName:"FileId" min:"1" type:"string" required:"true"` + + // The unique identifier of the Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // Optional override for the expiry of the pre-signed S3 URL in seconds. + UrlExpiryInSeconds *int64 `location:"querystring" locationName:"urlExpiryInSeconds" min:"5" type:"integer"` +} + +// 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 GetAttachedFileInput) 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 GetAttachedFileInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAttachedFileInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAttachedFileInput"} + if s.AssociatedResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("AssociatedResourceArn")) + } + if s.FileId == nil { + invalidParams.Add(request.NewErrParamRequired("FileId")) + } + if s.FileId != nil && len(*s.FileId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FileId", 1)) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.UrlExpiryInSeconds != nil && *s.UrlExpiryInSeconds < 5 { + invalidParams.Add(request.NewErrParamMinValue("UrlExpiryInSeconds", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssociatedResourceArn sets the AssociatedResourceArn field's value. +func (s *GetAttachedFileInput) SetAssociatedResourceArn(v string) *GetAttachedFileInput { + s.AssociatedResourceArn = &v + return s +} + +// SetFileId sets the FileId field's value. +func (s *GetAttachedFileInput) SetFileId(v string) *GetAttachedFileInput { + s.FileId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *GetAttachedFileInput) SetInstanceId(v string) *GetAttachedFileInput { + s.InstanceId = &v + return s +} + +// SetUrlExpiryInSeconds sets the UrlExpiryInSeconds field's value. +func (s *GetAttachedFileInput) SetUrlExpiryInSeconds(v int64) *GetAttachedFileInput { + s.UrlExpiryInSeconds = &v + return s +} + +// Response from GetAttachedFile API. +type GetAttachedFileOutput struct { + _ struct{} `type:"structure"` + + // The resource to which the attached file is (being) uploaded to. Cases (https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html) + // are the only current supported resource. + // + // This value must be a valid ARN. + AssociatedResourceArn *string `type:"string"` + + // Represents the identity that created the file. + CreatedBy *CreatedByInfo `type:"structure"` + + // The time of Creation of the file resource as an ISO timestamp. It's specified + // in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2024-05-03T02:41:28.172Z. + CreationTime *string `type:"string"` + + // URL and expiry to be used when downloading the attached file. + DownloadUrlMetadata *DownloadUrlMetadata `type:"structure"` + + // The unique identifier of the attached file resource (ARN). + FileArn *string `type:"string"` + + // The unique identifier of the attached file resource. + FileId *string `min:"1" type:"string"` + + // A case-sensitive name of the attached file being uploaded. + FileName *string `min:"1" type:"string"` + + // The size of the attached file in bytes. + // + // FileSizeInBytes is a required field + FileSizeInBytes *int64 `min:"1" type:"long" required:"true"` + + // The current status of the attached file. + FileStatus *string `type:"string" enum:"FileStatusType"` + + // The use case for the file. + FileUseCaseType *string `type:"string" enum:"FileUseCaseType"` + + // The tags used to organize, track, or control access for this resource. For + // example, { "Tags": {"key1":"value1", "key2":"value2"} }. + Tags map[string]*string `min:"1" type:"map"` +} + +// 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 GetAttachedFileOutput) 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 GetAttachedFileOutput) GoString() string { + return s.String() +} + +// SetAssociatedResourceArn sets the AssociatedResourceArn field's value. +func (s *GetAttachedFileOutput) SetAssociatedResourceArn(v string) *GetAttachedFileOutput { + s.AssociatedResourceArn = &v + return s +} + +// SetCreatedBy sets the CreatedBy field's value. +func (s *GetAttachedFileOutput) SetCreatedBy(v *CreatedByInfo) *GetAttachedFileOutput { + s.CreatedBy = v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *GetAttachedFileOutput) SetCreationTime(v string) *GetAttachedFileOutput { + s.CreationTime = &v + return s +} + +// SetDownloadUrlMetadata sets the DownloadUrlMetadata field's value. +func (s *GetAttachedFileOutput) SetDownloadUrlMetadata(v *DownloadUrlMetadata) *GetAttachedFileOutput { + s.DownloadUrlMetadata = v + return s +} + +// SetFileArn sets the FileArn field's value. +func (s *GetAttachedFileOutput) SetFileArn(v string) *GetAttachedFileOutput { + s.FileArn = &v + return s +} + +// SetFileId sets the FileId field's value. +func (s *GetAttachedFileOutput) SetFileId(v string) *GetAttachedFileOutput { + s.FileId = &v + return s +} + +// SetFileName sets the FileName field's value. +func (s *GetAttachedFileOutput) SetFileName(v string) *GetAttachedFileOutput { + s.FileName = &v + return s +} + +// SetFileSizeInBytes sets the FileSizeInBytes field's value. +func (s *GetAttachedFileOutput) SetFileSizeInBytes(v int64) *GetAttachedFileOutput { + s.FileSizeInBytes = &v + return s +} + +// SetFileStatus sets the FileStatus field's value. +func (s *GetAttachedFileOutput) SetFileStatus(v string) *GetAttachedFileOutput { + s.FileStatus = &v + return s +} + +// SetFileUseCaseType sets the FileUseCaseType field's value. +func (s *GetAttachedFileOutput) SetFileUseCaseType(v string) *GetAttachedFileOutput { + s.FileUseCaseType = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *GetAttachedFileOutput) SetTags(v map[string]*string) *GetAttachedFileOutput { + s.Tags = v + return s +} + type GetContactAttributesInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -46773,7 +48070,7 @@ type GetMetricDataV2Input struct { // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent // Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Average greeting time agent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-greeting-time-agent-historical) + // UI name: Average agent greeting time (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-greeting-time-agent-historical) // // AVG_HANDLE_TIME // @@ -46848,7 +48145,7 @@ type GetMetricDataV2Input struct { // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent // Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Average interruptions agent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-interruptions-agent-historical) + // UI name: Average agent interruptions (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-interruptions-agent-historical) // // AVG_INTERRUPTION_TIME_AGENT // @@ -46860,7 +48157,7 @@ type GetMetricDataV2Input struct { // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent // Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Average interruption time agent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-interruptions-time-agent-historical) + // UI name: Average agent interruption time (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-interruptions-time-agent-historical) // // AVG_NON_TALK_TIME // @@ -46914,7 +48211,7 @@ type GetMetricDataV2Input struct { // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent // Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Average talk time agent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-agent-historical) + // UI name: Average agent talk time (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-agent-historical) // // AVG_TALK_TIME_CUSTOMER // @@ -46926,7 +48223,7 @@ type GetMetricDataV2Input struct { // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent // Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Average talk time customer (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-customer-historical) + // UI name: Average customer talk time (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#average-talk-time-customer-historical) // // CASES_CREATED // @@ -46980,7 +48277,7 @@ type GetMetricDataV2Input struct { // // Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Contacts handled by Connected to agent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-handled-by-connected-to-agent-historical) + // UI name: Contacts handled (connected to agent timestamp) (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-handled-by-connected-to-agent-historical) // // CONTACTS_HOLD_ABANDONS // @@ -47051,7 +48348,7 @@ type GetMetricDataV2Input struct { // // Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Contacts queued by Enqueue (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-queued-by-enqueue-historical) + // UI name: Contacts queued (enqueue timestamp) (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-queued-by-enqueue-historical) // // CONTACTS_RESOLVED_IN_X // @@ -47172,7 +48469,7 @@ type GetMetricDataV2Input struct { // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent // Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Talk time agent percent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ttagent-historical) + // UI name: Agent talk time percent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ttagent-historical) // // PERCENT_TALK_TIME_CUSTOMER // @@ -47184,7 +48481,7 @@ type GetMetricDataV2Input struct { // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent // Hierarchy, contact/segmentAttributes/connect:Subtype // - // UI name: Talk time customer percent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ttcustomer-historical) + // UI name: Customer talk time percent (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#ttcustomer-historical) // // REOPENED_CASE_ACTIONS // @@ -50304,6 +51601,9 @@ type InvalidRequestException struct { // The message about the request. Message_ *string `locationName:"Message" type:"string"` + + // Reason why the request was invalid. + Reason *InvalidRequestExceptionReason `type:"structure"` } // String returns the string representation. @@ -50349,7 +51649,7 @@ func (s *InvalidRequestException) OrigErr() error { } func (s *InvalidRequestException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) } // Status code returns the HTTP status code for the request's response error. @@ -50362,6 +51662,38 @@ func (s *InvalidRequestException) RequestID() string { return s.RespMetadata.RequestID } +// Reason why the request was invalid. +type InvalidRequestExceptionReason struct { + _ struct{} `type:"structure"` + + // Reason why the StartAttachedFiledUpload request was invalid. + AttachedFileInvalidRequestExceptionReason *string `type:"string" enum:"AttachedFileInvalidRequestExceptionReason"` +} + +// 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 InvalidRequestExceptionReason) 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 InvalidRequestExceptionReason) GoString() string { + return s.String() +} + +// SetAttachedFileInvalidRequestExceptionReason sets the AttachedFileInvalidRequestExceptionReason field's value. +func (s *InvalidRequestExceptionReason) SetAttachedFileInvalidRequestExceptionReason(v string) *InvalidRequestExceptionReason { + s.AttachedFileInvalidRequestExceptionReason = &v + return s +} + // A field that is invisible to an agent. type InvisibleFieldInfo struct { _ struct{} `type:"structure"` @@ -65945,6 +67277,244 @@ func (s *Sort) SetOrder(v string) *Sort { return s } +type StartAttachedFileUploadInput struct { + _ struct{} `type:"structure"` + + // The resource to which the attached file is (being) uploaded to. Cases (https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_CreateCase.html) + // are the only current supported resource. + // + // This value must be a valid ARN. + // + // AssociatedResourceArn is a required field + AssociatedResourceArn *string `location:"querystring" locationName:"associatedResourceArn" type:"string" required:"true"` + + // A unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. If not provided, the Amazon Web Services SDK populates this + // field. For more information about idempotency, see Making retries safe with + // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // Represents the identity that created the file. + CreatedBy *CreatedByInfo `type:"structure"` + + // A case-sensitive name of the attached file being uploaded. + // + // FileName is a required field + FileName *string `min:"1" type:"string" required:"true"` + + // The size of the attached file in bytes. + // + // FileSizeInBytes is a required field + FileSizeInBytes *int64 `min:"1" type:"long" required:"true"` + + // The use case for the file. + // + // FileUseCaseType is a required field + FileUseCaseType *string `type:"string" required:"true" enum:"FileUseCaseType"` + + // The unique identifier of the Connect instance. + // + // InstanceId is a required field + InstanceId *string `location:"uri" locationName:"InstanceId" min:"1" type:"string" required:"true"` + + // The tags used to organize, track, or control access for this resource. For + // example, { "Tags": {"key1":"value1", "key2":"value2"} }. + Tags map[string]*string `min:"1" type:"map"` + + // Optional override for the expiry of the pre-signed S3 URL in seconds. + UrlExpiryInSeconds *int64 `min:"5" type:"integer"` +} + +// 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 StartAttachedFileUploadInput) 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 StartAttachedFileUploadInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartAttachedFileUploadInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartAttachedFileUploadInput"} + if s.AssociatedResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("AssociatedResourceArn")) + } + if s.FileName == nil { + invalidParams.Add(request.NewErrParamRequired("FileName")) + } + if s.FileName != nil && len(*s.FileName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FileName", 1)) + } + if s.FileSizeInBytes == nil { + invalidParams.Add(request.NewErrParamRequired("FileSizeInBytes")) + } + if s.FileSizeInBytes != nil && *s.FileSizeInBytes < 1 { + invalidParams.Add(request.NewErrParamMinValue("FileSizeInBytes", 1)) + } + if s.FileUseCaseType == nil { + invalidParams.Add(request.NewErrParamRequired("FileUseCaseType")) + } + if s.InstanceId == nil { + invalidParams.Add(request.NewErrParamRequired("InstanceId")) + } + if s.InstanceId != nil && len(*s.InstanceId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InstanceId", 1)) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + if s.UrlExpiryInSeconds != nil && *s.UrlExpiryInSeconds < 5 { + invalidParams.Add(request.NewErrParamMinValue("UrlExpiryInSeconds", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssociatedResourceArn sets the AssociatedResourceArn field's value. +func (s *StartAttachedFileUploadInput) SetAssociatedResourceArn(v string) *StartAttachedFileUploadInput { + s.AssociatedResourceArn = &v + return s +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartAttachedFileUploadInput) SetClientToken(v string) *StartAttachedFileUploadInput { + s.ClientToken = &v + return s +} + +// SetCreatedBy sets the CreatedBy field's value. +func (s *StartAttachedFileUploadInput) SetCreatedBy(v *CreatedByInfo) *StartAttachedFileUploadInput { + s.CreatedBy = v + return s +} + +// SetFileName sets the FileName field's value. +func (s *StartAttachedFileUploadInput) SetFileName(v string) *StartAttachedFileUploadInput { + s.FileName = &v + return s +} + +// SetFileSizeInBytes sets the FileSizeInBytes field's value. +func (s *StartAttachedFileUploadInput) SetFileSizeInBytes(v int64) *StartAttachedFileUploadInput { + s.FileSizeInBytes = &v + return s +} + +// SetFileUseCaseType sets the FileUseCaseType field's value. +func (s *StartAttachedFileUploadInput) SetFileUseCaseType(v string) *StartAttachedFileUploadInput { + s.FileUseCaseType = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *StartAttachedFileUploadInput) SetInstanceId(v string) *StartAttachedFileUploadInput { + s.InstanceId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *StartAttachedFileUploadInput) SetTags(v map[string]*string) *StartAttachedFileUploadInput { + s.Tags = v + return s +} + +// SetUrlExpiryInSeconds sets the UrlExpiryInSeconds field's value. +func (s *StartAttachedFileUploadInput) SetUrlExpiryInSeconds(v int64) *StartAttachedFileUploadInput { + s.UrlExpiryInSeconds = &v + return s +} + +// Response from StartAttachedFileUpload API. +type StartAttachedFileUploadOutput struct { + _ struct{} `type:"structure"` + + // Represents the identity that created the file. + CreatedBy *CreatedByInfo `type:"structure"` + + // The time of Creation of the file resource as an ISO timestamp. It's specified + // in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2024-05-03T02:41:28.172Z. + CreationTime *string `type:"string"` + + // The unique identifier of the attached file resource (ARN). + FileArn *string `type:"string"` + + // The unique identifier of the attached file resource. + FileId *string `min:"1" type:"string"` + + // The current status of the attached file. + FileStatus *string `type:"string" enum:"FileStatusType"` + + // Information to be used while uploading the attached file. + UploadUrlMetadata *UploadUrlMetadata `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 StartAttachedFileUploadOutput) 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 StartAttachedFileUploadOutput) GoString() string { + return s.String() +} + +// SetCreatedBy sets the CreatedBy field's value. +func (s *StartAttachedFileUploadOutput) SetCreatedBy(v *CreatedByInfo) *StartAttachedFileUploadOutput { + s.CreatedBy = v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *StartAttachedFileUploadOutput) SetCreationTime(v string) *StartAttachedFileUploadOutput { + s.CreationTime = &v + return s +} + +// SetFileArn sets the FileArn field's value. +func (s *StartAttachedFileUploadOutput) SetFileArn(v string) *StartAttachedFileUploadOutput { + s.FileArn = &v + return s +} + +// SetFileId sets the FileId field's value. +func (s *StartAttachedFileUploadOutput) SetFileId(v string) *StartAttachedFileUploadOutput { + s.FileId = &v + return s +} + +// SetFileStatus sets the FileStatus field's value. +func (s *StartAttachedFileUploadOutput) SetFileStatus(v string) *StartAttachedFileUploadOutput { + s.FileStatus = &v + return s +} + +// SetUploadUrlMetadata sets the UploadUrlMetadata field's value. +func (s *StartAttachedFileUploadOutput) SetUploadUrlMetadata(v *UploadUrlMetadata) *StartAttachedFileUploadOutput { + s.UploadUrlMetadata = v + return s +} + type StartChatContactInput struct { _ struct{} `type:"structure"` @@ -70222,6 +71792,18 @@ type UpdateContactAttributesInput struct { // You can have up to 32,768 UTF-8 bytes across all attributes for a contact. // Attribute keys can include only alphanumeric, dash, and underscore characters. // + // When the attributes for a contact exceed 32 KB, the contact is routed down + // the Error branch of the flow. As a mitigation, consider the following options: + // + // * Remove unnecessary attributes by setting their values to empty. + // + // * If the attributes are only used in one flow and don't need to be referred + // to outside of that flow (for example, by a Lambda or another flow), then + // use flow attributes. This way you aren't needlessly persisting the 32 + // KB of information from one flow to another. For more information, see + // Flow block: Set contact attributes (https://docs.aws.amazon.com/connect/latest/adminguide/set-contact-attributes.html) + // in the Amazon Connect Administrator Guide. + // // Attributes is a required field Attributes map[string]*string `type:"map" required:"true"` @@ -75736,6 +77318,57 @@ func (s UpdateViewMetadataOutput) GoString() string { return s.String() } +// Fields required when uploading an attached file. +type UploadUrlMetadata struct { + _ struct{} `type:"structure"` + + // A map of headers that should be provided when uploading the attached file. + HeadersToInclude map[string]*string `type:"map"` + + // A pre-signed S3 URL that should be used for uploading the attached file. + Url *string `min:"1" type:"string"` + + // The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 + // format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z. + UrlExpiry *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 UploadUrlMetadata) 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 UploadUrlMetadata) GoString() string { + return s.String() +} + +// SetHeadersToInclude sets the HeadersToInclude field's value. +func (s *UploadUrlMetadata) SetHeadersToInclude(v map[string]*string) *UploadUrlMetadata { + s.HeadersToInclude = v + return s +} + +// SetUrl sets the Url field's value. +func (s *UploadUrlMetadata) SetUrl(v string) *UploadUrlMetadata { + s.Url = &v + return s +} + +// SetUrlExpiry sets the UrlExpiry field's value. +func (s *UploadUrlMetadata) SetUrlExpiry(v string) *UploadUrlMetadata { + s.UrlExpiry = &v + return s +} + // The URL reference. type UrlReference struct { _ struct{} `type:"structure"` @@ -77847,6 +79480,26 @@ func ArtifactStatus_Values() []string { } } +const ( + // AttachedFileInvalidRequestExceptionReasonInvalidFileSize is a AttachedFileInvalidRequestExceptionReason enum value + AttachedFileInvalidRequestExceptionReasonInvalidFileSize = "INVALID_FILE_SIZE" + + // AttachedFileInvalidRequestExceptionReasonInvalidFileType is a AttachedFileInvalidRequestExceptionReason enum value + AttachedFileInvalidRequestExceptionReasonInvalidFileType = "INVALID_FILE_TYPE" + + // AttachedFileInvalidRequestExceptionReasonInvalidFileName is a AttachedFileInvalidRequestExceptionReason enum value + AttachedFileInvalidRequestExceptionReasonInvalidFileName = "INVALID_FILE_NAME" +) + +// AttachedFileInvalidRequestExceptionReason_Values returns all elements of the AttachedFileInvalidRequestExceptionReason enum +func AttachedFileInvalidRequestExceptionReason_Values() []string { + return []string{ + AttachedFileInvalidRequestExceptionReasonInvalidFileSize, + AttachedFileInvalidRequestExceptionReasonInvalidFileType, + AttachedFileInvalidRequestExceptionReasonInvalidFileName, + } +} + const ( // BehaviorTypeRouteCurrentChannelOnly is a BehaviorType enum value BehaviorTypeRouteCurrentChannelOnly = "ROUTE_CURRENT_CHANNEL_ONLY" @@ -78408,6 +80061,42 @@ func FailureReasonCode_Values() []string { } } +const ( + // FileStatusTypeApproved is a FileStatusType enum value + FileStatusTypeApproved = "APPROVED" + + // FileStatusTypeRejected is a FileStatusType enum value + FileStatusTypeRejected = "REJECTED" + + // FileStatusTypeProcessing is a FileStatusType enum value + FileStatusTypeProcessing = "PROCESSING" + + // FileStatusTypeFailed is a FileStatusType enum value + FileStatusTypeFailed = "FAILED" +) + +// FileStatusType_Values returns all elements of the FileStatusType enum +func FileStatusType_Values() []string { + return []string{ + FileStatusTypeApproved, + FileStatusTypeRejected, + FileStatusTypeProcessing, + FileStatusTypeFailed, + } +} + +const ( + // FileUseCaseTypeAttachment is a FileUseCaseType enum value + FileUseCaseTypeAttachment = "ATTACHMENT" +) + +// FileUseCaseType_Values returns all elements of the FileUseCaseType enum +func FileUseCaseType_Values() []string { + return []string{ + FileUseCaseTypeAttachment, + } +} + const ( // FlowAssociationResourceTypeSmsPhoneNumber is a FlowAssociationResourceType enum value FlowAssociationResourceTypeSmsPhoneNumber = "SMS_PHONE_NUMBER" diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index 8ebbbfd5c45..4f0c7e5b2db 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -128,6 +128,10 @@ type ConnectAPI interface { BatchDisassociateAnalyticsDataSetWithContext(aws.Context, *connect.BatchDisassociateAnalyticsDataSetInput, ...request.Option) (*connect.BatchDisassociateAnalyticsDataSetOutput, error) BatchDisassociateAnalyticsDataSetRequest(*connect.BatchDisassociateAnalyticsDataSetInput) (*request.Request, *connect.BatchDisassociateAnalyticsDataSetOutput) + BatchGetAttachedFileMetadata(*connect.BatchGetAttachedFileMetadataInput) (*connect.BatchGetAttachedFileMetadataOutput, error) + BatchGetAttachedFileMetadataWithContext(aws.Context, *connect.BatchGetAttachedFileMetadataInput, ...request.Option) (*connect.BatchGetAttachedFileMetadataOutput, error) + BatchGetAttachedFileMetadataRequest(*connect.BatchGetAttachedFileMetadataInput) (*request.Request, *connect.BatchGetAttachedFileMetadataOutput) + BatchGetFlowAssociation(*connect.BatchGetFlowAssociationInput) (*connect.BatchGetFlowAssociationOutput, error) BatchGetFlowAssociationWithContext(aws.Context, *connect.BatchGetFlowAssociationInput, ...request.Option) (*connect.BatchGetFlowAssociationOutput, error) BatchGetFlowAssociationRequest(*connect.BatchGetFlowAssociationInput) (*request.Request, *connect.BatchGetFlowAssociationOutput) @@ -140,6 +144,10 @@ type ConnectAPI interface { ClaimPhoneNumberWithContext(aws.Context, *connect.ClaimPhoneNumberInput, ...request.Option) (*connect.ClaimPhoneNumberOutput, error) ClaimPhoneNumberRequest(*connect.ClaimPhoneNumberInput) (*request.Request, *connect.ClaimPhoneNumberOutput) + CompleteAttachedFileUpload(*connect.CompleteAttachedFileUploadInput) (*connect.CompleteAttachedFileUploadOutput, error) + CompleteAttachedFileUploadWithContext(aws.Context, *connect.CompleteAttachedFileUploadInput, ...request.Option) (*connect.CompleteAttachedFileUploadOutput, error) + CompleteAttachedFileUploadRequest(*connect.CompleteAttachedFileUploadInput) (*request.Request, *connect.CompleteAttachedFileUploadOutput) + CreateAgentStatus(*connect.CreateAgentStatusInput) (*connect.CreateAgentStatusOutput, error) CreateAgentStatusWithContext(aws.Context, *connect.CreateAgentStatusInput, ...request.Option) (*connect.CreateAgentStatusOutput, error) CreateAgentStatusRequest(*connect.CreateAgentStatusInput) (*request.Request, *connect.CreateAgentStatusOutput) @@ -240,6 +248,10 @@ type ConnectAPI interface { DeactivateEvaluationFormWithContext(aws.Context, *connect.DeactivateEvaluationFormInput, ...request.Option) (*connect.DeactivateEvaluationFormOutput, error) DeactivateEvaluationFormRequest(*connect.DeactivateEvaluationFormInput) (*request.Request, *connect.DeactivateEvaluationFormOutput) + DeleteAttachedFile(*connect.DeleteAttachedFileInput) (*connect.DeleteAttachedFileOutput, error) + DeleteAttachedFileWithContext(aws.Context, *connect.DeleteAttachedFileInput, ...request.Option) (*connect.DeleteAttachedFileOutput, error) + DeleteAttachedFileRequest(*connect.DeleteAttachedFileInput) (*request.Request, *connect.DeleteAttachedFileOutput) + DeleteContactEvaluation(*connect.DeleteContactEvaluationInput) (*connect.DeleteContactEvaluationOutput, error) DeleteContactEvaluationWithContext(aws.Context, *connect.DeleteContactEvaluationInput, ...request.Option) (*connect.DeleteContactEvaluationOutput, error) DeleteContactEvaluationRequest(*connect.DeleteContactEvaluationInput) (*request.Request, *connect.DeleteContactEvaluationOutput) @@ -480,6 +492,10 @@ type ConnectAPI interface { DismissUserContactWithContext(aws.Context, *connect.DismissUserContactInput, ...request.Option) (*connect.DismissUserContactOutput, error) DismissUserContactRequest(*connect.DismissUserContactInput) (*request.Request, *connect.DismissUserContactOutput) + GetAttachedFile(*connect.GetAttachedFileInput) (*connect.GetAttachedFileOutput, error) + GetAttachedFileWithContext(aws.Context, *connect.GetAttachedFileInput, ...request.Option) (*connect.GetAttachedFileOutput, error) + GetAttachedFileRequest(*connect.GetAttachedFileInput) (*request.Request, *connect.GetAttachedFileOutput) + GetContactAttributes(*connect.GetContactAttributesInput) (*connect.GetContactAttributesOutput, error) GetContactAttributesWithContext(aws.Context, *connect.GetContactAttributesInput, ...request.Option) (*connect.GetContactAttributesOutput, error) GetContactAttributesRequest(*connect.GetContactAttributesInput) (*request.Request, *connect.GetContactAttributesOutput) @@ -954,6 +970,10 @@ type ConnectAPI interface { SendChatIntegrationEventWithContext(aws.Context, *connect.SendChatIntegrationEventInput, ...request.Option) (*connect.SendChatIntegrationEventOutput, error) SendChatIntegrationEventRequest(*connect.SendChatIntegrationEventInput) (*request.Request, *connect.SendChatIntegrationEventOutput) + StartAttachedFileUpload(*connect.StartAttachedFileUploadInput) (*connect.StartAttachedFileUploadOutput, error) + StartAttachedFileUploadWithContext(aws.Context, *connect.StartAttachedFileUploadInput, ...request.Option) (*connect.StartAttachedFileUploadOutput, error) + StartAttachedFileUploadRequest(*connect.StartAttachedFileUploadInput) (*request.Request, *connect.StartAttachedFileUploadOutput) + StartChatContact(*connect.StartChatContactInput) (*connect.StartChatContactOutput, error) StartChatContactWithContext(aws.Context, *connect.StartChatContactInput, ...request.Option) (*connect.StartChatContactOutput, error) StartChatContactRequest(*connect.StartChatContactInput) (*request.Request, *connect.StartChatContactOutput) diff --git a/service/connectcases/api.go b/service/connectcases/api.go index 981a54f9d6f..680043f6283 100644 --- a/service/connectcases/api.go +++ b/service/connectcases/api.go @@ -6071,7 +6071,7 @@ type DeleteFieldInput struct { // DomainId is a required field DomainId *string `location:"uri" locationName:"domainId" min:"1" type:"string" required:"true"` - // The unique identifier of a field. + // Unique identifier of the field. // // FieldId is a required field FieldId *string `location:"uri" locationName:"fieldId" min:"1" type:"string" required:"true"` @@ -7224,6 +7224,101 @@ func (s *FieldValueUnion) SetUserArnValue(v string) *FieldValueUnion { return s } +// An object that represents a content of an Amazon Connect file object. +type FileContent struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of a File in Amazon Connect. + // + // FileArn is a required field + FileArn *string `locationName:"fileArn" 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 FileContent) 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 FileContent) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FileContent) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FileContent"} + if s.FileArn == nil { + invalidParams.Add(request.NewErrParamRequired("FileArn")) + } + if s.FileArn != nil && len(*s.FileArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FileArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFileArn sets the FileArn field's value. +func (s *FileContent) SetFileArn(v string) *FileContent { + s.FileArn = &v + return s +} + +// A filter for related items of type File. +type FileFilter struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the file. + FileArn *string `locationName:"fileArn" min:"1" 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 FileFilter) 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 FileFilter) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *FileFilter) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "FileFilter"} + if s.FileArn != nil && len(*s.FileArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("FileArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetFileArn sets the FileArn field's value. +func (s *FileFilter) SetFileArn(v string) *FileFilter { + s.FileArn = &v + return s +} + type GetCaseAuditEventsInput struct { _ struct{} `type:"structure"` @@ -7746,10 +7841,10 @@ func (s *GetDomainOutput) SetTags(v map[string]*string) *GetDomainOutput { type GetFieldResponse struct { _ struct{} `type:"structure"` - // The timestamp for when the resource was created. + // Timestamp at which the resource was created. CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" timestampFormat:"iso8601"` - // Indicates whether the resource has been deleted. + // Denotes whether or not the resource has been deleted. Deleted *bool `locationName:"deleted" type:"boolean"` // Description of the field. @@ -7765,7 +7860,7 @@ type GetFieldResponse struct { // FieldId is a required field FieldId *string `locationName:"fieldId" min:"1" type:"string" required:"true"` - // The timestamp for when the resource was created or last modified. + // Timestamp at which the resource was created or last modified. LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" timestampFormat:"iso8601"` // Name of the field. @@ -7941,13 +8036,13 @@ type GetLayoutOutput struct { // Content is a required field Content *LayoutContent `locationName:"content" type:"structure" required:"true"` - // The timestamp for when the resource was created. + // Timestamp at which the resource was created. CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" timestampFormat:"iso8601"` - // Indicates whether the resource has been deleted. + // Denotes whether or not the resource has been deleted. Deleted *bool `locationName:"deleted" type:"boolean"` - // The timestamp for when the resource was created or last modified. + // Timestamp at which the resource was created or last modified. LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" timestampFormat:"iso8601"` // The Amazon Resource Name (ARN) of the newly created layout. @@ -8105,16 +8200,16 @@ func (s *GetTemplateInput) SetTemplateId(v string) *GetTemplateInput { type GetTemplateOutput struct { _ struct{} `type:"structure"` - // The timestamp for when the resource was created. + // Timestamp at which the resource was created. CreatedTime *time.Time `locationName:"createdTime" type:"timestamp" timestampFormat:"iso8601"` - // Indicates whether the resource has been deleted. + // Denotes whether or not the resource has been deleted. Deleted *bool `locationName:"deleted" type:"boolean"` // A brief description of the template. Description *string `locationName:"description" type:"string"` - // The timestamp for when the resource was created or last modified. + // Timestamp at which the resource was created or last modified. LastModifiedTime *time.Time `locationName:"lastModifiedTime" type:"timestamp" timestampFormat:"iso8601"` // Configuration of layouts associated to the template. @@ -9406,6 +9501,9 @@ type RelatedItemContent struct { // Represents the content of a contact to be returned to agents. Contact *ContactContent `locationName:"contact" type:"structure"` + + // Represents the content of a File to be returned to agents. + File *FileContent `locationName:"file" type:"structure"` } // String returns the string representation. @@ -9438,6 +9536,12 @@ func (s *RelatedItemContent) SetContact(v *ContactContent) *RelatedItemContent { return s } +// SetFile sets the File field's value. +func (s *RelatedItemContent) SetFile(v *FileContent) *RelatedItemContent { + s.File = v + return s +} + // Details of what related item data is published through the case event stream. type RelatedItemEventIncludedData struct { _ struct{} `type:"structure"` @@ -9494,6 +9598,9 @@ type RelatedItemInputContent struct { // Object representing a contact in Amazon Connect as an API request field. Contact *Contact `locationName:"contact" type:"structure"` + + // A file of related items. + File *FileContent `locationName:"file" type:"structure"` } // String returns the string representation. @@ -9527,6 +9634,11 @@ func (s *RelatedItemInputContent) Validate() error { invalidParams.AddNested("Contact", err.(request.ErrInvalidParams)) } } + if s.File != nil { + if err := s.File.Validate(); err != nil { + invalidParams.AddNested("File", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9546,6 +9658,12 @@ func (s *RelatedItemInputContent) SetContact(v *Contact) *RelatedItemInputConten return s } +// SetFile sets the File field's value. +func (s *RelatedItemInputContent) SetFile(v *FileContent) *RelatedItemInputContent { + s.File = v + return s +} + // The list of types of related items and their parameters to use for filtering. type RelatedItemTypeFilter struct { _ struct{} `type:"structure"` @@ -9555,6 +9673,9 @@ type RelatedItemTypeFilter struct { // A filter for related items of type Contact. Contact *ContactFilter `locationName:"contact" type:"structure"` + + // A filter for related items of this type of File. + File *FileFilter `locationName:"file" type:"structure"` } // String returns the string representation. @@ -9583,6 +9704,11 @@ func (s *RelatedItemTypeFilter) Validate() error { invalidParams.AddNested("Contact", err.(request.ErrInvalidParams)) } } + if s.File != nil { + if err := s.File.Validate(); err != nil { + invalidParams.AddNested("File", err.(request.ErrInvalidParams)) + } + } if invalidParams.Len() > 0 { return invalidParams @@ -9602,6 +9728,12 @@ func (s *RelatedItemTypeFilter) SetContact(v *ContactFilter) *RelatedItemTypeFil return s } +// SetFile sets the File field's value. +func (s *RelatedItemTypeFilter) SetFile(v *FileFilter) *RelatedItemTypeFilter { + s.File = v + return s +} + // List of fields that must have a value provided to create a case. type RequiredField struct { _ struct{} `type:"structure"` @@ -11425,6 +11557,9 @@ const ( // RelatedItemTypeComment is a RelatedItemType enum value RelatedItemTypeComment = "Comment" + + // RelatedItemTypeFile is a RelatedItemType enum value + RelatedItemTypeFile = "File" ) // RelatedItemType_Values returns all elements of the RelatedItemType enum @@ -11432,6 +11567,7 @@ func RelatedItemType_Values() []string { return []string{ RelatedItemTypeContact, RelatedItemTypeComment, + RelatedItemTypeFile, } } diff --git a/service/datasync/api.go b/service/datasync/api.go index 0818503bcc8..75dcfc067c9 100644 --- a/service/datasync/api.go +++ b/service/datasync/api.go @@ -5295,9 +5295,8 @@ func (c *DataSync) UpdateLocationObjectStorageRequest(input *UpdateLocationObjec // UpdateLocationObjectStorage API operation for AWS DataSync. // -// Updates some parameters of an existing object storage location that DataSync -// accesses for a transfer. For information about creating a self-managed object -// storage location, see Creating a location for object storage (https://docs.aws.amazon.com/datasync/latest/userguide/create-object-location.html). +// Updates some parameters of an existing DataSync location for an object storage +// system. // // 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 @@ -7714,19 +7713,25 @@ type CreateLocationObjectStorageInput struct { // String and GoString methods. SecretKey *string `type:"string" sensitive:"true"` - // Specifies a file with the certificates that are used to sign the object storage - // server's certificate (for example, file:///home/user/.ssh/storage_sys_certificate.pem). - // The file you specify must include the following: + // Specifies a certificate chain for DataSync to authenticate with your object + // storage system if the system uses a private or self-signed certificate authority + // (CA). You must specify a single .pem file with a full certificate chain (for + // example, file:///home/user/.ssh/object_storage_certificates.pem). + // + // The certificate chain might include: // - // * The certificate of the signing certificate authority (CA) + // * The object storage system's certificate // - // * Any intermediate certificates + // * All intermediate certificates (if there are any) // - // * base64 encoding + // * The root certificate of the signing CA // - // * A .pem extension + // You can concatenate your certificates into a .pem file (which can be up to + // 32768 bytes before base64 encoding). The following example cat command creates + // an object_storage_certificates.pem file that includes three certificates: // - // The file can be up to 32768 bytes (before base64 encoding). + // cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem + // > object_storage_certificates.pem // // To use this parameter, configure ServerProtocol to HTTPS. // ServerCertificate is automatically base64 encoded/decoded by the SDK. @@ -10205,8 +10210,9 @@ type DescribeLocationObjectStorageOutput struct { // The URI of the object storage system location. LocationUri *string `type:"string"` - // The self-signed certificate that DataSync uses to securely authenticate with - // your object storage system. + // The certificate chain for DataSync to authenticate with your object storage + // system if the system uses a private or self-signed certificate authority + // (CA). // ServerCertificate is automatically base64 encoded/decoded by the SDK. ServerCertificate []byte `type:"blob"` @@ -16377,7 +16383,7 @@ type TaskSchedule struct { // Specifies whether to enable or disable your task schedule. Your schedule // is enabled by default, but there can be situations where you need to disable - // it. For example, you might need to pause a recurring transfer or fix an issue + // it. For example, you might need to pause a recurring transfer to fix an issue // with your task or perform maintenance on your storage system. // // DataSync might disable your schedule automatically if your task fails repeatedly @@ -17302,14 +17308,29 @@ type UpdateLocationObjectStorageInput struct { // String and GoString methods. SecretKey *string `type:"string" sensitive:"true"` - // Specifies a certificate to authenticate with an object storage system that - // uses a private or self-signed certificate authority (CA). You must specify - // a Base64-encoded .pem file (for example, file:///home/user/.ssh/storage_sys_certificate.pem). - // The certificate can be up to 32768 bytes (before Base64 encoding). + // Specifies a certificate chain for DataSync to authenticate with your object + // storage system if the system uses a private or self-signed certificate authority + // (CA). You must specify a single .pem file with a full certificate chain (for + // example, file:///home/user/.ssh/object_storage_certificates.pem). + // + // The certificate chain might include: + // + // * The object storage system's certificate + // + // * All intermediate certificates (if there are any) + // + // * The root certificate of the signing CA + // + // You can concatenate your certificates into a .pem file (which can be up to + // 32768 bytes before base64 encoding). The following example cat command creates + // an object_storage_certificates.pem file that includes three certificates: + // + // cat object_server_certificate.pem intermediate_certificate.pem ca_root_certificate.pem + // > object_storage_certificates.pem // // To use this parameter, configure ServerProtocol to HTTPS. // - // Updating the certificate doesn't interfere with tasks that you have in progress. + // Updating this parameter doesn't interfere with tasks that you have in progress. // ServerCertificate is automatically base64 encoded/decoded by the SDK. ServerCertificate []byte `type:"blob"` diff --git a/service/inspector2/api.go b/service/inspector2/api.go index 94df1c69a3c..70f3e912048 100644 --- a/service/inspector2/api.go +++ b/service/inspector2/api.go @@ -2042,6 +2042,10 @@ func (c *Inspector2) GetCisScanReportRequest(input *GetCisScanReportInput) (req // - ThrottlingException // The limit on the number of requests per second was exceeded. // +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. +// // - InternalServerException // The request has failed due to an internal failure of the Amazon Inspector // service. @@ -15958,6 +15962,10 @@ func (s *FreeTrialInfoError) SetMessage(v string) *FreeTrialInfoError { type GetCisScanReportInput struct { _ struct{} `type:"structure"` + // The format of the report. Valid values are PDF and CSV. If no value is specified, + // the report format defaults to PDF. + ReportFormat *string `locationName:"reportFormat" type:"string" enum:"CisReportFormat"` + // The scan ARN. // // ScanArn is a required field @@ -15998,6 +16006,12 @@ func (s *GetCisScanReportInput) Validate() error { return nil } +// SetReportFormat sets the ReportFormat field's value. +func (s *GetCisScanReportInput) SetReportFormat(v string) *GetCisScanReportInput { + s.ReportFormat = &v + return s +} + // SetScanArn sets the ScanArn field's value. func (s *GetCisScanReportInput) SetScanArn(v string) *GetCisScanReportInput { s.ScanArn = &v @@ -16016,7 +16030,7 @@ type GetCisScanReportOutput struct { // The status. Status *string `locationName:"status" type:"string" enum:"CisReportStatus"` - // The URL where a PDF of the CIS scan report can be downloaded. + // The URL where a PDF or CSV of the CIS scan report can be downloaded. Url *string `locationName:"url" type:"string"` } @@ -25307,6 +25321,22 @@ func CisFindingStatusComparison_Values() []string { } } +const ( + // CisReportFormatPdf is a CisReportFormat enum value + CisReportFormatPdf = "PDF" + + // CisReportFormatCsv is a CisReportFormat enum value + CisReportFormatCsv = "CSV" +) + +// CisReportFormat_Values returns all elements of the CisReportFormat enum +func CisReportFormat_Values() []string { + return []string{ + CisReportFormatPdf, + CisReportFormatCsv, + } +} + const ( // CisReportStatusSucceeded is a CisReportStatus enum value CisReportStatusSucceeded = "SUCCEEDED" diff --git a/service/sagemaker/api.go b/service/sagemaker/api.go index 1576defe235..e5715c41894 100644 --- a/service/sagemaker/api.go +++ b/service/sagemaker/api.go @@ -111860,7 +111860,10 @@ func (s *ServiceCatalogProvisioningUpdateDetails) SetProvisioningParameters(v [] } // Contains information about attribute-based access control (ABAC) for a training -// job. +// job. The session chaining configuration uses Amazon Security Token Service +// (STS) for your training job to request temporary, limited-privilege credentials +// to tenants. For more information, see Attribute-based access control (ABAC) +// for multi-tenancy training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-access-training-data.html#model-access-training-data-abac). type SessionChainingConfig struct { _ struct{} `type:"structure"` @@ -134603,6 +134606,168 @@ const ( // TransformInstanceTypeMlM524xlarge is a TransformInstanceType enum value TransformInstanceTypeMlM524xlarge = "ml.m5.24xlarge" + // TransformInstanceTypeMlM6iLarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6iLarge = "ml.m6i.large" + + // TransformInstanceTypeMlM6iXlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6iXlarge = "ml.m6i.xlarge" + + // TransformInstanceTypeMlM6i2xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6i2xlarge = "ml.m6i.2xlarge" + + // TransformInstanceTypeMlM6i4xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6i4xlarge = "ml.m6i.4xlarge" + + // TransformInstanceTypeMlM6i8xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6i8xlarge = "ml.m6i.8xlarge" + + // TransformInstanceTypeMlM6i12xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6i12xlarge = "ml.m6i.12xlarge" + + // TransformInstanceTypeMlM6i16xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6i16xlarge = "ml.m6i.16xlarge" + + // TransformInstanceTypeMlM6i24xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6i24xlarge = "ml.m6i.24xlarge" + + // TransformInstanceTypeMlM6i32xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM6i32xlarge = "ml.m6i.32xlarge" + + // TransformInstanceTypeMlC6iLarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6iLarge = "ml.c6i.large" + + // TransformInstanceTypeMlC6iXlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6iXlarge = "ml.c6i.xlarge" + + // TransformInstanceTypeMlC6i2xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6i2xlarge = "ml.c6i.2xlarge" + + // TransformInstanceTypeMlC6i4xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6i4xlarge = "ml.c6i.4xlarge" + + // TransformInstanceTypeMlC6i8xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6i8xlarge = "ml.c6i.8xlarge" + + // TransformInstanceTypeMlC6i12xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6i12xlarge = "ml.c6i.12xlarge" + + // TransformInstanceTypeMlC6i16xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6i16xlarge = "ml.c6i.16xlarge" + + // TransformInstanceTypeMlC6i24xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6i24xlarge = "ml.c6i.24xlarge" + + // TransformInstanceTypeMlC6i32xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC6i32xlarge = "ml.c6i.32xlarge" + + // TransformInstanceTypeMlR6iLarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6iLarge = "ml.r6i.large" + + // TransformInstanceTypeMlR6iXlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6iXlarge = "ml.r6i.xlarge" + + // TransformInstanceTypeMlR6i2xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6i2xlarge = "ml.r6i.2xlarge" + + // TransformInstanceTypeMlR6i4xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6i4xlarge = "ml.r6i.4xlarge" + + // TransformInstanceTypeMlR6i8xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6i8xlarge = "ml.r6i.8xlarge" + + // TransformInstanceTypeMlR6i12xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6i12xlarge = "ml.r6i.12xlarge" + + // TransformInstanceTypeMlR6i16xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6i16xlarge = "ml.r6i.16xlarge" + + // TransformInstanceTypeMlR6i24xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6i24xlarge = "ml.r6i.24xlarge" + + // TransformInstanceTypeMlR6i32xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR6i32xlarge = "ml.r6i.32xlarge" + + // TransformInstanceTypeMlM7iLarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7iLarge = "ml.m7i.large" + + // TransformInstanceTypeMlM7iXlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7iXlarge = "ml.m7i.xlarge" + + // TransformInstanceTypeMlM7i2xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7i2xlarge = "ml.m7i.2xlarge" + + // TransformInstanceTypeMlM7i4xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7i4xlarge = "ml.m7i.4xlarge" + + // TransformInstanceTypeMlM7i8xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7i8xlarge = "ml.m7i.8xlarge" + + // TransformInstanceTypeMlM7i12xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7i12xlarge = "ml.m7i.12xlarge" + + // TransformInstanceTypeMlM7i16xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7i16xlarge = "ml.m7i.16xlarge" + + // TransformInstanceTypeMlM7i24xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7i24xlarge = "ml.m7i.24xlarge" + + // TransformInstanceTypeMlM7i48xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlM7i48xlarge = "ml.m7i.48xlarge" + + // TransformInstanceTypeMlC7iLarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7iLarge = "ml.c7i.large" + + // TransformInstanceTypeMlC7iXlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7iXlarge = "ml.c7i.xlarge" + + // TransformInstanceTypeMlC7i2xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7i2xlarge = "ml.c7i.2xlarge" + + // TransformInstanceTypeMlC7i4xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7i4xlarge = "ml.c7i.4xlarge" + + // TransformInstanceTypeMlC7i8xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7i8xlarge = "ml.c7i.8xlarge" + + // TransformInstanceTypeMlC7i12xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7i12xlarge = "ml.c7i.12xlarge" + + // TransformInstanceTypeMlC7i16xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7i16xlarge = "ml.c7i.16xlarge" + + // TransformInstanceTypeMlC7i24xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7i24xlarge = "ml.c7i.24xlarge" + + // TransformInstanceTypeMlC7i48xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlC7i48xlarge = "ml.c7i.48xlarge" + + // TransformInstanceTypeMlR7iLarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7iLarge = "ml.r7i.large" + + // TransformInstanceTypeMlR7iXlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7iXlarge = "ml.r7i.xlarge" + + // TransformInstanceTypeMlR7i2xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7i2xlarge = "ml.r7i.2xlarge" + + // TransformInstanceTypeMlR7i4xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7i4xlarge = "ml.r7i.4xlarge" + + // TransformInstanceTypeMlR7i8xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7i8xlarge = "ml.r7i.8xlarge" + + // TransformInstanceTypeMlR7i12xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7i12xlarge = "ml.r7i.12xlarge" + + // TransformInstanceTypeMlR7i16xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7i16xlarge = "ml.r7i.16xlarge" + + // TransformInstanceTypeMlR7i24xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7i24xlarge = "ml.r7i.24xlarge" + + // TransformInstanceTypeMlR7i48xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlR7i48xlarge = "ml.r7i.48xlarge" + // TransformInstanceTypeMlG4dnXlarge is a TransformInstanceType enum value TransformInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge" @@ -134620,6 +134785,30 @@ const ( // TransformInstanceTypeMlG4dn16xlarge is a TransformInstanceType enum value TransformInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge" + + // TransformInstanceTypeMlG5Xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlG5Xlarge = "ml.g5.xlarge" + + // TransformInstanceTypeMlG52xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlG52xlarge = "ml.g5.2xlarge" + + // TransformInstanceTypeMlG54xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlG54xlarge = "ml.g5.4xlarge" + + // TransformInstanceTypeMlG58xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlG58xlarge = "ml.g5.8xlarge" + + // TransformInstanceTypeMlG512xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlG512xlarge = "ml.g5.12xlarge" + + // TransformInstanceTypeMlG516xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlG516xlarge = "ml.g5.16xlarge" + + // TransformInstanceTypeMlG524xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlG524xlarge = "ml.g5.24xlarge" + + // TransformInstanceTypeMlG548xlarge is a TransformInstanceType enum value + TransformInstanceTypeMlG548xlarge = "ml.g5.48xlarge" ) // TransformInstanceType_Values returns all elements of the TransformInstanceType enum @@ -134651,12 +134840,74 @@ func TransformInstanceType_Values() []string { TransformInstanceTypeMlM54xlarge, TransformInstanceTypeMlM512xlarge, TransformInstanceTypeMlM524xlarge, + TransformInstanceTypeMlM6iLarge, + TransformInstanceTypeMlM6iXlarge, + TransformInstanceTypeMlM6i2xlarge, + TransformInstanceTypeMlM6i4xlarge, + TransformInstanceTypeMlM6i8xlarge, + TransformInstanceTypeMlM6i12xlarge, + TransformInstanceTypeMlM6i16xlarge, + TransformInstanceTypeMlM6i24xlarge, + TransformInstanceTypeMlM6i32xlarge, + TransformInstanceTypeMlC6iLarge, + TransformInstanceTypeMlC6iXlarge, + TransformInstanceTypeMlC6i2xlarge, + TransformInstanceTypeMlC6i4xlarge, + TransformInstanceTypeMlC6i8xlarge, + TransformInstanceTypeMlC6i12xlarge, + TransformInstanceTypeMlC6i16xlarge, + TransformInstanceTypeMlC6i24xlarge, + TransformInstanceTypeMlC6i32xlarge, + TransformInstanceTypeMlR6iLarge, + TransformInstanceTypeMlR6iXlarge, + TransformInstanceTypeMlR6i2xlarge, + TransformInstanceTypeMlR6i4xlarge, + TransformInstanceTypeMlR6i8xlarge, + TransformInstanceTypeMlR6i12xlarge, + TransformInstanceTypeMlR6i16xlarge, + TransformInstanceTypeMlR6i24xlarge, + TransformInstanceTypeMlR6i32xlarge, + TransformInstanceTypeMlM7iLarge, + TransformInstanceTypeMlM7iXlarge, + TransformInstanceTypeMlM7i2xlarge, + TransformInstanceTypeMlM7i4xlarge, + TransformInstanceTypeMlM7i8xlarge, + TransformInstanceTypeMlM7i12xlarge, + TransformInstanceTypeMlM7i16xlarge, + TransformInstanceTypeMlM7i24xlarge, + TransformInstanceTypeMlM7i48xlarge, + TransformInstanceTypeMlC7iLarge, + TransformInstanceTypeMlC7iXlarge, + TransformInstanceTypeMlC7i2xlarge, + TransformInstanceTypeMlC7i4xlarge, + TransformInstanceTypeMlC7i8xlarge, + TransformInstanceTypeMlC7i12xlarge, + TransformInstanceTypeMlC7i16xlarge, + TransformInstanceTypeMlC7i24xlarge, + TransformInstanceTypeMlC7i48xlarge, + TransformInstanceTypeMlR7iLarge, + TransformInstanceTypeMlR7iXlarge, + TransformInstanceTypeMlR7i2xlarge, + TransformInstanceTypeMlR7i4xlarge, + TransformInstanceTypeMlR7i8xlarge, + TransformInstanceTypeMlR7i12xlarge, + TransformInstanceTypeMlR7i16xlarge, + TransformInstanceTypeMlR7i24xlarge, + TransformInstanceTypeMlR7i48xlarge, TransformInstanceTypeMlG4dnXlarge, TransformInstanceTypeMlG4dn2xlarge, TransformInstanceTypeMlG4dn4xlarge, TransformInstanceTypeMlG4dn8xlarge, TransformInstanceTypeMlG4dn12xlarge, TransformInstanceTypeMlG4dn16xlarge, + TransformInstanceTypeMlG5Xlarge, + TransformInstanceTypeMlG52xlarge, + TransformInstanceTypeMlG54xlarge, + TransformInstanceTypeMlG58xlarge, + TransformInstanceTypeMlG512xlarge, + TransformInstanceTypeMlG516xlarge, + TransformInstanceTypeMlG524xlarge, + TransformInstanceTypeMlG548xlarge, } } diff --git a/service/sesv2/api.go b/service/sesv2/api.go index 61284d15c9b..914412de23e 100644 --- a/service/sesv2/api.go +++ b/service/sesv2/api.go @@ -9914,6 +9914,22 @@ type BulkEmailEntry struct { // The ReplacementEmailContent associated with a BulkEmailEntry. ReplacementEmailContent *ReplacementEmailContent `type:"structure"` + // The list of message headers associated with the BulkEmailEntry data type. + // + // * Headers Not Present in BulkEmailEntry: If a header is specified in Template + // (https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_Template.html) + // but not in BulkEmailEntry, the header from Template will be added to the + // outgoing email. + // + // * Headers Present in BulkEmailEntry: If a header is specified in BulkEmailEntry, + // it takes precedence over any header of the same name specified in Template + // (https://docs.aws.amazon.com/ses/latest/APIReference-V2/API_Template.html): + // If the header is also defined within Template, the value from BulkEmailEntry + // will replace the header's value in the email. If the header is not defined + // within Template, it will simply be added to the email as specified in + // BulkEmailEntry. + ReplacementHeaders []*MessageHeader `type:"list"` + // A list of tags, in the form of name/value pairs, to apply to an email that // you send using the SendBulkTemplatedEmail operation. Tags correspond to characteristics // of the email that you define, so that you can publish email sending events. @@ -9944,6 +9960,16 @@ func (s *BulkEmailEntry) Validate() error { if s.Destination == nil { invalidParams.Add(request.NewErrParamRequired("Destination")) } + if s.ReplacementHeaders != nil { + for i, v := range s.ReplacementHeaders { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ReplacementHeaders", i), err.(request.ErrInvalidParams)) + } + } + } if s.ReplacementTags != nil { for i, v := range s.ReplacementTags { if v == nil { @@ -9973,6 +9999,12 @@ func (s *BulkEmailEntry) SetReplacementEmailContent(v *ReplacementEmailContent) return s } +// SetReplacementHeaders sets the ReplacementHeaders field's value. +func (s *BulkEmailEntry) SetReplacementHeaders(v []*MessageHeader) *BulkEmailEntry { + s.ReplacementHeaders = v + return s +} + // SetReplacementTags sets the ReplacementTags field's value. func (s *BulkEmailEntry) SetReplacementTags(v []*MessageTag) *BulkEmailEntry { s.ReplacementTags = v