aws-sdk-iot 1.96.0 → 1.98.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +241 -13
- data/lib/aws-sdk-iot/client_api.rb +69 -0
- data/lib/aws-sdk-iot/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-iot/endpoint_provider.rb +76 -76
- data/lib/aws-sdk-iot/endpoints.rb +14 -0
- data/lib/aws-sdk-iot/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-iot/types.rb +474 -6
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -150,6 +150,19 @@ module Aws::IoT
|
|
150
150
|
# role_arn: "AwsArn", # required
|
151
151
|
# topic: "TopicPattern", # required
|
152
152
|
# qos: 1,
|
153
|
+
# headers: {
|
154
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
155
|
+
# content_type: "ContentType",
|
156
|
+
# response_topic: "ResponseTopic",
|
157
|
+
# correlation_data: "CorrelationData",
|
158
|
+
# message_expiry: "MessageExpiry",
|
159
|
+
# user_properties: [
|
160
|
+
# {
|
161
|
+
# key: "UserPropertyKey", # required
|
162
|
+
# value: "UserPropertyValue", # required
|
163
|
+
# },
|
164
|
+
# ],
|
165
|
+
# },
|
153
166
|
# },
|
154
167
|
# s3: {
|
155
168
|
# role_arn: "AwsArn", # required
|
@@ -2825,6 +2838,12 @@ module Aws::IoT
|
|
2825
2838
|
# account: "AwsAccountId",
|
2826
2839
|
# iam_role_arn: "RoleArn",
|
2827
2840
|
# role_alias_arn: "RoleAliasArn",
|
2841
|
+
# issuer_certificate_identifier: {
|
2842
|
+
# issuer_certificate_subject: "IssuerCertificateSubject",
|
2843
|
+
# issuer_id: "IssuerId",
|
2844
|
+
# issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
|
2845
|
+
# },
|
2846
|
+
# device_certificate_arn: "CertificateArn",
|
2828
2847
|
# },
|
2829
2848
|
# expiration_date: Time.now,
|
2830
2849
|
# suppress_indefinitely: false,
|
@@ -3602,6 +3621,11 @@ module Aws::IoT
|
|
3602
3621
|
# document_parameters: {
|
3603
3622
|
# "ParameterKey" => "ParameterValue",
|
3604
3623
|
# },
|
3624
|
+
# scheduling_config: {
|
3625
|
+
# start_time: "StringDateTime",
|
3626
|
+
# end_time: "StringDateTime",
|
3627
|
+
# end_behavior: "STOP_ROLLOUT", # accepts STOP_ROLLOUT, CANCEL, FORCE_CANCEL
|
3628
|
+
# },
|
3605
3629
|
# }
|
3606
3630
|
#
|
3607
3631
|
# @!attribute [rw] job_id
|
@@ -3713,6 +3737,12 @@ module Aws::IoT
|
|
3713
3737
|
# </note>
|
3714
3738
|
# @return [Hash<String,String>]
|
3715
3739
|
#
|
3740
|
+
# @!attribute [rw] scheduling_config
|
3741
|
+
# The configuration that allows you to schedule a job for a future
|
3742
|
+
# date and time in addition to specifying the end behavior for each
|
3743
|
+
# job execution.
|
3744
|
+
# @return [Types::SchedulingConfig]
|
3745
|
+
#
|
3716
3746
|
class CreateJobRequest < Struct.new(
|
3717
3747
|
:job_id,
|
3718
3748
|
:targets,
|
@@ -3728,7 +3758,8 @@ module Aws::IoT
|
|
3728
3758
|
:namespace_id,
|
3729
3759
|
:job_template_arn,
|
3730
3760
|
:job_executions_retry_config,
|
3731
|
-
:document_parameters
|
3761
|
+
:document_parameters,
|
3762
|
+
:scheduling_config)
|
3732
3763
|
SENSITIVE = []
|
3733
3764
|
include Aws::Structure
|
3734
3765
|
end
|
@@ -5239,6 +5270,19 @@ module Aws::IoT
|
|
5239
5270
|
# role_arn: "AwsArn", # required
|
5240
5271
|
# topic: "TopicPattern", # required
|
5241
5272
|
# qos: 1,
|
5273
|
+
# headers: {
|
5274
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
5275
|
+
# content_type: "ContentType",
|
5276
|
+
# response_topic: "ResponseTopic",
|
5277
|
+
# correlation_data: "CorrelationData",
|
5278
|
+
# message_expiry: "MessageExpiry",
|
5279
|
+
# user_properties: [
|
5280
|
+
# {
|
5281
|
+
# key: "UserPropertyKey", # required
|
5282
|
+
# value: "UserPropertyValue", # required
|
5283
|
+
# },
|
5284
|
+
# ],
|
5285
|
+
# },
|
5242
5286
|
# },
|
5243
5287
|
# s3: {
|
5244
5288
|
# role_arn: "AwsArn", # required
|
@@ -5428,6 +5472,19 @@ module Aws::IoT
|
|
5428
5472
|
# role_arn: "AwsArn", # required
|
5429
5473
|
# topic: "TopicPattern", # required
|
5430
5474
|
# qos: 1,
|
5475
|
+
# headers: {
|
5476
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
5477
|
+
# content_type: "ContentType",
|
5478
|
+
# response_topic: "ResponseTopic",
|
5479
|
+
# correlation_data: "CorrelationData",
|
5480
|
+
# message_expiry: "MessageExpiry",
|
5481
|
+
# user_properties: [
|
5482
|
+
# {
|
5483
|
+
# key: "UserPropertyKey", # required
|
5484
|
+
# value: "UserPropertyValue", # required
|
5485
|
+
# },
|
5486
|
+
# ],
|
5487
|
+
# },
|
5431
5488
|
# },
|
5432
5489
|
# s3: {
|
5433
5490
|
# role_arn: "AwsArn", # required
|
@@ -5696,6 +5753,12 @@ module Aws::IoT
|
|
5696
5753
|
# account: "AwsAccountId",
|
5697
5754
|
# iam_role_arn: "RoleArn",
|
5698
5755
|
# role_alias_arn: "RoleAliasArn",
|
5756
|
+
# issuer_certificate_identifier: {
|
5757
|
+
# issuer_certificate_subject: "IssuerCertificateSubject",
|
5758
|
+
# issuer_id: "IssuerId",
|
5759
|
+
# issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
|
5760
|
+
# },
|
5761
|
+
# device_certificate_arn: "CertificateArn",
|
5699
5762
|
# },
|
5700
5763
|
# }
|
5701
5764
|
#
|
@@ -6641,6 +6704,12 @@ module Aws::IoT
|
|
6641
6704
|
# account: "AwsAccountId",
|
6642
6705
|
# iam_role_arn: "RoleArn",
|
6643
6706
|
# role_alias_arn: "RoleAliasArn",
|
6707
|
+
# issuer_certificate_identifier: {
|
6708
|
+
# issuer_certificate_subject: "IssuerCertificateSubject",
|
6709
|
+
# issuer_id: "IssuerId",
|
6710
|
+
# issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
|
6711
|
+
# },
|
6712
|
+
# device_certificate_arn: "CertificateArn",
|
6644
6713
|
# },
|
6645
6714
|
# }
|
6646
6715
|
#
|
@@ -10256,6 +10325,37 @@ module Aws::IoT
|
|
10256
10325
|
include Aws::Structure
|
10257
10326
|
end
|
10258
10327
|
|
10328
|
+
# The certificate issuer indentifier.
|
10329
|
+
#
|
10330
|
+
# @note When making an API call, you may pass IssuerCertificateIdentifier
|
10331
|
+
# data as a hash:
|
10332
|
+
#
|
10333
|
+
# {
|
10334
|
+
# issuer_certificate_subject: "IssuerCertificateSubject",
|
10335
|
+
# issuer_id: "IssuerId",
|
10336
|
+
# issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
|
10337
|
+
# }
|
10338
|
+
#
|
10339
|
+
# @!attribute [rw] issuer_certificate_subject
|
10340
|
+
# The subject of the issuer certificate.
|
10341
|
+
# @return [String]
|
10342
|
+
#
|
10343
|
+
# @!attribute [rw] issuer_id
|
10344
|
+
# The issuer ID.
|
10345
|
+
# @return [String]
|
10346
|
+
#
|
10347
|
+
# @!attribute [rw] issuer_certificate_serial_number
|
10348
|
+
# The issuer certificate serial number.
|
10349
|
+
# @return [String]
|
10350
|
+
#
|
10351
|
+
class IssuerCertificateIdentifier < Struct.new(
|
10352
|
+
:issuer_certificate_subject,
|
10353
|
+
:issuer_id,
|
10354
|
+
:issuer_certificate_serial_number)
|
10355
|
+
SENSITIVE = []
|
10356
|
+
include Aws::Structure
|
10357
|
+
end
|
10358
|
+
|
10259
10359
|
# The `Job` object contains details about a job.
|
10260
10360
|
#
|
10261
10361
|
# @!attribute [rw] job_arn
|
@@ -10388,6 +10488,12 @@ module Aws::IoT
|
|
10388
10488
|
# executions, otherwise false.
|
10389
10489
|
# @return [Boolean]
|
10390
10490
|
#
|
10491
|
+
# @!attribute [rw] scheduling_config
|
10492
|
+
# The configuration that allows you to schedule a job for a future
|
10493
|
+
# date and time in addition to specifying the end behavior for each
|
10494
|
+
# job execution.
|
10495
|
+
# @return [Types::SchedulingConfig]
|
10496
|
+
#
|
10391
10497
|
class Job < Struct.new(
|
10392
10498
|
:job_arn,
|
10393
10499
|
:job_id,
|
@@ -10410,7 +10516,8 @@ module Aws::IoT
|
|
10410
10516
|
:job_template_arn,
|
10411
10517
|
:job_executions_retry_config,
|
10412
10518
|
:document_parameters,
|
10413
|
-
:is_concurrent
|
10519
|
+
:is_concurrent,
|
10520
|
+
:scheduling_config)
|
10414
10521
|
SENSITIVE = []
|
10415
10522
|
include Aws::Structure
|
10416
10523
|
end
|
@@ -11064,6 +11171,12 @@ module Aws::IoT
|
|
11064
11171
|
# account: "AwsAccountId",
|
11065
11172
|
# iam_role_arn: "RoleArn",
|
11066
11173
|
# role_alias_arn: "RoleAliasArn",
|
11174
|
+
# issuer_certificate_identifier: {
|
11175
|
+
# issuer_certificate_subject: "IssuerCertificateSubject",
|
11176
|
+
# issuer_id: "IssuerId",
|
11177
|
+
# issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
|
11178
|
+
# },
|
11179
|
+
# device_certificate_arn: "CertificateArn",
|
11067
11180
|
# },
|
11068
11181
|
# max_results: 1,
|
11069
11182
|
# next_token: "NextToken",
|
@@ -11298,6 +11411,12 @@ module Aws::IoT
|
|
11298
11411
|
# account: "AwsAccountId",
|
11299
11412
|
# iam_role_arn: "RoleArn",
|
11300
11413
|
# role_alias_arn: "RoleAliasArn",
|
11414
|
+
# issuer_certificate_identifier: {
|
11415
|
+
# issuer_certificate_subject: "IssuerCertificateSubject",
|
11416
|
+
# issuer_id: "IssuerId",
|
11417
|
+
# issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
|
11418
|
+
# },
|
11419
|
+
# device_certificate_arn: "CertificateArn",
|
11301
11420
|
# },
|
11302
11421
|
# ascending_order: false,
|
11303
11422
|
# next_token: "NextToken",
|
@@ -12189,7 +12308,7 @@ module Aws::IoT
|
|
12189
12308
|
# data as a hash:
|
12190
12309
|
#
|
12191
12310
|
# {
|
12192
|
-
# status: "IN_PROGRESS", # accepts IN_PROGRESS, CANCELED, COMPLETED, DELETION_IN_PROGRESS
|
12311
|
+
# status: "IN_PROGRESS", # accepts IN_PROGRESS, CANCELED, COMPLETED, DELETION_IN_PROGRESS, SCHEDULED
|
12193
12312
|
# target_selection: "CONTINUOUS", # accepts CONTINUOUS, SNAPSHOT
|
12194
12313
|
# max_results: 1,
|
12195
12314
|
# next_token: "NextToken",
|
@@ -12872,6 +12991,52 @@ module Aws::IoT
|
|
12872
12991
|
include Aws::Structure
|
12873
12992
|
end
|
12874
12993
|
|
12994
|
+
# @note When making an API call, you may pass ListRelatedResourcesForAuditFindingRequest
|
12995
|
+
# data as a hash:
|
12996
|
+
#
|
12997
|
+
# {
|
12998
|
+
# finding_id: "FindingId", # required
|
12999
|
+
# next_token: "NextToken",
|
13000
|
+
# max_results: 1,
|
13001
|
+
# }
|
13002
|
+
#
|
13003
|
+
# @!attribute [rw] finding_id
|
13004
|
+
# The finding Id.
|
13005
|
+
# @return [String]
|
13006
|
+
#
|
13007
|
+
# @!attribute [rw] next_token
|
13008
|
+
# A token that can be used to retrieve the next set of results, or
|
13009
|
+
# `null` if there are no additional results.
|
13010
|
+
# @return [String]
|
13011
|
+
#
|
13012
|
+
# @!attribute [rw] max_results
|
13013
|
+
# The maximum number of results to return at one time.
|
13014
|
+
# @return [Integer]
|
13015
|
+
#
|
13016
|
+
class ListRelatedResourcesForAuditFindingRequest < Struct.new(
|
13017
|
+
:finding_id,
|
13018
|
+
:next_token,
|
13019
|
+
:max_results)
|
13020
|
+
SENSITIVE = []
|
13021
|
+
include Aws::Structure
|
13022
|
+
end
|
13023
|
+
|
13024
|
+
# @!attribute [rw] related_resources
|
13025
|
+
# The related resources.
|
13026
|
+
# @return [Array<Types::RelatedResource>]
|
13027
|
+
#
|
13028
|
+
# @!attribute [rw] next_token
|
13029
|
+
# A token that can be used to retrieve the next set of results, or
|
13030
|
+
# `null` for the first API call.
|
13031
|
+
# @return [String]
|
13032
|
+
#
|
13033
|
+
class ListRelatedResourcesForAuditFindingResponse < Struct.new(
|
13034
|
+
:related_resources,
|
13035
|
+
:next_token)
|
13036
|
+
SENSITIVE = []
|
13037
|
+
include Aws::Structure
|
13038
|
+
end
|
13039
|
+
|
12875
13040
|
# @note When making an API call, you may pass ListRoleAliasesRequest
|
12876
13041
|
# data as a hash:
|
12877
13042
|
#
|
@@ -14459,6 +14624,132 @@ module Aws::IoT
|
|
14459
14624
|
include Aws::Structure
|
14460
14625
|
end
|
14461
14626
|
|
14627
|
+
# Specifies MQTT Version 5.0 headers information. For more information,
|
14628
|
+
# see [ MQTT][1] from Amazon Web Services IoT Core Developer Guide.
|
14629
|
+
#
|
14630
|
+
#
|
14631
|
+
#
|
14632
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html
|
14633
|
+
#
|
14634
|
+
# @note When making an API call, you may pass MqttHeaders
|
14635
|
+
# data as a hash:
|
14636
|
+
#
|
14637
|
+
# {
|
14638
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
14639
|
+
# content_type: "ContentType",
|
14640
|
+
# response_topic: "ResponseTopic",
|
14641
|
+
# correlation_data: "CorrelationData",
|
14642
|
+
# message_expiry: "MessageExpiry",
|
14643
|
+
# user_properties: [
|
14644
|
+
# {
|
14645
|
+
# key: "UserPropertyKey", # required
|
14646
|
+
# value: "UserPropertyValue", # required
|
14647
|
+
# },
|
14648
|
+
# ],
|
14649
|
+
# }
|
14650
|
+
#
|
14651
|
+
# @!attribute [rw] payload_format_indicator
|
14652
|
+
# An `Enum` string value that indicates whether the payload is
|
14653
|
+
# formatted as UTF-8.
|
14654
|
+
#
|
14655
|
+
# Valid values are `UNSPECIFIED_BYTES` and `UTF8_DATA`.
|
14656
|
+
#
|
14657
|
+
# For more information, see [ Payload Format Indicator][1] from the
|
14658
|
+
# MQTT Version 5.0 specification.
|
14659
|
+
#
|
14660
|
+
# Supports [substitution templates][2].
|
14661
|
+
#
|
14662
|
+
#
|
14663
|
+
#
|
14664
|
+
# [1]: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901111
|
14665
|
+
# [2]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-substitution-templates.html
|
14666
|
+
# @return [String]
|
14667
|
+
#
|
14668
|
+
# @!attribute [rw] content_type
|
14669
|
+
# A UTF-8 encoded string that describes the content of the publishing
|
14670
|
+
# message.
|
14671
|
+
#
|
14672
|
+
# For more information, see [ Content Type][1] from the MQTT Version
|
14673
|
+
# 5.0 specification.
|
14674
|
+
#
|
14675
|
+
# Supports [substitution templates][2].
|
14676
|
+
#
|
14677
|
+
#
|
14678
|
+
#
|
14679
|
+
# [1]: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901118
|
14680
|
+
# [2]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-substitution-templates.html
|
14681
|
+
# @return [String]
|
14682
|
+
#
|
14683
|
+
# @!attribute [rw] response_topic
|
14684
|
+
# A UTF-8 encoded string that's used as the topic name for a response
|
14685
|
+
# message. The response topic is used to describe the topic which the
|
14686
|
+
# receiver should publish to as part of the request-response flow. The
|
14687
|
+
# topic must not contain wildcard characters.
|
14688
|
+
#
|
14689
|
+
# For more information, see [ Response Topic][1] from the MQTT Version
|
14690
|
+
# 5.0 specification.
|
14691
|
+
#
|
14692
|
+
# Supports [substitution templates][2].
|
14693
|
+
#
|
14694
|
+
#
|
14695
|
+
#
|
14696
|
+
# [1]: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901114
|
14697
|
+
# [2]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-substitution-templates.html
|
14698
|
+
# @return [String]
|
14699
|
+
#
|
14700
|
+
# @!attribute [rw] correlation_data
|
14701
|
+
# The base64-encoded binary data used by the sender of the request
|
14702
|
+
# message to identify which request the response message is for when
|
14703
|
+
# it's received.
|
14704
|
+
#
|
14705
|
+
# For more information, see [ Correlation Data][1] from the MQTT
|
14706
|
+
# Version 5.0 specification.
|
14707
|
+
#
|
14708
|
+
# <note markdown="1"> This binary data must be based64-encoded.
|
14709
|
+
#
|
14710
|
+
# </note>
|
14711
|
+
#
|
14712
|
+
# Supports [substitution templates][2].
|
14713
|
+
#
|
14714
|
+
#
|
14715
|
+
#
|
14716
|
+
# [1]: https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901115
|
14717
|
+
# [2]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-substitution-templates.html
|
14718
|
+
# @return [String]
|
14719
|
+
#
|
14720
|
+
# @!attribute [rw] message_expiry
|
14721
|
+
# A user-defined integer value that will persist a message at the
|
14722
|
+
# message broker for a specified amount of time to ensure that the
|
14723
|
+
# message will expire if it's no longer relevant to the subscriber.
|
14724
|
+
# The value of `messageExpiry` represents the number of seconds before
|
14725
|
+
# it expires. For more information about the limits of
|
14726
|
+
# `messageExpiry`, see [Amazon Web Services IoT Core message broker
|
14727
|
+
# and protocol limits and quotas ][1] from the Amazon Web Services
|
14728
|
+
# Reference Guide.
|
14729
|
+
#
|
14730
|
+
# Supports [substitution templates][2].
|
14731
|
+
#
|
14732
|
+
#
|
14733
|
+
#
|
14734
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html
|
14735
|
+
# [2]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-substitution-templates.html
|
14736
|
+
# @return [String]
|
14737
|
+
#
|
14738
|
+
# @!attribute [rw] user_properties
|
14739
|
+
# An array of key-value pairs that you define in the MQTT5 header.
|
14740
|
+
# @return [Array<Types::UserProperty>]
|
14741
|
+
#
|
14742
|
+
class MqttHeaders < Struct.new(
|
14743
|
+
:payload_format_indicator,
|
14744
|
+
:content_type,
|
14745
|
+
:response_topic,
|
14746
|
+
:correlation_data,
|
14747
|
+
:message_expiry,
|
14748
|
+
:user_properties)
|
14749
|
+
SENSITIVE = []
|
14750
|
+
include Aws::Structure
|
14751
|
+
end
|
14752
|
+
|
14462
14753
|
# Information about the resource that was noncompliant with the audit
|
14463
14754
|
# check.
|
14464
14755
|
#
|
@@ -15666,6 +15957,19 @@ module Aws::IoT
|
|
15666
15957
|
# role_arn: "AwsArn", # required
|
15667
15958
|
# topic: "TopicPattern", # required
|
15668
15959
|
# qos: 1,
|
15960
|
+
# headers: {
|
15961
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
15962
|
+
# content_type: "ContentType",
|
15963
|
+
# response_topic: "ResponseTopic",
|
15964
|
+
# correlation_data: "CorrelationData",
|
15965
|
+
# message_expiry: "MessageExpiry",
|
15966
|
+
# user_properties: [
|
15967
|
+
# {
|
15968
|
+
# key: "UserPropertyKey", # required
|
15969
|
+
# value: "UserPropertyValue", # required
|
15970
|
+
# },
|
15971
|
+
# ],
|
15972
|
+
# },
|
15669
15973
|
# },
|
15670
15974
|
# s3: {
|
15671
15975
|
# role_arn: "AwsArn", # required
|
@@ -15855,6 +16159,19 @@ module Aws::IoT
|
|
15855
16159
|
# role_arn: "AwsArn", # required
|
15856
16160
|
# topic: "TopicPattern", # required
|
15857
16161
|
# qos: 1,
|
16162
|
+
# headers: {
|
16163
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
16164
|
+
# content_type: "ContentType",
|
16165
|
+
# response_topic: "ResponseTopic",
|
16166
|
+
# correlation_data: "CorrelationData",
|
16167
|
+
# message_expiry: "MessageExpiry",
|
16168
|
+
# user_properties: [
|
16169
|
+
# {
|
16170
|
+
# key: "UserPropertyKey", # required
|
16171
|
+
# value: "UserPropertyValue", # required
|
16172
|
+
# },
|
16173
|
+
# ],
|
16174
|
+
# },
|
15858
16175
|
# },
|
15859
16176
|
# s3: {
|
15860
16177
|
# role_arn: "AwsArn", # required
|
@@ -16027,6 +16344,19 @@ module Aws::IoT
|
|
16027
16344
|
# role_arn: "AwsArn", # required
|
16028
16345
|
# topic: "TopicPattern", # required
|
16029
16346
|
# qos: 1,
|
16347
|
+
# headers: {
|
16348
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
16349
|
+
# content_type: "ContentType",
|
16350
|
+
# response_topic: "ResponseTopic",
|
16351
|
+
# correlation_data: "CorrelationData",
|
16352
|
+
# message_expiry: "MessageExpiry",
|
16353
|
+
# user_properties: [
|
16354
|
+
# {
|
16355
|
+
# key: "UserPropertyKey", # required
|
16356
|
+
# value: "UserPropertyValue", # required
|
16357
|
+
# },
|
16358
|
+
# ],
|
16359
|
+
# },
|
16030
16360
|
# }
|
16031
16361
|
#
|
16032
16362
|
# @!attribute [rw] role_arn
|
@@ -16042,10 +16372,20 @@ module Aws::IoT
|
|
16042
16372
|
# messages. The default value is 0.
|
16043
16373
|
# @return [Integer]
|
16044
16374
|
#
|
16375
|
+
# @!attribute [rw] headers
|
16376
|
+
# MQTT Version 5.0 headers information. For more information, see [
|
16377
|
+
# MQTT][1] from the Amazon Web Services IoT Core Developer Guide.
|
16378
|
+
#
|
16379
|
+
#
|
16380
|
+
#
|
16381
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html
|
16382
|
+
# @return [Types::MqttHeaders]
|
16383
|
+
#
|
16045
16384
|
class RepublishAction < Struct.new(
|
16046
16385
|
:role_arn,
|
16047
16386
|
:topic,
|
16048
|
-
:qos
|
16387
|
+
:qos,
|
16388
|
+
:headers)
|
16049
16389
|
SENSITIVE = []
|
16050
16390
|
include Aws::Structure
|
16051
16391
|
end
|
@@ -16089,6 +16429,12 @@ module Aws::IoT
|
|
16089
16429
|
# account: "AwsAccountId",
|
16090
16430
|
# iam_role_arn: "RoleArn",
|
16091
16431
|
# role_alias_arn: "RoleAliasArn",
|
16432
|
+
# issuer_certificate_identifier: {
|
16433
|
+
# issuer_certificate_subject: "IssuerCertificateSubject",
|
16434
|
+
# issuer_id: "IssuerId",
|
16435
|
+
# issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
|
16436
|
+
# },
|
16437
|
+
# device_certificate_arn: "CertificateArn",
|
16092
16438
|
# }
|
16093
16439
|
#
|
16094
16440
|
# @!attribute [rw] device_certificate_id
|
@@ -16123,6 +16469,14 @@ module Aws::IoT
|
|
16123
16469
|
# The ARN of the role alias that has overly permissive actions.
|
16124
16470
|
# @return [String]
|
16125
16471
|
#
|
16472
|
+
# @!attribute [rw] issuer_certificate_identifier
|
16473
|
+
# The issuer certificate identifier.
|
16474
|
+
# @return [Types::IssuerCertificateIdentifier]
|
16475
|
+
#
|
16476
|
+
# @!attribute [rw] device_certificate_arn
|
16477
|
+
# The ARN of the identified device certificate.
|
16478
|
+
# @return [String]
|
16479
|
+
#
|
16126
16480
|
class ResourceIdentifier < Struct.new(
|
16127
16481
|
:device_certificate_id,
|
16128
16482
|
:ca_certificate_id,
|
@@ -16131,7 +16485,9 @@ module Aws::IoT
|
|
16131
16485
|
:policy_version_identifier,
|
16132
16486
|
:account,
|
16133
16487
|
:iam_role_arn,
|
16134
|
-
:role_alias_arn
|
16488
|
+
:role_alias_arn,
|
16489
|
+
:issuer_certificate_identifier,
|
16490
|
+
:device_certificate_arn)
|
16135
16491
|
SENSITIVE = []
|
16136
16492
|
include Aws::Structure
|
16137
16493
|
end
|
@@ -16398,6 +16754,50 @@ module Aws::IoT
|
|
16398
16754
|
include Aws::Structure
|
16399
16755
|
end
|
16400
16756
|
|
16757
|
+
# Specifies the date and time that a job will begin the rollout of the
|
16758
|
+
# job document to all devices in the target group. Additionally, you can
|
16759
|
+
# specify the end behavior for each job execution when it reaches the
|
16760
|
+
# scheduled end time.
|
16761
|
+
#
|
16762
|
+
# @note When making an API call, you may pass SchedulingConfig
|
16763
|
+
# data as a hash:
|
16764
|
+
#
|
16765
|
+
# {
|
16766
|
+
# start_time: "StringDateTime",
|
16767
|
+
# end_time: "StringDateTime",
|
16768
|
+
# end_behavior: "STOP_ROLLOUT", # accepts STOP_ROLLOUT, CANCEL, FORCE_CANCEL
|
16769
|
+
# }
|
16770
|
+
#
|
16771
|
+
# @!attribute [rw] start_time
|
16772
|
+
# The time a job will begin rollout of the job document to all devices
|
16773
|
+
# in the target group for a job. The `startTime` can be scheduled up
|
16774
|
+
# to a year in advance and must be scheduled a minimum of thirty
|
16775
|
+
# minutes from the current time.
|
16776
|
+
# @return [String]
|
16777
|
+
#
|
16778
|
+
# @!attribute [rw] end_time
|
16779
|
+
# The time a job will stop rollout of the job document to all devices
|
16780
|
+
# in the target group for a job. The `endTime` must take place no
|
16781
|
+
# later than two years from the current time and be scheduled a
|
16782
|
+
# minimum of thirty minutes from the current time. The minimum
|
16783
|
+
# duration between `startTime` and `endTime` is thirty minutes. The
|
16784
|
+
# maximum duration between `startTime` and `endTime` is two years.
|
16785
|
+
# @return [String]
|
16786
|
+
#
|
16787
|
+
# @!attribute [rw] end_behavior
|
16788
|
+
# Specifies the end behavior for all job executions after a job
|
16789
|
+
# reaches the selected `endTime`. If `endTime` is not selected when
|
16790
|
+
# creating the job, then `endBehavior` does not apply.
|
16791
|
+
# @return [String]
|
16792
|
+
#
|
16793
|
+
class SchedulingConfig < Struct.new(
|
16794
|
+
:start_time,
|
16795
|
+
:end_time,
|
16796
|
+
:end_behavior)
|
16797
|
+
SENSITIVE = []
|
16798
|
+
include Aws::Structure
|
16799
|
+
end
|
16800
|
+
|
16401
16801
|
# @note When making an API call, you may pass SearchIndexRequest
|
16402
16802
|
# data as a hash:
|
16403
16803
|
#
|
@@ -17872,7 +18272,13 @@ module Aws::IoT
|
|
17872
18272
|
#
|
17873
18273
|
# @!attribute [rw] managed_fields
|
17874
18274
|
# Contains fields that are indexed and whose types are already known
|
17875
|
-
# by the Fleet Indexing service.
|
18275
|
+
# by the Fleet Indexing service. This is an optional field. For more
|
18276
|
+
# information, see [Managed fields][1] in the *Amazon Web Services IoT
|
18277
|
+
# Core Developer Guide*.
|
18278
|
+
#
|
18279
|
+
#
|
18280
|
+
#
|
18281
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/managing-fleet-index.html#managed-field
|
17876
18282
|
# @return [Array<Types::Field>]
|
17877
18283
|
#
|
17878
18284
|
# @!attribute [rw] custom_fields
|
@@ -18637,6 +19043,19 @@ module Aws::IoT
|
|
18637
19043
|
# role_arn: "AwsArn", # required
|
18638
19044
|
# topic: "TopicPattern", # required
|
18639
19045
|
# qos: 1,
|
19046
|
+
# headers: {
|
19047
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
19048
|
+
# content_type: "ContentType",
|
19049
|
+
# response_topic: "ResponseTopic",
|
19050
|
+
# correlation_data: "CorrelationData",
|
19051
|
+
# message_expiry: "MessageExpiry",
|
19052
|
+
# user_properties: [
|
19053
|
+
# {
|
19054
|
+
# key: "UserPropertyKey", # required
|
19055
|
+
# value: "UserPropertyValue", # required
|
19056
|
+
# },
|
19057
|
+
# ],
|
19058
|
+
# },
|
18640
19059
|
# },
|
18641
19060
|
# s3: {
|
18642
19061
|
# role_arn: "AwsArn", # required
|
@@ -18826,6 +19245,19 @@ module Aws::IoT
|
|
18826
19245
|
# role_arn: "AwsArn", # required
|
18827
19246
|
# topic: "TopicPattern", # required
|
18828
19247
|
# qos: 1,
|
19248
|
+
# headers: {
|
19249
|
+
# payload_format_indicator: "PayloadFormatIndicator",
|
19250
|
+
# content_type: "ContentType",
|
19251
|
+
# response_topic: "ResponseTopic",
|
19252
|
+
# correlation_data: "CorrelationData",
|
19253
|
+
# message_expiry: "MessageExpiry",
|
19254
|
+
# user_properties: [
|
19255
|
+
# {
|
19256
|
+
# key: "UserPropertyKey", # required
|
19257
|
+
# value: "UserPropertyValue", # required
|
19258
|
+
# },
|
19259
|
+
# ],
|
19260
|
+
# },
|
18829
19261
|
# },
|
18830
19262
|
# s3: {
|
18831
19263
|
# role_arn: "AwsArn", # required
|
@@ -19225,6 +19657,12 @@ module Aws::IoT
|
|
19225
19657
|
# account: "AwsAccountId",
|
19226
19658
|
# iam_role_arn: "RoleArn",
|
19227
19659
|
# role_alias_arn: "RoleAliasArn",
|
19660
|
+
# issuer_certificate_identifier: {
|
19661
|
+
# issuer_certificate_subject: "IssuerCertificateSubject",
|
19662
|
+
# issuer_id: "IssuerId",
|
19663
|
+
# issuer_certificate_serial_number: "IssuerCertificateSerialNumber",
|
19664
|
+
# },
|
19665
|
+
# device_certificate_arn: "CertificateArn",
|
19228
19666
|
# },
|
19229
19667
|
# expiration_date: Time.now,
|
19230
19668
|
# suppress_indefinitely: false,
|
@@ -20748,6 +21186,36 @@ module Aws::IoT
|
|
20748
21186
|
|
20749
21187
|
class UpdateTopicRuleDestinationResponse < Aws::EmptyStructure; end
|
20750
21188
|
|
21189
|
+
# A key-value pair that you define in the header. Both the key and the
|
21190
|
+
# value are either literal strings or valid [substitution templates][1].
|
21191
|
+
#
|
21192
|
+
#
|
21193
|
+
#
|
21194
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-substitution-templates.html
|
21195
|
+
#
|
21196
|
+
# @note When making an API call, you may pass UserProperty
|
21197
|
+
# data as a hash:
|
21198
|
+
#
|
21199
|
+
# {
|
21200
|
+
# key: "UserPropertyKey", # required
|
21201
|
+
# value: "UserPropertyValue", # required
|
21202
|
+
# }
|
21203
|
+
#
|
21204
|
+
# @!attribute [rw] key
|
21205
|
+
# A key to be specified in `UserProperty`.
|
21206
|
+
# @return [String]
|
21207
|
+
#
|
21208
|
+
# @!attribute [rw] value
|
21209
|
+
# A value to be specified in `UserProperty`.
|
21210
|
+
# @return [String]
|
21211
|
+
#
|
21212
|
+
class UserProperty < Struct.new(
|
21213
|
+
:key,
|
21214
|
+
:value)
|
21215
|
+
SENSITIVE = []
|
21216
|
+
include Aws::Structure
|
21217
|
+
end
|
21218
|
+
|
20751
21219
|
# @note When making an API call, you may pass ValidateSecurityProfileBehaviorsRequest
|
20752
21220
|
# data as a hash:
|
20753
21221
|
#
|