Skip to content

Commit ddfed29

Browse files
feat(aws-android-sdk-connect): update models to latest (#3040)
Co-authored-by: dengdan154 <[email protected]>
1 parent 3ab0b6e commit ddfed29

File tree

94 files changed

+11696
-433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+11696
-433
lines changed

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnect.java

Lines changed: 356 additions & 7 deletions
Large diffs are not rendered by default.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsync.java

Lines changed: 749 additions & 14 deletions
Large diffs are not rendered by default.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectAsyncClient.java

Lines changed: 861 additions & 14 deletions
Large diffs are not rendered by default.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/AmazonConnectClient.java

Lines changed: 547 additions & 7 deletions
Large diffs are not rendered by default.

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AssociatePhoneNumberContactFlowRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@
2424
* Associates a flow with a phone number claimed to your Amazon Connect
2525
* instance.
2626
* </p>
27+
* <important>
28+
* <p>
29+
* If the number is claimed to a traffic distribution group, and you are calling
30+
* this API using an instance in the Amazon Web Services Region where the
31+
* traffic distribution group was created, you can use either a full phone
32+
* number ARN or UUID value for the <code>PhoneNumberId</code> URI request
33+
* parameter. However, if the number is claimed to a traffic distribution group
34+
* and you are calling this API using an instance in the alternate Amazon Web
35+
* Services Region associated with the traffic distribution group, you must
36+
* provide a full phone number ARN. If a UUID is provided in this scenario, you
37+
* will receive a <code>ResourceNotFoundException</code>.
38+
* </p>
39+
* </important>
2740
*/
2841
public class AssociatePhoneNumberContactFlowRequest extends AmazonWebServiceRequest implements
2942
Serializable {

aws-android-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ClaimPhoneNumberRequest.java

Lines changed: 62 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,26 @@
2121

2222
/**
2323
* <p>
24-
* Claims an available phone number to your Amazon Connect instance.
24+
* Claims an available phone number to your Amazon Connect instance or traffic
25+
* distribution group. You can call this API only in the same Amazon Web
26+
* Services Region where the Amazon Connect instance or traffic distribution
27+
* group was created.
2528
* </p>
29+
* <important>
30+
* <p>
31+
* You can call the <a href=
32+
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
33+
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=
34+
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html"
35+
* >ClaimPhoneNumber</a> operation.
36+
* </p>
37+
* </important>
2638
*/
2739
public class ClaimPhoneNumberRequest extends AmazonWebServiceRequest implements Serializable {
2840
/**
2941
* <p>
30-
* The Amazon Resource Name (ARN) for Amazon Connect instances that phone
31-
* numbers are claimed to.
42+
* The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
43+
* distribution groups that phone numbers are claimed to.
3244
* </p>
3345
*/
3446
private String targetArn;
@@ -66,7 +78,11 @@ public class ClaimPhoneNumberRequest extends AmazonWebServiceRequest implements
6678
/**
6779
* <p>
6880
* A unique, case-sensitive identifier that you provide to ensure the
69-
* idempotency of the request.
81+
* idempotency of the request. If not provided, the Amazon Web Services SDK
82+
* populates this field. For more information about idempotency, see <a
83+
* href=
84+
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
85+
* >Making retries safe with idempotent APIs</a>.
7086
* </p>
7187
* <p>
7288
* <b>Constraints:</b><br/>
@@ -76,13 +92,13 @@ public class ClaimPhoneNumberRequest extends AmazonWebServiceRequest implements
7692

7793
/**
7894
* <p>
79-
* The Amazon Resource Name (ARN) for Amazon Connect instances that phone
80-
* numbers are claimed to.
95+
* The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
96+
* distribution groups that phone numbers are claimed to.
8197
* </p>
8298
*
8399
* @return <p>
84-
* The Amazon Resource Name (ARN) for Amazon Connect instances that
85-
* phone numbers are claimed to.
100+
* The Amazon Resource Name (ARN) for Amazon Connect instances or
101+
* traffic distribution groups that phone numbers are claimed to.
86102
* </p>
87103
*/
88104
public String getTargetArn() {
@@ -91,13 +107,13 @@ public String getTargetArn() {
91107

92108
/**
93109
* <p>
94-
* The Amazon Resource Name (ARN) for Amazon Connect instances that phone
95-
* numbers are claimed to.
110+
* The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
111+
* distribution groups that phone numbers are claimed to.
96112
* </p>
97113
*
98114
* @param targetArn <p>
99-
* The Amazon Resource Name (ARN) for Amazon Connect instances
100-
* that phone numbers are claimed to.
115+
* The Amazon Resource Name (ARN) for Amazon Connect instances or
116+
* traffic distribution groups that phone numbers are claimed to.
101117
* </p>
102118
*/
103119
public void setTargetArn(String targetArn) {
@@ -106,16 +122,16 @@ public void setTargetArn(String targetArn) {
106122

107123
/**
108124
* <p>
109-
* The Amazon Resource Name (ARN) for Amazon Connect instances that phone
110-
* numbers are claimed to.
125+
* The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
126+
* distribution groups that phone numbers are claimed to.
111127
* </p>
112128
* <p>
113129
* Returns a reference to this object so that method calls can be chained
114130
* together.
115131
*
116132
* @param targetArn <p>
117-
* The Amazon Resource Name (ARN) for Amazon Connect instances
118-
* that phone numbers are claimed to.
133+
* The Amazon Resource Name (ARN) for Amazon Connect instances or
134+
* traffic distribution groups that phone numbers are claimed to.
119135
* </p>
120136
* @return A reference to this updated object so that method calls can be
121137
* chained together.
@@ -340,15 +356,23 @@ public ClaimPhoneNumberRequest clearTagsEntries() {
340356
/**
341357
* <p>
342358
* A unique, case-sensitive identifier that you provide to ensure the
343-
* idempotency of the request.
359+
* idempotency of the request. If not provided, the Amazon Web Services SDK
360+
* populates this field. For more information about idempotency, see <a
361+
* href=
362+
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
363+
* >Making retries safe with idempotent APIs</a>.
344364
* </p>
345365
* <p>
346366
* <b>Constraints:</b><br/>
347367
* <b>Length: </b> - 500<br/>
348368
*
349369
* @return <p>
350370
* A unique, case-sensitive identifier that you provide to ensure
351-
* the idempotency of the request.
371+
* the idempotency of the request. If not provided, the Amazon Web
372+
* Services SDK populates this field. For more information about
373+
* idempotency, see <a href=
374+
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
375+
* >Making retries safe with idempotent APIs</a>.
352376
* </p>
353377
*/
354378
public String getClientToken() {
@@ -358,15 +382,23 @@ public String getClientToken() {
358382
/**
359383
* <p>
360384
* A unique, case-sensitive identifier that you provide to ensure the
361-
* idempotency of the request.
385+
* idempotency of the request. If not provided, the Amazon Web Services SDK
386+
* populates this field. For more information about idempotency, see <a
387+
* href=
388+
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
389+
* >Making retries safe with idempotent APIs</a>.
362390
* </p>
363391
* <p>
364392
* <b>Constraints:</b><br/>
365393
* <b>Length: </b> - 500<br/>
366394
*
367395
* @param clientToken <p>
368396
* A unique, case-sensitive identifier that you provide to ensure
369-
* the idempotency of the request.
397+
* the idempotency of the request. If not provided, the Amazon
398+
* Web Services SDK populates this field. For more information
399+
* about idempotency, see <a href=
400+
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
401+
* >Making retries safe with idempotent APIs</a>.
370402
* </p>
371403
*/
372404
public void setClientToken(String clientToken) {
@@ -376,7 +408,11 @@ public void setClientToken(String clientToken) {
376408
/**
377409
* <p>
378410
* A unique, case-sensitive identifier that you provide to ensure the
379-
* idempotency of the request.
411+
* idempotency of the request. If not provided, the Amazon Web Services SDK
412+
* populates this field. For more information about idempotency, see <a
413+
* href=
414+
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
415+
* >Making retries safe with idempotent APIs</a>.
380416
* </p>
381417
* <p>
382418
* Returns a reference to this object so that method calls can be chained
@@ -387,7 +423,11 @@ public void setClientToken(String clientToken) {
387423
*
388424
* @param clientToken <p>
389425
* A unique, case-sensitive identifier that you provide to ensure
390-
* the idempotency of the request.
426+
* the idempotency of the request. If not provided, the Amazon
427+
* Web Services SDK populates this field. For more information
428+
* about idempotency, see <a href=
429+
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
430+
* >Making retries safe with idempotent APIs</a>.
391431
* </p>
392432
* @return A reference to this updated object so that method calls can be
393433
* chained together.

0 commit comments

Comments
 (0)