Skip to content

Commit 6d8997a

Browse files
feat(aws-android-sdk-connect): update models to latest (#3193)
Co-authored-by: Thomas Leing <[email protected]>
1 parent 14d7a3d commit 6d8997a

File tree

12 files changed

+380
-8
lines changed

12 files changed

+380
-8
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,8 @@ void associateLambdaFunction(AssociateLambdaFunctionRequest associateLambdaFunct
267267
* </p>
268268
* <p>
269269
* Allows the specified Amazon Connect instance to access the specified
270-
* Amazon Lex bot.
270+
* Amazon Lex V1 bot. This API only supports the association of Amazon Lex
271+
* V1 bots.
271272
* </p>
272273
*
273274
* @param associateLexBotRequest

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,8 @@ Future<Void> associateLambdaFunctionAsync(
410410
* </p>
411411
* <p>
412412
* Allows the specified Amazon Connect instance to access the specified
413-
* Amazon Lex bot.
413+
* Amazon Lex V1 bot. This API only supports the association of Amazon Lex
414+
* V1 bots.
414415
* </p>
415416
*
416417
* @param associateLexBotRequest
@@ -441,7 +442,8 @@ Future<Void> associateLexBotAsync(AssociateLexBotRequest associateLexBotRequest)
441442
* </p>
442443
* <p>
443444
* Allows the specified Amazon Connect instance to access the specified
444-
* Amazon Lex bot.
445+
* Amazon Lex V1 bot. This API only supports the association of Amazon Lex
446+
* V1 bots.
445447
* </p>
446448
*
447449
* @param associateLexBotRequest

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,8 @@ public Void call() throws Exception {
719719
* </p>
720720
* <p>
721721
* Allows the specified Amazon Connect instance to access the specified
722-
* Amazon Lex bot.
722+
* Amazon Lex V1 bot. This API only supports the association of Amazon Lex
723+
* V1 bots.
723724
* </p>
724725
*
725726
* @param associateLexBotRequest
@@ -757,7 +758,8 @@ public Void call() throws Exception {
757758
* </p>
758759
* <p>
759760
* Allows the specified Amazon Connect instance to access the specified
760-
* Amazon Lex bot.
761+
* Amazon Lex V1 bot. This API only supports the association of Amazon Lex
762+
* V1 bots.
761763
* </p>
762764
*
763765
* @param associateLexBotRequest

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,8 @@ public void associateLambdaFunction(
667667
* </p>
668668
* <p>
669669
* Allows the specified Amazon Connect instance to access the specified
670-
* Amazon Lex bot.
670+
* Amazon Lex V1 bot. This API only supports the association of Amazon Lex
671+
* V1 bots.
671672
* </p>
672673
*
673674
* @param associateLexBotRequest

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* </p>
2626
* <p>
2727
* Allows the specified Amazon Connect instance to access the specified Amazon
28-
* Lex bot.
28+
* Lex V1 bot. This API only supports the association of Amazon Lex V1 bots.
2929
* </p>
3030
*/
3131
public class AssociateLexBotRequest extends AmazonWebServiceRequest implements Serializable {

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

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,13 @@ public class Contact implements Serializable {
165165
*/
166166
private String relatedContactId;
167167

168+
/**
169+
* <p>
170+
* Information about Amazon Connect Wisdom.
171+
* </p>
172+
*/
173+
private WisdomInfo wisdomInfo;
174+
168175
/**
169176
* <p>
170177
* The Amazon Resource Name (ARN) for the contact.
@@ -1081,6 +1088,51 @@ public Contact withRelatedContactId(String relatedContactId) {
10811088
return this;
10821089
}
10831090

1091+
/**
1092+
* <p>
1093+
* Information about Amazon Connect Wisdom.
1094+
* </p>
1095+
*
1096+
* @return <p>
1097+
* Information about Amazon Connect Wisdom.
1098+
* </p>
1099+
*/
1100+
public WisdomInfo getWisdomInfo() {
1101+
return wisdomInfo;
1102+
}
1103+
1104+
/**
1105+
* <p>
1106+
* Information about Amazon Connect Wisdom.
1107+
* </p>
1108+
*
1109+
* @param wisdomInfo <p>
1110+
* Information about Amazon Connect Wisdom.
1111+
* </p>
1112+
*/
1113+
public void setWisdomInfo(WisdomInfo wisdomInfo) {
1114+
this.wisdomInfo = wisdomInfo;
1115+
}
1116+
1117+
/**
1118+
* <p>
1119+
* Information about Amazon Connect Wisdom.
1120+
* </p>
1121+
* <p>
1122+
* Returns a reference to this object so that method calls can be chained
1123+
* together.
1124+
*
1125+
* @param wisdomInfo <p>
1126+
* Information about Amazon Connect Wisdom.
1127+
* </p>
1128+
* @return A reference to this updated object so that method calls can be
1129+
* chained together.
1130+
*/
1131+
public Contact withWisdomInfo(WisdomInfo wisdomInfo) {
1132+
this.wisdomInfo = wisdomInfo;
1133+
return this;
1134+
}
1135+
10841136
/**
10851137
* Returns a string representation of this object; useful for testing and
10861138
* debugging.
@@ -1121,7 +1173,9 @@ public String toString() {
11211173
if (getScheduledTimestamp() != null)
11221174
sb.append("ScheduledTimestamp: " + getScheduledTimestamp() + ",");
11231175
if (getRelatedContactId() != null)
1124-
sb.append("RelatedContactId: " + getRelatedContactId());
1176+
sb.append("RelatedContactId: " + getRelatedContactId() + ",");
1177+
if (getWisdomInfo() != null)
1178+
sb.append("WisdomInfo: " + getWisdomInfo());
11251179
sb.append("}");
11261180
return sb.toString();
11271181
}
@@ -1155,6 +1209,7 @@ public int hashCode() {
11551209
+ ((getScheduledTimestamp() == null) ? 0 : getScheduledTimestamp().hashCode());
11561210
hashCode = prime * hashCode
11571211
+ ((getRelatedContactId() == null) ? 0 : getRelatedContactId().hashCode());
1212+
hashCode = prime * hashCode + ((getWisdomInfo() == null) ? 0 : getWisdomInfo().hashCode());
11581213
return hashCode;
11591214
}
11601215

@@ -1240,6 +1295,11 @@ public boolean equals(Object obj) {
12401295
if (other.getRelatedContactId() != null
12411296
&& other.getRelatedContactId().equals(this.getRelatedContactId()) == false)
12421297
return false;
1298+
if (other.getWisdomInfo() == null ^ this.getWisdomInfo() == null)
1299+
return false;
1300+
if (other.getWisdomInfo() != null
1301+
&& other.getWisdomInfo().equals(this.getWisdomInfo()) == false)
1302+
return false;
12431303
return true;
12441304
}
12451305
}

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

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@ public class CreateRoutingProfileRequest extends AmazonWebServiceRequest impleme
6868
* The inbound queues associated with the routing profile. If no queue is
6969
* added, the agent can make only outbound calls.
7070
* </p>
71+
* <p>
72+
* The limit of 10 array members applies to the maximum number of
73+
* <code>RoutingProfileQueueConfig</code> objects that can be passed during
74+
* a CreateRoutingProfile API request. It is different from the quota of 50
75+
* queues per routing profile per instance that is listed in <a href=
76+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
77+
* >Amazon Connect service quotas</a>.
78+
* </p>
7179
*/
7280
private java.util.List<RoutingProfileQueueConfig> queueConfigs;
7381

@@ -311,11 +319,28 @@ public CreateRoutingProfileRequest withDefaultOutboundQueueId(String defaultOutb
311319
* The inbound queues associated with the routing profile. If no queue is
312320
* added, the agent can make only outbound calls.
313321
* </p>
322+
* <p>
323+
* The limit of 10 array members applies to the maximum number of
324+
* <code>RoutingProfileQueueConfig</code> objects that can be passed during
325+
* a CreateRoutingProfile API request. It is different from the quota of 50
326+
* queues per routing profile per instance that is listed in <a href=
327+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
328+
* >Amazon Connect service quotas</a>.
329+
* </p>
314330
*
315331
* @return <p>
316332
* The inbound queues associated with the routing profile. If no
317333
* queue is added, the agent can make only outbound calls.
318334
* </p>
335+
* <p>
336+
* The limit of 10 array members applies to the maximum number of
337+
* <code>RoutingProfileQueueConfig</code> objects that can be passed
338+
* during a CreateRoutingProfile API request. It is different from
339+
* the quota of 50 queues per routing profile per instance that is
340+
* listed in <a href=
341+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
342+
* >Amazon Connect service quotas</a>.
343+
* </p>
319344
*/
320345
public java.util.List<RoutingProfileQueueConfig> getQueueConfigs() {
321346
return queueConfigs;
@@ -326,11 +351,28 @@ public java.util.List<RoutingProfileQueueConfig> getQueueConfigs() {
326351
* The inbound queues associated with the routing profile. If no queue is
327352
* added, the agent can make only outbound calls.
328353
* </p>
354+
* <p>
355+
* The limit of 10 array members applies to the maximum number of
356+
* <code>RoutingProfileQueueConfig</code> objects that can be passed during
357+
* a CreateRoutingProfile API request. It is different from the quota of 50
358+
* queues per routing profile per instance that is listed in <a href=
359+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
360+
* >Amazon Connect service quotas</a>.
361+
* </p>
329362
*
330363
* @param queueConfigs <p>
331364
* The inbound queues associated with the routing profile. If no
332365
* queue is added, the agent can make only outbound calls.
333366
* </p>
367+
* <p>
368+
* The limit of 10 array members applies to the maximum number of
369+
* <code>RoutingProfileQueueConfig</code> objects that can be
370+
* passed during a CreateRoutingProfile API request. It is
371+
* different from the quota of 50 queues per routing profile per
372+
* instance that is listed in <a href=
373+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
374+
* >Amazon Connect service quotas</a>.
375+
* </p>
334376
*/
335377
public void setQueueConfigs(java.util.Collection<RoutingProfileQueueConfig> queueConfigs) {
336378
if (queueConfigs == null) {
@@ -347,13 +389,30 @@ public void setQueueConfigs(java.util.Collection<RoutingProfileQueueConfig> queu
347389
* added, the agent can make only outbound calls.
348390
* </p>
349391
* <p>
392+
* The limit of 10 array members applies to the maximum number of
393+
* <code>RoutingProfileQueueConfig</code> objects that can be passed during
394+
* a CreateRoutingProfile API request. It is different from the quota of 50
395+
* queues per routing profile per instance that is listed in <a href=
396+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
397+
* >Amazon Connect service quotas</a>.
398+
* </p>
399+
* <p>
350400
* Returns a reference to this object so that method calls can be chained
351401
* together.
352402
*
353403
* @param queueConfigs <p>
354404
* The inbound queues associated with the routing profile. If no
355405
* queue is added, the agent can make only outbound calls.
356406
* </p>
407+
* <p>
408+
* The limit of 10 array members applies to the maximum number of
409+
* <code>RoutingProfileQueueConfig</code> objects that can be
410+
* passed during a CreateRoutingProfile API request. It is
411+
* different from the quota of 50 queues per routing profile per
412+
* instance that is listed in <a href=
413+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
414+
* >Amazon Connect service quotas</a>.
415+
* </p>
357416
* @return A reference to this updated object so that method calls can be
358417
* chained together.
359418
*/
@@ -374,13 +433,30 @@ public CreateRoutingProfileRequest withQueueConfigs(RoutingProfileQueueConfig...
374433
* added, the agent can make only outbound calls.
375434
* </p>
376435
* <p>
436+
* The limit of 10 array members applies to the maximum number of
437+
* <code>RoutingProfileQueueConfig</code> objects that can be passed during
438+
* a CreateRoutingProfile API request. It is different from the quota of 50
439+
* queues per routing profile per instance that is listed in <a href=
440+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
441+
* >Amazon Connect service quotas</a>.
442+
* </p>
443+
* <p>
377444
* Returns a reference to this object so that method calls can be chained
378445
* together.
379446
*
380447
* @param queueConfigs <p>
381448
* The inbound queues associated with the routing profile. If no
382449
* queue is added, the agent can make only outbound calls.
383450
* </p>
451+
* <p>
452+
* The limit of 10 array members applies to the maximum number of
453+
* <code>RoutingProfileQueueConfig</code> objects that can be
454+
* passed during a CreateRoutingProfile API request. It is
455+
* different from the quota of 50 queues per routing profile per
456+
* instance that is listed in <a href=
457+
* "https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html"
458+
* >Amazon Connect service quotas</a>.
459+
* </p>
384460
* @return A reference to this updated object so that method calls can be
385461
* chained together.
386462
*/

0 commit comments

Comments
 (0)