Skip to content

Commit f5a0876

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 3674c38 commit f5a0876

11 files changed

+1503
-224
lines changed

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

+2-12
Original file line numberDiff line numberDiff line change
@@ -2072,17 +2072,6 @@
20722072
"expect": {
20732073
"error": "Invalid Configuration: Missing Region"
20742074
}
2075-
},
2076-
{
2077-
"documentation": "Partition doesn't support DualStack",
2078-
"expect": {
2079-
"error": "DualStack is enabled but this partition does not support DualStack"
2080-
},
2081-
"params": {
2082-
"Region": "us-isob-east-1",
2083-
"UseFIPS": false,
2084-
"UseDualStack": true
2085-
}
20862075
}
20872076
],
20882077
"version": "1.0"
@@ -25226,7 +25215,8 @@
2522625215
"InstanceId": {
2522725216
"target": "com.amazonaws.connect#InstanceId",
2522825217
"traits": {
25229-
"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>"
25218+
"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>",
25219+
"smithy.api#required": {}
2523025220
}
2523125221
},
2523225222
"NextToken": {

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

+36-1
Original file line numberDiff line numberDiff line change
@@ -1644,7 +1644,7 @@
16441644
}
16451645
],
16461646
"traits": {
1647-
"smithy.api#documentation": "<p>Creates a related item (comments, tasks, and contacts) and associates it with a\n case.</p>\n <note>\n <p>A Related Item is a resource that is associated with a case. It may or may not have an\n external identifier linking it to an external resource (for example, a\n <code>contactArn</code>). All Related Items have their own internal identifier, the\n <code>relatedItemArn</code>. Examples of related items include <code>comments</code> and\n <code>contacts</code>.</p>\n </note>",
1647+
"smithy.api#documentation": "<p>Creates a related item (comments, tasks, and contacts) and associates it with a\n case.</p>\n <note>\n <ul>\n <li> \n <p>A Related Item is a resource that is associated with a case. It may or may not have an\n external identifier linking it to an external resource (for example, a\n <code>contactArn</code>). All Related Items have their own internal identifier, the\n <code>relatedItemArn</code>. Examples of related items include <code>comments</code> and\n <code>contacts</code>.</p>\n </li>\n <li>\n <p>If you provide a value for <code>performedBy.userArn</code> you must also have \n <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribeUser.html\">DescribeUser</a>\n permission on the ARN of the user that you provide.</p>\n </li>\n </ul>\n \n </note>",
16481648
"smithy.api#http": {
16491649
"uri": "/domains/{domainId}/cases/{caseId}/related-items/",
16501650
"method": "POST"
@@ -1684,6 +1684,12 @@
16841684
"smithy.api#documentation": "<p>The content of a related item to be created.</p>",
16851685
"smithy.api#required": {}
16861686
}
1687+
},
1688+
"performedBy": {
1689+
"target": "com.amazonaws.connectcases#UserUnion",
1690+
"traits": {
1691+
"smithy.api#documentation": "<p>Represents the creator of the related item.</p>"
1692+
}
16871693
}
16881694
}
16891695
},
@@ -4372,6 +4378,12 @@
43724378
"traits": {
43734379
"smithy.api#documentation": "<p>A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.</p>"
43744380
}
4381+
},
4382+
"performedBy": {
4383+
"target": "com.amazonaws.connectcases#UserUnion",
4384+
"traits": {
4385+
"smithy.api#documentation": "<p>Represents the creator of the related item.</p>"
4386+
}
43754387
}
43764388
},
43774389
"traits": {
@@ -5062,6 +5074,29 @@
50625074
"type": "structure",
50635075
"members": {}
50645076
},
5077+
"com.amazonaws.connectcases#UserArn": {
5078+
"type": "string",
5079+
"traits": {
5080+
"smithy.api#length": {
5081+
"min": 1,
5082+
"max": 500
5083+
}
5084+
}
5085+
},
5086+
"com.amazonaws.connectcases#UserUnion": {
5087+
"type": "union",
5088+
"members": {
5089+
"userArn": {
5090+
"target": "com.amazonaws.connectcases#UserArn",
5091+
"traits": {
5092+
"smithy.api#documentation": "<p>Represents the Amazon Connect ARN of the user.</p>"
5093+
}
5094+
}
5095+
},
5096+
"traits": {
5097+
"smithy.api#documentation": "<p>Represents the identity of the person who performed the action.</p>"
5098+
}
5099+
},
50655100
"com.amazonaws.connectcases#ValidationException": {
50665101
"type": "structure",
50675102
"members": {

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -6728,10 +6728,10 @@
67286728
"type": "string",
67296729
"traits": {
67306730
"smithy.api#length": {
6731-
"min": 1,
6731+
"min": 0,
67326732
"max": 200
67336733
},
6734-
"smithy.api#pattern": "^.+$"
6734+
"smithy.api#pattern": "^.*$"
67356735
}
67366736
},
67376737
"com.amazonaws.datasync#ObjectStorageBucketName": {

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

+407-2
Large diffs are not rendered by default.

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

+12-6
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@
28112811
"EphemeralStorage": {
28122812
"target": "com.amazonaws.lambda#EphemeralStorage",
28132813
"traits": {
2814-
"smithy.api#documentation": "<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB.</p>"
2814+
"smithy.api#documentation": "<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage\">Configuring ephemeral storage (console)</a>.</p>"
28152815
}
28162816
},
28172817
"SnapStart": {
@@ -3855,7 +3855,7 @@
38553855
}
38563856
},
38573857
"traits": {
3858-
"smithy.api#documentation": "<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but it can be any\n whole number between 512 and 10,240 MB.</p>"
3858+
"smithy.api#documentation": "<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage\">Configuring ephemeral storage (console)</a>.</p>"
38593859
}
38603860
},
38613861
"com.amazonaws.lambda#EphemeralStorageSize": {
@@ -4452,7 +4452,7 @@
44524452
"EphemeralStorage": {
44534453
"target": "com.amazonaws.lambda#EphemeralStorage",
44544454
"traits": {
4455-
"smithy.api#documentation": "<p>The size of the functions <code>/tmp</code> directory in MB. The default value is 512, but it can be any\n whole number between 512 and 10,240 MB.</p>"
4455+
"smithy.api#documentation": "<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage\">Configuring ephemeral storage (console)</a>.</p>"
44564456
}
44574457
},
44584458
"SnapStart": {
@@ -6455,7 +6455,7 @@
64556455
}
64566456
],
64576457
"traits": {
6458-
"smithy.api#documentation": "<p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or\n asynchronously. To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>.</p>\n <p>For <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html\">synchronous invocation</a>,\n details about the function response, including errors, are included in the response body and headers. For either\n invocation type, you can find more information in the <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html\">execution log</a> and <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html\">trace</a>.</p>\n <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,\n client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an\n error, Lambda executes the function up to two more times. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html\">Error handling and automatic retries in\n Lambda</a>.</p>\n <p>For <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html\">asynchronous invocation</a>,\n Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity\n to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple\n times, even if no error occurs. To retain events that were not processed, configure your function with a <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq\">dead-letter queue</a>.</p>\n <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that\n prevent your function from executing, such as permissions errors, <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html\">quota</a> errors, or issues with your function's code and\n configuration. For example, Lambda returns <code>TooManyRequestsException</code> if running the\n function would cause you to exceed a concurrency limit at either the account level\n (<code>ConcurrentInvocationLimitExceeded</code>) or function level\n (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p>\n <p>For functions with a long timeout, your client might disconnect during synchronous invocation while it waits\n for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long\n connections with timeout or keep-alive settings.</p>\n <p>This operation requires permission for the <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html\">lambda:InvokeFunction</a> action. For details on how to set up\n permissions for cross-account invocations, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke\">Granting function\n access to other accounts</a>.</p>",
6458+
"smithy.api#documentation": "<p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or\n asynchronously. By default, Lambda invokes your function synchronously (i.e. the<code>InvocationType</code>\n is <code>RequestResponse</code>). To invoke a function asynchronously, set <code>InvocationType</code> to\n <code>Event</code>. Lambda passes the <code>ClientContext</code> object to your function for\n synchronous invocations only.</p>\n <p>For <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html\">synchronous invocation</a>,\n details about the function response, including errors, are included in the response body and headers. For either\n invocation type, you can find more information in the <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html\">execution log</a> and <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html\">trace</a>.</p>\n <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,\n client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an\n error, Lambda executes the function up to two more times. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html\">Error handling and automatic retries in\n Lambda</a>.</p>\n <p>For <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html\">asynchronous invocation</a>,\n Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity\n to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple\n times, even if no error occurs. To retain events that were not processed, configure your function with a <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-dlq\">dead-letter queue</a>.</p>\n <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that\n prevent your function from executing, such as permissions errors, <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html\">quota</a> errors, or issues with your function's code and\n configuration. For example, Lambda returns <code>TooManyRequestsException</code> if running the\n function would cause you to exceed a concurrency limit at either the account level\n (<code>ConcurrentInvocationLimitExceeded</code>) or function level\n (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p>\n <p>For functions with a long timeout, your client might disconnect during synchronous invocation while it waits\n for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long\n connections with timeout or keep-alive settings.</p>\n <p>This operation requires permission for the <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html\">lambda:InvokeFunction</a> action. For details on how to set up\n permissions for cross-account invocations, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke\">Granting function\n access to other accounts</a>.</p>",
64596459
"smithy.api#http": {
64606460
"method": "POST",
64616461
"uri": "/2015-03-31/functions/{FunctionName}/invocations",
@@ -6490,7 +6490,7 @@
64906490
],
64916491
"traits": {
64926492
"smithy.api#deprecated": {},
6493-
"smithy.api#documentation": "<important>\n <p>For asynchronous function invocation, use <a>Invoke</a>.</p>\n </important>\n <p>Invokes a function asynchronously.</p>",
6493+
"smithy.api#documentation": "<important>\n <p>For asynchronous function invocation, use <a>Invoke</a>.</p>\n </important>\n <p>Invokes a function asynchronously.</p>\n <note>\n <p>If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not \n propagated to the function, even if X-Ray active tracing is turned on.</p>\n </note>",
64946494
"smithy.api#http": {
64956495
"method": "POST",
64966496
"uri": "/2014-11-13/functions/{FunctionName}/invoke-async",
@@ -9952,6 +9952,12 @@
99529952
"traits": {
99539953
"smithy.api#enumValue": "python3.11"
99549954
}
9955+
},
9956+
"nodejs20x": {
9957+
"target": "smithy.api#Unit",
9958+
"traits": {
9959+
"smithy.api#enumValue": "nodejs20.x"
9960+
}
99559961
}
99569962
}
99579963
},
@@ -11472,7 +11478,7 @@
1147211478
"EphemeralStorage": {
1147311479
"target": "com.amazonaws.lambda#EphemeralStorage",
1147411480
"traits": {
11475-
"smithy.api#documentation": "<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB.</p>"
11481+
"smithy.api#documentation": "<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole\n number between 512 and 10,240 MB. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage\">Configuring ephemeral storage (console)</a>.</p>"
1147611482
}
1147711483
},
1147811484
"SnapStart": {

codegen/sdk-codegen/aws-models/lex-models-v2.json

+12
Original file line numberDiff line numberDiff line change
@@ -2236,6 +2236,12 @@
22362236
"traits": {
22372237
"smithy.api#required": {}
22382238
}
2239+
},
2240+
"selectiveLoggingEnabled": {
2241+
"target": "com.amazonaws.lexmodelsv2#BoxedBoolean",
2242+
"traits": {
2243+
"smithy.api#documentation": "<p>The option to enable selective conversation log capture for audio.</p>"
2244+
}
22392245
}
22402246
},
22412247
"traits": {
@@ -20476,6 +20482,12 @@
2047620482
"traits": {
2047720483
"smithy.api#required": {}
2047820484
}
20485+
},
20486+
"selectiveLoggingEnabled": {
20487+
"target": "com.amazonaws.lexmodelsv2#BoxedBoolean",
20488+
"traits": {
20489+
"smithy.api#documentation": "<p>The option to enable selective conversation log capture for text.</p>"
20490+
}
2047920491
}
2048020492
},
2048120493
"traits": {

0 commit comments

Comments
 (0)