Module: Aws::IoT1ClickDevicesService::ClientApi Private
- Includes:
- Seahorse::Model
- Defined in:
- lib/aws-sdk-iot1clickdevicesservice/client_api.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- Attributes =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'Attributes')
- ClaimDevicesByClaimCodeRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ClaimDevicesByClaimCodeRequest')
- ClaimDevicesByClaimCodeResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ClaimDevicesByClaimCodeResponse')
- DescribeDeviceRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'DescribeDeviceRequest')
- DescribeDeviceResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'DescribeDeviceResponse')
- Device =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'Device')
- DeviceAttributes =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::MapShape.new(name: 'DeviceAttributes')
- DeviceClaimResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'DeviceClaimResponse')
- DeviceDescription =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'DeviceDescription')
- DeviceEvent =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'DeviceEvent')
- DeviceEventsResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'DeviceEventsResponse')
- DeviceMethod =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'DeviceMethod')
- Empty =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'Empty')
- FinalizeDeviceClaimRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'FinalizeDeviceClaimRequest')
- FinalizeDeviceClaimResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'FinalizeDeviceClaimResponse')
- ForbiddenException =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ForbiddenException')
- GetDeviceMethodsRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'GetDeviceMethodsRequest')
- GetDeviceMethodsResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'GetDeviceMethodsResponse')
- InitiateDeviceClaimRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'InitiateDeviceClaimRequest')
- InitiateDeviceClaimResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'InitiateDeviceClaimResponse')
- InternalFailureException =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'InternalFailureException')
- InvalidRequestException =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'InvalidRequestException')
- InvokeDeviceMethodRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'InvokeDeviceMethodRequest')
- InvokeDeviceMethodResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'InvokeDeviceMethodResponse')
- ListDeviceEventsRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ListDeviceEventsRequest')
- ListDeviceEventsResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ListDeviceEventsResponse')
- ListDevicesRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ListDevicesRequest')
- ListDevicesResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ListDevicesResponse')
- ListTagsForResourceRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
- ListTagsForResourceResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
- MaxResults =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::IntegerShape.new(name: 'MaxResults')
- PreconditionFailedException =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'PreconditionFailedException')
- RangeNotSatisfiableException =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'RangeNotSatisfiableException')
- ResourceConflictException =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ResourceConflictException')
- ResourceNotFoundException =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'ResourceNotFoundException')
- TagResourceRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'TagResourceRequest')
- UnclaimDeviceRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'UnclaimDeviceRequest')
- UnclaimDeviceResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'UnclaimDeviceResponse')
- UntagResourceRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'UntagResourceRequest')
- UpdateDeviceStateRequest =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'UpdateDeviceStateRequest')
- UpdateDeviceStateResponse =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Shapes::StructureShape.new(name: 'UpdateDeviceStateResponse')
- API =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Seahorse::Model::Api.new.tap do |api| api.version = "2018-05-14" api. = { "apiVersion" => "2018-05-14", "endpointPrefix" => "devices.iot1click", "jsonVersion" => "1.1", "protocol" => "rest-json", "serviceFullName" => "AWS IoT 1-Click Devices Service", "serviceId" => "IoT 1Click Devices Service", "signatureVersion" => "v4", "signingName" => "iot1click", "uid" => "devices-2018-05-14", } api.add_operation(:claim_devices_by_claim_code, Seahorse::Model::Operation.new.tap do |o| o.name = "ClaimDevicesByClaimCode" o.http_method = "PUT" o.http_request_uri = "/claims/{claimCode}" o.input = Shapes::ShapeRef.new(shape: ClaimDevicesByClaimCodeRequest) o.output = Shapes::ShapeRef.new(shape: ClaimDevicesByClaimCodeResponse) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) o.errors << Shapes::ShapeRef.new(shape: ForbiddenException) end) api.add_operation(:describe_device, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeDevice" o.http_method = "GET" o.http_request_uri = "/devices/{deviceId}" o.input = Shapes::ShapeRef.new(shape: DescribeDeviceRequest) o.output = Shapes::ShapeRef.new(shape: DescribeDeviceResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) api.add_operation(:finalize_device_claim, Seahorse::Model::Operation.new.tap do |o| o.name = "FinalizeDeviceClaim" o.http_method = "PUT" o.http_request_uri = "/devices/{deviceId}/finalize-claim" o.input = Shapes::ShapeRef.new(shape: FinalizeDeviceClaimRequest) o.output = Shapes::ShapeRef.new(shape: FinalizeDeviceClaimResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException) o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) end) api.add_operation(:get_device_methods, Seahorse::Model::Operation.new.tap do |o| o.name = "GetDeviceMethods" o.http_method = "GET" o.http_request_uri = "/devices/{deviceId}/methods" o.input = Shapes::ShapeRef.new(shape: GetDeviceMethodsRequest) o.output = Shapes::ShapeRef.new(shape: GetDeviceMethodsResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) api.add_operation(:initiate_device_claim, Seahorse::Model::Operation.new.tap do |o| o.name = "InitiateDeviceClaim" o.http_method = "PUT" o.http_request_uri = "/devices/{deviceId}/initiate-claim" o.input = Shapes::ShapeRef.new(shape: InitiateDeviceClaimRequest) o.output = Shapes::ShapeRef.new(shape: InitiateDeviceClaimResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) end) api.add_operation(:invoke_device_method, Seahorse::Model::Operation.new.tap do |o| o.name = "InvokeDeviceMethod" o.http_method = "POST" o.http_request_uri = "/devices/{deviceId}/methods" o.input = Shapes::ShapeRef.new(shape: InvokeDeviceMethodRequest) o.output = Shapes::ShapeRef.new(shape: InvokeDeviceMethodResponse) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: RangeNotSatisfiableException) o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) end) api.add_operation(:list_device_events, Seahorse::Model::Operation.new.tap do |o| o.name = "ListDeviceEvents" o.http_method = "GET" o.http_request_uri = "/devices/{deviceId}/events" o.input = Shapes::ShapeRef.new(shape: ListDeviceEventsRequest) o.output = Shapes::ShapeRef.new(shape: ListDeviceEventsResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: RangeNotSatisfiableException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) api.add_operation(:list_devices, Seahorse::Model::Operation.new.tap do |o| o.name = "ListDevices" o.http_method = "GET" o.http_request_uri = "/devices" o.input = Shapes::ShapeRef.new(shape: ListDevicesRequest) o.output = Shapes::ShapeRef.new(shape: ListDevicesResponse) o.errors << Shapes::ShapeRef.new(shape: RangeNotSatisfiableException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTagsForResource" o.http_method = "GET" o.http_request_uri = "/tags/{resource-arn}" o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest) o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "TagResource" o.http_method = "POST" o.http_request_uri = "/tags/{resource-arn}" o.input = Shapes::ShapeRef.new(shape: TagResourceRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) api.add_operation(:unclaim_device, Seahorse::Model::Operation.new.tap do |o| o.name = "UnclaimDevice" o.http_method = "PUT" o.http_request_uri = "/devices/{deviceId}/unclaim" o.input = Shapes::ShapeRef.new(shape: UnclaimDeviceRequest) o.output = Shapes::ShapeRef.new(shape: UnclaimDeviceResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "UntagResource" o.http_method = "DELETE" o.http_request_uri = "/tags/{resource-arn}" o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) api.add_operation(:update_device_state, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateDeviceState" o.http_method = "PUT" o.http_request_uri = "/devices/{deviceId}/state" o.input = Shapes::ShapeRef.new(shape: UpdateDeviceStateRequest) o.output = Shapes::ShapeRef.new(shape: UpdateDeviceStateResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalFailureException) end) end