Skip to content

Commit

Permalink
feat(aws-android-sdk-connect): update models to latest (#3040)
Browse files Browse the repository at this point in the history
Co-authored-by: dengdan154 <[email protected]>
  • Loading branch information
awsmobilesdk and dengdan154 authored Oct 20, 2022
1 parent 3ab0b6e commit ddfed29
Show file tree
Hide file tree
Showing 94 changed files with 11,696 additions and 433 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,19 @@
* Associates a flow with a phone number claimed to your Amazon Connect
* instance.
* </p>
* <important>
* <p>
* If the number is claimed to a traffic distribution group, and you are calling
* this API using an instance in the Amazon Web Services Region where the
* traffic distribution group was created, you can use either a full phone
* number ARN or UUID value for the <code>PhoneNumberId</code> URI request
* parameter. However, if the number is claimed to a traffic distribution group
* and you are calling this API using an instance in the alternate Amazon Web
* Services Region associated with the traffic distribution group, you must
* provide a full phone number ARN. If a UUID is provided in this scenario, you
* will receive a <code>ResourceNotFoundException</code>.
* </p>
* </important>
*/
public class AssociatePhoneNumberContactFlowRequest extends AmazonWebServiceRequest implements
Serializable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,26 @@

/**
* <p>
* Claims an available phone number to your Amazon Connect instance.
* Claims an available phone number to your Amazon Connect instance or traffic
* distribution group. You can call this API only in the same Amazon Web
* Services Region where the Amazon Connect instance or traffic distribution
* group was created.
* </p>
* <important>
* <p>
* You can call the <a href=
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html"
* >ClaimPhoneNumber</a> operation.
* </p>
* </important>
*/
public class ClaimPhoneNumberRequest extends AmazonWebServiceRequest implements Serializable {
/**
* <p>
* The Amazon Resource Name (ARN) for Amazon Connect instances that phone
* numbers are claimed to.
* The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
* distribution groups that phone numbers are claimed to.
* </p>
*/
private String targetArn;
Expand Down Expand Up @@ -66,7 +78,11 @@ public class ClaimPhoneNumberRequest extends AmazonWebServiceRequest implements
/**
* <p>
* A unique, case-sensitive identifier that you provide to ensure the
* idempotency of the request.
* idempotency of the request. If not provided, the Amazon Web Services SDK
* populates this field. For more information about idempotency, see <a
* href=
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
* >Making retries safe with idempotent APIs</a>.
* </p>
* <p>
* <b>Constraints:</b><br/>
Expand All @@ -76,13 +92,13 @@ public class ClaimPhoneNumberRequest extends AmazonWebServiceRequest implements

/**
* <p>
* The Amazon Resource Name (ARN) for Amazon Connect instances that phone
* numbers are claimed to.
* The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
* distribution groups that phone numbers are claimed to.
* </p>
*
* @return <p>
* The Amazon Resource Name (ARN) for Amazon Connect instances that
* phone numbers are claimed to.
* The Amazon Resource Name (ARN) for Amazon Connect instances or
* traffic distribution groups that phone numbers are claimed to.
* </p>
*/
public String getTargetArn() {
Expand All @@ -91,13 +107,13 @@ public String getTargetArn() {

/**
* <p>
* The Amazon Resource Name (ARN) for Amazon Connect instances that phone
* numbers are claimed to.
* The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
* distribution groups that phone numbers are claimed to.
* </p>
*
* @param targetArn <p>
* The Amazon Resource Name (ARN) for Amazon Connect instances
* that phone numbers are claimed to.
* The Amazon Resource Name (ARN) for Amazon Connect instances or
* traffic distribution groups that phone numbers are claimed to.
* </p>
*/
public void setTargetArn(String targetArn) {
Expand All @@ -106,16 +122,16 @@ public void setTargetArn(String targetArn) {

/**
* <p>
* The Amazon Resource Name (ARN) for Amazon Connect instances that phone
* numbers are claimed to.
* The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
* distribution groups that phone numbers are claimed to.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param targetArn <p>
* The Amazon Resource Name (ARN) for Amazon Connect instances
* that phone numbers are claimed to.
* The Amazon Resource Name (ARN) for Amazon Connect instances or
* traffic distribution groups that phone numbers are claimed to.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down Expand Up @@ -340,15 +356,23 @@ public ClaimPhoneNumberRequest clearTagsEntries() {
/**
* <p>
* A unique, case-sensitive identifier that you provide to ensure the
* idempotency of the request.
* idempotency of the request. If not provided, the Amazon Web Services SDK
* populates this field. For more information about idempotency, see <a
* href=
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
* >Making retries safe with idempotent APIs</a>.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b> - 500<br/>
*
* @return <p>
* A unique, case-sensitive identifier that you provide to ensure
* the idempotency of the request.
* the idempotency of the request. If not provided, the Amazon Web
* Services SDK populates this field. For more information about
* idempotency, see <a href=
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
* >Making retries safe with idempotent APIs</a>.
* </p>
*/
public String getClientToken() {
Expand All @@ -358,15 +382,23 @@ public String getClientToken() {
/**
* <p>
* A unique, case-sensitive identifier that you provide to ensure the
* idempotency of the request.
* idempotency of the request. If not provided, the Amazon Web Services SDK
* populates this field. For more information about idempotency, see <a
* href=
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
* >Making retries safe with idempotent APIs</a>.
* </p>
* <p>
* <b>Constraints:</b><br/>
* <b>Length: </b> - 500<br/>
*
* @param clientToken <p>
* A unique, case-sensitive identifier that you provide to ensure
* the idempotency of the request.
* the idempotency of the request. If not provided, the Amazon
* Web Services SDK populates this field. For more information
* about idempotency, see <a href=
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
* >Making retries safe with idempotent APIs</a>.
* </p>
*/
public void setClientToken(String clientToken) {
Expand All @@ -376,7 +408,11 @@ public void setClientToken(String clientToken) {
/**
* <p>
* A unique, case-sensitive identifier that you provide to ensure the
* idempotency of the request.
* idempotency of the request. If not provided, the Amazon Web Services SDK
* populates this field. For more information about idempotency, see <a
* href=
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
* >Making retries safe with idempotent APIs</a>.
* </p>
* <p>
* Returns a reference to this object so that method calls can be chained
Expand All @@ -387,7 +423,11 @@ public void setClientToken(String clientToken) {
*
* @param clientToken <p>
* A unique, case-sensitive identifier that you provide to ensure
* the idempotency of the request.
* the idempotency of the request. If not provided, the Amazon
* Web Services SDK populates this field. For more information
* about idempotency, see <a href=
* "https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/"
* >Making retries safe with idempotent APIs</a>.
* </p>
* @return A reference to this updated object so that method calls can be
* chained together.
Expand Down
Loading

0 comments on commit ddfed29

Please sign in to comment.