vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2018-06-17 17:59:12 +01:00
parent 3f0789e2db
commit 08021c4636
2474 changed files with 435818 additions and 282709 deletions

View file

@ -0,0 +1,769 @@
{
"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"
},
"errors" : [ {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
}, {
"shape" : "ForbiddenException"
} ]
},
"DescribeDevice" : {
"name" : "DescribeDevice",
"http" : {
"method" : "GET",
"requestUri" : "/devices/{deviceId}",
"responseCode" : 200
},
"input" : {
"shape" : "DescribeDeviceRequest"
},
"output" : {
"shape" : "DescribeDeviceResponse"
},
"errors" : [ {
"shape" : "ResourceNotFoundException"
}, {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
} ]
},
"FinalizeDeviceClaim" : {
"name" : "FinalizeDeviceClaim",
"http" : {
"method" : "PUT",
"requestUri" : "/devices/{deviceId}/finalize-claim",
"responseCode" : 200
},
"input" : {
"shape" : "FinalizeDeviceClaimRequest"
},
"output" : {
"shape" : "FinalizeDeviceClaimResponse"
},
"errors" : [ {
"shape" : "ResourceNotFoundException"
}, {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
}, {
"shape" : "PreconditionFailedException"
}, {
"shape" : "ResourceConflictException"
} ]
},
"GetDeviceMethods" : {
"name" : "GetDeviceMethods",
"http" : {
"method" : "GET",
"requestUri" : "/devices/{deviceId}/methods",
"responseCode" : 200
},
"input" : {
"shape" : "GetDeviceMethodsRequest"
},
"output" : {
"shape" : "GetDeviceMethodsResponse"
},
"errors" : [ {
"shape" : "ResourceNotFoundException"
}, {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
} ]
},
"InitiateDeviceClaim" : {
"name" : "InitiateDeviceClaim",
"http" : {
"method" : "PUT",
"requestUri" : "/devices/{deviceId}/initiate-claim",
"responseCode" : 200
},
"input" : {
"shape" : "InitiateDeviceClaimRequest"
},
"output" : {
"shape" : "InitiateDeviceClaimResponse"
},
"errors" : [ {
"shape" : "ResourceNotFoundException"
}, {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
}, {
"shape" : "ResourceConflictException"
} ]
},
"InvokeDeviceMethod" : {
"name" : "InvokeDeviceMethod",
"http" : {
"method" : "POST",
"requestUri" : "/devices/{deviceId}/methods",
"responseCode" : 200
},
"input" : {
"shape" : "InvokeDeviceMethodRequest"
},
"output" : {
"shape" : "InvokeDeviceMethodResponse"
},
"errors" : [ {
"shape" : "InvalidRequestException"
}, {
"shape" : "PreconditionFailedException"
}, {
"shape" : "InternalFailureException"
}, {
"shape" : "ResourceNotFoundException"
}, {
"shape" : "RangeNotSatisfiableException"
}, {
"shape" : "ResourceConflictException"
} ]
},
"ListDeviceEvents" : {
"name" : "ListDeviceEvents",
"http" : {
"method" : "GET",
"requestUri" : "/devices/{deviceId}/events",
"responseCode" : 200
},
"input" : {
"shape" : "ListDeviceEventsRequest"
},
"output" : {
"shape" : "ListDeviceEventsResponse"
},
"errors" : [ {
"shape" : "ResourceNotFoundException"
}, {
"shape" : "RangeNotSatisfiableException"
}, {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
} ]
},
"ListDevices" : {
"name" : "ListDevices",
"http" : {
"method" : "GET",
"requestUri" : "/devices",
"responseCode" : 200
},
"input" : {
"shape" : "ListDevicesRequest"
},
"output" : {
"shape" : "ListDevicesResponse"
},
"errors" : [ {
"shape" : "RangeNotSatisfiableException"
}, {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
} ]
},
"UnclaimDevice" : {
"name" : "UnclaimDevice",
"http" : {
"method" : "PUT",
"requestUri" : "/devices/{deviceId}/unclaim",
"responseCode" : 200
},
"input" : {
"shape" : "UnclaimDeviceRequest"
},
"output" : {
"shape" : "UnclaimDeviceResponse"
},
"errors" : [ {
"shape" : "ResourceNotFoundException"
}, {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
} ]
},
"UpdateDeviceState" : {
"name" : "UpdateDeviceState",
"http" : {
"method" : "PUT",
"requestUri" : "/devices/{deviceId}/state",
"responseCode" : 200
},
"input" : {
"shape" : "UpdateDeviceStateRequest"
},
"output" : {
"shape" : "UpdateDeviceStateResponse"
},
"errors" : [ {
"shape" : "ResourceNotFoundException"
}, {
"shape" : "InvalidRequestException"
}, {
"shape" : "InternalFailureException"
} ]
}
},
"shapes" : {
"Attributes" : {
"type" : "structure",
"members" : { }
},
"ClaimDevicesByClaimCodeRequest" : {
"type" : "structure",
"members" : {
"ClaimCode" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "claimCode"
}
},
"required" : [ "ClaimCode" ]
},
"ClaimDevicesByClaimCodeResponse" : {
"type" : "structure",
"members" : {
"ClaimCode" : {
"shape" : "__stringMin12Max40",
"locationName" : "claimCode"
},
"Total" : {
"shape" : "__integer",
"locationName" : "total"
}
}
},
"DescribeDeviceRequest" : {
"type" : "structure",
"members" : {
"DeviceId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "deviceId"
}
},
"required" : [ "DeviceId" ]
},
"DescribeDeviceResponse" : {
"type" : "structure",
"members" : {
"DeviceDescription" : {
"shape" : "DeviceDescription",
"locationName" : "deviceDescription"
}
}
},
"Device" : {
"type" : "structure",
"members" : {
"Attributes" : {
"shape" : "Attributes",
"locationName" : "attributes"
},
"DeviceId" : {
"shape" : "__string",
"locationName" : "deviceId"
},
"Type" : {
"shape" : "__string",
"locationName" : "type"
}
}
},
"DeviceAttributes" : {
"type" : "map",
"key" : {
"shape" : "__string"
},
"value" : {
"shape" : "__string"
}
},
"DeviceClaimResponse" : {
"type" : "structure",
"members" : {
"State" : {
"shape" : "__string",
"locationName" : "state"
}
}
},
"DeviceDescription" : {
"type" : "structure",
"members" : {
"Attributes" : {
"shape" : "DeviceAttributes",
"locationName" : "attributes"
},
"DeviceId" : {
"shape" : "__string",
"locationName" : "deviceId"
},
"Enabled" : {
"shape" : "__boolean",
"locationName" : "enabled"
},
"RemainingLife" : {
"shape" : "__doubleMin0Max100",
"locationName" : "remainingLife"
},
"Type" : {
"shape" : "__string",
"locationName" : "type"
}
}
},
"DeviceEvent" : {
"type" : "structure",
"members" : {
"Device" : {
"shape" : "Device",
"locationName" : "device"
},
"StdEvent" : {
"shape" : "__string",
"locationName" : "stdEvent"
}
}
},
"DeviceEventsResponse" : {
"type" : "structure",
"members" : {
"Events" : {
"shape" : "__listOfDeviceEvent",
"locationName" : "events"
},
"NextToken" : {
"shape" : "__string",
"locationName" : "nextToken"
}
}
},
"DeviceMethod" : {
"type" : "structure",
"members" : {
"DeviceType" : {
"shape" : "__string",
"locationName" : "deviceType"
},
"MethodName" : {
"shape" : "__string",
"locationName" : "methodName"
}
}
},
"Empty" : {
"type" : "structure",
"members" : { }
},
"FinalizeDeviceClaimRequest" : {
"type" : "structure",
"members" : {
"DeviceId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "deviceId"
}
},
"required" : [ "DeviceId" ]
},
"FinalizeDeviceClaimResponse" : {
"type" : "structure",
"members" : {
"State" : {
"shape" : "__string",
"locationName" : "state"
}
}
},
"ForbiddenException" : {
"type" : "structure",
"members" : {
"Code" : {
"shape" : "__string",
"locationName" : "code"
},
"Message" : {
"shape" : "__string",
"locationName" : "message"
}
},
"exception" : true,
"error" : {
"httpStatusCode" : 403
}
},
"GetDeviceMethodsRequest" : {
"type" : "structure",
"members" : {
"DeviceId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "deviceId"
}
},
"required" : [ "DeviceId" ]
},
"GetDeviceMethodsResponse" : {
"type" : "structure",
"members" : {
"DeviceMethods" : {
"shape" : "__listOfDeviceMethod",
"locationName" : "deviceMethods"
}
}
},
"InitiateDeviceClaimRequest" : {
"type" : "structure",
"members" : {
"DeviceId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "deviceId"
}
},
"required" : [ "DeviceId" ]
},
"InitiateDeviceClaimResponse" : {
"type" : "structure",
"members" : {
"State" : {
"shape" : "__string",
"locationName" : "state"
}
}
},
"InternalFailureException" : {
"type" : "structure",
"members" : {
"Code" : {
"shape" : "__string",
"locationName" : "code"
},
"Message" : {
"shape" : "__string",
"locationName" : "message"
}
},
"exception" : true,
"error" : {
"httpStatusCode" : 500
}
},
"InvalidRequestException" : {
"type" : "structure",
"members" : {
"Code" : {
"shape" : "__string",
"locationName" : "code"
},
"Message" : {
"shape" : "__string",
"locationName" : "message"
}
},
"exception" : true,
"error" : {
"httpStatusCode" : 400
}
},
"InvokeDeviceMethodRequest" : {
"type" : "structure",
"members" : {
"DeviceId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "deviceId"
},
"DeviceMethod" : {
"shape" : "DeviceMethod",
"locationName" : "deviceMethod"
},
"DeviceMethodParameters" : {
"shape" : "__string",
"locationName" : "deviceMethodParameters"
}
},
"required" : [ "DeviceId" ]
},
"InvokeDeviceMethodResponse" : {
"type" : "structure",
"members" : {
"DeviceMethodResponse" : {
"shape" : "__string",
"locationName" : "deviceMethodResponse"
}
}
},
"ListDeviceEventsRequest" : {
"type" : "structure",
"members" : {
"DeviceId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "deviceId"
},
"FromTimeStamp" : {
"shape" : "__timestampIso8601",
"location" : "querystring",
"locationName" : "fromTimeStamp"
},
"MaxResults" : {
"shape" : "MaxResults",
"location" : "querystring",
"locationName" : "maxResults"
},
"NextToken" : {
"shape" : "__string",
"location" : "querystring",
"locationName" : "nextToken"
},
"ToTimeStamp" : {
"shape" : "__timestampIso8601",
"location" : "querystring",
"locationName" : "toTimeStamp"
}
},
"required" : [ "DeviceId", "FromTimeStamp", "ToTimeStamp" ]
},
"ListDeviceEventsResponse" : {
"type" : "structure",
"members" : {
"Events" : {
"shape" : "__listOfDeviceEvent",
"locationName" : "events"
},
"NextToken" : {
"shape" : "__string",
"locationName" : "nextToken"
}
}
},
"ListDevicesRequest" : {
"type" : "structure",
"members" : {
"DeviceType" : {
"shape" : "__string",
"location" : "querystring",
"locationName" : "deviceType"
},
"MaxResults" : {
"shape" : "MaxResults",
"location" : "querystring",
"locationName" : "maxResults"
},
"NextToken" : {
"shape" : "__string",
"location" : "querystring",
"locationName" : "nextToken"
}
}
},
"ListDevicesResponse" : {
"type" : "structure",
"members" : {
"Devices" : {
"shape" : "__listOfDeviceDescription",
"locationName" : "devices"
},
"NextToken" : {
"shape" : "__string",
"locationName" : "nextToken"
}
}
},
"MaxResults" : {
"type" : "integer",
"min" : 1,
"max" : 250
},
"PreconditionFailedException" : {
"type" : "structure",
"members" : {
"Code" : {
"shape" : "__string",
"locationName" : "code"
},
"Message" : {
"shape" : "__string",
"locationName" : "message"
}
},
"exception" : true,
"error" : {
"httpStatusCode" : 412
}
},
"RangeNotSatisfiableException" : {
"type" : "structure",
"members" : {
"Code" : {
"shape" : "__string",
"locationName" : "code"
},
"Message" : {
"shape" : "__string",
"locationName" : "message"
}
},
"exception" : true,
"error" : {
"httpStatusCode" : 416
}
},
"ResourceConflictException" : {
"type" : "structure",
"members" : {
"Code" : {
"shape" : "__string",
"locationName" : "code"
},
"Message" : {
"shape" : "__string",
"locationName" : "message"
}
},
"exception" : true,
"error" : {
"httpStatusCode" : 409
}
},
"ResourceNotFoundException" : {
"type" : "structure",
"members" : {
"Code" : {
"shape" : "__string",
"locationName" : "code"
},
"Message" : {
"shape" : "__string",
"locationName" : "message"
}
},
"exception" : true,
"error" : {
"httpStatusCode" : 404
}
},
"UnclaimDeviceRequest" : {
"type" : "structure",
"members" : {
"DeviceId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "deviceId"
}
},
"required" : [ "DeviceId" ]
},
"UnclaimDeviceResponse" : {
"type" : "structure",
"members" : {
"State" : {
"shape" : "__string",
"locationName" : "state"
}
}
},
"UpdateDeviceStateRequest" : {
"type" : "structure",
"members" : {
"DeviceId" : {
"shape" : "__string",
"location" : "uri",
"locationName" : "deviceId"
},
"Enabled" : {
"shape" : "__boolean",
"locationName" : "enabled"
}
},
"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"
}
},
"__long" : {
"type" : "long"
},
"__string" : {
"type" : "string"
},
"__stringMin12Max40" : {
"type" : "string",
"min" : 12,
"max" : 40
},
"__timestampIso8601" : {
"type" : "timestamp",
"timestampFormat" : "iso8601"
},
"__timestampUnix" : {
"type" : "timestamp",
"timestampFormat" : "unixTimestamp"
}
}
}

View file

@ -0,0 +1,199 @@
{
"version" : "2.0",
"service" : "<p>Stub description</p>",
"operations" : {
"ClaimDevicesByClaimCode" : "<p>Adds device(s) to your account (i.e., claim one or more devices) if and only if\n you received a claim code with the device(s).</p>",
"DescribeDevice" : "<p>Given a device ID, returns a DescribeDeviceResponse object describing\n the details of the device.</p>",
"FinalizeDeviceClaim" : "<p>Given a device ID, finalizes the claim request for the associated device.</p><note>\n <p>Claiming a device consists of initiating a claim, then publishing a device\n event, and finalizing the claim. For a device of type button, a\n device event can be published by simply clicking the device.</p>\n </note>",
"GetDeviceMethods" : "<p>Given a device ID, returns the invokable methods associated with the\n device.</p>",
"InitiateDeviceClaim" : "<p>Given a device ID, initiates a claim request for the associated device.</p><note>\n <p>Claiming a device consists of initiating a claim, then publishing a device\n event, and finalizing the claim. For a device of type button, a\n device event can be published by simply clicking the device.</p>\n </note>",
"InvokeDeviceMethod" : "<p>Given a device ID, issues a request to invoke a named device method (with possible\n parameters). See the \"Example POST\" code snippet below.</p>",
"ListDeviceEvents" : "<p>Using a device ID, returns a DeviceEventsResponse object containing\n an array of events for the device.</p>",
"ListDevices" : "<p>Lists the 1-Click compatible devices associated with your AWS account.</p>",
"UnclaimDevice" : "<p>Disassociates a device from your AWS account using its device ID.</p>",
"UpdateDeviceState" : "<p>Using a Boolean value (true or false), this operation\n enables or disables the device given a device ID.</p>"
},
"shapes" : {
"Attributes" : {
"base" : null,
"refs" : {
"Device$Attributes" : "<p>The user specified attributes associated with the device for an event.</p>"
}
},
"ClaimDevicesByClaimCodeResponse" : {
"base" : null,
"refs" : { }
},
"DescribeDeviceResponse" : {
"base" : null,
"refs" : { }
},
"Device" : {
"base" : null,
"refs" : {
"DeviceEvent$Device" : "<p>An object representing the device associated with the event.</p>"
}
},
"DeviceAttributes" : {
"base" : "<p>\n DeviceAttributes is a string-to-string map specified by the user.</p>",
"refs" : {
"DeviceDescription$Attributes" : "<p>An array of zero or more elements of DeviceAttribute objects\n providing user specified device attributes.</p>"
}
},
"DeviceClaimResponse" : {
"base" : null,
"refs" : { }
},
"DeviceDescription" : {
"base" : null,
"refs" : {
"DescribeDeviceResponse$DeviceDescription" : "<p>Device details.</p>",
"__listOfDeviceDescription$member" : null
}
},
"DeviceEvent" : {
"base" : null,
"refs" : {
"__listOfDeviceEvent$member" : null
}
},
"DeviceEventsResponse" : {
"base" : null,
"refs" : { }
},
"DeviceMethod" : {
"base" : null,
"refs" : {
"InvokeDeviceMethodRequest$DeviceMethod" : "<p>The device method to invoke.</p>",
"__listOfDeviceMethod$member" : null
}
},
"Empty" : {
"base" : "<p>On success, an empty object is returned.</p>",
"refs" : { }
},
"ForbiddenException" : {
"base" : null,
"refs" : { }
},
"GetDeviceMethodsResponse" : {
"base" : null,
"refs" : { }
},
"InternalFailureException" : {
"base" : null,
"refs" : { }
},
"InvalidRequestException" : {
"base" : null,
"refs" : { }
},
"InvokeDeviceMethodRequest" : {
"base" : null,
"refs" : { }
},
"InvokeDeviceMethodResponse" : {
"base" : null,
"refs" : { }
},
"ListDevicesResponse" : {
"base" : null,
"refs" : { }
},
"PreconditionFailedException" : {
"base" : null,
"refs" : { }
},
"RangeNotSatisfiableException" : {
"base" : null,
"refs" : { }
},
"ResourceConflictException" : {
"base" : null,
"refs" : { }
},
"ResourceNotFoundException" : {
"base" : null,
"refs" : { }
},
"UpdateDeviceStateRequest" : {
"base" : null,
"refs" : { }
},
"__boolean" : {
"base" : null,
"refs" : {
"DeviceDescription$Enabled" : "<p>A Boolean value indicating whether or not the device is enabled.</p>",
"UpdateDeviceStateRequest$Enabled" : "<p>If true, the device is enabled. If false, the device is\n disabled.</p>"
}
},
"__doubleMin0Max100" : {
"base" : null,
"refs" : {
"DeviceDescription$RemainingLife" : "<p>A value between 0 and 1 inclusive, representing the fraction of life remaining for\n the device.</p>"
}
},
"__integer" : {
"base" : null,
"refs" : {
"ClaimDevicesByClaimCodeResponse$Total" : "<p>The total number of devices associated with the claim code that has been processed\n in the claim request.</p>"
}
},
"__listOfDeviceDescription" : {
"base" : null,
"refs" : {
"ListDevicesResponse$Devices" : "<p>A list of devices.</p>"
}
},
"__listOfDeviceEvent" : {
"base" : null,
"refs" : {
"DeviceEventsResponse$Events" : "<p>An array of zero or more elements describing the event(s) associated with the\n device.</p>"
}
},
"__listOfDeviceMethod" : {
"base" : null,
"refs" : {
"GetDeviceMethodsResponse$DeviceMethods" : "<p>List of available device APIs.</p>"
}
},
"__string" : {
"base" : null,
"refs" : {
"Device$DeviceId" : "<p>The unique identifier of the device.</p>",
"Device$Type" : "<p>The device type, such as \"button\".</p>",
"DeviceAttributes$member" : null,
"DeviceClaimResponse$State" : "<p>The device's final claim state.</p>",
"DeviceDescription$DeviceId" : "<p>The unique identifier of the device.</p>",
"DeviceDescription$Type" : "<p>The type of the device, such as \"button\".</p>",
"DeviceEvent$StdEvent" : "<p>A serialized JSON object representing the device-type specific event.</p>",
"DeviceEventsResponse$NextToken" : "<p>The token to retrieve the next set of results.</p>",
"DeviceMethod$DeviceType" : "<p>The type of the device, such as \"button\".</p>",
"DeviceMethod$MethodName" : "<p>The name of the method applicable to the deviceType.</p>",
"ForbiddenException$Code" : "<p>403</p>",
"ForbiddenException$Message" : "<p>The 403 error message returned by the web server.</p>",
"InternalFailureException$Code" : "<p>500</p>",
"InternalFailureException$Message" : "<p>The 500 error message returned by the web server.</p>",
"InvalidRequestException$Code" : "<p>400</p>",
"InvalidRequestException$Message" : "<p>The 400 error message returned by the web server.</p>",
"InvokeDeviceMethodRequest$DeviceMethodParameters" : "<p>A JSON encoded string containing the device method request parameters.</p>",
"InvokeDeviceMethodResponse$DeviceMethodResponse" : "<p>A JSON encoded string containing the device method response.</p>",
"ListDevicesResponse$NextToken" : "<p>The token to retrieve the next set of results.</p>",
"PreconditionFailedException$Code" : "<p>412</p>",
"PreconditionFailedException$Message" : "<p>An error message explaining the error or its remedy.</p>",
"RangeNotSatisfiableException$Code" : "<p>416</p>",
"RangeNotSatisfiableException$Message" : "<p>The requested number of results specified by nextToken cannot be\n satisfied.</p>",
"ResourceConflictException$Code" : "<p>409</p>",
"ResourceConflictException$Message" : "<p>An error message explaining the error or its remedy.</p>",
"ResourceNotFoundException$Code" : "<p>404</p>",
"ResourceNotFoundException$Message" : "<p>The requested device could not be found.</p>"
}
},
"__stringMin12Max40" : {
"base" : null,
"refs" : {
"ClaimDevicesByClaimCodeResponse$ClaimCode" : "<p>The claim code provided by the device manufacturer.</p>"
}
}
}
}