aws-sdk-iot 1.55.0 → 1.60.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"))
@@ -3835,6 +3855,23 @@ module Aws::IoT
3835
3855
  TimeoutConfig.add_member(:in_progress_timeout_in_minutes, Shapes::ShapeRef.new(shape: InProgressTimeoutInMinutes, location_name: "inProgressTimeoutInMinutes"))
3836
3856
  TimeoutConfig.struct_class = Types::TimeoutConfig
3837
3857
 
3858
+ TimestreamAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
3859
+ TimestreamAction.add_member(:database_name, Shapes::ShapeRef.new(shape: TimestreamDatabaseName, required: true, location_name: "databaseName"))
3860
+ TimestreamAction.add_member(:table_name, Shapes::ShapeRef.new(shape: TimestreamTableName, required: true, location_name: "tableName"))
3861
+ TimestreamAction.add_member(:dimensions, Shapes::ShapeRef.new(shape: TimestreamDimensionList, required: true, location_name: "dimensions"))
3862
+ TimestreamAction.add_member(:timestamp, Shapes::ShapeRef.new(shape: TimestreamTimestamp, location_name: "timestamp"))
3863
+ TimestreamAction.struct_class = Types::TimestreamAction
3864
+
3865
+ TimestreamDimension.add_member(:name, Shapes::ShapeRef.new(shape: TimestreamDimensionName, required: true, location_name: "name"))
3866
+ TimestreamDimension.add_member(:value, Shapes::ShapeRef.new(shape: TimestreamDimensionValue, required: true, location_name: "value"))
3867
+ TimestreamDimension.struct_class = Types::TimestreamDimension
3868
+
3869
+ TimestreamDimensionList.member = Shapes::ShapeRef.new(shape: TimestreamDimension)
3870
+
3871
+ TimestreamTimestamp.add_member(:value, Shapes::ShapeRef.new(shape: TimestreamTimestampValue, required: true, location_name: "value"))
3872
+ TimestreamTimestamp.add_member(:unit, Shapes::ShapeRef.new(shape: TimestreamTimestampUnit, required: true, location_name: "unit"))
3873
+ TimestreamTimestamp.struct_class = Types::TimestreamTimestamp
3874
+
3838
3875
  TlsContext.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "serverName"))
3839
3876
  TlsContext.struct_class = Types::TlsContext
3840
3877
 
@@ -4014,6 +4051,7 @@ module Aws::IoT
4014
4051
  UpdateJobRequest.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
4015
4052
  UpdateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
4016
4053
  UpdateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
4054
+ UpdateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
4017
4055
  UpdateJobRequest.struct_class = Types::UpdateJobRequest
4018
4056
 
4019
4057
  UpdateMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
@@ -4934,6 +4972,7 @@ module Aws::IoT
4934
4972
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4935
4973
  o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
4936
4974
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4975
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
4937
4976
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4938
4977
  end)
4939
4978
 
@@ -4948,6 +4987,7 @@ module Aws::IoT
4948
4987
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4949
4988
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4950
4989
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4990
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
4951
4991
  o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
4952
4992
  end)
4953
4993
 
@@ -6810,6 +6850,7 @@ module Aws::IoT
6810
6850
  o.errors << Shapes::ShapeRef.new(shape: NotConfiguredException)
6811
6851
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6812
6852
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6853
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
6813
6854
  end)
6814
6855
 
6815
6856
  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
  #
@@ -9880,6 +10022,7 @@ module Aws::IoT
9880
10022
  # {
9881
10023
  # thing_name: "ThingName", # required
9882
10024
  # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
10025
+ # namespace_id: "NamespaceId",
9883
10026
  # max_results: 1,
9884
10027
  # next_token: "NextToken",
9885
10028
  # }
@@ -9893,6 +10036,20 @@ module Aws::IoT
9893
10036
  # specified status.
9894
10037
  # @return [String]
9895
10038
  #
10039
+ # @!attribute [rw] namespace_id
10040
+ # The namespace used to indicate that a job is a customer-managed job.
10041
+ #
10042
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
10043
+ # notifications to MQTT topics that contain the value in the following
10044
+ # format.
10045
+ #
10046
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
10047
+ #
10048
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
10049
+ #
10050
+ # </note>
10051
+ # @return [String]
10052
+ #
9896
10053
  # @!attribute [rw] max_results
9897
10054
  # The maximum number of results to be returned per request.
9898
10055
  # @return [Integer]
@@ -9904,6 +10061,7 @@ module Aws::IoT
9904
10061
  class ListJobExecutionsForThingRequest < Struct.new(
9905
10062
  :thing_name,
9906
10063
  :status,
10064
+ :namespace_id,
9907
10065
  :max_results,
9908
10066
  :next_token)
9909
10067
  SENSITIVE = []
@@ -9936,6 +10094,7 @@ module Aws::IoT
9936
10094
  # next_token: "NextToken",
9937
10095
  # thing_group_name: "ThingGroupName",
9938
10096
  # thing_group_id: "ThingGroupId",
10097
+ # namespace_id: "NamespaceId",
9939
10098
  # }
9940
10099
  #
9941
10100
  # @!attribute [rw] status
@@ -9970,13 +10129,28 @@ module Aws::IoT
9970
10129
  # group.
9971
10130
  # @return [String]
9972
10131
  #
10132
+ # @!attribute [rw] namespace_id
10133
+ # The namespace used to indicate that a job is a customer-managed job.
10134
+ #
10135
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
10136
+ # notifications to MQTT topics that contain the value in the following
10137
+ # format.
10138
+ #
10139
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
10140
+ #
10141
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
10142
+ #
10143
+ # </note>
10144
+ # @return [String]
10145
+ #
9973
10146
  class ListJobsRequest < Struct.new(
9974
10147
  :status,
9975
10148
  :target_selection,
9976
10149
  :max_results,
9977
10150
  :next_token,
9978
10151
  :thing_group_name,
9979
- :thing_group_id)
10152
+ :thing_group_id,
10153
+ :namespace_id)
9980
10154
  SENSITIVE = []
9981
10155
  include Aws::Structure
9982
10156
  end
@@ -12948,6 +13122,21 @@ module Aws::IoT
12948
13122
  # state_machine_name: "StateMachineName", # required
12949
13123
  # role_arn: "AwsArn", # required
12950
13124
  # },
13125
+ # timestream: {
13126
+ # role_arn: "AwsArn", # required
13127
+ # database_name: "TimestreamDatabaseName", # required
13128
+ # table_name: "TimestreamTableName", # required
13129
+ # dimensions: [ # required
13130
+ # {
13131
+ # name: "TimestreamDimensionName", # required
13132
+ # value: "TimestreamDimensionValue", # required
13133
+ # },
13134
+ # ],
13135
+ # timestamp: {
13136
+ # value: "TimestreamTimestampValue", # required
13137
+ # unit: "TimestreamTimestampUnit", # required
13138
+ # },
13139
+ # },
12951
13140
  # http: {
12952
13141
  # url: "Url", # required
12953
13142
  # confirmation_url: "Url",
@@ -13092,6 +13281,21 @@ module Aws::IoT
13092
13281
  # state_machine_name: "StateMachineName", # required
13093
13282
  # role_arn: "AwsArn", # required
13094
13283
  # },
13284
+ # timestream: {
13285
+ # role_arn: "AwsArn", # required
13286
+ # database_name: "TimestreamDatabaseName", # required
13287
+ # table_name: "TimestreamTableName", # required
13288
+ # dimensions: [ # required
13289
+ # {
13290
+ # name: "TimestreamDimensionName", # required
13291
+ # value: "TimestreamDimensionValue", # required
13292
+ # },
13293
+ # ],
13294
+ # timestamp: {
13295
+ # value: "TimestreamTimestampValue", # required
13296
+ # unit: "TimestreamTimestampUnit", # required
13297
+ # },
13298
+ # },
13095
13299
  # http: {
13096
13300
  # url: "Url", # required
13097
13301
  # confirmation_url: "Url",
@@ -15071,6 +15275,136 @@ module Aws::IoT
15071
15275
  include Aws::Structure
15072
15276
  end
15073
15277
 
15278
+ # The Timestream rule action writes attributes (measures) from an MQTT
15279
+ # message into an Amazon Timestream table. For more information, see the
15280
+ # [Timestream][1] topic rule action documentation.
15281
+ #
15282
+ #
15283
+ #
15284
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/timestream-rule-action.html
15285
+ #
15286
+ # @note When making an API call, you may pass TimestreamAction
15287
+ # data as a hash:
15288
+ #
15289
+ # {
15290
+ # role_arn: "AwsArn", # required
15291
+ # database_name: "TimestreamDatabaseName", # required
15292
+ # table_name: "TimestreamTableName", # required
15293
+ # dimensions: [ # required
15294
+ # {
15295
+ # name: "TimestreamDimensionName", # required
15296
+ # value: "TimestreamDimensionValue", # required
15297
+ # },
15298
+ # ],
15299
+ # timestamp: {
15300
+ # value: "TimestreamTimestampValue", # required
15301
+ # unit: "TimestreamTimestampUnit", # required
15302
+ # },
15303
+ # }
15304
+ #
15305
+ # @!attribute [rw] role_arn
15306
+ # The ARN of the role that grants permission to write to the Amazon
15307
+ # Timestream database table.
15308
+ # @return [String]
15309
+ #
15310
+ # @!attribute [rw] database_name
15311
+ # The name of an Amazon Timestream database.
15312
+ # @return [String]
15313
+ #
15314
+ # @!attribute [rw] table_name
15315
+ # The name of the database table into which to write the measure
15316
+ # records.
15317
+ # @return [String]
15318
+ #
15319
+ # @!attribute [rw] dimensions
15320
+ # Metadata attributes of the time series that are written in each
15321
+ # measure record.
15322
+ # @return [Array<Types::TimestreamDimension>]
15323
+ #
15324
+ # @!attribute [rw] timestamp
15325
+ # Specifies an application-defined value to replace the default value
15326
+ # assigned to the Timestream record's timestamp in the `time` column.
15327
+ #
15328
+ # You can use this property to specify the value and the precision of
15329
+ # the Timestream record's timestamp. You can specify a value from the
15330
+ # message payload or a value computed by a substitution template.
15331
+ #
15332
+ # If omitted, the topic rule action assigns the timestamp, in
15333
+ # milliseconds, at the time it processed the rule.
15334
+ # @return [Types::TimestreamTimestamp]
15335
+ #
15336
+ class TimestreamAction < Struct.new(
15337
+ :role_arn,
15338
+ :database_name,
15339
+ :table_name,
15340
+ :dimensions,
15341
+ :timestamp)
15342
+ SENSITIVE = []
15343
+ include Aws::Structure
15344
+ end
15345
+
15346
+ # Metadata attributes of the time series that are written in each
15347
+ # measure record.
15348
+ #
15349
+ # @note When making an API call, you may pass TimestreamDimension
15350
+ # data as a hash:
15351
+ #
15352
+ # {
15353
+ # name: "TimestreamDimensionName", # required
15354
+ # value: "TimestreamDimensionValue", # required
15355
+ # }
15356
+ #
15357
+ # @!attribute [rw] name
15358
+ # The metadata dimension name. This is the name of the column in the
15359
+ # Amazon Timestream database table record.
15360
+ #
15361
+ # Dimensions cannot be named: `measure_name`, `measure_value`, or
15362
+ # `time`. These names are reserved. Dimension names cannot start with
15363
+ # `ts_` or `measure_value` and they cannot contain the colon (`:`)
15364
+ # character.
15365
+ # @return [String]
15366
+ #
15367
+ # @!attribute [rw] value
15368
+ # The value to write in this column of the database record.
15369
+ # @return [String]
15370
+ #
15371
+ class TimestreamDimension < Struct.new(
15372
+ :name,
15373
+ :value)
15374
+ SENSITIVE = []
15375
+ include Aws::Structure
15376
+ end
15377
+
15378
+ # Describes how to interpret an application-defined timestamp value from
15379
+ # an MQTT message payload and the precision of that value.
15380
+ #
15381
+ # @note When making an API call, you may pass TimestreamTimestamp
15382
+ # data as a hash:
15383
+ #
15384
+ # {
15385
+ # value: "TimestreamTimestampValue", # required
15386
+ # unit: "TimestreamTimestampUnit", # required
15387
+ # }
15388
+ #
15389
+ # @!attribute [rw] value
15390
+ # An expression that returns a long epoch time value.
15391
+ # @return [String]
15392
+ #
15393
+ # @!attribute [rw] unit
15394
+ # The precision of the timestamp value that results from the
15395
+ # expression described in `value`.
15396
+ #
15397
+ # Valid values: `SECONDS` \| `MILLISECONDS` \| `MICROSECONDS` \|
15398
+ # `NANOSECONDS`. The default is `MILLISECONDS`.
15399
+ # @return [String]
15400
+ #
15401
+ class TimestreamTimestamp < Struct.new(
15402
+ :value,
15403
+ :unit)
15404
+ SENSITIVE = []
15405
+ include Aws::Structure
15406
+ end
15407
+
15074
15408
  # Specifies the TLS context to use for the test authorizer request.
15075
15409
  #
15076
15410
  # @note When making an API call, you may pass TlsContext
@@ -15436,6 +15770,21 @@ module Aws::IoT
15436
15770
  # state_machine_name: "StateMachineName", # required
15437
15771
  # role_arn: "AwsArn", # required
15438
15772
  # },
15773
+ # timestream: {
15774
+ # role_arn: "AwsArn", # required
15775
+ # database_name: "TimestreamDatabaseName", # required
15776
+ # table_name: "TimestreamTableName", # required
15777
+ # dimensions: [ # required
15778
+ # {
15779
+ # name: "TimestreamDimensionName", # required
15780
+ # value: "TimestreamDimensionValue", # required
15781
+ # },
15782
+ # ],
15783
+ # timestamp: {
15784
+ # value: "TimestreamTimestampValue", # required
15785
+ # unit: "TimestreamTimestampUnit", # required
15786
+ # },
15787
+ # },
15439
15788
  # http: {
15440
15789
  # url: "Url", # required
15441
15790
  # confirmation_url: "Url",
@@ -15580,6 +15929,21 @@ module Aws::IoT
15580
15929
  # state_machine_name: "StateMachineName", # required
15581
15930
  # role_arn: "AwsArn", # required
15582
15931
  # },
15932
+ # timestream: {
15933
+ # role_arn: "AwsArn", # required
15934
+ # database_name: "TimestreamDatabaseName", # required
15935
+ # table_name: "TimestreamTableName", # required
15936
+ # dimensions: [ # required
15937
+ # {
15938
+ # name: "TimestreamDimensionName", # required
15939
+ # value: "TimestreamDimensionValue", # required
15940
+ # },
15941
+ # ],
15942
+ # timestamp: {
15943
+ # value: "TimestreamTimestampValue", # required
15944
+ # unit: "TimestreamTimestampUnit", # required
15945
+ # },
15946
+ # },
15583
15947
  # http: {
15584
15948
  # url: "Url", # required
15585
15949
  # confirmation_url: "Url",
@@ -15606,7 +15970,7 @@ module Aws::IoT
15606
15970
  #
15607
15971
  #
15608
15972
  #
15609
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference
15973
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html
15610
15974
  # @return [String]
15611
15975
  #
15612
15976
  # @!attribute [rw] description
@@ -16427,6 +16791,7 @@ module Aws::IoT
16427
16791
  # timeout_config: {
16428
16792
  # in_progress_timeout_in_minutes: 1,
16429
16793
  # },
16794
+ # namespace_id: "NamespaceId",
16430
16795
  # }
16431
16796
  #
16432
16797
  # @!attribute [rw] job_id
@@ -16457,13 +16822,28 @@ module Aws::IoT
16457
16822
  # automatically set to `TIMED_OUT`.
16458
16823
  # @return [Types::TimeoutConfig]
16459
16824
  #
16825
+ # @!attribute [rw] namespace_id
16826
+ # The namespace used to indicate that a job is a customer-managed job.
16827
+ #
16828
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
16829
+ # notifications to MQTT topics that contain the value in the following
16830
+ # format.
16831
+ #
16832
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
16833
+ #
16834
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
16835
+ #
16836
+ # </note>
16837
+ # @return [String]
16838
+ #
16460
16839
  class UpdateJobRequest < Struct.new(
16461
16840
  :job_id,
16462
16841
  :description,
16463
16842
  :presigned_url_config,
16464
16843
  :job_executions_rollout_config,
16465
16844
  :abort_config,
16466
- :timeout_config)
16845
+ :timeout_config,
16846
+ :namespace_id)
16467
16847
  SENSITIVE = []
16468
16848
  include Aws::Structure
16469
16849
  end
@@ -16773,12 +17153,12 @@ module Aws::IoT
16773
17153
  # @return [Hash<String,Types::AlertTarget>]
16774
17154
  #
16775
17155
  # @!attribute [rw] additional_metrics_to_retain
17156
+ # *Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2
17157
+ # instead.*
17158
+ #
16776
17159
  # A list of metrics whose data is retained (stored). By default, data
16777
17160
  # is retained for any metric used in the profile's `behaviors`, but
16778
17161
  # it is also retained for any metric specified here.
16779
- #
16780
- # **Note:** This API field is deprecated. Please use
16781
- # UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
16782
17162
  # @return [Array<String>]
16783
17163
  #
16784
17164
  # @!attribute [rw] additional_metrics_to_retain_v2
@@ -16849,12 +17229,12 @@ module Aws::IoT
16849
17229
  # @return [Hash<String,Types::AlertTarget>]
16850
17230
  #
16851
17231
  # @!attribute [rw] additional_metrics_to_retain
17232
+ # *Please use
17233
+ # UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.*
17234
+ #
16852
17235
  # A list of metrics whose data is retained (stored). By default, data
16853
17236
  # is retained for any metric used in the security profile's
16854
17237
  # `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
17238
  # @return [Array<String>]
16859
17239
  #
16860
17240
  # @!attribute [rw] additional_metrics_to_retain_v2