Skip to content

Commit 2c779e8

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 02b7d04 commit 2c779e8

File tree

4 files changed

+118
-27
lines changed

4 files changed

+118
-27
lines changed

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,9 @@
425425
"name": "apigateway"
426426
},
427427
"aws.protocols#restJson1": {},
428+
"smithy.api#auth": [
429+
"aws.auth#sigv4"
430+
],
428431
"smithy.api#documentation": "<p>Amazon API Gateway V2</p>",
429432
"smithy.api#title": "AmazonApiGatewayV2",
430433
"smithy.rules#endpointRuleSet": {
@@ -2606,7 +2609,7 @@
26062609
"PayloadFormatVersion": {
26072610
"target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And64",
26082611
"traits": {
2609-
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs.</p>",
2612+
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all other integrations, 1.0 is the only supported value. To learn more, see <a href=\"https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html\">Working with AWS Lambda proxy integrations for HTTP APIs</a>.</p>",
26102613
"smithy.api#jsonName": "payloadFormatVersion"
26112614
}
26122615
},
@@ -2898,7 +2901,7 @@
28982901
"PayloadFormatVersion": {
28992902
"target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And64",
29002903
"traits": {
2901-
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs.</p>",
2904+
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all other integrations, 1.0 is the only supported value. To learn more, see <a href=\"https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html\">Working with AWS Lambda proxy integrations for HTTP APIs</a>.</p>",
29022905
"smithy.api#jsonName": "payloadFormatVersion"
29032906
}
29042907
},
@@ -6236,7 +6239,7 @@
62366239
"PayloadFormatVersion": {
62376240
"target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And64",
62386241
"traits": {
6239-
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs.</p>",
6242+
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all other integrations, 1.0 is the only supported value. To learn more, see <a href=\"https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html\">Working with AWS Lambda proxy integrations for HTTP APIs</a>.</p>",
62406243
"smithy.api#jsonName": "payloadFormatVersion"
62416244
}
62426245
},
@@ -7821,7 +7824,7 @@
78217824
"PayloadFormatVersion": {
78227825
"target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And64",
78237826
"traits": {
7824-
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs.</p>",
7827+
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all other integrations, 1.0 is the only supported value. To learn more, see <a href=\"https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html\">Working with AWS Lambda proxy integrations for HTTP APIs</a>.</p>",
78257828
"smithy.api#jsonName": "payloadFormatVersion"
78267829
}
78277830
},
@@ -10012,7 +10015,7 @@
1001210015
"PayloadFormatVersion": {
1001310016
"target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And64",
1001410017
"traits": {
10015-
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs.</p>",
10018+
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all other integrations, 1.0 is the only supported value. To learn more, see <a href=\"https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html\">Working with AWS Lambda proxy integrations for HTTP APIs</a>.</p>",
1001610019
"smithy.api#jsonName": "payloadFormatVersion"
1001710020
}
1001810021
},
@@ -10310,7 +10313,7 @@
1031010313
"PayloadFormatVersion": {
1031110314
"target": "com.amazonaws.apigatewayv2#StringWithLengthBetween1And64",
1031210315
"traits": {
10313-
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs.</p>",
10316+
"smithy.api#documentation": "<p>Specifies the format of the payload sent to an integration. Required for HTTP APIs. Supported values for Lambda proxy integrations are 1.0 and 2.0. For all other integrations, 1.0 is the only supported value. To learn more, see <a href=\"https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html\">Working with AWS Lambda proxy integrations for HTTP APIs</a>.</p>",
1031410317
"smithy.api#jsonName": "payloadFormatVersion"
1031510318
}
1031610319
},

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
}
245245
},
246246
"traits": {
247-
"smithy.api#documentation": "<p>An Anycast static IP list.</p>"
247+
"smithy.api#documentation": "<p>An Anycast static IP list. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html\">Request Anycast static IPs to use for allowlisting</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
248248
}
249249
},
250250
"com.amazonaws.cloudfront#AnycastIpListCollection": {
@@ -6781,7 +6781,7 @@
67816781
"IfMatch": {
67826782
"target": "com.amazonaws.cloudfront#string",
67836783
"traits": {
6784-
"smithy.api#documentation": "<p>The VPC origin to delete, if a match occurs.</p>",
6784+
"smithy.api#documentation": "<p>The version identifier of the VPC origin to delete. This is the <code>ETag</code> value returned in the response to <a>GetVpcOrigin</a>.</p>",
67856785
"smithy.api#httpHeader": "If-Match",
67866786
"smithy.api#required": {}
67876787
}
@@ -20515,14 +20515,14 @@
2051520515
"HTTPPort": {
2051620516
"target": "com.amazonaws.cloudfront#integer",
2051720517
"traits": {
20518-
"smithy.api#documentation": "<p>The HTTP port for the CloudFront VPC origin endpoint configuration.</p>",
20518+
"smithy.api#documentation": "<p>The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is <code>80</code>.</p>",
2051920519
"smithy.api#required": {}
2052020520
}
2052120521
},
2052220522
"HTTPSPort": {
2052320523
"target": "com.amazonaws.cloudfront#integer",
2052420524
"traits": {
20525-
"smithy.api#documentation": "<p>The HTTPS port of the CloudFront VPC origin endpoint configuration.</p>",
20525+
"smithy.api#documentation": "<p>The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is <code>443</code>.</p>",
2052620526
"smithy.api#required": {}
2052720527
}
2052820528
},

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7184,7 +7184,7 @@
71847184
}
71857185
],
71867186
"traits": {
7187-
"smithy.api#documentation": "<p>Creates a new contact.</p>",
7187+
"smithy.api#documentation": "<important>\n <p>Only the EMAIL channel is supported. The supported initiation\n methods are: OUTBOUND, AGENT_REPLY, and FLOW.</p>\n </important>\n <p>Creates a new EMAIL contact. </p>",
71887188
"smithy.api#http": {
71897189
"method": "PUT",
71907190
"uri": "/contact/create-contact",
@@ -7586,14 +7586,14 @@
75867586
"Channel": {
75877587
"target": "com.amazonaws.connect#Channel",
75887588
"traits": {
7589-
"smithy.api#documentation": "<p>The channel for the contact</p>",
7589+
"smithy.api#documentation": "<p>The channel for the contact</p>\n <important>\n <p>CreateContact only supports the EMAIL channel. The following information that states other\n channels are supported is incorrect. We are working to update this topic.</p>\n </important>",
75907590
"smithy.api#required": {}
75917591
}
75927592
},
75937593
"InitiationMethod": {
75947594
"target": "com.amazonaws.connect#ContactInitiationMethod",
75957595
"traits": {
7596-
"smithy.api#documentation": "<p>Indicates how the contact was initiated.</p>",
7596+
"smithy.api#documentation": "<p>Indicates how the contact was initiated. </p>\n <important>\n <p>CreateContact only supports the following initiation methods: OUTBOUND, AGENT_REPLY, and\n FLOW. The following information that states other initiation methods are supported is incorrect. We are\n working to update this topic.</p>\n </important>",
75977597
"smithy.api#required": {}
75987598
}
75997599
},
@@ -9342,7 +9342,7 @@
93429342
"TagRestrictedResources": {
93439343
"target": "com.amazonaws.connect#TagRestrictedResourceList",
93449344
"traits": {
9345-
"smithy.api#documentation": "<p>The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames: <code>User</code> |\n <code>SecurityProfile</code> | <code>Queue</code> | <code>RoutingProfile</code>\n </p>"
9345+
"smithy.api#documentation": "<p>The list of resources that a security profile applies tag restrictions to in Amazon Connect. For a list of Amazon Connect resources that you can tag, see\n <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/tagging.html\">Add tags to resources\n in Amazon Connect</a> in the <i>Amazon Connect Administrator\n Guide</i>. </p>"
93469346
}
93479347
},
93489348
"Applications": {
@@ -27449,7 +27449,7 @@
2744927449
"UserIds": {
2745027450
"target": "com.amazonaws.connect#UserIdList",
2745127451
"traits": {
27452-
"smithy.api#documentation": "<p>A list of user IDs.</p>"
27452+
"smithy.api#documentation": "<p>A list of user IDs. Supports variable injection of\n <code>$.ContactLens.ContactEvaluation.Agent.AgentId</code> for\n <code>OnContactEvaluationSubmit</code> event source. </p>"
2745327453
}
2745427454
}
2745527455
},
@@ -35185,7 +35185,7 @@
3518535185
"ResourceTypes": {
3518635186
"target": "com.amazonaws.connect#ResourceTypeList",
3518735187
"traits": {
35188-
"smithy.api#documentation": "<p>The list of resource types to be used to search tags from. If not provided or if any empty\n list is provided, this API will search from all supported resource types.</p>\n <p class=\"title\">\n <b>Supported resource types</b>\n </p>\n <ul>\n <li>\n <p>AGENT</p>\n </li>\n <li>\n <p>ROUTING_PROFILE</p>\n </li>\n <li>\n <p>STANDARD_QUEUE</p>\n </li>\n <li>\n <p>SECURITY_PROFILE</p>\n </li>\n <li>\n <p>OPERATING_HOURS</p>\n </li>\n <li>\n <p>PROMPT</p>\n </li>\n <li>\n <p>CONTACT_FLOW</p>\n </li>\n <li>\n <p>FLOW_MODULE</p>\n </li>\n </ul>"
35188+
"smithy.api#documentation": "<p>The list of resource types to be used to search tags from. If not provided or if any empty\n list is provided, this API will search from all supported resource types. Note that lowercase and\n - are required.</p>\n <p class=\"title\">\n <b>Supported resource types</b>\n </p>\n <ul>\n <li>\n <p>agent</p>\n </li>\n <li>\n <p>agent-state</p>\n </li>\n <li>\n <p>routing-profile</p>\n </li>\n <li>\n <p>standard-queue</p>\n </li>\n <li>\n <p>security-profile</p>\n </li>\n <li>\n <p>operating-hours</p>\n </li>\n <li>\n <p>prompt</p>\n </li>\n <li>\n <p>contact-flow</p>\n </li>\n <li>\n <p>flow- module</p>\n </li>\n <li>\n <p>transfer-destination (also known as quick connect)</p>\n </li>\n </ul>"
3518935189
}
3519035190
},
3519135191
"NextToken": {
@@ -35614,7 +35614,7 @@
3561435614
"InstanceId": {
3561535615
"target": "com.amazonaws.connect#InstanceId",
3561635616
"traits": {
35617-
"smithy.api#documentation": "<p>The identifier of the Amazon Connect instance. You can <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html\">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>\n <note>\n <p>InstanceID is a required field. The \"Required: No\" below is incorrect.</p>\n </note>",
35617+
"smithy.api#documentation": "<p>The identifier of the Amazon Connect instance. You can <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html\">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>",
3561835618
"smithy.api#required": {}
3561935619
}
3562035620
},
@@ -40686,7 +40686,7 @@
4068640686
"Attributes": {
4068740687
"target": "com.amazonaws.connect#Attributes",
4068840688
"traits": {
40689-
"smithy.api#documentation": "<p>The Amazon Connect attributes. These attributes can be accessed in flows just like any\n other contact attributes.</p>\n <p>You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys\n can include only alphanumeric, dash, and underscore characters.</p>\n <p>When the attributes for a contact exceed 32 KB, the contact is routed down the Error branch\n of the flow. As a mitigation, consider the following options:</p>\n <ul>\n <li>\n <p>Remove unnecessary attributes by setting their values to empty.</p>\n </li>\n <li>\n <p>If the attributes are only used in one flow and don't need to be referred to outside of\n that flow (for example, by a Lambda or another flow), then use flow attributes. This way you\n aren't needlessly persisting the 32 KB of information from one flow to another. For more\n information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/set-contact-attributes.html\">Flow block: Set contact\n attributes</a> in the <i>Amazon Connect Administrator Guide</i>. </p>\n </li>\n </ul>",
40689+
"smithy.api#documentation": "<p>The Amazon Connect attributes. These attributes can be accessed in flows just like any\n other contact attributes.</p>\n <p>You can have up to 32,768 UTF-8 bytes across all attributes for a contact. Attribute keys\n can include only alphanumeric, dash, and underscore characters.</p>\n <p>In the <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/set-contact-attributes.html\">Set contact attributes</a>\n block, when the attributes for a contact exceed 32 KB, the contact is routed down the Error\n branch of the flow. As a mitigation, consider the following options:</p>\n <ul>\n <li>\n <p>Remove unnecessary attributes by setting their values to empty.</p>\n </li>\n <li>\n <p>If the attributes are only used in one flow and don't need to be referred to outside of\n that flow (for example, by a Lambda or another flow), then use flow attributes. This way you\n aren't needlessly persisting the 32 KB of information from one flow to another. For more\n information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/set-contact-attributes.html\">Flow block: Set contact\n attributes</a> in the <i>Amazon Connect Administrator Guide</i>. </p>\n </li>\n </ul>",
4069040690
"smithy.api#required": {}
4069140691
}
4069240692
}
@@ -43806,7 +43806,7 @@
4380643806
}
4380743807
],
4380843808
"traits": {
43809-
"smithy.api#documentation": "<p>Updates the traffic distribution for a given traffic distribution group. </p>\n <note>\n <p>The <code>SignInConfig</code> distribution is available only on a \ndefault <code>TrafficDistributionGroup</code> (see the <code>IsDefault</code> parameter in the \n<a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html\">TrafficDistributionGroup</a>\n data type). If you call\n <code>UpdateTrafficDistribution</code> with a modified <code>SignInConfig</code> and a non-default <code>TrafficDistributionGroup</code>,\n an <code>InvalidRequestException</code> is returned.</p>\n </note>\n <p>For more information about updating a traffic distribution group, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/update-telephony-traffic-distribution.html\">Update telephony\n traffic distribution across Amazon Web Services Regions\n </a> in the <i>Amazon Connect Administrator Guide</i>. </p>",
43809+
"smithy.api#documentation": "<p>Updates the traffic distribution for a given traffic distribution group. </p>\n <important>\n <p>When you shift telephony traffic, also shift agents and/or agent sign-ins to ensure they\n can handle the calls in the other Region. If you don't shift the agents, voice calls will go to\n the shifted Region but there won't be any agents available to receive the calls.</p>\n </important>\n <note>\n <p>The <code>SignInConfig</code> distribution is available only on a \ndefault <code>TrafficDistributionGroup</code> (see the <code>IsDefault</code> parameter in the \n<a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html\">TrafficDistributionGroup</a>\n data type). If you call\n <code>UpdateTrafficDistribution</code> with a modified <code>SignInConfig</code> and a non-default <code>TrafficDistributionGroup</code>,\n an <code>InvalidRequestException</code> is returned.</p>\n </note>\n <p>For more information about updating a traffic distribution group, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/update-telephony-traffic-distribution.html\">Update telephony\n traffic distribution across Amazon Web Services Regions\n </a> in the <i>Amazon Connect Administrator Guide</i>. </p>",
4381043810
"smithy.api#http": {
4381143811
"method": "PUT",
4381243812
"uri": "/traffic-distribution/{Id}",

0 commit comments

Comments
 (0)