aws-sdk-iot 1.57.0 → 1.62.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 +260 -24
- data/lib/aws-sdk-iot/client_api.rb +57 -0
- data/lib/aws-sdk-iot/types.rb +585 -70
- metadata +4 -4
@@ -141,6 +141,7 @@ module Aws::IoT
|
|
141
141
|
AwsJobRolloutRatePerMinute = Shapes::IntegerShape.new(name: 'AwsJobRolloutRatePerMinute')
|
142
142
|
AwsJobTimeoutConfig = Shapes::StructureShape.new(name: 'AwsJobTimeoutConfig')
|
143
143
|
AwsJobTimeoutInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'AwsJobTimeoutInProgressTimeoutInMinutes')
|
144
|
+
BatchMode = Shapes::BooleanShape.new(name: 'BatchMode')
|
144
145
|
Behavior = Shapes::StructureShape.new(name: 'Behavior')
|
145
146
|
BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
|
146
147
|
BehaviorMetric = Shapes::StringShape.new(name: 'BehaviorMetric')
|
@@ -710,6 +711,7 @@ module Aws::IoT
|
|
710
711
|
MqttContext = Shapes::StructureShape.new(name: 'MqttContext')
|
711
712
|
MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
|
712
713
|
MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
|
714
|
+
NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
|
713
715
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
714
716
|
NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
|
715
717
|
NonCompliantResource = Shapes::StructureShape.new(name: 'NonCompliantResource')
|
@@ -1009,6 +1011,16 @@ module Aws::IoT
|
|
1009
1011
|
TimedOutThings = Shapes::IntegerShape.new(name: 'TimedOutThings')
|
1010
1012
|
TimeoutConfig = Shapes::StructureShape.new(name: 'TimeoutConfig')
|
1011
1013
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
1014
|
+
TimestreamAction = Shapes::StructureShape.new(name: 'TimestreamAction')
|
1015
|
+
TimestreamDatabaseName = Shapes::StringShape.new(name: 'TimestreamDatabaseName')
|
1016
|
+
TimestreamDimension = Shapes::StructureShape.new(name: 'TimestreamDimension')
|
1017
|
+
TimestreamDimensionList = Shapes::ListShape.new(name: 'TimestreamDimensionList')
|
1018
|
+
TimestreamDimensionName = Shapes::StringShape.new(name: 'TimestreamDimensionName')
|
1019
|
+
TimestreamDimensionValue = Shapes::StringShape.new(name: 'TimestreamDimensionValue')
|
1020
|
+
TimestreamTableName = Shapes::StringShape.new(name: 'TimestreamTableName')
|
1021
|
+
TimestreamTimestamp = Shapes::StructureShape.new(name: 'TimestreamTimestamp')
|
1022
|
+
TimestreamTimestampUnit = Shapes::StringShape.new(name: 'TimestreamTimestampUnit')
|
1023
|
+
TimestreamTimestampValue = Shapes::StringShape.new(name: 'TimestreamTimestampValue')
|
1012
1024
|
TlsContext = Shapes::StructureShape.new(name: 'TlsContext')
|
1013
1025
|
Token = Shapes::StringShape.new(name: 'Token')
|
1014
1026
|
TokenKeyName = Shapes::StringShape.new(name: 'TokenKeyName')
|
@@ -1137,6 +1149,7 @@ module Aws::IoT
|
|
1137
1149
|
Action.add_member(:iot_events, Shapes::ShapeRef.new(shape: IotEventsAction, location_name: "iotEvents"))
|
1138
1150
|
Action.add_member(:iot_site_wise, Shapes::ShapeRef.new(shape: IotSiteWiseAction, location_name: "iotSiteWise"))
|
1139
1151
|
Action.add_member(:step_functions, Shapes::ShapeRef.new(shape: StepFunctionsAction, location_name: "stepFunctions"))
|
1152
|
+
Action.add_member(:timestream, Shapes::ShapeRef.new(shape: TimestreamAction, location_name: "timestream"))
|
1140
1153
|
Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
|
1141
1154
|
Action.struct_class = Types::Action
|
1142
1155
|
|
@@ -1211,6 +1224,7 @@ module Aws::IoT
|
|
1211
1224
|
AssociateTargetsWithJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
|
1212
1225
|
AssociateTargetsWithJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
1213
1226
|
AssociateTargetsWithJobRequest.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
|
1227
|
+
AssociateTargetsWithJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
1214
1228
|
AssociateTargetsWithJobRequest.struct_class = Types::AssociateTargetsWithJobRequest
|
1215
1229
|
|
1216
1230
|
AssociateTargetsWithJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
@@ -1659,6 +1673,7 @@ module Aws::IoT
|
|
1659
1673
|
CreateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
1660
1674
|
CreateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
1661
1675
|
CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1676
|
+
CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
1662
1677
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
1663
1678
|
|
1664
1679
|
CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
@@ -1915,10 +1930,12 @@ module Aws::IoT
|
|
1915
1930
|
DeleteJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
1916
1931
|
DeleteJobExecutionRequest.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, required: true, location: "uri", location_name: "executionNumber"))
|
1917
1932
|
DeleteJobExecutionRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location: "querystring", location_name: "force"))
|
1933
|
+
DeleteJobExecutionRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
1918
1934
|
DeleteJobExecutionRequest.struct_class = Types::DeleteJobExecutionRequest
|
1919
1935
|
|
1920
1936
|
DeleteJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
|
1921
1937
|
DeleteJobRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location: "querystring", location_name: "force"))
|
1938
|
+
DeleteJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
1922
1939
|
DeleteJobRequest.struct_class = Types::DeleteJobRequest
|
1923
1940
|
|
1924
1941
|
DeleteMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
|
@@ -2119,6 +2136,7 @@ module Aws::IoT
|
|
2119
2136
|
DescribeDomainConfigurationResponse.add_member(:domain_configuration_status, Shapes::ShapeRef.new(shape: DomainConfigurationStatus, location_name: "domainConfigurationStatus"))
|
2120
2137
|
DescribeDomainConfigurationResponse.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "serviceType"))
|
2121
2138
|
DescribeDomainConfigurationResponse.add_member(:domain_type, Shapes::ShapeRef.new(shape: DomainType, location_name: "domainType"))
|
2139
|
+
DescribeDomainConfigurationResponse.add_member(:last_status_change_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastStatusChangeDate"))
|
2122
2140
|
DescribeDomainConfigurationResponse.struct_class = Types::DescribeDomainConfigurationResponse
|
2123
2141
|
|
2124
2142
|
DescribeEndpointRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location: "querystring", location_name: "endpointType"))
|
@@ -2395,6 +2413,7 @@ module Aws::IoT
|
|
2395
2413
|
FirehoseAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
2396
2414
|
FirehoseAction.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "deliveryStreamName"))
|
2397
2415
|
FirehoseAction.add_member(:separator, Shapes::ShapeRef.new(shape: FirehoseSeparator, location_name: "separator"))
|
2416
|
+
FirehoseAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
|
2398
2417
|
FirehoseAction.struct_class = Types::FirehoseAction
|
2399
2418
|
|
2400
2419
|
GetCardinalityRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
@@ -2574,11 +2593,13 @@ module Aws::IoT
|
|
2574
2593
|
|
2575
2594
|
IotAnalyticsAction.add_member(:channel_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "channelArn"))
|
2576
2595
|
IotAnalyticsAction.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "channelName"))
|
2596
|
+
IotAnalyticsAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
|
2577
2597
|
IotAnalyticsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
|
2578
2598
|
IotAnalyticsAction.struct_class = Types::IotAnalyticsAction
|
2579
2599
|
|
2580
2600
|
IotEventsAction.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location_name: "inputName"))
|
2581
2601
|
IotEventsAction.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "messageId"))
|
2602
|
+
IotEventsAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
|
2582
2603
|
IotEventsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
2583
2604
|
IotEventsAction.struct_class = Types::IotEventsAction
|
2584
2605
|
|
@@ -2603,6 +2624,7 @@ module Aws::IoT
|
|
2603
2624
|
Job.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
|
2604
2625
|
Job.add_member(:job_process_details, Shapes::ShapeRef.new(shape: JobProcessDetails, location_name: "jobProcessDetails"))
|
2605
2626
|
Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
2627
|
+
Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
2606
2628
|
Job.struct_class = Types::Job
|
2607
2629
|
|
2608
2630
|
JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
@@ -2849,6 +2871,7 @@ module Aws::IoT
|
|
2849
2871
|
|
2850
2872
|
ListJobExecutionsForThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
2851
2873
|
ListJobExecutionsForThingRequest.add_member(:status, Shapes::ShapeRef.new(shape: JobExecutionStatus, location: "querystring", location_name: "status"))
|
2874
|
+
ListJobExecutionsForThingRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
2852
2875
|
ListJobExecutionsForThingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LaserMaxResults, location: "querystring", location_name: "maxResults"))
|
2853
2876
|
ListJobExecutionsForThingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
2854
2877
|
ListJobExecutionsForThingRequest.struct_class = Types::ListJobExecutionsForThingRequest
|
@@ -2863,6 +2886,7 @@ module Aws::IoT
|
|
2863
2886
|
ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
2864
2887
|
ListJobsRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location: "querystring", location_name: "thingGroupName"))
|
2865
2888
|
ListJobsRequest.add_member(:thing_group_id, Shapes::ShapeRef.new(shape: ThingGroupId, location: "querystring", location_name: "thingGroupId"))
|
2889
|
+
ListJobsRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
2866
2890
|
ListJobsRequest.struct_class = Types::ListJobsRequest
|
2867
2891
|
|
2868
2892
|
ListJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: JobSummaryList, location_name: "jobs"))
|
@@ -3048,10 +3072,13 @@ module Aws::IoT
|
|
3048
3072
|
ListThingGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3049
3073
|
ListThingGroupsResponse.struct_class = Types::ListThingGroupsResponse
|
3050
3074
|
|
3075
|
+
ListThingPrincipalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3076
|
+
ListThingPrincipalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RegistryMaxResults, location: "querystring", location_name: "maxResults"))
|
3051
3077
|
ListThingPrincipalsRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
|
3052
3078
|
ListThingPrincipalsRequest.struct_class = Types::ListThingPrincipalsRequest
|
3053
3079
|
|
3054
3080
|
ListThingPrincipalsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: Principals, location_name: "principals"))
|
3081
|
+
ListThingPrincipalsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3055
3082
|
ListThingPrincipalsResponse.struct_class = Types::ListThingPrincipalsResponse
|
3056
3083
|
|
3057
3084
|
ListThingRegistrationTaskReportsRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskId"))
|
@@ -3835,6 +3862,23 @@ module Aws::IoT
|
|
3835
3862
|
TimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: InProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
|
3836
3863
|
TimeoutConfig.struct_class = Types::TimeoutConfig
|
3837
3864
|
|
3865
|
+
TimestreamAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
|
3866
|
+
TimestreamAction.add_member(:database_name, Shapes::ShapeRef.new(shape: TimestreamDatabaseName, required: true, location_name: "databaseName"))
|
3867
|
+
TimestreamAction.add_member(:table_name, Shapes::ShapeRef.new(shape: TimestreamTableName, required: true, location_name: "tableName"))
|
3868
|
+
TimestreamAction.add_member(:dimensions, Shapes::ShapeRef.new(shape: TimestreamDimensionList, required: true, location_name: "dimensions"))
|
3869
|
+
TimestreamAction.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimestreamTimestamp, location_name: "timestamp"))
|
3870
|
+
TimestreamAction.struct_class = Types::TimestreamAction
|
3871
|
+
|
3872
|
+
TimestreamDimension.add_member(:name, Shapes::ShapeRef.new(shape: TimestreamDimensionName, required: true, location_name: "name"))
|
3873
|
+
TimestreamDimension.add_member(:value, Shapes::ShapeRef.new(shape: TimestreamDimensionValue, required: true, location_name: "value"))
|
3874
|
+
TimestreamDimension.struct_class = Types::TimestreamDimension
|
3875
|
+
|
3876
|
+
TimestreamDimensionList.member = Shapes::ShapeRef.new(shape: TimestreamDimension)
|
3877
|
+
|
3878
|
+
TimestreamTimestamp.add_member(:value, Shapes::ShapeRef.new(shape: TimestreamTimestampValue, required: true, location_name: "value"))
|
3879
|
+
TimestreamTimestamp.add_member(:unit, Shapes::ShapeRef.new(shape: TimestreamTimestampUnit, required: true, location_name: "unit"))
|
3880
|
+
TimestreamTimestamp.struct_class = Types::TimestreamTimestamp
|
3881
|
+
|
3838
3882
|
TlsContext.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "serverName"))
|
3839
3883
|
TlsContext.struct_class = Types::TlsContext
|
3840
3884
|
|
@@ -4014,6 +4058,7 @@ module Aws::IoT
|
|
4014
4058
|
UpdateJobRequest.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
|
4015
4059
|
UpdateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
|
4016
4060
|
UpdateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
4061
|
+
UpdateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
|
4017
4062
|
UpdateJobRequest.struct_class = Types::UpdateJobRequest
|
4018
4063
|
|
4019
4064
|
UpdateMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
|
@@ -4934,6 +4979,7 @@ module Aws::IoT
|
|
4934
4979
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4935
4980
|
o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
|
4936
4981
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4982
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
|
4937
4983
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
4938
4984
|
end)
|
4939
4985
|
|
@@ -4948,6 +4994,7 @@ module Aws::IoT
|
|
4948
4994
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4949
4995
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4950
4996
|
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
|
4997
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
|
4951
4998
|
o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
|
4952
4999
|
end)
|
4953
5000
|
|
@@ -6408,6 +6455,7 @@ module Aws::IoT
|
|
6408
6455
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6409
6456
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6410
6457
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6458
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6411
6459
|
o[:pager] = Aws::Pager.new(
|
6412
6460
|
limit_key: "max_results",
|
6413
6461
|
tokens: {
|
@@ -6425,6 +6473,7 @@ module Aws::IoT
|
|
6425
6473
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6426
6474
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6427
6475
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6476
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6428
6477
|
o[:pager] = Aws::Pager.new(
|
6429
6478
|
limit_key: "max_results",
|
6430
6479
|
tokens: {
|
@@ -6445,6 +6494,12 @@ module Aws::IoT
|
|
6445
6494
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6446
6495
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6447
6496
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6497
|
+
o[:pager] = Aws::Pager.new(
|
6498
|
+
limit_key: "max_results",
|
6499
|
+
tokens: {
|
6500
|
+
"next_token" => "next_token"
|
6501
|
+
}
|
6502
|
+
)
|
6448
6503
|
end)
|
6449
6504
|
|
6450
6505
|
api.add_operation(:list_thing_registration_task_reports, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6548,6 +6603,7 @@ module Aws::IoT
|
|
6548
6603
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6549
6604
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6550
6605
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6606
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6551
6607
|
o[:pager] = Aws::Pager.new(
|
6552
6608
|
limit_key: "max_results",
|
6553
6609
|
tokens: {
|
@@ -6810,6 +6866,7 @@ module Aws::IoT
|
|
6810
6866
|
o.errors << Shapes::ShapeRef.new(shape: NotConfiguredException)
|
6811
6867
|
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6812
6868
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
6869
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
6813
6870
|
end)
|
6814
6871
|
|
6815
6872
|
api.add_operation(:set_v2_logging_options, Seahorse::Model::Operation.new.tap do |o|
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -161,6 +161,7 @@ module Aws::IoT
|
|
161
161
|
# role_arn: "AwsArn", # required
|
162
162
|
# delivery_stream_name: "DeliveryStreamName", # required
|
163
163
|
# separator: "FirehoseSeparator",
|
164
|
+
# batch_mode: false,
|
164
165
|
# },
|
165
166
|
# cloudwatch_metric: {
|
166
167
|
# role_arn: "AwsArn", # required
|
@@ -194,11 +195,13 @@ module Aws::IoT
|
|
194
195
|
# iot_analytics: {
|
195
196
|
# channel_arn: "AwsArn",
|
196
197
|
# channel_name: "ChannelName",
|
198
|
+
# batch_mode: false,
|
197
199
|
# role_arn: "AwsArn",
|
198
200
|
# },
|
199
201
|
# iot_events: {
|
200
202
|
# input_name: "InputName", # required
|
201
203
|
# message_id: "MessageId",
|
204
|
+
# batch_mode: false,
|
202
205
|
# role_arn: "AwsArn", # required
|
203
206
|
# },
|
204
207
|
# iot_site_wise: {
|
@@ -232,6 +235,21 @@ module Aws::IoT
|
|
232
235
|
# state_machine_name: "StateMachineName", # required
|
233
236
|
# role_arn: "AwsArn", # required
|
234
237
|
# },
|
238
|
+
# timestream: {
|
239
|
+
# role_arn: "AwsArn", # required
|
240
|
+
# database_name: "TimestreamDatabaseName", # required
|
241
|
+
# table_name: "TimestreamTableName", # required
|
242
|
+
# dimensions: [ # required
|
243
|
+
# {
|
244
|
+
# name: "TimestreamDimensionName", # required
|
245
|
+
# value: "TimestreamDimensionValue", # required
|
246
|
+
# },
|
247
|
+
# ],
|
248
|
+
# timestamp: {
|
249
|
+
# value: "TimestreamTimestampValue", # required
|
250
|
+
# unit: "TimestreamTimestampUnit", # required
|
251
|
+
# },
|
252
|
+
# },
|
235
253
|
# http: {
|
236
254
|
# url: "Url", # required
|
237
255
|
# confirmation_url: "Url",
|
@@ -326,6 +344,16 @@ module Aws::IoT
|
|
326
344
|
# Starts execution of a Step Functions state machine.
|
327
345
|
# @return [Types::StepFunctionsAction]
|
328
346
|
#
|
347
|
+
# @!attribute [rw] timestream
|
348
|
+
# The Timestream rule action writes attributes (measures) from an MQTT
|
349
|
+
# message into an Amazon Timestream table. For more information, see
|
350
|
+
# the [Timestream][1] topic rule action documentation.
|
351
|
+
#
|
352
|
+
#
|
353
|
+
#
|
354
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html
|
355
|
+
# @return [Types::TimestreamAction]
|
356
|
+
#
|
329
357
|
# @!attribute [rw] http
|
330
358
|
# Send data to an HTTPS endpoint.
|
331
359
|
# @return [Types::HttpAction]
|
@@ -349,6 +377,7 @@ module Aws::IoT
|
|
349
377
|
:iot_events,
|
350
378
|
:iot_site_wise,
|
351
379
|
:step_functions,
|
380
|
+
:timestream,
|
352
381
|
:http)
|
353
382
|
SENSITIVE = []
|
354
383
|
include Aws::Structure
|
@@ -666,6 +695,7 @@ module Aws::IoT
|
|
666
695
|
# targets: ["TargetArn"], # required
|
667
696
|
# job_id: "JobId", # required
|
668
697
|
# comment: "Comment",
|
698
|
+
# namespace_id: "NamespaceId",
|
669
699
|
# }
|
670
700
|
#
|
671
701
|
# @!attribute [rw] targets
|
@@ -681,10 +711,25 @@ module Aws::IoT
|
|
681
711
|
# with the targets.
|
682
712
|
# @return [String]
|
683
713
|
#
|
714
|
+
# @!attribute [rw] namespace_id
|
715
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
716
|
+
#
|
717
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
718
|
+
# notifications to MQTT topics that contain the value in the following
|
719
|
+
# format.
|
720
|
+
#
|
721
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
722
|
+
#
|
723
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
724
|
+
#
|
725
|
+
# </note>
|
726
|
+
# @return [String]
|
727
|
+
#
|
684
728
|
class AssociateTargetsWithJobRequest < Struct.new(
|
685
729
|
:targets,
|
686
730
|
:job_id,
|
687
|
-
:comment
|
731
|
+
:comment,
|
732
|
+
:namespace_id)
|
688
733
|
SENSITIVE = []
|
689
734
|
include Aws::Structure
|
690
735
|
end
|
@@ -3049,6 +3094,7 @@ module Aws::IoT
|
|
3049
3094
|
# value: "TagValue",
|
3050
3095
|
# },
|
3051
3096
|
# ],
|
3097
|
+
# namespace_id: "NamespaceId",
|
3052
3098
|
# }
|
3053
3099
|
#
|
3054
3100
|
# @!attribute [rw] job_id
|
@@ -3118,6 +3164,20 @@ module Aws::IoT
|
|
3118
3164
|
# Metadata which can be used to manage the job.
|
3119
3165
|
# @return [Array<Types::Tag>]
|
3120
3166
|
#
|
3167
|
+
# @!attribute [rw] namespace_id
|
3168
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
3169
|
+
#
|
3170
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
3171
|
+
# notifications to MQTT topics that contain the value in the following
|
3172
|
+
# format.
|
3173
|
+
#
|
3174
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
3175
|
+
#
|
3176
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
3177
|
+
#
|
3178
|
+
# </note>
|
3179
|
+
# @return [String]
|
3180
|
+
#
|
3121
3181
|
class CreateJobRequest < Struct.new(
|
3122
3182
|
:job_id,
|
3123
3183
|
:targets,
|
@@ -3129,7 +3189,8 @@ module Aws::IoT
|
|
3129
3189
|
:job_executions_rollout_config,
|
3130
3190
|
:abort_config,
|
3131
3191
|
:timeout_config,
|
3132
|
-
:tags
|
3192
|
+
:tags,
|
3193
|
+
:namespace_id)
|
3133
3194
|
SENSITIVE = []
|
3134
3195
|
include Aws::Structure
|
3135
3196
|
end
|
@@ -4035,12 +4096,12 @@ module Aws::IoT
|
|
4035
4096
|
# @return [Hash<String,Types::AlertTarget>]
|
4036
4097
|
#
|
4037
4098
|
# @!attribute [rw] additional_metrics_to_retain
|
4099
|
+
# *Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2
|
4100
|
+
# instead.*
|
4101
|
+
#
|
4038
4102
|
# A list of metrics whose data is retained (stored). By default, data
|
4039
4103
|
# is retained for any metric used in the profile's `behaviors`, but
|
4040
4104
|
# it is also retained for any metric specified here.
|
4041
|
-
#
|
4042
|
-
# **Note:** This API field is deprecated. Please use
|
4043
|
-
# CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
|
4044
4105
|
# @return [Array<String>]
|
4045
4106
|
#
|
4046
4107
|
# @!attribute [rw] additional_metrics_to_retain_v2
|
@@ -4457,6 +4518,7 @@ module Aws::IoT
|
|
4457
4518
|
# role_arn: "AwsArn", # required
|
4458
4519
|
# delivery_stream_name: "DeliveryStreamName", # required
|
4459
4520
|
# separator: "FirehoseSeparator",
|
4521
|
+
# batch_mode: false,
|
4460
4522
|
# },
|
4461
4523
|
# cloudwatch_metric: {
|
4462
4524
|
# role_arn: "AwsArn", # required
|
@@ -4490,11 +4552,13 @@ module Aws::IoT
|
|
4490
4552
|
# iot_analytics: {
|
4491
4553
|
# channel_arn: "AwsArn",
|
4492
4554
|
# channel_name: "ChannelName",
|
4555
|
+
# batch_mode: false,
|
4493
4556
|
# role_arn: "AwsArn",
|
4494
4557
|
# },
|
4495
4558
|
# iot_events: {
|
4496
4559
|
# input_name: "InputName", # required
|
4497
4560
|
# message_id: "MessageId",
|
4561
|
+
# batch_mode: false,
|
4498
4562
|
# role_arn: "AwsArn", # required
|
4499
4563
|
# },
|
4500
4564
|
# iot_site_wise: {
|
@@ -4528,6 +4592,21 @@ module Aws::IoT
|
|
4528
4592
|
# state_machine_name: "StateMachineName", # required
|
4529
4593
|
# role_arn: "AwsArn", # required
|
4530
4594
|
# },
|
4595
|
+
# timestream: {
|
4596
|
+
# role_arn: "AwsArn", # required
|
4597
|
+
# database_name: "TimestreamDatabaseName", # required
|
4598
|
+
# table_name: "TimestreamTableName", # required
|
4599
|
+
# dimensions: [ # required
|
4600
|
+
# {
|
4601
|
+
# name: "TimestreamDimensionName", # required
|
4602
|
+
# value: "TimestreamDimensionValue", # required
|
4603
|
+
# },
|
4604
|
+
# ],
|
4605
|
+
# timestamp: {
|
4606
|
+
# value: "TimestreamTimestampValue", # required
|
4607
|
+
# unit: "TimestreamTimestampUnit", # required
|
4608
|
+
# },
|
4609
|
+
# },
|
4531
4610
|
# http: {
|
4532
4611
|
# url: "Url", # required
|
4533
4612
|
# confirmation_url: "Url",
|
@@ -4601,6 +4680,7 @@ module Aws::IoT
|
|
4601
4680
|
# role_arn: "AwsArn", # required
|
4602
4681
|
# delivery_stream_name: "DeliveryStreamName", # required
|
4603
4682
|
# separator: "FirehoseSeparator",
|
4683
|
+
# batch_mode: false,
|
4604
4684
|
# },
|
4605
4685
|
# cloudwatch_metric: {
|
4606
4686
|
# role_arn: "AwsArn", # required
|
@@ -4634,11 +4714,13 @@ module Aws::IoT
|
|
4634
4714
|
# iot_analytics: {
|
4635
4715
|
# channel_arn: "AwsArn",
|
4636
4716
|
# channel_name: "ChannelName",
|
4717
|
+
# batch_mode: false,
|
4637
4718
|
# role_arn: "AwsArn",
|
4638
4719
|
# },
|
4639
4720
|
# iot_events: {
|
4640
4721
|
# input_name: "InputName", # required
|
4641
4722
|
# message_id: "MessageId",
|
4723
|
+
# batch_mode: false,
|
4642
4724
|
# role_arn: "AwsArn", # required
|
4643
4725
|
# },
|
4644
4726
|
# iot_site_wise: {
|
@@ -4672,6 +4754,21 @@ module Aws::IoT
|
|
4672
4754
|
# state_machine_name: "StateMachineName", # required
|
4673
4755
|
# role_arn: "AwsArn", # required
|
4674
4756
|
# },
|
4757
|
+
# timestream: {
|
4758
|
+
# role_arn: "AwsArn", # required
|
4759
|
+
# database_name: "TimestreamDatabaseName", # required
|
4760
|
+
# table_name: "TimestreamTableName", # required
|
4761
|
+
# dimensions: [ # required
|
4762
|
+
# {
|
4763
|
+
# name: "TimestreamDimensionName", # required
|
4764
|
+
# value: "TimestreamDimensionValue", # required
|
4765
|
+
# },
|
4766
|
+
# ],
|
4767
|
+
# timestamp: {
|
4768
|
+
# value: "TimestreamTimestampValue", # required
|
4769
|
+
# unit: "TimestreamTimestampUnit", # required
|
4770
|
+
# },
|
4771
|
+
# },
|
4675
4772
|
# http: {
|
4676
4773
|
# url: "Url", # required
|
4677
4774
|
# confirmation_url: "Url",
|
@@ -5009,6 +5106,7 @@ module Aws::IoT
|
|
5009
5106
|
# thing_name: "ThingName", # required
|
5010
5107
|
# execution_number: 1, # required
|
5011
5108
|
# force: false,
|
5109
|
+
# namespace_id: "NamespaceId",
|
5012
5110
|
# }
|
5013
5111
|
#
|
5014
5112
|
# @!attribute [rw] job_id
|
@@ -5043,11 +5141,26 @@ module Aws::IoT
|
|
5043
5141
|
# </note>
|
5044
5142
|
# @return [Boolean]
|
5045
5143
|
#
|
5144
|
+
# @!attribute [rw] namespace_id
|
5145
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
5146
|
+
#
|
5147
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
5148
|
+
# notifications to MQTT topics that contain the value in the following
|
5149
|
+
# format.
|
5150
|
+
#
|
5151
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
5152
|
+
#
|
5153
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
5154
|
+
#
|
5155
|
+
# </note>
|
5156
|
+
# @return [String]
|
5157
|
+
#
|
5046
5158
|
class DeleteJobExecutionRequest < Struct.new(
|
5047
5159
|
:job_id,
|
5048
5160
|
:thing_name,
|
5049
5161
|
:execution_number,
|
5050
|
-
:force
|
5162
|
+
:force,
|
5163
|
+
:namespace_id)
|
5051
5164
|
SENSITIVE = []
|
5052
5165
|
include Aws::Structure
|
5053
5166
|
end
|
@@ -5058,6 +5171,7 @@ module Aws::IoT
|
|
5058
5171
|
# {
|
5059
5172
|
# job_id: "JobId", # required
|
5060
5173
|
# force: false,
|
5174
|
+
# namespace_id: "NamespaceId",
|
5061
5175
|
# }
|
5062
5176
|
#
|
5063
5177
|
# @!attribute [rw] job_id
|
@@ -5084,9 +5198,24 @@ module Aws::IoT
|
|
5084
5198
|
# </note>
|
5085
5199
|
# @return [Boolean]
|
5086
5200
|
#
|
5201
|
+
# @!attribute [rw] namespace_id
|
5202
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
5203
|
+
#
|
5204
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
5205
|
+
# notifications to MQTT topics that contain the value in the following
|
5206
|
+
# format.
|
5207
|
+
#
|
5208
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
5209
|
+
#
|
5210
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
5211
|
+
#
|
5212
|
+
# </note>
|
5213
|
+
# @return [String]
|
5214
|
+
#
|
5087
5215
|
class DeleteJobRequest < Struct.new(
|
5088
5216
|
:job_id,
|
5089
|
-
:force
|
5217
|
+
:force,
|
5218
|
+
:namespace_id)
|
5090
5219
|
SENSITIVE = []
|
5091
5220
|
include Aws::Structure
|
5092
5221
|
end
|
@@ -6031,6 +6160,11 @@ module Aws::IoT
|
|
6031
6160
|
# The type of the domain.
|
6032
6161
|
# @return [String]
|
6033
6162
|
#
|
6163
|
+
# @!attribute [rw] last_status_change_date
|
6164
|
+
# The date and time the domain configuration's status was last
|
6165
|
+
# changed.
|
6166
|
+
# @return [Time]
|
6167
|
+
#
|
6034
6168
|
class DescribeDomainConfigurationResponse < Struct.new(
|
6035
6169
|
:domain_configuration_name,
|
6036
6170
|
:domain_configuration_arn,
|
@@ -6039,7 +6173,8 @@ module Aws::IoT
|
|
6039
6173
|
:authorizer_config,
|
6040
6174
|
:domain_configuration_status,
|
6041
6175
|
:service_type,
|
6042
|
-
:domain_type
|
6176
|
+
:domain_type,
|
6177
|
+
:last_status_change_date)
|
6043
6178
|
SENSITIVE = []
|
6044
6179
|
include Aws::Structure
|
6045
6180
|
end
|
@@ -6564,12 +6699,13 @@ module Aws::IoT
|
|
6564
6699
|
# @return [Hash<String,Types::AlertTarget>]
|
6565
6700
|
#
|
6566
6701
|
# @!attribute [rw] additional_metrics_to_retain
|
6702
|
+
# *Please use
|
6703
|
+
# DescribeSecurityProfileResponse$additionalMetricsToRetainV2
|
6704
|
+
# instead.*
|
6705
|
+
#
|
6567
6706
|
# A list of metrics whose data is retained (stored). By default, data
|
6568
6707
|
# is retained for any metric used in the profile's `behaviors`, but
|
6569
6708
|
# it is also retained for any metric specified here.
|
6570
|
-
#
|
6571
|
-
# **Note:** This API field is deprecated. Please use
|
6572
|
-
# DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
|
6573
6709
|
# @return [Array<String>]
|
6574
6710
|
#
|
6575
6711
|
# @!attribute [rw] additional_metrics_to_retain_v2
|
@@ -7406,13 +7542,13 @@ module Aws::IoT
|
|
7406
7542
|
#
|
7407
7543
|
# @!attribute [rw] increment_factor
|
7408
7544
|
# The exponential factor to increase the rate of rollout for a job.
|
7545
|
+
#
|
7546
|
+
# AWS IoT supports up to one digit after the decimal (for example,
|
7547
|
+
# 1.5, but not 1.55).
|
7409
7548
|
# @return [Float]
|
7410
7549
|
#
|
7411
7550
|
# @!attribute [rw] rate_increase_criteria
|
7412
7551
|
# The criteria to initiate the increase in rate of rollout for a job.
|
7413
|
-
#
|
7414
|
-
# AWS IoT supports up to one digit after the decimal (for example,
|
7415
|
-
# 1.5, but not 1.55).
|
7416
7552
|
# @return [Types::RateIncreaseCriteria]
|
7417
7553
|
#
|
7418
7554
|
class ExponentialRolloutRate < Struct.new(
|
@@ -7490,6 +7626,7 @@ module Aws::IoT
|
|
7490
7626
|
# role_arn: "AwsArn", # required
|
7491
7627
|
# delivery_stream_name: "DeliveryStreamName", # required
|
7492
7628
|
# separator: "FirehoseSeparator",
|
7629
|
+
# batch_mode: false,
|
7493
7630
|
# }
|
7494
7631
|
#
|
7495
7632
|
# @!attribute [rw] role_arn
|
@@ -7507,10 +7644,25 @@ module Aws::IoT
|
|
7507
7644
|
# (tab), '\\r\\n' (Windows newline), ',' (comma).
|
7508
7645
|
# @return [String]
|
7509
7646
|
#
|
7647
|
+
# @!attribute [rw] batch_mode
|
7648
|
+
# Whether to deliver the Kinesis Data Firehose stream as a batch by
|
7649
|
+
# using [ `PutRecordBatch` ][1]. The default value is `false`.
|
7650
|
+
#
|
7651
|
+
# When `batchMode` is `true` and the rule's SQL statement evaluates
|
7652
|
+
# to an Array, each Array element forms one record in the [
|
7653
|
+
# `PutRecordBatch` ][1] request. The resulting array can't have more
|
7654
|
+
# than 500 records.
|
7655
|
+
#
|
7656
|
+
#
|
7657
|
+
#
|
7658
|
+
# [1]: https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html
|
7659
|
+
# @return [Boolean]
|
7660
|
+
#
|
7510
7661
|
class FirehoseAction < Struct.new(
|
7511
7662
|
:role_arn,
|
7512
7663
|
:delivery_stream_name,
|
7513
|
-
:separator
|
7664
|
+
:separator,
|
7665
|
+
:batch_mode)
|
7514
7666
|
SENSITIVE = []
|
7515
7667
|
include Aws::Structure
|
7516
7668
|
end
|
@@ -8355,6 +8507,7 @@ module Aws::IoT
|
|
8355
8507
|
# {
|
8356
8508
|
# channel_arn: "AwsArn",
|
8357
8509
|
# channel_name: "ChannelName",
|
8510
|
+
# batch_mode: false,
|
8358
8511
|
# role_arn: "AwsArn",
|
8359
8512
|
# }
|
8360
8513
|
#
|
@@ -8368,6 +8521,20 @@ module Aws::IoT
|
|
8368
8521
|
# sent.
|
8369
8522
|
# @return [String]
|
8370
8523
|
#
|
8524
|
+
# @!attribute [rw] batch_mode
|
8525
|
+
# Whether to process the action as a batch. The default value is
|
8526
|
+
# `false`.
|
8527
|
+
#
|
8528
|
+
# When `batchMode` is `true` and the rule SQL statement evaluates to
|
8529
|
+
# an Array, each Array element is delivered as a separate message when
|
8530
|
+
# passed by [ `BatchPutMessage` ][1] to the AWS IoT Analytics channel.
|
8531
|
+
# The resulting array can't have more than 100 messages.
|
8532
|
+
#
|
8533
|
+
#
|
8534
|
+
#
|
8535
|
+
# [1]: https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html
|
8536
|
+
# @return [Boolean]
|
8537
|
+
#
|
8371
8538
|
# @!attribute [rw] role_arn
|
8372
8539
|
# The ARN of the role which has a policy that grants IoT Analytics
|
8373
8540
|
# permission to send message data via IoT Analytics
|
@@ -8377,6 +8544,7 @@ module Aws::IoT
|
|
8377
8544
|
class IotAnalyticsAction < Struct.new(
|
8378
8545
|
:channel_arn,
|
8379
8546
|
:channel_name,
|
8547
|
+
:batch_mode,
|
8380
8548
|
:role_arn)
|
8381
8549
|
SENSITIVE = []
|
8382
8550
|
include Aws::Structure
|
@@ -8390,6 +8558,7 @@ module Aws::IoT
|
|
8390
8558
|
# {
|
8391
8559
|
# input_name: "InputName", # required
|
8392
8560
|
# message_id: "MessageId",
|
8561
|
+
# batch_mode: false,
|
8393
8562
|
# role_arn: "AwsArn", # required
|
8394
8563
|
# }
|
8395
8564
|
#
|
@@ -8398,10 +8567,32 @@ module Aws::IoT
|
|
8398
8567
|
# @return [String]
|
8399
8568
|
#
|
8400
8569
|
# @!attribute [rw] message_id
|
8401
|
-
#
|
8402
|
-
#
|
8570
|
+
# The ID of the message. The default `messageId` is a new UUID value.
|
8571
|
+
#
|
8572
|
+
# When `batchMode` is `true`, you can't specify a `messageId`--a new
|
8573
|
+
# UUID value will be assigned.
|
8574
|
+
#
|
8575
|
+
# Assign a value to this property to ensure that only one input
|
8576
|
+
# (message) with a given `messageId` will be processed by an AWS IoT
|
8577
|
+
# Events detector.
|
8403
8578
|
# @return [String]
|
8404
8579
|
#
|
8580
|
+
# @!attribute [rw] batch_mode
|
8581
|
+
# Whether to process the event actions as a batch. The default value
|
8582
|
+
# is `false`.
|
8583
|
+
#
|
8584
|
+
# When `batchMode` is `true`, you can't specify a `messageId`.
|
8585
|
+
#
|
8586
|
+
# When `batchMode` is `true` and the rule SQL statement evaluates to
|
8587
|
+
# an Array, each Array element is treated as a separate message when
|
8588
|
+
# it's sent to AWS IoT Events by calling [ `BatchPutMessage` ][1].
|
8589
|
+
# The resulting array can't have more than 10 messages.
|
8590
|
+
#
|
8591
|
+
#
|
8592
|
+
#
|
8593
|
+
# [1]: https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchPutMessage.html
|
8594
|
+
# @return [Boolean]
|
8595
|
+
#
|
8405
8596
|
# @!attribute [rw] role_arn
|
8406
8597
|
# The ARN of the role that grants AWS IoT permission to send an input
|
8407
8598
|
# to an AWS IoT Events detector.
|
@@ -8411,6 +8602,7 @@ module Aws::IoT
|
|
8411
8602
|
class IotEventsAction < Struct.new(
|
8412
8603
|
:input_name,
|
8413
8604
|
:message_id,
|
8605
|
+
:batch_mode,
|
8414
8606
|
:role_arn)
|
8415
8607
|
SENSITIVE = []
|
8416
8608
|
include Aws::Structure
|
@@ -8551,6 +8743,20 @@ module Aws::IoT
|
|
8551
8743
|
# set to `TIMED_OUT`.
|
8552
8744
|
# @return [Types::TimeoutConfig]
|
8553
8745
|
#
|
8746
|
+
# @!attribute [rw] namespace_id
|
8747
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
8748
|
+
#
|
8749
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
8750
|
+
# notifications to MQTT topics that contain the value in the following
|
8751
|
+
# format.
|
8752
|
+
#
|
8753
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
8754
|
+
#
|
8755
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
8756
|
+
#
|
8757
|
+
# </note>
|
8758
|
+
# @return [String]
|
8759
|
+
#
|
8554
8760
|
class Job < Struct.new(
|
8555
8761
|
:job_arn,
|
8556
8762
|
:job_id,
|
@@ -8568,7 +8774,8 @@ module Aws::IoT
|
|
8568
8774
|
:last_updated_at,
|
8569
8775
|
:completed_at,
|
8570
8776
|
:job_process_details,
|
8571
|
-
:timeout_config
|
8777
|
+
:timeout_config,
|
8778
|
+
:namespace_id)
|
8572
8779
|
SENSITIVE = []
|
8573
8780
|
include Aws::Structure
|
8574
8781
|
end
|
@@ -9391,7 +9598,7 @@ module Aws::IoT
|
|
9391
9598
|
#
|
9392
9599
|
# @!attribute [rw] start_time
|
9393
9600
|
# The beginning of the time period. Audit information is retained for
|
9394
|
-
# a limited time (
|
9601
|
+
# a limited time (90 days). Requesting a start time prior to what is
|
9395
9602
|
# retained results in an "InvalidRequestException".
|
9396
9603
|
# @return [Time]
|
9397
9604
|
#
|
@@ -9506,7 +9713,9 @@ module Aws::IoT
|
|
9506
9713
|
# }
|
9507
9714
|
#
|
9508
9715
|
# @!attribute [rw] next_token
|
9509
|
-
#
|
9716
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
9717
|
+
# previous response; otherwise **null** to receive the first set of
|
9718
|
+
# results.
|
9510
9719
|
# @return [String]
|
9511
9720
|
#
|
9512
9721
|
# @!attribute [rw] max_results
|
@@ -9531,8 +9740,8 @@ module Aws::IoT
|
|
9531
9740
|
# @return [Array<Types::GroupNameAndArn>]
|
9532
9741
|
#
|
9533
9742
|
# @!attribute [rw] next_token
|
9534
|
-
# The token
|
9535
|
-
# are no additional results.
|
9743
|
+
# The token to use to get the next set of results, or **null** if
|
9744
|
+
# there are no additional results.
|
9536
9745
|
# @return [String]
|
9537
9746
|
#
|
9538
9747
|
class ListBillingGroupsResponse < Struct.new(
|
@@ -9880,6 +10089,7 @@ module Aws::IoT
|
|
9880
10089
|
# {
|
9881
10090
|
# thing_name: "ThingName", # required
|
9882
10091
|
# status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
|
10092
|
+
# namespace_id: "NamespaceId",
|
9883
10093
|
# max_results: 1,
|
9884
10094
|
# next_token: "NextToken",
|
9885
10095
|
# }
|
@@ -9893,6 +10103,20 @@ module Aws::IoT
|
|
9893
10103
|
# specified status.
|
9894
10104
|
# @return [String]
|
9895
10105
|
#
|
10106
|
+
# @!attribute [rw] namespace_id
|
10107
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
10108
|
+
#
|
10109
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
10110
|
+
# notifications to MQTT topics that contain the value in the following
|
10111
|
+
# format.
|
10112
|
+
#
|
10113
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
10114
|
+
#
|
10115
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
10116
|
+
#
|
10117
|
+
# </note>
|
10118
|
+
# @return [String]
|
10119
|
+
#
|
9896
10120
|
# @!attribute [rw] max_results
|
9897
10121
|
# The maximum number of results to be returned per request.
|
9898
10122
|
# @return [Integer]
|
@@ -9904,6 +10128,7 @@ module Aws::IoT
|
|
9904
10128
|
class ListJobExecutionsForThingRequest < Struct.new(
|
9905
10129
|
:thing_name,
|
9906
10130
|
:status,
|
10131
|
+
:namespace_id,
|
9907
10132
|
:max_results,
|
9908
10133
|
:next_token)
|
9909
10134
|
SENSITIVE = []
|
@@ -9936,6 +10161,7 @@ module Aws::IoT
|
|
9936
10161
|
# next_token: "NextToken",
|
9937
10162
|
# thing_group_name: "ThingGroupName",
|
9938
10163
|
# thing_group_id: "ThingGroupId",
|
10164
|
+
# namespace_id: "NamespaceId",
|
9939
10165
|
# }
|
9940
10166
|
#
|
9941
10167
|
# @!attribute [rw] status
|
@@ -9970,13 +10196,28 @@ module Aws::IoT
|
|
9970
10196
|
# group.
|
9971
10197
|
# @return [String]
|
9972
10198
|
#
|
10199
|
+
# @!attribute [rw] namespace_id
|
10200
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
10201
|
+
#
|
10202
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
10203
|
+
# notifications to MQTT topics that contain the value in the following
|
10204
|
+
# format.
|
10205
|
+
#
|
10206
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
10207
|
+
#
|
10208
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
10209
|
+
#
|
10210
|
+
# </note>
|
10211
|
+
# @return [String]
|
10212
|
+
#
|
9973
10213
|
class ListJobsRequest < Struct.new(
|
9974
10214
|
:status,
|
9975
10215
|
:target_selection,
|
9976
10216
|
:max_results,
|
9977
10217
|
:next_token,
|
9978
10218
|
:thing_group_name,
|
9979
|
-
:thing_group_id
|
10219
|
+
:thing_group_id,
|
10220
|
+
:namespace_id)
|
9980
10221
|
SENSITIVE = []
|
9981
10222
|
include Aws::Structure
|
9982
10223
|
end
|
@@ -10345,7 +10586,9 @@ module Aws::IoT
|
|
10345
10586
|
# }
|
10346
10587
|
#
|
10347
10588
|
# @!attribute [rw] next_token
|
10348
|
-
#
|
10589
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
10590
|
+
# previous response; otherwise **null** to receive the first set of
|
10591
|
+
# results.
|
10349
10592
|
# @return [String]
|
10350
10593
|
#
|
10351
10594
|
# @!attribute [rw] max_results
|
@@ -10371,8 +10614,8 @@ module Aws::IoT
|
|
10371
10614
|
# @return [Array<String>]
|
10372
10615
|
#
|
10373
10616
|
# @!attribute [rw] next_token
|
10374
|
-
# The token
|
10375
|
-
# are no additional results.
|
10617
|
+
# The token to use to get the next set of results, or **null** if
|
10618
|
+
# there are no additional results.
|
10376
10619
|
# @return [String]
|
10377
10620
|
#
|
10378
10621
|
class ListPrincipalThingsResponse < Struct.new(
|
@@ -10703,7 +10946,9 @@ module Aws::IoT
|
|
10703
10946
|
# @return [String]
|
10704
10947
|
#
|
10705
10948
|
# @!attribute [rw] next_token
|
10706
|
-
#
|
10949
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
10950
|
+
# previous response; otherwise **null** to receive the first set of
|
10951
|
+
# results.
|
10707
10952
|
# @return [String]
|
10708
10953
|
#
|
10709
10954
|
class ListTagsForResourceRequest < Struct.new(
|
@@ -10718,8 +10963,8 @@ module Aws::IoT
|
|
10718
10963
|
# @return [Array<Types::Tag>]
|
10719
10964
|
#
|
10720
10965
|
# @!attribute [rw] next_token
|
10721
|
-
# The token
|
10722
|
-
# are no additional results.
|
10966
|
+
# The token to use to get the next set of results, or **null** if
|
10967
|
+
# there are no additional results.
|
10723
10968
|
# @return [String]
|
10724
10969
|
#
|
10725
10970
|
class ListTagsForResourceResponse < Struct.new(
|
@@ -10832,7 +11077,9 @@ module Aws::IoT
|
|
10832
11077
|
# @return [String]
|
10833
11078
|
#
|
10834
11079
|
# @!attribute [rw] next_token
|
10835
|
-
#
|
11080
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11081
|
+
# previous response; otherwise **null** to receive the first set of
|
11082
|
+
# results.
|
10836
11083
|
# @return [String]
|
10837
11084
|
#
|
10838
11085
|
# @!attribute [rw] max_results
|
@@ -10852,8 +11099,8 @@ module Aws::IoT
|
|
10852
11099
|
# @return [Array<Types::GroupNameAndArn>]
|
10853
11100
|
#
|
10854
11101
|
# @!attribute [rw] next_token
|
10855
|
-
# The token
|
10856
|
-
# are no additional results.
|
11102
|
+
# The token to use to get the next set of results, or **null** if
|
11103
|
+
# there are no additional results.
|
10857
11104
|
# @return [String]
|
10858
11105
|
#
|
10859
11106
|
class ListThingGroupsForThingResponse < Struct.new(
|
@@ -10875,7 +11122,9 @@ module Aws::IoT
|
|
10875
11122
|
# }
|
10876
11123
|
#
|
10877
11124
|
# @!attribute [rw] next_token
|
10878
|
-
#
|
11125
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11126
|
+
# previous response; otherwise **null** to receive the first set of
|
11127
|
+
# results.
|
10879
11128
|
# @return [String]
|
10880
11129
|
#
|
10881
11130
|
# @!attribute [rw] max_results
|
@@ -10911,8 +11160,8 @@ module Aws::IoT
|
|
10911
11160
|
# @return [Array<Types::GroupNameAndArn>]
|
10912
11161
|
#
|
10913
11162
|
# @!attribute [rw] next_token
|
10914
|
-
# The token
|
10915
|
-
# if operation has returned all results.
|
11163
|
+
# The token to use to get the next set of results. Will not be
|
11164
|
+
# returned if operation has returned all results.
|
10916
11165
|
# @return [String]
|
10917
11166
|
#
|
10918
11167
|
class ListThingGroupsResponse < Struct.new(
|
@@ -10928,14 +11177,28 @@ module Aws::IoT
|
|
10928
11177
|
# data as a hash:
|
10929
11178
|
#
|
10930
11179
|
# {
|
11180
|
+
# next_token: "NextToken",
|
11181
|
+
# max_results: 1,
|
10931
11182
|
# thing_name: "ThingName", # required
|
10932
11183
|
# }
|
10933
11184
|
#
|
11185
|
+
# @!attribute [rw] next_token
|
11186
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11187
|
+
# previous response; otherwise **null** to receive the first set of
|
11188
|
+
# results.
|
11189
|
+
# @return [String]
|
11190
|
+
#
|
11191
|
+
# @!attribute [rw] max_results
|
11192
|
+
# The maximum number of results to return in this operation.
|
11193
|
+
# @return [Integer]
|
11194
|
+
#
|
10934
11195
|
# @!attribute [rw] thing_name
|
10935
11196
|
# The name of the thing.
|
10936
11197
|
# @return [String]
|
10937
11198
|
#
|
10938
11199
|
class ListThingPrincipalsRequest < Struct.new(
|
11200
|
+
:next_token,
|
11201
|
+
:max_results,
|
10939
11202
|
:thing_name)
|
10940
11203
|
SENSITIVE = []
|
10941
11204
|
include Aws::Structure
|
@@ -10947,8 +11210,14 @@ module Aws::IoT
|
|
10947
11210
|
# The principals associated with the thing.
|
10948
11211
|
# @return [Array<String>]
|
10949
11212
|
#
|
11213
|
+
# @!attribute [rw] next_token
|
11214
|
+
# The token to use to get the next set of results, or **null** if
|
11215
|
+
# there are no additional results.
|
11216
|
+
# @return [String]
|
11217
|
+
#
|
10950
11218
|
class ListThingPrincipalsResponse < Struct.new(
|
10951
|
-
:principals
|
11219
|
+
:principals,
|
11220
|
+
:next_token)
|
10952
11221
|
SENSITIVE = []
|
10953
11222
|
include Aws::Structure
|
10954
11223
|
end
|
@@ -10972,7 +11241,9 @@ module Aws::IoT
|
|
10972
11241
|
# @return [String]
|
10973
11242
|
#
|
10974
11243
|
# @!attribute [rw] next_token
|
10975
|
-
#
|
11244
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11245
|
+
# previous response; otherwise **null** to receive the first set of
|
11246
|
+
# results.
|
10976
11247
|
# @return [String]
|
10977
11248
|
#
|
10978
11249
|
# @!attribute [rw] max_results
|
@@ -10997,8 +11268,8 @@ module Aws::IoT
|
|
10997
11268
|
# @return [String]
|
10998
11269
|
#
|
10999
11270
|
# @!attribute [rw] next_token
|
11000
|
-
# The token
|
11001
|
-
# are no additional results.
|
11271
|
+
# The token to use to get the next set of results, or **null** if
|
11272
|
+
# there are no additional results.
|
11002
11273
|
# @return [String]
|
11003
11274
|
#
|
11004
11275
|
class ListThingRegistrationTaskReportsResponse < Struct.new(
|
@@ -11019,7 +11290,9 @@ module Aws::IoT
|
|
11019
11290
|
# }
|
11020
11291
|
#
|
11021
11292
|
# @!attribute [rw] next_token
|
11022
|
-
#
|
11293
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11294
|
+
# previous response; otherwise **null** to receive the first set of
|
11295
|
+
# results.
|
11023
11296
|
# @return [String]
|
11024
11297
|
#
|
11025
11298
|
# @!attribute [rw] max_results
|
@@ -11043,8 +11316,8 @@ module Aws::IoT
|
|
11043
11316
|
# @return [Array<String>]
|
11044
11317
|
#
|
11045
11318
|
# @!attribute [rw] next_token
|
11046
|
-
# The token
|
11047
|
-
# are no additional results.
|
11319
|
+
# The token to use to get the next set of results, or **null** if
|
11320
|
+
# there are no additional results.
|
11048
11321
|
# @return [String]
|
11049
11322
|
#
|
11050
11323
|
class ListThingRegistrationTasksResponse < Struct.new(
|
@@ -11066,7 +11339,9 @@ module Aws::IoT
|
|
11066
11339
|
# }
|
11067
11340
|
#
|
11068
11341
|
# @!attribute [rw] next_token
|
11069
|
-
#
|
11342
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11343
|
+
# previous response; otherwise **null** to receive the first set of
|
11344
|
+
# results.
|
11070
11345
|
# @return [String]
|
11071
11346
|
#
|
11072
11347
|
# @!attribute [rw] max_results
|
@@ -11117,7 +11392,9 @@ module Aws::IoT
|
|
11117
11392
|
# @return [String]
|
11118
11393
|
#
|
11119
11394
|
# @!attribute [rw] next_token
|
11120
|
-
#
|
11395
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11396
|
+
# previous response; otherwise **null** to receive the first set of
|
11397
|
+
# results.
|
11121
11398
|
# @return [String]
|
11122
11399
|
#
|
11123
11400
|
# @!attribute [rw] max_results
|
@@ -11137,8 +11414,8 @@ module Aws::IoT
|
|
11137
11414
|
# @return [Array<String>]
|
11138
11415
|
#
|
11139
11416
|
# @!attribute [rw] next_token
|
11140
|
-
# The token
|
11141
|
-
# if operation has returned all results.
|
11417
|
+
# The token to use to get the next set of results. Will not be
|
11418
|
+
# returned if operation has returned all results.
|
11142
11419
|
# @return [String]
|
11143
11420
|
#
|
11144
11421
|
class ListThingsInBillingGroupResponse < Struct.new(
|
@@ -11168,7 +11445,9 @@ module Aws::IoT
|
|
11168
11445
|
# @return [Boolean]
|
11169
11446
|
#
|
11170
11447
|
# @!attribute [rw] next_token
|
11171
|
-
#
|
11448
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11449
|
+
# previous response; otherwise **null** to receive the first set of
|
11450
|
+
# results.
|
11172
11451
|
# @return [String]
|
11173
11452
|
#
|
11174
11453
|
# @!attribute [rw] max_results
|
@@ -11189,8 +11468,8 @@ module Aws::IoT
|
|
11189
11468
|
# @return [Array<String>]
|
11190
11469
|
#
|
11191
11470
|
# @!attribute [rw] next_token
|
11192
|
-
# The token
|
11193
|
-
# are no additional results.
|
11471
|
+
# The token to use to get the next set of results, or **null** if
|
11472
|
+
# there are no additional results.
|
11194
11473
|
# @return [String]
|
11195
11474
|
#
|
11196
11475
|
class ListThingsInThingGroupResponse < Struct.new(
|
@@ -11214,7 +11493,9 @@ module Aws::IoT
|
|
11214
11493
|
# }
|
11215
11494
|
#
|
11216
11495
|
# @!attribute [rw] next_token
|
11217
|
-
#
|
11496
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11497
|
+
# previous response; otherwise **null** to receive the first set of
|
11498
|
+
# results.
|
11218
11499
|
# @return [String]
|
11219
11500
|
#
|
11220
11501
|
# @!attribute [rw] max_results
|
@@ -11250,8 +11531,8 @@ module Aws::IoT
|
|
11250
11531
|
# @return [Array<Types::ThingAttribute>]
|
11251
11532
|
#
|
11252
11533
|
# @!attribute [rw] next_token
|
11253
|
-
# The token
|
11254
|
-
# if operation has returned all results.
|
11534
|
+
# The token to use to get the next set of results. Will not be
|
11535
|
+
# returned if operation has returned all results.
|
11255
11536
|
# @return [String]
|
11256
11537
|
#
|
11257
11538
|
class ListThingsResponse < Struct.new(
|
@@ -11274,7 +11555,9 @@ module Aws::IoT
|
|
11274
11555
|
# @return [Integer]
|
11275
11556
|
#
|
11276
11557
|
# @!attribute [rw] next_token
|
11277
|
-
#
|
11558
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11559
|
+
# previous response; otherwise **null** to receive the first set of
|
11560
|
+
# results.
|
11278
11561
|
# @return [String]
|
11279
11562
|
#
|
11280
11563
|
class ListTopicRuleDestinationsRequest < Struct.new(
|
@@ -11289,7 +11572,8 @@ module Aws::IoT
|
|
11289
11572
|
# @return [Array<Types::TopicRuleDestinationSummary>]
|
11290
11573
|
#
|
11291
11574
|
# @!attribute [rw] next_token
|
11292
|
-
# The token to
|
11575
|
+
# The token to use to get the next set of results, or **null** if
|
11576
|
+
# there are no additional results.
|
11293
11577
|
# @return [String]
|
11294
11578
|
#
|
11295
11579
|
class ListTopicRuleDestinationsResponse < Struct.new(
|
@@ -11320,7 +11604,9 @@ module Aws::IoT
|
|
11320
11604
|
# @return [Integer]
|
11321
11605
|
#
|
11322
11606
|
# @!attribute [rw] next_token
|
11323
|
-
#
|
11607
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11608
|
+
# previous response; otherwise **null** to receive the first set of
|
11609
|
+
# results.
|
11324
11610
|
# @return [String]
|
11325
11611
|
#
|
11326
11612
|
# @!attribute [rw] rule_disabled
|
@@ -11343,7 +11629,8 @@ module Aws::IoT
|
|
11343
11629
|
# @return [Array<Types::TopicRuleListItem>]
|
11344
11630
|
#
|
11345
11631
|
# @!attribute [rw] next_token
|
11346
|
-
#
|
11632
|
+
# The token to use to get the next set of results, or **null** if
|
11633
|
+
# there are no additional results.
|
11347
11634
|
# @return [String]
|
11348
11635
|
#
|
11349
11636
|
class ListTopicRulesResponse < Struct.new(
|
@@ -11368,8 +11655,9 @@ module Aws::IoT
|
|
11368
11655
|
# @return [String]
|
11369
11656
|
#
|
11370
11657
|
# @!attribute [rw] next_token
|
11371
|
-
#
|
11372
|
-
#
|
11658
|
+
# To retrieve the next set of results, the `nextToken` value from a
|
11659
|
+
# previous response; otherwise **null** to receive the first set of
|
11660
|
+
# results.
|
11373
11661
|
# @return [String]
|
11374
11662
|
#
|
11375
11663
|
# @!attribute [rw] max_results
|
@@ -11389,8 +11677,8 @@ module Aws::IoT
|
|
11389
11677
|
# @return [Array<Types::LogTargetConfiguration>]
|
11390
11678
|
#
|
11391
11679
|
# @!attribute [rw] next_token
|
11392
|
-
# The token
|
11393
|
-
# are no additional results.
|
11680
|
+
# The token to use to get the next set of results, or **null** if
|
11681
|
+
# there are no additional results.
|
11394
11682
|
# @return [String]
|
11395
11683
|
#
|
11396
11684
|
class ListV2LoggingLevelsResponse < Struct.new(
|
@@ -12877,6 +13165,7 @@ module Aws::IoT
|
|
12877
13165
|
# role_arn: "AwsArn", # required
|
12878
13166
|
# delivery_stream_name: "DeliveryStreamName", # required
|
12879
13167
|
# separator: "FirehoseSeparator",
|
13168
|
+
# batch_mode: false,
|
12880
13169
|
# },
|
12881
13170
|
# cloudwatch_metric: {
|
12882
13171
|
# role_arn: "AwsArn", # required
|
@@ -12910,11 +13199,13 @@ module Aws::IoT
|
|
12910
13199
|
# iot_analytics: {
|
12911
13200
|
# channel_arn: "AwsArn",
|
12912
13201
|
# channel_name: "ChannelName",
|
13202
|
+
# batch_mode: false,
|
12913
13203
|
# role_arn: "AwsArn",
|
12914
13204
|
# },
|
12915
13205
|
# iot_events: {
|
12916
13206
|
# input_name: "InputName", # required
|
12917
13207
|
# message_id: "MessageId",
|
13208
|
+
# batch_mode: false,
|
12918
13209
|
# role_arn: "AwsArn", # required
|
12919
13210
|
# },
|
12920
13211
|
# iot_site_wise: {
|
@@ -12948,6 +13239,21 @@ module Aws::IoT
|
|
12948
13239
|
# state_machine_name: "StateMachineName", # required
|
12949
13240
|
# role_arn: "AwsArn", # required
|
12950
13241
|
# },
|
13242
|
+
# timestream: {
|
13243
|
+
# role_arn: "AwsArn", # required
|
13244
|
+
# database_name: "TimestreamDatabaseName", # required
|
13245
|
+
# table_name: "TimestreamTableName", # required
|
13246
|
+
# dimensions: [ # required
|
13247
|
+
# {
|
13248
|
+
# name: "TimestreamDimensionName", # required
|
13249
|
+
# value: "TimestreamDimensionValue", # required
|
13250
|
+
# },
|
13251
|
+
# ],
|
13252
|
+
# timestamp: {
|
13253
|
+
# value: "TimestreamTimestampValue", # required
|
13254
|
+
# unit: "TimestreamTimestampUnit", # required
|
13255
|
+
# },
|
13256
|
+
# },
|
12951
13257
|
# http: {
|
12952
13258
|
# url: "Url", # required
|
12953
13259
|
# confirmation_url: "Url",
|
@@ -13021,6 +13327,7 @@ module Aws::IoT
|
|
13021
13327
|
# role_arn: "AwsArn", # required
|
13022
13328
|
# delivery_stream_name: "DeliveryStreamName", # required
|
13023
13329
|
# separator: "FirehoseSeparator",
|
13330
|
+
# batch_mode: false,
|
13024
13331
|
# },
|
13025
13332
|
# cloudwatch_metric: {
|
13026
13333
|
# role_arn: "AwsArn", # required
|
@@ -13054,11 +13361,13 @@ module Aws::IoT
|
|
13054
13361
|
# iot_analytics: {
|
13055
13362
|
# channel_arn: "AwsArn",
|
13056
13363
|
# channel_name: "ChannelName",
|
13364
|
+
# batch_mode: false,
|
13057
13365
|
# role_arn: "AwsArn",
|
13058
13366
|
# },
|
13059
13367
|
# iot_events: {
|
13060
13368
|
# input_name: "InputName", # required
|
13061
13369
|
# message_id: "MessageId",
|
13370
|
+
# batch_mode: false,
|
13062
13371
|
# role_arn: "AwsArn", # required
|
13063
13372
|
# },
|
13064
13373
|
# iot_site_wise: {
|
@@ -13092,6 +13401,21 @@ module Aws::IoT
|
|
13092
13401
|
# state_machine_name: "StateMachineName", # required
|
13093
13402
|
# role_arn: "AwsArn", # required
|
13094
13403
|
# },
|
13404
|
+
# timestream: {
|
13405
|
+
# role_arn: "AwsArn", # required
|
13406
|
+
# database_name: "TimestreamDatabaseName", # required
|
13407
|
+
# table_name: "TimestreamTableName", # required
|
13408
|
+
# dimensions: [ # required
|
13409
|
+
# {
|
13410
|
+
# name: "TimestreamDimensionName", # required
|
13411
|
+
# value: "TimestreamDimensionValue", # required
|
13412
|
+
# },
|
13413
|
+
# ],
|
13414
|
+
# timestamp: {
|
13415
|
+
# value: "TimestreamTimestampValue", # required
|
13416
|
+
# unit: "TimestreamTimestampUnit", # required
|
13417
|
+
# },
|
13418
|
+
# },
|
13095
13419
|
# http: {
|
13096
13420
|
# url: "Url", # required
|
13097
13421
|
# confirmation_url: "Url",
|
@@ -13333,7 +13657,12 @@ module Aws::IoT
|
|
13333
13657
|
# @return [String]
|
13334
13658
|
#
|
13335
13659
|
# @!attribute [rw] key
|
13336
|
-
# The object key.
|
13660
|
+
# The object key. For more information, see [Actions, resources, and
|
13661
|
+
# condition keys for Amazon S3][1].
|
13662
|
+
#
|
13663
|
+
#
|
13664
|
+
#
|
13665
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html
|
13337
13666
|
# @return [String]
|
13338
13667
|
#
|
13339
13668
|
# @!attribute [rw] canned_acl
|
@@ -13757,7 +14086,11 @@ module Aws::IoT
|
|
13757
14086
|
include Aws::Structure
|
13758
14087
|
end
|
13759
14088
|
|
13760
|
-
#
|
14089
|
+
# For more information, see [Signature Version 4 signing process][1].
|
14090
|
+
#
|
14091
|
+
#
|
14092
|
+
#
|
14093
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
|
13761
14094
|
#
|
13762
14095
|
# @note When making an API call, you may pass SigV4Authorization
|
13763
14096
|
# data as a hash:
|
@@ -15071,6 +15404,136 @@ module Aws::IoT
|
|
15071
15404
|
include Aws::Structure
|
15072
15405
|
end
|
15073
15406
|
|
15407
|
+
# The Timestream rule action writes attributes (measures) from an MQTT
|
15408
|
+
# message into an Amazon Timestream table. For more information, see the
|
15409
|
+
# [Timestream][1] topic rule action documentation.
|
15410
|
+
#
|
15411
|
+
#
|
15412
|
+
#
|
15413
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html
|
15414
|
+
#
|
15415
|
+
# @note When making an API call, you may pass TimestreamAction
|
15416
|
+
# data as a hash:
|
15417
|
+
#
|
15418
|
+
# {
|
15419
|
+
# role_arn: "AwsArn", # required
|
15420
|
+
# database_name: "TimestreamDatabaseName", # required
|
15421
|
+
# table_name: "TimestreamTableName", # required
|
15422
|
+
# dimensions: [ # required
|
15423
|
+
# {
|
15424
|
+
# name: "TimestreamDimensionName", # required
|
15425
|
+
# value: "TimestreamDimensionValue", # required
|
15426
|
+
# },
|
15427
|
+
# ],
|
15428
|
+
# timestamp: {
|
15429
|
+
# value: "TimestreamTimestampValue", # required
|
15430
|
+
# unit: "TimestreamTimestampUnit", # required
|
15431
|
+
# },
|
15432
|
+
# }
|
15433
|
+
#
|
15434
|
+
# @!attribute [rw] role_arn
|
15435
|
+
# The ARN of the role that grants permission to write to the Amazon
|
15436
|
+
# Timestream database table.
|
15437
|
+
# @return [String]
|
15438
|
+
#
|
15439
|
+
# @!attribute [rw] database_name
|
15440
|
+
# The name of an Amazon Timestream database.
|
15441
|
+
# @return [String]
|
15442
|
+
#
|
15443
|
+
# @!attribute [rw] table_name
|
15444
|
+
# The name of the database table into which to write the measure
|
15445
|
+
# records.
|
15446
|
+
# @return [String]
|
15447
|
+
#
|
15448
|
+
# @!attribute [rw] dimensions
|
15449
|
+
# Metadata attributes of the time series that are written in each
|
15450
|
+
# measure record.
|
15451
|
+
# @return [Array<Types::TimestreamDimension>]
|
15452
|
+
#
|
15453
|
+
# @!attribute [rw] timestamp
|
15454
|
+
# Specifies an application-defined value to replace the default value
|
15455
|
+
# assigned to the Timestream record's timestamp in the `time` column.
|
15456
|
+
#
|
15457
|
+
# You can use this property to specify the value and the precision of
|
15458
|
+
# the Timestream record's timestamp. You can specify a value from the
|
15459
|
+
# message payload or a value computed by a substitution template.
|
15460
|
+
#
|
15461
|
+
# If omitted, the topic rule action assigns the timestamp, in
|
15462
|
+
# milliseconds, at the time it processed the rule.
|
15463
|
+
# @return [Types::TimestreamTimestamp]
|
15464
|
+
#
|
15465
|
+
class TimestreamAction < Struct.new(
|
15466
|
+
:role_arn,
|
15467
|
+
:database_name,
|
15468
|
+
:table_name,
|
15469
|
+
:dimensions,
|
15470
|
+
:timestamp)
|
15471
|
+
SENSITIVE = []
|
15472
|
+
include Aws::Structure
|
15473
|
+
end
|
15474
|
+
|
15475
|
+
# Metadata attributes of the time series that are written in each
|
15476
|
+
# measure record.
|
15477
|
+
#
|
15478
|
+
# @note When making an API call, you may pass TimestreamDimension
|
15479
|
+
# data as a hash:
|
15480
|
+
#
|
15481
|
+
# {
|
15482
|
+
# name: "TimestreamDimensionName", # required
|
15483
|
+
# value: "TimestreamDimensionValue", # required
|
15484
|
+
# }
|
15485
|
+
#
|
15486
|
+
# @!attribute [rw] name
|
15487
|
+
# The metadata dimension name. This is the name of the column in the
|
15488
|
+
# Amazon Timestream database table record.
|
15489
|
+
#
|
15490
|
+
# Dimensions cannot be named: `measure_name`, `measure_value`, or
|
15491
|
+
# `time`. These names are reserved. Dimension names cannot start with
|
15492
|
+
# `ts_` or `measure_value` and they cannot contain the colon (`:`)
|
15493
|
+
# character.
|
15494
|
+
# @return [String]
|
15495
|
+
#
|
15496
|
+
# @!attribute [rw] value
|
15497
|
+
# The value to write in this column of the database record.
|
15498
|
+
# @return [String]
|
15499
|
+
#
|
15500
|
+
class TimestreamDimension < Struct.new(
|
15501
|
+
:name,
|
15502
|
+
:value)
|
15503
|
+
SENSITIVE = []
|
15504
|
+
include Aws::Structure
|
15505
|
+
end
|
15506
|
+
|
15507
|
+
# Describes how to interpret an application-defined timestamp value from
|
15508
|
+
# an MQTT message payload and the precision of that value.
|
15509
|
+
#
|
15510
|
+
# @note When making an API call, you may pass TimestreamTimestamp
|
15511
|
+
# data as a hash:
|
15512
|
+
#
|
15513
|
+
# {
|
15514
|
+
# value: "TimestreamTimestampValue", # required
|
15515
|
+
# unit: "TimestreamTimestampUnit", # required
|
15516
|
+
# }
|
15517
|
+
#
|
15518
|
+
# @!attribute [rw] value
|
15519
|
+
# An expression that returns a long epoch time value.
|
15520
|
+
# @return [String]
|
15521
|
+
#
|
15522
|
+
# @!attribute [rw] unit
|
15523
|
+
# The precision of the timestamp value that results from the
|
15524
|
+
# expression described in `value`.
|
15525
|
+
#
|
15526
|
+
# Valid values: `SECONDS` \| `MILLISECONDS` \| `MICROSECONDS` \|
|
15527
|
+
# `NANOSECONDS`. The default is `MILLISECONDS`.
|
15528
|
+
# @return [String]
|
15529
|
+
#
|
15530
|
+
class TimestreamTimestamp < Struct.new(
|
15531
|
+
:value,
|
15532
|
+
:unit)
|
15533
|
+
SENSITIVE = []
|
15534
|
+
include Aws::Structure
|
15535
|
+
end
|
15536
|
+
|
15074
15537
|
# Specifies the TLS context to use for the test authorizer request.
|
15075
15538
|
#
|
15076
15539
|
# @note When making an API call, you may pass TlsContext
|
@@ -15365,6 +15828,7 @@ module Aws::IoT
|
|
15365
15828
|
# role_arn: "AwsArn", # required
|
15366
15829
|
# delivery_stream_name: "DeliveryStreamName", # required
|
15367
15830
|
# separator: "FirehoseSeparator",
|
15831
|
+
# batch_mode: false,
|
15368
15832
|
# },
|
15369
15833
|
# cloudwatch_metric: {
|
15370
15834
|
# role_arn: "AwsArn", # required
|
@@ -15398,11 +15862,13 @@ module Aws::IoT
|
|
15398
15862
|
# iot_analytics: {
|
15399
15863
|
# channel_arn: "AwsArn",
|
15400
15864
|
# channel_name: "ChannelName",
|
15865
|
+
# batch_mode: false,
|
15401
15866
|
# role_arn: "AwsArn",
|
15402
15867
|
# },
|
15403
15868
|
# iot_events: {
|
15404
15869
|
# input_name: "InputName", # required
|
15405
15870
|
# message_id: "MessageId",
|
15871
|
+
# batch_mode: false,
|
15406
15872
|
# role_arn: "AwsArn", # required
|
15407
15873
|
# },
|
15408
15874
|
# iot_site_wise: {
|
@@ -15436,6 +15902,21 @@ module Aws::IoT
|
|
15436
15902
|
# state_machine_name: "StateMachineName", # required
|
15437
15903
|
# role_arn: "AwsArn", # required
|
15438
15904
|
# },
|
15905
|
+
# timestream: {
|
15906
|
+
# role_arn: "AwsArn", # required
|
15907
|
+
# database_name: "TimestreamDatabaseName", # required
|
15908
|
+
# table_name: "TimestreamTableName", # required
|
15909
|
+
# dimensions: [ # required
|
15910
|
+
# {
|
15911
|
+
# name: "TimestreamDimensionName", # required
|
15912
|
+
# value: "TimestreamDimensionValue", # required
|
15913
|
+
# },
|
15914
|
+
# ],
|
15915
|
+
# timestamp: {
|
15916
|
+
# value: "TimestreamTimestampValue", # required
|
15917
|
+
# unit: "TimestreamTimestampUnit", # required
|
15918
|
+
# },
|
15919
|
+
# },
|
15439
15920
|
# http: {
|
15440
15921
|
# url: "Url", # required
|
15441
15922
|
# confirmation_url: "Url",
|
@@ -15509,6 +15990,7 @@ module Aws::IoT
|
|
15509
15990
|
# role_arn: "AwsArn", # required
|
15510
15991
|
# delivery_stream_name: "DeliveryStreamName", # required
|
15511
15992
|
# separator: "FirehoseSeparator",
|
15993
|
+
# batch_mode: false,
|
15512
15994
|
# },
|
15513
15995
|
# cloudwatch_metric: {
|
15514
15996
|
# role_arn: "AwsArn", # required
|
@@ -15542,11 +16024,13 @@ module Aws::IoT
|
|
15542
16024
|
# iot_analytics: {
|
15543
16025
|
# channel_arn: "AwsArn",
|
15544
16026
|
# channel_name: "ChannelName",
|
16027
|
+
# batch_mode: false,
|
15545
16028
|
# role_arn: "AwsArn",
|
15546
16029
|
# },
|
15547
16030
|
# iot_events: {
|
15548
16031
|
# input_name: "InputName", # required
|
15549
16032
|
# message_id: "MessageId",
|
16033
|
+
# batch_mode: false,
|
15550
16034
|
# role_arn: "AwsArn", # required
|
15551
16035
|
# },
|
15552
16036
|
# iot_site_wise: {
|
@@ -15580,6 +16064,21 @@ module Aws::IoT
|
|
15580
16064
|
# state_machine_name: "StateMachineName", # required
|
15581
16065
|
# role_arn: "AwsArn", # required
|
15582
16066
|
# },
|
16067
|
+
# timestream: {
|
16068
|
+
# role_arn: "AwsArn", # required
|
16069
|
+
# database_name: "TimestreamDatabaseName", # required
|
16070
|
+
# table_name: "TimestreamTableName", # required
|
16071
|
+
# dimensions: [ # required
|
16072
|
+
# {
|
16073
|
+
# name: "TimestreamDimensionName", # required
|
16074
|
+
# value: "TimestreamDimensionValue", # required
|
16075
|
+
# },
|
16076
|
+
# ],
|
16077
|
+
# timestamp: {
|
16078
|
+
# value: "TimestreamTimestampValue", # required
|
16079
|
+
# unit: "TimestreamTimestampUnit", # required
|
16080
|
+
# },
|
16081
|
+
# },
|
15583
16082
|
# http: {
|
15584
16083
|
# url: "Url", # required
|
15585
16084
|
# confirmation_url: "Url",
|
@@ -15606,7 +16105,7 @@ module Aws::IoT
|
|
15606
16105
|
#
|
15607
16106
|
#
|
15608
16107
|
#
|
15609
|
-
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-
|
16108
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html
|
15610
16109
|
# @return [String]
|
15611
16110
|
#
|
15612
16111
|
# @!attribute [rw] description
|
@@ -16427,6 +16926,7 @@ module Aws::IoT
|
|
16427
16926
|
# timeout_config: {
|
16428
16927
|
# in_progress_timeout_in_minutes: 1,
|
16429
16928
|
# },
|
16929
|
+
# namespace_id: "NamespaceId",
|
16430
16930
|
# }
|
16431
16931
|
#
|
16432
16932
|
# @!attribute [rw] job_id
|
@@ -16457,13 +16957,28 @@ module Aws::IoT
|
|
16457
16957
|
# automatically set to `TIMED_OUT`.
|
16458
16958
|
# @return [Types::TimeoutConfig]
|
16459
16959
|
#
|
16960
|
+
# @!attribute [rw] namespace_id
|
16961
|
+
# The namespace used to indicate that a job is a customer-managed job.
|
16962
|
+
#
|
16963
|
+
# When you specify a value for this parameter, AWS IoT Core sends jobs
|
16964
|
+
# notifications to MQTT topics that contain the value in the following
|
16965
|
+
# format.
|
16966
|
+
#
|
16967
|
+
# `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
|
16968
|
+
#
|
16969
|
+
# <note markdown="1"> The `namespaceId` feature is in public preview.
|
16970
|
+
#
|
16971
|
+
# </note>
|
16972
|
+
# @return [String]
|
16973
|
+
#
|
16460
16974
|
class UpdateJobRequest < Struct.new(
|
16461
16975
|
:job_id,
|
16462
16976
|
:description,
|
16463
16977
|
:presigned_url_config,
|
16464
16978
|
:job_executions_rollout_config,
|
16465
16979
|
:abort_config,
|
16466
|
-
:timeout_config
|
16980
|
+
:timeout_config,
|
16981
|
+
:namespace_id)
|
16467
16982
|
SENSITIVE = []
|
16468
16983
|
include Aws::Structure
|
16469
16984
|
end
|
@@ -16773,12 +17288,12 @@ module Aws::IoT
|
|
16773
17288
|
# @return [Hash<String,Types::AlertTarget>]
|
16774
17289
|
#
|
16775
17290
|
# @!attribute [rw] additional_metrics_to_retain
|
17291
|
+
# *Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2
|
17292
|
+
# instead.*
|
17293
|
+
#
|
16776
17294
|
# A list of metrics whose data is retained (stored). By default, data
|
16777
17295
|
# is retained for any metric used in the profile's `behaviors`, but
|
16778
17296
|
# it is also retained for any metric specified here.
|
16779
|
-
#
|
16780
|
-
# **Note:** This API field is deprecated. Please use
|
16781
|
-
# UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
|
16782
17297
|
# @return [Array<String>]
|
16783
17298
|
#
|
16784
17299
|
# @!attribute [rw] additional_metrics_to_retain_v2
|
@@ -16849,12 +17364,12 @@ module Aws::IoT
|
|
16849
17364
|
# @return [Hash<String,Types::AlertTarget>]
|
16850
17365
|
#
|
16851
17366
|
# @!attribute [rw] additional_metrics_to_retain
|
17367
|
+
# *Please use
|
17368
|
+
# UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.*
|
17369
|
+
#
|
16852
17370
|
# A list of metrics whose data is retained (stored). By default, data
|
16853
17371
|
# is retained for any metric used in the security profile's
|
16854
17372
|
# `behaviors`, but it is also retained for any metric specified here.
|
16855
|
-
#
|
16856
|
-
# **Note:** This API field is deprecated. Please use
|
16857
|
-
# UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
|
16858
17373
|
# @return [Array<String>]
|
16859
17374
|
#
|
16860
17375
|
# @!attribute [rw] additional_metrics_to_retain_v2
|