Skip to content

Commit 493ce15

Browse files
feat(aws-android-sdk-connect): update models to latest (#3287)
Co-authored-by: Tyler Roach <[email protected]>
1 parent 88f0a71 commit 493ce15

File tree

7 files changed

+108
-21
lines changed

7 files changed

+108
-21
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@ GetMetricDataResult getMetricData(GetMetricDataRequest getMetricDataRequest)
25652565
* >GetMetricData</a>, the previous version of this API. It has new metrics,
25662566
* offers filtering at a metric level, and offers the ability to filter and
25672567
* group data by channels, queues, routing profiles, agents, and agent
2568-
* hierarchy levels. It can retrieve historical data for the last 14 days,
2568+
* hierarchy levels. It can retrieve historical data for the last 35 days,
25692569
* in 24-hour intervals.
25702570
* </p>
25712571
* <p>
@@ -5073,6 +5073,13 @@ UpdateParticipantRoleConfigResult updateParticipantRoleConfig(
50735073
* </p>
50745074
* <important>
50755075
* <p>
5076+
* After using this API, you must verify that the phone number is attached
5077+
* to the correct flow in the target instance or traffic distribution group.
5078+
* You need to do this because the API switches only the phone number to a
5079+
* new instance or traffic distribution group. It doesn't migrate the flow
5080+
* configuration of the phone number, too.
5081+
* </p>
5082+
* <p>
50765083
* You can call <a href=
50775084
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
50785085
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=

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

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5567,7 +5567,7 @@ Future<GetMetricDataResult> getMetricDataAsync(GetMetricDataRequest getMetricDat
55675567
* >GetMetricData</a>, the previous version of this API. It has new metrics,
55685568
* offers filtering at a metric level, and offers the ability to filter and
55695569
* group data by channels, queues, routing profiles, agents, and agent
5570-
* hierarchy levels. It can retrieve historical data for the last 14 days,
5570+
* hierarchy levels. It can retrieve historical data for the last 35 days,
55715571
* in 24-hour intervals.
55725572
* </p>
55735573
* <p>
@@ -5611,7 +5611,7 @@ Future<GetMetricDataV2Result> getMetricDataV2Async(GetMetricDataV2Request getMet
56115611
* >GetMetricData</a>, the previous version of this API. It has new metrics,
56125612
* offers filtering at a metric level, and offers the ability to filter and
56135613
* group data by channels, queues, routing profiles, agents, and agent
5614-
* hierarchy levels. It can retrieve historical data for the last 14 days,
5614+
* hierarchy levels. It can retrieve historical data for the last 35 days,
56155615
* in 24-hour intervals.
56165616
* </p>
56175617
* <p>
@@ -11038,6 +11038,13 @@ Future<UpdateParticipantRoleConfigResult> updateParticipantRoleConfigAsync(
1103811038
* </p>
1103911039
* <important>
1104011040
* <p>
11041+
* After using this API, you must verify that the phone number is attached
11042+
* to the correct flow in the target instance or traffic distribution group.
11043+
* You need to do this because the API switches only the phone number to a
11044+
* new instance or traffic distribution group. It doesn't migrate the flow
11045+
* configuration of the phone number, too.
11046+
* </p>
11047+
* <p>
1104111048
* You can call <a href=
1104211049
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
1104311050
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=
@@ -11076,6 +11083,13 @@ Future<UpdatePhoneNumberResult> updatePhoneNumberAsync(
1107611083
* </p>
1107711084
* <important>
1107811085
* <p>
11086+
* After using this API, you must verify that the phone number is attached
11087+
* to the correct flow in the target instance or traffic distribution group.
11088+
* You need to do this because the API switches only the phone number to a
11089+
* new instance or traffic distribution group. It doesn't migrate the flow
11090+
* configuration of the phone number, too.
11091+
* </p>
11092+
* <p>
1107911093
* You can call <a href=
1108011094
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
1108111095
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=

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

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7183,7 +7183,7 @@ public GetMetricDataResult call() throws Exception {
71837183
* >GetMetricData</a>, the previous version of this API. It has new metrics,
71847184
* offers filtering at a metric level, and offers the ability to filter and
71857185
* group data by channels, queues, routing profiles, agents, and agent
7186-
* hierarchy levels. It can retrieve historical data for the last 14 days,
7186+
* hierarchy levels. It can retrieve historical data for the last 35 days,
71877187
* in 24-hour intervals.
71887188
* </p>
71897189
* <p>
@@ -7234,7 +7234,7 @@ public GetMetricDataV2Result call() throws Exception {
72347234
* >GetMetricData</a>, the previous version of this API. It has new metrics,
72357235
* offers filtering at a metric level, and offers the ability to filter and
72367236
* group data by channels, queues, routing profiles, agents, and agent
7237-
* hierarchy levels. It can retrieve historical data for the last 14 days,
7237+
* hierarchy levels. It can retrieve historical data for the last 35 days,
72387238
* in 24-hour intervals.
72397239
* </p>
72407240
* <p>
@@ -13928,6 +13928,13 @@ public UpdateParticipantRoleConfigResult call() throws Exception {
1392813928
* </p>
1392913929
* <important>
1393013930
* <p>
13931+
* After using this API, you must verify that the phone number is attached
13932+
* to the correct flow in the target instance or traffic distribution group.
13933+
* You need to do this because the API switches only the phone number to a
13934+
* new instance or traffic distribution group. It doesn't migrate the flow
13935+
* configuration of the phone number, too.
13936+
* </p>
13937+
* <p>
1393113938
* You can call <a href=
1393213939
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
1393313940
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=
@@ -13972,6 +13979,13 @@ public UpdatePhoneNumberResult call() throws Exception {
1397213979
* </p>
1397313980
* <important>
1397413981
* <p>
13982+
* After using this API, you must verify that the phone number is attached
13983+
* to the correct flow in the target instance or traffic distribution group.
13984+
* You need to do this because the API switches only the phone number to a
13985+
* new instance or traffic distribution group. It doesn't migrate the flow
13986+
* configuration of the phone number, too.
13987+
* </p>
13988+
* <p>
1397513989
* You can call <a href=
1397613990
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
1397713991
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4972,7 +4972,7 @@ public GetMetricDataResult getMetricData(GetMetricDataRequest getMetricDataReque
49724972
* >GetMetricData</a>, the previous version of this API. It has new metrics,
49734973
* offers filtering at a metric level, and offers the ability to filter and
49744974
* group data by channels, queues, routing profiles, agents, and agent
4975-
* hierarchy levels. It can retrieve historical data for the last 14 days,
4975+
* hierarchy levels. It can retrieve historical data for the last 35 days,
49764976
* in 24-hour intervals.
49774977
* </p>
49784978
* <p>
@@ -9534,6 +9534,13 @@ public UpdateParticipantRoleConfigResult updateParticipantRoleConfig(
95349534
* </p>
95359535
* <important>
95369536
* <p>
9537+
* After using this API, you must verify that the phone number is attached
9538+
* to the correct flow in the target instance or traffic distribution group.
9539+
* You need to do this because the API switches only the phone number to a
9540+
* new instance or traffic distribution group. It doesn't migrate the flow
9541+
* configuration of the phone number, too.
9542+
* </p>
9543+
* <p>
95379544
* You can call <a href=
95389545
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
95399546
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* >GetMetricData</a>, the previous version of this API. It has new metrics,
3030
* offers filtering at a metric level, and offers the ability to filter and
3131
* group data by channels, queues, routing profiles, agents, and agent hierarchy
32-
* levels. It can retrieve historical data for the last 14 days, in 24-hour
32+
* levels. It can retrieve historical data for the last 35 days, in 24-hour
3333
* intervals.
3434
* </p>
3535
* <p>
@@ -57,9 +57,9 @@ public class GetMetricDataV2Request extends AmazonWebServiceRequest implements S
5757
* The timestamp, in UNIX Epoch time format, at which to start the reporting
5858
* interval for the retrieval of historical metrics data. The time must be
5959
* before the end time timestamp. The time range between the start and end
60-
* time must be less than 24 hours. The start time cannot be earlier than 14
60+
* time must be less than 24 hours. The start time cannot be earlier than 35
6161
* days before the time of the request. Historical metrics are available for
62-
* 14 days.
62+
* 35 days.
6363
* </p>
6464
*/
6565
private java.util.Date startTime;
@@ -576,18 +576,18 @@ public GetMetricDataV2Request withResourceArn(String resourceArn) {
576576
* The timestamp, in UNIX Epoch time format, at which to start the reporting
577577
* interval for the retrieval of historical metrics data. The time must be
578578
* before the end time timestamp. The time range between the start and end
579-
* time must be less than 24 hours. The start time cannot be earlier than 14
579+
* time must be less than 24 hours. The start time cannot be earlier than 35
580580
* days before the time of the request. Historical metrics are available for
581-
* 14 days.
581+
* 35 days.
582582
* </p>
583583
*
584584
* @return <p>
585585
* The timestamp, in UNIX Epoch time format, at which to start the
586586
* reporting interval for the retrieval of historical metrics data.
587587
* The time must be before the end time timestamp. The time range
588588
* between the start and end time must be less than 24 hours. The
589-
* start time cannot be earlier than 14 days before the time of the
590-
* request. Historical metrics are available for 14 days.
589+
* start time cannot be earlier than 35 days before the time of the
590+
* request. Historical metrics are available for 35 days.
591591
* </p>
592592
*/
593593
public java.util.Date getStartTime() {
@@ -599,19 +599,19 @@ public java.util.Date getStartTime() {
599599
* The timestamp, in UNIX Epoch time format, at which to start the reporting
600600
* interval for the retrieval of historical metrics data. The time must be
601601
* before the end time timestamp. The time range between the start and end
602-
* time must be less than 24 hours. The start time cannot be earlier than 14
602+
* time must be less than 24 hours. The start time cannot be earlier than 35
603603
* days before the time of the request. Historical metrics are available for
604-
* 14 days.
604+
* 35 days.
605605
* </p>
606606
*
607607
* @param startTime <p>
608608
* The timestamp, in UNIX Epoch time format, at which to start
609609
* the reporting interval for the retrieval of historical metrics
610610
* data. The time must be before the end time timestamp. The time
611611
* range between the start and end time must be less than 24
612-
* hours. The start time cannot be earlier than 14 days before
612+
* hours. The start time cannot be earlier than 35 days before
613613
* the time of the request. Historical metrics are available for
614-
* 14 days.
614+
* 35 days.
615615
* </p>
616616
*/
617617
public void setStartTime(java.util.Date startTime) {
@@ -623,9 +623,9 @@ public void setStartTime(java.util.Date startTime) {
623623
* The timestamp, in UNIX Epoch time format, at which to start the reporting
624624
* interval for the retrieval of historical metrics data. The time must be
625625
* before the end time timestamp. The time range between the start and end
626-
* time must be less than 24 hours. The start time cannot be earlier than 14
626+
* time must be less than 24 hours. The start time cannot be earlier than 35
627627
* days before the time of the request. Historical metrics are available for
628-
* 14 days.
628+
* 35 days.
629629
* </p>
630630
* <p>
631631
* Returns a reference to this object so that method calls can be chained
@@ -636,9 +636,9 @@ public void setStartTime(java.util.Date startTime) {
636636
* the reporting interval for the retrieval of historical metrics
637637
* data. The time must be before the end time timestamp. The time
638638
* range between the start and end time must be less than 24
639-
* hours. The start time cannot be earlier than 14 days before
639+
* hours. The start time cannot be earlier than 35 days before
640640
* the time of the request. Historical metrics are available for
641-
* 14 days.
641+
* 35 days.
642642
* </p>
643643
* @return A reference to this updated object so that method calls can be
644644
* chained together.

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

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ public class MetricV2 implements Serializable {
2727
* <p>
2828
* The name of the metric.
2929
* </p>
30+
* <important>
31+
* <p>
32+
* This parameter is required. The following Required = No is incorrect.
33+
* </p>
34+
* </important>
3035
*/
3136
private String name;
3237

@@ -48,10 +53,21 @@ public class MetricV2 implements Serializable {
4853
* <p>
4954
* The name of the metric.
5055
* </p>
56+
* <important>
57+
* <p>
58+
* This parameter is required. The following Required = No is incorrect.
59+
* </p>
60+
* </important>
5161
*
5262
* @return <p>
5363
* The name of the metric.
5464
* </p>
65+
* <important>
66+
* <p>
67+
* This parameter is required. The following Required = No is
68+
* incorrect.
69+
* </p>
70+
* </important>
5571
*/
5672
public String getName() {
5773
return name;
@@ -61,10 +77,21 @@ public String getName() {
6177
* <p>
6278
* The name of the metric.
6379
* </p>
80+
* <important>
81+
* <p>
82+
* This parameter is required. The following Required = No is incorrect.
83+
* </p>
84+
* </important>
6485
*
6586
* @param name <p>
6687
* The name of the metric.
6788
* </p>
89+
* <important>
90+
* <p>
91+
* This parameter is required. The following Required = No is
92+
* incorrect.
93+
* </p>
94+
* </important>
6895
*/
6996
public void setName(String name) {
7097
this.name = name;
@@ -74,13 +101,24 @@ public void setName(String name) {
74101
* <p>
75102
* The name of the metric.
76103
* </p>
104+
* <important>
105+
* <p>
106+
* This parameter is required. The following Required = No is incorrect.
107+
* </p>
108+
* </important>
77109
* <p>
78110
* Returns a reference to this object so that method calls can be chained
79111
* together.
80112
*
81113
* @param name <p>
82114
* The name of the metric.
83115
* </p>
116+
* <important>
117+
* <p>
118+
* This parameter is required. The following Required = No is
119+
* incorrect.
120+
* </p>
121+
* </important>
84122
* @return A reference to this updated object so that method calls can be
85123
* chained together.
86124
*/

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@
2727
* </p>
2828
* <important>
2929
* <p>
30+
* After using this API, you must verify that the phone number is attached to
31+
* the correct flow in the target instance or traffic distribution group. You
32+
* need to do this because the API switches only the phone number to a new
33+
* instance or traffic distribution group. It doesn't migrate the flow
34+
* configuration of the phone number, too.
35+
* </p>
36+
* <p>
3037
* You can call <a href=
3138
* "https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html"
3239
* >DescribePhoneNumber</a> API to verify the status of a previous <a href=

0 commit comments

Comments
 (0)