aws-sdk-iot 1.56.0 → 1.61.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -710,6 +710,7 @@ module Aws::IoT
710
710
  MqttContext = Shapes::StructureShape.new(name: 'MqttContext')
711
711
  MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
712
712
  MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
713
+ NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
713
714
  NextToken = Shapes::StringShape.new(name: 'NextToken')
714
715
  NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
715
716
  NonCompliantResource = Shapes::StructureShape.new(name: 'NonCompliantResource')
@@ -1009,6 +1010,16 @@ module Aws::IoT
1009
1010
  TimedOutThings = Shapes::IntegerShape.new(name: 'TimedOutThings')
1010
1011
  TimeoutConfig = Shapes::StructureShape.new(name: 'TimeoutConfig')
1011
1012
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
1013
+ TimestreamAction = Shapes::StructureShape.new(name: 'TimestreamAction')
1014
+ TimestreamDatabaseName = Shapes::StringShape.new(name: 'TimestreamDatabaseName')
1015
+ TimestreamDimension = Shapes::StructureShape.new(name: 'TimestreamDimension')
1016
+ TimestreamDimensionList = Shapes::ListShape.new(name: 'TimestreamDimensionList')
1017
+ TimestreamDimensionName = Shapes::StringShape.new(name: 'TimestreamDimensionName')
1018
+ TimestreamDimensionValue = Shapes::StringShape.new(name: 'TimestreamDimensionValue')
1019
+ TimestreamTableName = Shapes::StringShape.new(name: 'TimestreamTableName')
1020
+ TimestreamTimestamp = Shapes::StructureShape.new(name: 'TimestreamTimestamp')
1021
+ TimestreamTimestampUnit = Shapes::StringShape.new(name: 'TimestreamTimestampUnit')
1022
+ TimestreamTimestampValue = Shapes::StringShape.new(name: 'TimestreamTimestampValue')
1012
1023
  TlsContext = Shapes::StructureShape.new(name: 'TlsContext')
1013
1024
  Token = Shapes::StringShape.new(name: 'Token')
1014
1025
  TokenKeyName = Shapes::StringShape.new(name: 'TokenKeyName')
@@ -1137,6 +1148,7 @@ module Aws::IoT
1137
1148
  Action.add_member(:iot_events, Shapes::ShapeRef.new(shape: IotEventsAction, location_name: "iotEvents"))
1138
1149
  Action.add_member(:iot_site_wise, Shapes::ShapeRef.new(shape: IotSiteWiseAction, location_name: "iotSiteWise"))
1139
1150
  Action.add_member(:step_functions, Shapes::ShapeRef.new(shape: StepFunctionsAction, location_name: "stepFunctions"))
1151
+ Action.add_member(:timestream, Shapes::ShapeRef.new(shape: TimestreamAction, location_name: "timestream"))
1140
1152
  Action.add_member(:http, Shapes::ShapeRef.new(shape: HttpAction, location_name: "http"))
1141
1153
  Action.struct_class = Types::Action
1142
1154
 
@@ -1211,6 +1223,7 @@ module Aws::IoT
1211
1223
  AssociateTargetsWithJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
1212
1224
  AssociateTargetsWithJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
1213
1225
  AssociateTargetsWithJobRequest.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
1226
+ AssociateTargetsWithJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
1214
1227
  AssociateTargetsWithJobRequest.struct_class = Types::AssociateTargetsWithJobRequest
1215
1228
 
1216
1229
  AssociateTargetsWithJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
@@ -1659,6 +1672,7 @@ module Aws::IoT
1659
1672
  CreateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
1660
1673
  CreateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
1661
1674
  CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1675
+ CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
1662
1676
  CreateJobRequest.struct_class = Types::CreateJobRequest
1663
1677
 
1664
1678
  CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
@@ -1915,10 +1929,12 @@ module Aws::IoT
1915
1929
  DeleteJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
1916
1930
  DeleteJobExecutionRequest.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, required: true, location: "uri", location_name: "executionNumber"))
1917
1931
  DeleteJobExecutionRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location: "querystring", location_name: "force"))
1932
+ DeleteJobExecutionRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
1918
1933
  DeleteJobExecutionRequest.struct_class = Types::DeleteJobExecutionRequest
1919
1934
 
1920
1935
  DeleteJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
1921
1936
  DeleteJobRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location: "querystring", location_name: "force"))
1937
+ DeleteJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
1922
1938
  DeleteJobRequest.struct_class = Types::DeleteJobRequest
1923
1939
 
1924
1940
  DeleteMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
@@ -2119,6 +2135,7 @@ module Aws::IoT
2119
2135
  DescribeDomainConfigurationResponse.add_member(:domain_configuration_status, Shapes::ShapeRef.new(shape: DomainConfigurationStatus, location_name: "domainConfigurationStatus"))
2120
2136
  DescribeDomainConfigurationResponse.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "serviceType"))
2121
2137
  DescribeDomainConfigurationResponse.add_member(:domain_type, Shapes::ShapeRef.new(shape: DomainType, location_name: "domainType"))
2138
+ DescribeDomainConfigurationResponse.add_member(:last_status_change_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastStatusChangeDate"))
2122
2139
  DescribeDomainConfigurationResponse.struct_class = Types::DescribeDomainConfigurationResponse
2123
2140
 
2124
2141
  DescribeEndpointRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location: "querystring", location_name: "endpointType"))
@@ -2603,6 +2620,7 @@ module Aws::IoT
2603
2620
  Job.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
2604
2621
  Job.add_member(:job_process_details, Shapes::ShapeRef.new(shape: JobProcessDetails, location_name: "jobProcessDetails"))
2605
2622
  Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
2623
+ Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
2606
2624
  Job.struct_class = Types::Job
2607
2625
 
2608
2626
  JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
@@ -2849,6 +2867,7 @@ module Aws::IoT
2849
2867
 
2850
2868
  ListJobExecutionsForThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
2851
2869
  ListJobExecutionsForThingRequest.add_member(:status, Shapes::ShapeRef.new(shape: JobExecutionStatus, location: "querystring", location_name: "status"))
2870
+ ListJobExecutionsForThingRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
2852
2871
  ListJobExecutionsForThingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LaserMaxResults, location: "querystring", location_name: "maxResults"))
2853
2872
  ListJobExecutionsForThingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2854
2873
  ListJobExecutionsForThingRequest.struct_class = Types::ListJobExecutionsForThingRequest
@@ -2863,6 +2882,7 @@ module Aws::IoT
2863
2882
  ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2864
2883
  ListJobsRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location: "querystring", location_name: "thingGroupName"))
2865
2884
  ListJobsRequest.add_member(:thing_group_id, Shapes::ShapeRef.new(shape: ThingGroupId, location: "querystring", location_name: "thingGroupId"))
2885
+ ListJobsRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
2866
2886
  ListJobsRequest.struct_class = Types::ListJobsRequest
2867
2887
 
2868
2888
  ListJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: JobSummaryList, location_name: "jobs"))
@@ -3048,10 +3068,13 @@ module Aws::IoT
3048
3068
  ListThingGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3049
3069
  ListThingGroupsResponse.struct_class = Types::ListThingGroupsResponse
3050
3070
 
3071
+ ListThingPrincipalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3072
+ ListThingPrincipalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RegistryMaxResults, location: "querystring", location_name: "maxResults"))
3051
3073
  ListThingPrincipalsRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
3052
3074
  ListThingPrincipalsRequest.struct_class = Types::ListThingPrincipalsRequest
3053
3075
 
3054
3076
  ListThingPrincipalsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: Principals, location_name: "principals"))
3077
+ ListThingPrincipalsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3055
3078
  ListThingPrincipalsResponse.struct_class = Types::ListThingPrincipalsResponse
3056
3079
 
3057
3080
  ListThingRegistrationTaskReportsRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskId"))
@@ -3835,6 +3858,23 @@ module Aws::IoT
3835
3858
  TimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: InProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
3836
3859
  TimeoutConfig.struct_class = Types::TimeoutConfig
3837
3860
 
3861
+ TimestreamAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
3862
+ TimestreamAction.add_member(:database_name, Shapes::ShapeRef.new(shape: TimestreamDatabaseName, required: true, location_name: "databaseName"))
3863
+ TimestreamAction.add_member(:table_name, Shapes::ShapeRef.new(shape: TimestreamTableName, required: true, location_name: "tableName"))
3864
+ TimestreamAction.add_member(:dimensions, Shapes::ShapeRef.new(shape: TimestreamDimensionList, required: true, location_name: "dimensions"))
3865
+ TimestreamAction.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimestreamTimestamp, location_name: "timestamp"))
3866
+ TimestreamAction.struct_class = Types::TimestreamAction
3867
+
3868
+ TimestreamDimension.add_member(:name, Shapes::ShapeRef.new(shape: TimestreamDimensionName, required: true, location_name: "name"))
3869
+ TimestreamDimension.add_member(:value, Shapes::ShapeRef.new(shape: TimestreamDimensionValue, required: true, location_name: "value"))
3870
+ TimestreamDimension.struct_class = Types::TimestreamDimension
3871
+
3872
+ TimestreamDimensionList.member = Shapes::ShapeRef.new(shape: TimestreamDimension)
3873
+
3874
+ TimestreamTimestamp.add_member(:value, Shapes::ShapeRef.new(shape: TimestreamTimestampValue, required: true, location_name: "value"))
3875
+ TimestreamTimestamp.add_member(:unit, Shapes::ShapeRef.new(shape: TimestreamTimestampUnit, required: true, location_name: "unit"))
3876
+ TimestreamTimestamp.struct_class = Types::TimestreamTimestamp
3877
+
3838
3878
  TlsContext.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "serverName"))
3839
3879
  TlsContext.struct_class = Types::TlsContext
3840
3880
 
@@ -4014,6 +4054,7 @@ module Aws::IoT
4014
4054
  UpdateJobRequest.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
4015
4055
  UpdateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
4016
4056
  UpdateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
4057
+ UpdateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
4017
4058
  UpdateJobRequest.struct_class = Types::UpdateJobRequest
4018
4059
 
4019
4060
  UpdateMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
@@ -4934,6 +4975,7 @@ module Aws::IoT
4934
4975
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4935
4976
  o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
4936
4977
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4978
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
4937
4979
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4938
4980
  end)
4939
4981
 
@@ -4948,6 +4990,7 @@ module Aws::IoT
4948
4990
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4949
4991
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4950
4992
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4993
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
4951
4994
  o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
4952
4995
  end)
4953
4996
 
@@ -6408,6 +6451,7 @@ module Aws::IoT
6408
6451
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6409
6452
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6410
6453
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6454
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6411
6455
  o[:pager] = Aws::Pager.new(
6412
6456
  limit_key: "max_results",
6413
6457
  tokens: {
@@ -6425,6 +6469,7 @@ module Aws::IoT
6425
6469
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6426
6470
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6427
6471
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6472
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6428
6473
  o[:pager] = Aws::Pager.new(
6429
6474
  limit_key: "max_results",
6430
6475
  tokens: {
@@ -6445,6 +6490,12 @@ module Aws::IoT
6445
6490
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6446
6491
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6447
6492
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6493
+ o[:pager] = Aws::Pager.new(
6494
+ limit_key: "max_results",
6495
+ tokens: {
6496
+ "next_token" => "next_token"
6497
+ }
6498
+ )
6448
6499
  end)
6449
6500
 
6450
6501
  api.add_operation(:list_thing_registration_task_reports, Seahorse::Model::Operation.new.tap do |o|
@@ -6548,6 +6599,7 @@ module Aws::IoT
6548
6599
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6549
6600
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6550
6601
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6602
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6551
6603
  o[:pager] = Aws::Pager.new(
6552
6604
  limit_key: "max_results",
6553
6605
  tokens: {
@@ -6810,6 +6862,7 @@ module Aws::IoT
6810
6862
  o.errors << Shapes::ShapeRef.new(shape: NotConfiguredException)
6811
6863
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6812
6864
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6865
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
6813
6866
  end)
6814
6867
 
6815
6868
  api.add_operation(:set_v2_logging_options, Seahorse::Model::Operation.new.tap do |o|
@@ -232,6 +232,21 @@ module Aws::IoT
232
232
  # state_machine_name: "StateMachineName", # required
233
233
  # role_arn: "AwsArn", # required
234
234
  # },
235
+ # timestream: {
236
+ # role_arn: "AwsArn", # required
237
+ # database_name: "TimestreamDatabaseName", # required
238
+ # table_name: "TimestreamTableName", # required
239
+ # dimensions: [ # required
240
+ # {
241
+ # name: "TimestreamDimensionName", # required
242
+ # value: "TimestreamDimensionValue", # required
243
+ # },
244
+ # ],
245
+ # timestamp: {
246
+ # value: "TimestreamTimestampValue", # required
247
+ # unit: "TimestreamTimestampUnit", # required
248
+ # },
249
+ # },
235
250
  # http: {
236
251
  # url: "Url", # required
237
252
  # confirmation_url: "Url",
@@ -326,6 +341,16 @@ module Aws::IoT
326
341
  # Starts execution of a Step Functions state machine.
327
342
  # @return [Types::StepFunctionsAction]
328
343
  #
344
+ # @!attribute [rw] timestream
345
+ # The Timestream rule action writes attributes (measures) from an MQTT
346
+ # message into an Amazon Timestream table. For more information, see
347
+ # the [Timestream][1] topic rule action documentation.
348
+ #
349
+ #
350
+ #
351
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html
352
+ # @return [Types::TimestreamAction]
353
+ #
329
354
  # @!attribute [rw] http
330
355
  # Send data to an HTTPS endpoint.
331
356
  # @return [Types::HttpAction]
@@ -349,6 +374,7 @@ module Aws::IoT
349
374
  :iot_events,
350
375
  :iot_site_wise,
351
376
  :step_functions,
377
+ :timestream,
352
378
  :http)
353
379
  SENSITIVE = []
354
380
  include Aws::Structure
@@ -666,6 +692,7 @@ module Aws::IoT
666
692
  # targets: ["TargetArn"], # required
667
693
  # job_id: "JobId", # required
668
694
  # comment: "Comment",
695
+ # namespace_id: "NamespaceId",
669
696
  # }
670
697
  #
671
698
  # @!attribute [rw] targets
@@ -681,10 +708,25 @@ module Aws::IoT
681
708
  # with the targets.
682
709
  # @return [String]
683
710
  #
711
+ # @!attribute [rw] namespace_id
712
+ # The namespace used to indicate that a job is a customer-managed job.
713
+ #
714
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
715
+ # notifications to MQTT topics that contain the value in the following
716
+ # format.
717
+ #
718
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
719
+ #
720
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
721
+ #
722
+ # </note>
723
+ # @return [String]
724
+ #
684
725
  class AssociateTargetsWithJobRequest < Struct.new(
685
726
  :targets,
686
727
  :job_id,
687
- :comment)
728
+ :comment,
729
+ :namespace_id)
688
730
  SENSITIVE = []
689
731
  include Aws::Structure
690
732
  end
@@ -3049,6 +3091,7 @@ module Aws::IoT
3049
3091
  # value: "TagValue",
3050
3092
  # },
3051
3093
  # ],
3094
+ # namespace_id: "NamespaceId",
3052
3095
  # }
3053
3096
  #
3054
3097
  # @!attribute [rw] job_id
@@ -3118,6 +3161,20 @@ module Aws::IoT
3118
3161
  # Metadata which can be used to manage the job.
3119
3162
  # @return [Array<Types::Tag>]
3120
3163
  #
3164
+ # @!attribute [rw] namespace_id
3165
+ # The namespace used to indicate that a job is a customer-managed job.
3166
+ #
3167
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
3168
+ # notifications to MQTT topics that contain the value in the following
3169
+ # format.
3170
+ #
3171
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
3172
+ #
3173
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
3174
+ #
3175
+ # </note>
3176
+ # @return [String]
3177
+ #
3121
3178
  class CreateJobRequest < Struct.new(
3122
3179
  :job_id,
3123
3180
  :targets,
@@ -3129,7 +3186,8 @@ module Aws::IoT
3129
3186
  :job_executions_rollout_config,
3130
3187
  :abort_config,
3131
3188
  :timeout_config,
3132
- :tags)
3189
+ :tags,
3190
+ :namespace_id)
3133
3191
  SENSITIVE = []
3134
3192
  include Aws::Structure
3135
3193
  end
@@ -4035,12 +4093,12 @@ module Aws::IoT
4035
4093
  # @return [Hash<String,Types::AlertTarget>]
4036
4094
  #
4037
4095
  # @!attribute [rw] additional_metrics_to_retain
4096
+ # *Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2
4097
+ # instead.*
4098
+ #
4038
4099
  # A list of metrics whose data is retained (stored). By default, data
4039
4100
  # is retained for any metric used in the profile's `behaviors`, but
4040
4101
  # it is also retained for any metric specified here.
4041
- #
4042
- # **Note:** This API field is deprecated. Please use
4043
- # CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
4044
4102
  # @return [Array<String>]
4045
4103
  #
4046
4104
  # @!attribute [rw] additional_metrics_to_retain_v2
@@ -4528,6 +4586,21 @@ module Aws::IoT
4528
4586
  # state_machine_name: "StateMachineName", # required
4529
4587
  # role_arn: "AwsArn", # required
4530
4588
  # },
4589
+ # timestream: {
4590
+ # role_arn: "AwsArn", # required
4591
+ # database_name: "TimestreamDatabaseName", # required
4592
+ # table_name: "TimestreamTableName", # required
4593
+ # dimensions: [ # required
4594
+ # {
4595
+ # name: "TimestreamDimensionName", # required
4596
+ # value: "TimestreamDimensionValue", # required
4597
+ # },
4598
+ # ],
4599
+ # timestamp: {
4600
+ # value: "TimestreamTimestampValue", # required
4601
+ # unit: "TimestreamTimestampUnit", # required
4602
+ # },
4603
+ # },
4531
4604
  # http: {
4532
4605
  # url: "Url", # required
4533
4606
  # confirmation_url: "Url",
@@ -4672,6 +4745,21 @@ module Aws::IoT
4672
4745
  # state_machine_name: "StateMachineName", # required
4673
4746
  # role_arn: "AwsArn", # required
4674
4747
  # },
4748
+ # timestream: {
4749
+ # role_arn: "AwsArn", # required
4750
+ # database_name: "TimestreamDatabaseName", # required
4751
+ # table_name: "TimestreamTableName", # required
4752
+ # dimensions: [ # required
4753
+ # {
4754
+ # name: "TimestreamDimensionName", # required
4755
+ # value: "TimestreamDimensionValue", # required
4756
+ # },
4757
+ # ],
4758
+ # timestamp: {
4759
+ # value: "TimestreamTimestampValue", # required
4760
+ # unit: "TimestreamTimestampUnit", # required
4761
+ # },
4762
+ # },
4675
4763
  # http: {
4676
4764
  # url: "Url", # required
4677
4765
  # confirmation_url: "Url",
@@ -5009,6 +5097,7 @@ module Aws::IoT
5009
5097
  # thing_name: "ThingName", # required
5010
5098
  # execution_number: 1, # required
5011
5099
  # force: false,
5100
+ # namespace_id: "NamespaceId",
5012
5101
  # }
5013
5102
  #
5014
5103
  # @!attribute [rw] job_id
@@ -5043,11 +5132,26 @@ module Aws::IoT
5043
5132
  # </note>
5044
5133
  # @return [Boolean]
5045
5134
  #
5135
+ # @!attribute [rw] namespace_id
5136
+ # The namespace used to indicate that a job is a customer-managed job.
5137
+ #
5138
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
5139
+ # notifications to MQTT topics that contain the value in the following
5140
+ # format.
5141
+ #
5142
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
5143
+ #
5144
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
5145
+ #
5146
+ # </note>
5147
+ # @return [String]
5148
+ #
5046
5149
  class DeleteJobExecutionRequest < Struct.new(
5047
5150
  :job_id,
5048
5151
  :thing_name,
5049
5152
  :execution_number,
5050
- :force)
5153
+ :force,
5154
+ :namespace_id)
5051
5155
  SENSITIVE = []
5052
5156
  include Aws::Structure
5053
5157
  end
@@ -5058,6 +5162,7 @@ module Aws::IoT
5058
5162
  # {
5059
5163
  # job_id: "JobId", # required
5060
5164
  # force: false,
5165
+ # namespace_id: "NamespaceId",
5061
5166
  # }
5062
5167
  #
5063
5168
  # @!attribute [rw] job_id
@@ -5084,9 +5189,24 @@ module Aws::IoT
5084
5189
  # </note>
5085
5190
  # @return [Boolean]
5086
5191
  #
5192
+ # @!attribute [rw] namespace_id
5193
+ # The namespace used to indicate that a job is a customer-managed job.
5194
+ #
5195
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
5196
+ # notifications to MQTT topics that contain the value in the following
5197
+ # format.
5198
+ #
5199
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
5200
+ #
5201
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
5202
+ #
5203
+ # </note>
5204
+ # @return [String]
5205
+ #
5087
5206
  class DeleteJobRequest < Struct.new(
5088
5207
  :job_id,
5089
- :force)
5208
+ :force,
5209
+ :namespace_id)
5090
5210
  SENSITIVE = []
5091
5211
  include Aws::Structure
5092
5212
  end
@@ -6031,6 +6151,11 @@ module Aws::IoT
6031
6151
  # The type of the domain.
6032
6152
  # @return [String]
6033
6153
  #
6154
+ # @!attribute [rw] last_status_change_date
6155
+ # The date and time the domain configuration's status was last
6156
+ # changed.
6157
+ # @return [Time]
6158
+ #
6034
6159
  class DescribeDomainConfigurationResponse < Struct.new(
6035
6160
  :domain_configuration_name,
6036
6161
  :domain_configuration_arn,
@@ -6039,7 +6164,8 @@ module Aws::IoT
6039
6164
  :authorizer_config,
6040
6165
  :domain_configuration_status,
6041
6166
  :service_type,
6042
- :domain_type)
6167
+ :domain_type,
6168
+ :last_status_change_date)
6043
6169
  SENSITIVE = []
6044
6170
  include Aws::Structure
6045
6171
  end
@@ -6564,12 +6690,13 @@ module Aws::IoT
6564
6690
  # @return [Hash<String,Types::AlertTarget>]
6565
6691
  #
6566
6692
  # @!attribute [rw] additional_metrics_to_retain
6693
+ # *Please use
6694
+ # DescribeSecurityProfileResponse$additionalMetricsToRetainV2
6695
+ # instead.*
6696
+ #
6567
6697
  # A list of metrics whose data is retained (stored). By default, data
6568
6698
  # is retained for any metric used in the profile's `behaviors`, but
6569
6699
  # it is also retained for any metric specified here.
6570
- #
6571
- # **Note:** This API field is deprecated. Please use
6572
- # DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
6573
6700
  # @return [Array<String>]
6574
6701
  #
6575
6702
  # @!attribute [rw] additional_metrics_to_retain_v2
@@ -7406,13 +7533,13 @@ module Aws::IoT
7406
7533
  #
7407
7534
  # @!attribute [rw] increment_factor
7408
7535
  # The exponential factor to increase the rate of rollout for a job.
7536
+ #
7537
+ # AWS IoT supports up to one digit after the decimal (for example,
7538
+ # 1.5, but not 1.55).
7409
7539
  # @return [Float]
7410
7540
  #
7411
7541
  # @!attribute [rw] rate_increase_criteria
7412
7542
  # 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
7543
  # @return [Types::RateIncreaseCriteria]
7417
7544
  #
7418
7545
  class ExponentialRolloutRate < Struct.new(
@@ -8551,6 +8678,20 @@ module Aws::IoT
8551
8678
  # set to `TIMED_OUT`.
8552
8679
  # @return [Types::TimeoutConfig]
8553
8680
  #
8681
+ # @!attribute [rw] namespace_id
8682
+ # The namespace used to indicate that a job is a customer-managed job.
8683
+ #
8684
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
8685
+ # notifications to MQTT topics that contain the value in the following
8686
+ # format.
8687
+ #
8688
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
8689
+ #
8690
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
8691
+ #
8692
+ # </note>
8693
+ # @return [String]
8694
+ #
8554
8695
  class Job < Struct.new(
8555
8696
  :job_arn,
8556
8697
  :job_id,
@@ -8568,7 +8709,8 @@ module Aws::IoT
8568
8709
  :last_updated_at,
8569
8710
  :completed_at,
8570
8711
  :job_process_details,
8571
- :timeout_config)
8712
+ :timeout_config,
8713
+ :namespace_id)
8572
8714
  SENSITIVE = []
8573
8715
  include Aws::Structure
8574
8716
  end
@@ -9391,7 +9533,7 @@ module Aws::IoT
9391
9533
  #
9392
9534
  # @!attribute [rw] start_time
9393
9535
  # The beginning of the time period. Audit information is retained for
9394
- # a limited time (180 days). Requesting a start time prior to what is
9536
+ # a limited time (90 days). Requesting a start time prior to what is
9395
9537
  # retained results in an "InvalidRequestException".
9396
9538
  # @return [Time]
9397
9539
  #
@@ -9506,7 +9648,9 @@ module Aws::IoT
9506
9648
  # }
9507
9649
  #
9508
9650
  # @!attribute [rw] next_token
9509
- # The token to retrieve the next set of results.
9651
+ # To retrieve the next set of results, the `nextToken` value from a
9652
+ # previous response; otherwise **null** to receive the first set of
9653
+ # results.
9510
9654
  # @return [String]
9511
9655
  #
9512
9656
  # @!attribute [rw] max_results
@@ -9531,8 +9675,8 @@ module Aws::IoT
9531
9675
  # @return [Array<Types::GroupNameAndArn>]
9532
9676
  #
9533
9677
  # @!attribute [rw] next_token
9534
- # The token used to get the next set of results, or **null** if there
9535
- # are no additional results.
9678
+ # The token to use to get the next set of results, or **null** if
9679
+ # there are no additional results.
9536
9680
  # @return [String]
9537
9681
  #
9538
9682
  class ListBillingGroupsResponse < Struct.new(
@@ -9880,6 +10024,7 @@ module Aws::IoT
9880
10024
  # {
9881
10025
  # thing_name: "ThingName", # required
9882
10026
  # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
10027
+ # namespace_id: "NamespaceId",
9883
10028
  # max_results: 1,
9884
10029
  # next_token: "NextToken",
9885
10030
  # }
@@ -9893,6 +10038,20 @@ module Aws::IoT
9893
10038
  # specified status.
9894
10039
  # @return [String]
9895
10040
  #
10041
+ # @!attribute [rw] namespace_id
10042
+ # The namespace used to indicate that a job is a customer-managed job.
10043
+ #
10044
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
10045
+ # notifications to MQTT topics that contain the value in the following
10046
+ # format.
10047
+ #
10048
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
10049
+ #
10050
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
10051
+ #
10052
+ # </note>
10053
+ # @return [String]
10054
+ #
9896
10055
  # @!attribute [rw] max_results
9897
10056
  # The maximum number of results to be returned per request.
9898
10057
  # @return [Integer]
@@ -9904,6 +10063,7 @@ module Aws::IoT
9904
10063
  class ListJobExecutionsForThingRequest < Struct.new(
9905
10064
  :thing_name,
9906
10065
  :status,
10066
+ :namespace_id,
9907
10067
  :max_results,
9908
10068
  :next_token)
9909
10069
  SENSITIVE = []
@@ -9936,6 +10096,7 @@ module Aws::IoT
9936
10096
  # next_token: "NextToken",
9937
10097
  # thing_group_name: "ThingGroupName",
9938
10098
  # thing_group_id: "ThingGroupId",
10099
+ # namespace_id: "NamespaceId",
9939
10100
  # }
9940
10101
  #
9941
10102
  # @!attribute [rw] status
@@ -9970,13 +10131,28 @@ module Aws::IoT
9970
10131
  # group.
9971
10132
  # @return [String]
9972
10133
  #
10134
+ # @!attribute [rw] namespace_id
10135
+ # The namespace used to indicate that a job is a customer-managed job.
10136
+ #
10137
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
10138
+ # notifications to MQTT topics that contain the value in the following
10139
+ # format.
10140
+ #
10141
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
10142
+ #
10143
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
10144
+ #
10145
+ # </note>
10146
+ # @return [String]
10147
+ #
9973
10148
  class ListJobsRequest < Struct.new(
9974
10149
  :status,
9975
10150
  :target_selection,
9976
10151
  :max_results,
9977
10152
  :next_token,
9978
10153
  :thing_group_name,
9979
- :thing_group_id)
10154
+ :thing_group_id,
10155
+ :namespace_id)
9980
10156
  SENSITIVE = []
9981
10157
  include Aws::Structure
9982
10158
  end
@@ -10345,7 +10521,9 @@ module Aws::IoT
10345
10521
  # }
10346
10522
  #
10347
10523
  # @!attribute [rw] next_token
10348
- # The token to retrieve the next set of results.
10524
+ # To retrieve the next set of results, the `nextToken` value from a
10525
+ # previous response; otherwise **null** to receive the first set of
10526
+ # results.
10349
10527
  # @return [String]
10350
10528
  #
10351
10529
  # @!attribute [rw] max_results
@@ -10371,8 +10549,8 @@ module Aws::IoT
10371
10549
  # @return [Array<String>]
10372
10550
  #
10373
10551
  # @!attribute [rw] next_token
10374
- # The token used to get the next set of results, or **null** if there
10375
- # are no additional results.
10552
+ # The token to use to get the next set of results, or **null** if
10553
+ # there are no additional results.
10376
10554
  # @return [String]
10377
10555
  #
10378
10556
  class ListPrincipalThingsResponse < Struct.new(
@@ -10703,7 +10881,9 @@ module Aws::IoT
10703
10881
  # @return [String]
10704
10882
  #
10705
10883
  # @!attribute [rw] next_token
10706
- # The token to retrieve the next set of results.
10884
+ # To retrieve the next set of results, the `nextToken` value from a
10885
+ # previous response; otherwise **null** to receive the first set of
10886
+ # results.
10707
10887
  # @return [String]
10708
10888
  #
10709
10889
  class ListTagsForResourceRequest < Struct.new(
@@ -10718,8 +10898,8 @@ module Aws::IoT
10718
10898
  # @return [Array<Types::Tag>]
10719
10899
  #
10720
10900
  # @!attribute [rw] next_token
10721
- # The token used to get the next set of results, or **null** if there
10722
- # are no additional results.
10901
+ # The token to use to get the next set of results, or **null** if
10902
+ # there are no additional results.
10723
10903
  # @return [String]
10724
10904
  #
10725
10905
  class ListTagsForResourceResponse < Struct.new(
@@ -10832,7 +11012,9 @@ module Aws::IoT
10832
11012
  # @return [String]
10833
11013
  #
10834
11014
  # @!attribute [rw] next_token
10835
- # The token to retrieve the next set of results.
11015
+ # To retrieve the next set of results, the `nextToken` value from a
11016
+ # previous response; otherwise **null** to receive the first set of
11017
+ # results.
10836
11018
  # @return [String]
10837
11019
  #
10838
11020
  # @!attribute [rw] max_results
@@ -10852,8 +11034,8 @@ module Aws::IoT
10852
11034
  # @return [Array<Types::GroupNameAndArn>]
10853
11035
  #
10854
11036
  # @!attribute [rw] next_token
10855
- # The token used to get the next set of results, or **null** if there
10856
- # are no additional results.
11037
+ # The token to use to get the next set of results, or **null** if
11038
+ # there are no additional results.
10857
11039
  # @return [String]
10858
11040
  #
10859
11041
  class ListThingGroupsForThingResponse < Struct.new(
@@ -10875,7 +11057,9 @@ module Aws::IoT
10875
11057
  # }
10876
11058
  #
10877
11059
  # @!attribute [rw] next_token
10878
- # The token to retrieve the next set of results.
11060
+ # To retrieve the next set of results, the `nextToken` value from a
11061
+ # previous response; otherwise **null** to receive the first set of
11062
+ # results.
10879
11063
  # @return [String]
10880
11064
  #
10881
11065
  # @!attribute [rw] max_results
@@ -10911,8 +11095,8 @@ module Aws::IoT
10911
11095
  # @return [Array<Types::GroupNameAndArn>]
10912
11096
  #
10913
11097
  # @!attribute [rw] next_token
10914
- # The token used to get the next set of results. Will not be returned
10915
- # if operation has returned all results.
11098
+ # The token to use to get the next set of results. Will not be
11099
+ # returned if operation has returned all results.
10916
11100
  # @return [String]
10917
11101
  #
10918
11102
  class ListThingGroupsResponse < Struct.new(
@@ -10928,14 +11112,28 @@ module Aws::IoT
10928
11112
  # data as a hash:
10929
11113
  #
10930
11114
  # {
11115
+ # next_token: "NextToken",
11116
+ # max_results: 1,
10931
11117
  # thing_name: "ThingName", # required
10932
11118
  # }
10933
11119
  #
11120
+ # @!attribute [rw] next_token
11121
+ # To retrieve the next set of results, the `nextToken` value from a
11122
+ # previous response; otherwise **null** to receive the first set of
11123
+ # results.
11124
+ # @return [String]
11125
+ #
11126
+ # @!attribute [rw] max_results
11127
+ # The maximum number of results to return in this operation.
11128
+ # @return [Integer]
11129
+ #
10934
11130
  # @!attribute [rw] thing_name
10935
11131
  # The name of the thing.
10936
11132
  # @return [String]
10937
11133
  #
10938
11134
  class ListThingPrincipalsRequest < Struct.new(
11135
+ :next_token,
11136
+ :max_results,
10939
11137
  :thing_name)
10940
11138
  SENSITIVE = []
10941
11139
  include Aws::Structure
@@ -10947,8 +11145,14 @@ module Aws::IoT
10947
11145
  # The principals associated with the thing.
10948
11146
  # @return [Array<String>]
10949
11147
  #
11148
+ # @!attribute [rw] next_token
11149
+ # The token to use to get the next set of results, or **null** if
11150
+ # there are no additional results.
11151
+ # @return [String]
11152
+ #
10950
11153
  class ListThingPrincipalsResponse < Struct.new(
10951
- :principals)
11154
+ :principals,
11155
+ :next_token)
10952
11156
  SENSITIVE = []
10953
11157
  include Aws::Structure
10954
11158
  end
@@ -10972,7 +11176,9 @@ module Aws::IoT
10972
11176
  # @return [String]
10973
11177
  #
10974
11178
  # @!attribute [rw] next_token
10975
- # The token to retrieve the next set of results.
11179
+ # To retrieve the next set of results, the `nextToken` value from a
11180
+ # previous response; otherwise **null** to receive the first set of
11181
+ # results.
10976
11182
  # @return [String]
10977
11183
  #
10978
11184
  # @!attribute [rw] max_results
@@ -10997,8 +11203,8 @@ module Aws::IoT
10997
11203
  # @return [String]
10998
11204
  #
10999
11205
  # @!attribute [rw] next_token
11000
- # The token used to get the next set of results, or **null** if there
11001
- # are no additional results.
11206
+ # The token to use to get the next set of results, or **null** if
11207
+ # there are no additional results.
11002
11208
  # @return [String]
11003
11209
  #
11004
11210
  class ListThingRegistrationTaskReportsResponse < Struct.new(
@@ -11019,7 +11225,9 @@ module Aws::IoT
11019
11225
  # }
11020
11226
  #
11021
11227
  # @!attribute [rw] next_token
11022
- # The token to retrieve the next set of results.
11228
+ # To retrieve the next set of results, the `nextToken` value from a
11229
+ # previous response; otherwise **null** to receive the first set of
11230
+ # results.
11023
11231
  # @return [String]
11024
11232
  #
11025
11233
  # @!attribute [rw] max_results
@@ -11043,8 +11251,8 @@ module Aws::IoT
11043
11251
  # @return [Array<String>]
11044
11252
  #
11045
11253
  # @!attribute [rw] next_token
11046
- # The token used to get the next set of results, or **null** if there
11047
- # are no additional results.
11254
+ # The token to use to get the next set of results, or **null** if
11255
+ # there are no additional results.
11048
11256
  # @return [String]
11049
11257
  #
11050
11258
  class ListThingRegistrationTasksResponse < Struct.new(
@@ -11066,7 +11274,9 @@ module Aws::IoT
11066
11274
  # }
11067
11275
  #
11068
11276
  # @!attribute [rw] next_token
11069
- # The token to retrieve the next set of results.
11277
+ # To retrieve the next set of results, the `nextToken` value from a
11278
+ # previous response; otherwise **null** to receive the first set of
11279
+ # results.
11070
11280
  # @return [String]
11071
11281
  #
11072
11282
  # @!attribute [rw] max_results
@@ -11117,7 +11327,9 @@ module Aws::IoT
11117
11327
  # @return [String]
11118
11328
  #
11119
11329
  # @!attribute [rw] next_token
11120
- # The token to retrieve the next set of results.
11330
+ # To retrieve the next set of results, the `nextToken` value from a
11331
+ # previous response; otherwise **null** to receive the first set of
11332
+ # results.
11121
11333
  # @return [String]
11122
11334
  #
11123
11335
  # @!attribute [rw] max_results
@@ -11137,8 +11349,8 @@ module Aws::IoT
11137
11349
  # @return [Array<String>]
11138
11350
  #
11139
11351
  # @!attribute [rw] next_token
11140
- # The token used to get the next set of results. Will not be returned
11141
- # if operation has returned all results.
11352
+ # The token to use to get the next set of results. Will not be
11353
+ # returned if operation has returned all results.
11142
11354
  # @return [String]
11143
11355
  #
11144
11356
  class ListThingsInBillingGroupResponse < Struct.new(
@@ -11168,7 +11380,9 @@ module Aws::IoT
11168
11380
  # @return [Boolean]
11169
11381
  #
11170
11382
  # @!attribute [rw] next_token
11171
- # The token to retrieve the next set of results.
11383
+ # To retrieve the next set of results, the `nextToken` value from a
11384
+ # previous response; otherwise **null** to receive the first set of
11385
+ # results.
11172
11386
  # @return [String]
11173
11387
  #
11174
11388
  # @!attribute [rw] max_results
@@ -11189,8 +11403,8 @@ module Aws::IoT
11189
11403
  # @return [Array<String>]
11190
11404
  #
11191
11405
  # @!attribute [rw] next_token
11192
- # The token used to get the next set of results, or **null** if there
11193
- # are no additional results.
11406
+ # The token to use to get the next set of results, or **null** if
11407
+ # there are no additional results.
11194
11408
  # @return [String]
11195
11409
  #
11196
11410
  class ListThingsInThingGroupResponse < Struct.new(
@@ -11214,7 +11428,9 @@ module Aws::IoT
11214
11428
  # }
11215
11429
  #
11216
11430
  # @!attribute [rw] next_token
11217
- # The token to retrieve the next set of results.
11431
+ # To retrieve the next set of results, the `nextToken` value from a
11432
+ # previous response; otherwise **null** to receive the first set of
11433
+ # results.
11218
11434
  # @return [String]
11219
11435
  #
11220
11436
  # @!attribute [rw] max_results
@@ -11250,8 +11466,8 @@ module Aws::IoT
11250
11466
  # @return [Array<Types::ThingAttribute>]
11251
11467
  #
11252
11468
  # @!attribute [rw] next_token
11253
- # The token used to get the next set of results. Will not be returned
11254
- # if operation has returned all results.
11469
+ # The token to use to get the next set of results. Will not be
11470
+ # returned if operation has returned all results.
11255
11471
  # @return [String]
11256
11472
  #
11257
11473
  class ListThingsResponse < Struct.new(
@@ -11274,7 +11490,9 @@ module Aws::IoT
11274
11490
  # @return [Integer]
11275
11491
  #
11276
11492
  # @!attribute [rw] next_token
11277
- # The token to retrieve the next set of results.
11493
+ # To retrieve the next set of results, the `nextToken` value from a
11494
+ # previous response; otherwise **null** to receive the first set of
11495
+ # results.
11278
11496
  # @return [String]
11279
11497
  #
11280
11498
  class ListTopicRuleDestinationsRequest < Struct.new(
@@ -11289,7 +11507,8 @@ module Aws::IoT
11289
11507
  # @return [Array<Types::TopicRuleDestinationSummary>]
11290
11508
  #
11291
11509
  # @!attribute [rw] next_token
11292
- # The token to retrieve the next set of results.
11510
+ # The token to use to get the next set of results, or **null** if
11511
+ # there are no additional results.
11293
11512
  # @return [String]
11294
11513
  #
11295
11514
  class ListTopicRuleDestinationsResponse < Struct.new(
@@ -11320,7 +11539,9 @@ module Aws::IoT
11320
11539
  # @return [Integer]
11321
11540
  #
11322
11541
  # @!attribute [rw] next_token
11323
- # A token used to retrieve the next value.
11542
+ # To retrieve the next set of results, the `nextToken` value from a
11543
+ # previous response; otherwise **null** to receive the first set of
11544
+ # results.
11324
11545
  # @return [String]
11325
11546
  #
11326
11547
  # @!attribute [rw] rule_disabled
@@ -11343,7 +11564,8 @@ module Aws::IoT
11343
11564
  # @return [Array<Types::TopicRuleListItem>]
11344
11565
  #
11345
11566
  # @!attribute [rw] next_token
11346
- # A token used to retrieve the next value.
11567
+ # The token to use to get the next set of results, or **null** if
11568
+ # there are no additional results.
11347
11569
  # @return [String]
11348
11570
  #
11349
11571
  class ListTopicRulesResponse < Struct.new(
@@ -11368,8 +11590,9 @@ module Aws::IoT
11368
11590
  # @return [String]
11369
11591
  #
11370
11592
  # @!attribute [rw] next_token
11371
- # The token used to get the next set of results, or **null** if there
11372
- # are no additional results.
11593
+ # To retrieve the next set of results, the `nextToken` value from a
11594
+ # previous response; otherwise **null** to receive the first set of
11595
+ # results.
11373
11596
  # @return [String]
11374
11597
  #
11375
11598
  # @!attribute [rw] max_results
@@ -11389,8 +11612,8 @@ module Aws::IoT
11389
11612
  # @return [Array<Types::LogTargetConfiguration>]
11390
11613
  #
11391
11614
  # @!attribute [rw] next_token
11392
- # The token used to get the next set of results, or **null** if there
11393
- # are no additional results.
11615
+ # The token to use to get the next set of results, or **null** if
11616
+ # there are no additional results.
11394
11617
  # @return [String]
11395
11618
  #
11396
11619
  class ListV2LoggingLevelsResponse < Struct.new(
@@ -12948,6 +13171,21 @@ module Aws::IoT
12948
13171
  # state_machine_name: "StateMachineName", # required
12949
13172
  # role_arn: "AwsArn", # required
12950
13173
  # },
13174
+ # timestream: {
13175
+ # role_arn: "AwsArn", # required
13176
+ # database_name: "TimestreamDatabaseName", # required
13177
+ # table_name: "TimestreamTableName", # required
13178
+ # dimensions: [ # required
13179
+ # {
13180
+ # name: "TimestreamDimensionName", # required
13181
+ # value: "TimestreamDimensionValue", # required
13182
+ # },
13183
+ # ],
13184
+ # timestamp: {
13185
+ # value: "TimestreamTimestampValue", # required
13186
+ # unit: "TimestreamTimestampUnit", # required
13187
+ # },
13188
+ # },
12951
13189
  # http: {
12952
13190
  # url: "Url", # required
12953
13191
  # confirmation_url: "Url",
@@ -13092,6 +13330,21 @@ module Aws::IoT
13092
13330
  # state_machine_name: "StateMachineName", # required
13093
13331
  # role_arn: "AwsArn", # required
13094
13332
  # },
13333
+ # timestream: {
13334
+ # role_arn: "AwsArn", # required
13335
+ # database_name: "TimestreamDatabaseName", # required
13336
+ # table_name: "TimestreamTableName", # required
13337
+ # dimensions: [ # required
13338
+ # {
13339
+ # name: "TimestreamDimensionName", # required
13340
+ # value: "TimestreamDimensionValue", # required
13341
+ # },
13342
+ # ],
13343
+ # timestamp: {
13344
+ # value: "TimestreamTimestampValue", # required
13345
+ # unit: "TimestreamTimestampUnit", # required
13346
+ # },
13347
+ # },
13095
13348
  # http: {
13096
13349
  # url: "Url", # required
13097
13350
  # confirmation_url: "Url",
@@ -15071,6 +15324,136 @@ module Aws::IoT
15071
15324
  include Aws::Structure
15072
15325
  end
15073
15326
 
15327
+ # The Timestream rule action writes attributes (measures) from an MQTT
15328
+ # message into an Amazon Timestream table. For more information, see the
15329
+ # [Timestream][1] topic rule action documentation.
15330
+ #
15331
+ #
15332
+ #
15333
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html
15334
+ #
15335
+ # @note When making an API call, you may pass TimestreamAction
15336
+ # data as a hash:
15337
+ #
15338
+ # {
15339
+ # role_arn: "AwsArn", # required
15340
+ # database_name: "TimestreamDatabaseName", # required
15341
+ # table_name: "TimestreamTableName", # required
15342
+ # dimensions: [ # required
15343
+ # {
15344
+ # name: "TimestreamDimensionName", # required
15345
+ # value: "TimestreamDimensionValue", # required
15346
+ # },
15347
+ # ],
15348
+ # timestamp: {
15349
+ # value: "TimestreamTimestampValue", # required
15350
+ # unit: "TimestreamTimestampUnit", # required
15351
+ # },
15352
+ # }
15353
+ #
15354
+ # @!attribute [rw] role_arn
15355
+ # The ARN of the role that grants permission to write to the Amazon
15356
+ # Timestream database table.
15357
+ # @return [String]
15358
+ #
15359
+ # @!attribute [rw] database_name
15360
+ # The name of an Amazon Timestream database.
15361
+ # @return [String]
15362
+ #
15363
+ # @!attribute [rw] table_name
15364
+ # The name of the database table into which to write the measure
15365
+ # records.
15366
+ # @return [String]
15367
+ #
15368
+ # @!attribute [rw] dimensions
15369
+ # Metadata attributes of the time series that are written in each
15370
+ # measure record.
15371
+ # @return [Array<Types::TimestreamDimension>]
15372
+ #
15373
+ # @!attribute [rw] timestamp
15374
+ # Specifies an application-defined value to replace the default value
15375
+ # assigned to the Timestream record's timestamp in the `time` column.
15376
+ #
15377
+ # You can use this property to specify the value and the precision of
15378
+ # the Timestream record's timestamp. You can specify a value from the
15379
+ # message payload or a value computed by a substitution template.
15380
+ #
15381
+ # If omitted, the topic rule action assigns the timestamp, in
15382
+ # milliseconds, at the time it processed the rule.
15383
+ # @return [Types::TimestreamTimestamp]
15384
+ #
15385
+ class TimestreamAction < Struct.new(
15386
+ :role_arn,
15387
+ :database_name,
15388
+ :table_name,
15389
+ :dimensions,
15390
+ :timestamp)
15391
+ SENSITIVE = []
15392
+ include Aws::Structure
15393
+ end
15394
+
15395
+ # Metadata attributes of the time series that are written in each
15396
+ # measure record.
15397
+ #
15398
+ # @note When making an API call, you may pass TimestreamDimension
15399
+ # data as a hash:
15400
+ #
15401
+ # {
15402
+ # name: "TimestreamDimensionName", # required
15403
+ # value: "TimestreamDimensionValue", # required
15404
+ # }
15405
+ #
15406
+ # @!attribute [rw] name
15407
+ # The metadata dimension name. This is the name of the column in the
15408
+ # Amazon Timestream database table record.
15409
+ #
15410
+ # Dimensions cannot be named: `measure_name`, `measure_value`, or
15411
+ # `time`. These names are reserved. Dimension names cannot start with
15412
+ # `ts_` or `measure_value` and they cannot contain the colon (`:`)
15413
+ # character.
15414
+ # @return [String]
15415
+ #
15416
+ # @!attribute [rw] value
15417
+ # The value to write in this column of the database record.
15418
+ # @return [String]
15419
+ #
15420
+ class TimestreamDimension < Struct.new(
15421
+ :name,
15422
+ :value)
15423
+ SENSITIVE = []
15424
+ include Aws::Structure
15425
+ end
15426
+
15427
+ # Describes how to interpret an application-defined timestamp value from
15428
+ # an MQTT message payload and the precision of that value.
15429
+ #
15430
+ # @note When making an API call, you may pass TimestreamTimestamp
15431
+ # data as a hash:
15432
+ #
15433
+ # {
15434
+ # value: "TimestreamTimestampValue", # required
15435
+ # unit: "TimestreamTimestampUnit", # required
15436
+ # }
15437
+ #
15438
+ # @!attribute [rw] value
15439
+ # An expression that returns a long epoch time value.
15440
+ # @return [String]
15441
+ #
15442
+ # @!attribute [rw] unit
15443
+ # The precision of the timestamp value that results from the
15444
+ # expression described in `value`.
15445
+ #
15446
+ # Valid values: `SECONDS` \| `MILLISECONDS` \| `MICROSECONDS` \|
15447
+ # `NANOSECONDS`. The default is `MILLISECONDS`.
15448
+ # @return [String]
15449
+ #
15450
+ class TimestreamTimestamp < Struct.new(
15451
+ :value,
15452
+ :unit)
15453
+ SENSITIVE = []
15454
+ include Aws::Structure
15455
+ end
15456
+
15074
15457
  # Specifies the TLS context to use for the test authorizer request.
15075
15458
  #
15076
15459
  # @note When making an API call, you may pass TlsContext
@@ -15436,6 +15819,21 @@ module Aws::IoT
15436
15819
  # state_machine_name: "StateMachineName", # required
15437
15820
  # role_arn: "AwsArn", # required
15438
15821
  # },
15822
+ # timestream: {
15823
+ # role_arn: "AwsArn", # required
15824
+ # database_name: "TimestreamDatabaseName", # required
15825
+ # table_name: "TimestreamTableName", # required
15826
+ # dimensions: [ # required
15827
+ # {
15828
+ # name: "TimestreamDimensionName", # required
15829
+ # value: "TimestreamDimensionValue", # required
15830
+ # },
15831
+ # ],
15832
+ # timestamp: {
15833
+ # value: "TimestreamTimestampValue", # required
15834
+ # unit: "TimestreamTimestampUnit", # required
15835
+ # },
15836
+ # },
15439
15837
  # http: {
15440
15838
  # url: "Url", # required
15441
15839
  # confirmation_url: "Url",
@@ -15580,6 +15978,21 @@ module Aws::IoT
15580
15978
  # state_machine_name: "StateMachineName", # required
15581
15979
  # role_arn: "AwsArn", # required
15582
15980
  # },
15981
+ # timestream: {
15982
+ # role_arn: "AwsArn", # required
15983
+ # database_name: "TimestreamDatabaseName", # required
15984
+ # table_name: "TimestreamTableName", # required
15985
+ # dimensions: [ # required
15986
+ # {
15987
+ # name: "TimestreamDimensionName", # required
15988
+ # value: "TimestreamDimensionValue", # required
15989
+ # },
15990
+ # ],
15991
+ # timestamp: {
15992
+ # value: "TimestreamTimestampValue", # required
15993
+ # unit: "TimestreamTimestampUnit", # required
15994
+ # },
15995
+ # },
15583
15996
  # http: {
15584
15997
  # url: "Url", # required
15585
15998
  # confirmation_url: "Url",
@@ -15606,7 +16019,7 @@ module Aws::IoT
15606
16019
  #
15607
16020
  #
15608
16021
  #
15609
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference
16022
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html
15610
16023
  # @return [String]
15611
16024
  #
15612
16025
  # @!attribute [rw] description
@@ -16427,6 +16840,7 @@ module Aws::IoT
16427
16840
  # timeout_config: {
16428
16841
  # in_progress_timeout_in_minutes: 1,
16429
16842
  # },
16843
+ # namespace_id: "NamespaceId",
16430
16844
  # }
16431
16845
  #
16432
16846
  # @!attribute [rw] job_id
@@ -16457,13 +16871,28 @@ module Aws::IoT
16457
16871
  # automatically set to `TIMED_OUT`.
16458
16872
  # @return [Types::TimeoutConfig]
16459
16873
  #
16874
+ # @!attribute [rw] namespace_id
16875
+ # The namespace used to indicate that a job is a customer-managed job.
16876
+ #
16877
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
16878
+ # notifications to MQTT topics that contain the value in the following
16879
+ # format.
16880
+ #
16881
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
16882
+ #
16883
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
16884
+ #
16885
+ # </note>
16886
+ # @return [String]
16887
+ #
16460
16888
  class UpdateJobRequest < Struct.new(
16461
16889
  :job_id,
16462
16890
  :description,
16463
16891
  :presigned_url_config,
16464
16892
  :job_executions_rollout_config,
16465
16893
  :abort_config,
16466
- :timeout_config)
16894
+ :timeout_config,
16895
+ :namespace_id)
16467
16896
  SENSITIVE = []
16468
16897
  include Aws::Structure
16469
16898
  end
@@ -16773,12 +17202,12 @@ module Aws::IoT
16773
17202
  # @return [Hash<String,Types::AlertTarget>]
16774
17203
  #
16775
17204
  # @!attribute [rw] additional_metrics_to_retain
17205
+ # *Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2
17206
+ # instead.*
17207
+ #
16776
17208
  # A list of metrics whose data is retained (stored). By default, data
16777
17209
  # is retained for any metric used in the profile's `behaviors`, but
16778
17210
  # it is also retained for any metric specified here.
16779
- #
16780
- # **Note:** This API field is deprecated. Please use
16781
- # UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
16782
17211
  # @return [Array<String>]
16783
17212
  #
16784
17213
  # @!attribute [rw] additional_metrics_to_retain_v2
@@ -16849,12 +17278,12 @@ module Aws::IoT
16849
17278
  # @return [Hash<String,Types::AlertTarget>]
16850
17279
  #
16851
17280
  # @!attribute [rw] additional_metrics_to_retain
17281
+ # *Please use
17282
+ # UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.*
17283
+ #
16852
17284
  # A list of metrics whose data is retained (stored). By default, data
16853
17285
  # is retained for any metric used in the security profile's
16854
17286
  # `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
17287
  # @return [Array<String>]
16859
17288
  #
16860
17289
  # @!attribute [rw] additional_metrics_to_retain_v2