Skip to content

Commit 1155c3c

Browse files
author
awstools
committed
feat(client-connectcampaignsv2): This release added support for ring timer configuration for campaign calls.
1 parent 2ee0c3f commit 1155c3c

File tree

7 files changed

+37
-4
lines changed

7 files changed

+37
-4
lines changed

clients/client-connectcampaignsv2/src/commands/CreateCampaignCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export interface CreateCampaignCommandOutput extends CreateCampaignResponse, __M
7272
* enableAnswerMachineDetection: true || false, // required
7373
* awaitAnswerMachinePrompt: true || false,
7474
* },
75+
* ringTimeout: Number("int"),
7576
* },
7677
* },
7778
* sms: { // SmsChannelSubtypeConfig

clients/client-connectcampaignsv2/src/commands/DescribeCampaignCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export interface DescribeCampaignCommandOutput extends DescribeCampaignResponse,
8080
* // enableAnswerMachineDetection: true || false, // required
8181
* // awaitAnswerMachinePrompt: true || false,
8282
* // },
83+
* // ringTimeout: Number("int"),
8384
* // },
8485
* // },
8586
* // sms: { // SmsChannelSubtypeConfig

clients/client-connectcampaignsv2/src/commands/PutOutboundRequestBatchCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export interface PutOutboundRequestBatchCommandOutput extends PutOutboundRequest
5757
* enableAnswerMachineDetection: true || false, // required
5858
* awaitAnswerMachinePrompt: true || false,
5959
* },
60+
* ringTimeout: Number("int"),
6061
* },
6162
* sms: { // SmsChannelSubtypeParameters
6263
* destinationPhoneNumber: "STRING_VALUE", // required

clients/client-connectcampaignsv2/src/commands/UpdateCampaignChannelSubtypeConfigCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export interface UpdateCampaignChannelSubtypeConfigCommandOutput extends __Metad
7171
* enableAnswerMachineDetection: true || false, // required
7272
* awaitAnswerMachinePrompt: true || false,
7373
* },
74+
* ringTimeout: Number("int"),
7475
* },
7576
* },
7677
* sms: { // SmsChannelSubtypeConfig

clients/client-connectcampaignsv2/src/models/models_0.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ export interface TelephonyOutboundConfig {
222222
* @public
223223
*/
224224
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
225+
226+
/**
227+
* Ring timeout for outbound calls
228+
* @public
229+
*/
230+
ringTimeout?: number | undefined;
225231
}
226232

227233
/**
@@ -2141,6 +2147,12 @@ export interface TelephonyChannelSubtypeParameters {
21412147
* @public
21422148
*/
21432149
answerMachineDetectionConfig?: AnswerMachineDetectionConfig | undefined;
2150+
2151+
/**
2152+
* Ring timeout for outbound calls
2153+
* @public
2154+
*/
2155+
ringTimeout?: number | undefined;
21442156
}
21452157

21462158
/**

clients/client-connectcampaignsv2/src/schemas/schemas_0.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ const _qC = "qConnect";
257257
const _rF = "refreshFrequency";
258258
const _rP = "restrictedPeriods";
259259
const _rPL = "restrictedPeriodList";
260+
const _rT = "ringTimeout";
260261
const _s = "source";
261262
const _sD = "startDate";
262263
const _sEADN = "sourceEmailAddressDisplayName";
@@ -862,16 +863,16 @@ export var TelephonyChannelSubtypeParameters: StaticStructureSchema = [
862863
n0,
863864
_TCSP,
864865
0,
865-
[_dPN, _at, _cSPN, _aMDC],
866-
[[() => DestinationPhoneNumber, 0], [() => Attributes, 0], 0, () => AnswerMachineDetectionConfig],
866+
[_dPN, _at, _cSPN, _aMDC, _rT],
867+
[[() => DestinationPhoneNumber, 0], [() => Attributes, 0], 0, () => AnswerMachineDetectionConfig, 1],
867868
];
868869
export var TelephonyOutboundConfig: StaticStructureSchema = [
869870
3,
870871
n0,
871872
_TOC,
872873
0,
873-
[_cCFI, _cSPN, _aMDC],
874-
[0, 0, () => AnswerMachineDetectionConfig],
874+
[_cCFI, _cSPN, _aMDC, _rT],
875+
[0, 0, () => AnswerMachineDetectionConfig, 1],
875876
];
876877
export var ThrottlingException: StaticErrorSchema = [
877878
-3,

codegen/sdk-codegen/aws-models/connectcampaignsv2.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3974,6 +3974,16 @@
39743974
"smithy.api#input": {}
39753975
}
39763976
},
3977+
"com.amazonaws.connectcampaignsv2#RingTimeout": {
3978+
"type": "integer",
3979+
"traits": {
3980+
"smithy.api#documentation": "Ring timeout for outbound calls",
3981+
"smithy.api#range": {
3982+
"min": 15,
3983+
"max": 60
3984+
}
3985+
}
3986+
},
39773987
"com.amazonaws.connectcampaignsv2#Schedule": {
39783988
"type": "structure",
39793989
"members": {
@@ -4541,6 +4551,9 @@
45414551
},
45424552
"answerMachineDetectionConfig": {
45434553
"target": "com.amazonaws.connectcampaignsv2#AnswerMachineDetectionConfig"
4554+
},
4555+
"ringTimeout": {
4556+
"target": "com.amazonaws.connectcampaignsv2#RingTimeout"
45444557
}
45454558
},
45464559
"traits": {
@@ -4561,6 +4574,9 @@
45614574
},
45624575
"answerMachineDetectionConfig": {
45634576
"target": "com.amazonaws.connectcampaignsv2#AnswerMachineDetectionConfig"
4577+
},
4578+
"ringTimeout": {
4579+
"target": "com.amazonaws.connectcampaignsv2#RingTimeout"
45644580
}
45654581
},
45664582
"traits": {

0 commit comments

Comments
 (0)