diff --git a/.changes/65002f2c-40d9-4f43-8093-19067e1793bf.json b/.changes/65002f2c-40d9-4f43-8093-19067e1793bf.json new file mode 100644 index 00000000000..856158cfca5 --- /dev/null +++ b/.changes/65002f2c-40d9-4f43-8093-19067e1793bf.json @@ -0,0 +1,5 @@ +{ + "id": "65002f2c-40d9-4f43-8093-19067e1793bf", + "type": "misc", + "description": "Remove Elastic Inference Service" +} \ No newline at end of file diff --git a/codegen/aws-sdk-codegen/src/test/kotlin/aws/sdk/kotlin/codegen/EndpointUrlConfigNamesTest.kt b/codegen/aws-sdk-codegen/src/test/kotlin/aws/sdk/kotlin/codegen/EndpointUrlConfigNamesTest.kt index 0867f3c558d..0a41e9856de 100644 --- a/codegen/aws-sdk-codegen/src/test/kotlin/aws/sdk/kotlin/codegen/EndpointUrlConfigNamesTest.kt +++ b/codegen/aws-sdk-codegen/src/test/kotlin/aws/sdk/kotlin/codegen/EndpointUrlConfigNamesTest.kt @@ -548,11 +548,6 @@ private const val TEST_SUITE_JSON = """ "services_section_name": "eks", "service_envvar_name": "AWS_ENDPOINT_URL_EKS" }, - { - "service_id": "Elastic Inference", - "services_section_name": "elastic_inference", - "service_envvar_name": "AWS_ENDPOINT_URL_ELASTIC_INFERENCE" - }, { "service_id": "ElastiCache", "services_section_name": "elasticache", @@ -1911,7 +1906,6 @@ private const val JAVA_CLIENT_NAMES_JSON = """ "LookoutEquipment": "LookoutEquipmentClient", "CloudWatch": "CloudWatchClient", "Pca Connector Ad": "PcaConnectorAdClient", - "Elastic Inference": "ElasticInferenceClient", "Glue": "GlueClient", "SecurityLake": "SecurityLakeClient", "Pinpoint SMS Voice": "PinpointSmsVoiceClient", diff --git a/codegen/sdk/aws-models/elastic-inference.json b/codegen/sdk/aws-models/elastic-inference.json deleted file mode 100644 index 234a6311006..00000000000 --- a/codegen/sdk/aws-models/elastic-inference.json +++ /dev/null @@ -1,1632 +0,0 @@ -{ - "smithy": "2.0", - "metadata": { - "suppressions": [ - { - "id": "HttpMethodSemantics", - "namespace": "*" - }, - { - "id": "HttpResponseCodeSemantics", - "namespace": "*" - }, - { - "id": "PaginatedTrait", - "namespace": "*" - }, - { - "id": "HttpHeaderTrait", - "namespace": "*" - }, - { - "id": "HttpUriConflict", - "namespace": "*" - }, - { - "id": "Service", - "namespace": "*" - } - ] - }, - "shapes": { - "com.amazonaws.elasticinference#AcceleratorHealthStatus": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.elasticinference#AcceleratorId": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "^eia-[0-9a-f]+$" - } - }, - "com.amazonaws.elasticinference#AcceleratorIdList": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#AcceleratorId" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1000 - } - } - }, - "com.amazonaws.elasticinference#AcceleratorType": { - "type": "structure", - "members": { - "acceleratorTypeName": { - "target": "com.amazonaws.elasticinference#AcceleratorTypeName", - "traits": { - "smithy.api#documentation": "
\n The name of the Elastic Inference Accelerator type.\n
" - } - }, - "memoryInfo": { - "target": "com.amazonaws.elasticinference#MemoryInfo", - "traits": { - "smithy.api#documentation": "\n The memory information of the Elastic Inference Accelerator type.\n
" - } - }, - "throughputInfo": { - "target": "com.amazonaws.elasticinference#ThroughputInfoList", - "traits": { - "smithy.api#documentation": "\n The throughput information of the Elastic Inference Accelerator type.\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "\n The details of an Elastic Inference Accelerator type.\n
" - } - }, - "com.amazonaws.elasticinference#AcceleratorTypeList": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#AcceleratorType" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.elasticinference#AcceleratorTypeName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "^\\S+$" - } - }, - "com.amazonaws.elasticinference#AcceleratorTypeNameList": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#AcceleratorTypeName" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.elasticinference#AcceleratorTypeOffering": { - "type": "structure", - "members": { - "acceleratorType": { - "target": "com.amazonaws.elasticinference#AcceleratorTypeName", - "traits": { - "smithy.api#documentation": "\n The name of the Elastic Inference Accelerator type.\n
" - } - }, - "locationType": { - "target": "com.amazonaws.elasticinference#LocationType", - "traits": { - "smithy.api#documentation": "\n The location type for the offering. It can assume the following values:\n region: defines that the offering is at the regional level.\n availability-zone: defines that the offering is at the availability zone level.\n availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.\n
" - } - }, - "location": { - "target": "com.amazonaws.elasticinference#Location", - "traits": { - "smithy.api#documentation": "\n The location for the offering.\n It will return either the region, availability zone or availability zone id for the offering depending on the locationType value.\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "\n The offering for an Elastic Inference Accelerator type.\n
" - } - }, - "com.amazonaws.elasticinference#AcceleratorTypeOfferingList": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#AcceleratorTypeOffering" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.elasticinference#AvailabilityZone": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.elasticinference#BadRequestException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.elasticinference#String" - } - }, - "traits": { - "smithy.api#documentation": "\n Raised when a malformed input has been provided to the API.\n
", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.elasticinference#DescribeAcceleratorOfferings": { - "type": "operation", - "input": { - "target": "com.amazonaws.elasticinference#DescribeAcceleratorOfferingsRequest" - }, - "output": { - "target": "com.amazonaws.elasticinference#DescribeAcceleratorOfferingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.elasticinference#BadRequestException" - }, - { - "target": "com.amazonaws.elasticinference#InternalServerException" - }, - { - "target": "com.amazonaws.elasticinference#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "Amazon Elastic Inference is no longer available.
\n\n Describes the locations in which a given accelerator type or set of types is present in a given region.\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/describe-accelerator-offerings", - "code": 200 - } - } - }, - "com.amazonaws.elasticinference#DescribeAcceleratorOfferingsRequest": { - "type": "structure", - "members": { - "locationType": { - "target": "com.amazonaws.elasticinference#LocationType", - "traits": { - "smithy.api#documentation": "\n The location type that you want to describe accelerator type offerings for. It can assume the following values:\n region: will return the accelerator type offering at the regional level.\n availability-zone: will return the accelerator type offering at the availability zone level.\n availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.\n
", - "smithy.api#required": {} - } - }, - "acceleratorTypes": { - "target": "com.amazonaws.elasticinference#AcceleratorTypeNameList", - "traits": { - "smithy.api#documentation": "\n The list of accelerator types to describe.\n
" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.elasticinference#DescribeAcceleratorOfferingsResponse": { - "type": "structure", - "members": { - "acceleratorTypeOfferings": { - "target": "com.amazonaws.elasticinference#AcceleratorTypeOfferingList", - "traits": { - "smithy.api#documentation": "\n The list of accelerator type offerings for a specific location.\n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.elasticinference#DescribeAcceleratorTypes": { - "type": "operation", - "input": { - "target": "com.amazonaws.elasticinference#DescribeAcceleratorTypesRequest" - }, - "output": { - "target": "com.amazonaws.elasticinference#DescribeAcceleratorTypesResponse" - }, - "errors": [ - { - "target": "com.amazonaws.elasticinference#InternalServerException" - } - ], - "traits": { - "smithy.api#documentation": "Amazon Elastic Inference is no longer available.
\n\n Describes the accelerator types available in a given region, as well as their characteristics, such as memory and throughput.\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/describe-accelerator-types", - "code": 200 - } - } - }, - "com.amazonaws.elasticinference#DescribeAcceleratorTypesRequest": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.elasticinference#DescribeAcceleratorTypesResponse": { - "type": "structure", - "members": { - "acceleratorTypes": { - "target": "com.amazonaws.elasticinference#AcceleratorTypeList", - "traits": { - "smithy.api#documentation": "\n The available accelerator types.\n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.elasticinference#DescribeAccelerators": { - "type": "operation", - "input": { - "target": "com.amazonaws.elasticinference#DescribeAcceleratorsRequest" - }, - "output": { - "target": "com.amazonaws.elasticinference#DescribeAcceleratorsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.elasticinference#BadRequestException" - }, - { - "target": "com.amazonaws.elasticinference#InternalServerException" - }, - { - "target": "com.amazonaws.elasticinference#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "Amazon Elastic Inference is no longer available.
\n\n Describes information over a provided set of accelerators belonging to an account.\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/describe-accelerators", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "acceleratorSet", - "pageSize": "maxResults" - } - } - }, - "com.amazonaws.elasticinference#DescribeAcceleratorsRequest": { - "type": "structure", - "members": { - "acceleratorIds": { - "target": "com.amazonaws.elasticinference#AcceleratorIdList", - "traits": { - "smithy.api#documentation": "\n The IDs of the accelerators to describe.\n
" - } - }, - "filters": { - "target": "com.amazonaws.elasticinference#FilterList", - "traits": { - "smithy.api#documentation": "\n One or more filters. Filter names and values are case-sensitive. Valid filter names are:\n accelerator-types: can provide a list of accelerator type names to filter for.\n instance-id: can provide a list of EC2 instance ids to filter for.\n
" - } - }, - "maxResults": { - "target": "com.amazonaws.elasticinference#MaxResults", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "\n The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output.\n To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command.\n Do not use the NextToken response element directly outside of the AWS CLI.\n
" - } - }, - "nextToken": { - "target": "com.amazonaws.elasticinference#NextToken", - "traits": { - "smithy.api#documentation": "\n A token to specify where to start paginating. This is the NextToken from a previously truncated response.\n
" - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.elasticinference#DescribeAcceleratorsResponse": { - "type": "structure", - "members": { - "acceleratorSet": { - "target": "com.amazonaws.elasticinference#ElasticInferenceAcceleratorSet", - "traits": { - "smithy.api#documentation": "\n The details of the Elastic Inference Accelerators.\n
" - } - }, - "nextToken": { - "target": "com.amazonaws.elasticinference#NextToken", - "traits": { - "smithy.api#documentation": "\n A token to specify where to start paginating. This is the NextToken from a previously truncated response.\n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.elasticinference#EC2MatterhornCfSoothsayerApiGatewayLambda": { - "type": "service", - "version": "2017-07-25", - "operations": [ - { - "target": "com.amazonaws.elasticinference#DescribeAcceleratorOfferings" - }, - { - "target": "com.amazonaws.elasticinference#DescribeAccelerators" - }, - { - "target": "com.amazonaws.elasticinference#DescribeAcceleratorTypes" - }, - { - "target": "com.amazonaws.elasticinference#ListTagsForResource" - }, - { - "target": "com.amazonaws.elasticinference#TagResource" - }, - { - "target": "com.amazonaws.elasticinference#UntagResource" - } - ], - "traits": { - "aws.api#service": { - "sdkId": "Elastic Inference", - "arnNamespace": "elastic-inference", - "cloudFormationName": "ElasticInference", - "cloudTrailEventSource": "elasticinference.amazonaws.com", - "endpointPrefix": "api.elastic-inference" - }, - "aws.auth#sigv4": { - "name": "elastic-inference" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Elastic Inference is no longer available.
\n\n Elastic Inference public APIs.\n
", - "smithy.api#title": "Amazon Elastic Inference", - "smithy.rules#endpointRuleSet": { - "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" - } - ] - } - ], - "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" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "aws.partition", - "argv": [ - { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.elastic-inference-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - }, - true - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.elastic-inference-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://api.elastic-inference.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://api.elastic-inference.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] - }, - "smithy.rules#endpointTests": { - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.us-west-2.amazonaws.com" - } - }, - "params": { - "Region": "us-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference-fips.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference-fips.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference-fips.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.cn-north-1.amazonaws.com.cn" - } - }, - "params": { - "Region": "cn-north-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference-fips.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference-fips.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.us-gov-east-1.api.aws" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.us-gov-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-gov-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference-fips.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.us-iso-east-1.c2s.ic.gov" - } - }, - "params": { - "Region": "us-iso-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference-fips.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": true, - "UseDualStack": false - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", - "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://api.elastic-inference.us-isob-east-1.sc2s.sgov.gov" - } - }, - "params": { - "Region": "us-isob-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", - "expect": { - "endpoint": { - "url": "https://example.com" - } - }, - "params": { - "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", - "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", - "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" - } - }, - { - "documentation": "Missing region", - "expect": { - "error": "Invalid Configuration: Missing Region" - } - } - ], - "version": "1.0" - } - } - }, - "com.amazonaws.elasticinference#ElasticInferenceAccelerator": { - "type": "structure", - "members": { - "acceleratorHealth": { - "target": "com.amazonaws.elasticinference#ElasticInferenceAcceleratorHealth", - "traits": { - "smithy.api#documentation": "\n The health of the Elastic Inference Accelerator.\n
" - } - }, - "acceleratorType": { - "target": "com.amazonaws.elasticinference#AcceleratorTypeName", - "traits": { - "smithy.api#documentation": "\n The type of the Elastic Inference Accelerator.\n
" - } - }, - "acceleratorId": { - "target": "com.amazonaws.elasticinference#AcceleratorId", - "traits": { - "smithy.api#documentation": "\n The ID of the Elastic Inference Accelerator.\n
" - } - }, - "availabilityZone": { - "target": "com.amazonaws.elasticinference#AvailabilityZone", - "traits": { - "smithy.api#documentation": "\n The availability zone where the Elastic Inference Accelerator is present.\n
" - } - }, - "attachedResource": { - "target": "com.amazonaws.elasticinference#ResourceARN2", - "traits": { - "smithy.api#documentation": "\n The ARN of the resource that the Elastic Inference Accelerator is attached to.\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "\n The details of an Elastic Inference Accelerator.\n
" - } - }, - "com.amazonaws.elasticinference#ElasticInferenceAcceleratorHealth": { - "type": "structure", - "members": { - "status": { - "target": "com.amazonaws.elasticinference#AcceleratorHealthStatus", - "traits": { - "smithy.api#documentation": "\n The health status of the Elastic Inference Accelerator.\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "\n The health details of an Elastic Inference Accelerator.\n
" - } - }, - "com.amazonaws.elasticinference#ElasticInferenceAcceleratorSet": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#ElasticInferenceAccelerator", - "traits": { - "smithy.api#xmlName": "item" - } - } - }, - "com.amazonaws.elasticinference#Filter": { - "type": "structure", - "members": { - "name": { - "target": "com.amazonaws.elasticinference#FilterName", - "traits": { - "smithy.api#documentation": "\n The filter name for the Elastic Inference Accelerator list. It can assume the following values:\n accelerator-type: the type of Elastic Inference Accelerator to filter for.\n instance-id: an EC2 instance id to filter for.\n
" - } - }, - "values": { - "target": "com.amazonaws.elasticinference#ValueStringList", - "traits": { - "smithy.api#documentation": "\n The values for the filter of the Elastic Inference Accelerator list.\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "\n A filter expression for the Elastic Inference Accelerator list.\n
" - } - }, - "com.amazonaws.elasticinference#FilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#Filter" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.elasticinference#FilterName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^\\S+$" - } - }, - "com.amazonaws.elasticinference#Integer": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.elasticinference#InternalServerException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.elasticinference#String" - } - }, - "traits": { - "smithy.api#documentation": "\n Raised when an unexpected error occurred during request processing.\n
", - "smithy.api#error": "server", - "smithy.api#httpError": 500 - } - }, - "com.amazonaws.elasticinference#Key": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - }, - "smithy.api#pattern": "^\\S+$" - } - }, - "com.amazonaws.elasticinference#KeyValuePair": { - "type": "structure", - "members": { - "key": { - "target": "com.amazonaws.elasticinference#Key", - "traits": { - "smithy.api#documentation": "\n The throughput value of the Elastic Inference Accelerator type. It can assume the following values:\n TFLOPS16bit: the throughput expressed in 16bit TeraFLOPS.\n TFLOPS32bit: the throughput expressed in 32bit TeraFLOPS.\n
" - } - }, - "value": { - "target": "com.amazonaws.elasticinference#Value", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "\n The throughput value of the Elastic Inference Accelerator type.\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "\n A throughput entry for an Elastic Inference Accelerator type.\n
" - } - }, - "com.amazonaws.elasticinference#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.elasticinference#ListTagsForResourceRequest" - }, - "output": { - "target": "com.amazonaws.elasticinference#ListTagsForResourceResult" - }, - "errors": [ - { - "target": "com.amazonaws.elasticinference#BadRequestException" - }, - { - "target": "com.amazonaws.elasticinference#InternalServerException" - }, - { - "target": "com.amazonaws.elasticinference#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "Amazon Elastic Inference is no longer available.
\n\n Returns all tags of an Elastic Inference Accelerator.\n
", - "smithy.api#http": { - "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.elasticinference#ListTagsForResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.elasticinference#ResourceARN", - "traits": { - "smithy.api#documentation": "\n The ARN of the Elastic Inference Accelerator to list the tags for.\n
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.elasticinference#ListTagsForResourceResult": { - "type": "structure", - "members": { - "tags": { - "target": "com.amazonaws.elasticinference#TagMap", - "traits": { - "smithy.api#documentation": "\n The tags of the Elastic Inference Accelerator.\n
" - } - } - }, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.elasticinference#Location": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.elasticinference#LocationType": { - "type": "enum", - "members": { - "region": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "region" - } - }, - "availability_zone": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "availability-zone" - } - }, - "availability_zone_id": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "availability-zone-id" - } - } - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 256 - } - } - }, - "com.amazonaws.elasticinference#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#range": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.elasticinference#MemoryInfo": { - "type": "structure", - "members": { - "sizeInMiB": { - "target": "com.amazonaws.elasticinference#Integer", - "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "\n The size in mebibytes of the Elastic Inference Accelerator type.\n
" - } - } - }, - "traits": { - "smithy.api#documentation": "\n The memory information of an Elastic Inference Accelerator type.\n
" - } - }, - "com.amazonaws.elasticinference#NextToken": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 2048 - }, - "smithy.api#pattern": "^[A-Za-z0-9+/]+={0,2}$" - } - }, - "com.amazonaws.elasticinference#ResourceARN": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1011 - }, - "smithy.api#pattern": "^arn:aws[^\\s:]*:elastic-inference:[^\\s:]+:\\d{12}:elastic-inference-accelerator/eia-[0-9a-f]+$" - } - }, - "com.amazonaws.elasticinference#ResourceARN2": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1283 - } - } - }, - "com.amazonaws.elasticinference#ResourceNotFoundException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.elasticinference#String" - } - }, - "traits": { - "smithy.api#documentation": "\n Raised when the requested resource cannot be found.\n
", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.elasticinference#String": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 500000 - }, - "smithy.api#pattern": "^.*$" - } - }, - "com.amazonaws.elasticinference#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - }, - "smithy.api#pattern": "^\\S$" - } - }, - "com.amazonaws.elasticinference#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#TagKey" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.elasticinference#TagMap": { - "type": "map", - "key": { - "target": "com.amazonaws.elasticinference#TagKey" - }, - "value": { - "target": "com.amazonaws.elasticinference#TagValue" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.elasticinference#TagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.elasticinference#TagResourceRequest" - }, - "output": { - "target": "com.amazonaws.elasticinference#TagResourceResult" - }, - "errors": [ - { - "target": "com.amazonaws.elasticinference#BadRequestException" - }, - { - "target": "com.amazonaws.elasticinference#InternalServerException" - }, - { - "target": "com.amazonaws.elasticinference#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "Amazon Elastic Inference is no longer available.
\n\n Adds the specified tags to an Elastic Inference Accelerator.\n
", - "smithy.api#http": { - "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.elasticinference#TagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.elasticinference#ResourceARN", - "traits": { - "smithy.api#documentation": "\n The ARN of the Elastic Inference Accelerator to tag.\n
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tags": { - "target": "com.amazonaws.elasticinference#TagMap", - "traits": { - "smithy.api#documentation": "\n The tags to add to the Elastic Inference Accelerator.\n
", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.elasticinference#TagResourceResult": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.elasticinference#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - }, - "smithy.api#pattern": ".*" - } - }, - "com.amazonaws.elasticinference#ThroughputInfoList": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#KeyValuePair", - "traits": { - "smithy.api#xmlName": "item" - } - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.elasticinference#UntagResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.elasticinference#UntagResourceRequest" - }, - "output": { - "target": "com.amazonaws.elasticinference#UntagResourceResult" - }, - "errors": [ - { - "target": "com.amazonaws.elasticinference#BadRequestException" - }, - { - "target": "com.amazonaws.elasticinference#InternalServerException" - }, - { - "target": "com.amazonaws.elasticinference#ResourceNotFoundException" - } - ], - "traits": { - "smithy.api#documentation": "Amazon Elastic Inference is no longer available.
\n\n Removes the specified tags from an Elastic Inference Accelerator.\n
", - "smithy.api#http": { - "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 - } - } - }, - "com.amazonaws.elasticinference#UntagResourceRequest": { - "type": "structure", - "members": { - "resourceArn": { - "target": "com.amazonaws.elasticinference#ResourceARN", - "traits": { - "smithy.api#documentation": "\n The ARN of the Elastic Inference Accelerator to untag.\n
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "tagKeys": { - "target": "com.amazonaws.elasticinference#TagKeyList", - "traits": { - "smithy.api#documentation": "\n The list of tags to remove from the Elastic Inference Accelerator.\n
", - "smithy.api#httpQuery": "tagKeys", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#input": {} - } - }, - "com.amazonaws.elasticinference#UntagResourceResult": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#output": {} - } - }, - "com.amazonaws.elasticinference#Value": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.elasticinference#ValueStringList": { - "type": "list", - "member": { - "target": "com.amazonaws.elasticinference#String" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - } - } -} diff --git a/codegen/sdk/packages.json b/codegen/sdk/packages.json index c2c8ba8fc56..b23f640b720 100644 --- a/codegen/sdk/packages.json +++ b/codegen/sdk/packages.json @@ -786,12 +786,6 @@ "artifactName": "elasticbeanstalk", "brazilName": "AwsSdkKotlinElasticBeanstalk" }, - { - "sdkId": "Elastic Inference", - "namespace": "aws.sdk.kotlin.services.elasticinference", - "artifactName": "elasticinference", - "brazilName": "AwsSdkKotlinElasticInference" - }, { "sdkId": "Elastic Load Balancing", "namespace": "aws.sdk.kotlin.services.elasticloadbalancing",