summaryrefslogtreecommitdiff
path: root/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/aws/aws-sdk-php/src/data/runtime.sagemaker')
-rw-r--r--vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/api-2.json.php2
-rw-r--r--vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/endpoint-rule-set-1.json.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/api-2.json.php b/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/api-2.json.php
index 5e35c36..c23994d 100644
--- a/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/api-2.json.php
+++ b/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/api-2.json.php
@@ -1,3 +1,3 @@
<?php
// This file was auto-generated from sdk-root/src/data/runtime.sagemaker/2017-05-13/api-2.json
-return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2017-05-13', 'endpointPrefix' => 'runtime.sagemaker', 'jsonVersion' => '1.1', 'protocol' => 'rest-json', 'serviceFullName' => 'Amazon SageMaker Runtime', 'serviceId' => 'SageMaker Runtime', 'signatureVersion' => 'v4', 'signingName' => 'sagemaker', 'uid' => 'runtime.sagemaker-2017-05-13', ], 'operations' => [ 'InvokeEndpoint' => [ 'name' => 'InvokeEndpoint', 'http' => [ 'method' => 'POST', 'requestUri' => '/endpoints/{EndpointName}/invocations', ], 'input' => [ 'shape' => 'InvokeEndpointInput', ], 'output' => [ 'shape' => 'InvokeEndpointOutput', ], 'errors' => [ [ 'shape' => 'InternalFailure', ], [ 'shape' => 'ServiceUnavailable', ], [ 'shape' => 'ValidationError', ], [ 'shape' => 'ModelError', ], [ 'shape' => 'InternalDependencyException', ], [ 'shape' => 'ModelNotReadyException', ], ], ], 'InvokeEndpointAsync' => [ 'name' => 'InvokeEndpointAsync', 'http' => [ 'method' => 'POST', 'requestUri' => '/endpoints/{EndpointName}/async-invocations', 'responseCode' => 202, ], 'input' => [ 'shape' => 'InvokeEndpointAsyncInput', ], 'output' => [ 'shape' => 'InvokeEndpointAsyncOutput', ], 'errors' => [ [ 'shape' => 'InternalFailure', ], [ 'shape' => 'ServiceUnavailable', ], [ 'shape' => 'ValidationError', ], ], ], ], 'shapes' => [ 'BodyBlob' => [ 'type' => 'blob', 'max' => 6291456, 'sensitive' => true, ], 'CustomAttributesHeader' => [ 'type' => 'string', 'max' => 1024, 'pattern' => '\\p{ASCII}*', 'sensitive' => true, ], 'EnableExplanationsHeader' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '.*', ], 'EndpointName' => [ 'type' => 'string', 'max' => 63, 'pattern' => '^[a-zA-Z0-9](-*[a-zA-Z0-9])*', ], 'Header' => [ 'type' => 'string', 'max' => 1024, 'pattern' => '\\p{ASCII}*', ], 'InferenceId' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '\\A\\S[\\p{Print}]*\\z', ], 'InputLocationHeader' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '^(https|s3)://([^/]+)/?(.*)$', ], 'InternalDependencyException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 530, ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'InternalFailure' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'InvokeEndpointAsyncInput' => [ 'type' => 'structure', 'required' => [ 'EndpointName', 'InputLocation', ], 'members' => [ 'EndpointName' => [ 'shape' => 'EndpointName', 'location' => 'uri', 'locationName' => 'EndpointName', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Content-Type', ], 'Accept' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Accept', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], 'InferenceId' => [ 'shape' => 'InferenceId', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Inference-Id', ], 'InputLocation' => [ 'shape' => 'InputLocationHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-InputLocation', ], 'RequestTTLSeconds' => [ 'shape' => 'RequestTTLSecondsHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-RequestTTLSeconds', ], ], ], 'InvokeEndpointAsyncOutput' => [ 'type' => 'structure', 'members' => [ 'InferenceId' => [ 'shape' => 'Header', ], 'OutputLocation' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-OutputLocation', ], ], ], 'InvokeEndpointInput' => [ 'type' => 'structure', 'required' => [ 'EndpointName', 'Body', ], 'members' => [ 'EndpointName' => [ 'shape' => 'EndpointName', 'location' => 'uri', 'locationName' => 'EndpointName', ], 'Body' => [ 'shape' => 'BodyBlob', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'Content-Type', ], 'Accept' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'Accept', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], 'TargetModel' => [ 'shape' => 'TargetModelHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Target-Model', ], 'TargetVariant' => [ 'shape' => 'TargetVariantHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Target-Variant', ], 'TargetContainerHostname' => [ 'shape' => 'TargetContainerHostnameHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Target-Container-Hostname', ], 'InferenceId' => [ 'shape' => 'InferenceId', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Inference-Id', ], 'EnableExplanations' => [ 'shape' => 'EnableExplanationsHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Enable-Explanations', ], ], 'payload' => 'Body', ], 'InvokeEndpointOutput' => [ 'type' => 'structure', 'required' => [ 'Body', ], 'members' => [ 'Body' => [ 'shape' => 'BodyBlob', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'Content-Type', ], 'InvokedProductionVariant' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'x-Amzn-Invoked-Production-Variant', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], ], 'payload' => 'Body', ], 'LogStreamArn' => [ 'type' => 'string', ], 'Message' => [ 'type' => 'string', 'max' => 2048, ], 'ModelError' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], 'OriginalStatusCode' => [ 'shape' => 'StatusCode', ], 'OriginalMessage' => [ 'shape' => 'Message', ], 'LogStreamArn' => [ 'shape' => 'LogStreamArn', ], ], 'error' => [ 'httpStatusCode' => 424, ], 'exception' => true, ], 'ModelNotReadyException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 429, ], 'exception' => true, 'synthetic' => true, ], 'RequestTTLSecondsHeader' => [ 'type' => 'integer', 'max' => 21600, 'min' => 60, ], 'ServiceUnavailable' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 503, ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'StatusCode' => [ 'type' => 'integer', ], 'TargetContainerHostnameHeader' => [ 'type' => 'string', 'max' => 63, 'pattern' => '^[a-zA-Z0-9](-*[a-zA-Z0-9])*', ], 'TargetModelHeader' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '\\A\\S[\\p{Print}]*\\z', ], 'TargetVariantHeader' => [ 'type' => 'string', 'max' => 63, 'pattern' => '^[a-zA-Z0-9](-*[a-zA-Z0-9])*', ], 'ValidationError' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 400, ], 'exception' => true, 'synthetic' => true, ], ],];
+return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2017-05-13', 'endpointPrefix' => 'runtime.sagemaker', 'jsonVersion' => '1.1', 'protocol' => 'rest-json', 'serviceFullName' => 'Amazon SageMaker Runtime', 'serviceId' => 'SageMaker Runtime', 'signatureVersion' => 'v4', 'signingName' => 'sagemaker', 'uid' => 'runtime.sagemaker-2017-05-13', ], 'operations' => [ 'InvokeEndpoint' => [ 'name' => 'InvokeEndpoint', 'http' => [ 'method' => 'POST', 'requestUri' => '/endpoints/{EndpointName}/invocations', ], 'input' => [ 'shape' => 'InvokeEndpointInput', ], 'output' => [ 'shape' => 'InvokeEndpointOutput', ], 'errors' => [ [ 'shape' => 'InternalFailure', ], [ 'shape' => 'ServiceUnavailable', ], [ 'shape' => 'ValidationError', ], [ 'shape' => 'ModelError', ], [ 'shape' => 'InternalDependencyException', ], [ 'shape' => 'ModelNotReadyException', ], ], ], 'InvokeEndpointAsync' => [ 'name' => 'InvokeEndpointAsync', 'http' => [ 'method' => 'POST', 'requestUri' => '/endpoints/{EndpointName}/async-invocations', 'responseCode' => 202, ], 'input' => [ 'shape' => 'InvokeEndpointAsyncInput', ], 'output' => [ 'shape' => 'InvokeEndpointAsyncOutput', ], 'errors' => [ [ 'shape' => 'InternalFailure', ], [ 'shape' => 'ServiceUnavailable', ], [ 'shape' => 'ValidationError', ], ], ], 'InvokeEndpointWithResponseStream' => [ 'name' => 'InvokeEndpointWithResponseStream', 'http' => [ 'method' => 'POST', 'requestUri' => '/endpoints/{EndpointName}/invocations-response-stream', ], 'input' => [ 'shape' => 'InvokeEndpointWithResponseStreamInput', ], 'output' => [ 'shape' => 'InvokeEndpointWithResponseStreamOutput', ], 'errors' => [ [ 'shape' => 'InternalFailure', ], [ 'shape' => 'ServiceUnavailable', ], [ 'shape' => 'ValidationError', ], [ 'shape' => 'ModelError', ], [ 'shape' => 'ModelStreamError', ], [ 'shape' => 'InternalStreamFailure', ], ], ], ], 'shapes' => [ 'BodyBlob' => [ 'type' => 'blob', 'max' => 6291456, 'sensitive' => true, ], 'CustomAttributesHeader' => [ 'type' => 'string', 'max' => 1024, 'pattern' => '\\p{ASCII}*', 'sensitive' => true, ], 'EnableExplanationsHeader' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '.*', ], 'EndpointName' => [ 'type' => 'string', 'max' => 63, 'pattern' => '^[a-zA-Z0-9](-*[a-zA-Z0-9])*', ], 'ErrorCode' => [ 'type' => 'string', ], 'Header' => [ 'type' => 'string', 'max' => 1024, 'pattern' => '\\p{ASCII}*', ], 'InferenceId' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '\\A\\S[\\p{Print}]*\\z', ], 'InputLocationHeader' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '^(https|s3)://([^/]+)/?(.*)$', ], 'InternalDependencyException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 530, ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'InternalFailure' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 500, ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'InternalStreamFailure' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'InvocationTimeoutSecondsHeader' => [ 'type' => 'integer', 'max' => 3600, 'min' => 1, ], 'InvokeEndpointAsyncInput' => [ 'type' => 'structure', 'required' => [ 'EndpointName', 'InputLocation', ], 'members' => [ 'EndpointName' => [ 'shape' => 'EndpointName', 'location' => 'uri', 'locationName' => 'EndpointName', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Content-Type', ], 'Accept' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Accept', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], 'InferenceId' => [ 'shape' => 'InferenceId', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Inference-Id', ], 'InputLocation' => [ 'shape' => 'InputLocationHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-InputLocation', ], 'RequestTTLSeconds' => [ 'shape' => 'RequestTTLSecondsHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-RequestTTLSeconds', ], 'InvocationTimeoutSeconds' => [ 'shape' => 'InvocationTimeoutSecondsHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-InvocationTimeoutSeconds', ], ], ], 'InvokeEndpointAsyncOutput' => [ 'type' => 'structure', 'members' => [ 'InferenceId' => [ 'shape' => 'Header', ], 'OutputLocation' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-OutputLocation', ], 'FailureLocation' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-FailureLocation', ], ], ], 'InvokeEndpointInput' => [ 'type' => 'structure', 'required' => [ 'EndpointName', 'Body', ], 'members' => [ 'EndpointName' => [ 'shape' => 'EndpointName', 'location' => 'uri', 'locationName' => 'EndpointName', ], 'Body' => [ 'shape' => 'BodyBlob', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'Content-Type', ], 'Accept' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'Accept', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], 'TargetModel' => [ 'shape' => 'TargetModelHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Target-Model', ], 'TargetVariant' => [ 'shape' => 'TargetVariantHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Target-Variant', ], 'TargetContainerHostname' => [ 'shape' => 'TargetContainerHostnameHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Target-Container-Hostname', ], 'InferenceId' => [ 'shape' => 'InferenceId', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Inference-Id', ], 'EnableExplanations' => [ 'shape' => 'EnableExplanationsHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Enable-Explanations', ], ], 'payload' => 'Body', ], 'InvokeEndpointOutput' => [ 'type' => 'structure', 'required' => [ 'Body', ], 'members' => [ 'Body' => [ 'shape' => 'BodyBlob', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'Content-Type', ], 'InvokedProductionVariant' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'x-Amzn-Invoked-Production-Variant', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], ], 'payload' => 'Body', ], 'InvokeEndpointWithResponseStreamInput' => [ 'type' => 'structure', 'required' => [ 'EndpointName', 'Body', ], 'members' => [ 'EndpointName' => [ 'shape' => 'EndpointName', 'location' => 'uri', 'locationName' => 'EndpointName', ], 'Body' => [ 'shape' => 'BodyBlob', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'Content-Type', ], 'Accept' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Accept', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], 'TargetVariant' => [ 'shape' => 'TargetVariantHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Target-Variant', ], 'TargetContainerHostname' => [ 'shape' => 'TargetContainerHostnameHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Target-Container-Hostname', ], 'InferenceId' => [ 'shape' => 'InferenceId', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Inference-Id', ], ], 'payload' => 'Body', ], 'InvokeEndpointWithResponseStreamOutput' => [ 'type' => 'structure', 'required' => [ 'Body', ], 'members' => [ 'Body' => [ 'shape' => 'ResponseStream', ], 'ContentType' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Content-Type', ], 'InvokedProductionVariant' => [ 'shape' => 'Header', 'location' => 'header', 'locationName' => 'x-Amzn-Invoked-Production-Variant', ], 'CustomAttributes' => [ 'shape' => 'CustomAttributesHeader', 'location' => 'header', 'locationName' => 'X-Amzn-SageMaker-Custom-Attributes', ], ], 'payload' => 'Body', ], 'LogStreamArn' => [ 'type' => 'string', ], 'Message' => [ 'type' => 'string', 'max' => 2048, ], 'ModelError' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], 'OriginalStatusCode' => [ 'shape' => 'StatusCode', ], 'OriginalMessage' => [ 'shape' => 'Message', ], 'LogStreamArn' => [ 'shape' => 'LogStreamArn', ], ], 'error' => [ 'httpStatusCode' => 424, ], 'exception' => true, ], 'ModelNotReadyException' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 429, ], 'exception' => true, 'synthetic' => true, ], 'ModelStreamError' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], 'ErrorCode' => [ 'shape' => 'ErrorCode', ], ], 'exception' => true, 'synthetic' => true, ], 'PartBlob' => [ 'type' => 'blob', 'sensitive' => true, ], 'PayloadPart' => [ 'type' => 'structure', 'members' => [ 'Bytes' => [ 'shape' => 'PartBlob', 'eventpayload' => true, ], ], 'event' => true, ], 'RequestTTLSecondsHeader' => [ 'type' => 'integer', 'max' => 21600, 'min' => 60, ], 'ResponseStream' => [ 'type' => 'structure', 'members' => [ 'PayloadPart' => [ 'shape' => 'PayloadPart', ], 'ModelStreamError' => [ 'shape' => 'ModelStreamError', ], 'InternalStreamFailure' => [ 'shape' => 'InternalStreamFailure', ], ], 'eventstream' => true, ], 'ServiceUnavailable' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 503, ], 'exception' => true, 'fault' => true, 'synthetic' => true, ], 'StatusCode' => [ 'type' => 'integer', ], 'TargetContainerHostnameHeader' => [ 'type' => 'string', 'max' => 63, 'pattern' => '^[a-zA-Z0-9](-*[a-zA-Z0-9])*', ], 'TargetModelHeader' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'pattern' => '\\A\\S[\\p{Print}]*\\z', ], 'TargetVariantHeader' => [ 'type' => 'string', 'max' => 63, 'pattern' => '^[a-zA-Z0-9](-*[a-zA-Z0-9])*', ], 'ValidationError' => [ 'type' => 'structure', 'members' => [ 'Message' => [ 'shape' => 'Message', ], ], 'error' => [ 'httpStatusCode' => 400, ], 'exception' => true, 'synthetic' => true, ], ],];
diff --git a/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/endpoint-rule-set-1.json.php b/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/endpoint-rule-set-1.json.php
index 1ddbe82..251e25c 100644
--- a/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/endpoint-rule-set-1.json.php
+++ b/vendor/aws/aws-sdk-php/src/data/runtime.sagemaker/2017-05-13/endpoint-rule-set-1.json.php
@@ -1,3 +1,3 @@
<?php
// This file was auto-generated from sdk-root/src/data/runtime.sagemaker/2017-05-13/endpoint-rule-set-1.json
-return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], [ 'fn' => 'parseURL', 'argv' => [ [ 'ref' => 'Endpoint', ], ], 'assign' => 'url', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://runtime-fips.sagemaker.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws-us-gov', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ],];
+return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], 'UseFIPS' => [ 'builtIn' => 'AWS::UseFIPS', 'required' => true, 'default' => false, 'documentation' => 'When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.', 'type' => 'Boolean', ], 'Endpoint' => [ 'builtIn' => 'SDK::Endpoint', 'required' => false, 'documentation' => 'Override the endpoint used to send this request', 'type' => 'String', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://runtime-fips.sagemaker.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws-us-gov', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://runtime.sagemaker.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];