Skip to content

Commit

Permalink
feat(client-connectcampaigns): This release adds support for specifyi…
Browse files Browse the repository at this point in the history
…ng if Answering Machine should wait for prompt sound.
  • Loading branch information
awstools committed Apr 26, 2024
1 parent 27a9b33 commit 3235950
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
* connectQueueId: "STRING_VALUE",
* answerMachineDetectionConfig: { // AnswerMachineDetectionConfig
* enableAnswerMachineDetection: true || false, // required
* awaitAnswerMachinePrompt: true || false,
* },
* },
* tags: { // TagMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export interface DescribeCampaignCommandOutput extends DescribeCampaignResponse,
* // connectQueueId: "STRING_VALUE",
* // answerMachineDetectionConfig: { // AnswerMachineDetectionConfig
* // enableAnswerMachineDetection: true || false, // required
* // awaitAnswerMachinePrompt: true || false,
* // },
* // },
* // tags: { // TagMap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export interface UpdateCampaignOutboundCallConfigCommandOutput extends __Metadat
* connectSourcePhoneNumber: "STRING_VALUE",
* answerMachineDetectionConfig: { // AnswerMachineDetectionConfig
* enableAnswerMachineDetection: true || false, // required
* awaitAnswerMachinePrompt: true || false,
* },
* };
* const command = new UpdateCampaignOutboundCallConfigCommand(input);
Expand Down
6 changes: 6 additions & 0 deletions clients/client-connectcampaigns/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@ export interface AnswerMachineDetectionConfig {
* @public
*/
enableAnswerMachineDetection: boolean | undefined;

/**
* Enable or disable await answer machine prompt
* @public
*/
awaitAnswerMachinePrompt?: boolean;
}

/**
Expand Down
7 changes: 7 additions & 0 deletions codegen/sdk-codegen/aws-models/connectcampaigns.json
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,13 @@
"smithy.api#documentation": "Enable or disable answering machine detection",
"smithy.api#required": {}
}
},
"awaitAnswerMachinePrompt": {
"target": "smithy.api#Boolean",
"traits": {
"smithy.api#default": null,
"smithy.api#documentation": "Enable or disable await answer machine prompt"
}
}
},
"traits": {
Expand Down

0 comments on commit 3235950

Please sign in to comment.