From d5b570ab45c7dfe75c973de043edb5393c3a0c85 Mon Sep 17 00:00:00 2001 From: Jonathan Gaytan Date: Mon, 6 Jan 2025 10:13:00 -0600 Subject: [PATCH] Remove iot1click clients following the service deprecation. --- botocore/data/endpoints.json | 13 +- .../2018-05-14/endpoint-rule-set-1.json | 314 ----- .../2018-05-14/paginators-1.json | 16 - .../2018-05-14/service-2.json | 1042 ---------------- .../2018-05-14/endpoint-rule-set-1.json | 314 ----- .../2018-05-14/examples-1.json | 5 - .../2018-05-14/paginators-1.json | 16 - .../2018-05-14/service-2.json | 1070 ----------------- botocore/utils.py | 6 - .../iot1click-devices/endpoint-tests-1.json | 314 ----- .../iot1click-projects/endpoint-tests-1.json | 392 ------ tests/functional/test_event_alias.py | 8 - 12 files changed, 1 insertion(+), 3509 deletions(-) delete mode 100644 botocore/data/iot1click-devices/2018-05-14/endpoint-rule-set-1.json delete mode 100644 botocore/data/iot1click-devices/2018-05-14/paginators-1.json delete mode 100644 botocore/data/iot1click-devices/2018-05-14/service-2.json delete mode 100644 botocore/data/iot1click-projects/2018-05-14/endpoint-rule-set-1.json delete mode 100644 botocore/data/iot1click-projects/2018-05-14/examples-1.json delete mode 100644 botocore/data/iot1click-projects/2018-05-14/paginators-1.json delete mode 100644 botocore/data/iot1click-projects/2018-05-14/service-2.json delete mode 100644 tests/functional/endpoint-rules/iot1click-devices/endpoint-tests-1.json delete mode 100644 tests/functional/endpoint-rules/iot1click-projects/endpoint-tests-1.json diff --git a/botocore/data/endpoints.json b/botocore/data/endpoints.json index b364d77206..14e2d1cbf3 100644 --- a/botocore/data/endpoints.json +++ b/botocore/data/endpoints.json @@ -17142,17 +17142,6 @@ } } }, - "projects.iot1click" : { - "endpoints" : { - "ap-northeast-1" : { }, - "eu-central-1" : { }, - "eu-west-1" : { }, - "eu-west-2" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-2" : { } - } - }, "proton" : { "endpoints" : { "ap-northeast-1" : { }, @@ -33915,4 +33904,4 @@ "services" : { } } ], "version" : 3 -} \ No newline at end of file +} diff --git a/botocore/data/iot1click-devices/2018-05-14/endpoint-rule-set-1.json b/botocore/data/iot1click-devices/2018-05-14/endpoint-rule-set-1.json deleted file mode 100644 index b23e238a19..0000000000 --- a/botocore/data/iot1click-devices/2018-05-14/endpoint-rule-set-1.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "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://devices.iot1click-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": [], - "endpoint": { - "url": "https://devices.iot1click-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://devices.iot1click.{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://devices.iot1click.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/botocore/data/iot1click-devices/2018-05-14/paginators-1.json b/botocore/data/iot1click-devices/2018-05-14/paginators-1.json deleted file mode 100644 index 237e5581a6..0000000000 --- a/botocore/data/iot1click-devices/2018-05-14/paginators-1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "ListDeviceEvents": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Events" - }, - "ListDevices": { - "input_token": "NextToken", - "limit_key": "MaxResults", - "output_token": "NextToken", - "result_key": "Devices" - } - } -} diff --git a/botocore/data/iot1click-devices/2018-05-14/service-2.json b/botocore/data/iot1click-devices/2018-05-14/service-2.json deleted file mode 100644 index 0d45476064..0000000000 --- a/botocore/data/iot1click-devices/2018-05-14/service-2.json +++ /dev/null @@ -1,1042 +0,0 @@ -{ - "metadata" : { - "apiVersion" : "2018-05-14", - "endpointPrefix" : "devices.iot1click", - "signingName" : "iot1click", - "serviceFullName" : "AWS IoT 1-Click Devices Service", - "serviceId" : "IoT 1Click Devices Service", - "protocol" : "rest-json", - "jsonVersion" : "1.1", - "uid" : "devices-2018-05-14", - "signatureVersion" : "v4" - }, - "operations" : { - "ClaimDevicesByClaimCode" : { - "name" : "ClaimDevicesByClaimCode", - "http" : { - "method" : "PUT", - "requestUri" : "/claims/{claimCode}", - "responseCode" : 200 - }, - "input" : { - "shape" : "ClaimDevicesByClaimCodeRequest" - }, - "output" : { - "shape" : "ClaimDevicesByClaimCodeResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - }, { - "shape" : "ForbiddenException", - "documentation" : "

403 response

" - } ], - "documentation" : "

Adds device(s) to your account (i.e., claim one or more devices) if and only if you\n received a claim code with the device(s).

" - }, - "DescribeDevice" : { - "name" : "DescribeDevice", - "http" : { - "method" : "GET", - "requestUri" : "/devices/{deviceId}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DescribeDeviceRequest" - }, - "output" : { - "shape" : "DescribeDeviceResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Given a device ID, returns a DescribeDeviceResponse object describing the\n details of the device.

" - }, - "FinalizeDeviceClaim" : { - "name" : "FinalizeDeviceClaim", - "http" : { - "method" : "PUT", - "requestUri" : "/devices/{deviceId}/finalize-claim", - "responseCode" : 200 - }, - "input" : { - "shape" : "FinalizeDeviceClaimRequest" - }, - "output" : { - "shape" : "FinalizeDeviceClaimResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - }, { - "shape" : "PreconditionFailedException", - "documentation" : "

412 response

" - }, { - "shape" : "ResourceConflictException", - "documentation" : "

409 response

" - } ], - "documentation" : "

Given a device ID, finalizes the claim request for the associated device.

\n

Claiming a device consists of initiating a claim, then publishing a device event,\n and finalizing the claim. For a device of type button, a device event can\n be published by simply clicking the device.

\n
" - }, - "GetDeviceMethods" : { - "name" : "GetDeviceMethods", - "http" : { - "method" : "GET", - "requestUri" : "/devices/{deviceId}/methods", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetDeviceMethodsRequest" - }, - "output" : { - "shape" : "GetDeviceMethodsResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Given a device ID, returns the invokable methods associated with the device.

" - }, - "InitiateDeviceClaim" : { - "name" : "InitiateDeviceClaim", - "http" : { - "method" : "PUT", - "requestUri" : "/devices/{deviceId}/initiate-claim", - "responseCode" : 200 - }, - "input" : { - "shape" : "InitiateDeviceClaimRequest" - }, - "output" : { - "shape" : "InitiateDeviceClaimResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - }, { - "shape" : "ResourceConflictException", - "documentation" : "

409 response

" - } ], - "documentation" : "

Given a device ID, initiates a claim request for the associated device.

\n

Claiming a device consists of initiating a claim, then publishing a device event,\n and finalizing the claim. For a device of type button, a device event can\n be published by simply clicking the device.

\n
" - }, - "InvokeDeviceMethod" : { - "name" : "InvokeDeviceMethod", - "http" : { - "method" : "POST", - "requestUri" : "/devices/{deviceId}/methods", - "responseCode" : 200 - }, - "input" : { - "shape" : "InvokeDeviceMethodRequest" - }, - "output" : { - "shape" : "InvokeDeviceMethodResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "PreconditionFailedException", - "documentation" : "

412 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - }, { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "RangeNotSatisfiableException", - "documentation" : "

416 response

" - }, { - "shape" : "ResourceConflictException", - "documentation" : "

409 response

" - } ], - "documentation" : "

Given a device ID, issues a request to invoke a named device method (with possible\n parameters). See the \"Example POST\" code snippet below.

" - }, - "ListDeviceEvents" : { - "name" : "ListDeviceEvents", - "http" : { - "method" : "GET", - "requestUri" : "/devices/{deviceId}/events", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListDeviceEventsRequest" - }, - "output" : { - "shape" : "ListDeviceEventsResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "RangeNotSatisfiableException", - "documentation" : "

416 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Using a device ID, returns a DeviceEventsResponse object containing an\n array of events for the device.

" - }, - "ListDevices" : { - "name" : "ListDevices", - "http" : { - "method" : "GET", - "requestUri" : "/devices", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListDevicesRequest" - }, - "output" : { - "shape" : "ListDevicesResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "RangeNotSatisfiableException", - "documentation" : "

416 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Lists the 1-Click compatible devices associated with your AWS account.

" - }, - "ListTagsForResource" : { - "name" : "ListTagsForResource", - "http" : { - "method" : "GET", - "requestUri" : "/tags/{resource-arn}", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListTagsForResourceRequest" - }, - "output" : { - "shape" : "ListTagsForResourceResponse" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Lists the tags associated with the specified resource ARN.

" - }, - "TagResource" : { - "name" : "TagResource", - "http" : { - "method" : "POST", - "requestUri" : "/tags/{resource-arn}", - "responseCode" : 204 - }, - "input" : { - "shape" : "TagResourceRequest" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Adds or updates the tags associated with the resource ARN. See AWS IoT 1-Click Service Limits for the maximum number of tags allowed per\n resource.

" - }, - "UnclaimDevice" : { - "name" : "UnclaimDevice", - "http" : { - "method" : "PUT", - "requestUri" : "/devices/{deviceId}/unclaim", - "responseCode" : 200 - }, - "input" : { - "shape" : "UnclaimDeviceRequest" - }, - "output" : { - "shape" : "UnclaimDeviceResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Disassociates a device from your AWS account using its device ID.

" - }, - "UntagResource" : { - "name" : "UntagResource", - "http" : { - "method" : "DELETE", - "requestUri" : "/tags/{resource-arn}", - "responseCode" : 204 - }, - "input" : { - "shape" : "UntagResourceRequest" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Using tag keys, deletes the tags (key/value pairs) associated with the specified\n resource ARN.

" - }, - "UpdateDeviceState" : { - "name" : "UpdateDeviceState", - "http" : { - "method" : "PUT", - "requestUri" : "/devices/{deviceId}/state", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateDeviceStateRequest" - }, - "output" : { - "shape" : "UpdateDeviceStateResponse", - "documentation" : "

200 response

" - }, - "errors" : [ { - "shape" : "ResourceNotFoundException", - "documentation" : "

404 response

" - }, { - "shape" : "InvalidRequestException", - "documentation" : "

400 response

" - }, { - "shape" : "InternalFailureException", - "documentation" : "

500 response

" - } ], - "documentation" : "

Using a Boolean value (true or false), this operation\n enables or disables the device given a device ID.

" - } - }, - "shapes" : { - "Attributes" : { - "type" : "structure", - "members" : { } - }, - "ClaimDevicesByClaimCodeRequest" : { - "type" : "structure", - "members" : { - "ClaimCode" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "claimCode", - "documentation" : "

The claim code, starting with \"C-\", as provided by the device manufacturer.

" - } - }, - "required" : [ "ClaimCode" ] - }, - "ClaimDevicesByClaimCodeResponse" : { - "type" : "structure", - "members" : { - "ClaimCode" : { - "shape" : "__stringMin12Max40", - "locationName" : "claimCode", - "documentation" : "

The claim code provided by the device manufacturer.

" - }, - "Total" : { - "shape" : "__integer", - "locationName" : "total", - "documentation" : "

The total number of devices associated with the claim code that has been processed in\n the claim request.

" - } - } - }, - "DescribeDeviceRequest" : { - "type" : "structure", - "members" : { - "DeviceId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - } - }, - "required" : [ "DeviceId" ] - }, - "DescribeDeviceResponse" : { - "type" : "structure", - "members" : { - "DeviceDescription" : { - "shape" : "DeviceDescription", - "locationName" : "deviceDescription", - "documentation" : "

Device details.

" - } - } - }, - "Device" : { - "type" : "structure", - "members" : { - "Attributes" : { - "shape" : "Attributes", - "locationName" : "attributes", - "documentation" : "

The user specified attributes associated with the device for an event.

" - }, - "DeviceId" : { - "shape" : "__string", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - }, - "Type" : { - "shape" : "__string", - "locationName" : "type", - "documentation" : "

The device type, such as \"button\".

" - } - } - }, - "DeviceAttributes" : { - "type" : "map", - "documentation" : "

\n DeviceAttributes is a string-to-string map specified by the user.

", - "key" : { - "shape" : "__string" - }, - "value" : { - "shape" : "__string" - } - }, - "DeviceClaimResponse" : { - "type" : "structure", - "members" : { - "State" : { - "shape" : "__string", - "locationName" : "state", - "documentation" : "

The device's final claim state.

" - } - } - }, - "DeviceDescription" : { - "type" : "structure", - "members" : { - "Arn" : { - "shape" : "__string", - "locationName" : "arn", - "documentation" : "

The ARN of the device.

" - }, - "Attributes" : { - "shape" : "DeviceAttributes", - "locationName" : "attributes", - "documentation" : "

An array of zero or more elements of DeviceAttribute objects providing\n user specified device attributes.

" - }, - "DeviceId" : { - "shape" : "__string", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - }, - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "

A Boolean value indicating whether or not the device is enabled.

" - }, - "RemainingLife" : { - "shape" : "__doubleMin0Max100", - "locationName" : "remainingLife", - "documentation" : "

A value between 0 and 1 inclusive, representing the fraction of life remaining for the\n device.

" - }, - "Type" : { - "shape" : "__string", - "locationName" : "type", - "documentation" : "

The type of the device, such as \"button\".

" - }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags", - "documentation" : "

The tags currently associated with the AWS IoT 1-Click device.

" - } - } - }, - "DeviceEvent" : { - "type" : "structure", - "members" : { - "Device" : { - "shape" : "Device", - "locationName" : "device", - "documentation" : "

An object representing the device associated with the event.

" - }, - "StdEvent" : { - "shape" : "__string", - "locationName" : "stdEvent", - "documentation" : "

A serialized JSON object representing the device-type specific event.

" - } - } - }, - "DeviceEventsResponse" : { - "type" : "structure", - "members" : { - "Events" : { - "shape" : "__listOfDeviceEvent", - "locationName" : "events", - "documentation" : "

An array of zero or more elements describing the event(s) associated with the\n device.

" - }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken", - "documentation" : "

The token to retrieve the next set of results.

" - } - } - }, - "DeviceMethod" : { - "type" : "structure", - "members" : { - "DeviceType" : { - "shape" : "__string", - "locationName" : "deviceType", - "documentation" : "

The type of the device, such as \"button\".

" - }, - "MethodName" : { - "shape" : "__string", - "locationName" : "methodName", - "documentation" : "

The name of the method applicable to the deviceType.

" - } - } - }, - "Empty" : { - "type" : "structure", - "members" : { }, - "documentation" : "

On success, an empty object is returned.

" - }, - "FinalizeDeviceClaimRequest" : { - "type" : "structure", - "members" : { - "DeviceId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags", - "documentation" : "

A collection of key/value pairs defining the resource tags. For example, {\n \"tags\": {\"key1\": \"value1\", \"key2\": \"value2\"} }. For more information, see AWS\n Tagging Strategies.

\n \n

" - } - }, - "required" : [ "DeviceId" ] - }, - "FinalizeDeviceClaimResponse" : { - "type" : "structure", - "members" : { - "State" : { - "shape" : "__string", - "locationName" : "state", - "documentation" : "

The device's final claim state.

" - } - } - }, - "ForbiddenException" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code", - "documentation" : "

403

" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message", - "documentation" : "

The 403 error message returned by the web server.

" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 403 - } - }, - "GetDeviceMethodsRequest" : { - "type" : "structure", - "members" : { - "DeviceId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - } - }, - "required" : [ "DeviceId" ] - }, - "GetDeviceMethodsResponse" : { - "type" : "structure", - "members" : { - "DeviceMethods" : { - "shape" : "__listOfDeviceMethod", - "locationName" : "deviceMethods", - "documentation" : "

List of available device APIs.

" - } - } - }, - "InitiateDeviceClaimRequest" : { - "type" : "structure", - "members" : { - "DeviceId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - } - }, - "required" : [ "DeviceId" ] - }, - "InitiateDeviceClaimResponse" : { - "type" : "structure", - "members" : { - "State" : { - "shape" : "__string", - "locationName" : "state", - "documentation" : "

The device's final claim state.

" - } - } - }, - "InternalFailureException" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code", - "documentation" : "

500

" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message", - "documentation" : "

The 500 error message returned by the web server.

" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 500 - } - }, - "InvalidRequestException" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code", - "documentation" : "

400

" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message", - "documentation" : "

The 400 error message returned by the web server.

" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 400 - } - }, - "InvokeDeviceMethodRequest" : { - "type" : "structure", - "members" : { - "DeviceId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - }, - "DeviceMethod" : { - "shape" : "DeviceMethod", - "locationName" : "deviceMethod", - "documentation" : "

The device method to invoke.

" - }, - "DeviceMethodParameters" : { - "shape" : "__string", - "locationName" : "deviceMethodParameters", - "documentation" : "

A JSON encoded string containing the device method request parameters.

" - } - }, - "required" : [ "DeviceId" ] - }, - "InvokeDeviceMethodResponse" : { - "type" : "structure", - "members" : { - "DeviceMethodResponse" : { - "shape" : "__string", - "locationName" : "deviceMethodResponse", - "documentation" : "

A JSON encoded string containing the device method response.

" - } - } - }, - "ListDeviceEventsRequest" : { - "type" : "structure", - "members" : { - "DeviceId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - }, - "FromTimeStamp" : { - "shape" : "__timestampIso8601", - "location" : "querystring", - "locationName" : "fromTimeStamp", - "documentation" : "

The start date for the device event query, in ISO8061 format. For example,\n 2018-03-28T15:45:12.880Z\n

" - }, - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults", - "documentation" : "

The maximum number of results to return per request. If not set, a default value of\n 100 is used.

" - }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken", - "documentation" : "

The token to retrieve the next set of results.

" - }, - "ToTimeStamp" : { - "shape" : "__timestampIso8601", - "location" : "querystring", - "locationName" : "toTimeStamp", - "documentation" : "

The end date for the device event query, in ISO8061 format. For example,\n 2018-03-28T15:45:12.880Z\n

" - } - }, - "required" : [ "DeviceId", "FromTimeStamp", "ToTimeStamp" ] - }, - "ListDeviceEventsResponse" : { - "type" : "structure", - "members" : { - "Events" : { - "shape" : "__listOfDeviceEvent", - "locationName" : "events", - "documentation" : "

An array of zero or more elements describing the event(s) associated with the\n device.

" - }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken", - "documentation" : "

The token to retrieve the next set of results.

" - } - } - }, - "ListDevicesRequest" : { - "type" : "structure", - "members" : { - "DeviceType" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "deviceType", - "documentation" : "

The type of the device, such as \"button\".

" - }, - "MaxResults" : { - "shape" : "MaxResults", - "location" : "querystring", - "locationName" : "maxResults", - "documentation" : "

The maximum number of results to return per request. If not set, a default value of\n 100 is used.

" - }, - "NextToken" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "nextToken", - "documentation" : "

The token to retrieve the next set of results.

" - } - } - }, - "ListDevicesResponse" : { - "type" : "structure", - "members" : { - "Devices" : { - "shape" : "__listOfDeviceDescription", - "locationName" : "devices", - "documentation" : "

A list of devices.

" - }, - "NextToken" : { - "shape" : "__string", - "locationName" : "nextToken", - "documentation" : "

The token to retrieve the next set of results.

" - } - } - }, - "ListTagsForResourceRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn", - "documentation" : "

The ARN of the resource.

" - } - }, - "required" : [ "ResourceArn" ] - }, - "ListTagsForResourceResponse" : { - "type" : "structure", - "members" : { - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags", - "documentation" : "

A collection of key/value pairs defining the resource tags. For example, {\n \"tags\": {\"key1\": \"value1\", \"key2\": \"value2\"} }. For more information, see AWS\n Tagging Strategies.

\n \n

" - } - } - }, - "MaxResults" : { - "type" : "integer", - "min" : 1, - "max" : 250 - }, - "PreconditionFailedException" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code", - "documentation" : "

412

" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message", - "documentation" : "

An error message explaining the error or its remedy.

" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 412 - } - }, - "RangeNotSatisfiableException" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code", - "documentation" : "

416

" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message", - "documentation" : "

The requested number of results specified by nextToken cannot be\n satisfied.

" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 416 - } - }, - "ResourceConflictException" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code", - "documentation" : "

409

" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message", - "documentation" : "

An error message explaining the error or its remedy.

" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 409 - } - }, - "ResourceNotFoundException" : { - "type" : "structure", - "members" : { - "Code" : { - "shape" : "__string", - "locationName" : "code", - "documentation" : "

404

" - }, - "Message" : { - "shape" : "__string", - "locationName" : "message", - "documentation" : "

The requested device could not be found.

" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 404 - } - }, - "TagResourceRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn", - "documentation" : "

The ARN of the resource.

" - }, - "Tags" : { - "shape" : "__mapOf__string", - "locationName" : "tags", - "documentation" : "

A collection of key/value pairs defining the resource tags. For example, {\n \"tags\": {\"key1\": \"value1\", \"key2\": \"value2\"} }. For more information, see AWS\n Tagging Strategies.

\n \n

" - } - }, - "required" : [ "ResourceArn", "Tags" ] - }, - "UnclaimDeviceRequest" : { - "type" : "structure", - "members" : { - "DeviceId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - } - }, - "required" : [ "DeviceId" ] - }, - "UnclaimDeviceResponse" : { - "type" : "structure", - "members" : { - "State" : { - "shape" : "__string", - "locationName" : "state", - "documentation" : "

The device's final claim state.

" - } - } - }, - "UntagResourceRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn", - "documentation" : "

The ARN of the resource.

" - }, - "TagKeys" : { - "shape" : "__listOf__string", - "location" : "querystring", - "locationName" : "tagKeys", - "documentation" : "

A collections of tag keys. For example, {\"key1\",\"key2\"}

" - } - }, - "required" : [ "TagKeys", "ResourceArn" ] - }, - "UpdateDeviceStateRequest" : { - "type" : "structure", - "members" : { - "DeviceId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "deviceId", - "documentation" : "

The unique identifier of the device.

" - }, - "Enabled" : { - "shape" : "__boolean", - "locationName" : "enabled", - "documentation" : "

If true, the device is enabled. If false, the device is\n disabled.

" - } - }, - "required" : [ "DeviceId" ] - }, - "UpdateDeviceStateResponse" : { - "type" : "structure", - "members" : { } - }, - "__boolean" : { - "type" : "boolean" - }, - "__double" : { - "type" : "double" - }, - "__doubleMin0Max100" : { - "type" : "double" - }, - "__integer" : { - "type" : "integer" - }, - "__listOfDeviceDescription" : { - "type" : "list", - "member" : { - "shape" : "DeviceDescription" - } - }, - "__listOfDeviceEvent" : { - "type" : "list", - "member" : { - "shape" : "DeviceEvent" - } - }, - "__listOfDeviceMethod" : { - "type" : "list", - "member" : { - "shape" : "DeviceMethod" - } - }, - "__listOf__string" : { - "type" : "list", - "member" : { - "shape" : "__string" - } - }, - "__long" : { - "type" : "long" - }, - "__mapOf__string" : { - "type" : "map", - "key" : { - "shape" : "__string" - }, - "value" : { - "shape" : "__string" - } - }, - "__string" : { - "type" : "string" - }, - "__stringMin12Max40" : { - "type" : "string", - "min" : 12, - "max" : 40 - }, - "__timestampIso8601" : { - "type" : "timestamp", - "timestampFormat" : "iso8601" - }, - "__timestampUnix" : { - "type" : "timestamp", - "timestampFormat" : "unixTimestamp" - } - }, - "documentation" : "

Describes all of the AWS IoT 1-Click device-related API operations for the service.\n Also provides sample requests, responses, and errors for the supported web services\n protocols.

" -} \ No newline at end of file diff --git a/botocore/data/iot1click-projects/2018-05-14/endpoint-rule-set-1.json b/botocore/data/iot1click-projects/2018-05-14/endpoint-rule-set-1.json deleted file mode 100644 index 02e37ba5c8..0000000000 --- a/botocore/data/iot1click-projects/2018-05-14/endpoint-rule-set-1.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "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://projects.iot1click-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": [], - "endpoint": { - "url": "https://projects.iot1click-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://projects.iot1click.{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://projects.iot1click.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ] - } - ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" - } - ] -} \ No newline at end of file diff --git a/botocore/data/iot1click-projects/2018-05-14/examples-1.json b/botocore/data/iot1click-projects/2018-05-14/examples-1.json deleted file mode 100644 index 0ea7e3b0bb..0000000000 --- a/botocore/data/iot1click-projects/2018-05-14/examples-1.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "version": "1.0", - "examples": { - } -} diff --git a/botocore/data/iot1click-projects/2018-05-14/paginators-1.json b/botocore/data/iot1click-projects/2018-05-14/paginators-1.json deleted file mode 100644 index d17d5df6fa..0000000000 --- a/botocore/data/iot1click-projects/2018-05-14/paginators-1.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "pagination": { - "ListPlacements": { - "input_token": "nextToken", - "limit_key": "maxResults", - "output_token": "nextToken", - "result_key": "placements" - }, - "ListProjects": { - "input_token": "nextToken", - "limit_key": "maxResults", - "output_token": "nextToken", - "result_key": "projects" - } - } -} diff --git a/botocore/data/iot1click-projects/2018-05-14/service-2.json b/botocore/data/iot1click-projects/2018-05-14/service-2.json deleted file mode 100644 index 229e3f011b..0000000000 --- a/botocore/data/iot1click-projects/2018-05-14/service-2.json +++ /dev/null @@ -1,1070 +0,0 @@ -{ - "version":"2.0", - "metadata":{ - "apiVersion":"2018-05-14", - "endpointPrefix":"projects.iot1click", - "jsonVersion":"1.1", - "protocol":"rest-json", - "serviceAbbreviation":"AWS IoT 1-Click Projects", - "serviceFullName":"AWS IoT 1-Click Projects Service", - "serviceId":"IoT 1Click Projects", - "signatureVersion":"v4", - "signingName":"iot1click", - "uid":"iot1click-projects-2018-05-14" - }, - "operations":{ - "AssociateDeviceWithPlacement":{ - "name":"AssociateDeviceWithPlacement", - "http":{ - "method":"PUT", - "requestUri":"/projects/{projectName}/placements/{placementName}/devices/{deviceTemplateName}" - }, - "input":{"shape":"AssociateDeviceWithPlacementRequest"}, - "output":{"shape":"AssociateDeviceWithPlacementResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceConflictException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Associates a physical device with a placement.

" - }, - "CreatePlacement":{ - "name":"CreatePlacement", - "http":{ - "method":"POST", - "requestUri":"/projects/{projectName}/placements" - }, - "input":{"shape":"CreatePlacementRequest"}, - "output":{"shape":"CreatePlacementResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceConflictException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Creates an empty placement.

" - }, - "CreateProject":{ - "name":"CreateProject", - "http":{ - "method":"POST", - "requestUri":"/projects" - }, - "input":{"shape":"CreateProjectRequest"}, - "output":{"shape":"CreateProjectResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceConflictException"} - ], - "documentation":"

Creates an empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project.

" - }, - "DeletePlacement":{ - "name":"DeletePlacement", - "http":{ - "method":"DELETE", - "requestUri":"/projects/{projectName}/placements/{placementName}" - }, - "input":{"shape":"DeletePlacementRequest"}, - "output":{"shape":"DeletePlacementResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Deletes a placement. To delete a placement, it must not have any devices associated with it.

When you delete a placement, all associated data becomes irretrievable.

" - }, - "DeleteProject":{ - "name":"DeleteProject", - "http":{ - "method":"DELETE", - "requestUri":"/projects/{projectName}" - }, - "input":{"shape":"DeleteProjectRequest"}, - "output":{"shape":"DeleteProjectResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Deletes a project. To delete a project, it must not have any placements associated with it.

When you delete a project, all associated data becomes irretrievable.

" - }, - "DescribePlacement":{ - "name":"DescribePlacement", - "http":{ - "method":"GET", - "requestUri":"/projects/{projectName}/placements/{placementName}" - }, - "input":{"shape":"DescribePlacementRequest"}, - "output":{"shape":"DescribePlacementResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Describes a placement in a project.

" - }, - "DescribeProject":{ - "name":"DescribeProject", - "http":{ - "method":"GET", - "requestUri":"/projects/{projectName}" - }, - "input":{"shape":"DescribeProjectRequest"}, - "output":{"shape":"DescribeProjectResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Returns an object describing a project.

" - }, - "DisassociateDeviceFromPlacement":{ - "name":"DisassociateDeviceFromPlacement", - "http":{ - "method":"DELETE", - "requestUri":"/projects/{projectName}/placements/{placementName}/devices/{deviceTemplateName}" - }, - "input":{"shape":"DisassociateDeviceFromPlacementRequest"}, - "output":{"shape":"DisassociateDeviceFromPlacementResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Removes a physical device from a placement.

" - }, - "GetDevicesInPlacement":{ - "name":"GetDevicesInPlacement", - "http":{ - "method":"GET", - "requestUri":"/projects/{projectName}/placements/{placementName}/devices" - }, - "input":{"shape":"GetDevicesInPlacementRequest"}, - "output":{"shape":"GetDevicesInPlacementResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Returns an object enumerating the devices in a placement.

" - }, - "ListPlacements":{ - "name":"ListPlacements", - "http":{ - "method":"GET", - "requestUri":"/projects/{projectName}/placements" - }, - "input":{"shape":"ListPlacementsRequest"}, - "output":{"shape":"ListPlacementsResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Lists the placement(s) of a project.

" - }, - "ListProjects":{ - "name":"ListProjects", - "http":{ - "method":"GET", - "requestUri":"/projects" - }, - "input":{"shape":"ListProjectsRequest"}, - "output":{"shape":"ListProjectsResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"} - ], - "documentation":"

Lists the AWS IoT 1-Click project(s) associated with your AWS account and region.

" - }, - "ListTagsForResource":{ - "name":"ListTagsForResource", - "http":{ - "method":"GET", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"ListTagsForResourceRequest"}, - "output":{"shape":"ListTagsForResourceResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Lists the tags (metadata key/value pairs) which you have assigned to the resource.

" - }, - "TagResource":{ - "name":"TagResource", - "http":{ - "method":"POST", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"TagResourceRequest"}, - "output":{"shape":"TagResourceResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Creates or modifies tags for a resource. Tags are key/value pairs (metadata) that can be used to manage a resource. For more information, see AWS Tagging Strategies.

" - }, - "UntagResource":{ - "name":"UntagResource", - "http":{ - "method":"DELETE", - "requestUri":"/tags/{resourceArn}" - }, - "input":{"shape":"UntagResourceRequest"}, - "output":{"shape":"UntagResourceResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"} - ], - "documentation":"

Removes one or more tags (metadata key/value pairs) from a resource.

" - }, - "UpdatePlacement":{ - "name":"UpdatePlacement", - "http":{ - "method":"PUT", - "requestUri":"/projects/{projectName}/placements/{placementName}" - }, - "input":{"shape":"UpdatePlacementRequest"}, - "output":{"shape":"UpdatePlacementResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Updates a placement with the given attributes. To clear an attribute, pass an empty value (i.e., \"\").

" - }, - "UpdateProject":{ - "name":"UpdateProject", - "http":{ - "method":"PUT", - "requestUri":"/projects/{projectName}" - }, - "input":{"shape":"UpdateProjectRequest"}, - "output":{"shape":"UpdateProjectResponse"}, - "errors":[ - {"shape":"InternalFailureException"}, - {"shape":"InvalidRequestException"}, - {"shape":"ResourceNotFoundException"}, - {"shape":"TooManyRequestsException"} - ], - "documentation":"

Updates a project associated with your AWS account and region. With the exception of device template names, you can pass just the values that need to be updated because the update request will change only the values that are provided. To clear a value, pass the empty string (i.e., \"\").

" - } - }, - "shapes":{ - "AssociateDeviceWithPlacementRequest":{ - "type":"structure", - "required":[ - "projectName", - "placementName", - "deviceId", - "deviceTemplateName" - ], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project containing the placement in which to associate the device.

", - "location":"uri", - "locationName":"projectName" - }, - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the placement in which to associate the device.

", - "location":"uri", - "locationName":"placementName" - }, - "deviceId":{ - "shape":"DeviceId", - "documentation":"

The ID of the physical device to be associated with the given placement in the project. Note that a mandatory 4 character prefix is required for all deviceId values.

" - }, - "deviceTemplateName":{ - "shape":"DeviceTemplateName", - "documentation":"

The device template name to associate with the device ID.

", - "location":"uri", - "locationName":"deviceTemplateName" - } - } - }, - "AssociateDeviceWithPlacementResponse":{ - "type":"structure", - "members":{ - } - }, - "AttributeDefaultValue":{ - "type":"string", - "max":800 - }, - "AttributeName":{ - "type":"string", - "max":128, - "min":1 - }, - "AttributeValue":{ - "type":"string", - "max":800 - }, - "Code":{"type":"string"}, - "CreatePlacementRequest":{ - "type":"structure", - "required":[ - "placementName", - "projectName" - ], - "members":{ - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the placement to be created.

" - }, - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project in which to create the placement.

", - "location":"uri", - "locationName":"projectName" - }, - "attributes":{ - "shape":"PlacementAttributeMap", - "documentation":"

Optional user-defined key/value pairs providing contextual data (such as location or function) for the placement.

" - } - } - }, - "CreatePlacementResponse":{ - "type":"structure", - "members":{ - } - }, - "CreateProjectRequest":{ - "type":"structure", - "required":["projectName"], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project to create.

" - }, - "description":{ - "shape":"Description", - "documentation":"

An optional description for the project.

" - }, - "placementTemplate":{ - "shape":"PlacementTemplate", - "documentation":"

The schema defining the placement to be created. A placement template defines placement default attributes and device templates. You cannot add or remove device templates after the project has been created. However, you can update callbackOverrides for the device templates using the UpdateProject API.

" - }, - "tags":{ - "shape":"TagMap", - "documentation":"

Optional tags (metadata key/value pairs) to be associated with the project. For example, { {\"key1\": \"value1\", \"key2\": \"value2\"} }. For more information, see AWS Tagging Strategies.

" - } - } - }, - "CreateProjectResponse":{ - "type":"structure", - "members":{ - } - }, - "DefaultPlacementAttributeMap":{ - "type":"map", - "key":{"shape":"AttributeName"}, - "value":{"shape":"AttributeDefaultValue"} - }, - "DeletePlacementRequest":{ - "type":"structure", - "required":[ - "placementName", - "projectName" - ], - "members":{ - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the empty placement to delete.

", - "location":"uri", - "locationName":"placementName" - }, - "projectName":{ - "shape":"ProjectName", - "documentation":"

The project containing the empty placement to delete.

", - "location":"uri", - "locationName":"projectName" - } - } - }, - "DeletePlacementResponse":{ - "type":"structure", - "members":{ - } - }, - "DeleteProjectRequest":{ - "type":"structure", - "required":["projectName"], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the empty project to delete.

", - "location":"uri", - "locationName":"projectName" - } - } - }, - "DeleteProjectResponse":{ - "type":"structure", - "members":{ - } - }, - "DescribePlacementRequest":{ - "type":"structure", - "required":[ - "placementName", - "projectName" - ], - "members":{ - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the placement within a project.

", - "location":"uri", - "locationName":"placementName" - }, - "projectName":{ - "shape":"ProjectName", - "documentation":"

The project containing the placement to be described.

", - "location":"uri", - "locationName":"projectName" - } - } - }, - "DescribePlacementResponse":{ - "type":"structure", - "required":["placement"], - "members":{ - "placement":{ - "shape":"PlacementDescription", - "documentation":"

An object describing the placement.

" - } - } - }, - "DescribeProjectRequest":{ - "type":"structure", - "required":["projectName"], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project to be described.

", - "location":"uri", - "locationName":"projectName" - } - } - }, - "DescribeProjectResponse":{ - "type":"structure", - "required":["project"], - "members":{ - "project":{ - "shape":"ProjectDescription", - "documentation":"

An object describing the project.

" - } - } - }, - "Description":{ - "type":"string", - "max":500, - "min":0 - }, - "DeviceCallbackKey":{ - "type":"string", - "max":128, - "min":1 - }, - "DeviceCallbackOverrideMap":{ - "type":"map", - "key":{"shape":"DeviceCallbackKey"}, - "value":{"shape":"DeviceCallbackValue"} - }, - "DeviceCallbackValue":{ - "type":"string", - "max":200 - }, - "DeviceId":{ - "type":"string", - "max":32, - "min":1 - }, - "DeviceMap":{ - "type":"map", - "key":{"shape":"DeviceTemplateName"}, - "value":{"shape":"DeviceId"} - }, - "DeviceTemplate":{ - "type":"structure", - "members":{ - "deviceType":{ - "shape":"DeviceType", - "documentation":"

The device type, which currently must be \"button\".

" - }, - "callbackOverrides":{ - "shape":"DeviceCallbackOverrideMap", - "documentation":"

An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.

" - } - }, - "documentation":"

An object representing a device for a placement template (see PlacementTemplate).

" - }, - "DeviceTemplateMap":{ - "type":"map", - "key":{"shape":"DeviceTemplateName"}, - "value":{"shape":"DeviceTemplate"} - }, - "DeviceTemplateName":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^[a-zA-Z0-9_-]+$" - }, - "DeviceType":{ - "type":"string", - "max":128 - }, - "DisassociateDeviceFromPlacementRequest":{ - "type":"structure", - "required":[ - "projectName", - "placementName", - "deviceTemplateName" - ], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project that contains the placement.

", - "location":"uri", - "locationName":"projectName" - }, - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the placement that the device should be removed from.

", - "location":"uri", - "locationName":"placementName" - }, - "deviceTemplateName":{ - "shape":"DeviceTemplateName", - "documentation":"

The device ID that should be removed from the placement.

", - "location":"uri", - "locationName":"deviceTemplateName" - } - } - }, - "DisassociateDeviceFromPlacementResponse":{ - "type":"structure", - "members":{ - } - }, - "GetDevicesInPlacementRequest":{ - "type":"structure", - "required":[ - "projectName", - "placementName" - ], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project containing the placement.

", - "location":"uri", - "locationName":"projectName" - }, - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the placement to get the devices from.

", - "location":"uri", - "locationName":"placementName" - } - } - }, - "GetDevicesInPlacementResponse":{ - "type":"structure", - "required":["devices"], - "members":{ - "devices":{ - "shape":"DeviceMap", - "documentation":"

An object containing the devices (zero or more) within the placement.

" - } - } - }, - "InternalFailureException":{ - "type":"structure", - "required":[ - "code", - "message" - ], - "members":{ - "code":{"shape":"Code"}, - "message":{"shape":"Message"} - }, - "documentation":"

", - "error":{"httpStatusCode":500}, - "exception":true - }, - "InvalidRequestException":{ - "type":"structure", - "required":[ - "code", - "message" - ], - "members":{ - "code":{"shape":"Code"}, - "message":{"shape":"Message"} - }, - "documentation":"

", - "error":{"httpStatusCode":400}, - "exception":true - }, - "ListPlacementsRequest":{ - "type":"structure", - "required":["projectName"], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The project containing the placements to be listed.

", - "location":"uri", - "locationName":"projectName" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token to retrieve the next set of results.

", - "location":"querystring", - "locationName":"nextToken" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return per request. If not set, a default value of 100 is used.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListPlacementsResponse":{ - "type":"structure", - "required":["placements"], - "members":{ - "placements":{ - "shape":"PlacementSummaryList", - "documentation":"

An object listing the requested placements.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token used to retrieve the next set of results - will be effectively empty if there are no further results.

" - } - } - }, - "ListProjectsRequest":{ - "type":"structure", - "members":{ - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token to retrieve the next set of results.

", - "location":"querystring", - "locationName":"nextToken" - }, - "maxResults":{ - "shape":"MaxResults", - "documentation":"

The maximum number of results to return per request. If not set, a default value of 100 is used.

", - "location":"querystring", - "locationName":"maxResults" - } - } - }, - "ListProjectsResponse":{ - "type":"structure", - "required":["projects"], - "members":{ - "projects":{ - "shape":"ProjectSummaryList", - "documentation":"

An object containing the list of projects.

" - }, - "nextToken":{ - "shape":"NextToken", - "documentation":"

The token used to retrieve the next set of results - will be effectively empty if there are no further results.

" - } - } - }, - "ListTagsForResourceRequest":{ - "type":"structure", - "required":["resourceArn"], - "members":{ - "resourceArn":{ - "shape":"ProjectArn", - "documentation":"

The ARN of the resource whose tags you want to list.

", - "location":"uri", - "locationName":"resourceArn" - } - } - }, - "ListTagsForResourceResponse":{ - "type":"structure", - "members":{ - "tags":{ - "shape":"TagMap", - "documentation":"

The tags (metadata key/value pairs) which you have assigned to the resource.

" - } - } - }, - "MaxResults":{ - "type":"integer", - "max":250, - "min":1 - }, - "Message":{"type":"string"}, - "NextToken":{ - "type":"string", - "max":1024, - "min":1 - }, - "PlacementAttributeMap":{ - "type":"map", - "key":{"shape":"AttributeName"}, - "value":{"shape":"AttributeValue"} - }, - "PlacementDescription":{ - "type":"structure", - "required":[ - "projectName", - "placementName", - "attributes", - "createdDate", - "updatedDate" - ], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project containing the placement.

" - }, - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the placement.

" - }, - "attributes":{ - "shape":"PlacementAttributeMap", - "documentation":"

The user-defined attributes associated with the placement.

" - }, - "createdDate":{ - "shape":"Time", - "documentation":"

The date when the placement was initially created, in UNIX epoch time format.

" - }, - "updatedDate":{ - "shape":"Time", - "documentation":"

The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.

" - } - }, - "documentation":"

An object describing a project's placement.

" - }, - "PlacementName":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^[a-zA-Z0-9_-]+$" - }, - "PlacementSummary":{ - "type":"structure", - "required":[ - "projectName", - "placementName", - "createdDate", - "updatedDate" - ], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project containing the placement.

" - }, - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the placement being summarized.

" - }, - "createdDate":{ - "shape":"Time", - "documentation":"

The date when the placement was originally created, in UNIX epoch time format.

" - }, - "updatedDate":{ - "shape":"Time", - "documentation":"

The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate and updatedDate are the same.

" - } - }, - "documentation":"

An object providing summary information for a particular placement.

" - }, - "PlacementSummaryList":{ - "type":"list", - "member":{"shape":"PlacementSummary"} - }, - "PlacementTemplate":{ - "type":"structure", - "members":{ - "defaultAttributes":{ - "shape":"DefaultPlacementAttributeMap", - "documentation":"

The default attributes (key/value pairs) to be applied to all placements using this template.

" - }, - "deviceTemplates":{ - "shape":"DeviceTemplateMap", - "documentation":"

An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.

" - } - }, - "documentation":"

An object defining the template for a placement.

" - }, - "ProjectArn":{ - "type":"string", - "pattern":"^arn:aws:iot1click:[A-Za-z0-9_/.-]{0,63}:\\d+:projects/[0-9A-Za-z_-]{1,128}$" - }, - "ProjectDescription":{ - "type":"structure", - "required":[ - "projectName", - "createdDate", - "updatedDate" - ], - "members":{ - "arn":{ - "shape":"ProjectArn", - "documentation":"

The ARN of the project.

" - }, - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project for which to obtain information from.

" - }, - "description":{ - "shape":"Description", - "documentation":"

The description of the project.

" - }, - "createdDate":{ - "shape":"Time", - "documentation":"

The date when the project was originally created, in UNIX epoch time format.

" - }, - "updatedDate":{ - "shape":"Time", - "documentation":"

The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then createdDate and updatedDate are the same.

" - }, - "placementTemplate":{ - "shape":"PlacementTemplate", - "documentation":"

An object describing the project's placement specifications.

" - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The tags (metadata key/value pairs) associated with the project.

" - } - }, - "documentation":"

An object providing detailed information for a particular project associated with an AWS account and region.

" - }, - "ProjectName":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^[0-9A-Za-z_-]+$" - }, - "ProjectSummary":{ - "type":"structure", - "required":[ - "projectName", - "createdDate", - "updatedDate" - ], - "members":{ - "arn":{ - "shape":"ProjectArn", - "documentation":"

The ARN of the project.

" - }, - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project being summarized.

" - }, - "createdDate":{ - "shape":"Time", - "documentation":"

The date when the project was originally created, in UNIX epoch time format.

" - }, - "updatedDate":{ - "shape":"Time", - "documentation":"

The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then createdDate and updatedDate are the same.

" - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The tags (metadata key/value pairs) associated with the project.

" - } - }, - "documentation":"

An object providing summary information for a particular project for an associated AWS account and region.

" - }, - "ProjectSummaryList":{ - "type":"list", - "member":{"shape":"ProjectSummary"} - }, - "ResourceConflictException":{ - "type":"structure", - "required":[ - "code", - "message" - ], - "members":{ - "code":{"shape":"Code"}, - "message":{"shape":"Message"} - }, - "documentation":"

", - "error":{"httpStatusCode":409}, - "exception":true - }, - "ResourceNotFoundException":{ - "type":"structure", - "required":[ - "code", - "message" - ], - "members":{ - "code":{"shape":"Code"}, - "message":{"shape":"Message"} - }, - "documentation":"

", - "error":{"httpStatusCode":404}, - "exception":true - }, - "TagKey":{ - "type":"string", - "max":128, - "min":1, - "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" - }, - "TagKeyList":{ - "type":"list", - "member":{"shape":"TagKey"}, - "max":50, - "min":1 - }, - "TagMap":{ - "type":"map", - "key":{"shape":"TagKey"}, - "value":{"shape":"TagValue"}, - "max":50, - "min":1 - }, - "TagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tags" - ], - "members":{ - "resourceArn":{ - "shape":"ProjectArn", - "documentation":"

The ARN of the resouce for which tag(s) should be added or modified.

", - "location":"uri", - "locationName":"resourceArn" - }, - "tags":{ - "shape":"TagMap", - "documentation":"

The new or modifying tag(s) for the resource. See AWS IoT 1-Click Service Limits for the maximum number of tags allowed per resource.

" - } - } - }, - "TagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "TagValue":{ - "type":"string", - "max":256 - }, - "Time":{"type":"timestamp"}, - "TooManyRequestsException":{ - "type":"structure", - "required":[ - "code", - "message" - ], - "members":{ - "code":{"shape":"Code"}, - "message":{"shape":"Message"} - }, - "documentation":"

", - "error":{"httpStatusCode":429}, - "exception":true - }, - "UntagResourceRequest":{ - "type":"structure", - "required":[ - "resourceArn", - "tagKeys" - ], - "members":{ - "resourceArn":{ - "shape":"ProjectArn", - "documentation":"

The ARN of the resource whose tag you want to remove.

", - "location":"uri", - "locationName":"resourceArn" - }, - "tagKeys":{ - "shape":"TagKeyList", - "documentation":"

The keys of those tags which you want to remove.

", - "location":"querystring", - "locationName":"tagKeys" - } - } - }, - "UntagResourceResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdatePlacementRequest":{ - "type":"structure", - "required":[ - "placementName", - "projectName" - ], - "members":{ - "placementName":{ - "shape":"PlacementName", - "documentation":"

The name of the placement to update.

", - "location":"uri", - "locationName":"placementName" - }, - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project containing the placement to be updated.

", - "location":"uri", - "locationName":"projectName" - }, - "attributes":{ - "shape":"PlacementAttributeMap", - "documentation":"

The user-defined object of attributes used to update the placement. The maximum number of key/value pairs is 50.

" - } - } - }, - "UpdatePlacementResponse":{ - "type":"structure", - "members":{ - } - }, - "UpdateProjectRequest":{ - "type":"structure", - "required":["projectName"], - "members":{ - "projectName":{ - "shape":"ProjectName", - "documentation":"

The name of the project to be updated.

", - "location":"uri", - "locationName":"projectName" - }, - "description":{ - "shape":"Description", - "documentation":"

An optional user-defined description for the project.

" - }, - "placementTemplate":{ - "shape":"PlacementTemplate", - "documentation":"

An object defining the project update. Once a project has been created, you cannot add device template names to the project. However, for a given placementTemplate, you can update the associated callbackOverrides for the device definition using this API.

" - } - } - }, - "UpdateProjectResponse":{ - "type":"structure", - "members":{ - } - } - }, - "documentation":"

The AWS IoT 1-Click Projects API Reference

" -} diff --git a/botocore/utils.py b/botocore/utils.py index 2d55e8a8dc..86ebde80fe 100644 --- a/botocore/utils.py +++ b/botocore/utils.py @@ -128,7 +128,6 @@ "data.mediastore": "mediastore-data", "datapipeline": "data-pipeline", "devicefarm": "device-farm", - "devices.iot1click": "iot-1click-devices-service", "directconnect": "direct-connect", "discovery": "application-discovery-service", "dms": "database-migration-service", @@ -148,8 +147,6 @@ "cloudwatch-events": "eventbridge", "iot-data": "iot-data-plane", "iot-jobs-data": "iot-jobs-data-plane", - "iot1click-devices": "iot-1click-devices-service", - "iot1click-projects": "iot-1click-projects", "kinesisanalytics": "kinesis-analytics", "kinesisvideo": "kinesis-video", "lex-models": "lex-model-building-service", @@ -165,7 +162,6 @@ "monitoring": "cloudwatch", "mturk-requester": "mturk", "opsworks-cm": "opsworkscm", - "projects.iot1click": "iot-1click-projects", "resourcegroupstaggingapi": "resource-groups-tagging-api", "route53": "route-53", "route53domains": "route-53-domains", @@ -3598,8 +3594,6 @@ def is_s3express_bucket(bucket): 'globalaccelerator': 'global-accelerator', 'iot-data': 'iot-data-plane', 'iot-jobs-data': 'iot-jobs-data-plane', - 'iot1click-devices': 'iot-1click-devices-service', - 'iot1click-projects': 'iot-1click-projects', 'iotevents-data': 'iot-events-data', 'iotevents': 'iot-events', 'iotwireless': 'iot-wireless', diff --git a/tests/functional/endpoint-rules/iot1click-devices/endpoint-tests-1.json b/tests/functional/endpoint-rules/iot1click-devices/endpoint-tests-1.json deleted file mode 100644 index f5c8d9a906..0000000000 --- a/tests/functional/endpoint-rules/iot1click-devices/endpoint-tests-1.json +++ /dev/null @@ -1,314 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://devices.iot1click-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://devices.iot1click-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://devices.iot1click.us-east-1.api.aws" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": true - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://devices.iot1click.us-east-1.amazonaws.com" - } - }, - "params": { - "Region": "us-east-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://devices.iot1click-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://devices.iot1click-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://devices.iot1click.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://devices.iot1click.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://devices.iot1click-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://devices.iot1click-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://devices.iot1click.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://devices.iot1click.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://devices.iot1click-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://devices.iot1click.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://devices.iot1click-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://devices.iot1click.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" -} \ No newline at end of file diff --git a/tests/functional/endpoint-rules/iot1click-projects/endpoint-tests-1.json b/tests/functional/endpoint-rules/iot1click-projects/endpoint-tests-1.json deleted file mode 100644 index 51b6217360..0000000000 --- a/tests/functional/endpoint-rules/iot1click-projects/endpoint-tests-1.json +++ /dev/null @@ -1,392 +0,0 @@ -{ - "testCases": [ - { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://projects.iot1click.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://projects.iot1click.eu-central-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-central-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://projects.iot1click.eu-west-1.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://projects.iot1click.eu-west-2.amazonaws.com" - } - }, - "params": { - "Region": "eu-west-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://projects.iot1click.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://projects.iot1click.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://projects.iot1click.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://projects.iot1click-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://projects.iot1click-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://projects.iot1click.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://projects.iot1click-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://projects.iot1click-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://projects.iot1click.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://projects.iot1click.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://projects.iot1click-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://projects.iot1click-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://projects.iot1click.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://projects.iot1click.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://projects.iot1click-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://projects.iot1click.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://projects.iot1click-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://projects.iot1click.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" -} \ No newline at end of file diff --git a/tests/functional/test_event_alias.py b/tests/functional/test_event_alias.py index e16a893256..1cc8152924 100644 --- a/tests/functional/test_event_alias.py +++ b/tests/functional/test_event_alias.py @@ -172,14 +172,6 @@ "endpoint_prefix": "data.jobs.iot", "service_id": "iot-jobs-data-plane", }, - "iot1click-devices": { - "endpoint_prefix": "devices.iot1click", - "service_id": "iot-1click-devices-service", - }, - "iot1click-projects": { - "endpoint_prefix": "projects.iot1click", - "service_id": "iot-1click-projects", - }, "iotanalytics": { "endpoint_prefix": "iotanalytics", "service_id": "iotanalytics",