From b1c19ad55e9da45dabdd85315a2a7543a9e5c7b5 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 17 Nov 2023 20:13:25 +0000 Subject: [PATCH] feat(client-connect): This release adds WISDOM_QUICK_RESPONSES as new IntegrationType of Connect IntegrationAssociation resource and bug fixes. --- .../src/commands/BatchGetFlowAssociationCommand.ts | 4 ++-- .../commands/CreateIntegrationAssociationCommand.ts | 2 +- .../commands/ListIntegrationAssociationsCommand.ts | 4 ++-- clients/client-connect/src/models/models_0.ts | 2 +- codegen/sdk-codegen/aws-models/connect.json | 12 ++++++------ 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/clients/client-connect/src/commands/BatchGetFlowAssociationCommand.ts b/clients/client-connect/src/commands/BatchGetFlowAssociationCommand.ts index 7d9bcb411bcd..a5a431bad502 100644 --- a/clients/client-connect/src/commands/BatchGetFlowAssociationCommand.ts +++ b/clients/client-connect/src/commands/BatchGetFlowAssociationCommand.ts @@ -49,7 +49,7 @@ export interface BatchGetFlowAssociationCommandOutput extends BatchGetFlowAssoci * ResourceIds: [ // resourceArnListMaxLimit100 // required * "STRING_VALUE", * ], - * ResourceType: "SMS_PHONE_NUMBER" || "VOICE_PHONE_NUMBER", + * ResourceType: "VOICE_PHONE_NUMBER", * }; * const command = new BatchGetFlowAssociationCommand(input); * const response = await client.send(command); @@ -58,7 +58,7 @@ export interface BatchGetFlowAssociationCommandOutput extends BatchGetFlowAssoci * // { // FlowAssociationSummary * // ResourceId: "STRING_VALUE", * // FlowId: "STRING_VALUE", - * // ResourceType: "SMS_PHONE_NUMBER" || "VOICE_PHONE_NUMBER", + * // ResourceType: "VOICE_PHONE_NUMBER", * // }, * // ], * // }; diff --git a/clients/client-connect/src/commands/CreateIntegrationAssociationCommand.ts b/clients/client-connect/src/commands/CreateIntegrationAssociationCommand.ts index 2572810cdccf..d12e87b92338 100644 --- a/clients/client-connect/src/commands/CreateIntegrationAssociationCommand.ts +++ b/clients/client-connect/src/commands/CreateIntegrationAssociationCommand.ts @@ -52,7 +52,7 @@ export interface CreateIntegrationAssociationCommandOutput * const client = new ConnectClient(config); * const input = { // CreateIntegrationAssociationRequest * InstanceId: "STRING_VALUE", // required - * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER", // required + * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER", // required * IntegrationArn: "STRING_VALUE", // required * SourceApplicationUrl: "STRING_VALUE", * SourceApplicationName: "STRING_VALUE", diff --git a/clients/client-connect/src/commands/ListIntegrationAssociationsCommand.ts b/clients/client-connect/src/commands/ListIntegrationAssociationsCommand.ts index d2e8d1311c9f..e34e93538fa5 100644 --- a/clients/client-connect/src/commands/ListIntegrationAssociationsCommand.ts +++ b/clients/client-connect/src/commands/ListIntegrationAssociationsCommand.ts @@ -52,7 +52,7 @@ export interface ListIntegrationAssociationsCommandOutput * const client = new ConnectClient(config); * const input = { // ListIntegrationAssociationsRequest * InstanceId: "STRING_VALUE", // required - * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER", + * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * IntegrationArn: "STRING_VALUE", @@ -65,7 +65,7 @@ export interface ListIntegrationAssociationsCommandOutput * // IntegrationAssociationId: "STRING_VALUE", * // IntegrationAssociationArn: "STRING_VALUE", * // InstanceId: "STRING_VALUE", - * // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER", + * // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER", * // IntegrationArn: "STRING_VALUE", * // SourceApplicationUrl: "STRING_VALUE", * // SourceApplicationName: "STRING_VALUE", diff --git a/clients/client-connect/src/models/models_0.ts b/clients/client-connect/src/models/models_0.ts index edcb11bdc9ae..45cba5b083ab 100644 --- a/clients/client-connect/src/models/models_0.ts +++ b/clients/client-connect/src/models/models_0.ts @@ -1235,7 +1235,6 @@ export interface AssociateTrafficDistributionGroupUserResponse {} * @enum */ export const ListFlowAssociationResourceType = { - SMS_PHONE_NUMBER: "SMS_PHONE_NUMBER", VOICE_PHONE_NUMBER: "VOICE_PHONE_NUMBER", } as const; @@ -2591,6 +2590,7 @@ export const IntegrationType = { VOICE_ID: "VOICE_ID", WISDOM_ASSISTANT: "WISDOM_ASSISTANT", WISDOM_KNOWLEDGE_BASE: "WISDOM_KNOWLEDGE_BASE", + WISDOM_QUICK_RESPONSES: "WISDOM_QUICK_RESPONSES", } as const; /** diff --git a/codegen/sdk-codegen/aws-models/connect.json b/codegen/sdk-codegen/aws-models/connect.json index 7621b179f79d..d6c3b49c9fc2 100644 --- a/codegen/sdk-codegen/aws-models/connect.json +++ b/codegen/sdk-codegen/aws-models/connect.json @@ -15340,6 +15340,12 @@ "smithy.api#enumValue": "WISDOM_KNOWLEDGE_BASE" } }, + "WISDOM_QUICK_RESPONSES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WISDOM_QUICK_RESPONSES" + } + }, "CASES_DOMAIN": { "target": "smithy.api#Unit", "traits": { @@ -16651,12 +16657,6 @@ "com.amazonaws.connect#ListFlowAssociationResourceType": { "type": "enum", "members": { - "SMS_PHONE_NUMBER": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "SMS_PHONE_NUMBER" - } - }, "VOICE_PHONE_NUMBER": { "target": "smithy.api#Unit", "traits": {