From 1cbc8f948b6d3a46355f422607ccba5c4f1da768 Mon Sep 17 00:00:00 2001
From: awstools 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. You do not have sufficient permissions to perform this action. Request processing failed because of an error or failure with the service. The request is not valid. The specified resource was not found. The throttling limit has been exceeded. Base exception class for all service exceptions from Connect service. Allows you to confirm that the attached file has been uploaded using the pre-signed URL
+ * provided in the StartAttachedFileUpload API. You do not have sufficient permissions to perform this action. Request processing failed because of an error or failure with the service. The request is not valid. The specified resource was not found. The throttling limit has been exceeded. Base exception class for all service exceptions from 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. You do not have sufficient permissions to perform this action. Request processing failed because of an error or failure with the service. The request is not valid. The specified resource was not found. The throttling limit has been exceeded. Base exception class for all service exceptions from 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 You do not have sufficient permissions to perform this action. Request processing failed because of an error or failure with the service. The request is not valid. The specified resource was not found. The throttling limit has been exceeded. Base exception class for all service exceptions from 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. You do not have sufficient permissions to perform this action. Request processing failed because of an error or failure with the service. The request is not valid. A resource already has that name. The service quota has been exceeded. The throttling limit has been exceeded. Base exception class for all service exceptions from Connect service. Reason why the request was invalid. Reason why the StartAttachedFiledUpload request was invalid. The request is not valid. Reason why the request was invalid.
- * If you have previously associated a stream with
+BatchGetAttachedFileMetadata
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/BatchGetAttachedFileMetadataCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/BatchGetAttachedFileMetadataCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/BatchGetAttachedFileMetadataCommandOutput/)
+
@@ -372,6 +380,14 @@ ClaimPhoneNumber
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/ClaimPhoneNumberCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ClaimPhoneNumberCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/ClaimPhoneNumberCommandOutput/)
+
+CompleteAttachedFileUpload
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/CompleteAttachedFileUploadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/CompleteAttachedFileUploadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/CompleteAttachedFileUploadCommandOutput/)
+
@@ -572,6 +588,14 @@ DeactivateEvaluationForm
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DeactivateEvaluationFormCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DeactivateEvaluationFormCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DeactivateEvaluationFormCommandOutput/)
+
+DeleteAttachedFile
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DeleteAttachedFileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DeleteAttachedFileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DeleteAttachedFileCommandOutput/)
+
@@ -1052,6 +1076,14 @@ DismissUserContact
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/DismissUserContactCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DismissUserContactCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/DismissUserContactCommandOutput/)
+
+GetAttachedFile
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/GetAttachedFileCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/GetAttachedFileCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/GetAttachedFileCommandOutput/)
+
@@ -1652,6 +1684,14 @@ SendChatIntegrationEvent
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/SendChatIntegrationEventCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/SendChatIntegrationEventCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/SendChatIntegrationEventCommandOutput/)
+
+StartAttachedFileUpload
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/StartAttachedFileUploadCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/StartAttachedFileUploadCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/StartAttachedFileUploadCommandOutput/)
+
diff --git a/clients/client-connect/src/Connect.ts b/clients/client-connect/src/Connect.ts
index ebcc3178059f..7bb503f3a404 100644
--- a/clients/client-connect/src/Connect.ts
+++ b/clients/client-connect/src/Connect.ts
@@ -87,6 +87,11 @@ import {
BatchDisassociateAnalyticsDataSetCommandInput,
BatchDisassociateAnalyticsDataSetCommandOutput,
} from "./commands/BatchDisassociateAnalyticsDataSetCommand";
+import {
+ BatchGetAttachedFileMetadataCommand,
+ BatchGetAttachedFileMetadataCommandInput,
+ BatchGetAttachedFileMetadataCommandOutput,
+} from "./commands/BatchGetAttachedFileMetadataCommand";
import {
BatchGetFlowAssociationCommand,
BatchGetFlowAssociationCommandInput,
@@ -102,6 +107,11 @@ import {
ClaimPhoneNumberCommandInput,
ClaimPhoneNumberCommandOutput,
} from "./commands/ClaimPhoneNumberCommand";
+import {
+ CompleteAttachedFileUploadCommand,
+ CompleteAttachedFileUploadCommandInput,
+ CompleteAttachedFileUploadCommandOutput,
+} from "./commands/CompleteAttachedFileUploadCommand";
import {
CreateAgentStatusCommand,
CreateAgentStatusCommandInput,
@@ -211,6 +221,11 @@ import {
DeactivateEvaluationFormCommandInput,
DeactivateEvaluationFormCommandOutput,
} from "./commands/DeactivateEvaluationFormCommand";
+import {
+ DeleteAttachedFileCommand,
+ DeleteAttachedFileCommandInput,
+ DeleteAttachedFileCommandOutput,
+} from "./commands/DeleteAttachedFileCommand";
import {
DeleteContactEvaluationCommand,
DeleteContactEvaluationCommandInput,
@@ -495,6 +510,11 @@ import {
DismissUserContactCommandInput,
DismissUserContactCommandOutput,
} from "./commands/DismissUserContactCommand";
+import {
+ GetAttachedFileCommand,
+ GetAttachedFileCommandInput,
+ GetAttachedFileCommandOutput,
+} from "./commands/GetAttachedFileCommand";
import {
GetContactAttributesCommand,
GetContactAttributesCommandInput,
@@ -838,6 +858,11 @@ import {
SendChatIntegrationEventCommandInput,
SendChatIntegrationEventCommandOutput,
} from "./commands/SendChatIntegrationEventCommand";
+import {
+ StartAttachedFileUploadCommand,
+ StartAttachedFileUploadCommandInput,
+ StartAttachedFileUploadCommandOutput,
+} from "./commands/StartAttachedFileUploadCommand";
import {
StartChatContactCommand,
StartChatContactCommandInput,
@@ -1157,9 +1182,11 @@ const commands = {
AssociateUserProficienciesCommand,
BatchAssociateAnalyticsDataSetCommand,
BatchDisassociateAnalyticsDataSetCommand,
+ BatchGetAttachedFileMetadataCommand,
BatchGetFlowAssociationCommand,
BatchPutContactCommand,
ClaimPhoneNumberCommand,
+ CompleteAttachedFileUploadCommand,
CreateAgentStatusCommand,
CreateContactFlowCommand,
CreateContactFlowModuleCommand,
@@ -1185,6 +1212,7 @@ const commands = {
CreateViewVersionCommand,
CreateVocabularyCommand,
DeactivateEvaluationFormCommand,
+ DeleteAttachedFileCommand,
DeleteContactEvaluationCommand,
DeleteContactFlowCommand,
DeleteContactFlowModuleCommand,
@@ -1245,6 +1273,7 @@ const commands = {
DisassociateTrafficDistributionGroupUserCommand,
DisassociateUserProficienciesCommand,
DismissUserContactCommand,
+ GetAttachedFileCommand,
GetContactAttributesCommand,
GetCurrentMetricDataCommand,
GetCurrentUserDataCommand,
@@ -1320,6 +1349,7 @@ const commands = {
SearchUsersCommand,
SearchVocabulariesCommand,
SendChatIntegrationEventCommand,
+ StartAttachedFileUploadCommand,
StartChatContactCommand,
StartContactEvaluationCommand,
StartContactRecordingCommand,
@@ -1660,6 +1690,23 @@ export interface Connect {
cb: (err: any, data?: BatchDisassociateAnalyticsDataSetCommandOutput) => void
): void;
+ /**
+ * @see {@link BatchGetAttachedFileMetadataCommand}
+ */
+ batchGetAttachedFileMetadata(
+ args: BatchGetAttachedFileMetadataCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise
APPROVED
.REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
is deprecated, but it is still
- * supported and will apply only to VOICE channel contacts. Use
- * REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
for voice contacts moving forward.REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
, no
- * action is needed to update the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
is deprecated, but it is still supported
+ * and will apply only to VOICE channel contacts. Use
+ * REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
for voice contacts moving
+ * forward.
If you have previously associated a stream with
+ * REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
, no action is needed to update the stream to
+ * REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.
The unique identifiers of the attached file resource.
+ * @public + */ + FileIds: string[] | undefined; + + /** + *The unique identifier of the Connect instance.
+ * @public + */ + InstanceId: string | undefined; + + /** + *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.
+ *Error describing a failure to retrieve attached file metadata through BatchGetAttachedFileMetadata action.
+ * @public + */ +export interface AttachedFileError { + /** + *Status code describing the failure.
+ * @public + */ + ErrorCode?: string; + + /** + *Why the attached file couldn't be retrieved.
+ * @public + */ + ErrorMessage?: string; + + /** + *The unique identifier of the attached file resource.
+ * @public + */ + FileId?: string; +} + +/** + *Information on the identity that created the file.
+ * @public + */ +export type CreatedByInfo = + | CreatedByInfo.AWSIdentityArnMember + | CreatedByInfo.ConnectUserArnMember + | CreatedByInfo.$UnknownMember; + +/** + * @public + */ +export namespace CreatedByInfo { + /** + *An agent ARN representing a connect user.
+ * @public + */ + export interface ConnectUserArnMember { + ConnectUserArn: string; + AWSIdentityArn?: never; + $unknown?: never; + } + + /** + *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.
Information about the attached file.
+ * @public + */ +export interface AttachedFile { + /** + *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
.
The unique identifier of the attached file resource (ARN).
+ * @public + */ + FileArn: string | undefined; + + /** + *The unique identifier of the attached file resource.
+ * @public + */ + FileId: string | undefined; + + /** + *A case-sensitive name of the attached file being uploaded.
+ * @public + */ + FileName: string | undefined; + + /** + *The size of the attached file in bytes.
+ * @public + */ + FileSizeInBytes: number | undefined; + + /** + *The current status of the attached file.
+ * @public + */ + FileStatus: FileStatusType | undefined; + + /** + *Represents the identity that created the file.
+ * @public + */ + CreatedBy?: CreatedByInfo; + + /** + *The use case for the file.
+ * @public + */ + FileUseCaseType?: FileUseCaseType; + + /** + *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.
+ *The tags used to organize, track, or control access for this resource. For example, \{
+ * "Tags": \{"key1":"value1", "key2":"value2"\} \}
.
List of attached files that were successfully retrieved.
+ * @public + */ + Files?: AttachedFile[]; + + /** + *List of errors of attached files that could not be retrieved.
+ * @public + */ + Errors?: AttachedFileError[]; +} + /** * @public * @enum @@ -1993,6 +2285,40 @@ export interface ClaimPhoneNumberResponse { PhoneNumberArn?: string; } +/** + * Request to CompleteAttachedFileUpload API + * @public + */ +export interface CompleteAttachedFileUploadRequest { + /** + *The unique identifier of the Connect instance.
+ * @public + */ + InstanceId: string | undefined; + + /** + *The unique identifier of the attached file resource.
+ * @public + */ + FileId: string | undefined; + + /** + *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.
+ *The unique identifier of the Connect instance.
+ * @public + */ + InstanceId: string | undefined; + + /** + *The unique identifier of the attached file resource.
+ * @public + */ + FileId: string | undefined; + + /** + *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.
+ *The hours of operation.
- * @public - */ - HoursOfOperation?: HoursOfOperation; -} - -/** - * @public - */ -export interface DescribeInstanceRequest { - /** - *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- * @public - */ - InstanceId: string | undefined; -} - -/** - * @public - * @enum - */ -export const InstanceStatus = { - ACTIVE: "ACTIVE", - CREATION_FAILED: "CREATION_FAILED", - CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS", -} as const; - -/** - * @public - */ -export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus]; - -/** - *Relevant - * details why the instance was not successfully created.
- * @public - */ -export interface InstanceStatusReason { - /** - *The message.
- * @public - */ - Message?: string; -} - -/** - *The Amazon Connect instance.
- * @public - */ -export interface Instance { - /** - *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- * @public - */ - Id?: string; - - /** - *The Amazon Resource Name (ARN) of the instance.
- * @public - */ - Arn?: string; - - /** - *The identity management type.
- * @public - */ - IdentityManagementType?: DirectoryType; - - /** - *The alias of instance.
- * @public - */ - InstanceAlias?: string; - - /** - *When the instance was created.
- * @public - */ - CreatedTime?: Date; - - /** - *The service role of the instance.
- * @public - */ - ServiceRole?: string; - - /** - *The state of the instance.
- * @public - */ - InstanceStatus?: InstanceStatus; - - /** - *Relevant - * details why the instance was not successfully created.
- * @public - */ - StatusReason?: InstanceStatusReason; - - /** - *Whether inbound calls are enabled.
- * @public - */ - InboundCallsEnabled?: boolean; - - /** - *Whether outbound calls are enabled.
- * @public - */ - OutboundCallsEnabled?: boolean; - - /** - *This URL allows contact center users to access the Amazon Connect admin website.
- * @public - */ - InstanceAccessUrl?: string; - - /** - *The tags of an instance.
- * @public - */ - Tags?: RecordThe name of the instance.
- * @public - */ - Instance?: Instance; -} - -/** - * @public - * @enum - */ -export const InstanceAttributeType = { - AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES", - CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS", - CONTACT_LENS: "CONTACT_LENS", - EARLY_MEDIA: "EARLY_MEDIA", - ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING", - ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING", - HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND", - INBOUND_CALLS: "INBOUND_CALLS", - MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE", - OUTBOUND_CALLS: "OUTBOUND_CALLS", - USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES", -} as const; - -/** - * @public - */ -export type InstanceAttributeType = (typeof InstanceAttributeType)[keyof typeof InstanceAttributeType]; - -/** - * @public - */ -export interface DescribeInstanceAttributeRequest { - /** - *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- * @public - */ - InstanceId: string | undefined; - - /** - *The type of attribute.
- * @public - */ - AttributeType: InstanceAttributeType | undefined; -} - -/** - *A toggle for an individual feature at the instance level.
- * @public - */ -export interface Attribute { - /** - *The type of attribute.
- * @public - */ - AttributeType?: InstanceAttributeType; - - /** - *The value of the attribute.
- * @public - */ - Value?: string; -} - -/** - * @public - */ -export interface DescribeInstanceAttributeResponse { - /** - *The - * type - * of attribute.
- * @public - */ - Attribute?: Attribute; -} - -/** - * @public - */ -export interface DescribeInstanceStorageConfigRequest { - /** - *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- * @public - */ - InstanceId: string | undefined; - - /** - *The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
- * @public - */ - AssociationId: string | undefined; - - /** - *A valid resource type.
- * @public - */ - ResourceType: InstanceStorageResourceType | undefined; -} - -/** - * @public - */ -export interface DescribeInstanceStorageConfigResponse { - /** - *A valid storage type.
- * @public - */ - StorageConfig?: InstanceStorageConfig; -} - -/** - * @public - */ -export interface DescribePhoneNumberRequest { - /** - *A unique identifier for the phone number.
- * @public - */ - PhoneNumberId: string | undefined; -} - /** * @internal */ @@ -7288,19 +7392,3 @@ export const DescribeContactResponseFilterSensitiveLog = (obj: DescribeContactRe ...obj, ...(obj.Contact && { Contact: ContactFilterSensitiveLog(obj.Contact) }), }); - -/** - * @internal - */ -export const InstanceFilterSensitiveLog = (obj: Instance): any => ({ - ...obj, - ...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }), -}); - -/** - * @internal - */ -export const DescribeInstanceResponseFilterSensitiveLog = (obj: DescribeInstanceResponse): any => ({ - ...obj, - ...(obj.Instance && { Instance: InstanceFilterSensitiveLog(obj.Instance) }), -}); diff --git a/clients/client-connect/src/models/models_1.ts b/clients/client-connect/src/models/models_1.ts index c578948f9506..47d38e2e04f2 100644 --- a/clients/client-connect/src/models/models_1.ts +++ b/clients/client-connect/src/models/models_1.ts @@ -8,28 +8,28 @@ import { AgentAvailabilityTimer, AgentConfig, AgentContactReference, - AgentHierarchyGroups, AgentStatusReference, AgentStatusSummary, AgentStatusType, AnalyticsDataAssociationResult, Application, - Attribute, Channel, ContactFlowModuleState, ContactFlowState, ContactFlowType, - ContactInitiationMethod, ContactState, + CreatedByInfo, DirectoryType, Distribution, EvaluationFormVersionStatus, EvaluationScore, EvaluationStatus, EventSourceName, + FileStatusType, + FileUseCaseType, FlowAssociationResourceType, FlowAssociationSummary, - InstanceStatus, + HoursOfOperation, InstanceStorageConfig, InstanceStorageResourceType, IntegrationType, @@ -67,6 +67,262 @@ import { VocabularyState, } from "./models_0"; +/** + * @public + */ +export interface DescribeHoursOfOperationResponse { + /** + *The hours of operation.
+ * @public + */ + HoursOfOperation?: HoursOfOperation; +} + +/** + * @public + */ +export interface DescribeInstanceRequest { + /** + *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
+ * @public + */ + InstanceId: string | undefined; +} + +/** + * @public + * @enum + */ +export const InstanceStatus = { + ACTIVE: "ACTIVE", + CREATION_FAILED: "CREATION_FAILED", + CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS", +} as const; + +/** + * @public + */ +export type InstanceStatus = (typeof InstanceStatus)[keyof typeof InstanceStatus]; + +/** + *Relevant + * details why the instance was not successfully created.
+ * @public + */ +export interface InstanceStatusReason { + /** + *The message.
+ * @public + */ + Message?: string; +} + +/** + *The Amazon Connect instance.
+ * @public + */ +export interface Instance { + /** + *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
+ * @public + */ + Id?: string; + + /** + *The Amazon Resource Name (ARN) of the instance.
+ * @public + */ + Arn?: string; + + /** + *The identity management type.
+ * @public + */ + IdentityManagementType?: DirectoryType; + + /** + *The alias of instance.
+ * @public + */ + InstanceAlias?: string; + + /** + *When the instance was created.
+ * @public + */ + CreatedTime?: Date; + + /** + *The service role of the instance.
+ * @public + */ + ServiceRole?: string; + + /** + *The state of the instance.
+ * @public + */ + InstanceStatus?: InstanceStatus; + + /** + *Relevant + * details why the instance was not successfully created.
+ * @public + */ + StatusReason?: InstanceStatusReason; + + /** + *Whether inbound calls are enabled.
+ * @public + */ + InboundCallsEnabled?: boolean; + + /** + *Whether outbound calls are enabled.
+ * @public + */ + OutboundCallsEnabled?: boolean; + + /** + *This URL allows contact center users to access the Amazon Connect admin website.
+ * @public + */ + InstanceAccessUrl?: string; + + /** + *The tags of an instance.
+ * @public + */ + Tags?: RecordThe name of the instance.
+ * @public + */ + Instance?: Instance; +} + +/** + * @public + * @enum + */ +export const InstanceAttributeType = { + AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES", + CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS", + CONTACT_LENS: "CONTACT_LENS", + EARLY_MEDIA: "EARLY_MEDIA", + ENHANCED_CHAT_MONITORING: "ENHANCED_CHAT_MONITORING", + ENHANCED_CONTACT_MONITORING: "ENHANCED_CONTACT_MONITORING", + HIGH_VOLUME_OUTBOUND: "HIGH_VOLUME_OUTBOUND", + INBOUND_CALLS: "INBOUND_CALLS", + MULTI_PARTY_CONFERENCE: "MULTI_PARTY_CONFERENCE", + OUTBOUND_CALLS: "OUTBOUND_CALLS", + USE_CUSTOM_TTS_VOICES: "USE_CUSTOM_TTS_VOICES", +} as const; + +/** + * @public + */ +export type InstanceAttributeType = (typeof InstanceAttributeType)[keyof typeof InstanceAttributeType]; + +/** + * @public + */ +export interface DescribeInstanceAttributeRequest { + /** + *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
+ * @public + */ + InstanceId: string | undefined; + + /** + *The type of attribute.
+ * @public + */ + AttributeType: InstanceAttributeType | undefined; +} + +/** + *A toggle for an individual feature at the instance level.
+ * @public + */ +export interface Attribute { + /** + *The type of attribute.
+ * @public + */ + AttributeType?: InstanceAttributeType; + + /** + *The value of the attribute.
+ * @public + */ + Value?: string; +} + +/** + * @public + */ +export interface DescribeInstanceAttributeResponse { + /** + *The + * type + * of attribute.
+ * @public + */ + Attribute?: Attribute; +} + +/** + * @public + */ +export interface DescribeInstanceStorageConfigRequest { + /** + *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
+ * @public + */ + InstanceId: string | undefined; + + /** + *The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
+ * @public + */ + AssociationId: string | undefined; + + /** + *A valid resource type.
+ * @public + */ + ResourceType: InstanceStorageResourceType | undefined; +} + +/** + * @public + */ +export interface DescribeInstanceStorageConfigResponse { + /** + *A valid storage type.
+ * @public + */ + StorageConfig?: InstanceStorageConfig; +} + +/** + * @public + */ +export interface DescribePhoneNumberRequest { + /** + *A unique identifier for the phone number.
+ * @public + */ + PhoneNumberId: string | undefined; +} + /** * @public * @enum @@ -2118,61 +2374,193 @@ export interface DismissUserContactRequest { export interface DismissUserContactResponse {} /** + * Request to GetAttachedFile API. * @public */ -export interface GetContactAttributesRequest { +export interface GetAttachedFileRequest { /** - *The identifier of the Amazon Connect instance.
+ *The unique identifier of the Connect instance.
* @public */ InstanceId: string | undefined; /** - *The identifier of the initial contact.
+ *The unique identifier of the attached file resource.
* @public */ - InitialContactId: string | undefined; + FileId: string | undefined; + + /** + *Optional override for the expiry of the pre-signed S3 URL in seconds.
+ * @public + */ + UrlExpiryInSeconds?: number; + + /** + *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.
+ *Metadata used to download the attached file.
* @public */ -export interface GetContactAttributesResponse { +export interface DownloadUrlMetadata { /** - *Information about the attributes.
+ *A pre-signed URL that should be used to download the attached file.
* @public */ - Attributes?: RecordThe 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.
+ * @public + */ + UrlExpiry?: string; } /** + * Response from GetAttachedFile API. * @public - * @enum */ -export const CurrentMetricName = { - AGENTS_AFTER_CONTACT_WORK: "AGENTS_AFTER_CONTACT_WORK", - AGENTS_AVAILABLE: "AGENTS_AVAILABLE", - AGENTS_ERROR: "AGENTS_ERROR", - AGENTS_NON_PRODUCTIVE: "AGENTS_NON_PRODUCTIVE", - AGENTS_ONLINE: "AGENTS_ONLINE", - AGENTS_ON_CALL: "AGENTS_ON_CALL", - AGENTS_ON_CONTACT: "AGENTS_ON_CONTACT", - AGENTS_STAFFED: "AGENTS_STAFFED", - CONTACTS_IN_QUEUE: "CONTACTS_IN_QUEUE", - CONTACTS_SCHEDULED: "CONTACTS_SCHEDULED", - OLDEST_CONTACT_AGE: "OLDEST_CONTACT_AGE", - SLOTS_ACTIVE: "SLOTS_ACTIVE", - SLOTS_AVAILABLE: "SLOTS_AVAILABLE", -} as const; +export interface GetAttachedFileResponse { + /** + *The unique identifier of the attached file resource (ARN).
+ * @public + */ + FileArn?: string; -/** - * @public - */ -export type CurrentMetricName = (typeof CurrentMetricName)[keyof typeof CurrentMetricName]; + /** + *The unique identifier of the attached file resource.
+ * @public + */ + FileId?: string; -/** - * @public - * @enum + /** + *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
.
The current status of the attached file.
+ * @public + */ + FileStatus?: FileStatusType; + + /** + *A case-sensitive name of the attached file being uploaded.
+ * @public + */ + FileName?: string; + + /** + *The size of the attached file in bytes.
+ * @public + */ + FileSizeInBytes: number | undefined; + + /** + *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.
+ *The use case for the file.
+ * @public + */ + FileUseCaseType?: FileUseCaseType; + + /** + *Represents the identity that created the file.
+ * @public + */ + CreatedBy?: CreatedByInfo; + + /** + *URL and expiry to be used when downloading the attached file.
+ * @public + */ + DownloadUrlMetadata?: DownloadUrlMetadata; + + /** + *The tags used to organize, track, or control access for this resource. For example, \{
+ * "Tags": \{"key1":"value1", "key2":"value2"\} \}
.
The identifier of the Amazon Connect instance.
+ * @public + */ + InstanceId: string | undefined; + + /** + *The identifier of the initial contact.
+ * @public + */ + InitialContactId: string | undefined; +} + +/** + * @public + */ +export interface GetContactAttributesResponse { + /** + *Information about the attributes.
+ * @public + */ + Attributes?: RecordUnit: Seconds
*Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Average greeting time agent + *
UI name: Average agent greeting time *
* *Unit: Count
*Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Average interruptions agent + *
UI name: Average agent interruptions *
* *Unit: Seconds
*Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Average interruption time agent + *
UI name: Average agent interruption time *
* *Unit: Seconds
*Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Average talk time agent + *
UI name: Average agent talk time *
* *Unit: Seconds
*Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Average talk time customer + *
UI name: Average customer talk time *
* *Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Contacts handled by Connected to agent + *
UI name: Contacts handled (connected to agent timestamp) *
* *Unit: Count
*Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Contacts queued by Enqueue + *
UI name: Contacts queued (enqueue timestamp) *
* *Unit: Percentage
*Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Talk - * time agent percent + *
UI name: Agent + * talk time percent *
* *Unit: Percentage
*Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, * contact/segmentAttributes/connect:Subtype
- *UI name: Talk time customer percent + *
UI name: Customer talk time percent *
* *The identifier of the replicated instance. You can find the instanceId
in the
- * ARN of the instance. The replicated instance has the same identifier as the instance it was
- * replicated from.
The Amazon Resource Name (ARN) of the replicated instance.
- * @public - */ - Arn?: string; -} - -/** - * @public - */ -export interface ResumeContactRequest { - /** - *The identifier of the contact.
- * @public - */ - ContactId: string | undefined; - - /** - *The identifier of the Amazon Connect instance. You can find the instanceId
in the ARN of
- * the instance.
The identifier of the flow.
- * @public - */ - ContactFlowId?: string; -} - -/** - * @public - */ -export interface ResumeContactResponse {} - -/** - * @public - */ -export interface ResumeContactRecordingRequest { - /** - *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- * @public - */ - InstanceId: string | undefined; - - /** - *The identifier of the contact.
- * @public - */ - ContactId: string | undefined; - - /** - *The identifier of the contact. This is the identifier of the contact associated with the - * first interaction with the contact center.
- * @public - */ - InitialContactId: string | undefined; -} - -/** - * @public - */ -export interface ResumeContactRecordingResponse {} - -/** - * @public - */ -export interface SearchAvailablePhoneNumbersRequest { - /** - *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
.
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
.
The ISO country code.
- * @public - */ - PhoneNumberCountryCode: PhoneNumberCountryCode | undefined; - - /** - *The type of phone number.
- * @public - */ - PhoneNumberType: PhoneNumberType | undefined; - - /** - *The prefix of the phone number. If provided, it must contain +
as part of the country code.
The maximum number of results to return per page.
- * @public - */ - MaxResults?: number; - - /** - *The token for the next set of results. Use the value returned in the previous - * response in the next request to retrieve the next set of results.
- * @public - */ - NextToken?: string; -} - -/** - *Information about available phone numbers.
- * @public - */ -export interface AvailableNumberSummary { - /** - *The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
The ISO country code.
- * @public - */ - PhoneNumberCountryCode?: PhoneNumberCountryCode; - - /** - *The type of phone number.
- * @public - */ - PhoneNumberType?: PhoneNumberType; -} - -/** - * @public - */ -export interface SearchAvailablePhoneNumbersResponse { - /** - *If there are additional results, this is the token for the next set of results.
- * @public - */ - NextToken?: string; - - /** - *A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
- * @public - */ - AvailableNumbersList?: AvailableNumberSummary[]; -} - -/** - * @public - * @enum - */ -export const SearchContactsMatchType = { - MATCH_ALL: "MATCH_ALL", - MATCH_ANY: "MATCH_ANY", -} as const; - -/** - * @public - */ -export type SearchContactsMatchType = (typeof SearchContactsMatchType)[keyof typeof SearchContactsMatchType]; - -/** - *A structure that defines search criteria base on words or phrases, participants in the - * Contact Lens conversational analytics transcript.
- * @public - */ -export interface TranscriptCriteria { - /** - *The participant role in a transcript
- * @public - */ - ParticipantRole: ParticipantRole | undefined; - - /** - *The words or phrases used to search within a transcript.
- * @public - */ - SearchText: string[] | undefined; - - /** - *The match type combining search criteria using multiple search texts in a transcript - * criteria.
- * @public - */ - MatchType: SearchContactsMatchType | undefined; -} - -/** - *A structure that defines search criteria and matching logic to search for contacts by - * matching text with transcripts analyzed by Amazon Connect Contact Lens.
- * @public - */ -export interface Transcript { - /** - *The list of search criteria based on Contact Lens conversational analytics - * transcript.
- * @public - */ - Criteria: TranscriptCriteria[] | undefined; - - /** - *The match type combining search criteria using multiple transcript criteria.
- * @public - */ - MatchType?: SearchContactsMatchType; -} - -/** - *A structure that defines search criteria for contacts using analysis outputs from Amazon - * Connect Contact Lens.
- * @public - */ -export interface ContactAnalysis { - /** - *Search criteria based on transcript analyzed by Amazon Connect Contact Lens.
- * @public - */ - Transcript?: Transcript; -} - -/** - *The search criteria based on user-defned contact attribute key and values to search - * on.
- * @public - */ -export interface SearchableContactAttributesCriteria { - /** - *The key containing a searchable user-defined contact attribute.
- * @public - */ - Key: string | undefined; - - /** - *The list of values to search for within a user-defined contact attribute.
- * @public - */ - Values: string[] | undefined; -} - -/** - *A structure that defines search criteria based on user-defined contact attributes that are - * configured for contact search.
- * @public - */ -export interface SearchableContactAttributes { - /** - *The list of criteria based on user-defined contact attributes that are configured for - * contact search.
- * @public - */ - Criteria: SearchableContactAttributesCriteria[] | undefined; - - /** - *The match type combining search criteria using multiple searchable contact - * attributes.
- * @public - */ - MatchType?: SearchContactsMatchType; -} - -/** - *A structure of search criteria to be used to return contacts.
- * @public - */ -export interface SearchCriteria { - /** - *The identifiers of agents who handled the contacts.
- * @public - */ - AgentIds?: string[]; - - /** - *The agent hierarchy groups of the agent at the time of handling the contact.
- * @public - */ - AgentHierarchyGroups?: AgentHierarchyGroups; - - /** - *The list of channels associated with contacts.
- * @public - */ - Channels?: Channel[]; - - /** - *Search criteria based on analysis outputs from Amazon Connect Contact Lens.
- * @public - */ - ContactAnalysis?: ContactAnalysis; - - /** - *The list of initiation methods associated with contacts.
- * @public - */ - InitiationMethods?: ContactInitiationMethod[]; - - /** - *The list of queue IDs associated with contacts.
- * @public - */ - QueueIds?: string[]; - - /** - *The search criteria based on user-defined contact attributes that have been configured for - * contact search. For more information, see Search by customer contact - * attributes in the Amazon Connect Administrator Guide.
- *To use SearchableContactAttributes
in a search request, the
- * GetContactAttributes
action is required to perform an API request. For more
- * information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.
The identifier of the replicated instance. You can find the instanceId
in the
+ * ARN of the instance. The replicated instance has the same identifier as the instance it was
+ * replicated from.
The Amazon Resource Name (ARN) of the replicated instance.
+ * @public + */ + Arn?: string; +} + +/** + * @public + */ +export interface ResumeContactRequest { + /** + *The identifier of the contact.
+ * @public + */ + ContactId: string | undefined; + + /** + *The identifier of the Amazon Connect instance. You can find the instanceId
in the ARN of
+ * the instance.
The identifier of the flow.
+ * @public + */ + ContactFlowId?: string; +} + +/** + * @public + */ +export interface ResumeContactResponse {} + +/** + * @public + */ +export interface ResumeContactRecordingRequest { + /** + *The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
+ * @public + */ + InstanceId: string | undefined; + + /** + *The identifier of the contact.
+ * @public + */ + ContactId: string | undefined; + + /** + *The identifier of the contact. This is the identifier of the contact associated with the + * first interaction with the contact center.
+ * @public + */ + InitialContactId: string | undefined; +} + +/** + * @public + */ +export interface ResumeContactRecordingResponse {} + +/** + * @public + */ +export interface SearchAvailablePhoneNumbersRequest { + /** + *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
.
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
.
The ISO country code.
+ * @public + */ + PhoneNumberCountryCode: PhoneNumberCountryCode | undefined; + + /** + *The type of phone number.
+ * @public + */ + PhoneNumberType: PhoneNumberType | undefined; + + /** + *The prefix of the phone number. If provided, it must contain +
as part of the country code.
The maximum number of results to return per page.
+ * @public + */ + MaxResults?: number; + + /** + *The token for the next set of results. Use the value returned in the previous + * response in the next request to retrieve the next set of results.
+ * @public + */ + NextToken?: string; +} + +/** + *Information about available phone numbers.
+ * @public + */ +export interface AvailableNumberSummary { + /** + *The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code]
.
The ISO country code.
+ * @public + */ + PhoneNumberCountryCode?: PhoneNumberCountryCode; + + /** + *The type of phone number.
+ * @public + */ + PhoneNumberType?: PhoneNumberType; +} + +/** + * @public + */ +export interface SearchAvailablePhoneNumbersResponse { + /** + *If there are additional results, this is the token for the next set of results.
+ * @public + */ + NextToken?: string; + + /** + *A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
+ * @public + */ + AvailableNumbersList?: AvailableNumberSummary[]; +} + +/** + * @public + * @enum + */ +export const SearchContactsMatchType = { + MATCH_ALL: "MATCH_ALL", + MATCH_ANY: "MATCH_ANY", +} as const; + +/** + * @public + */ +export type SearchContactsMatchType = (typeof SearchContactsMatchType)[keyof typeof SearchContactsMatchType]; + +/** + *A structure that defines search criteria base on words or phrases, participants in the + * Contact Lens conversational analytics transcript.
+ * @public + */ +export interface TranscriptCriteria { + /** + *The participant role in a transcript
+ * @public + */ + ParticipantRole: ParticipantRole | undefined; + + /** + *The words or phrases used to search within a transcript.
+ * @public + */ + SearchText: string[] | undefined; + + /** + *The match type combining search criteria using multiple search texts in a transcript + * criteria.
+ * @public + */ + MatchType: SearchContactsMatchType | undefined; +} + +/** + *A structure that defines search criteria and matching logic to search for contacts by + * matching text with transcripts analyzed by Amazon Connect Contact Lens.
+ * @public + */ +export interface Transcript { + /** + *The list of search criteria based on Contact Lens conversational analytics + * transcript.
+ * @public + */ + Criteria: TranscriptCriteria[] | undefined; + + /** + *The match type combining search criteria using multiple transcript criteria.
+ * @public + */ + MatchType?: SearchContactsMatchType; +} + +/** + *A structure that defines search criteria for contacts using analysis outputs from Amazon + * Connect Contact Lens.
+ * @public + */ +export interface ContactAnalysis { + /** + *Search criteria based on transcript analyzed by Amazon Connect Contact Lens.
+ * @public + */ + Transcript?: Transcript; +} + +/** + *The search criteria based on user-defned contact attribute key and values to search + * on.
+ * @public + */ +export interface SearchableContactAttributesCriteria { + /** + *The key containing a searchable user-defined contact attribute.
+ * @public + */ + Key: string | undefined; + + /** + *The list of values to search for within a user-defined contact attribute.
+ * @public + */ + Values: string[] | undefined; +} + +/** + *A structure that defines search criteria based on user-defined contact attributes that are + * configured for contact search.
+ * @public + */ +export interface SearchableContactAttributes { + /** + *The list of criteria based on user-defined contact attributes that are configured for + * contact search.
+ * @public + */ + Criteria: SearchableContactAttributesCriteria[] | undefined; + + /** + *The match type combining search criteria using multiple searchable contact + * attributes.
+ * @public + */ + MatchType?: SearchContactsMatchType; +} + +/** + *A structure of search criteria to be used to return contacts.
+ * @public + */ +export interface SearchCriteria { + /** + *The identifiers of agents who handled the contacts.
+ * @public + */ + AgentIds?: string[]; + + /** + *The agent hierarchy groups of the agent at the time of handling the contact.
+ * @public + */ + AgentHierarchyGroups?: AgentHierarchyGroups; + + /** + *The list of channels associated with contacts.
+ * @public + */ + Channels?: Channel[]; + + /** + *Search criteria based on analysis outputs from Amazon Connect Contact Lens.
+ * @public + */ + ContactAnalysis?: ContactAnalysis; + + /** + *The list of initiation methods associated with contacts.
+ * @public + */ + InitiationMethods?: ContactInitiationMethod[]; + + /** + *The list of queue IDs associated with contacts.
+ * @public + */ + QueueIds?: string[]; + + /** + *The search criteria based on user-defined contact attributes that have been configured for + * contact search. For more information, see Search by customer contact + * attributes in the Amazon Connect Administrator Guide.
+ *To use SearchableContactAttributes
in a search request, the
+ * GetContactAttributes
action is required to perform an API request. For more
+ * information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.
A structure that defineds the field name to sort by and a sort order.
* @public @@ -1462,6 +1820,143 @@ export interface SendChatIntegrationEventResponse { NewChatCreated?: boolean; } +/** + * @public + */ +export interface StartAttachedFileUploadRequest { + /** + *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.
+ * @public + */ + ClientToken?: string; + + /** + *The unique identifier of the Connect instance.
+ * @public + */ + InstanceId: string | undefined; + + /** + *A case-sensitive name of the attached file being uploaded.
+ * @public + */ + FileName: string | undefined; + + /** + *The size of the attached file in bytes.
+ * @public + */ + FileSizeInBytes: number | undefined; + + /** + *Optional override for the expiry of the pre-signed S3 URL in seconds.
+ * @public + */ + UrlExpiryInSeconds?: number; + + /** + *The use case for the file.
+ * @public + */ + FileUseCaseType: FileUseCaseType | undefined; + + /** + *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.
+ *Represents the identity that created the file.
+ * @public + */ + CreatedBy?: CreatedByInfo; + + /** + *The tags used to organize, track, or control access for this resource. For example, \{
+ * "Tags": \{"key1":"value1", "key2":"value2"\} \}
.
Fields required when uploading an attached file.
+ * @public + */ +export interface UploadUrlMetadata { + /** + *A pre-signed S3 URL that should be used for uploading the attached file.
+ * @public + */ + Url?: 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
.
A map of headers that should be provided when uploading the attached file.
+ * @public + */ + HeadersToInclude?: RecordThe unique identifier of the attached file resource (ARN).
+ * @public + */ + FileArn?: string; + + /** + *The unique identifier of the attached file resource.
+ * @public + */ + FileId?: string; + + /** + *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
.
The current status of the attached file.
+ * @public + */ + FileStatus?: FileStatusType; + + /** + *Represents the identity that created the file.
+ * @public + */ + CreatedBy?: CreatedByInfo; + + /** + *Information to be used while uploading the attached file.
+ * @public + */ + UploadUrlMetadata?: UploadUrlMetadata; +} + /** *A chat message.
* @public @@ -2905,6 +3400,20 @@ export interface UpdateContactAttributesRequest { * 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:
+ *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 in the Amazon Connect Administrator Guide.
+ *A valid resource type. To enable streaming\n for real-time analysis of contacts, use the following types:
\nFor chat contacts, use REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS
.
For voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.
\n REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
is deprecated, but it is still\n supported and will apply only to VOICE channel contacts. Use\n REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
for voice contacts moving forward.
If you have previously associated a stream with REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
, no\n action is needed to update the stream to REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.
A valid resource type. To enable streaming\n for real-time analysis of contacts, use the following types:
\nFor chat contacts, use REAL_TIME_CONTACT_ANALYSIS_CHAT_SEGMENTS
.
For voice contacts, use REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.
\n REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
is deprecated, but it is still supported\n and will apply only to VOICE channel contacts. Use\n REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
for voice contacts moving\n forward.
If you have previously associated a stream with\n REAL_TIME_CONTACT_ANALYSIS_SEGMENTS
, no action is needed to update the stream to\n REAL_TIME_CONTACT_ANALYSIS_VOICE_SEGMENTS
.
The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601\n format: yyyy-MM-ddThh:mm:ss.SSSZ
. For example,\n 2024-05-03T02:41:28.172Z
.
The unique identifier of the attached file resource (ARN).
", + "smithy.api#required": {} + } + }, + "FileId": { + "target": "com.amazonaws.connect#FileId", + "traits": { + "smithy.api#documentation": "The unique identifier of the attached file resource.
", + "smithy.api#required": {} + } + }, + "FileName": { + "target": "com.amazonaws.connect#FileName", + "traits": { + "smithy.api#documentation": "A case-sensitive name of the attached file being uploaded.
", + "smithy.api#required": {} + } + }, + "FileSizeInBytes": { + "target": "com.amazonaws.connect#FileSizeInBytes", + "traits": { + "smithy.api#documentation": "The size of the attached file in bytes.
", + "smithy.api#required": {} + } + }, + "FileStatus": { + "target": "com.amazonaws.connect#FileStatusType", + "traits": { + "smithy.api#documentation": "The current status of the attached file.
", + "smithy.api#required": {} + } + }, + "CreatedBy": { + "target": "com.amazonaws.connect#CreatedByInfo", + "traits": { + "smithy.api#documentation": "Represents the identity that created the file.
" + } + }, + "FileUseCaseType": { + "target": "com.amazonaws.connect#FileUseCaseType", + "traits": { + "smithy.api#documentation": "The use case for the file.
" + } + }, + "AssociatedResourceArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "The resource to which the attached file is (being) uploaded to. Cases are the only\n current supported resource.
\nThis value must be a valid ARN.
\nThe tags used to organize, track, or control access for this resource. For example, {\n \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }
.
Information about the attached file.
" + } + }, + "com.amazonaws.connect#AttachedFileError": { + "type": "structure", + "members": { + "ErrorCode": { + "target": "com.amazonaws.connect#ErrorCode", + "traits": { + "smithy.api#documentation": "Status code describing the failure.
" + } + }, + "ErrorMessage": { + "target": "com.amazonaws.connect#ErrorMessage", + "traits": { + "smithy.api#documentation": "Why the attached file couldn't be retrieved.
" + } + }, + "FileId": { + "target": "com.amazonaws.connect#FileId", + "traits": { + "smithy.api#documentation": "The unique identifier of the attached file resource.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Error describing a failure to retrieve attached file metadata through BatchGetAttachedFileMetadata action.
" + } + }, + "com.amazonaws.connect#AttachedFileErrorsList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#AttachedFileError" + } + }, + "com.amazonaws.connect#AttachedFileInvalidRequestExceptionReason": { + "type": "enum", + "members": { + "INVALID_FILE_SIZE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FILE_SIZE" + } + }, + "INVALID_FILE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FILE_TYPE" + } + }, + "INVALID_FILE_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FILE_NAME" + } + } + } + }, + "com.amazonaws.connect#AttachedFilesList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#AttachedFile" + } + }, "com.amazonaws.connect#AttachmentName": { "type": "string", "traits": { @@ -3791,6 +3941,91 @@ "smithy.api#output": {} } }, + "com.amazonaws.connect#BatchGetAttachedFileMetadata": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#BatchGetAttachedFileMetadataRequest" + }, + "output": { + "target": "com.amazonaws.connect#BatchGetAttachedFileMetadataResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#AccessDeniedException" + }, + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Allows you to retrieve metadata about multiple attached files on an associated resource.\n Each attached file provided in the input list must be associated with the input\n AssociatedResourceArn.
", + "smithy.api#http": { + "method": "POST", + "uri": "/attached-files/{InstanceId}", + "code": 200 + } + } + }, + "com.amazonaws.connect#BatchGetAttachedFileMetadataRequest": { + "type": "structure", + "members": { + "FileIds": { + "target": "com.amazonaws.connect#FileIdList", + "traits": { + "smithy.api#documentation": "The unique identifiers of the attached file resource.
", + "smithy.api#required": {} + } + }, + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Connect instance.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AssociatedResourceArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "The resource to which the attached file is (being) uploaded to. Cases are the only\n current supported resource.
\nThis value must be a valid ARN.
\nList of attached files that were successfully retrieved.
" + } + }, + "Errors": { + "target": "com.amazonaws.connect#AttachedFileErrorsList", + "traits": { + "smithy.api#documentation": "List of errors of attached files that could not be retrieved.
" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.connect#BatchGetFlowAssociation": { "type": "operation", "input": { @@ -4423,6 +4658,81 @@ } } }, + "com.amazonaws.connect#CompleteAttachedFileUpload": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#CompleteAttachedFileUploadRequest" + }, + "output": { + "target": "com.amazonaws.connect#CompleteAttachedFileUploadResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#AccessDeniedException" + }, + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Allows you to confirm that the attached file has been uploaded using the pre-signed URL\n provided in the StartAttachedFileUpload API.
", + "smithy.api#http": { + "method": "POST", + "uri": "/attached-files/{InstanceId}/{FileId}", + "code": 200 + } + } + }, + "com.amazonaws.connect#CompleteAttachedFileUploadRequest": { + "type": "structure", + "members": { + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Connect instance.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "FileId": { + "target": "com.amazonaws.connect#FileId", + "traits": { + "smithy.api#documentation": "The unique identifier of the attached file resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AssociatedResourceArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "The resource to which the attached file is (being) uploaded to. Cases are the only\n current supported resource.
\nThis value must be a valid ARN.
\nAn agent ARN representing a connect user.
" + } + }, + "AWSIdentityArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "STS or IAM ARN representing the identity of API Caller. SDK users cannot populate this and\n this value is calculated automatically if ConnectUserArn
is not provided.
Information on the identity that created the file.
" + } + }, "com.amazonaws.connect#Credentials": { "type": "structure", "members": { @@ -8545,6 +8875,81 @@ } } }, + "com.amazonaws.connect#DeleteAttachedFile": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#DeleteAttachedFileRequest" + }, + "output": { + "target": "com.amazonaws.connect#DeleteAttachedFileResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#AccessDeniedException" + }, + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes an attached file along with the underlying S3 Object.
\nThe attached file is permanently deleted if S3 bucket\n versioning is not enabled.
\nThe unique identifier of the Connect instance.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "FileId": { + "target": "com.amazonaws.connect#FileId", + "traits": { + "smithy.api#documentation": "The unique identifier of the attached file resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "AssociatedResourceArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "The resource to which the attached file is (being) uploaded to. Cases are the only\n current supported resource.
\nThis value must be a valid ARN.
\nA pre-signed URL that should be used to download the attached file.
" + } + }, + "UrlExpiry": { + "target": "com.amazonaws.connect#ISO8601Datetime", + "traits": { + "smithy.api#documentation": "The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:\n yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Metadata used to download the attached file.
" + } + }, "com.amazonaws.connect#DuplicateResourceException": { "type": "structure", "members": { @@ -12893,6 +13318,12 @@ } } }, + "com.amazonaws.connect#ErrorCode": { + "type": "string" + }, + "com.amazonaws.connect#ErrorMessage": { + "type": "string" + }, "com.amazonaws.connect#ErrorResult": { "type": "structure", "members": { @@ -14493,6 +14924,84 @@ "target": "com.amazonaws.connect#FieldValue" } }, + "com.amazonaws.connect#FileId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.connect#FileIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#FileId" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.connect#FileName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^\\P{C}*$" + } + }, + "com.amazonaws.connect#FileSizeInBytes": { + "type": "long", + "traits": { + "smithy.api#range": { + "min": 1 + } + } + }, + "com.amazonaws.connect#FileStatusType": { + "type": "enum", + "members": { + "APPROVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPROVED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + }, + "PROCESSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROCESSING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + } + } + }, + "com.amazonaws.connect#FileUseCaseType": { + "type": "enum", + "members": { + "ATTACHMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ATTACHMENT" + } + } + } + }, "com.amazonaws.connect#FilterV2": { "type": "structure", "members": { @@ -14627,6 +15136,156 @@ "target": "com.amazonaws.connect#FunctionArn" } }, + "com.amazonaws.connect#GetAttachedFile": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#GetAttachedFileRequest" + }, + "output": { + "target": "com.amazonaws.connect#GetAttachedFileResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#AccessDeniedException" + }, + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Provides a pre-signed URL for download of an approved attached file. This API also returns\n metadata about the attached file. It will only return a downloadURL if the status of the attached\n file is APPROVED
.
The unique identifier of the Connect instance.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "FileId": { + "target": "com.amazonaws.connect#FileId", + "traits": { + "smithy.api#documentation": "The unique identifier of the attached file resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "UrlExpiryInSeconds": { + "target": "com.amazonaws.connect#URLExpiryInSeconds", + "traits": { + "smithy.api#documentation": "Optional override for the expiry of the pre-signed S3 URL in seconds.
", + "smithy.api#httpQuery": "urlExpiryInSeconds" + } + }, + "AssociatedResourceArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "The resource to which the attached file is (being) uploaded to. Cases are the only\n current supported resource.
\nThis value must be a valid ARN.
\nThe unique identifier of the attached file resource (ARN).
" + } + }, + "FileId": { + "target": "com.amazonaws.connect#FileId", + "traits": { + "smithy.api#documentation": "The unique identifier of the attached file resource.
" + } + }, + "CreationTime": { + "target": "com.amazonaws.connect#ISO8601Datetime", + "traits": { + "smithy.api#documentation": "The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601\n format: yyyy-MM-ddThh:mm:ss.SSSZ
. For example,\n 2024-05-03T02:41:28.172Z
.
The current status of the attached file.
" + } + }, + "FileName": { + "target": "com.amazonaws.connect#FileName", + "traits": { + "smithy.api#documentation": "A case-sensitive name of the attached file being uploaded.
" + } + }, + "FileSizeInBytes": { + "target": "com.amazonaws.connect#FileSizeInBytes", + "traits": { + "smithy.api#documentation": "The size of the attached file in bytes.
", + "smithy.api#required": {} + } + }, + "AssociatedResourceArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "The resource to which the attached file is (being) uploaded to. Cases are the only\n current supported resource.
\nThis value must be a valid ARN.
\nThe use case for the file.
" + } + }, + "CreatedBy": { + "target": "com.amazonaws.connect#CreatedByInfo", + "traits": { + "smithy.api#documentation": "Represents the identity that created the file.
" + } + }, + "DownloadUrlMetadata": { + "target": "com.amazonaws.connect#DownloadUrlMetadata", + "traits": { + "smithy.api#documentation": "URL and expiry to be used when downloading the attached file.
" + } + }, + "Tags": { + "target": "com.amazonaws.connect#TagMap", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource. For example, {\n \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }
.
The metrics to retrieve. Specify the name, groupings, and filters for each metric. The\n following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's\n Guide.
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Abandonment rate\n
\nThis metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Adherent time\n
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent answer rate\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Non-adherent time\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent\n non-response\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nData for this metric is available starting from October 1, 2023 0:00:00 GMT.
\nUI name: Agent non-response without customer abandons\n
\nUnit: Percentage
\nValid groupings and filters: Routing Profile, Agent, Agent Hierarchy
\nUI name: Occupancy\n
\nThis metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Adherence\n
\nThis metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Scheduled time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average queue abandon time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Average active time\n
\nUnit: Seconds
\nValid metric filter key: INITIATION_METHOD
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average after contact work time\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid metric filter key: INITIATION_METHOD
. For now, this metric only\n supports the following as INITIATION_METHOD
: INBOUND
|\n OUTBOUND
| CALLBACK
| API
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Average agent API connecting time\n
\nThe Negate
key in Metric Level Filters is not applicable for this\n metric.
Unit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Average agent pause time\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Average contacts per case\n
\nUnit: Seconds
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Average case resolution time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average contact duration\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average conversation duration\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average greeting time agent \n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype, RoutingStepExpression
\nUI name: Average handle time\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average customer hold time\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average customer hold time all contacts\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average holds\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\n \nUnit: Seconds
\nValid metric filter key: INITIATION_METHOD
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average agent interaction time\n
\nFeature is a valid filter but not a valid grouping.
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average interruptions agent \n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average interruption time agent\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average non-talk time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average queue answer time\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average resolution time\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average talk time\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average talk time agent\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average talk time customer\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Cases created\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype, RoutingStepExpression
\nUI name: Contact abandoned\n
\nUnit: Count
\nValid metric filter key: INITIATION_METHOD
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts created\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Count
\nValid metric filter key: INITIATION_METHOD
,\n DISCONNECT_REASON
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype, RoutingStepExpression
\nUI name: API contacts handled\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Count
\nValid metric filter key: INITIATION_METHOD
\n
Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts handled by Connected to agent\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts hold disconnect\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts hold agent disconnect\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts hold customer disconnect\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts put on hold\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts transferred out external\n
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts transferred out internal\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts queued\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts queued by Enqueue\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nThreshold: For ThresholdValue
enter any whole number from 1 to 604800\n (inclusive), in seconds. For Comparison
, you must enter LT
(for\n \"Less than\").
UI name: Contacts resolved in X\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts transferred out\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts transferred out by agent\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts transferred out queue\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Current cases\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Maximum queued time\n
\nUnit: Percent
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Cases resolved on first contact\n
\nUnit: Percent
\nValid groupings and filters: Queue, RoutingStepExpression
\nUI name: Not available
\nUnit: Percent
\nValid groupings and filters: Queue, RoutingStepExpression
\nUI name: Not available
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Percentage
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Non-talk\n time percent\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Percentage
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Talk time\n percent\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Percentage
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Talk\n time agent percent\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Percentage
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Talk time customer percent\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Cases reopened\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Cases resolved\n
\nYou can include up to 20 SERVICE_LEVEL metrics in a request.
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile
\nThreshold: For ThresholdValue
, enter any whole number from 1 to 604800\n (inclusive), in seconds. For Comparison
, you must enter LT
(for\n \"Less than\").
UI name: Service level X\n
\nUnit: Count
\nValid groupings and filters: Queue, RoutingStepExpression
\nUI name: Not available
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: After\n contact work time\n
\nUnit: Seconds
\nValid metric filter key: INITIATION_METHOD
. This metric only supports the\n following filter keys as INITIATION_METHOD
: INBOUND
|\n OUTBOUND
| CALLBACK
| API
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent API connecting time\n
\nThe Negate
key in Metric Level Filters is not applicable for this\n metric.
Unit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contact flow time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent on contact time\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nThreshold: For ThresholdValue
, enter any whole number from 1 to 604800\n (inclusive), in seconds. For Comparison
, you must enter LT
(for\n \"Less than\").
UI name: Contacts answered in X seconds\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nThreshold: For ThresholdValue
, enter any whole number from 1 to 604800\n (inclusive), in seconds. For Comparison
, you must enter LT
(for\n \"Less than\").
UI name: Contacts abandoned in X seconds\n
\nValid metric filter key: DISCONNECT_REASON
\n
Unit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contact disconnected\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Error status time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contact handle time\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Customer hold time\n
\nUnit: Seconds
\nValid groupings and filters: Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent idle time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent interaction and hold time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent interaction time\n
\nUnit: Seconds
\nValid groupings and filters: Routing Profile, Agent, Agent Hierarchy
\nUI name: Non-Productive Time\n
\nUnit: Seconds
\nValid groupings and filters: Routing Profile, Agent, Agent Hierarchy
\nUI name: Online time\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nUI name: Callback attempts\n
\nThe metrics to retrieve. Specify the name, groupings, and filters for each metric. The\n following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator's\n Guide.
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Abandonment rate\n
\nThis metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Adherent time\n
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent answer rate\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Non-adherent time\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent\n non-response\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nData for this metric is available starting from October 1, 2023 0:00:00 GMT.
\nUI name: Agent non-response without customer abandons\n
\nUnit: Percentage
\nValid groupings and filters: Routing Profile, Agent, Agent Hierarchy
\nUI name: Occupancy\n
\nThis metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Adherence\n
\nThis metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Scheduled time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average queue abandon time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Average active time\n
\nUnit: Seconds
\nValid metric filter key: INITIATION_METHOD
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average after contact work time\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid metric filter key: INITIATION_METHOD
. For now, this metric only\n supports the following as INITIATION_METHOD
: INBOUND
|\n OUTBOUND
| CALLBACK
| API
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Average agent API connecting time\n
\nThe Negate
key in Metric Level Filters is not applicable for this\n metric.
Unit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Average agent pause time\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Average contacts per case\n
\nUnit: Seconds
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Average case resolution time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average contact duration\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average conversation duration\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average agent greeting time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype, RoutingStepExpression
\nUI name: Average handle time\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average customer hold time\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average customer hold time all contacts\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average holds\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\n \nUnit: Seconds
\nValid metric filter key: INITIATION_METHOD
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average agent interaction time\n
\nFeature is a valid filter but not a valid grouping.
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average agent interruptions\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average agent interruption time\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average non-talk time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average queue answer time\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average resolution time\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average talk time\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average agent talk time\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Average customer talk time\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Cases created\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype, RoutingStepExpression
\nUI name: Contact abandoned\n
\nUnit: Count
\nValid metric filter key: INITIATION_METHOD
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts created\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Count
\nValid metric filter key: INITIATION_METHOD
,\n DISCONNECT_REASON
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype, RoutingStepExpression
\nUI name: API contacts handled\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Count
\nValid metric filter key: INITIATION_METHOD
\n
Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\n \nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts hold disconnect\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts hold agent disconnect\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts hold customer disconnect\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts put on hold\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts transferred out external\n
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contacts transferred out internal\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts queued\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts queued (enqueue timestamp)\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nThreshold: For ThresholdValue
enter any whole number from 1 to 604800\n (inclusive), in seconds. For Comparison
, you must enter LT
(for\n \"Less than\").
UI name: Contacts resolved in X\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts transferred out\n
\nFeature is a valid filter but not a valid grouping.
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts transferred out by agent\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contacts transferred out queue\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Current cases\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Maximum queued time\n
\nUnit: Percent
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Cases resolved on first contact\n
\nUnit: Percent
\nValid groupings and filters: Queue, RoutingStepExpression
\nUI name: Not available
\nUnit: Percent
\nValid groupings and filters: Queue, RoutingStepExpression
\nUI name: Not available
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Percentage
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Non-talk\n time percent\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Percentage
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Talk time\n percent\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Percentage
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Agent\n talk time percent\n
\nThis metric is available only for contacts analyzed by Contact Lens conversational\n analytics.
\nUnit: Percentage
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Customer talk time percent\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Cases reopened\n
\nUnit: Count
\nRequired filter key: CASE_TEMPLATE_ARN
\nValid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS
\nUI name: Cases resolved\n
\nYou can include up to 20 SERVICE_LEVEL metrics in a request.
\nUnit: Percent
\nValid groupings and filters: Queue, Channel, Routing Profile
\nThreshold: For ThresholdValue
, enter any whole number from 1 to 604800\n (inclusive), in seconds. For Comparison
, you must enter LT
(for\n \"Less than\").
UI name: Service level X\n
\nUnit: Count
\nValid groupings and filters: Queue, RoutingStepExpression
\nUI name: Not available
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: After\n contact work time\n
\nUnit: Seconds
\nValid metric filter key: INITIATION_METHOD
. This metric only supports the\n following filter keys as INITIATION_METHOD
: INBOUND
|\n OUTBOUND
| CALLBACK
| API
\n
Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent API connecting time\n
\nThe Negate
key in Metric Level Filters is not applicable for this\n metric.
Unit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contact flow time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent on contact time\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nThreshold: For ThresholdValue
, enter any whole number from 1 to 604800\n (inclusive), in seconds. For Comparison
, you must enter LT
(for\n \"Less than\").
UI name: Contacts answered in X seconds\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nThreshold: For ThresholdValue
, enter any whole number from 1 to 604800\n (inclusive), in seconds. For Comparison
, you must enter LT
(for\n \"Less than\").
UI name: Contacts abandoned in X seconds\n
\nValid metric filter key: DISCONNECT_REASON
\n
Unit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy,\n contact/segmentAttributes/connect:Subtype
\nUI name: Contact disconnected\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Error status time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Contact handle time\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Customer hold time\n
\nUnit: Seconds
\nValid groupings and filters: Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent idle time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent interaction and hold time\n
\nUnit: Seconds
\nValid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy
\nUI name: Agent interaction time\n
\nUnit: Seconds
\nValid groupings and filters: Routing Profile, Agent, Agent Hierarchy
\nUI name: Non-Productive Time\n
\nUnit: Seconds
\nValid groupings and filters: Routing Profile, Agent, Agent Hierarchy
\nUI name: Online time\n
\nUnit: Count
\nValid groupings and filters: Queue, Channel, Routing Profile,\n contact/segmentAttributes/connect:Subtype
\nUI name: Callback attempts\n
\nThe message about the request.
" } + }, + "Reason": { + "target": "com.amazonaws.connect#InvalidRequestExceptionReason" } }, "traits": { @@ -17507,6 +18169,20 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.connect#InvalidRequestExceptionReason": { + "type": "union", + "members": { + "AttachedFileInvalidRequestExceptionReason": { + "target": "com.amazonaws.connect#AttachedFileInvalidRequestExceptionReason", + "traits": { + "smithy.api#documentation": "Reason why the StartAttachedFiledUpload request was invalid.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Reason why the request was invalid.
" + } + }, "com.amazonaws.connect#InvisibleFieldInfo": { "type": "structure", "members": { @@ -22270,6 +22946,15 @@ "com.amazonaws.connect#Message": { "type": "string" }, + "com.amazonaws.connect#MetadataUrl": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2000 + } + } + }, "com.amazonaws.connect#MetricDataCollectionsV2": { "type": "list", "member": { @@ -30332,6 +31017,158 @@ } } }, + "com.amazonaws.connect#StartAttachedFileUpload": { + "type": "operation", + "input": { + "target": "com.amazonaws.connect#StartAttachedFileUploadRequest" + }, + "output": { + "target": "com.amazonaws.connect#StartAttachedFileUploadResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connect#AccessDeniedException" + }, + { + "target": "com.amazonaws.connect#InternalServiceException" + }, + { + "target": "com.amazonaws.connect#InvalidRequestException" + }, + { + "target": "com.amazonaws.connect#ResourceConflictException" + }, + { + "target": "com.amazonaws.connect#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connect#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "Provides a pre-signed Amazon S3 URL in response for uploading your content.
\nYou may only use this API to upload attachments to a Connect\n Case.
\nA unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. If not provided, the Amazon Web Services\n SDK populates this field. For more information about idempotency, see\n Making retries safe with idempotent APIs.
", + "smithy.api#idempotencyToken": {} + } + }, + "InstanceId": { + "target": "com.amazonaws.connect#InstanceId", + "traits": { + "smithy.api#documentation": "The unique identifier of the Connect instance.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "FileName": { + "target": "com.amazonaws.connect#FileName", + "traits": { + "smithy.api#documentation": "A case-sensitive name of the attached file being uploaded.
", + "smithy.api#required": {} + } + }, + "FileSizeInBytes": { + "target": "com.amazonaws.connect#FileSizeInBytes", + "traits": { + "smithy.api#documentation": "The size of the attached file in bytes.
", + "smithy.api#required": {} + } + }, + "UrlExpiryInSeconds": { + "target": "com.amazonaws.connect#URLExpiryInSeconds", + "traits": { + "smithy.api#documentation": "Optional override for the expiry of the pre-signed S3 URL in seconds.
" + } + }, + "FileUseCaseType": { + "target": "com.amazonaws.connect#FileUseCaseType", + "traits": { + "smithy.api#documentation": "The use case for the file.
", + "smithy.api#required": {} + } + }, + "AssociatedResourceArn": { + "target": "com.amazonaws.connect#ARN", + "traits": { + "smithy.api#documentation": "The resource to which the attached file is (being) uploaded to. Cases are the only\n current supported resource.
\nThis value must be a valid ARN.
\nRepresents the identity that created the file.
" + } + }, + "Tags": { + "target": "com.amazonaws.connect#TagMap", + "traits": { + "smithy.api#documentation": "The tags used to organize, track, or control access for this resource. For example, {\n \"Tags\": {\"key1\":\"value1\", \"key2\":\"value2\"} }
.
The unique identifier of the attached file resource (ARN).
" + } + }, + "FileId": { + "target": "com.amazonaws.connect#FileId", + "traits": { + "smithy.api#documentation": "The unique identifier of the attached file resource.
" + } + }, + "CreationTime": { + "target": "com.amazonaws.connect#ISO8601Datetime", + "traits": { + "smithy.api#documentation": "The time of Creation of the file resource as an ISO timestamp. It's specified in ISO 8601\n format: yyyy-MM-ddThh:mm:ss.SSSZ
. For example,\n 2024-05-03T02:41:28.172Z
.
The current status of the attached file.
" + } + }, + "CreatedBy": { + "target": "com.amazonaws.connect#CreatedByInfo", + "traits": { + "smithy.api#documentation": "Represents the identity that created the file.
" + } + }, + "UploadUrlMetadata": { + "target": "com.amazonaws.connect#UploadUrlMetadata", + "traits": { + "smithy.api#documentation": "Information to be used while uploading the attached file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Response from StartAttachedFileUpload API.", + "smithy.api#output": {} + } + }, "com.amazonaws.connect#StartChatContact": { "type": "operation", "input": { @@ -32954,6 +33791,15 @@ } } }, + "com.amazonaws.connect#URLExpiryInSeconds": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 5, + "max": 300 + } + } + }, "com.amazonaws.connect#Unit": { "type": "enum", "members": { @@ -33313,7 +34159,7 @@ "Attributes": { "target": "com.amazonaws.connect#Attributes", "traits": { - "smithy.api#documentation": "The Amazon Connect attributes. These attributes can be accessed in flows just like any\n other contact attributes.
\nYou can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys\n can include only alphanumeric, dash, and underscore characters.
", + "smithy.api#documentation": "The Amazon Connect attributes. These attributes can be accessed in flows just like any\n other contact attributes.
\nYou can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys\n can include only alphanumeric, dash, and underscore characters.
\nWhen the attributes for a contact exceed 32 KB, the contact is routed down the Error branch\n of the flow. As a mitigation, consider the following options:
\nRemove unnecessary attributes by setting their values to empty.
\nIf the attributes are only used in one flow and don't need to be referred to outside of\n that flow (for example, by a Lambda or another flow), then use flow attributes. This way you\n aren't needlessly persisting the 32 KB of information from one flow to another. For more\n information, see Flow block: Set contact\n attributes in the Amazon Connect Administrator Guide.
\nA pre-signed S3 URL that should be used for uploading the attached file.
" + } + }, + "UrlExpiry": { + "target": "com.amazonaws.connect#ISO8601Datetime", + "traits": { + "smithy.api#documentation": "The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format:\n yyyy-MM-ddThh:mm:ss.SSSZ
. For example,\n 2019-11-08T02:41:28.172Z
.
A map of headers that should be provided when uploading the attached file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Fields required when uploading an attached file.
" + } + }, "com.amazonaws.connect#Url": { "type": "string" }, + "com.amazonaws.connect#UrlMetadataSignedHeaders": { + "type": "map", + "key": { + "target": "com.amazonaws.connect#UrlMetadataSignedHeadersKey" + }, + "value": { + "target": "com.amazonaws.connect#UrlMetadataSignedHeadersValue" + } + }, + "com.amazonaws.connect#UrlMetadataSignedHeadersKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.connect#UrlMetadataSignedHeadersValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, "com.amazonaws.connect#UrlReference": { "type": "structure", "members": {