Skip to content

Commit 2ad4cd0

Browse files
Update API model
1 parent e70bb17 commit 2ad4cd0

File tree

2 files changed

+712
-2
lines changed

2 files changed

+712
-2
lines changed

tools/code-generation/smithy/api-descriptions/connect.json

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,15 @@
248248
"smithy.api#output": {}
249249
}
250250
},
251+
"com.amazonaws.connect#ActiveRegion": {
252+
"type": "string",
253+
"traits": {
254+
"smithy.api#length": {
255+
"min": 0,
256+
"max": 1024
257+
}
258+
}
259+
},
251260
"com.amazonaws.connect#AdditionalEmailRecipients": {
252261
"type": "structure",
253262
"members": {
@@ -7626,6 +7635,12 @@
76267635
"traits": {
76277636
"smithy.api#documentation": "<p> List of next contact entries for the contact. </p>"
76287637
}
7638+
},
7639+
"GlobalResiliencyMetadata": {
7640+
"target": "com.amazonaws.connect#GlobalResiliencyMetadata",
7641+
"traits": {
7642+
"smithy.api#documentation": "<p>Information about the global resiliency configuration for the contact, including traffic distribution details.</p>"
7643+
}
76297644
}
76307645
},
76317646
"traits": {
@@ -26656,6 +26671,32 @@
2665626671
"smithy.api#output": {}
2665726672
}
2665826673
},
26674+
"com.amazonaws.connect#GlobalResiliencyMetadata": {
26675+
"type": "structure",
26676+
"members": {
26677+
"ActiveRegion": {
26678+
"target": "com.amazonaws.connect#ActiveRegion",
26679+
"traits": {
26680+
"smithy.api#documentation": "<p>The current AWS region in which the contact is active. This indicates where the contact is being processed in real-time.</p>"
26681+
}
26682+
},
26683+
"OriginRegion": {
26684+
"target": "com.amazonaws.connect#OriginRegion",
26685+
"traits": {
26686+
"smithy.api#documentation": "<p>The AWS region where the contact was originally created and initiated. This may differ from the ActiveRegion if the contact has been transferred across regions.</p>"
26687+
}
26688+
},
26689+
"TrafficDistributionGroupId": {
26690+
"target": "com.amazonaws.connect#TrafficDistributionGroupId",
26691+
"traits": {
26692+
"smithy.api#documentation": "<p>The identifier of the traffic distribution group.</p>"
26693+
}
26694+
}
26695+
},
26696+
"traits": {
26697+
"smithy.api#documentation": "<p>Information about the global resiliency configuration for the contact, including traffic distribution details.</p>"
26698+
}
26699+
},
2665926700
"com.amazonaws.connect#GlobalSignInEndpoint": {
2666026701
"type": "string",
2666126702
"traits": {
@@ -29016,6 +29057,19 @@
2901629057
}
2901729058
}
2901829059
},
29060+
"com.amazonaws.connect#InvalidActiveRegionException": {
29061+
"type": "structure",
29062+
"members": {
29063+
"Message": {
29064+
"target": "com.amazonaws.connect#Message"
29065+
}
29066+
},
29067+
"traits": {
29068+
"smithy.api#documentation": "<p>This exception occurs when an API request is made to a non-active region in an Amazon Connect instance configured with Amazon Connect Global Resiliency. For example, if the active region is US West (Oregon) and a request is made to US East (N. Virginia), the exception will be returned.</p>",
29069+
"smithy.api#error": "client",
29070+
"smithy.api#httpError": 400
29071+
}
29072+
},
2901929073
"com.amazonaws.connect#InvalidContactFlowException": {
2902029074
"type": "structure",
2902129075
"members": {
@@ -36585,6 +36639,15 @@
3658536639
}
3658636640
}
3658736641
},
36642+
"com.amazonaws.connect#OriginRegion": {
36643+
"type": "string",
36644+
"traits": {
36645+
"smithy.api#length": {
36646+
"min": 0,
36647+
"max": 1024
36648+
}
36649+
}
36650+
},
3658836651
"com.amazonaws.connect#OriginsList": {
3658936652
"type": "list",
3659036653
"member": {
@@ -42583,6 +42646,9 @@
4258342646
{
4258442647
"target": "com.amazonaws.connect#InternalServiceException"
4258542648
},
42649+
{
42650+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
42651+
},
4258642652
{
4258742653
"target": "com.amazonaws.connect#InvalidRequestException"
4258842654
},
@@ -48155,6 +48221,9 @@
4815548221
{
4815648222
"target": "com.amazonaws.connect#InternalServiceException"
4815748223
},
48224+
{
48225+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
48226+
},
4815848227
{
4815948228
"target": "com.amazonaws.connect#InvalidParameterException"
4816048229
},
@@ -49329,6 +49398,9 @@
4932949398
{
4933049399
"target": "com.amazonaws.connect#InternalServiceException"
4933149400
},
49401+
{
49402+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
49403+
},
4933249404
{
4933349405
"target": "com.amazonaws.connect#InvalidParameterException"
4933449406
},
@@ -49424,6 +49496,9 @@
4942449496
{
4942549497
"target": "com.amazonaws.connect#InternalServiceException"
4942649498
},
49499+
{
49500+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
49501+
},
4942749502
{
4942849503
"target": "com.amazonaws.connect#InvalidRequestException"
4942949504
},
@@ -49910,6 +49985,9 @@
4991049985
{
4991149986
"target": "com.amazonaws.connect#InternalServiceException"
4991249987
},
49988+
{
49989+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
49990+
},
4991349991
{
4991449992
"target": "com.amazonaws.connect#InvalidRequestException"
4991549993
},
@@ -50006,6 +50084,9 @@
5000650084
{
5000750085
"target": "com.amazonaws.connect#InternalServiceException"
5000850086
},
50087+
{
50088+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
50089+
},
5000950090
{
5001050091
"target": "com.amazonaws.connect#InvalidParameterException"
5001150092
},
@@ -51385,6 +51466,9 @@
5138551466
{
5138651467
"target": "com.amazonaws.connect#InternalServiceException"
5138751468
},
51469+
{
51470+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
51471+
},
5138851472
{
5138951473
"target": "com.amazonaws.connect#InvalidParameterException"
5139051474
},
@@ -51747,6 +51831,9 @@
5174751831
{
5174851832
"target": "com.amazonaws.connect#InternalServiceException"
5174951833
},
51834+
{
51835+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
51836+
},
5175051837
{
5175151838
"target": "com.amazonaws.connect#InvalidParameterException"
5175251839
},
@@ -51781,6 +51868,9 @@
5178151868
{
5178251869
"target": "com.amazonaws.connect#InternalServiceException"
5178351870
},
51871+
{
51872+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
51873+
},
5178451874
{
5178551875
"target": "com.amazonaws.connect#InvalidParameterException"
5178651876
},
@@ -52538,6 +52628,9 @@
5253852628
{
5253952629
"target": "com.amazonaws.connect#InternalServiceException"
5254052630
},
52631+
{
52632+
"target": "com.amazonaws.connect#InvalidActiveRegionException"
52633+
},
5254152634
{
5254252635
"target": "com.amazonaws.connect#InvalidParameterException"
5254352636
},

0 commit comments

Comments
 (0)