Skip to content

Commit 72478fb

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 4c4b852 commit 72478fb

8 files changed

+12546
-2200
lines changed

codegen/sdk-codegen/aws-models/application-auto-scaling.json

+69-57
Large diffs are not rendered by default.

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

+5,043-2,094
Large diffs are not rendered by default.

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

+4,347
Large diffs are not rendered by default.

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

+513-1
Large diffs are not rendered by default.

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

+46
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,12 @@
497497
"smithy.api#documentation": "<p>The ARN of the Amazon Web Services KMS key used to encrypt the collection.</p>"
498498
}
499499
},
500+
"standbyReplicas": {
501+
"target": "com.amazonaws.opensearchserverless#StandbyReplicas",
502+
"traits": {
503+
"smithy.api#documentation": "<p>Details about an OpenSearch Serverless collection.</p>"
504+
}
505+
},
500506
"createdDate": {
501507
"target": "smithy.api#Long",
502508
"traits": {
@@ -906,6 +912,12 @@
906912
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.</p>"
907913
}
908914
},
915+
"standbyReplicas": {
916+
"target": "com.amazonaws.opensearchserverless#StandbyReplicas",
917+
"traits": {
918+
"smithy.api#documentation": "<p>Creates details about an OpenSearch Serverless collection.</p>"
919+
}
920+
},
909921
"createdDate": {
910922
"target": "smithy.api#Long",
911923
"traits": {
@@ -954,6 +966,12 @@
954966
"smithy.api#documentation": "<p>An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.</p>"
955967
}
956968
},
969+
"standbyReplicas": {
970+
"target": "com.amazonaws.opensearchserverless#StandbyReplicas",
971+
"traits": {
972+
"smithy.api#documentation": "<p>Indicates whether standby replicas should be used for a collection.</p>"
973+
}
974+
},
957975
"clientToken": {
958976
"target": "com.amazonaws.opensearchserverless#ClientToken",
959977
"traits": {
@@ -3604,6 +3622,17 @@
36043622
"expect": {
36053623
"error": "Invalid Configuration: Missing Region"
36063624
}
3625+
},
3626+
{
3627+
"documentation": "Partition doesn't support DualStack",
3628+
"expect": {
3629+
"error": "DualStack is enabled but this partition does not support DualStack"
3630+
},
3631+
"params": {
3632+
"Region": "us-isob-east-1",
3633+
"UseFIPS": false,
3634+
"UseDualStack": true
3635+
}
36073636
}
36083637
],
36093638
"version": "1.0"
@@ -4126,6 +4155,23 @@
41264155
"smithy.api#httpError": 402
41274156
}
41284157
},
4158+
"com.amazonaws.opensearchserverless#StandbyReplicas": {
4159+
"type": "string",
4160+
"traits": {
4161+
"smithy.api#enum": [
4162+
{
4163+
"name": "ENABLED",
4164+
"value": "ENABLED",
4165+
"documentation": "Standby replicas enabled"
4166+
},
4167+
{
4168+
"name": "DISABLED",
4169+
"value": "DISABLED",
4170+
"documentation": "Standby replicas disabled"
4171+
}
4172+
]
4173+
}
4174+
},
41294175
"com.amazonaws.opensearchserverless#SubnetId": {
41304176
"type": "string",
41314177
"traits": {

codegen/sdk-codegen/aws-models/sagemaker-runtime.json

+25-1
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,16 @@
11301130
"smithy.api#pattern": "^\\p{ASCII}*$"
11311131
}
11321132
},
1133+
"com.amazonaws.sagemakerruntime#InferenceComponentHeader": {
1134+
"type": "string",
1135+
"traits": {
1136+
"smithy.api#length": {
1137+
"min": 0,
1138+
"max": 63
1139+
},
1140+
"smithy.api#pattern": "^[a-zA-Z0-9]([\\-a-zA-Z0-9]*[a-zA-Z0-9])?$"
1141+
}
1142+
},
11331143
"com.amazonaws.sagemakerruntime#InferenceId": {
11341144
"type": "string",
11351145
"traits": {
@@ -1432,6 +1442,13 @@
14321442
"smithy.api#documentation": "<p>An optional JMESPath expression used to override the <code>EnableExplanations</code>\n parameter of the <code>ClarifyExplainerConfig</code> API. See the <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/clarify-online-explainability-create-endpoint.html#clarify-online-explainability-create-endpoint-enable\">EnableExplanations</a> section in the developer guide for more information.\n </p>",
14331443
"smithy.api#httpHeader": "X-Amzn-SageMaker-Enable-Explanations"
14341444
}
1445+
},
1446+
"InferenceComponentName": {
1447+
"target": "com.amazonaws.sagemakerruntime#InferenceComponentHeader",
1448+
"traits": {
1449+
"smithy.api#documentation": "<p>If the endpoint hosts one or more inference components, this parameter specifies the\n name of inference component to invoke.</p>",
1450+
"smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Component"
1451+
}
14351452
}
14361453
},
14371454
"traits": {
@@ -1505,7 +1522,7 @@
15051522
}
15061523
],
15071524
"traits": {
1508-
"smithy.api#documentation": "<p>Invokes a model at the specified endpoint to return the inference response as a\n stream. The inference stream provides the response payload incrementally as a series of\n parts. Before you can get an inference stream, you must have access to a model that's\n deployed using Amazon SageMaker hosting services, and the container for that model\n must support inference streaming.</p>\n <p>For more information that can help you use this API, see the following sections in the\n <i>Amazon SageMaker Developer Guide</i>:</p>\n <ul>\n <li>\n <p>For information about how to add streaming support to a model, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html#your-algorithms-inference-code-how-containe-serves-requests\">How Containers Serve Requests</a>.</p>\n </li>\n <li>\n <p>For information about how to process the streaming response, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-test-endpoints.html\">Invoke real-time endpoints</a>.</p>\n </li>\n </ul>\n <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add\n additional headers. You should not rely on the behavior of headers outside those\n enumerated in the request syntax. </p>\n <p>Calls to <code>InvokeEndpointWithResponseStream</code> are authenticated by using\n Amazon Web Services Signature Version 4. For information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html\">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the\n <i>Amazon S3 API Reference</i>.</p>",
1525+
"smithy.api#documentation": "<p>Invokes a model at the specified endpoint to return the inference response as a\n stream. The inference stream provides the response payload incrementally as a series of\n parts. Before you can get an inference stream, you must have access to a model that's\n deployed using Amazon SageMaker hosting services, and the container for that model\n must support inference streaming.</p>\n <p>For more information that can help you use this API, see the following sections in the\n <i>Amazon SageMaker Developer Guide</i>:</p>\n <ul>\n <li>\n <p>For information about how to add streaming support to a model, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-inference-code.html#your-algorithms-inference-code-how-containe-serves-requests\">How Containers Serve Requests</a>.</p>\n </li>\n <li>\n <p>For information about how to process the streaming response, see <a href=\"https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-test-endpoints.html\">Invoke real-time endpoints</a>.</p>\n </li>\n </ul>\n <p>Before you can use this operation, your IAM permissions must allow the\n <code>sagemaker:InvokeEndpoint</code> action. For more information about Amazon SageMaker actions for IAM policies, see <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsagemaker.html\">Actions, resources, and condition keys for Amazon SageMaker</a> in the <i>IAM Service Authorization\n Reference</i>.</p>\n <p>Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add\n additional headers. You should not rely on the behavior of headers outside those\n enumerated in the request syntax. </p>\n <p>Calls to <code>InvokeEndpointWithResponseStream</code> are authenticated by using\n Amazon Web Services Signature Version 4. For information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html\">Authenticating Requests (Amazon Web Services Signature Version 4)</a> in the\n <i>Amazon S3 API Reference</i>.</p>",
15091526
"smithy.api#http": {
15101527
"method": "POST",
15111528
"uri": "/endpoints/{EndpointName}/invocations-response-stream",
@@ -1574,6 +1591,13 @@
15741591
"smithy.api#documentation": "<p>An identifier that you assign to your request.</p>",
15751592
"smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Id"
15761593
}
1594+
},
1595+
"InferenceComponentName": {
1596+
"target": "com.amazonaws.sagemakerruntime#InferenceComponentHeader",
1597+
"traits": {
1598+
"smithy.api#documentation": "<p>If the endpoint hosts one or more inference components, this parameter specifies the\n name of inference component to invoke for a streaming response.</p>",
1599+
"smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Component"
1600+
}
15771601
}
15781602
},
15791603
"traits": {

0 commit comments

Comments
 (0)