From 84ca8491fd315ecbd30de2b76b4af6918e332632 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 26 May 2023 18:12:12 +0000 Subject: [PATCH] feat(client-connect): Documentation update for a new Initiation Method value in DescribeContact API --- .../client-connect/src/commands/DescribeContactCommand.ts | 2 +- .../src/commands/GetCurrentUserDataCommand.ts | 2 +- clients/client-connect/src/models/models_0.ts | 1 + codegen/sdk-codegen/aws-models/connect.json | 6 ++++++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/clients/client-connect/src/commands/DescribeContactCommand.ts b/clients/client-connect/src/commands/DescribeContactCommand.ts index 6c3705daa39c..9eea70bf8e66 100644 --- a/clients/client-connect/src/commands/DescribeContactCommand.ts +++ b/clients/client-connect/src/commands/DescribeContactCommand.ts @@ -62,7 +62,7 @@ export interface DescribeContactCommandOutput extends DescribeContactResponse, _ * // Id: "STRING_VALUE", * // InitialContactId: "STRING_VALUE", * // PreviousContactId: "STRING_VALUE", - * // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR", + * // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Channel: "VOICE" || "CHAT" || "TASK", diff --git a/clients/client-connect/src/commands/GetCurrentUserDataCommand.ts b/clients/client-connect/src/commands/GetCurrentUserDataCommand.ts index aec4394d190a..80ec2ee6738e 100644 --- a/clients/client-connect/src/commands/GetCurrentUserDataCommand.ts +++ b/clients/client-connect/src/commands/GetCurrentUserDataCommand.ts @@ -121,7 +121,7 @@ export interface GetCurrentUserDataCommandOutput extends GetCurrentUserDataRespo * // { // AgentContactReference * // ContactId: "STRING_VALUE", * // Channel: "VOICE" || "CHAT" || "TASK", - * // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR", + * // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND", * // AgentContactState: "INCOMING" || "PENDING" || "CONNECTING" || "CONNECTED" || "CONNECTED_ONHOLD" || "MISSED" || "ERROR" || "ENDED" || "REJECTED", * // StateStartTimestamp: new Date("TIMESTAMP"), * // ConnectedToAgentTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-connect/src/models/models_0.ts b/clients/client-connect/src/models/models_0.ts index 9a616e2e2919..3a241c238e66 100644 --- a/clients/client-connect/src/models/models_0.ts +++ b/clients/client-connect/src/models/models_0.ts @@ -256,6 +256,7 @@ export const ContactInitiationMethod = { API: "API", CALLBACK: "CALLBACK", DISCONNECT: "DISCONNECT", + EXTERNAL_OUTBOUND: "EXTERNAL_OUTBOUND", INBOUND: "INBOUND", MONITOR: "MONITOR", OUTBOUND: "OUTBOUND", diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index 00c1ade17669..665f8aad4c16 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -3783,6 +3783,12 @@ "traits": { "smithy.api#enumValue": "MONITOR" } + }, + "EXTERNAL_OUTBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXTERNAL_OUTBOUND" + } } } },