aws-sdk-iot 1.31.0 → 1.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iot.rb +1 -1
- data/lib/aws-sdk-iot/client.rb +1 -1
- data/lib/aws-sdk-iot/client_api.rb +86 -0
- data/lib/aws-sdk-iot/errors.rb +458 -0
- data/lib/aws-sdk-iot/types.rb +328 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d4bf4837839c2b618c784c1037a463d52b5a356
|
4
|
+
data.tar.gz: fa8ce12f7cb51034e647af85608aa1991587817a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 747957f5afd7bf2a6e4c9ed24838e2fc56eff09f7f236d27e677bacf7c63a3b33a2dca5e7b44bf40c3d8fddffc3a7e1f375eb79cb447b421c28c6ba11227d2ed
|
7
|
+
data.tar.gz: 4d345083d934edd6fdb4daff5fbb98eb5aa15a0a1bb1176893b9b7074c4c403e3fef015d39890fffb3dabe42f28a4adc1db4ca65f2bffa4177341a8da42f7621
|
data/lib/aws-sdk-iot.rb
CHANGED
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -1107,6 +1107,9 @@ module Aws::IoT
|
|
1107
1107
|
Certificate.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
|
1108
1108
|
Certificate.struct_class = Types::Certificate
|
1109
1109
|
|
1110
|
+
CertificateConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1111
|
+
CertificateConflictException.struct_class = Types::CertificateConflictException
|
1112
|
+
|
1110
1113
|
CertificateDescription.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
|
1111
1114
|
CertificateDescription.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "certificateId"))
|
1112
1115
|
CertificateDescription.add_member(:ca_certificate_id, Shapes::ShapeRef.new(shape: CertificateId, location_name: "caCertificateId"))
|
@@ -1122,6 +1125,12 @@ module Aws::IoT
|
|
1122
1125
|
CertificateDescription.add_member(:validity, Shapes::ShapeRef.new(shape: CertificateValidity, location_name: "validity"))
|
1123
1126
|
CertificateDescription.struct_class = Types::CertificateDescription
|
1124
1127
|
|
1128
|
+
CertificateStateException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1129
|
+
CertificateStateException.struct_class = Types::CertificateStateException
|
1130
|
+
|
1131
|
+
CertificateValidationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1132
|
+
CertificateValidationException.struct_class = Types::CertificateValidationException
|
1133
|
+
|
1125
1134
|
CertificateValidity.add_member(:not_before, Shapes::ShapeRef.new(shape: DateType, location_name: "notBefore"))
|
1126
1135
|
CertificateValidity.add_member(:not_after, Shapes::ShapeRef.new(shape: DateType, location_name: "notAfter"))
|
1127
1136
|
CertificateValidity.struct_class = Types::CertificateValidity
|
@@ -1163,6 +1172,9 @@ module Aws::IoT
|
|
1163
1172
|
Configuration.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "Enabled"))
|
1164
1173
|
Configuration.struct_class = Types::Configuration
|
1165
1174
|
|
1175
|
+
ConflictingResourceUpdateException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1176
|
+
ConflictingResourceUpdateException.struct_class = Types::ConflictingResourceUpdateException
|
1177
|
+
|
1166
1178
|
CreateAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location: "uri", location_name: "authorizerName"))
|
1167
1179
|
CreateAuthorizerRequest.add_member(:authorizer_function_arn, Shapes::ShapeRef.new(shape: AuthorizerFunctionArn, required: true, location_name: "authorizerFunctionArn"))
|
1168
1180
|
CreateAuthorizerRequest.add_member(:token_key_name, Shapes::ShapeRef.new(shape: TokenKeyName, required: true, location_name: "tokenKeyName"))
|
@@ -1390,6 +1402,9 @@ module Aws::IoT
|
|
1390
1402
|
DeleteCertificateRequest.add_member(:force_delete, Shapes::ShapeRef.new(shape: ForceDelete, location: "querystring", location_name: "forceDelete"))
|
1391
1403
|
DeleteCertificateRequest.struct_class = Types::DeleteCertificateRequest
|
1392
1404
|
|
1405
|
+
DeleteConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1406
|
+
DeleteConflictException.struct_class = Types::DeleteConflictException
|
1407
|
+
|
1393
1408
|
DeleteDynamicThingGroupRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, required: true, location: "uri", location_name: "thingGroupName"))
|
1394
1409
|
DeleteDynamicThingGroupRequest.add_member(:expected_version, Shapes::ShapeRef.new(shape: OptionalVersion, location: "querystring", location_name: "expectedVersion"))
|
1395
1410
|
DeleteDynamicThingGroupRequest.struct_class = Types::DeleteDynamicThingGroupRequest
|
@@ -1841,6 +1856,30 @@ module Aws::IoT
|
|
1841
1856
|
|
1842
1857
|
IndexNamesList.member = Shapes::ShapeRef.new(shape: IndexName)
|
1843
1858
|
|
1859
|
+
IndexNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1860
|
+
IndexNotReadyException.struct_class = Types::IndexNotReadyException
|
1861
|
+
|
1862
|
+
InternalException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1863
|
+
InternalException.struct_class = Types::InternalException
|
1864
|
+
|
1865
|
+
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1866
|
+
InternalFailureException.struct_class = Types::InternalFailureException
|
1867
|
+
|
1868
|
+
InvalidAggregationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1869
|
+
InvalidAggregationException.struct_class = Types::InvalidAggregationException
|
1870
|
+
|
1871
|
+
InvalidQueryException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1872
|
+
InvalidQueryException.struct_class = Types::InvalidQueryException
|
1873
|
+
|
1874
|
+
InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1875
|
+
InvalidRequestException.struct_class = Types::InvalidRequestException
|
1876
|
+
|
1877
|
+
InvalidResponseException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1878
|
+
InvalidResponseException.struct_class = Types::InvalidResponseException
|
1879
|
+
|
1880
|
+
InvalidStateTransitionException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1881
|
+
InvalidStateTransitionException.struct_class = Types::InvalidStateTransitionException
|
1882
|
+
|
1844
1883
|
IotAnalyticsAction.add_member(:channel_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "channelArn"))
|
1845
1884
|
IotAnalyticsAction.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "channelName"))
|
1846
1885
|
IotAnalyticsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
|
@@ -1946,6 +1985,9 @@ module Aws::IoT
|
|
1946
1985
|
LambdaAction.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location_name: "functionArn"))
|
1947
1986
|
LambdaAction.struct_class = Types::LambdaAction
|
1948
1987
|
|
1988
|
+
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
1989
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
1990
|
+
|
1949
1991
|
ListActiveViolationsRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location: "querystring", location_name: "thingName"))
|
1950
1992
|
ListActiveViolationsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
|
1951
1993
|
ListActiveViolationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -2340,6 +2382,9 @@ module Aws::IoT
|
|
2340
2382
|
LoggingOptionsPayload.add_member(:log_level, Shapes::ShapeRef.new(shape: LogLevel, location_name: "logLevel"))
|
2341
2383
|
LoggingOptionsPayload.struct_class = Types::LoggingOptionsPayload
|
2342
2384
|
|
2385
|
+
MalformedPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2386
|
+
MalformedPolicyException.struct_class = Types::MalformedPolicyException
|
2387
|
+
|
2343
2388
|
MetricValue.add_member(:count, Shapes::ShapeRef.new(shape: UnsignedLong, location_name: "count"))
|
2344
2389
|
MetricValue.add_member(:cidrs, Shapes::ShapeRef.new(shape: Cidrs, location_name: "cidrs"))
|
2345
2390
|
MetricValue.add_member(:ports, Shapes::ShapeRef.new(shape: Ports, location_name: "ports"))
|
@@ -2352,6 +2397,9 @@ module Aws::IoT
|
|
2352
2397
|
NonCompliantResource.add_member(:additional_info, Shapes::ShapeRef.new(shape: StringMap, location_name: "additionalInfo"))
|
2353
2398
|
NonCompliantResource.struct_class = Types::NonCompliantResource
|
2354
2399
|
|
2400
|
+
NotConfiguredException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2401
|
+
NotConfiguredException.struct_class = Types::NotConfiguredException
|
2402
|
+
|
2355
2403
|
OTAUpdateFile.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
|
2356
2404
|
OTAUpdateFile.add_member(:file_version, Shapes::ShapeRef.new(shape: OTAUpdateFileVersion, location_name: "fileVersion"))
|
2357
2405
|
OTAUpdateFile.add_member(:file_location, Shapes::ShapeRef.new(shape: FileLocation, location_name: "fileLocation"))
|
@@ -2469,6 +2517,9 @@ module Aws::IoT
|
|
2469
2517
|
RegisterThingResponse.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "resourceArns"))
|
2470
2518
|
RegisterThingResponse.struct_class = Types::RegisterThingResponse
|
2471
2519
|
|
2520
|
+
RegistrationCodeValidationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2521
|
+
RegistrationCodeValidationException.struct_class = Types::RegistrationCodeValidationException
|
2522
|
+
|
2472
2523
|
RegistrationConfig.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "templateBody"))
|
2473
2524
|
RegistrationConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
|
2474
2525
|
RegistrationConfig.struct_class = Types::RegistrationConfig
|
@@ -2510,6 +2561,11 @@ module Aws::IoT
|
|
2510
2561
|
RepublishAction.add_member(:topic, Shapes::ShapeRef.new(shape: TopicPattern, required: true, location_name: "topic"))
|
2511
2562
|
RepublishAction.struct_class = Types::RepublishAction
|
2512
2563
|
|
2564
|
+
ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2565
|
+
ResourceAlreadyExistsException.add_member(:resource_id, Shapes::ShapeRef.new(shape: resourceId, location_name: "resourceId"))
|
2566
|
+
ResourceAlreadyExistsException.add_member(:resource_arn, Shapes::ShapeRef.new(shape: resourceArn, location_name: "resourceArn"))
|
2567
|
+
ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
|
2568
|
+
|
2513
2569
|
ResourceArns.key = Shapes::ShapeRef.new(shape: ResourceLogicalId)
|
2514
2570
|
ResourceArns.value = Shapes::ShapeRef.new(shape: ResourceArn)
|
2515
2571
|
|
@@ -2521,6 +2577,12 @@ module Aws::IoT
|
|
2521
2577
|
ResourceIdentifier.add_member(:account, Shapes::ShapeRef.new(shape: AwsAccountId, location_name: "account"))
|
2522
2578
|
ResourceIdentifier.struct_class = Types::ResourceIdentifier
|
2523
2579
|
|
2580
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2581
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
2582
|
+
|
2583
|
+
ResourceRegistrationFailureException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2584
|
+
ResourceRegistrationFailureException.struct_class = Types::ResourceRegistrationFailureException
|
2585
|
+
|
2524
2586
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
2525
2587
|
|
2526
2588
|
RoleAliasDescription.add_member(:role_alias, Shapes::ShapeRef.new(shape: RoleAlias, location_name: "roleAlias"))
|
@@ -2595,6 +2657,9 @@ module Aws::IoT
|
|
2595
2657
|
|
2596
2658
|
SecurityProfileTargets.member = Shapes::ShapeRef.new(shape: SecurityProfileTarget)
|
2597
2659
|
|
2660
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2661
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
2662
|
+
|
2598
2663
|
SetDefaultAuthorizerRequest.add_member(:authorizer_name, Shapes::ShapeRef.new(shape: AuthorizerName, required: true, location_name: "authorizerName"))
|
2599
2664
|
SetDefaultAuthorizerRequest.struct_class = Types::SetDefaultAuthorizerRequest
|
2600
2665
|
|
@@ -2630,6 +2695,9 @@ module Aws::IoT
|
|
2630
2695
|
SnsAction.add_member(:message_format, Shapes::ShapeRef.new(shape: MessageFormat, location_name: "messageFormat"))
|
2631
2696
|
SnsAction.struct_class = Types::SnsAction
|
2632
2697
|
|
2698
|
+
SqlParseException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2699
|
+
SqlParseException.struct_class = Types::SqlParseException
|
2700
|
+
|
2633
2701
|
SqsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
2634
2702
|
SqsAction.add_member(:queue_url, Shapes::ShapeRef.new(shape: QueueUrl, required: true, location_name: "queueUrl"))
|
2635
2703
|
SqsAction.add_member(:use_base_64, Shapes::ShapeRef.new(shape: UseBase64, location_name: "useBase64"))
|
@@ -2828,6 +2896,9 @@ module Aws::IoT
|
|
2828
2896
|
ThingTypeProperties.add_member(:searchable_attributes, Shapes::ShapeRef.new(shape: SearchableAttributes, location_name: "searchableAttributes"))
|
2829
2897
|
ThingTypeProperties.struct_class = Types::ThingTypeProperties
|
2830
2898
|
|
2899
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2900
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
2901
|
+
|
2831
2902
|
TimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: InProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
|
2832
2903
|
TimeoutConfig.struct_class = Types::TimeoutConfig
|
2833
2904
|
|
@@ -2858,6 +2929,9 @@ module Aws::IoT
|
|
2858
2929
|
TopicRulePayload.add_member(:error_action, Shapes::ShapeRef.new(shape: Action, location_name: "errorAction"))
|
2859
2930
|
TopicRulePayload.struct_class = Types::TopicRulePayload
|
2860
2931
|
|
2932
|
+
TransferAlreadyCompletedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2933
|
+
TransferAlreadyCompletedException.struct_class = Types::TransferAlreadyCompletedException
|
2934
|
+
|
2861
2935
|
TransferCertificateRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
|
2862
2936
|
TransferCertificateRequest.add_member(:target_aws_account, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "querystring", location_name: "targetAwsAccount"))
|
2863
2937
|
TransferCertificateRequest.add_member(:transfer_message, Shapes::ShapeRef.new(shape: Message, location_name: "transferMessage"))
|
@@ -2866,6 +2940,9 @@ module Aws::IoT
|
|
2866
2940
|
TransferCertificateResponse.add_member(:transferred_certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "transferredCertificateArn"))
|
2867
2941
|
TransferCertificateResponse.struct_class = Types::TransferCertificateResponse
|
2868
2942
|
|
2943
|
+
TransferConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2944
|
+
TransferConflictException.struct_class = Types::TransferConflictException
|
2945
|
+
|
2869
2946
|
TransferData.add_member(:transfer_message, Shapes::ShapeRef.new(shape: Message, location_name: "transferMessage"))
|
2870
2947
|
TransferData.add_member(:reject_reason, Shapes::ShapeRef.new(shape: Message, location_name: "rejectReason"))
|
2871
2948
|
TransferData.add_member(:transfer_date, Shapes::ShapeRef.new(shape: DateType, location_name: "transferDate"))
|
@@ -2873,6 +2950,9 @@ module Aws::IoT
|
|
2873
2950
|
TransferData.add_member(:reject_date, Shapes::ShapeRef.new(shape: DateType, location_name: "rejectDate"))
|
2874
2951
|
TransferData.struct_class = Types::TransferData
|
2875
2952
|
|
2953
|
+
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2954
|
+
UnauthorizedException.struct_class = Types::UnauthorizedException
|
2955
|
+
|
2876
2956
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
2877
2957
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
2878
2958
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -3036,6 +3116,12 @@ module Aws::IoT
|
|
3036
3116
|
|
3037
3117
|
ValidationErrors.member = Shapes::ShapeRef.new(shape: ValidationError)
|
3038
3118
|
|
3119
|
+
VersionConflictException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
3120
|
+
VersionConflictException.struct_class = Types::VersionConflictException
|
3121
|
+
|
3122
|
+
VersionsLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
3123
|
+
VersionsLimitExceededException.struct_class = Types::VersionsLimitExceededException
|
3124
|
+
|
3039
3125
|
ViolationEvent.add_member(:violation_id, Shapes::ShapeRef.new(shape: ViolationId, location_name: "violationId"))
|
3040
3126
|
ViolationEvent.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, location_name: "thingName"))
|
3041
3127
|
ViolationEvent.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location_name: "securityProfileName"))
|
data/lib/aws-sdk-iot/errors.rb
CHANGED
@@ -10,5 +10,463 @@ module Aws::IoT
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class CertificateConflictException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::IoT::Types::CertificateConflictException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class CertificateStateException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::IoT::Types::CertificateStateException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
class CertificateValidationException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::IoT::Types::CertificateValidationException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
class ConflictingResourceUpdateException < ServiceError
|
62
|
+
|
63
|
+
# @param [Seahorse::Client::RequestContext] context
|
64
|
+
# @param [String] message
|
65
|
+
# @param [Aws::IoT::Types::ConflictingResourceUpdateException] data
|
66
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
67
|
+
super(context, message, data)
|
68
|
+
end
|
69
|
+
|
70
|
+
# @return [String]
|
71
|
+
def message
|
72
|
+
@message || @data[:message]
|
73
|
+
end
|
74
|
+
|
75
|
+
end
|
76
|
+
|
77
|
+
class DeleteConflictException < ServiceError
|
78
|
+
|
79
|
+
# @param [Seahorse::Client::RequestContext] context
|
80
|
+
# @param [String] message
|
81
|
+
# @param [Aws::IoT::Types::DeleteConflictException] data
|
82
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
83
|
+
super(context, message, data)
|
84
|
+
end
|
85
|
+
|
86
|
+
# @return [String]
|
87
|
+
def message
|
88
|
+
@message || @data[:message]
|
89
|
+
end
|
90
|
+
|
91
|
+
end
|
92
|
+
|
93
|
+
class IndexNotReadyException < ServiceError
|
94
|
+
|
95
|
+
# @param [Seahorse::Client::RequestContext] context
|
96
|
+
# @param [String] message
|
97
|
+
# @param [Aws::IoT::Types::IndexNotReadyException] data
|
98
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
99
|
+
super(context, message, data)
|
100
|
+
end
|
101
|
+
|
102
|
+
# @return [String]
|
103
|
+
def message
|
104
|
+
@message || @data[:message]
|
105
|
+
end
|
106
|
+
|
107
|
+
end
|
108
|
+
|
109
|
+
class InternalException < ServiceError
|
110
|
+
|
111
|
+
# @param [Seahorse::Client::RequestContext] context
|
112
|
+
# @param [String] message
|
113
|
+
# @param [Aws::IoT::Types::InternalException] data
|
114
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
115
|
+
super(context, message, data)
|
116
|
+
end
|
117
|
+
|
118
|
+
# @return [String]
|
119
|
+
def message
|
120
|
+
@message || @data[:message]
|
121
|
+
end
|
122
|
+
|
123
|
+
end
|
124
|
+
|
125
|
+
class InternalFailureException < ServiceError
|
126
|
+
|
127
|
+
# @param [Seahorse::Client::RequestContext] context
|
128
|
+
# @param [String] message
|
129
|
+
# @param [Aws::IoT::Types::InternalFailureException] data
|
130
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
131
|
+
super(context, message, data)
|
132
|
+
end
|
133
|
+
|
134
|
+
# @return [String]
|
135
|
+
def message
|
136
|
+
@message || @data[:message]
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
class InvalidAggregationException < ServiceError
|
142
|
+
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
144
|
+
# @param [String] message
|
145
|
+
# @param [Aws::IoT::Types::InvalidAggregationException] data
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
147
|
+
super(context, message, data)
|
148
|
+
end
|
149
|
+
|
150
|
+
# @return [String]
|
151
|
+
def message
|
152
|
+
@message || @data[:message]
|
153
|
+
end
|
154
|
+
|
155
|
+
end
|
156
|
+
|
157
|
+
class InvalidQueryException < ServiceError
|
158
|
+
|
159
|
+
# @param [Seahorse::Client::RequestContext] context
|
160
|
+
# @param [String] message
|
161
|
+
# @param [Aws::IoT::Types::InvalidQueryException] data
|
162
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
163
|
+
super(context, message, data)
|
164
|
+
end
|
165
|
+
|
166
|
+
# @return [String]
|
167
|
+
def message
|
168
|
+
@message || @data[:message]
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|
172
|
+
|
173
|
+
class InvalidRequestException < ServiceError
|
174
|
+
|
175
|
+
# @param [Seahorse::Client::RequestContext] context
|
176
|
+
# @param [String] message
|
177
|
+
# @param [Aws::IoT::Types::InvalidRequestException] data
|
178
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
179
|
+
super(context, message, data)
|
180
|
+
end
|
181
|
+
|
182
|
+
# @return [String]
|
183
|
+
def message
|
184
|
+
@message || @data[:message]
|
185
|
+
end
|
186
|
+
|
187
|
+
end
|
188
|
+
|
189
|
+
class InvalidResponseException < ServiceError
|
190
|
+
|
191
|
+
# @param [Seahorse::Client::RequestContext] context
|
192
|
+
# @param [String] message
|
193
|
+
# @param [Aws::IoT::Types::InvalidResponseException] data
|
194
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
195
|
+
super(context, message, data)
|
196
|
+
end
|
197
|
+
|
198
|
+
# @return [String]
|
199
|
+
def message
|
200
|
+
@message || @data[:message]
|
201
|
+
end
|
202
|
+
|
203
|
+
end
|
204
|
+
|
205
|
+
class InvalidStateTransitionException < ServiceError
|
206
|
+
|
207
|
+
# @param [Seahorse::Client::RequestContext] context
|
208
|
+
# @param [String] message
|
209
|
+
# @param [Aws::IoT::Types::InvalidStateTransitionException] data
|
210
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
211
|
+
super(context, message, data)
|
212
|
+
end
|
213
|
+
|
214
|
+
# @return [String]
|
215
|
+
def message
|
216
|
+
@message || @data[:message]
|
217
|
+
end
|
218
|
+
|
219
|
+
end
|
220
|
+
|
221
|
+
class LimitExceededException < ServiceError
|
222
|
+
|
223
|
+
# @param [Seahorse::Client::RequestContext] context
|
224
|
+
# @param [String] message
|
225
|
+
# @param [Aws::IoT::Types::LimitExceededException] data
|
226
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
227
|
+
super(context, message, data)
|
228
|
+
end
|
229
|
+
|
230
|
+
# @return [String]
|
231
|
+
def message
|
232
|
+
@message || @data[:message]
|
233
|
+
end
|
234
|
+
|
235
|
+
end
|
236
|
+
|
237
|
+
class MalformedPolicyException < ServiceError
|
238
|
+
|
239
|
+
# @param [Seahorse::Client::RequestContext] context
|
240
|
+
# @param [String] message
|
241
|
+
# @param [Aws::IoT::Types::MalformedPolicyException] data
|
242
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
243
|
+
super(context, message, data)
|
244
|
+
end
|
245
|
+
|
246
|
+
# @return [String]
|
247
|
+
def message
|
248
|
+
@message || @data[:message]
|
249
|
+
end
|
250
|
+
|
251
|
+
end
|
252
|
+
|
253
|
+
class NotConfiguredException < ServiceError
|
254
|
+
|
255
|
+
# @param [Seahorse::Client::RequestContext] context
|
256
|
+
# @param [String] message
|
257
|
+
# @param [Aws::IoT::Types::NotConfiguredException] data
|
258
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
259
|
+
super(context, message, data)
|
260
|
+
end
|
261
|
+
|
262
|
+
# @return [String]
|
263
|
+
def message
|
264
|
+
@message || @data[:message]
|
265
|
+
end
|
266
|
+
|
267
|
+
end
|
268
|
+
|
269
|
+
class RegistrationCodeValidationException < ServiceError
|
270
|
+
|
271
|
+
# @param [Seahorse::Client::RequestContext] context
|
272
|
+
# @param [String] message
|
273
|
+
# @param [Aws::IoT::Types::RegistrationCodeValidationException] data
|
274
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
275
|
+
super(context, message, data)
|
276
|
+
end
|
277
|
+
|
278
|
+
# @return [String]
|
279
|
+
def message
|
280
|
+
@message || @data[:message]
|
281
|
+
end
|
282
|
+
|
283
|
+
end
|
284
|
+
|
285
|
+
class ResourceAlreadyExistsException < ServiceError
|
286
|
+
|
287
|
+
# @param [Seahorse::Client::RequestContext] context
|
288
|
+
# @param [String] message
|
289
|
+
# @param [Aws::IoT::Types::ResourceAlreadyExistsException] data
|
290
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
291
|
+
super(context, message, data)
|
292
|
+
end
|
293
|
+
|
294
|
+
# @return [String]
|
295
|
+
def message
|
296
|
+
@message || @data[:message]
|
297
|
+
end
|
298
|
+
|
299
|
+
# @return [String]
|
300
|
+
def resource_id
|
301
|
+
@data[:resource_id]
|
302
|
+
end
|
303
|
+
|
304
|
+
# @return [String]
|
305
|
+
def resource_arn
|
306
|
+
@data[:resource_arn]
|
307
|
+
end
|
308
|
+
|
309
|
+
end
|
310
|
+
|
311
|
+
class ResourceNotFoundException < ServiceError
|
312
|
+
|
313
|
+
# @param [Seahorse::Client::RequestContext] context
|
314
|
+
# @param [String] message
|
315
|
+
# @param [Aws::IoT::Types::ResourceNotFoundException] data
|
316
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
317
|
+
super(context, message, data)
|
318
|
+
end
|
319
|
+
|
320
|
+
# @return [String]
|
321
|
+
def message
|
322
|
+
@message || @data[:message]
|
323
|
+
end
|
324
|
+
|
325
|
+
end
|
326
|
+
|
327
|
+
class ResourceRegistrationFailureException < ServiceError
|
328
|
+
|
329
|
+
# @param [Seahorse::Client::RequestContext] context
|
330
|
+
# @param [String] message
|
331
|
+
# @param [Aws::IoT::Types::ResourceRegistrationFailureException] data
|
332
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
333
|
+
super(context, message, data)
|
334
|
+
end
|
335
|
+
|
336
|
+
# @return [String]
|
337
|
+
def message
|
338
|
+
@message || @data[:message]
|
339
|
+
end
|
340
|
+
|
341
|
+
end
|
342
|
+
|
343
|
+
class ServiceUnavailableException < ServiceError
|
344
|
+
|
345
|
+
# @param [Seahorse::Client::RequestContext] context
|
346
|
+
# @param [String] message
|
347
|
+
# @param [Aws::IoT::Types::ServiceUnavailableException] data
|
348
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
349
|
+
super(context, message, data)
|
350
|
+
end
|
351
|
+
|
352
|
+
# @return [String]
|
353
|
+
def message
|
354
|
+
@message || @data[:message]
|
355
|
+
end
|
356
|
+
|
357
|
+
end
|
358
|
+
|
359
|
+
class SqlParseException < ServiceError
|
360
|
+
|
361
|
+
# @param [Seahorse::Client::RequestContext] context
|
362
|
+
# @param [String] message
|
363
|
+
# @param [Aws::IoT::Types::SqlParseException] data
|
364
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
365
|
+
super(context, message, data)
|
366
|
+
end
|
367
|
+
|
368
|
+
# @return [String]
|
369
|
+
def message
|
370
|
+
@message || @data[:message]
|
371
|
+
end
|
372
|
+
|
373
|
+
end
|
374
|
+
|
375
|
+
class ThrottlingException < ServiceError
|
376
|
+
|
377
|
+
# @param [Seahorse::Client::RequestContext] context
|
378
|
+
# @param [String] message
|
379
|
+
# @param [Aws::IoT::Types::ThrottlingException] data
|
380
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
381
|
+
super(context, message, data)
|
382
|
+
end
|
383
|
+
|
384
|
+
# @return [String]
|
385
|
+
def message
|
386
|
+
@message || @data[:message]
|
387
|
+
end
|
388
|
+
|
389
|
+
end
|
390
|
+
|
391
|
+
class TransferAlreadyCompletedException < ServiceError
|
392
|
+
|
393
|
+
# @param [Seahorse::Client::RequestContext] context
|
394
|
+
# @param [String] message
|
395
|
+
# @param [Aws::IoT::Types::TransferAlreadyCompletedException] data
|
396
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
397
|
+
super(context, message, data)
|
398
|
+
end
|
399
|
+
|
400
|
+
# @return [String]
|
401
|
+
def message
|
402
|
+
@message || @data[:message]
|
403
|
+
end
|
404
|
+
|
405
|
+
end
|
406
|
+
|
407
|
+
class TransferConflictException < ServiceError
|
408
|
+
|
409
|
+
# @param [Seahorse::Client::RequestContext] context
|
410
|
+
# @param [String] message
|
411
|
+
# @param [Aws::IoT::Types::TransferConflictException] data
|
412
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
413
|
+
super(context, message, data)
|
414
|
+
end
|
415
|
+
|
416
|
+
# @return [String]
|
417
|
+
def message
|
418
|
+
@message || @data[:message]
|
419
|
+
end
|
420
|
+
|
421
|
+
end
|
422
|
+
|
423
|
+
class UnauthorizedException < ServiceError
|
424
|
+
|
425
|
+
# @param [Seahorse::Client::RequestContext] context
|
426
|
+
# @param [String] message
|
427
|
+
# @param [Aws::IoT::Types::UnauthorizedException] data
|
428
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
429
|
+
super(context, message, data)
|
430
|
+
end
|
431
|
+
|
432
|
+
# @return [String]
|
433
|
+
def message
|
434
|
+
@message || @data[:message]
|
435
|
+
end
|
436
|
+
|
437
|
+
end
|
438
|
+
|
439
|
+
class VersionConflictException < ServiceError
|
440
|
+
|
441
|
+
# @param [Seahorse::Client::RequestContext] context
|
442
|
+
# @param [String] message
|
443
|
+
# @param [Aws::IoT::Types::VersionConflictException] data
|
444
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
445
|
+
super(context, message, data)
|
446
|
+
end
|
447
|
+
|
448
|
+
# @return [String]
|
449
|
+
def message
|
450
|
+
@message || @data[:message]
|
451
|
+
end
|
452
|
+
|
453
|
+
end
|
454
|
+
|
455
|
+
class VersionsLimitExceededException < ServiceError
|
456
|
+
|
457
|
+
# @param [Seahorse::Client::RequestContext] context
|
458
|
+
# @param [String] message
|
459
|
+
# @param [Aws::IoT::Types::VersionsLimitExceededException] data
|
460
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
461
|
+
super(context, message, data)
|
462
|
+
end
|
463
|
+
|
464
|
+
# @return [String]
|
465
|
+
def message
|
466
|
+
@message || @data[:message]
|
467
|
+
end
|
468
|
+
|
469
|
+
end
|
470
|
+
|
13
471
|
end
|
14
472
|
end
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -1363,6 +1363,20 @@ module Aws::IoT
|
|
1363
1363
|
include Aws::Structure
|
1364
1364
|
end
|
1365
1365
|
|
1366
|
+
# Unable to verify the CA certificate used to sign the device
|
1367
|
+
# certificate you are attempting to register. This is happens when you
|
1368
|
+
# have registered more than one CA certificate that has the same subject
|
1369
|
+
# field and public key.
|
1370
|
+
#
|
1371
|
+
# @!attribute [rw] message
|
1372
|
+
# The message for the exception.
|
1373
|
+
# @return [String]
|
1374
|
+
#
|
1375
|
+
class CertificateConflictException < Struct.new(
|
1376
|
+
:message)
|
1377
|
+
include Aws::Structure
|
1378
|
+
end
|
1379
|
+
|
1366
1380
|
# Describes a certificate.
|
1367
1381
|
#
|
1368
1382
|
# @!attribute [rw] certificate_arn
|
@@ -1435,6 +1449,28 @@ module Aws::IoT
|
|
1435
1449
|
include Aws::Structure
|
1436
1450
|
end
|
1437
1451
|
|
1452
|
+
# The certificate operation is not allowed.
|
1453
|
+
#
|
1454
|
+
# @!attribute [rw] message
|
1455
|
+
# The message for the exception.
|
1456
|
+
# @return [String]
|
1457
|
+
#
|
1458
|
+
class CertificateStateException < Struct.new(
|
1459
|
+
:message)
|
1460
|
+
include Aws::Structure
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
# The certificate is invalid.
|
1464
|
+
#
|
1465
|
+
# @!attribute [rw] message
|
1466
|
+
# Additional information about the exception.
|
1467
|
+
# @return [String]
|
1468
|
+
#
|
1469
|
+
class CertificateValidationException < Struct.new(
|
1470
|
+
:message)
|
1471
|
+
include Aws::Structure
|
1472
|
+
end
|
1473
|
+
|
1438
1474
|
# When the certificate is valid.
|
1439
1475
|
#
|
1440
1476
|
# @!attribute [rw] not_before
|
@@ -1665,6 +1701,18 @@ module Aws::IoT
|
|
1665
1701
|
include Aws::Structure
|
1666
1702
|
end
|
1667
1703
|
|
1704
|
+
# A conflicting resource update exception. This exception is thrown when
|
1705
|
+
# two pending updates cause a conflict.
|
1706
|
+
#
|
1707
|
+
# @!attribute [rw] message
|
1708
|
+
# The message for the exception.
|
1709
|
+
# @return [String]
|
1710
|
+
#
|
1711
|
+
class ConflictingResourceUpdateException < Struct.new(
|
1712
|
+
:message)
|
1713
|
+
include Aws::Structure
|
1714
|
+
end
|
1715
|
+
|
1668
1716
|
# @note When making an API call, you may pass CreateAuthorizerRequest
|
1669
1717
|
# data as a hash:
|
1670
1718
|
#
|
@@ -3260,6 +3308,18 @@ module Aws::IoT
|
|
3260
3308
|
include Aws::Structure
|
3261
3309
|
end
|
3262
3310
|
|
3311
|
+
# You can't delete the resource because it is attached to one or more
|
3312
|
+
# resources.
|
3313
|
+
#
|
3314
|
+
# @!attribute [rw] message
|
3315
|
+
# The message for the exception.
|
3316
|
+
# @return [String]
|
3317
|
+
#
|
3318
|
+
class DeleteConflictException < Struct.new(
|
3319
|
+
:message)
|
3320
|
+
include Aws::Structure
|
3321
|
+
end
|
3322
|
+
|
3263
3323
|
# @note When making an API call, you may pass DeleteDynamicThingGroupRequest
|
3264
3324
|
# data as a hash:
|
3265
3325
|
#
|
@@ -5471,6 +5531,95 @@ module Aws::IoT
|
|
5471
5531
|
include Aws::Structure
|
5472
5532
|
end
|
5473
5533
|
|
5534
|
+
# The index is not ready.
|
5535
|
+
#
|
5536
|
+
# @!attribute [rw] message
|
5537
|
+
# The message for the exception.
|
5538
|
+
# @return [String]
|
5539
|
+
#
|
5540
|
+
class IndexNotReadyException < Struct.new(
|
5541
|
+
:message)
|
5542
|
+
include Aws::Structure
|
5543
|
+
end
|
5544
|
+
|
5545
|
+
# An unexpected error has occurred.
|
5546
|
+
#
|
5547
|
+
# @!attribute [rw] message
|
5548
|
+
# The message for the exception.
|
5549
|
+
# @return [String]
|
5550
|
+
#
|
5551
|
+
class InternalException < Struct.new(
|
5552
|
+
:message)
|
5553
|
+
include Aws::Structure
|
5554
|
+
end
|
5555
|
+
|
5556
|
+
# An unexpected error has occurred.
|
5557
|
+
#
|
5558
|
+
# @!attribute [rw] message
|
5559
|
+
# The message for the exception.
|
5560
|
+
# @return [String]
|
5561
|
+
#
|
5562
|
+
class InternalFailureException < Struct.new(
|
5563
|
+
:message)
|
5564
|
+
include Aws::Structure
|
5565
|
+
end
|
5566
|
+
|
5567
|
+
# The aggregation is invalid.
|
5568
|
+
#
|
5569
|
+
# @!attribute [rw] message
|
5570
|
+
# @return [String]
|
5571
|
+
#
|
5572
|
+
class InvalidAggregationException < Struct.new(
|
5573
|
+
:message)
|
5574
|
+
include Aws::Structure
|
5575
|
+
end
|
5576
|
+
|
5577
|
+
# The query is invalid.
|
5578
|
+
#
|
5579
|
+
# @!attribute [rw] message
|
5580
|
+
# The message for the exception.
|
5581
|
+
# @return [String]
|
5582
|
+
#
|
5583
|
+
class InvalidQueryException < Struct.new(
|
5584
|
+
:message)
|
5585
|
+
include Aws::Structure
|
5586
|
+
end
|
5587
|
+
|
5588
|
+
# The request is not valid.
|
5589
|
+
#
|
5590
|
+
# @!attribute [rw] message
|
5591
|
+
# The message for the exception.
|
5592
|
+
# @return [String]
|
5593
|
+
#
|
5594
|
+
class InvalidRequestException < Struct.new(
|
5595
|
+
:message)
|
5596
|
+
include Aws::Structure
|
5597
|
+
end
|
5598
|
+
|
5599
|
+
# The response is invalid.
|
5600
|
+
#
|
5601
|
+
# @!attribute [rw] message
|
5602
|
+
# The message for the exception.
|
5603
|
+
# @return [String]
|
5604
|
+
#
|
5605
|
+
class InvalidResponseException < Struct.new(
|
5606
|
+
:message)
|
5607
|
+
include Aws::Structure
|
5608
|
+
end
|
5609
|
+
|
5610
|
+
# An attempt was made to change to an invalid state, for example by
|
5611
|
+
# deleting a job or a job execution which is "IN\_PROGRESS" without
|
5612
|
+
# setting the `force` parameter.
|
5613
|
+
#
|
5614
|
+
# @!attribute [rw] message
|
5615
|
+
# The message for the exception.
|
5616
|
+
# @return [String]
|
5617
|
+
#
|
5618
|
+
class InvalidStateTransitionException < Struct.new(
|
5619
|
+
:message)
|
5620
|
+
include Aws::Structure
|
5621
|
+
end
|
5622
|
+
|
5474
5623
|
# Sends messge data to an AWS IoT Analytics channel.
|
5475
5624
|
#
|
5476
5625
|
# @note When making an API call, you may pass IotAnalyticsAction
|
@@ -6005,6 +6154,17 @@ module Aws::IoT
|
|
6005
6154
|
include Aws::Structure
|
6006
6155
|
end
|
6007
6156
|
|
6157
|
+
# A limit has been exceeded.
|
6158
|
+
#
|
6159
|
+
# @!attribute [rw] message
|
6160
|
+
# The message for the exception.
|
6161
|
+
# @return [String]
|
6162
|
+
#
|
6163
|
+
class LimitExceededException < Struct.new(
|
6164
|
+
:message)
|
6165
|
+
include Aws::Structure
|
6166
|
+
end
|
6167
|
+
|
6008
6168
|
# @note When making an API call, you may pass ListActiveViolationsRequest
|
6009
6169
|
# data as a hash:
|
6010
6170
|
#
|
@@ -8007,6 +8167,17 @@ module Aws::IoT
|
|
8007
8167
|
include Aws::Structure
|
8008
8168
|
end
|
8009
8169
|
|
8170
|
+
# The policy documentation is not valid.
|
8171
|
+
#
|
8172
|
+
# @!attribute [rw] message
|
8173
|
+
# The message for the exception.
|
8174
|
+
# @return [String]
|
8175
|
+
#
|
8176
|
+
class MalformedPolicyException < Struct.new(
|
8177
|
+
:message)
|
8178
|
+
include Aws::Structure
|
8179
|
+
end
|
8180
|
+
|
8010
8181
|
# The value to be compared with the `metric`.
|
8011
8182
|
#
|
8012
8183
|
# @note When making an API call, you may pass MetricValue
|
@@ -8062,6 +8233,17 @@ module Aws::IoT
|
|
8062
8233
|
include Aws::Structure
|
8063
8234
|
end
|
8064
8235
|
|
8236
|
+
# The resource is not configured.
|
8237
|
+
#
|
8238
|
+
# @!attribute [rw] message
|
8239
|
+
# The message for the exception.
|
8240
|
+
# @return [String]
|
8241
|
+
#
|
8242
|
+
class NotConfiguredException < Struct.new(
|
8243
|
+
:message)
|
8244
|
+
include Aws::Structure
|
8245
|
+
end
|
8246
|
+
|
8065
8247
|
# Describes a file to be associated with an OTA update.
|
8066
8248
|
#
|
8067
8249
|
# @note When making an API call, you may pass OTAUpdateFile
|
@@ -8582,6 +8764,17 @@ module Aws::IoT
|
|
8582
8764
|
include Aws::Structure
|
8583
8765
|
end
|
8584
8766
|
|
8767
|
+
# The registration code is invalid.
|
8768
|
+
#
|
8769
|
+
# @!attribute [rw] message
|
8770
|
+
# Additional information about the exception.
|
8771
|
+
# @return [String]
|
8772
|
+
#
|
8773
|
+
class RegistrationCodeValidationException < Struct.new(
|
8774
|
+
:message)
|
8775
|
+
include Aws::Structure
|
8776
|
+
end
|
8777
|
+
|
8585
8778
|
# The registration configuration.
|
8586
8779
|
#
|
8587
8780
|
# @note When making an API call, you may pass RegistrationConfig
|
@@ -8965,6 +9158,27 @@ module Aws::IoT
|
|
8965
9158
|
include Aws::Structure
|
8966
9159
|
end
|
8967
9160
|
|
9161
|
+
# The resource already exists.
|
9162
|
+
#
|
9163
|
+
# @!attribute [rw] message
|
9164
|
+
# The message for the exception.
|
9165
|
+
# @return [String]
|
9166
|
+
#
|
9167
|
+
# @!attribute [rw] resource_id
|
9168
|
+
# The ID of the resource that caused the exception.
|
9169
|
+
# @return [String]
|
9170
|
+
#
|
9171
|
+
# @!attribute [rw] resource_arn
|
9172
|
+
# The ARN of the resource that caused the exception.
|
9173
|
+
# @return [String]
|
9174
|
+
#
|
9175
|
+
class ResourceAlreadyExistsException < Struct.new(
|
9176
|
+
:message,
|
9177
|
+
:resource_id,
|
9178
|
+
:resource_arn)
|
9179
|
+
include Aws::Structure
|
9180
|
+
end
|
9181
|
+
|
8968
9182
|
# Information identifying the non-compliant resource.
|
8969
9183
|
#
|
8970
9184
|
# @note When making an API call, you may pass ResourceIdentifier
|
@@ -9016,6 +9230,28 @@ module Aws::IoT
|
|
9016
9230
|
include Aws::Structure
|
9017
9231
|
end
|
9018
9232
|
|
9233
|
+
# The specified resource does not exist.
|
9234
|
+
#
|
9235
|
+
# @!attribute [rw] message
|
9236
|
+
# The message for the exception.
|
9237
|
+
# @return [String]
|
9238
|
+
#
|
9239
|
+
class ResourceNotFoundException < Struct.new(
|
9240
|
+
:message)
|
9241
|
+
include Aws::Structure
|
9242
|
+
end
|
9243
|
+
|
9244
|
+
# The resource registration failed.
|
9245
|
+
#
|
9246
|
+
# @!attribute [rw] message
|
9247
|
+
# The message for the exception.
|
9248
|
+
# @return [String]
|
9249
|
+
#
|
9250
|
+
class ResourceRegistrationFailureException < Struct.new(
|
9251
|
+
:message)
|
9252
|
+
include Aws::Structure
|
9253
|
+
end
|
9254
|
+
|
9019
9255
|
# Role alias description.
|
9020
9256
|
#
|
9021
9257
|
# @!attribute [rw] role_alias
|
@@ -9324,6 +9560,17 @@ module Aws::IoT
|
|
9324
9560
|
include Aws::Structure
|
9325
9561
|
end
|
9326
9562
|
|
9563
|
+
# The service is temporarily unavailable.
|
9564
|
+
#
|
9565
|
+
# @!attribute [rw] message
|
9566
|
+
# The message for the exception.
|
9567
|
+
# @return [String]
|
9568
|
+
#
|
9569
|
+
class ServiceUnavailableException < Struct.new(
|
9570
|
+
:message)
|
9571
|
+
include Aws::Structure
|
9572
|
+
end
|
9573
|
+
|
9327
9574
|
# @note When making an API call, you may pass SetDefaultAuthorizerRequest
|
9328
9575
|
# data as a hash:
|
9329
9576
|
#
|
@@ -9522,6 +9769,17 @@ module Aws::IoT
|
|
9522
9769
|
include Aws::Structure
|
9523
9770
|
end
|
9524
9771
|
|
9772
|
+
# The Rule-SQL expression can't be parsed correctly.
|
9773
|
+
#
|
9774
|
+
# @!attribute [rw] message
|
9775
|
+
# The message for the exception.
|
9776
|
+
# @return [String]
|
9777
|
+
#
|
9778
|
+
class SqlParseException < Struct.new(
|
9779
|
+
:message)
|
9780
|
+
include Aws::Structure
|
9781
|
+
end
|
9782
|
+
|
9525
9783
|
# Describes an action to publish data to an Amazon SQS queue.
|
9526
9784
|
#
|
9527
9785
|
# @note When making an API call, you may pass SqsAction
|
@@ -10416,6 +10674,17 @@ module Aws::IoT
|
|
10416
10674
|
include Aws::Structure
|
10417
10675
|
end
|
10418
10676
|
|
10677
|
+
# The rate exceeds the limit.
|
10678
|
+
#
|
10679
|
+
# @!attribute [rw] message
|
10680
|
+
# The message for the exception.
|
10681
|
+
# @return [String]
|
10682
|
+
#
|
10683
|
+
class ThrottlingException < Struct.new(
|
10684
|
+
:message)
|
10685
|
+
include Aws::Structure
|
10686
|
+
end
|
10687
|
+
|
10419
10688
|
# Specifies the amount of time each device has to finish its execution
|
10420
10689
|
# of the job. A timer is started when the job execution status is set to
|
10421
10690
|
# `IN_PROGRESS`. If the job execution status is not set to another
|
@@ -10761,6 +11030,18 @@ module Aws::IoT
|
|
10761
11030
|
include Aws::Structure
|
10762
11031
|
end
|
10763
11032
|
|
11033
|
+
# You can't revert the certificate transfer because the transfer is
|
11034
|
+
# already complete.
|
11035
|
+
#
|
11036
|
+
# @!attribute [rw] message
|
11037
|
+
# The message for the exception.
|
11038
|
+
# @return [String]
|
11039
|
+
#
|
11040
|
+
class TransferAlreadyCompletedException < Struct.new(
|
11041
|
+
:message)
|
11042
|
+
include Aws::Structure
|
11043
|
+
end
|
11044
|
+
|
10764
11045
|
# The input for the TransferCertificate operation.
|
10765
11046
|
#
|
10766
11047
|
# @note When making an API call, you may pass TransferCertificateRequest
|
@@ -10803,6 +11084,18 @@ module Aws::IoT
|
|
10803
11084
|
include Aws::Structure
|
10804
11085
|
end
|
10805
11086
|
|
11087
|
+
# You can't transfer the certificate because authorization policies are
|
11088
|
+
# still attached.
|
11089
|
+
#
|
11090
|
+
# @!attribute [rw] message
|
11091
|
+
# The message for the exception.
|
11092
|
+
# @return [String]
|
11093
|
+
#
|
11094
|
+
class TransferConflictException < Struct.new(
|
11095
|
+
:message)
|
11096
|
+
include Aws::Structure
|
11097
|
+
end
|
11098
|
+
|
10806
11099
|
# Data used to transfer a certificate to an AWS account.
|
10807
11100
|
#
|
10808
11101
|
# @!attribute [rw] transfer_message
|
@@ -10834,6 +11127,17 @@ module Aws::IoT
|
|
10834
11127
|
include Aws::Structure
|
10835
11128
|
end
|
10836
11129
|
|
11130
|
+
# You are not authorized to perform this operation.
|
11131
|
+
#
|
11132
|
+
# @!attribute [rw] message
|
11133
|
+
# The message for the exception.
|
11134
|
+
# @return [String]
|
11135
|
+
#
|
11136
|
+
class UnauthorizedException < Struct.new(
|
11137
|
+
:message)
|
11138
|
+
include Aws::Structure
|
11139
|
+
end
|
11140
|
+
|
10837
11141
|
# @note When making an API call, you may pass UntagResourceRequest
|
10838
11142
|
# data as a hash:
|
10839
11143
|
#
|
@@ -11821,6 +12125,30 @@ module Aws::IoT
|
|
11821
12125
|
include Aws::Structure
|
11822
12126
|
end
|
11823
12127
|
|
12128
|
+
# An exception thrown when the version of an entity specified with the
|
12129
|
+
# `expectedVersion` parameter does not match the latest version in the
|
12130
|
+
# system.
|
12131
|
+
#
|
12132
|
+
# @!attribute [rw] message
|
12133
|
+
# The message for the exception.
|
12134
|
+
# @return [String]
|
12135
|
+
#
|
12136
|
+
class VersionConflictException < Struct.new(
|
12137
|
+
:message)
|
12138
|
+
include Aws::Structure
|
12139
|
+
end
|
12140
|
+
|
12141
|
+
# The number of policy versions exceeds the limit.
|
12142
|
+
#
|
12143
|
+
# @!attribute [rw] message
|
12144
|
+
# The message for the exception.
|
12145
|
+
# @return [String]
|
12146
|
+
#
|
12147
|
+
class VersionsLimitExceededException < Struct.new(
|
12148
|
+
:message)
|
12149
|
+
include Aws::Structure
|
12150
|
+
end
|
12151
|
+
|
11824
12152
|
# Information about a Device Defender security profile behavior
|
11825
12153
|
# violation.
|
11826
12154
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.32.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|