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 */
2739public 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