aws-sdk-iot 1.58.0 → 1.63.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -141,6 +141,7 @@ module Aws::IoT
141
141
  AwsJobRolloutRatePerMinute = Shapes::IntegerShape.new(name: 'AwsJobRolloutRatePerMinute')
142
142
  AwsJobTimeoutConfig = Shapes::StructureShape.new(name: 'AwsJobTimeoutConfig')
143
143
  AwsJobTimeoutInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'AwsJobTimeoutInProgressTimeoutInMinutes')
144
+ BatchMode = Shapes::BooleanShape.new(name: 'BatchMode')
144
145
  Behavior = Shapes::StructureShape.new(name: 'Behavior')
145
146
  BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
146
147
  BehaviorMetric = Shapes::StringShape.new(name: 'BehaviorMetric')
@@ -459,6 +460,7 @@ module Aws::IoT
459
460
  FileId = Shapes::IntegerShape.new(name: 'FileId')
460
461
  FileLocation = Shapes::StructureShape.new(name: 'FileLocation')
461
462
  FileName = Shapes::StringShape.new(name: 'FileName')
463
+ FileType = Shapes::IntegerShape.new(name: 'FileType')
462
464
  FindingId = Shapes::StringShape.new(name: 'FindingId')
463
465
  FindingIds = Shapes::ListShape.new(name: 'FindingIds')
464
466
  FirehoseAction = Shapes::StructureShape.new(name: 'FirehoseAction')
@@ -710,6 +712,7 @@ module Aws::IoT
710
712
  MqttContext = Shapes::StructureShape.new(name: 'MqttContext')
711
713
  MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
712
714
  MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
715
+ NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
713
716
  NextToken = Shapes::StringShape.new(name: 'NextToken')
714
717
  NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
715
718
  NonCompliantResource = Shapes::StructureShape.new(name: 'NonCompliantResource')
@@ -1222,6 +1225,7 @@ module Aws::IoT
1222
1225
  AssociateTargetsWithJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
1223
1226
  AssociateTargetsWithJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
1224
1227
  AssociateTargetsWithJobRequest.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
1228
+ AssociateTargetsWithJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
1225
1229
  AssociateTargetsWithJobRequest.struct_class = Types::AssociateTargetsWithJobRequest
1226
1230
 
1227
1231
  AssociateTargetsWithJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
@@ -1670,6 +1674,7 @@ module Aws::IoT
1670
1674
  CreateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
1671
1675
  CreateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
1672
1676
  CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1677
+ CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
1673
1678
  CreateJobRequest.struct_class = Types::CreateJobRequest
1674
1679
 
1675
1680
  CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
@@ -1926,10 +1931,12 @@ module Aws::IoT
1926
1931
  DeleteJobExecutionRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
1927
1932
  DeleteJobExecutionRequest.add_member(:execution_number, Shapes::ShapeRef.new(shape: ExecutionNumber, required: true, location: "uri", location_name: "executionNumber"))
1928
1933
  DeleteJobExecutionRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location: "querystring", location_name: "force"))
1934
+ DeleteJobExecutionRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
1929
1935
  DeleteJobExecutionRequest.struct_class = Types::DeleteJobExecutionRequest
1930
1936
 
1931
1937
  DeleteJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
1932
1938
  DeleteJobRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location: "querystring", location_name: "force"))
1939
+ DeleteJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
1933
1940
  DeleteJobRequest.struct_class = Types::DeleteJobRequest
1934
1941
 
1935
1942
  DeleteMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
@@ -2130,6 +2137,7 @@ module Aws::IoT
2130
2137
  DescribeDomainConfigurationResponse.add_member(:domain_configuration_status, Shapes::ShapeRef.new(shape: DomainConfigurationStatus, location_name: "domainConfigurationStatus"))
2131
2138
  DescribeDomainConfigurationResponse.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "serviceType"))
2132
2139
  DescribeDomainConfigurationResponse.add_member(:domain_type, Shapes::ShapeRef.new(shape: DomainType, location_name: "domainType"))
2140
+ DescribeDomainConfigurationResponse.add_member(:last_status_change_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastStatusChangeDate"))
2133
2141
  DescribeDomainConfigurationResponse.struct_class = Types::DescribeDomainConfigurationResponse
2134
2142
 
2135
2143
  DescribeEndpointRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location: "querystring", location_name: "endpointType"))
@@ -2406,6 +2414,7 @@ module Aws::IoT
2406
2414
  FirehoseAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
2407
2415
  FirehoseAction.add_member(:delivery_stream_name, Shapes::ShapeRef.new(shape: DeliveryStreamName, required: true, location_name: "deliveryStreamName"))
2408
2416
  FirehoseAction.add_member(:separator, Shapes::ShapeRef.new(shape: FirehoseSeparator, location_name: "separator"))
2417
+ FirehoseAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
2409
2418
  FirehoseAction.struct_class = Types::FirehoseAction
2410
2419
 
2411
2420
  GetCardinalityRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
@@ -2585,11 +2594,13 @@ module Aws::IoT
2585
2594
 
2586
2595
  IotAnalyticsAction.add_member(:channel_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "channelArn"))
2587
2596
  IotAnalyticsAction.add_member(:channel_name, Shapes::ShapeRef.new(shape: ChannelName, location_name: "channelName"))
2597
+ IotAnalyticsAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
2588
2598
  IotAnalyticsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, location_name: "roleArn"))
2589
2599
  IotAnalyticsAction.struct_class = Types::IotAnalyticsAction
2590
2600
 
2591
2601
  IotEventsAction.add_member(:input_name, Shapes::ShapeRef.new(shape: InputName, required: true, location_name: "inputName"))
2592
2602
  IotEventsAction.add_member(:message_id, Shapes::ShapeRef.new(shape: MessageId, location_name: "messageId"))
2603
+ IotEventsAction.add_member(:batch_mode, Shapes::ShapeRef.new(shape: BatchMode, location_name: "batchMode"))
2593
2604
  IotEventsAction.add_member(:role_arn, Shapes::ShapeRef.new(shape: AwsArn, required: true, location_name: "roleArn"))
2594
2605
  IotEventsAction.struct_class = Types::IotEventsAction
2595
2606
 
@@ -2614,6 +2625,7 @@ module Aws::IoT
2614
2625
  Job.add_member(:completed_at, Shapes::ShapeRef.new(shape: DateType, location_name: "completedAt"))
2615
2626
  Job.add_member(:job_process_details, Shapes::ShapeRef.new(shape: JobProcessDetails, location_name: "jobProcessDetails"))
2616
2627
  Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
2628
+ Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
2617
2629
  Job.struct_class = Types::Job
2618
2630
 
2619
2631
  JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
@@ -2860,6 +2872,7 @@ module Aws::IoT
2860
2872
 
2861
2873
  ListJobExecutionsForThingRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
2862
2874
  ListJobExecutionsForThingRequest.add_member(:status, Shapes::ShapeRef.new(shape: JobExecutionStatus, location: "querystring", location_name: "status"))
2875
+ ListJobExecutionsForThingRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
2863
2876
  ListJobExecutionsForThingRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LaserMaxResults, location: "querystring", location_name: "maxResults"))
2864
2877
  ListJobExecutionsForThingRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2865
2878
  ListJobExecutionsForThingRequest.struct_class = Types::ListJobExecutionsForThingRequest
@@ -2874,6 +2887,7 @@ module Aws::IoT
2874
2887
  ListJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2875
2888
  ListJobsRequest.add_member(:thing_group_name, Shapes::ShapeRef.new(shape: ThingGroupName, location: "querystring", location_name: "thingGroupName"))
2876
2889
  ListJobsRequest.add_member(:thing_group_id, Shapes::ShapeRef.new(shape: ThingGroupId, location: "querystring", location_name: "thingGroupId"))
2890
+ ListJobsRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
2877
2891
  ListJobsRequest.struct_class = Types::ListJobsRequest
2878
2892
 
2879
2893
  ListJobsResponse.add_member(:jobs, Shapes::ShapeRef.new(shape: JobSummaryList, location_name: "jobs"))
@@ -3059,10 +3073,13 @@ module Aws::IoT
3059
3073
  ListThingGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3060
3074
  ListThingGroupsResponse.struct_class = Types::ListThingGroupsResponse
3061
3075
 
3076
+ ListThingPrincipalsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
3077
+ ListThingPrincipalsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: RegistryMaxResults, location: "querystring", location_name: "maxResults"))
3062
3078
  ListThingPrincipalsRequest.add_member(:thing_name, Shapes::ShapeRef.new(shape: ThingName, required: true, location: "uri", location_name: "thingName"))
3063
3079
  ListThingPrincipalsRequest.struct_class = Types::ListThingPrincipalsRequest
3064
3080
 
3065
3081
  ListThingPrincipalsResponse.add_member(:principals, Shapes::ShapeRef.new(shape: Principals, location_name: "principals"))
3082
+ ListThingPrincipalsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
3066
3083
  ListThingPrincipalsResponse.struct_class = Types::ListThingPrincipalsResponse
3067
3084
 
3068
3085
  ListThingRegistrationTaskReportsRequest.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskId"))
@@ -3234,6 +3251,7 @@ module Aws::IoT
3234
3251
  NotConfiguredException.struct_class = Types::NotConfiguredException
3235
3252
 
3236
3253
  OTAUpdateFile.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
3254
+ OTAUpdateFile.add_member(:file_type, Shapes::ShapeRef.new(shape: FileType, location_name: "fileType"))
3237
3255
  OTAUpdateFile.add_member(:file_version, Shapes::ShapeRef.new(shape: OTAUpdateFileVersion, location_name: "fileVersion"))
3238
3256
  OTAUpdateFile.add_member(:file_location, Shapes::ShapeRef.new(shape: FileLocation, location_name: "fileLocation"))
3239
3257
  OTAUpdateFile.add_member(:code_signing, Shapes::ShapeRef.new(shape: CodeSigning, location_name: "codeSigning"))
@@ -4042,6 +4060,7 @@ module Aws::IoT
4042
4060
  UpdateJobRequest.add_member(:job_executions_rollout_config, Shapes::ShapeRef.new(shape: JobExecutionsRolloutConfig, location_name: "jobExecutionsRolloutConfig"))
4043
4061
  UpdateJobRequest.add_member(:abort_config, Shapes::ShapeRef.new(shape: AbortConfig, location_name: "abortConfig"))
4044
4062
  UpdateJobRequest.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
4063
+ UpdateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location: "querystring", location_name: "namespaceId"))
4045
4064
  UpdateJobRequest.struct_class = Types::UpdateJobRequest
4046
4065
 
4047
4066
  UpdateMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
@@ -4962,6 +4981,7 @@ module Aws::IoT
4962
4981
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4963
4982
  o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
4964
4983
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4984
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
4965
4985
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4966
4986
  end)
4967
4987
 
@@ -4976,6 +4996,7 @@ module Aws::IoT
4976
4996
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4977
4997
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4978
4998
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4999
+ o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
4979
5000
  o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
4980
5001
  end)
4981
5002
 
@@ -6436,6 +6457,7 @@ module Aws::IoT
6436
6457
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6437
6458
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6438
6459
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6460
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6439
6461
  o[:pager] = Aws::Pager.new(
6440
6462
  limit_key: "max_results",
6441
6463
  tokens: {
@@ -6453,6 +6475,7 @@ module Aws::IoT
6453
6475
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6454
6476
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6455
6477
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6478
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6456
6479
  o[:pager] = Aws::Pager.new(
6457
6480
  limit_key: "max_results",
6458
6481
  tokens: {
@@ -6473,6 +6496,12 @@ module Aws::IoT
6473
6496
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
6474
6497
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6475
6498
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6499
+ o[:pager] = Aws::Pager.new(
6500
+ limit_key: "max_results",
6501
+ tokens: {
6502
+ "next_token" => "next_token"
6503
+ }
6504
+ )
6476
6505
  end)
6477
6506
 
6478
6507
  api.add_operation(:list_thing_registration_task_reports, Seahorse::Model::Operation.new.tap do |o|
@@ -6576,6 +6605,7 @@ module Aws::IoT
6576
6605
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
6577
6606
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
6578
6607
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
6608
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
6579
6609
  o[:pager] = Aws::Pager.new(
6580
6610
  limit_key: "max_results",
6581
6611
  tokens: {
@@ -161,6 +161,7 @@ module Aws::IoT
161
161
  # role_arn: "AwsArn", # required
162
162
  # delivery_stream_name: "DeliveryStreamName", # required
163
163
  # separator: "FirehoseSeparator",
164
+ # batch_mode: false,
164
165
  # },
165
166
  # cloudwatch_metric: {
166
167
  # role_arn: "AwsArn", # required
@@ -194,11 +195,13 @@ module Aws::IoT
194
195
  # iot_analytics: {
195
196
  # channel_arn: "AwsArn",
196
197
  # channel_name: "ChannelName",
198
+ # batch_mode: false,
197
199
  # role_arn: "AwsArn",
198
200
  # },
199
201
  # iot_events: {
200
202
  # input_name: "InputName", # required
201
203
  # message_id: "MessageId",
204
+ # batch_mode: false,
202
205
  # role_arn: "AwsArn", # required
203
206
  # },
204
207
  # iot_site_wise: {
@@ -692,6 +695,7 @@ module Aws::IoT
692
695
  # targets: ["TargetArn"], # required
693
696
  # job_id: "JobId", # required
694
697
  # comment: "Comment",
698
+ # namespace_id: "NamespaceId",
695
699
  # }
696
700
  #
697
701
  # @!attribute [rw] targets
@@ -707,10 +711,25 @@ module Aws::IoT
707
711
  # with the targets.
708
712
  # @return [String]
709
713
  #
714
+ # @!attribute [rw] namespace_id
715
+ # The namespace used to indicate that a job is a customer-managed job.
716
+ #
717
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
718
+ # notifications to MQTT topics that contain the value in the following
719
+ # format.
720
+ #
721
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
722
+ #
723
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
724
+ #
725
+ # </note>
726
+ # @return [String]
727
+ #
710
728
  class AssociateTargetsWithJobRequest < Struct.new(
711
729
  :targets,
712
730
  :job_id,
713
- :comment)
731
+ :comment,
732
+ :namespace_id)
714
733
  SENSITIVE = []
715
734
  include Aws::Structure
716
735
  end
@@ -3075,6 +3094,7 @@ module Aws::IoT
3075
3094
  # value: "TagValue",
3076
3095
  # },
3077
3096
  # ],
3097
+ # namespace_id: "NamespaceId",
3078
3098
  # }
3079
3099
  #
3080
3100
  # @!attribute [rw] job_id
@@ -3144,6 +3164,20 @@ module Aws::IoT
3144
3164
  # Metadata which can be used to manage the job.
3145
3165
  # @return [Array<Types::Tag>]
3146
3166
  #
3167
+ # @!attribute [rw] namespace_id
3168
+ # The namespace used to indicate that a job is a customer-managed job.
3169
+ #
3170
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
3171
+ # notifications to MQTT topics that contain the value in the following
3172
+ # format.
3173
+ #
3174
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
3175
+ #
3176
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
3177
+ #
3178
+ # </note>
3179
+ # @return [String]
3180
+ #
3147
3181
  class CreateJobRequest < Struct.new(
3148
3182
  :job_id,
3149
3183
  :targets,
@@ -3155,7 +3189,8 @@ module Aws::IoT
3155
3189
  :job_executions_rollout_config,
3156
3190
  :abort_config,
3157
3191
  :timeout_config,
3158
- :tags)
3192
+ :tags,
3193
+ :namespace_id)
3159
3194
  SENSITIVE = []
3160
3195
  include Aws::Structure
3161
3196
  end
@@ -3344,6 +3379,7 @@ module Aws::IoT
3344
3379
  # files: [ # required
3345
3380
  # {
3346
3381
  # file_name: "FileName",
3382
+ # file_type: 1,
3347
3383
  # file_version: "OTAUpdateFileVersion",
3348
3384
  # file_location: {
3349
3385
  # stream: {
@@ -4061,12 +4097,12 @@ module Aws::IoT
4061
4097
  # @return [Hash<String,Types::AlertTarget>]
4062
4098
  #
4063
4099
  # @!attribute [rw] additional_metrics_to_retain
4100
+ # *Please use CreateSecurityProfileRequest$additionalMetricsToRetainV2
4101
+ # instead.*
4102
+ #
4064
4103
  # A list of metrics whose data is retained (stored). By default, data
4065
4104
  # is retained for any metric used in the profile's `behaviors`, but
4066
4105
  # it is also retained for any metric specified here.
4067
- #
4068
- # **Note:** This API field is deprecated. Please use
4069
- # CreateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
4070
4106
  # @return [Array<String>]
4071
4107
  #
4072
4108
  # @!attribute [rw] additional_metrics_to_retain_v2
@@ -4483,6 +4519,7 @@ module Aws::IoT
4483
4519
  # role_arn: "AwsArn", # required
4484
4520
  # delivery_stream_name: "DeliveryStreamName", # required
4485
4521
  # separator: "FirehoseSeparator",
4522
+ # batch_mode: false,
4486
4523
  # },
4487
4524
  # cloudwatch_metric: {
4488
4525
  # role_arn: "AwsArn", # required
@@ -4516,11 +4553,13 @@ module Aws::IoT
4516
4553
  # iot_analytics: {
4517
4554
  # channel_arn: "AwsArn",
4518
4555
  # channel_name: "ChannelName",
4556
+ # batch_mode: false,
4519
4557
  # role_arn: "AwsArn",
4520
4558
  # },
4521
4559
  # iot_events: {
4522
4560
  # input_name: "InputName", # required
4523
4561
  # message_id: "MessageId",
4562
+ # batch_mode: false,
4524
4563
  # role_arn: "AwsArn", # required
4525
4564
  # },
4526
4565
  # iot_site_wise: {
@@ -4642,6 +4681,7 @@ module Aws::IoT
4642
4681
  # role_arn: "AwsArn", # required
4643
4682
  # delivery_stream_name: "DeliveryStreamName", # required
4644
4683
  # separator: "FirehoseSeparator",
4684
+ # batch_mode: false,
4645
4685
  # },
4646
4686
  # cloudwatch_metric: {
4647
4687
  # role_arn: "AwsArn", # required
@@ -4675,11 +4715,13 @@ module Aws::IoT
4675
4715
  # iot_analytics: {
4676
4716
  # channel_arn: "AwsArn",
4677
4717
  # channel_name: "ChannelName",
4718
+ # batch_mode: false,
4678
4719
  # role_arn: "AwsArn",
4679
4720
  # },
4680
4721
  # iot_events: {
4681
4722
  # input_name: "InputName", # required
4682
4723
  # message_id: "MessageId",
4724
+ # batch_mode: false,
4683
4725
  # role_arn: "AwsArn", # required
4684
4726
  # },
4685
4727
  # iot_site_wise: {
@@ -5065,6 +5107,7 @@ module Aws::IoT
5065
5107
  # thing_name: "ThingName", # required
5066
5108
  # execution_number: 1, # required
5067
5109
  # force: false,
5110
+ # namespace_id: "NamespaceId",
5068
5111
  # }
5069
5112
  #
5070
5113
  # @!attribute [rw] job_id
@@ -5099,11 +5142,26 @@ module Aws::IoT
5099
5142
  # </note>
5100
5143
  # @return [Boolean]
5101
5144
  #
5145
+ # @!attribute [rw] namespace_id
5146
+ # The namespace used to indicate that a job is a customer-managed job.
5147
+ #
5148
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
5149
+ # notifications to MQTT topics that contain the value in the following
5150
+ # format.
5151
+ #
5152
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
5153
+ #
5154
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
5155
+ #
5156
+ # </note>
5157
+ # @return [String]
5158
+ #
5102
5159
  class DeleteJobExecutionRequest < Struct.new(
5103
5160
  :job_id,
5104
5161
  :thing_name,
5105
5162
  :execution_number,
5106
- :force)
5163
+ :force,
5164
+ :namespace_id)
5107
5165
  SENSITIVE = []
5108
5166
  include Aws::Structure
5109
5167
  end
@@ -5114,6 +5172,7 @@ module Aws::IoT
5114
5172
  # {
5115
5173
  # job_id: "JobId", # required
5116
5174
  # force: false,
5175
+ # namespace_id: "NamespaceId",
5117
5176
  # }
5118
5177
  #
5119
5178
  # @!attribute [rw] job_id
@@ -5140,9 +5199,24 @@ module Aws::IoT
5140
5199
  # </note>
5141
5200
  # @return [Boolean]
5142
5201
  #
5202
+ # @!attribute [rw] namespace_id
5203
+ # The namespace used to indicate that a job is a customer-managed job.
5204
+ #
5205
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
5206
+ # notifications to MQTT topics that contain the value in the following
5207
+ # format.
5208
+ #
5209
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
5210
+ #
5211
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
5212
+ #
5213
+ # </note>
5214
+ # @return [String]
5215
+ #
5143
5216
  class DeleteJobRequest < Struct.new(
5144
5217
  :job_id,
5145
- :force)
5218
+ :force,
5219
+ :namespace_id)
5146
5220
  SENSITIVE = []
5147
5221
  include Aws::Structure
5148
5222
  end
@@ -6087,6 +6161,11 @@ module Aws::IoT
6087
6161
  # The type of the domain.
6088
6162
  # @return [String]
6089
6163
  #
6164
+ # @!attribute [rw] last_status_change_date
6165
+ # The date and time the domain configuration's status was last
6166
+ # changed.
6167
+ # @return [Time]
6168
+ #
6090
6169
  class DescribeDomainConfigurationResponse < Struct.new(
6091
6170
  :domain_configuration_name,
6092
6171
  :domain_configuration_arn,
@@ -6095,7 +6174,8 @@ module Aws::IoT
6095
6174
  :authorizer_config,
6096
6175
  :domain_configuration_status,
6097
6176
  :service_type,
6098
- :domain_type)
6177
+ :domain_type,
6178
+ :last_status_change_date)
6099
6179
  SENSITIVE = []
6100
6180
  include Aws::Structure
6101
6181
  end
@@ -6620,12 +6700,13 @@ module Aws::IoT
6620
6700
  # @return [Hash<String,Types::AlertTarget>]
6621
6701
  #
6622
6702
  # @!attribute [rw] additional_metrics_to_retain
6703
+ # *Please use
6704
+ # DescribeSecurityProfileResponse$additionalMetricsToRetainV2
6705
+ # instead.*
6706
+ #
6623
6707
  # A list of metrics whose data is retained (stored). By default, data
6624
6708
  # is retained for any metric used in the profile's `behaviors`, but
6625
6709
  # it is also retained for any metric specified here.
6626
- #
6627
- # **Note:** This API field is deprecated. Please use
6628
- # DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
6629
6710
  # @return [Array<String>]
6630
6711
  #
6631
6712
  # @!attribute [rw] additional_metrics_to_retain_v2
@@ -7462,13 +7543,13 @@ module Aws::IoT
7462
7543
  #
7463
7544
  # @!attribute [rw] increment_factor
7464
7545
  # The exponential factor to increase the rate of rollout for a job.
7546
+ #
7547
+ # AWS IoT supports up to one digit after the decimal (for example,
7548
+ # 1.5, but not 1.55).
7465
7549
  # @return [Float]
7466
7550
  #
7467
7551
  # @!attribute [rw] rate_increase_criteria
7468
7552
  # The criteria to initiate the increase in rate of rollout for a job.
7469
- #
7470
- # AWS IoT supports up to one digit after the decimal (for example,
7471
- # 1.5, but not 1.55).
7472
7553
  # @return [Types::RateIncreaseCriteria]
7473
7554
  #
7474
7555
  class ExponentialRolloutRate < Struct.new(
@@ -7546,6 +7627,7 @@ module Aws::IoT
7546
7627
  # role_arn: "AwsArn", # required
7547
7628
  # delivery_stream_name: "DeliveryStreamName", # required
7548
7629
  # separator: "FirehoseSeparator",
7630
+ # batch_mode: false,
7549
7631
  # }
7550
7632
  #
7551
7633
  # @!attribute [rw] role_arn
@@ -7563,10 +7645,25 @@ module Aws::IoT
7563
7645
  # (tab), '\\r\\n' (Windows newline), ',' (comma).
7564
7646
  # @return [String]
7565
7647
  #
7648
+ # @!attribute [rw] batch_mode
7649
+ # Whether to deliver the Kinesis Data Firehose stream as a batch by
7650
+ # using [ `PutRecordBatch` ][1]. The default value is `false`.
7651
+ #
7652
+ # When `batchMode` is `true` and the rule's SQL statement evaluates
7653
+ # to an Array, each Array element forms one record in the [
7654
+ # `PutRecordBatch` ][1] request. The resulting array can't have more
7655
+ # than 500 records.
7656
+ #
7657
+ #
7658
+ #
7659
+ # [1]: https://docs.aws.amazon.com/firehose/latest/APIReference/API_PutRecordBatch.html
7660
+ # @return [Boolean]
7661
+ #
7566
7662
  class FirehoseAction < Struct.new(
7567
7663
  :role_arn,
7568
7664
  :delivery_stream_name,
7569
- :separator)
7665
+ :separator,
7666
+ :batch_mode)
7570
7667
  SENSITIVE = []
7571
7668
  include Aws::Structure
7572
7669
  end
@@ -8411,6 +8508,7 @@ module Aws::IoT
8411
8508
  # {
8412
8509
  # channel_arn: "AwsArn",
8413
8510
  # channel_name: "ChannelName",
8511
+ # batch_mode: false,
8414
8512
  # role_arn: "AwsArn",
8415
8513
  # }
8416
8514
  #
@@ -8424,6 +8522,20 @@ module Aws::IoT
8424
8522
  # sent.
8425
8523
  # @return [String]
8426
8524
  #
8525
+ # @!attribute [rw] batch_mode
8526
+ # Whether to process the action as a batch. The default value is
8527
+ # `false`.
8528
+ #
8529
+ # When `batchMode` is `true` and the rule SQL statement evaluates to
8530
+ # an Array, each Array element is delivered as a separate message when
8531
+ # passed by [ `BatchPutMessage` ][1] to the AWS IoT Analytics channel.
8532
+ # The resulting array can't have more than 100 messages.
8533
+ #
8534
+ #
8535
+ #
8536
+ # [1]: https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_BatchPutMessage.html
8537
+ # @return [Boolean]
8538
+ #
8427
8539
  # @!attribute [rw] role_arn
8428
8540
  # The ARN of the role which has a policy that grants IoT Analytics
8429
8541
  # permission to send message data via IoT Analytics
@@ -8433,6 +8545,7 @@ module Aws::IoT
8433
8545
  class IotAnalyticsAction < Struct.new(
8434
8546
  :channel_arn,
8435
8547
  :channel_name,
8548
+ :batch_mode,
8436
8549
  :role_arn)
8437
8550
  SENSITIVE = []
8438
8551
  include Aws::Structure
@@ -8446,6 +8559,7 @@ module Aws::IoT
8446
8559
  # {
8447
8560
  # input_name: "InputName", # required
8448
8561
  # message_id: "MessageId",
8562
+ # batch_mode: false,
8449
8563
  # role_arn: "AwsArn", # required
8450
8564
  # }
8451
8565
  #
@@ -8454,10 +8568,32 @@ module Aws::IoT
8454
8568
  # @return [String]
8455
8569
  #
8456
8570
  # @!attribute [rw] message_id
8457
- # \[Optional\] Use this to ensure that only one input (message) with a
8458
- # given messageId will be processed by an AWS IoT Events detector.
8571
+ # The ID of the message. The default `messageId` is a new UUID value.
8572
+ #
8573
+ # When `batchMode` is `true`, you can't specify a `messageId`--a new
8574
+ # UUID value will be assigned.
8575
+ #
8576
+ # Assign a value to this property to ensure that only one input
8577
+ # (message) with a given `messageId` will be processed by an AWS IoT
8578
+ # Events detector.
8459
8579
  # @return [String]
8460
8580
  #
8581
+ # @!attribute [rw] batch_mode
8582
+ # Whether to process the event actions as a batch. The default value
8583
+ # is `false`.
8584
+ #
8585
+ # When `batchMode` is `true`, you can't specify a `messageId`.
8586
+ #
8587
+ # When `batchMode` is `true` and the rule SQL statement evaluates to
8588
+ # an Array, each Array element is treated as a separate message when
8589
+ # it's sent to AWS IoT Events by calling [ `BatchPutMessage` ][1].
8590
+ # The resulting array can't have more than 10 messages.
8591
+ #
8592
+ #
8593
+ #
8594
+ # [1]: https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchPutMessage.html
8595
+ # @return [Boolean]
8596
+ #
8461
8597
  # @!attribute [rw] role_arn
8462
8598
  # The ARN of the role that grants AWS IoT permission to send an input
8463
8599
  # to an AWS IoT Events detector.
@@ -8467,6 +8603,7 @@ module Aws::IoT
8467
8603
  class IotEventsAction < Struct.new(
8468
8604
  :input_name,
8469
8605
  :message_id,
8606
+ :batch_mode,
8470
8607
  :role_arn)
8471
8608
  SENSITIVE = []
8472
8609
  include Aws::Structure
@@ -8607,6 +8744,20 @@ module Aws::IoT
8607
8744
  # set to `TIMED_OUT`.
8608
8745
  # @return [Types::TimeoutConfig]
8609
8746
  #
8747
+ # @!attribute [rw] namespace_id
8748
+ # The namespace used to indicate that a job is a customer-managed job.
8749
+ #
8750
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
8751
+ # notifications to MQTT topics that contain the value in the following
8752
+ # format.
8753
+ #
8754
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
8755
+ #
8756
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
8757
+ #
8758
+ # </note>
8759
+ # @return [String]
8760
+ #
8610
8761
  class Job < Struct.new(
8611
8762
  :job_arn,
8612
8763
  :job_id,
@@ -8624,7 +8775,8 @@ module Aws::IoT
8624
8775
  :last_updated_at,
8625
8776
  :completed_at,
8626
8777
  :job_process_details,
8627
- :timeout_config)
8778
+ :timeout_config,
8779
+ :namespace_id)
8628
8780
  SENSITIVE = []
8629
8781
  include Aws::Structure
8630
8782
  end
@@ -9562,7 +9714,9 @@ module Aws::IoT
9562
9714
  # }
9563
9715
  #
9564
9716
  # @!attribute [rw] next_token
9565
- # The token to retrieve the next set of results.
9717
+ # To retrieve the next set of results, the `nextToken` value from a
9718
+ # previous response; otherwise **null** to receive the first set of
9719
+ # results.
9566
9720
  # @return [String]
9567
9721
  #
9568
9722
  # @!attribute [rw] max_results
@@ -9587,8 +9741,8 @@ module Aws::IoT
9587
9741
  # @return [Array<Types::GroupNameAndArn>]
9588
9742
  #
9589
9743
  # @!attribute [rw] next_token
9590
- # The token used to get the next set of results, or **null** if there
9591
- # are no additional results.
9744
+ # The token to use to get the next set of results, or **null** if
9745
+ # there are no additional results.
9592
9746
  # @return [String]
9593
9747
  #
9594
9748
  class ListBillingGroupsResponse < Struct.new(
@@ -9936,6 +10090,7 @@ module Aws::IoT
9936
10090
  # {
9937
10091
  # thing_name: "ThingName", # required
9938
10092
  # status: "QUEUED", # accepts QUEUED, IN_PROGRESS, SUCCEEDED, FAILED, TIMED_OUT, REJECTED, REMOVED, CANCELED
10093
+ # namespace_id: "NamespaceId",
9939
10094
  # max_results: 1,
9940
10095
  # next_token: "NextToken",
9941
10096
  # }
@@ -9949,6 +10104,20 @@ module Aws::IoT
9949
10104
  # specified status.
9950
10105
  # @return [String]
9951
10106
  #
10107
+ # @!attribute [rw] namespace_id
10108
+ # The namespace used to indicate that a job is a customer-managed job.
10109
+ #
10110
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
10111
+ # notifications to MQTT topics that contain the value in the following
10112
+ # format.
10113
+ #
10114
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
10115
+ #
10116
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
10117
+ #
10118
+ # </note>
10119
+ # @return [String]
10120
+ #
9952
10121
  # @!attribute [rw] max_results
9953
10122
  # The maximum number of results to be returned per request.
9954
10123
  # @return [Integer]
@@ -9960,6 +10129,7 @@ module Aws::IoT
9960
10129
  class ListJobExecutionsForThingRequest < Struct.new(
9961
10130
  :thing_name,
9962
10131
  :status,
10132
+ :namespace_id,
9963
10133
  :max_results,
9964
10134
  :next_token)
9965
10135
  SENSITIVE = []
@@ -9992,6 +10162,7 @@ module Aws::IoT
9992
10162
  # next_token: "NextToken",
9993
10163
  # thing_group_name: "ThingGroupName",
9994
10164
  # thing_group_id: "ThingGroupId",
10165
+ # namespace_id: "NamespaceId",
9995
10166
  # }
9996
10167
  #
9997
10168
  # @!attribute [rw] status
@@ -10026,13 +10197,28 @@ module Aws::IoT
10026
10197
  # group.
10027
10198
  # @return [String]
10028
10199
  #
10200
+ # @!attribute [rw] namespace_id
10201
+ # The namespace used to indicate that a job is a customer-managed job.
10202
+ #
10203
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
10204
+ # notifications to MQTT topics that contain the value in the following
10205
+ # format.
10206
+ #
10207
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
10208
+ #
10209
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
10210
+ #
10211
+ # </note>
10212
+ # @return [String]
10213
+ #
10029
10214
  class ListJobsRequest < Struct.new(
10030
10215
  :status,
10031
10216
  :target_selection,
10032
10217
  :max_results,
10033
10218
  :next_token,
10034
10219
  :thing_group_name,
10035
- :thing_group_id)
10220
+ :thing_group_id,
10221
+ :namespace_id)
10036
10222
  SENSITIVE = []
10037
10223
  include Aws::Structure
10038
10224
  end
@@ -10401,7 +10587,9 @@ module Aws::IoT
10401
10587
  # }
10402
10588
  #
10403
10589
  # @!attribute [rw] next_token
10404
- # The token to retrieve the next set of results.
10590
+ # To retrieve the next set of results, the `nextToken` value from a
10591
+ # previous response; otherwise **null** to receive the first set of
10592
+ # results.
10405
10593
  # @return [String]
10406
10594
  #
10407
10595
  # @!attribute [rw] max_results
@@ -10427,8 +10615,8 @@ module Aws::IoT
10427
10615
  # @return [Array<String>]
10428
10616
  #
10429
10617
  # @!attribute [rw] next_token
10430
- # The token used to get the next set of results, or **null** if there
10431
- # are no additional results.
10618
+ # The token to use to get the next set of results, or **null** if
10619
+ # there are no additional results.
10432
10620
  # @return [String]
10433
10621
  #
10434
10622
  class ListPrincipalThingsResponse < Struct.new(
@@ -10759,7 +10947,9 @@ module Aws::IoT
10759
10947
  # @return [String]
10760
10948
  #
10761
10949
  # @!attribute [rw] next_token
10762
- # The token to retrieve the next set of results.
10950
+ # To retrieve the next set of results, the `nextToken` value from a
10951
+ # previous response; otherwise **null** to receive the first set of
10952
+ # results.
10763
10953
  # @return [String]
10764
10954
  #
10765
10955
  class ListTagsForResourceRequest < Struct.new(
@@ -10774,8 +10964,8 @@ module Aws::IoT
10774
10964
  # @return [Array<Types::Tag>]
10775
10965
  #
10776
10966
  # @!attribute [rw] next_token
10777
- # The token used to get the next set of results, or **null** if there
10778
- # are no additional results.
10967
+ # The token to use to get the next set of results, or **null** if
10968
+ # there are no additional results.
10779
10969
  # @return [String]
10780
10970
  #
10781
10971
  class ListTagsForResourceResponse < Struct.new(
@@ -10888,7 +11078,9 @@ module Aws::IoT
10888
11078
  # @return [String]
10889
11079
  #
10890
11080
  # @!attribute [rw] next_token
10891
- # The token to retrieve the next set of results.
11081
+ # To retrieve the next set of results, the `nextToken` value from a
11082
+ # previous response; otherwise **null** to receive the first set of
11083
+ # results.
10892
11084
  # @return [String]
10893
11085
  #
10894
11086
  # @!attribute [rw] max_results
@@ -10908,8 +11100,8 @@ module Aws::IoT
10908
11100
  # @return [Array<Types::GroupNameAndArn>]
10909
11101
  #
10910
11102
  # @!attribute [rw] next_token
10911
- # The token used to get the next set of results, or **null** if there
10912
- # are no additional results.
11103
+ # The token to use to get the next set of results, or **null** if
11104
+ # there are no additional results.
10913
11105
  # @return [String]
10914
11106
  #
10915
11107
  class ListThingGroupsForThingResponse < Struct.new(
@@ -10931,7 +11123,9 @@ module Aws::IoT
10931
11123
  # }
10932
11124
  #
10933
11125
  # @!attribute [rw] next_token
10934
- # The token to retrieve the next set of results.
11126
+ # To retrieve the next set of results, the `nextToken` value from a
11127
+ # previous response; otherwise **null** to receive the first set of
11128
+ # results.
10935
11129
  # @return [String]
10936
11130
  #
10937
11131
  # @!attribute [rw] max_results
@@ -10967,8 +11161,8 @@ module Aws::IoT
10967
11161
  # @return [Array<Types::GroupNameAndArn>]
10968
11162
  #
10969
11163
  # @!attribute [rw] next_token
10970
- # The token used to get the next set of results. Will not be returned
10971
- # if operation has returned all results.
11164
+ # The token to use to get the next set of results. Will not be
11165
+ # returned if operation has returned all results.
10972
11166
  # @return [String]
10973
11167
  #
10974
11168
  class ListThingGroupsResponse < Struct.new(
@@ -10984,14 +11178,28 @@ module Aws::IoT
10984
11178
  # data as a hash:
10985
11179
  #
10986
11180
  # {
11181
+ # next_token: "NextToken",
11182
+ # max_results: 1,
10987
11183
  # thing_name: "ThingName", # required
10988
11184
  # }
10989
11185
  #
11186
+ # @!attribute [rw] next_token
11187
+ # To retrieve the next set of results, the `nextToken` value from a
11188
+ # previous response; otherwise **null** to receive the first set of
11189
+ # results.
11190
+ # @return [String]
11191
+ #
11192
+ # @!attribute [rw] max_results
11193
+ # The maximum number of results to return in this operation.
11194
+ # @return [Integer]
11195
+ #
10990
11196
  # @!attribute [rw] thing_name
10991
11197
  # The name of the thing.
10992
11198
  # @return [String]
10993
11199
  #
10994
11200
  class ListThingPrincipalsRequest < Struct.new(
11201
+ :next_token,
11202
+ :max_results,
10995
11203
  :thing_name)
10996
11204
  SENSITIVE = []
10997
11205
  include Aws::Structure
@@ -11003,8 +11211,14 @@ module Aws::IoT
11003
11211
  # The principals associated with the thing.
11004
11212
  # @return [Array<String>]
11005
11213
  #
11214
+ # @!attribute [rw] next_token
11215
+ # The token to use to get the next set of results, or **null** if
11216
+ # there are no additional results.
11217
+ # @return [String]
11218
+ #
11006
11219
  class ListThingPrincipalsResponse < Struct.new(
11007
- :principals)
11220
+ :principals,
11221
+ :next_token)
11008
11222
  SENSITIVE = []
11009
11223
  include Aws::Structure
11010
11224
  end
@@ -11028,7 +11242,9 @@ module Aws::IoT
11028
11242
  # @return [String]
11029
11243
  #
11030
11244
  # @!attribute [rw] next_token
11031
- # The token to retrieve the next set of results.
11245
+ # To retrieve the next set of results, the `nextToken` value from a
11246
+ # previous response; otherwise **null** to receive the first set of
11247
+ # results.
11032
11248
  # @return [String]
11033
11249
  #
11034
11250
  # @!attribute [rw] max_results
@@ -11053,8 +11269,8 @@ module Aws::IoT
11053
11269
  # @return [String]
11054
11270
  #
11055
11271
  # @!attribute [rw] next_token
11056
- # The token used to get the next set of results, or **null** if there
11057
- # are no additional results.
11272
+ # The token to use to get the next set of results, or **null** if
11273
+ # there are no additional results.
11058
11274
  # @return [String]
11059
11275
  #
11060
11276
  class ListThingRegistrationTaskReportsResponse < Struct.new(
@@ -11075,7 +11291,9 @@ module Aws::IoT
11075
11291
  # }
11076
11292
  #
11077
11293
  # @!attribute [rw] next_token
11078
- # The token to retrieve the next set of results.
11294
+ # To retrieve the next set of results, the `nextToken` value from a
11295
+ # previous response; otherwise **null** to receive the first set of
11296
+ # results.
11079
11297
  # @return [String]
11080
11298
  #
11081
11299
  # @!attribute [rw] max_results
@@ -11099,8 +11317,8 @@ module Aws::IoT
11099
11317
  # @return [Array<String>]
11100
11318
  #
11101
11319
  # @!attribute [rw] next_token
11102
- # The token used to get the next set of results, or **null** if there
11103
- # are no additional results.
11320
+ # The token to use to get the next set of results, or **null** if
11321
+ # there are no additional results.
11104
11322
  # @return [String]
11105
11323
  #
11106
11324
  class ListThingRegistrationTasksResponse < Struct.new(
@@ -11122,7 +11340,9 @@ module Aws::IoT
11122
11340
  # }
11123
11341
  #
11124
11342
  # @!attribute [rw] next_token
11125
- # The token to retrieve the next set of results.
11343
+ # To retrieve the next set of results, the `nextToken` value from a
11344
+ # previous response; otherwise **null** to receive the first set of
11345
+ # results.
11126
11346
  # @return [String]
11127
11347
  #
11128
11348
  # @!attribute [rw] max_results
@@ -11173,7 +11393,9 @@ module Aws::IoT
11173
11393
  # @return [String]
11174
11394
  #
11175
11395
  # @!attribute [rw] next_token
11176
- # The token to retrieve the next set of results.
11396
+ # To retrieve the next set of results, the `nextToken` value from a
11397
+ # previous response; otherwise **null** to receive the first set of
11398
+ # results.
11177
11399
  # @return [String]
11178
11400
  #
11179
11401
  # @!attribute [rw] max_results
@@ -11193,8 +11415,8 @@ module Aws::IoT
11193
11415
  # @return [Array<String>]
11194
11416
  #
11195
11417
  # @!attribute [rw] next_token
11196
- # The token used to get the next set of results. Will not be returned
11197
- # if operation has returned all results.
11418
+ # The token to use to get the next set of results. Will not be
11419
+ # returned if operation has returned all results.
11198
11420
  # @return [String]
11199
11421
  #
11200
11422
  class ListThingsInBillingGroupResponse < Struct.new(
@@ -11224,7 +11446,9 @@ module Aws::IoT
11224
11446
  # @return [Boolean]
11225
11447
  #
11226
11448
  # @!attribute [rw] next_token
11227
- # The token to retrieve the next set of results.
11449
+ # To retrieve the next set of results, the `nextToken` value from a
11450
+ # previous response; otherwise **null** to receive the first set of
11451
+ # results.
11228
11452
  # @return [String]
11229
11453
  #
11230
11454
  # @!attribute [rw] max_results
@@ -11245,8 +11469,8 @@ module Aws::IoT
11245
11469
  # @return [Array<String>]
11246
11470
  #
11247
11471
  # @!attribute [rw] next_token
11248
- # The token used to get the next set of results, or **null** if there
11249
- # are no additional results.
11472
+ # The token to use to get the next set of results, or **null** if
11473
+ # there are no additional results.
11250
11474
  # @return [String]
11251
11475
  #
11252
11476
  class ListThingsInThingGroupResponse < Struct.new(
@@ -11270,7 +11494,9 @@ module Aws::IoT
11270
11494
  # }
11271
11495
  #
11272
11496
  # @!attribute [rw] next_token
11273
- # The token to retrieve the next set of results.
11497
+ # To retrieve the next set of results, the `nextToken` value from a
11498
+ # previous response; otherwise **null** to receive the first set of
11499
+ # results.
11274
11500
  # @return [String]
11275
11501
  #
11276
11502
  # @!attribute [rw] max_results
@@ -11306,8 +11532,8 @@ module Aws::IoT
11306
11532
  # @return [Array<Types::ThingAttribute>]
11307
11533
  #
11308
11534
  # @!attribute [rw] next_token
11309
- # The token used to get the next set of results. Will not be returned
11310
- # if operation has returned all results.
11535
+ # The token to use to get the next set of results. Will not be
11536
+ # returned if operation has returned all results.
11311
11537
  # @return [String]
11312
11538
  #
11313
11539
  class ListThingsResponse < Struct.new(
@@ -11330,7 +11556,9 @@ module Aws::IoT
11330
11556
  # @return [Integer]
11331
11557
  #
11332
11558
  # @!attribute [rw] next_token
11333
- # The token to retrieve the next set of results.
11559
+ # To retrieve the next set of results, the `nextToken` value from a
11560
+ # previous response; otherwise **null** to receive the first set of
11561
+ # results.
11334
11562
  # @return [String]
11335
11563
  #
11336
11564
  class ListTopicRuleDestinationsRequest < Struct.new(
@@ -11345,7 +11573,8 @@ module Aws::IoT
11345
11573
  # @return [Array<Types::TopicRuleDestinationSummary>]
11346
11574
  #
11347
11575
  # @!attribute [rw] next_token
11348
- # The token to retrieve the next set of results.
11576
+ # The token to use to get the next set of results, or **null** if
11577
+ # there are no additional results.
11349
11578
  # @return [String]
11350
11579
  #
11351
11580
  class ListTopicRuleDestinationsResponse < Struct.new(
@@ -11376,7 +11605,9 @@ module Aws::IoT
11376
11605
  # @return [Integer]
11377
11606
  #
11378
11607
  # @!attribute [rw] next_token
11379
- # A token used to retrieve the next value.
11608
+ # To retrieve the next set of results, the `nextToken` value from a
11609
+ # previous response; otherwise **null** to receive the first set of
11610
+ # results.
11380
11611
  # @return [String]
11381
11612
  #
11382
11613
  # @!attribute [rw] rule_disabled
@@ -11399,7 +11630,8 @@ module Aws::IoT
11399
11630
  # @return [Array<Types::TopicRuleListItem>]
11400
11631
  #
11401
11632
  # @!attribute [rw] next_token
11402
- # A token used to retrieve the next value.
11633
+ # The token to use to get the next set of results, or **null** if
11634
+ # there are no additional results.
11403
11635
  # @return [String]
11404
11636
  #
11405
11637
  class ListTopicRulesResponse < Struct.new(
@@ -11424,8 +11656,9 @@ module Aws::IoT
11424
11656
  # @return [String]
11425
11657
  #
11426
11658
  # @!attribute [rw] next_token
11427
- # The token used to get the next set of results, or **null** if there
11428
- # are no additional results.
11659
+ # To retrieve the next set of results, the `nextToken` value from a
11660
+ # previous response; otherwise **null** to receive the first set of
11661
+ # results.
11429
11662
  # @return [String]
11430
11663
  #
11431
11664
  # @!attribute [rw] max_results
@@ -11445,8 +11678,8 @@ module Aws::IoT
11445
11678
  # @return [Array<Types::LogTargetConfiguration>]
11446
11679
  #
11447
11680
  # @!attribute [rw] next_token
11448
- # The token used to get the next set of results, or **null** if there
11449
- # are no additional results.
11681
+ # The token to use to get the next set of results, or **null** if
11682
+ # there are no additional results.
11450
11683
  # @return [String]
11451
11684
  #
11452
11685
  class ListV2LoggingLevelsResponse < Struct.new(
@@ -11893,6 +12126,7 @@ module Aws::IoT
11893
12126
  #
11894
12127
  # {
11895
12128
  # file_name: "FileName",
12129
+ # file_type: 1,
11896
12130
  # file_version: "OTAUpdateFileVersion",
11897
12131
  # file_location: {
11898
12132
  # stream: {
@@ -11942,6 +12176,11 @@ module Aws::IoT
11942
12176
  # The name of the file.
11943
12177
  # @return [String]
11944
12178
  #
12179
+ # @!attribute [rw] file_type
12180
+ # An integer value you can include in the job document to allow your
12181
+ # devices to identify the type of file received from the cloud.
12182
+ # @return [Integer]
12183
+ #
11945
12184
  # @!attribute [rw] file_version
11946
12185
  # The file version.
11947
12186
  # @return [String]
@@ -11960,6 +12199,7 @@ module Aws::IoT
11960
12199
  #
11961
12200
  class OTAUpdateFile < Struct.new(
11962
12201
  :file_name,
12202
+ :file_type,
11963
12203
  :file_version,
11964
12204
  :file_location,
11965
12205
  :code_signing,
@@ -12933,6 +13173,7 @@ module Aws::IoT
12933
13173
  # role_arn: "AwsArn", # required
12934
13174
  # delivery_stream_name: "DeliveryStreamName", # required
12935
13175
  # separator: "FirehoseSeparator",
13176
+ # batch_mode: false,
12936
13177
  # },
12937
13178
  # cloudwatch_metric: {
12938
13179
  # role_arn: "AwsArn", # required
@@ -12966,11 +13207,13 @@ module Aws::IoT
12966
13207
  # iot_analytics: {
12967
13208
  # channel_arn: "AwsArn",
12968
13209
  # channel_name: "ChannelName",
13210
+ # batch_mode: false,
12969
13211
  # role_arn: "AwsArn",
12970
13212
  # },
12971
13213
  # iot_events: {
12972
13214
  # input_name: "InputName", # required
12973
13215
  # message_id: "MessageId",
13216
+ # batch_mode: false,
12974
13217
  # role_arn: "AwsArn", # required
12975
13218
  # },
12976
13219
  # iot_site_wise: {
@@ -13092,6 +13335,7 @@ module Aws::IoT
13092
13335
  # role_arn: "AwsArn", # required
13093
13336
  # delivery_stream_name: "DeliveryStreamName", # required
13094
13337
  # separator: "FirehoseSeparator",
13338
+ # batch_mode: false,
13095
13339
  # },
13096
13340
  # cloudwatch_metric: {
13097
13341
  # role_arn: "AwsArn", # required
@@ -13125,11 +13369,13 @@ module Aws::IoT
13125
13369
  # iot_analytics: {
13126
13370
  # channel_arn: "AwsArn",
13127
13371
  # channel_name: "ChannelName",
13372
+ # batch_mode: false,
13128
13373
  # role_arn: "AwsArn",
13129
13374
  # },
13130
13375
  # iot_events: {
13131
13376
  # input_name: "InputName", # required
13132
13377
  # message_id: "MessageId",
13378
+ # batch_mode: false,
13133
13379
  # role_arn: "AwsArn", # required
13134
13380
  # },
13135
13381
  # iot_site_wise: {
@@ -13419,7 +13665,12 @@ module Aws::IoT
13419
13665
  # @return [String]
13420
13666
  #
13421
13667
  # @!attribute [rw] key
13422
- # The object key.
13668
+ # The object key. For more information, see [Actions, resources, and
13669
+ # condition keys for Amazon S3][1].
13670
+ #
13671
+ #
13672
+ #
13673
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html
13423
13674
  # @return [String]
13424
13675
  #
13425
13676
  # @!attribute [rw] canned_acl
@@ -13843,7 +14094,11 @@ module Aws::IoT
13843
14094
  include Aws::Structure
13844
14095
  end
13845
14096
 
13846
- # Use Sig V4 authorization.
14097
+ # For more information, see [Signature Version 4 signing process][1].
14098
+ #
14099
+ #
14100
+ #
14101
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html
13847
14102
  #
13848
14103
  # @note When making an API call, you may pass SigV4Authorization
13849
14104
  # data as a hash:
@@ -15581,6 +15836,7 @@ module Aws::IoT
15581
15836
  # role_arn: "AwsArn", # required
15582
15837
  # delivery_stream_name: "DeliveryStreamName", # required
15583
15838
  # separator: "FirehoseSeparator",
15839
+ # batch_mode: false,
15584
15840
  # },
15585
15841
  # cloudwatch_metric: {
15586
15842
  # role_arn: "AwsArn", # required
@@ -15614,11 +15870,13 @@ module Aws::IoT
15614
15870
  # iot_analytics: {
15615
15871
  # channel_arn: "AwsArn",
15616
15872
  # channel_name: "ChannelName",
15873
+ # batch_mode: false,
15617
15874
  # role_arn: "AwsArn",
15618
15875
  # },
15619
15876
  # iot_events: {
15620
15877
  # input_name: "InputName", # required
15621
15878
  # message_id: "MessageId",
15879
+ # batch_mode: false,
15622
15880
  # role_arn: "AwsArn", # required
15623
15881
  # },
15624
15882
  # iot_site_wise: {
@@ -15740,6 +15998,7 @@ module Aws::IoT
15740
15998
  # role_arn: "AwsArn", # required
15741
15999
  # delivery_stream_name: "DeliveryStreamName", # required
15742
16000
  # separator: "FirehoseSeparator",
16001
+ # batch_mode: false,
15743
16002
  # },
15744
16003
  # cloudwatch_metric: {
15745
16004
  # role_arn: "AwsArn", # required
@@ -15773,11 +16032,13 @@ module Aws::IoT
15773
16032
  # iot_analytics: {
15774
16033
  # channel_arn: "AwsArn",
15775
16034
  # channel_name: "ChannelName",
16035
+ # batch_mode: false,
15776
16036
  # role_arn: "AwsArn",
15777
16037
  # },
15778
16038
  # iot_events: {
15779
16039
  # input_name: "InputName", # required
15780
16040
  # message_id: "MessageId",
16041
+ # batch_mode: false,
15781
16042
  # role_arn: "AwsArn", # required
15782
16043
  # },
15783
16044
  # iot_site_wise: {
@@ -15852,7 +16113,7 @@ module Aws::IoT
15852
16113
  #
15853
16114
  #
15854
16115
  #
15855
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-rules.html#aws-iot-sql-reference
16116
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html
15856
16117
  # @return [String]
15857
16118
  #
15858
16119
  # @!attribute [rw] description
@@ -16673,6 +16934,7 @@ module Aws::IoT
16673
16934
  # timeout_config: {
16674
16935
  # in_progress_timeout_in_minutes: 1,
16675
16936
  # },
16937
+ # namespace_id: "NamespaceId",
16676
16938
  # }
16677
16939
  #
16678
16940
  # @!attribute [rw] job_id
@@ -16703,13 +16965,28 @@ module Aws::IoT
16703
16965
  # automatically set to `TIMED_OUT`.
16704
16966
  # @return [Types::TimeoutConfig]
16705
16967
  #
16968
+ # @!attribute [rw] namespace_id
16969
+ # The namespace used to indicate that a job is a customer-managed job.
16970
+ #
16971
+ # When you specify a value for this parameter, AWS IoT Core sends jobs
16972
+ # notifications to MQTT topics that contain the value in the following
16973
+ # format.
16974
+ #
16975
+ # `$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/`
16976
+ #
16977
+ # <note markdown="1"> The `namespaceId` feature is in public preview.
16978
+ #
16979
+ # </note>
16980
+ # @return [String]
16981
+ #
16706
16982
  class UpdateJobRequest < Struct.new(
16707
16983
  :job_id,
16708
16984
  :description,
16709
16985
  :presigned_url_config,
16710
16986
  :job_executions_rollout_config,
16711
16987
  :abort_config,
16712
- :timeout_config)
16988
+ :timeout_config,
16989
+ :namespace_id)
16713
16990
  SENSITIVE = []
16714
16991
  include Aws::Structure
16715
16992
  end
@@ -17019,12 +17296,12 @@ module Aws::IoT
17019
17296
  # @return [Hash<String,Types::AlertTarget>]
17020
17297
  #
17021
17298
  # @!attribute [rw] additional_metrics_to_retain
17299
+ # *Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2
17300
+ # instead.*
17301
+ #
17022
17302
  # A list of metrics whose data is retained (stored). By default, data
17023
17303
  # is retained for any metric used in the profile's `behaviors`, but
17024
17304
  # it is also retained for any metric specified here.
17025
- #
17026
- # **Note:** This API field is deprecated. Please use
17027
- # UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
17028
17305
  # @return [Array<String>]
17029
17306
  #
17030
17307
  # @!attribute [rw] additional_metrics_to_retain_v2
@@ -17095,12 +17372,12 @@ module Aws::IoT
17095
17372
  # @return [Hash<String,Types::AlertTarget>]
17096
17373
  #
17097
17374
  # @!attribute [rw] additional_metrics_to_retain
17375
+ # *Please use
17376
+ # UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.*
17377
+ #
17098
17378
  # A list of metrics whose data is retained (stored). By default, data
17099
17379
  # is retained for any metric used in the security profile's
17100
17380
  # `behaviors`, but it is also retained for any metric specified here.
17101
- #
17102
- # **Note:** This API field is deprecated. Please use
17103
- # UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
17104
17381
  # @return [Array<String>]
17105
17382
  #
17106
17383
  # @!attribute [rw] additional_metrics_to_retain_v2