Skip to content

Commit 6af34a2

Browse files
Update API model
1 parent 1809e0e commit 6af34a2

File tree

8 files changed

+239
-35
lines changed

8 files changed

+239
-35
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5046,7 +5046,7 @@
50465046
"domainNameArn": {
50475047
"target": "com.amazonaws.apigateway#String",
50485048
"traits": {
5049-
"smithy.api#documentation": "<p>The ARN of the domain name. Supported only for private custom domain names.\n</p>"
5049+
"smithy.api#documentation": "<p>The ARN of the domain name.\n</p>"
50505050
}
50515051
},
50525052
"certificateName": {
@@ -8988,7 +8988,7 @@
89888988
"target": "com.amazonaws.apigateway#Integer",
89898989
"traits": {
89908990
"smithy.api#default": 0,
8991-
"smithy.api#documentation": "<p>Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.</p>"
8991+
"smithy.api#documentation": "<p>Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. You can increase the default value to longer than 29 seconds for Regional or private APIs only.</p>"
89928992
}
89938993
},
89948994
"cacheNamespace": {
@@ -10045,7 +10045,7 @@
1004510045
"timeoutInMillis": {
1004610046
"target": "com.amazonaws.apigateway#NullableInteger",
1004710047
"traits": {
10048-
"smithy.api#documentation": "<p>Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.</p>"
10048+
"smithy.api#documentation": "<p>Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds. You can increase the default value to longer than 29 seconds for Regional or private APIs only.</p>"
1004910049
}
1005010050
},
1005110051
"tlsConfig": {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3509,7 +3509,7 @@
35093509
}
35103510
],
35113511
"traits": {
3512-
"smithy.api#documentation": "<p>Creates a RoutingRule</p>",
3512+
"smithy.api#documentation": "<p>Creates a RoutingRule.</p>",
35133513
"smithy.api#http": {
35143514
"method": "POST",
35153515
"uri": "/v2/domainnames/{DomainName}/routingrules",

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

Lines changed: 152 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@
7070
{
7171
"target": "com.amazonaws.connectcampaignsv2#GetConnectInstanceConfig"
7272
},
73+
{
74+
"target": "com.amazonaws.connectcampaignsv2#GetInstanceCommunicationLimits"
75+
},
7376
{
7477
"target": "com.amazonaws.connectcampaignsv2#GetInstanceOnboardingJobStatus"
7578
},
@@ -88,6 +91,9 @@
8891
{
8992
"target": "com.amazonaws.connectcampaignsv2#PutConnectInstanceIntegration"
9093
},
94+
{
95+
"target": "com.amazonaws.connectcampaignsv2#PutInstanceCommunicationLimits"
96+
},
9197
{
9298
"target": "com.amazonaws.connectcampaignsv2#PutOutboundRequestBatch"
9399
},
@@ -1289,6 +1295,9 @@
12891295
"members": {
12901296
"allChannelSubtypes": {
12911297
"target": "com.amazonaws.connectcampaignsv2#CommunicationLimits"
1298+
},
1299+
"instanceLimitsHandling": {
1300+
"target": "com.amazonaws.connectcampaignsv2#InstanceLimitsHandling"
12921301
}
12931302
},
12941303
"traits": {
@@ -2563,6 +2572,65 @@
25632572
"smithy.api#output": {}
25642573
}
25652574
},
2575+
"com.amazonaws.connectcampaignsv2#GetInstanceCommunicationLimits": {
2576+
"type": "operation",
2577+
"input": {
2578+
"target": "com.amazonaws.connectcampaignsv2#GetInstanceCommunicationLimitsRequest"
2579+
},
2580+
"output": {
2581+
"target": "com.amazonaws.connectcampaignsv2#GetInstanceCommunicationLimitsResponse"
2582+
},
2583+
"errors": [
2584+
{
2585+
"target": "com.amazonaws.connectcampaignsv2#AccessDeniedException"
2586+
},
2587+
{
2588+
"target": "com.amazonaws.connectcampaignsv2#InternalServerException"
2589+
},
2590+
{
2591+
"target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException"
2592+
},
2593+
{
2594+
"target": "com.amazonaws.connectcampaignsv2#ValidationException"
2595+
}
2596+
],
2597+
"traits": {
2598+
"smithy.api#documentation": "Get the instance communication limits.",
2599+
"smithy.api#http": {
2600+
"uri": "/v2/connect-instance/{connectInstanceId}/communication-limits",
2601+
"method": "GET"
2602+
},
2603+
"smithy.api#readonly": {}
2604+
}
2605+
},
2606+
"com.amazonaws.connectcampaignsv2#GetInstanceCommunicationLimitsRequest": {
2607+
"type": "structure",
2608+
"members": {
2609+
"connectInstanceId": {
2610+
"target": "com.amazonaws.connectcampaignsv2#InstanceId",
2611+
"traits": {
2612+
"smithy.api#httpLabel": {},
2613+
"smithy.api#required": {}
2614+
}
2615+
}
2616+
},
2617+
"traits": {
2618+
"smithy.api#documentation": "The request for GetInstanceCommunicationLimits API.",
2619+
"smithy.api#input": {}
2620+
}
2621+
},
2622+
"com.amazonaws.connectcampaignsv2#GetInstanceCommunicationLimitsResponse": {
2623+
"type": "structure",
2624+
"members": {
2625+
"communicationLimitsConfig": {
2626+
"target": "com.amazonaws.connectcampaignsv2#InstanceCommunicationLimitsConfig"
2627+
}
2628+
},
2629+
"traits": {
2630+
"smithy.api#documentation": "The response for GetInstanceCommunicationLimits API.",
2631+
"smithy.api#output": {}
2632+
}
2633+
},
25662634
"com.amazonaws.connectcampaignsv2#GetInstanceOnboardingJobStatus": {
25672635
"type": "operation",
25682636
"input": {
@@ -2622,6 +2690,17 @@
26222690
"smithy.api#output": {}
26232691
}
26242692
},
2693+
"com.amazonaws.connectcampaignsv2#InstanceCommunicationLimitsConfig": {
2694+
"type": "structure",
2695+
"members": {
2696+
"allChannelSubtypes": {
2697+
"target": "com.amazonaws.connectcampaignsv2#CommunicationLimits"
2698+
}
2699+
},
2700+
"traits": {
2701+
"smithy.api#documentation": "Instance Communication limits config"
2702+
}
2703+
},
26252704
"com.amazonaws.connectcampaignsv2#InstanceConfig": {
26262705
"type": "structure",
26272706
"members": {
@@ -2692,6 +2771,22 @@
26922771
]
26932772
}
26942773
},
2774+
"com.amazonaws.connectcampaignsv2#InstanceLimitsHandling": {
2775+
"type": "string",
2776+
"traits": {
2777+
"smithy.api#documentation": "Instance limits handling",
2778+
"smithy.api#enum": [
2779+
{
2780+
"value": "OPT_IN",
2781+
"name": "OPT_IN"
2782+
},
2783+
{
2784+
"value": "OPT_OUT",
2785+
"name": "OPT_OUT"
2786+
}
2787+
]
2788+
}
2789+
},
26952790
"com.amazonaws.connectcampaignsv2#InstanceOnboardingJobFailureCode": {
26962791
"type": "string",
26972792
"traits": {
@@ -3096,8 +3191,7 @@
30963191
"smithy.api#http": {
30973192
"uri": "/v2/tags/{arn}",
30983193
"method": "GET"
3099-
},
3100-
"smithy.api#readonly": {}
3194+
}
31013195
}
31023196
},
31033197
"com.amazonaws.connectcampaignsv2#ListTagsForResourceRequest": {
@@ -3488,6 +3582,62 @@
34883582
"smithy.api#input": {}
34893583
}
34903584
},
3585+
"com.amazonaws.connectcampaignsv2#PutInstanceCommunicationLimits": {
3586+
"type": "operation",
3587+
"input": {
3588+
"target": "com.amazonaws.connectcampaignsv2#PutInstanceCommunicationLimitsRequest"
3589+
},
3590+
"output": {
3591+
"target": "smithy.api#Unit"
3592+
},
3593+
"errors": [
3594+
{
3595+
"target": "com.amazonaws.connectcampaignsv2#AccessDeniedException"
3596+
},
3597+
{
3598+
"target": "com.amazonaws.connectcampaignsv2#ConflictException"
3599+
},
3600+
{
3601+
"target": "com.amazonaws.connectcampaignsv2#InternalServerException"
3602+
},
3603+
{
3604+
"target": "com.amazonaws.connectcampaignsv2#ResourceNotFoundException"
3605+
},
3606+
{
3607+
"target": "com.amazonaws.connectcampaignsv2#ValidationException"
3608+
}
3609+
],
3610+
"traits": {
3611+
"smithy.api#documentation": "Put the instance communication limits. This API is idempotent.",
3612+
"smithy.api#http": {
3613+
"uri": "/v2/connect-instance/{connectInstanceId}/communication-limits",
3614+
"method": "PUT"
3615+
},
3616+
"smithy.api#idempotent": {}
3617+
}
3618+
},
3619+
"com.amazonaws.connectcampaignsv2#PutInstanceCommunicationLimitsRequest": {
3620+
"type": "structure",
3621+
"members": {
3622+
"connectInstanceId": {
3623+
"target": "com.amazonaws.connectcampaignsv2#InstanceId",
3624+
"traits": {
3625+
"smithy.api#httpLabel": {},
3626+
"smithy.api#required": {}
3627+
}
3628+
},
3629+
"communicationLimitsConfig": {
3630+
"target": "com.amazonaws.connectcampaignsv2#InstanceCommunicationLimitsConfig",
3631+
"traits": {
3632+
"smithy.api#required": {}
3633+
}
3634+
}
3635+
},
3636+
"traits": {
3637+
"smithy.api#documentation": "The request for PutInstanceCommunicationLimits API.",
3638+
"smithy.api#input": {}
3639+
}
3640+
},
34913641
"com.amazonaws.connectcampaignsv2#PutOutboundRequestBatch": {
34923642
"type": "operation",
34933643
"input": {

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

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

tools/code-generation/smithy/api-descriptions/emr-serverless.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@
12041204
"target": "com.amazonaws.emrserverless#ShutdownGracePeriodInSeconds",
12051205
"traits": {
12061206
"smithy.api#default": null,
1207-
"smithy.api#documentation": "The duration (in seconds) to wait before forcefully terminating the job after cancellation is requested.",
1207+
"smithy.api#documentation": "<p>The duration in seconds to wait before forcefully terminating the job after cancellation is requested.</p>",
12081208
"smithy.api#httpQuery": "shutdownGracePeriodInSeconds"
12091209
}
12101210
}
@@ -2157,6 +2157,9 @@
21572157
"smithy.api#required": {}
21582158
}
21592159
},
2160+
"executionIamPolicy": {
2161+
"target": "com.amazonaws.emrserverless#JobRunExecutionIamPolicy"
2162+
},
21602163
"state": {
21612164
"target": "com.amazonaws.emrserverless#JobRunState",
21622165
"traits": {

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9335,7 +9335,7 @@
93359335
"status": {
93369336
"target": "com.amazonaws.iotfleetwise#CampaignStatus",
93379337
"traits": {
9338-
"smithy.api#documentation": "<p>The state of a campaign. The status can be one of:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - Amazon Web Services IoT FleetWise is processing your request to create the\n campaign. </p>\n </li>\n <li>\n <p>\n <code>WAITING_FOR_APPROVAL</code> - After a campaign is created, it enters the\n <code>WAITING_FOR_APPROVAL</code> state. To allow Amazon Web Services IoT FleetWise to deploy the\n campaign to the target vehicle or fleet, use the API operation to approve the campaign.\n </p>\n </li>\n <li>\n <p>\n <code>RUNNING</code> - The campaign is active. </p>\n </li>\n <li>\n <p>\n <code>SUSPENDED</code> - The campaign is suspended. To resume the campaign, use\n the API operation. </p>\n </li>\n </ul>"
9338+
"smithy.api#documentation": "<p>The state of a campaign. The status can be one of:</p>\n <ul>\n <li>\n <p>\n <code>CREATING</code> - Amazon Web Services IoT FleetWise is processing your request to create the\n campaign. </p>\n </li>\n <li>\n <p>\n <code>WAITING_FOR_APPROVAL</code> - After you create a campaign, it enters this state. Use the API operation to approve the campaign for deployment to the target vehicle or fleet.\n </p>\n </li>\n <li>\n <p>\n <code>RUNNING</code> - The campaign is active. </p>\n </li>\n <li>\n <p>\n <code>SUSPENDED</code> - The campaign is suspended. To resume the campaign, use\n the API operation. </p>\n </li>\n </ul>"
93399339
}
93409340
}
93419341
}
@@ -10318,6 +10318,12 @@
1031810318
"traits": {
1031910319
"smithy.api#enumValue": "DELETING"
1032010320
}
10321+
},
10322+
"READY_FOR_CHECKIN": {
10323+
"target": "smithy.api#Unit",
10324+
"traits": {
10325+
"smithy.api#enumValue": "READY_FOR_CHECKIN"
10326+
}
1032110327
}
1032210328
}
1032310329
},
@@ -10339,7 +10345,7 @@
1033910345
"status": {
1034010346
"target": "com.amazonaws.iotfleetwise#VehicleState",
1034110347
"traits": {
10342-
"smithy.api#documentation": "<p>The status of a campaign, which can be one of the following:</p>\n <ul>\n <li>\n <p>\n <code>CREATED</code> - The campaign has been created successfully but has not been\n approved. </p>\n </li>\n <li>\n <p>\n <code>READY</code> - The campaign has been approved but has not been deployed to\n the vehicle.</p>\n </li>\n <li>\n <p>\n <code>HEALTHY</code> - The campaign has been deployed to the vehicle. </p>\n </li>\n <li>\n <p>\n <code>SUSPENDED</code> - The campaign has been suspended and data collection is \n paused. </p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The campaign is being removed from the vehicle.</p>\n </li>\n </ul>"
10348+
"smithy.api#documentation": "<p>The status of a campaign, which can be one of the following:</p>\n <ul>\n <li>\n <p>\n <code>CREATED</code> - The campaign exists but is not yet approved.</p>\n </li>\n <li>\n <p>\n <code>READY</code> - The campaign is approved but has not been deployed to the vehicle. Data has not arrived at the vehicle yet.</p>\n </li>\n <li>\n <p>\n <code>HEALTHY</code> - The campaign is deployed to the vehicle.</p>\n </li>\n <li>\n <p>\n <code>SUSPENDED</code> - The campaign is suspended and data collection is paused.</p>\n </li>\n <li>\n <p>\n <code>DELETING</code> - The campaign is being removed from the vehicle.</p>\n </li>\n <li>\n <p>\n <code>READY_FOR_CHECKIN</code> - The campaign is approved and waiting for vehicle check-in before deployment.</p>\n </li>\n </ul>"
1034310349
}
1034410350
}
1034510351
},

0 commit comments

Comments
 (0)