Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Nov 29, 2023
1 parent 4c4b852 commit 72478fb
Show file tree
Hide file tree
Showing 8 changed files with 12,546 additions and 2,200 deletions.
126 changes: 69 additions & 57 deletions codegen/sdk-codegen/aws-models/application-auto-scaling.json

Large diffs are not rendered by default.

7,137 changes: 5,043 additions & 2,094 deletions codegen/sdk-codegen/aws-models/cleanrooms.json

Large diffs are not rendered by default.

4,347 changes: 4,347 additions & 0 deletions codegen/sdk-codegen/aws-models/cleanroomsml.json

Large diffs are not rendered by default.

514 changes: 513 additions & 1 deletion codegen/sdk-codegen/aws-models/opensearch.json

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions codegen/sdk-codegen/aws-models/opensearchserverless.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,12 @@
"smithy.api#documentation": "<p>The ARN of the Amazon Web Services KMS key used to encrypt the collection.</p>"
}
},
"standbyReplicas": {
"target": "com.amazonaws.opensearchserverless#StandbyReplicas",
"traits": {
"smithy.api#documentation": "<p>Details about an OpenSearch Serverless collection.</p>"
}
},
"createdDate": {
"target": "smithy.api#Long",
"traits": {
Expand Down Expand Up @@ -906,6 +912,12 @@
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the KMS key with which to encrypt the collection.</p>"
}
},
"standbyReplicas": {
"target": "com.amazonaws.opensearchserverless#StandbyReplicas",
"traits": {
"smithy.api#documentation": "<p>Creates details about an OpenSearch Serverless collection.</p>"
}
},
"createdDate": {
"target": "smithy.api#Long",
"traits": {
Expand Down Expand Up @@ -954,6 +966,12 @@
"smithy.api#documentation": "<p>An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.</p>"
}
},
"standbyReplicas": {
"target": "com.amazonaws.opensearchserverless#StandbyReplicas",
"traits": {
"smithy.api#documentation": "<p>Indicates whether standby replicas should be used for a collection.</p>"
}
},
"clientToken": {
"target": "com.amazonaws.opensearchserverless#ClientToken",
"traits": {
Expand Down Expand Up @@ -3604,6 +3622,17 @@
"expect": {
"error": "Invalid Configuration: Missing Region"
}
},
{
"documentation": "Partition doesn't support DualStack",
"expect": {
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": true
}
}
],
"version": "1.0"
Expand Down Expand Up @@ -4126,6 +4155,23 @@
"smithy.api#httpError": 402
}
},
"com.amazonaws.opensearchserverless#StandbyReplicas": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"name": "ENABLED",
"value": "ENABLED",
"documentation": "Standby replicas enabled"
},
{
"name": "DISABLED",
"value": "DISABLED",
"documentation": "Standby replicas disabled"
}
]
}
},
"com.amazonaws.opensearchserverless#SubnetId": {
"type": "string",
"traits": {
Expand Down
26 changes: 25 additions & 1 deletion codegen/sdk-codegen/aws-models/sagemaker-runtime.json
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,16 @@
"smithy.api#pattern": "^\\p{ASCII}*$"
}
},
"com.amazonaws.sagemakerruntime#InferenceComponentHeader": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 63
},
"smithy.api#pattern": "^[a-zA-Z0-9]([\\-a-zA-Z0-9]*[a-zA-Z0-9])?$"
}
},
"com.amazonaws.sagemakerruntime#InferenceId": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -1432,6 +1442,13 @@
"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>",
"smithy.api#httpHeader": "X-Amzn-SageMaker-Enable-Explanations"
}
},
"InferenceComponentName": {
"target": "com.amazonaws.sagemakerruntime#InferenceComponentHeader",
"traits": {
"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>",
"smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Component"
}
}
},
"traits": {
Expand Down Expand Up @@ -1505,7 +1522,7 @@
}
],
"traits": {
"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>",
"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>",
"smithy.api#http": {
"method": "POST",
"uri": "/endpoints/{EndpointName}/invocations-response-stream",
Expand Down Expand Up @@ -1574,6 +1591,13 @@
"smithy.api#documentation": "<p>An identifier that you assign to your request.</p>",
"smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Id"
}
},
"InferenceComponentName": {
"target": "com.amazonaws.sagemakerruntime#InferenceComponentHeader",
"traits": {
"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>",
"smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Component"
}
}
},
"traits": {
Expand Down
Loading

0 comments on commit 72478fb

Please sign in to comment.