Skip to content

Commit b3bd04f

Browse files
committed
chore: update models as of 12/23/2021
1 parent cac7ad0 commit b3bd04f

39 files changed

+15971
-3786
lines changed

codegen/sdk-codegen/aws-models/amplifyuibuilder.json

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

codegen/sdk-codegen/aws-models/api-gateway.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8839,7 +8839,7 @@
88398839
"limit": {
88408840
"target": "com.amazonaws.apigateway#Integer",
88418841
"traits": {
8842-
"smithy.api#documentation": "<p>The maximum number of requests that can be made in a given time period.</p>"
8842+
"smithy.api#documentation": "<p>The target maximum number of requests that can be made in a given time period.</p>"
88438843
}
88448844
},
88458845
"offset": {
@@ -9755,13 +9755,13 @@
97559755
"burstLimit": {
97569756
"target": "com.amazonaws.apigateway#Integer",
97579757
"traits": {
9758-
"smithy.api#documentation": "<p>The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.</p>"
9758+
"smithy.api#documentation": "<p>The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.</p>"
97599759
}
97609760
},
97619761
"rateLimit": {
97629762
"target": "com.amazonaws.apigateway#Double",
97639763
"traits": {
9764-
"smithy.api#documentation": "<p>The API request steady-state rate limit.</p>"
9764+
"smithy.api#documentation": "<p>The API target request rate limit.</p>"
97659765
}
97669766
}
97679767
},
@@ -11415,13 +11415,13 @@
1141511415
"throttle": {
1141611416
"target": "com.amazonaws.apigateway#ThrottleSettings",
1141711417
"traits": {
11418-
"smithy.api#documentation": "<p>The request throttle limits of a usage plan.</p>"
11418+
"smithy.api#documentation": "<p>Map containing method level throttling information for API stage in a usage plan.</p>"
1141911419
}
1142011420
},
1142111421
"quota": {
1142211422
"target": "com.amazonaws.apigateway#QuotaSettings",
1142311423
"traits": {
11424-
"smithy.api#documentation": "<p>The maximum number of permitted requests per a given unit time interval.</p>"
11424+
"smithy.api#documentation": "<p>The target maximum number of permitted requests per a given unit time interval.</p>"
1142511425
}
1142611426
},
1142711427
"productCode": {
@@ -11438,7 +11438,7 @@
1143811438
}
1143911439
},
1144011440
"traits": {
11441-
"smithy.api#documentation": "<p>Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.</p>\n <div class=\"remarks\">\n <p>In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan. </p>\n </div>\n <div class=\"seeAlso\">\n <a href=\"https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html\">Create and Use Usage Plans</a>\n </div>"
11441+
"smithy.api#documentation": "<p>Represents a usage plan used to specify who can assess associated API stages. Optionally, target request rate and quota limits can be set. \n In some cases clients can exceed the targets that you set. Don’t rely on usage plans to control costs. \n Consider using <a href=\"https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html\">AWS Budgets</a> to monitor costs \n and <a href=\"https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html\">AWS WAF</a> to manage API requests.</p>\n <div class=\"remarks\">\n <p>In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan. </p>\n </div>\n <div class=\"seeAlso\">\n <a href=\"https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html\">Create and Use Usage Plans</a>\n </div>"
1144211442
}
1144311443
},
1144411444
"com.amazonaws.apigateway#UsagePlanKey": {

codegen/sdk-codegen/aws-models/appsync.json

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

codegen/sdk-codegen/aws-models/chime-sdk-messaging.json

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,18 @@
874874
"traits": {
875875
"smithy.api#documentation": "<p>The message metadata.</p>"
876876
}
877+
},
878+
"PushNotification": {
879+
"target": "com.amazonaws.chimesdkmessaging#PushNotificationConfiguration",
880+
"traits": {
881+
"smithy.api#documentation": "<p>The push notification configuration of the message.</p>"
882+
}
883+
},
884+
"MessageAttributes": {
885+
"target": "com.amazonaws.chimesdkmessaging#MessageAttributeMap",
886+
"traits": {
887+
"smithy.api#documentation": "<p>The attributes for the message, used for message filtering along with a <code>FilterRule</code> defined in the <code>PushNotificationPreferences</code>. </p>"
888+
}
877889
}
878890
},
879891
"traits": {
@@ -1197,6 +1209,21 @@
11971209
},
11981210
"com.amazonaws.chimesdkmessaging#ChimeMessagingService": {
11991211
"type": "service",
1212+
"traits": {
1213+
"aws.api#service": {
1214+
"sdkId": "Chime SDK Messaging",
1215+
"arnNamespace": "chime",
1216+
"cloudFormationName": "ChimeSDKMessaging",
1217+
"cloudTrailEventSource": "chimesdkmessaging.amazonaws.com",
1218+
"endpointPrefix": "messaging-chime"
1219+
},
1220+
"aws.auth#sigv4": {
1221+
"name": "chime"
1222+
},
1223+
"aws.protocols#restJson1": {},
1224+
"smithy.api#documentation": "<p>The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging\">Amazon Chime SDK messaging</a>\n </p>",
1225+
"smithy.api#title": "Amazon Chime SDK Messaging"
1226+
},
12001227
"version": "2021-05-15",
12011228
"operations": [
12021229
{
@@ -1334,22 +1361,7 @@
13341361
{
13351362
"target": "com.amazonaws.chimesdkmessaging#UpdateChannelReadMarker"
13361363
}
1337-
],
1338-
"traits": {
1339-
"aws.api#service": {
1340-
"sdkId": "Chime SDK Messaging",
1341-
"arnNamespace": "chime",
1342-
"cloudFormationName": "ChimeSDKMessaging",
1343-
"cloudTrailEventSource": "chimesdkmessaging.amazonaws.com",
1344-
"endpointPrefix": "messaging-chime"
1345-
},
1346-
"aws.auth#sigv4": {
1347-
"name": "chime"
1348-
},
1349-
"aws.protocols#restJson1": {},
1350-
"smithy.api#documentation": "<p>The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging\">Amazon Chime SDK messaging</a>\n </p>",
1351-
"smithy.api#title": "Amazon Chime SDK Messaging"
1352-
}
1364+
]
13531365
},
13541366
"com.amazonaws.chimesdkmessaging#ClientRequestToken": {
13551367
"type": "string",
@@ -3617,7 +3629,7 @@
36173629
"Type": {
36183630
"target": "com.amazonaws.chimesdkmessaging#ChannelMembershipType",
36193631
"traits": {
3620-
"smithy.api#documentation": "<p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default\n members are always returned as part of <code>ListChannelMemberships</code>. Hidden members\n are only returned if the type filter in <code>ListChannelMemberships</code> equals\n <code>HIDDEN</code>. Otherwise hidden members are not returned.</p>",
3632+
"smithy.api#documentation": "<p>The membership type of a user, <code>DEFAULT</code> or <code>HIDDEN</code>. Default\n members are returned as part of <code>ListChannelMemberships</code> if no type is specified. Hidden members\n are only returned if the type filter in <code>ListChannelMemberships</code> equals\n <code>HIDDEN</code>.</p>",
36213633
"smithy.api#httpQuery": "type"
36223634
}
36233635
},
@@ -4475,22 +4487,19 @@
44754487
"Title": {
44764488
"target": "com.amazonaws.chimesdkmessaging#PushNotificationTitle",
44774489
"traits": {
4478-
"smithy.api#documentation": "<p>The title of the push notification.</p>",
4479-
"smithy.api#required": {}
4490+
"smithy.api#documentation": "<p>The title of the push notification.</p>"
44804491
}
44814492
},
44824493
"Body": {
44834494
"target": "com.amazonaws.chimesdkmessaging#PushNotificationBody",
44844495
"traits": {
4485-
"smithy.api#documentation": "<p>The body of the push notification.</p>",
4486-
"smithy.api#required": {}
4496+
"smithy.api#documentation": "<p>The body of the push notification.</p>"
44874497
}
44884498
},
44894499
"Type": {
44904500
"target": "com.amazonaws.chimesdkmessaging#PushNotificationType",
44914501
"traits": {
4492-
"smithy.api#documentation": "<p>Enum value that indicates the type of the push notification for a message.\n <code>DEFAULT</code>: Normal mobile push notification.\n <code>VOIP</code>: VOIP mobile push notification.</p>",
4493-
"smithy.api#required": {}
4502+
"smithy.api#documentation": "<p>Enum value that indicates the type of the push notification for a message.\n <code>DEFAULT</code>: Normal mobile push notification.\n <code>VOIP</code>: VOIP mobile push notification.</p>"
44944503
}
44954504
}
44964505
},

codegen/sdk-codegen/aws-models/cloudwatch-logs.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1799,6 +1799,12 @@
17991799
"target": "com.amazonaws.cloudwatchlogs#FilteredLogEvent"
18001800
}
18011801
},
1802+
"com.amazonaws.cloudwatchlogs#ForceUpdate": {
1803+
"type": "boolean",
1804+
"traits": {
1805+
"smithy.api#box": {}
1806+
}
1807+
},
18021808
"com.amazonaws.cloudwatchlogs#GetLogEvents": {
18031809
"type": "operation",
18041810
"input": {
@@ -2890,6 +2896,12 @@
28902896
"smithy.api#documentation": "<p>An IAM policy document that authorizes cross-account users to deliver their log events\n to the associated destination. This can be up to 5120 bytes.</p>",
28912897
"smithy.api#required": {}
28922898
}
2899+
},
2900+
"forceUpdate": {
2901+
"target": "com.amazonaws.cloudwatchlogs#ForceUpdate",
2902+
"traits": {
2903+
"smithy.api#documentation": "<p>Specify true if you are updating an existing destination policy to grant permission to\n an organization ID instead of granting permission to individual AWS accounts. Before\n you update a destination policy this way, you must first update the subscription\n filters in the accounts that send logs to this destination. If you do not, the subscription\n filters might stop working. By specifying <code>true</code>\n for <code>forceUpdate</code>, you are affirming that you have already updated the subscription \n filters.\n For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Cross-Account-Log_Subscription-Update.html\">\n Updating an existing cross-account subscription</a>\n </p>\n <p>If you omit this parameter, the default of <code>false</code> is used.</p>"
2904+
}
28932905
}
28942906
}
28952907
},
@@ -3082,6 +3094,9 @@
30823094
{
30833095
"target": "com.amazonaws.cloudwatchlogs#InvalidParameterException"
30843096
},
3097+
{
3098+
"target": "com.amazonaws.cloudwatchlogs#LimitExceededException"
3099+
},
30853100
{
30863101
"target": "com.amazonaws.cloudwatchlogs#ResourceNotFoundException"
30873102
},
@@ -3170,7 +3185,7 @@
31703185
"policyDocument": {
31713186
"target": "com.amazonaws.cloudwatchlogs#PolicyDocument",
31723187
"traits": {
3173-
"smithy.api#documentation": "<p>Details of the new policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string.\n This parameter is required.</p>\n <p>The following example creates a resource policy enabling the Route 53 service to put\n DNS query logs in to the specified log group. Replace <code>\"logArn\"</code> with the ARN of \n your CloudWatch Logs resource, such as a log group or log stream.</p>\n <p>CloudWatch Logs also supports <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourcearn\">aws:SourceArn</a>\n and <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourceaccount\">aws:SourceAccount</a>\ncondition context keys.</p>\n <p>In the example resource policy, you would replace the value of <code>SourceArn</code> with the resource making the\n call from Route 53 to CloudWatch Logs and replace the value of <code>SourceAccount</code> with \n the Amazon Web Services account ID making that call.</p>\n <p></p>\n <p>\n <code>{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"Route53LogsToCloudWatchLogs\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"Service\": [\n \"route53.amazonaws.com\"\n ]\n },\n \"Action\": \"logs:PutLogEvents\",\n \"Resource\": \"logArn\",\n \"Condition\": {\n \"ArnLike\": {\n \"aws:SourceArn\": \"myRoute53ResourceArn\"\n },\n \"StringEquals\": {\n \"aws:SourceAccount\": \"myAwsAccountId\"\n }\n }\n }\n ]\n}</code>\n \n </p>"
3188+
"smithy.api#documentation": "<p>Details of the new policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string.\n This parameter is required.</p>\n <p>The following example creates a resource policy enabling the Route 53 service to put\n DNS query logs in to the specified log group. Replace <code>\"logArn\"</code> with the ARN of \n your CloudWatch Logs resource, such as a log group or log stream.</p>\n <p>CloudWatch Logs also supports <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourcearn\">aws:SourceArn</a>\n and <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-sourceaccount\">aws:SourceAccount</a>\ncondition context keys.</p>\n <p>In the example resource policy, you would replace the value of <code>SourceArn</code> with the resource making the\n call from Route 53 to CloudWatch Logs and replace the value of <code>SourceAccount</code> with \n the Amazon Web Services account ID making that call.</p>\n <p></p>\n <p>\n <code>{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"Route53LogsToCloudWatchLogs\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"Service\": [\n \"route53.amazonaws.com\"\n ]\n },\n \"Action\": \"logs:PutLogEvents\",\n \"Resource\": \"logArn\",\n \"Condition\": {\n \"ArnLike\": {\n \"aws:SourceArn\": \"myRoute53ResourceArn\"\n },\n \"StringEquals\": {\n \"aws:SourceAccount\": \"myAwsAccountId\"\n }\n }\n }\n ]\n}</code>\n \n </p>"
31743189
}
31753190
}
31763191
}

0 commit comments

Comments
 (0)