aws-sdk-iot 1.75.0 → 1.79.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +182 -9
- data/lib/aws-sdk-iot/client_api.rb +121 -0
- data/lib/aws-sdk-iot/errors.rb +16 -0
- data/lib/aws-sdk-iot/types.rb +316 -18
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 216661c4efdb1b97735092312c57e11ee0094b59e4ec5b2335d31aaedc897159
|
4
|
+
data.tar.gz: 77e64713b2d00af47c5fdfdac0368f4a91416a113ac5153688149d934be3c056
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a36d9198befcb5d2952b35bcdf2f7a3d7b960083cc76c3134533b4ddffde4088a3f0e2d8dc10a1c03f1f3bff043253fbfce01b9869b531f851fb5190377d41c3
|
7
|
+
data.tar.gz: 4793d5b4ea79c8b6c87d7c9a626c575d6b3f7c4089087c045dd752699a78fbc5686ecc0b136342ffe12b4ef092bdea3c2549a1c7b21cae2dfc610266467d194c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.79.0 (2021-11-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces a new feature, Managed Job Template, for AWS IoT Jobs Service. Customers can now use service provided managed job templates to easily create jobs for supported standard job actions.
|
8
|
+
|
9
|
+
1.78.0 (2021-11-04)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.77.0 (2021-10-18)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.76.0 (2021-09-21)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release adds support for verifying, viewing and filtering AWS IoT Device Defender detect violations with four verification states.
|
23
|
+
|
4
24
|
1.75.0 (2021-09-13)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.79.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -275,6 +275,15 @@ module Aws::IoT
|
|
275
275
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
276
|
# requests are made, and retries are disabled.
|
277
277
|
#
|
278
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
279
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
280
|
+
# will be used if available.
|
281
|
+
#
|
282
|
+
# @option options [Boolean] :use_fips_endpoint
|
283
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
284
|
+
# When a `fips` region is used, the region is normalized and this config
|
285
|
+
# is set to `true`.
|
286
|
+
#
|
278
287
|
# @option options [Boolean] :validate_params (true)
|
279
288
|
# When `true`, request parameters are validated before
|
280
289
|
# sending the request.
|
@@ -374,6 +383,11 @@ module Aws::IoT
|
|
374
383
|
# @option params [String] :billing_group_name
|
375
384
|
# The name of the billing group.
|
376
385
|
#
|
386
|
+
# <note markdown="1"> This call is asynchronous. It might take several seconds for the
|
387
|
+
# detachment to propagate.
|
388
|
+
#
|
389
|
+
# </note>
|
390
|
+
#
|
377
391
|
# @option params [String] :billing_group_arn
|
378
392
|
# The ARN of the billing group.
|
379
393
|
#
|
@@ -964,7 +978,10 @@ module Aws::IoT
|
|
964
978
|
# The description of the audit suppression.
|
965
979
|
#
|
966
980
|
# @option params [required, String] :client_request_token
|
967
|
-
#
|
981
|
+
# Each audit supression must have a unique client request token. If you
|
982
|
+
# try to create a new audit suppression with the same token as one that
|
983
|
+
# already exists, an exception occurs. If you omit this value, Amazon
|
984
|
+
# Web Services SDKs will automatically generate a unique client request.
|
968
985
|
#
|
969
986
|
# **A suitable default value is auto-generated.** You should normally
|
970
987
|
# not need to pass this option.**
|
@@ -1135,13 +1152,14 @@ module Aws::IoT
|
|
1135
1152
|
# request.
|
1136
1153
|
#
|
1137
1154
|
# **Note:** The CSR must include a public key that is either an RSA key
|
1138
|
-
# with a length of at least 2048 bits or an ECC key from NIST P-256
|
1139
|
-
# NIST P-384 curves.
|
1155
|
+
# with a length of at least 2048 bits or an ECC key from NIST P-256,
|
1156
|
+
# NIST P-384, or NIST P-512 curves. For supported certificates, consult
|
1157
|
+
# [ Certificate signing algorithms supported by IoT][1].
|
1140
1158
|
#
|
1141
1159
|
# **Note:** Reusing the same certificate signing request (CSR) results
|
1142
1160
|
# in a distinct certificate.
|
1143
1161
|
#
|
1144
|
-
# Requires permission to access the [CreateCertificateFromCsr][
|
1162
|
+
# Requires permission to access the [CreateCertificateFromCsr][2]
|
1145
1163
|
# action.
|
1146
1164
|
#
|
1147
1165
|
# You can create multiple certificates in a batch by creating a
|
@@ -1186,7 +1204,8 @@ module Aws::IoT
|
|
1186
1204
|
#
|
1187
1205
|
#
|
1188
1206
|
#
|
1189
|
-
# [1]: https://docs.aws.amazon.com/
|
1207
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms
|
1208
|
+
# [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
1190
1209
|
#
|
1191
1210
|
# @option params [required, String] :certificate_signing_request
|
1192
1211
|
# The certificate signing request (CSR).
|
@@ -1700,6 +1719,10 @@ module Aws::IoT
|
|
1700
1719
|
# @option params [String] :job_template_arn
|
1701
1720
|
# The ARN of the job template used to create the job.
|
1702
1721
|
#
|
1722
|
+
# @option params [Hash<String,String>] :document_parameters
|
1723
|
+
# Parameters of a managed template that you can specify to create the
|
1724
|
+
# job document.
|
1725
|
+
#
|
1703
1726
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1704
1727
|
#
|
1705
1728
|
# * {Types::CreateJobResponse#job_arn #job_arn} => String
|
@@ -1751,6 +1774,9 @@ module Aws::IoT
|
|
1751
1774
|
# ],
|
1752
1775
|
# namespace_id: "NamespaceId",
|
1753
1776
|
# job_template_arn: "JobTemplateArn",
|
1777
|
+
# document_parameters: {
|
1778
|
+
# "ParameterKey" => "ParameterValue",
|
1779
|
+
# },
|
1754
1780
|
# })
|
1755
1781
|
#
|
1756
1782
|
# @example Response structure
|
@@ -2755,8 +2781,8 @@ module Aws::IoT
|
|
2755
2781
|
# The files to stream.
|
2756
2782
|
#
|
2757
2783
|
# @option params [required, String] :role_arn
|
2758
|
-
# An IAM role that allows the IoT service principal
|
2759
|
-
#
|
2784
|
+
# An IAM role that allows the IoT service principal to access your S3
|
2785
|
+
# files.
|
2760
2786
|
#
|
2761
2787
|
# @option params [Array<Types::Tag>] :tags
|
2762
2788
|
# Metadata which can be used to manage streams.
|
@@ -5439,6 +5465,8 @@ module Aws::IoT
|
|
5439
5465
|
# resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
|
5440
5466
|
# resp.job.namespace_id #=> String
|
5441
5467
|
# resp.job.job_template_arn #=> String
|
5468
|
+
# resp.job.document_parameters #=> Hash
|
5469
|
+
# resp.job.document_parameters["ParameterKey"] #=> String
|
5442
5470
|
#
|
5443
5471
|
# @overload describe_job(params = {})
|
5444
5472
|
# @param [Hash] params ({})
|
@@ -5552,6 +5580,55 @@ module Aws::IoT
|
|
5552
5580
|
req.send_request(options)
|
5553
5581
|
end
|
5554
5582
|
|
5583
|
+
# View details of a managed job template.
|
5584
|
+
#
|
5585
|
+
# @option params [required, String] :template_name
|
5586
|
+
# The unique name of a managed job template, which is required.
|
5587
|
+
#
|
5588
|
+
# @option params [String] :template_version
|
5589
|
+
# An optional parameter to specify version of a managed template. If not
|
5590
|
+
# specified, the pre-defined default version is returned.
|
5591
|
+
#
|
5592
|
+
# @return [Types::DescribeManagedJobTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5593
|
+
#
|
5594
|
+
# * {Types::DescribeManagedJobTemplateResponse#template_name #template_name} => String
|
5595
|
+
# * {Types::DescribeManagedJobTemplateResponse#template_arn #template_arn} => String
|
5596
|
+
# * {Types::DescribeManagedJobTemplateResponse#description #description} => String
|
5597
|
+
# * {Types::DescribeManagedJobTemplateResponse#template_version #template_version} => String
|
5598
|
+
# * {Types::DescribeManagedJobTemplateResponse#environments #environments} => Array<String>
|
5599
|
+
# * {Types::DescribeManagedJobTemplateResponse#document_parameters #document_parameters} => Array<Types::DocumentParameter>
|
5600
|
+
# * {Types::DescribeManagedJobTemplateResponse#document #document} => String
|
5601
|
+
#
|
5602
|
+
# @example Request syntax with placeholder values
|
5603
|
+
#
|
5604
|
+
# resp = client.describe_managed_job_template({
|
5605
|
+
# template_name: "ManagedJobTemplateName", # required
|
5606
|
+
# template_version: "ManagedTemplateVersion",
|
5607
|
+
# })
|
5608
|
+
#
|
5609
|
+
# @example Response structure
|
5610
|
+
#
|
5611
|
+
# resp.template_name #=> String
|
5612
|
+
# resp.template_arn #=> String
|
5613
|
+
# resp.description #=> String
|
5614
|
+
# resp.template_version #=> String
|
5615
|
+
# resp.environments #=> Array
|
5616
|
+
# resp.environments[0] #=> String
|
5617
|
+
# resp.document_parameters #=> Array
|
5618
|
+
# resp.document_parameters[0].key #=> String
|
5619
|
+
# resp.document_parameters[0].description #=> String
|
5620
|
+
# resp.document_parameters[0].regex #=> String
|
5621
|
+
# resp.document_parameters[0].example #=> String
|
5622
|
+
# resp.document_parameters[0].optional #=> Boolean
|
5623
|
+
# resp.document #=> String
|
5624
|
+
#
|
5625
|
+
# @overload describe_managed_job_template(params = {})
|
5626
|
+
# @param [Hash] params ({})
|
5627
|
+
def describe_managed_job_template(params = {}, options = {})
|
5628
|
+
req = build_request(:describe_managed_job_template, params)
|
5629
|
+
req.send_request(options)
|
5630
|
+
end
|
5631
|
+
|
5555
5632
|
# Gets information about a mitigation action.
|
5556
5633
|
#
|
5557
5634
|
# Requires permission to access the [DescribeMitigationAction][1]
|
@@ -7259,6 +7336,9 @@ module Aws::IoT
|
|
7259
7336
|
# @option params [Boolean] :list_suppressed_alerts
|
7260
7337
|
# A list of all suppressed alerts.
|
7261
7338
|
#
|
7339
|
+
# @option params [String] :verification_state
|
7340
|
+
# The verification state of the violation (detect alarm).
|
7341
|
+
#
|
7262
7342
|
# @option params [String] :next_token
|
7263
7343
|
# The token for the next set of results.
|
7264
7344
|
#
|
@@ -7279,6 +7359,7 @@ module Aws::IoT
|
|
7279
7359
|
# security_profile_name: "SecurityProfileName",
|
7280
7360
|
# behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
|
7281
7361
|
# list_suppressed_alerts: false,
|
7362
|
+
# verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
7282
7363
|
# next_token: "NextToken",
|
7283
7364
|
# max_results: 1,
|
7284
7365
|
# })
|
@@ -7321,6 +7402,8 @@ module Aws::IoT
|
|
7321
7402
|
# resp.active_violations[0].last_violation_value.strings #=> Array
|
7322
7403
|
# resp.active_violations[0].last_violation_value.strings[0] #=> String
|
7323
7404
|
# resp.active_violations[0].violation_event_additional_info.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
|
7405
|
+
# resp.active_violations[0].verification_state #=> String, one of "FALSE_POSITIVE", "BENIGN_POSITIVE", "TRUE_POSITIVE", "UNKNOWN"
|
7406
|
+
# resp.active_violations[0].verification_state_description #=> String
|
7324
7407
|
# resp.active_violations[0].last_violation_time #=> Time
|
7325
7408
|
# resp.active_violations[0].violation_start_time #=> Time
|
7326
7409
|
# resp.next_token #=> String
|
@@ -8681,6 +8764,50 @@ module Aws::IoT
|
|
8681
8764
|
req.send_request(options)
|
8682
8765
|
end
|
8683
8766
|
|
8767
|
+
# Returns a list of managed job templates.
|
8768
|
+
#
|
8769
|
+
# @option params [String] :template_name
|
8770
|
+
# An optional parameter for template name. If specified, only the
|
8771
|
+
# versions of the managed job templates that have the specified template
|
8772
|
+
# name will be returned.
|
8773
|
+
#
|
8774
|
+
# @option params [Integer] :max_results
|
8775
|
+
# Maximum number of entries that can be returned.
|
8776
|
+
#
|
8777
|
+
# @option params [String] :next_token
|
8778
|
+
# The token to retrieve the next set of results.
|
8779
|
+
#
|
8780
|
+
# @return [Types::ListManagedJobTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8781
|
+
#
|
8782
|
+
# * {Types::ListManagedJobTemplatesResponse#managed_job_templates #managed_job_templates} => Array<Types::ManagedJobTemplateSummary>
|
8783
|
+
# * {Types::ListManagedJobTemplatesResponse#next_token #next_token} => String
|
8784
|
+
#
|
8785
|
+
# @example Request syntax with placeholder values
|
8786
|
+
#
|
8787
|
+
# resp = client.list_managed_job_templates({
|
8788
|
+
# template_name: "ManagedJobTemplateName",
|
8789
|
+
# max_results: 1,
|
8790
|
+
# next_token: "NextToken",
|
8791
|
+
# })
|
8792
|
+
#
|
8793
|
+
# @example Response structure
|
8794
|
+
#
|
8795
|
+
# resp.managed_job_templates #=> Array
|
8796
|
+
# resp.managed_job_templates[0].template_arn #=> String
|
8797
|
+
# resp.managed_job_templates[0].template_name #=> String
|
8798
|
+
# resp.managed_job_templates[0].description #=> String
|
8799
|
+
# resp.managed_job_templates[0].environments #=> Array
|
8800
|
+
# resp.managed_job_templates[0].environments[0] #=> String
|
8801
|
+
# resp.managed_job_templates[0].template_version #=> String
|
8802
|
+
# resp.next_token #=> String
|
8803
|
+
#
|
8804
|
+
# @overload list_managed_job_templates(params = {})
|
8805
|
+
# @param [Hash] params ({})
|
8806
|
+
def list_managed_job_templates(params = {}, options = {})
|
8807
|
+
req = build_request(:list_managed_job_templates, params)
|
8808
|
+
req.send_request(options)
|
8809
|
+
end
|
8810
|
+
|
8684
8811
|
# Gets a list of all mitigation actions that match the specified filter
|
8685
8812
|
# criteria.
|
8686
8813
|
#
|
@@ -10233,6 +10360,9 @@ module Aws::IoT
|
|
10233
10360
|
# @option params [Boolean] :list_suppressed_alerts
|
10234
10361
|
# A list of all suppressed alerts.
|
10235
10362
|
#
|
10363
|
+
# @option params [String] :verification_state
|
10364
|
+
# The verification state of the violation (detect alarm).
|
10365
|
+
#
|
10236
10366
|
# @option params [String] :next_token
|
10237
10367
|
# The token for the next set of results.
|
10238
10368
|
#
|
@@ -10255,6 +10385,7 @@ module Aws::IoT
|
|
10255
10385
|
# security_profile_name: "SecurityProfileName",
|
10256
10386
|
# behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
|
10257
10387
|
# list_suppressed_alerts: false,
|
10388
|
+
# verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
10258
10389
|
# next_token: "NextToken",
|
10259
10390
|
# max_results: 1,
|
10260
10391
|
# })
|
@@ -10298,6 +10429,8 @@ module Aws::IoT
|
|
10298
10429
|
# resp.violation_events[0].metric_value.strings[0] #=> String
|
10299
10430
|
# resp.violation_events[0].violation_event_additional_info.confidence_level #=> String, one of "LOW", "MEDIUM", "HIGH"
|
10300
10431
|
# resp.violation_events[0].violation_event_type #=> String, one of "in-alarm", "alarm-cleared", "alarm-invalidated"
|
10432
|
+
# resp.violation_events[0].verification_state #=> String, one of "FALSE_POSITIVE", "BENIGN_POSITIVE", "TRUE_POSITIVE", "UNKNOWN"
|
10433
|
+
# resp.violation_events[0].verification_state_description #=> String
|
10301
10434
|
# resp.violation_events[0].violation_event_time #=> Time
|
10302
10435
|
# resp.next_token #=> String
|
10303
10436
|
#
|
@@ -10308,6 +10441,36 @@ module Aws::IoT
|
|
10308
10441
|
req.send_request(options)
|
10309
10442
|
end
|
10310
10443
|
|
10444
|
+
# Set a verification state and provide a description of that
|
10445
|
+
# verification state on a violation (detect alarm).
|
10446
|
+
#
|
10447
|
+
# @option params [required, String] :violation_id
|
10448
|
+
# The violation ID.
|
10449
|
+
#
|
10450
|
+
# @option params [required, String] :verification_state
|
10451
|
+
# The verification state of the violation.
|
10452
|
+
#
|
10453
|
+
# @option params [String] :verification_state_description
|
10454
|
+
# The description of the verification state of the violation (detect
|
10455
|
+
# alarm).
|
10456
|
+
#
|
10457
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10458
|
+
#
|
10459
|
+
# @example Request syntax with placeholder values
|
10460
|
+
#
|
10461
|
+
# resp = client.put_verification_state_on_violation({
|
10462
|
+
# violation_id: "ViolationId", # required
|
10463
|
+
# verification_state: "FALSE_POSITIVE", # required, accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
10464
|
+
# verification_state_description: "VerificationStateDescription",
|
10465
|
+
# })
|
10466
|
+
#
|
10467
|
+
# @overload put_verification_state_on_violation(params = {})
|
10468
|
+
# @param [Hash] params ({})
|
10469
|
+
def put_verification_state_on_violation(params = {}, options = {})
|
10470
|
+
req = build_request(:put_verification_state_on_violation, params)
|
10471
|
+
req.send_request(options)
|
10472
|
+
end
|
10473
|
+
|
10311
10474
|
# Registers a CA certificate with IoT. This CA certificate can then be
|
10312
10475
|
# used to sign device certificates, which can be then registered with
|
10313
10476
|
# IoT. You can register up to 10 CA certificates per Amazon Web Services
|
@@ -10440,7 +10603,12 @@ module Aws::IoT
|
|
10440
10603
|
end
|
10441
10604
|
|
10442
10605
|
# Register a certificate that does not have a certificate authority
|
10443
|
-
# (CA).
|
10606
|
+
# (CA). For supported certificates, consult [ Certificate signing
|
10607
|
+
# algorithms supported by IoT][1].
|
10608
|
+
#
|
10609
|
+
#
|
10610
|
+
#
|
10611
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms
|
10444
10612
|
#
|
10445
10613
|
# @option params [required, String] :certificate_pem
|
10446
10614
|
# The certificate data, in PEM format.
|
@@ -10575,6 +10743,11 @@ module Aws::IoT
|
|
10575
10743
|
# Requires permission to access the [RemoveThingFromBillingGroup][1]
|
10576
10744
|
# action.
|
10577
10745
|
#
|
10746
|
+
# <note markdown="1"> This call is asynchronous. It might take several seconds for the
|
10747
|
+
# detachment to propagate.
|
10748
|
+
#
|
10749
|
+
# </note>
|
10750
|
+
#
|
10578
10751
|
#
|
10579
10752
|
#
|
10580
10753
|
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
@@ -13328,7 +13501,7 @@ module Aws::IoT
|
|
13328
13501
|
params: params,
|
13329
13502
|
config: config)
|
13330
13503
|
context[:gem_name] = 'aws-sdk-iot'
|
13331
|
-
context[:gem_version] = '1.
|
13504
|
+
context[:gem_version] = '1.79.0'
|
13332
13505
|
Seahorse::Client::Request.new(handlers, context)
|
13333
13506
|
end
|
13334
13507
|
|
@@ -405,6 +405,8 @@ module Aws::IoT
|
|
405
405
|
DescribeJobResponse = Shapes::StructureShape.new(name: 'DescribeJobResponse')
|
406
406
|
DescribeJobTemplateRequest = Shapes::StructureShape.new(name: 'DescribeJobTemplateRequest')
|
407
407
|
DescribeJobTemplateResponse = Shapes::StructureShape.new(name: 'DescribeJobTemplateResponse')
|
408
|
+
DescribeManagedJobTemplateRequest = Shapes::StructureShape.new(name: 'DescribeManagedJobTemplateRequest')
|
409
|
+
DescribeManagedJobTemplateResponse = Shapes::StructureShape.new(name: 'DescribeManagedJobTemplateResponse')
|
408
410
|
DescribeMitigationActionRequest = Shapes::StructureShape.new(name: 'DescribeMitigationActionRequest')
|
409
411
|
DescribeMitigationActionResponse = Shapes::StructureShape.new(name: 'DescribeMitigationActionResponse')
|
410
412
|
DescribeProvisioningTemplateRequest = Shapes::StructureShape.new(name: 'DescribeProvisioningTemplateRequest')
|
@@ -460,6 +462,8 @@ module Aws::IoT
|
|
460
462
|
DisableAllLogs = Shapes::BooleanShape.new(name: 'DisableAllLogs')
|
461
463
|
DisableTopicRuleRequest = Shapes::StructureShape.new(name: 'DisableTopicRuleRequest')
|
462
464
|
DisconnectReason = Shapes::StringShape.new(name: 'DisconnectReason')
|
465
|
+
DocumentParameter = Shapes::StructureShape.new(name: 'DocumentParameter')
|
466
|
+
DocumentParameters = Shapes::ListShape.new(name: 'DocumentParameters')
|
463
467
|
DomainConfigurationArn = Shapes::StringShape.new(name: 'DomainConfigurationArn')
|
464
468
|
DomainConfigurationName = Shapes::StringShape.new(name: 'DomainConfigurationName')
|
465
469
|
DomainConfigurationStatus = Shapes::StringShape.new(name: 'DomainConfigurationStatus')
|
@@ -485,12 +489,15 @@ module Aws::IoT
|
|
485
489
|
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
486
490
|
EndpointAddress = Shapes::StringShape.new(name: 'EndpointAddress')
|
487
491
|
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
|
492
|
+
Environment = Shapes::StringShape.new(name: 'Environment')
|
493
|
+
Environments = Shapes::ListShape.new(name: 'Environments')
|
488
494
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
489
495
|
ErrorInfo = Shapes::StructureShape.new(name: 'ErrorInfo')
|
490
496
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
491
497
|
EvaluationStatistic = Shapes::StringShape.new(name: 'EvaluationStatistic')
|
492
498
|
EventConfigurations = Shapes::MapShape.new(name: 'EventConfigurations')
|
493
499
|
EventType = Shapes::StringShape.new(name: 'EventType')
|
500
|
+
Example = Shapes::StringShape.new(name: 'Example')
|
494
501
|
ExecutionNamePrefix = Shapes::StringShape.new(name: 'ExecutionNamePrefix')
|
495
502
|
ExecutionNumber = Shapes::IntegerShape.new(name: 'ExecutionNumber')
|
496
503
|
ExpectedVersion = Shapes::IntegerShape.new(name: 'ExpectedVersion')
|
@@ -592,6 +599,7 @@ module Aws::IoT
|
|
592
599
|
InputName = Shapes::StringShape.new(name: 'InputName')
|
593
600
|
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
594
601
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
602
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
595
603
|
InvalidAggregationException = Shapes::StructureShape.new(name: 'InvalidAggregationException')
|
596
604
|
InvalidQueryException = Shapes::StructureShape.new(name: 'InvalidQueryException')
|
597
605
|
InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
|
@@ -687,6 +695,8 @@ module Aws::IoT
|
|
687
695
|
ListJobTemplatesResponse = Shapes::StructureShape.new(name: 'ListJobTemplatesResponse')
|
688
696
|
ListJobsRequest = Shapes::StructureShape.new(name: 'ListJobsRequest')
|
689
697
|
ListJobsResponse = Shapes::StructureShape.new(name: 'ListJobsResponse')
|
698
|
+
ListManagedJobTemplatesRequest = Shapes::StructureShape.new(name: 'ListManagedJobTemplatesRequest')
|
699
|
+
ListManagedJobTemplatesResponse = Shapes::StructureShape.new(name: 'ListManagedJobTemplatesResponse')
|
690
700
|
ListMitigationActionsRequest = Shapes::StructureShape.new(name: 'ListMitigationActionsRequest')
|
691
701
|
ListMitigationActionsResponse = Shapes::StructureShape.new(name: 'ListMitigationActionsResponse')
|
692
702
|
ListOTAUpdatesRequest = Shapes::StructureShape.new(name: 'ListOTAUpdatesRequest')
|
@@ -761,6 +771,10 @@ module Aws::IoT
|
|
761
771
|
LoggingOptionsPayload = Shapes::StructureShape.new(name: 'LoggingOptionsPayload')
|
762
772
|
MachineLearningDetectionConfig = Shapes::StructureShape.new(name: 'MachineLearningDetectionConfig')
|
763
773
|
MalformedPolicyException = Shapes::StructureShape.new(name: 'MalformedPolicyException')
|
774
|
+
ManagedJobTemplateName = Shapes::StringShape.new(name: 'ManagedJobTemplateName')
|
775
|
+
ManagedJobTemplateSummary = Shapes::StructureShape.new(name: 'ManagedJobTemplateSummary')
|
776
|
+
ManagedJobTemplatesSummaryList = Shapes::ListShape.new(name: 'ManagedJobTemplatesSummaryList')
|
777
|
+
ManagedTemplateVersion = Shapes::StringShape.new(name: 'ManagedTemplateVersion')
|
764
778
|
Marker = Shapes::StringShape.new(name: 'Marker')
|
765
779
|
MaxBuckets = Shapes::IntegerShape.new(name: 'MaxBuckets')
|
766
780
|
MaxJobExecutionsPerMin = Shapes::IntegerShape.new(name: 'MaxJobExecutionsPerMin')
|
@@ -817,12 +831,16 @@ module Aws::IoT
|
|
817
831
|
OTAUpdateSummary = Shapes::StructureShape.new(name: 'OTAUpdateSummary')
|
818
832
|
OTAUpdatesSummary = Shapes::ListShape.new(name: 'OTAUpdatesSummary')
|
819
833
|
OpenSearchAction = Shapes::StructureShape.new(name: 'OpenSearchAction')
|
834
|
+
Optional = Shapes::BooleanShape.new(name: 'Optional')
|
820
835
|
OptionalVersion = Shapes::IntegerShape.new(name: 'OptionalVersion')
|
821
836
|
OutgoingCertificate = Shapes::StructureShape.new(name: 'OutgoingCertificate')
|
822
837
|
OutgoingCertificates = Shapes::ListShape.new(name: 'OutgoingCertificates')
|
823
838
|
OverrideDynamicGroups = Shapes::BooleanShape.new(name: 'OverrideDynamicGroups')
|
824
839
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
825
840
|
Parameter = Shapes::StringShape.new(name: 'Parameter')
|
841
|
+
ParameterKey = Shapes::StringShape.new(name: 'ParameterKey')
|
842
|
+
ParameterMap = Shapes::MapShape.new(name: 'ParameterMap')
|
843
|
+
ParameterValue = Shapes::StringShape.new(name: 'ParameterValue')
|
826
844
|
Parameters = Shapes::MapShape.new(name: 'Parameters')
|
827
845
|
PartitionKey = Shapes::StringShape.new(name: 'PartitionKey')
|
828
846
|
PayloadField = Shapes::StringShape.new(name: 'PayloadField')
|
@@ -873,6 +891,8 @@ module Aws::IoT
|
|
873
891
|
PutAssetPropertyValueEntry = Shapes::StructureShape.new(name: 'PutAssetPropertyValueEntry')
|
874
892
|
PutAssetPropertyValueEntryList = Shapes::ListShape.new(name: 'PutAssetPropertyValueEntryList')
|
875
893
|
PutItemInput = Shapes::StructureShape.new(name: 'PutItemInput')
|
894
|
+
PutVerificationStateOnViolationRequest = Shapes::StructureShape.new(name: 'PutVerificationStateOnViolationRequest')
|
895
|
+
PutVerificationStateOnViolationResponse = Shapes::StructureShape.new(name: 'PutVerificationStateOnViolationResponse')
|
876
896
|
Qos = Shapes::IntegerShape.new(name: 'Qos')
|
877
897
|
QueryMaxResults = Shapes::IntegerShape.new(name: 'QueryMaxResults')
|
878
898
|
QueryString = Shapes::StringShape.new(name: 'QueryString')
|
@@ -888,6 +908,7 @@ module Aws::IoT
|
|
888
908
|
ReasonForNonComplianceCodes = Shapes::ListShape.new(name: 'ReasonForNonComplianceCodes')
|
889
909
|
Recursive = Shapes::BooleanShape.new(name: 'Recursive')
|
890
910
|
RecursiveWithoutDefault = Shapes::BooleanShape.new(name: 'RecursiveWithoutDefault')
|
911
|
+
Regex = Shapes::StringShape.new(name: 'Regex')
|
891
912
|
RegisterCACertificateRequest = Shapes::StructureShape.new(name: 'RegisterCACertificateRequest')
|
892
913
|
RegisterCACertificateResponse = Shapes::StructureShape.new(name: 'RegisterCACertificateResponse')
|
893
914
|
RegisterCertificateRequest = Shapes::StructureShape.new(name: 'RegisterCertificateRequest')
|
@@ -1206,6 +1227,8 @@ module Aws::IoT
|
|
1206
1227
|
ValidationErrors = Shapes::ListShape.new(name: 'ValidationErrors')
|
1207
1228
|
Value = Shapes::StringShape.new(name: 'Value')
|
1208
1229
|
Variance = Shapes::FloatShape.new(name: 'Variance')
|
1230
|
+
VerificationState = Shapes::StringShape.new(name: 'VerificationState')
|
1231
|
+
VerificationStateDescription = Shapes::StringShape.new(name: 'VerificationStateDescription')
|
1209
1232
|
Version = Shapes::IntegerShape.new(name: 'Version')
|
1210
1233
|
VersionConflictException = Shapes::StructureShape.new(name: 'VersionConflictException')
|
1211
1234
|
VersionNumber = Shapes::IntegerShape.new(name: 'VersionNumber')
|
@@ -1274,6 +1297,8 @@ module Aws::IoT
|
|
1274
1297
|
ActiveViolation.add_member(:behavior, Shapes::ShapeRef.new(shape: Behavior, location_name: "behavior"))
|
1275
1298
|
ActiveViolation.add_member(:last_violation_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "lastViolationValue"))
|
1276
1299
|
ActiveViolation.add_member(:violation_event_additional_info, Shapes::ShapeRef.new(shape: ViolationEventAdditionalInfo, location_name: "violationEventAdditionalInfo"))
|
1300
|
+
ActiveViolation.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location_name: "verificationState"))
|
1301
|
+
ActiveViolation.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
|
1277
1302
|
ActiveViolation.add_member(:last_violation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastViolationTime"))
|
1278
1303
|
ActiveViolation.add_member(:violation_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationStartTime"))
|
1279
1304
|
ActiveViolation.struct_class = Types::ActiveViolation
|
@@ -1854,6 +1879,7 @@ module Aws::IoT
|
|
1854
1879
|
CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1855
1880
|
CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
1856
1881
|
CreateJobRequest.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
|
1882
|
+
CreateJobRequest.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
1857
1883
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
1858
1884
|
|
1859
1885
|
CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
@@ -2433,6 +2459,19 @@ module Aws::IoT
|
|
2433
2459
|
DescribeJobTemplateResponse.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
2434
2460
|
DescribeJobTemplateResponse.struct_class = Types::DescribeJobTemplateResponse
|
2435
2461
|
|
2462
|
+
DescribeManagedJobTemplateRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, required: true, location: "uri", location_name: "templateName"))
|
2463
|
+
DescribeManagedJobTemplateRequest.add_member(:template_version, Shapes::ShapeRef.new(shape: ManagedTemplateVersion, location: "querystring", location_name: "templateVersion"))
|
2464
|
+
DescribeManagedJobTemplateRequest.struct_class = Types::DescribeManagedJobTemplateRequest
|
2465
|
+
|
2466
|
+
DescribeManagedJobTemplateResponse.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, location_name: "templateName"))
|
2467
|
+
DescribeManagedJobTemplateResponse.add_member(:template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "templateArn"))
|
2468
|
+
DescribeManagedJobTemplateResponse.add_member(:description, Shapes::ShapeRef.new(shape: JobDescription, location_name: "description"))
|
2469
|
+
DescribeManagedJobTemplateResponse.add_member(:template_version, Shapes::ShapeRef.new(shape: ManagedTemplateVersion, location_name: "templateVersion"))
|
2470
|
+
DescribeManagedJobTemplateResponse.add_member(:environments, Shapes::ShapeRef.new(shape: Environments, location_name: "environments"))
|
2471
|
+
DescribeManagedJobTemplateResponse.add_member(:document_parameters, Shapes::ShapeRef.new(shape: DocumentParameters, location_name: "documentParameters"))
|
2472
|
+
DescribeManagedJobTemplateResponse.add_member(:document, Shapes::ShapeRef.new(shape: JobDocument, location_name: "document"))
|
2473
|
+
DescribeManagedJobTemplateResponse.struct_class = Types::DescribeManagedJobTemplateResponse
|
2474
|
+
|
2436
2475
|
DescribeMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
|
2437
2476
|
DescribeMitigationActionRequest.struct_class = Types::DescribeMitigationActionRequest
|
2438
2477
|
|
@@ -2636,6 +2675,15 @@ module Aws::IoT
|
|
2636
2675
|
DisableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
|
2637
2676
|
DisableTopicRuleRequest.struct_class = Types::DisableTopicRuleRequest
|
2638
2677
|
|
2678
|
+
DocumentParameter.add_member(:key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "key"))
|
2679
|
+
DocumentParameter.add_member(:description, Shapes::ShapeRef.new(shape: JobDescription, location_name: "description"))
|
2680
|
+
DocumentParameter.add_member(:regex, Shapes::ShapeRef.new(shape: Regex, location_name: "regex"))
|
2681
|
+
DocumentParameter.add_member(:example, Shapes::ShapeRef.new(shape: Example, location_name: "example"))
|
2682
|
+
DocumentParameter.add_member(:optional, Shapes::ShapeRef.new(shape: Optional, location_name: "optional"))
|
2683
|
+
DocumentParameter.struct_class = Types::DocumentParameter
|
2684
|
+
|
2685
|
+
DocumentParameters.member = Shapes::ShapeRef.new(shape: DocumentParameter)
|
2686
|
+
|
2639
2687
|
DomainConfigurationSummary.add_member(:domain_configuration_name, Shapes::ShapeRef.new(shape: ReservedDomainConfigurationName, location_name: "domainConfigurationName"))
|
2640
2688
|
DomainConfigurationSummary.add_member(:domain_configuration_arn, Shapes::ShapeRef.new(shape: DomainConfigurationArn, location_name: "domainConfigurationArn"))
|
2641
2689
|
DomainConfigurationSummary.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "serviceType"))
|
@@ -2680,6 +2728,8 @@ module Aws::IoT
|
|
2680
2728
|
EnableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
|
2681
2729
|
EnableTopicRuleRequest.struct_class = Types::EnableTopicRuleRequest
|
2682
2730
|
|
2731
|
+
Environments.member = Shapes::ShapeRef.new(shape: Environment)
|
2732
|
+
|
2683
2733
|
ErrorInfo.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "code"))
|
2684
2734
|
ErrorInfo.add_member(:message, Shapes::ShapeRef.new(shape: OTAUpdateErrorMessage, location_name: "message"))
|
2685
2735
|
ErrorInfo.struct_class = Types::ErrorInfo
|
@@ -2899,6 +2949,9 @@ module Aws::IoT
|
|
2899
2949
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2900
2950
|
InternalFailureException.struct_class = Types::InternalFailureException
|
2901
2951
|
|
2952
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2953
|
+
InternalServerException.struct_class = Types::InternalServerException
|
2954
|
+
|
2902
2955
|
InvalidAggregationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2903
2956
|
InvalidAggregationException.struct_class = Types::InvalidAggregationException
|
2904
2957
|
|
@@ -2949,6 +3002,7 @@ module Aws::IoT
|
|
2949
3002
|
Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
2950
3003
|
Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
2951
3004
|
Job.add_member(:job_template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "jobTemplateArn"))
|
3005
|
+
Job.add_member(:document_parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "documentParameters"))
|
2952
3006
|
Job.struct_class = Types::Job
|
2953
3007
|
|
2954
3008
|
JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
@@ -3049,6 +3103,7 @@ module Aws::IoT
|
|
3049
3103
|
ListActiveViolationsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
|
3050
3104
|
ListActiveViolationsRequest.add_member(:behavior_criteria_type, Shapes::ShapeRef.new(shape: BehaviorCriteriaType, location: "querystring", location_name: "behaviorCriteriaType"))
|
3051
3105
|
ListActiveViolationsRequest.add_member(:list_suppressed_alerts, Shapes::ShapeRef.new(shape: ListSuppressedAlerts, location: "querystring", location_name: "listSuppressedAlerts"))
|
3106
|
+
ListActiveViolationsRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location: "querystring", location_name: "verificationState"))
|
3052
3107
|
ListActiveViolationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3053
3108
|
ListActiveViolationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3054
3109
|
ListActiveViolationsRequest.struct_class = Types::ListActiveViolationsRequest
|
@@ -3281,6 +3336,15 @@ module Aws::IoT
|
|
3281
3336
|
ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3282
3337
|
ListJobsResponse.struct_class = Types::ListJobsResponse
|
3283
3338
|
|
3339
|
+
ListManagedJobTemplatesRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, location: "querystring", location_name: "templateName"))
|
3340
|
+
ListManagedJobTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: LaserMaxResults, location: "querystring", location_name: "maxResults"))
|
3341
|
+
ListManagedJobTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3342
|
+
ListManagedJobTemplatesRequest.struct_class = Types::ListManagedJobTemplatesRequest
|
3343
|
+
|
3344
|
+
ListManagedJobTemplatesResponse.add_member(:managed_job_templates, Shapes::ShapeRef.new(shape: ManagedJobTemplatesSummaryList, location_name: "managedJobTemplates"))
|
3345
|
+
ListManagedJobTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3346
|
+
ListManagedJobTemplatesResponse.struct_class = Types::ListManagedJobTemplatesResponse
|
3347
|
+
|
3284
3348
|
ListMitigationActionsRequest.add_member(:action_type, Shapes::ShapeRef.new(shape: MitigationActionType, location: "querystring", location_name: "actionType"))
|
3285
3349
|
ListMitigationActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3286
3350
|
ListMitigationActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -3563,6 +3627,7 @@ module Aws::IoT
|
|
3563
3627
|
ListViolationEventsRequest.add_member(:security_profile_name, Shapes::ShapeRef.new(shape: SecurityProfileName, location: "querystring", location_name: "securityProfileName"))
|
3564
3628
|
ListViolationEventsRequest.add_member(:behavior_criteria_type, Shapes::ShapeRef.new(shape: BehaviorCriteriaType, location: "querystring", location_name: "behaviorCriteriaType"))
|
3565
3629
|
ListViolationEventsRequest.add_member(:list_suppressed_alerts, Shapes::ShapeRef.new(shape: ListSuppressedAlerts, location: "querystring", location_name: "listSuppressedAlerts"))
|
3630
|
+
ListViolationEventsRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location: "querystring", location_name: "verificationState"))
|
3566
3631
|
ListViolationEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
3567
3632
|
ListViolationEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3568
3633
|
ListViolationEventsRequest.struct_class = Types::ListViolationEventsRequest
|
@@ -3591,6 +3656,15 @@ module Aws::IoT
|
|
3591
3656
|
MalformedPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
3592
3657
|
MalformedPolicyException.struct_class = Types::MalformedPolicyException
|
3593
3658
|
|
3659
|
+
ManagedJobTemplateSummary.add_member(:template_arn, Shapes::ShapeRef.new(shape: JobTemplateArn, location_name: "templateArn"))
|
3660
|
+
ManagedJobTemplateSummary.add_member(:template_name, Shapes::ShapeRef.new(shape: ManagedJobTemplateName, location_name: "templateName"))
|
3661
|
+
ManagedJobTemplateSummary.add_member(:description, Shapes::ShapeRef.new(shape: JobDescription, location_name: "description"))
|
3662
|
+
ManagedJobTemplateSummary.add_member(:environments, Shapes::ShapeRef.new(shape: Environments, location_name: "environments"))
|
3663
|
+
ManagedJobTemplateSummary.add_member(:template_version, Shapes::ShapeRef.new(shape: ManagedTemplateVersion, location_name: "templateVersion"))
|
3664
|
+
ManagedJobTemplateSummary.struct_class = Types::ManagedJobTemplateSummary
|
3665
|
+
|
3666
|
+
ManagedJobTemplatesSummaryList.member = Shapes::ShapeRef.new(shape: ManagedJobTemplateSummary)
|
3667
|
+
|
3594
3668
|
MetricDimension.add_member(:dimension_name, Shapes::ShapeRef.new(shape: DimensionName, required: true, location_name: "dimensionName"))
|
3595
3669
|
MetricDimension.add_member(:operator, Shapes::ShapeRef.new(shape: DimensionValueOperator, location_name: "operator"))
|
3596
3670
|
MetricDimension.struct_class = Types::MetricDimension
|
@@ -3703,6 +3777,9 @@ module Aws::IoT
|
|
3703
3777
|
|
3704
3778
|
OutgoingCertificates.member = Shapes::ShapeRef.new(shape: OutgoingCertificate)
|
3705
3779
|
|
3780
|
+
ParameterMap.key = Shapes::ShapeRef.new(shape: ParameterKey)
|
3781
|
+
ParameterMap.value = Shapes::ShapeRef.new(shape: ParameterValue)
|
3782
|
+
|
3706
3783
|
Parameters.key = Shapes::ShapeRef.new(shape: Parameter)
|
3707
3784
|
Parameters.value = Shapes::ShapeRef.new(shape: Value)
|
3708
3785
|
|
@@ -3788,6 +3865,13 @@ module Aws::IoT
|
|
3788
3865
|
PutItemInput.add_member(:table_name, Shapes::ShapeRef.new(shape: TableName, required: true, location_name: "tableName"))
|
3789
3866
|
PutItemInput.struct_class = Types::PutItemInput
|
3790
3867
|
|
3868
|
+
PutVerificationStateOnViolationRequest.add_member(:violation_id, Shapes::ShapeRef.new(shape: ViolationId, required: true, location: "uri", location_name: "violationId"))
|
3869
|
+
PutVerificationStateOnViolationRequest.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, required: true, location_name: "verificationState"))
|
3870
|
+
PutVerificationStateOnViolationRequest.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
|
3871
|
+
PutVerificationStateOnViolationRequest.struct_class = Types::PutVerificationStateOnViolationRequest
|
3872
|
+
|
3873
|
+
PutVerificationStateOnViolationResponse.struct_class = Types::PutVerificationStateOnViolationResponse
|
3874
|
+
|
3791
3875
|
RateIncreaseCriteria.add_member(:number_of_notified_things, Shapes::ShapeRef.new(shape: NumberOfThings, location_name: "numberOfNotifiedThings"))
|
3792
3876
|
RateIncreaseCriteria.add_member(:number_of_succeeded_things, Shapes::ShapeRef.new(shape: NumberOfThings, location_name: "numberOfSucceededThings"))
|
3793
3877
|
RateIncreaseCriteria.struct_class = Types::RateIncreaseCriteria
|
@@ -4657,6 +4741,8 @@ module Aws::IoT
|
|
4657
4741
|
ViolationEvent.add_member(:metric_value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "metricValue"))
|
4658
4742
|
ViolationEvent.add_member(:violation_event_additional_info, Shapes::ShapeRef.new(shape: ViolationEventAdditionalInfo, location_name: "violationEventAdditionalInfo"))
|
4659
4743
|
ViolationEvent.add_member(:violation_event_type, Shapes::ShapeRef.new(shape: ViolationEventType, location_name: "violationEventType"))
|
4744
|
+
ViolationEvent.add_member(:verification_state, Shapes::ShapeRef.new(shape: VerificationState, location_name: "verificationState"))
|
4745
|
+
ViolationEvent.add_member(:verification_state_description, Shapes::ShapeRef.new(shape: VerificationStateDescription, location_name: "verificationStateDescription"))
|
4660
4746
|
ViolationEvent.add_member(:violation_event_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "violationEventTime"))
|
4661
4747
|
ViolationEvent.struct_class = Types::ViolationEvent
|
4662
4748
|
|
@@ -6005,6 +6091,18 @@ module Aws::IoT
|
|
6005
6091
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6006
6092
|
end)
|
6007
6093
|
|
6094
|
+
api.add_operation(:describe_managed_job_template, Seahorse::Model::Operation.new.tap do |o|
|
6095
|
+
o.name = "DescribeManagedJobTemplate"
|
6096
|
+
o.http_method = "GET"
|
6097
|
+
o.http_request_uri = "/managed-job-templates/{templateName}"
|
6098
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeManagedJobTemplateRequest)
|
6099
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeManagedJobTemplateResponse)
|
6100
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6101
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6102
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6103
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
6104
|
+
end)
|
6105
|
+
|
6008
6106
|
api.add_operation(:describe_mitigation_action, Seahorse::Model::Operation.new.tap do |o|
|
6009
6107
|
o.name = "DescribeMitigationAction"
|
6010
6108
|
o.http_method = "GET"
|
@@ -6870,6 +6968,18 @@ module Aws::IoT
|
|
6870
6968
|
)
|
6871
6969
|
end)
|
6872
6970
|
|
6971
|
+
api.add_operation(:list_managed_job_templates, Seahorse::Model::Operation.new.tap do |o|
|
6972
|
+
o.name = "ListManagedJobTemplates"
|
6973
|
+
o.http_method = "GET"
|
6974
|
+
o.http_request_uri = "/managed-job-templates"
|
6975
|
+
o.input = Shapes::ShapeRef.new(shape: ListManagedJobTemplatesRequest)
|
6976
|
+
o.output = Shapes::ShapeRef.new(shape: ListManagedJobTemplatesResponse)
|
6977
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
6978
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
6979
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
6980
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
6981
|
+
end)
|
6982
|
+
|
6873
6983
|
api.add_operation(:list_mitigation_actions, Seahorse::Model::Operation.new.tap do |o|
|
6874
6984
|
o.name = "ListMitigationActions"
|
6875
6985
|
o.http_method = "GET"
|
@@ -7440,6 +7550,17 @@ module Aws::IoT
|
|
7440
7550
|
)
|
7441
7551
|
end)
|
7442
7552
|
|
7553
|
+
api.add_operation(:put_verification_state_on_violation, Seahorse::Model::Operation.new.tap do |o|
|
7554
|
+
o.name = "PutVerificationStateOnViolation"
|
7555
|
+
o.http_method = "POST"
|
7556
|
+
o.http_request_uri = "/violations/verification-state/{violationId}"
|
7557
|
+
o.input = Shapes::ShapeRef.new(shape: PutVerificationStateOnViolationRequest)
|
7558
|
+
o.output = Shapes::ShapeRef.new(shape: PutVerificationStateOnViolationResponse)
|
7559
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
7560
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
7561
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
7562
|
+
end)
|
7563
|
+
|
7443
7564
|
api.add_operation(:register_ca_certificate, Seahorse::Model::Operation.new.tap do |o|
|
7444
7565
|
o.name = "RegisterCACertificate"
|
7445
7566
|
o.http_method = "POST"
|
data/lib/aws-sdk-iot/errors.rb
CHANGED
@@ -36,6 +36,7 @@ module Aws::IoT
|
|
36
36
|
# * {IndexNotReadyException}
|
37
37
|
# * {InternalException}
|
38
38
|
# * {InternalFailureException}
|
39
|
+
# * {InternalServerException}
|
39
40
|
# * {InvalidAggregationException}
|
40
41
|
# * {InvalidQueryException}
|
41
42
|
# * {InvalidRequestException}
|
@@ -199,6 +200,21 @@ module Aws::IoT
|
|
199
200
|
end
|
200
201
|
end
|
201
202
|
|
203
|
+
class InternalServerException < ServiceError
|
204
|
+
|
205
|
+
# @param [Seahorse::Client::RequestContext] context
|
206
|
+
# @param [String] message
|
207
|
+
# @param [Aws::IoT::Types::InternalServerException] data
|
208
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
209
|
+
super(context, message, data)
|
210
|
+
end
|
211
|
+
|
212
|
+
# @return [String]
|
213
|
+
def message
|
214
|
+
@message || @data[:message]
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
202
218
|
class InvalidAggregationException < ServiceError
|
203
219
|
|
204
220
|
# @param [Seahorse::Client::RequestContext] context
|
data/lib/aws-sdk-iot/types.rb
CHANGED
@@ -336,9 +336,12 @@ module Aws::IoT
|
|
336
336
|
# @return [Types::CloudwatchLogsAction]
|
337
337
|
#
|
338
338
|
# @!attribute [rw] elasticsearch
|
339
|
-
# Write data to an Amazon
|
339
|
+
# Write data to an Amazon OpenSearch Service domain.
|
340
340
|
#
|
341
|
-
# <note markdown="1">
|
341
|
+
# <note markdown="1"> The `Elasticsearch` action can only be used by existing rule
|
342
|
+
# actions. To create a new rule action or to update an existing rule
|
343
|
+
# action, use the `OpenSearch` rule action instead. For more
|
344
|
+
# information, see [OpenSearchAction][1].
|
342
345
|
#
|
343
346
|
# </note>
|
344
347
|
#
|
@@ -446,6 +449,14 @@ module Aws::IoT
|
|
446
449
|
# The details of a violation event.
|
447
450
|
# @return [Types::ViolationEventAdditionalInfo]
|
448
451
|
#
|
452
|
+
# @!attribute [rw] verification_state
|
453
|
+
# The verification state of the violation (detect alarm).
|
454
|
+
# @return [String]
|
455
|
+
#
|
456
|
+
# @!attribute [rw] verification_state_description
|
457
|
+
# The description of the verification state of the violation.
|
458
|
+
# @return [String]
|
459
|
+
#
|
449
460
|
# @!attribute [rw] last_violation_time
|
450
461
|
# The time the most recent violation occurred.
|
451
462
|
# @return [Time]
|
@@ -461,6 +472,8 @@ module Aws::IoT
|
|
461
472
|
:behavior,
|
462
473
|
:last_violation_value,
|
463
474
|
:violation_event_additional_info,
|
475
|
+
:verification_state,
|
476
|
+
:verification_state_description,
|
464
477
|
:last_violation_time,
|
465
478
|
:violation_start_time)
|
466
479
|
SENSITIVE = []
|
@@ -479,6 +492,11 @@ module Aws::IoT
|
|
479
492
|
#
|
480
493
|
# @!attribute [rw] billing_group_name
|
481
494
|
# The name of the billing group.
|
495
|
+
#
|
496
|
+
# <note markdown="1"> This call is asynchronous. It might take several seconds for the
|
497
|
+
# detachment to propagate.
|
498
|
+
#
|
499
|
+
# </note>
|
482
500
|
# @return [String]
|
483
501
|
#
|
484
502
|
# @!attribute [rw] billing_group_arn
|
@@ -2769,7 +2787,11 @@ module Aws::IoT
|
|
2769
2787
|
# @return [String]
|
2770
2788
|
#
|
2771
2789
|
# @!attribute [rw] client_request_token
|
2772
|
-
#
|
2790
|
+
# Each audit supression must have a unique client request token. If
|
2791
|
+
# you try to create a new audit suppression with the same token as one
|
2792
|
+
# that already exists, an exception occurs. If you omit this value,
|
2793
|
+
# Amazon Web Services SDKs will automatically generate a unique client
|
2794
|
+
# request.
|
2773
2795
|
#
|
2774
2796
|
# **A suitable default value is auto-generated.** You should normally
|
2775
2797
|
# not need to pass this option.
|
@@ -3484,6 +3506,9 @@ module Aws::IoT
|
|
3484
3506
|
# ],
|
3485
3507
|
# namespace_id: "NamespaceId",
|
3486
3508
|
# job_template_arn: "JobTemplateArn",
|
3509
|
+
# document_parameters: {
|
3510
|
+
# "ParameterKey" => "ParameterValue",
|
3511
|
+
# },
|
3487
3512
|
# }
|
3488
3513
|
#
|
3489
3514
|
# @!attribute [rw] job_id
|
@@ -3573,6 +3598,11 @@ module Aws::IoT
|
|
3573
3598
|
# The ARN of the job template used to create the job.
|
3574
3599
|
# @return [String]
|
3575
3600
|
#
|
3601
|
+
# @!attribute [rw] document_parameters
|
3602
|
+
# Parameters of a managed template that you can specify to create the
|
3603
|
+
# job document.
|
3604
|
+
# @return [Hash<String,String>]
|
3605
|
+
#
|
3576
3606
|
class CreateJobRequest < Struct.new(
|
3577
3607
|
:job_id,
|
3578
3608
|
:targets,
|
@@ -3586,7 +3616,8 @@ module Aws::IoT
|
|
3586
3616
|
:timeout_config,
|
3587
3617
|
:tags,
|
3588
3618
|
:namespace_id,
|
3589
|
-
:job_template_arn
|
3619
|
+
:job_template_arn,
|
3620
|
+
:document_parameters)
|
3590
3621
|
SENSITIVE = []
|
3591
3622
|
include Aws::Structure
|
3592
3623
|
end
|
@@ -4728,8 +4759,8 @@ module Aws::IoT
|
|
4728
4759
|
# @return [Array<Types::StreamFile>]
|
4729
4760
|
#
|
4730
4761
|
# @!attribute [rw] role_arn
|
4731
|
-
# An IAM role that allows the IoT service principal
|
4732
|
-
#
|
4762
|
+
# An IAM role that allows the IoT service principal to access your S3
|
4763
|
+
# files.
|
4733
4764
|
# @return [String]
|
4734
4765
|
#
|
4735
4766
|
# @!attribute [rw] tags
|
@@ -7283,6 +7314,72 @@ module Aws::IoT
|
|
7283
7314
|
include Aws::Structure
|
7284
7315
|
end
|
7285
7316
|
|
7317
|
+
# @note When making an API call, you may pass DescribeManagedJobTemplateRequest
|
7318
|
+
# data as a hash:
|
7319
|
+
#
|
7320
|
+
# {
|
7321
|
+
# template_name: "ManagedJobTemplateName", # required
|
7322
|
+
# template_version: "ManagedTemplateVersion",
|
7323
|
+
# }
|
7324
|
+
#
|
7325
|
+
# @!attribute [rw] template_name
|
7326
|
+
# The unique name of a managed job template, which is required.
|
7327
|
+
# @return [String]
|
7328
|
+
#
|
7329
|
+
# @!attribute [rw] template_version
|
7330
|
+
# An optional parameter to specify version of a managed template. If
|
7331
|
+
# not specified, the pre-defined default version is returned.
|
7332
|
+
# @return [String]
|
7333
|
+
#
|
7334
|
+
class DescribeManagedJobTemplateRequest < Struct.new(
|
7335
|
+
:template_name,
|
7336
|
+
:template_version)
|
7337
|
+
SENSITIVE = []
|
7338
|
+
include Aws::Structure
|
7339
|
+
end
|
7340
|
+
|
7341
|
+
# @!attribute [rw] template_name
|
7342
|
+
# The unique name of a managed template, such as `AWS-Reboot`.
|
7343
|
+
# @return [String]
|
7344
|
+
#
|
7345
|
+
# @!attribute [rw] template_arn
|
7346
|
+
# The unique Amazon Resource Name (ARN) of the managed template.
|
7347
|
+
# @return [String]
|
7348
|
+
#
|
7349
|
+
# @!attribute [rw] description
|
7350
|
+
# The unique description of a managed template.
|
7351
|
+
# @return [String]
|
7352
|
+
#
|
7353
|
+
# @!attribute [rw] template_version
|
7354
|
+
# The version for a managed template.
|
7355
|
+
# @return [String]
|
7356
|
+
#
|
7357
|
+
# @!attribute [rw] environments
|
7358
|
+
# A list of environments that are supported with the managed job
|
7359
|
+
# template.
|
7360
|
+
# @return [Array<String>]
|
7361
|
+
#
|
7362
|
+
# @!attribute [rw] document_parameters
|
7363
|
+
# A map of key-value pairs that you can use as guidance to specify the
|
7364
|
+
# inputs for creating a job from a managed template.
|
7365
|
+
# @return [Array<Types::DocumentParameter>]
|
7366
|
+
#
|
7367
|
+
# @!attribute [rw] document
|
7368
|
+
# The document schema for a managed job template.
|
7369
|
+
# @return [String]
|
7370
|
+
#
|
7371
|
+
class DescribeManagedJobTemplateResponse < Struct.new(
|
7372
|
+
:template_name,
|
7373
|
+
:template_arn,
|
7374
|
+
:description,
|
7375
|
+
:template_version,
|
7376
|
+
:environments,
|
7377
|
+
:document_parameters,
|
7378
|
+
:document)
|
7379
|
+
SENSITIVE = []
|
7380
|
+
include Aws::Structure
|
7381
|
+
end
|
7382
|
+
|
7286
7383
|
# @note When making an API call, you may pass DescribeMitigationActionRequest
|
7287
7384
|
# data as a hash:
|
7288
7385
|
#
|
@@ -8277,6 +8374,46 @@ module Aws::IoT
|
|
8277
8374
|
include Aws::Structure
|
8278
8375
|
end
|
8279
8376
|
|
8377
|
+
# A map of key-value pairs containing the patterns that need to be
|
8378
|
+
# replaced in a managed template job document schema. You can use the
|
8379
|
+
# description of each key as a guidance to specify the inputs during
|
8380
|
+
# runtime when creating a job.
|
8381
|
+
#
|
8382
|
+
# @!attribute [rw] key
|
8383
|
+
# Key of the map field containing the patterns that need to be
|
8384
|
+
# replaced in a managed template job document schema.
|
8385
|
+
# @return [String]
|
8386
|
+
#
|
8387
|
+
# @!attribute [rw] description
|
8388
|
+
# Description of the map field containing the patterns that need to be
|
8389
|
+
# replaced in a managed template job document schema.
|
8390
|
+
# @return [String]
|
8391
|
+
#
|
8392
|
+
# @!attribute [rw] regex
|
8393
|
+
# A regular expression of the patterns that need to be replaced in a
|
8394
|
+
# managed template job document schema.
|
8395
|
+
# @return [String]
|
8396
|
+
#
|
8397
|
+
# @!attribute [rw] example
|
8398
|
+
# An example illustrating a pattern that need to be replaced in a
|
8399
|
+
# managed template job document schema.
|
8400
|
+
# @return [String]
|
8401
|
+
#
|
8402
|
+
# @!attribute [rw] optional
|
8403
|
+
# Specifies whether a pattern that needs to be replaced in a managed
|
8404
|
+
# template job document schema is optional or required.
|
8405
|
+
# @return [Boolean]
|
8406
|
+
#
|
8407
|
+
class DocumentParameter < Struct.new(
|
8408
|
+
:key,
|
8409
|
+
:description,
|
8410
|
+
:regex,
|
8411
|
+
:example,
|
8412
|
+
:optional)
|
8413
|
+
SENSITIVE = []
|
8414
|
+
include Aws::Structure
|
8415
|
+
end
|
8416
|
+
|
8280
8417
|
# The summary of a domain configuration. A domain configuration
|
8281
8418
|
# specifies custom IoT-specific information about a domain. A domain
|
8282
8419
|
# configuration can be associated with an Amazon Web Services-managed
|
@@ -8461,10 +8598,13 @@ module Aws::IoT
|
|
8461
8598
|
include Aws::Structure
|
8462
8599
|
end
|
8463
8600
|
|
8464
|
-
# Describes an action that writes data to an Amazon
|
8465
|
-
#
|
8601
|
+
# Describes an action that writes data to an Amazon OpenSearch Service
|
8602
|
+
# domain.
|
8466
8603
|
#
|
8467
|
-
# <note markdown="1">
|
8604
|
+
# <note markdown="1"> The `Elasticsearch` action can only be used by existing rule actions.
|
8605
|
+
# To create a new rule action or to update an existing rule action, use
|
8606
|
+
# the `OpenSearch` rule action instead. For more information, see
|
8607
|
+
# [OpenSearchAction][1].
|
8468
8608
|
#
|
8469
8609
|
# </note>
|
8470
8610
|
#
|
@@ -8484,15 +8624,15 @@ module Aws::IoT
|
|
8484
8624
|
# }
|
8485
8625
|
#
|
8486
8626
|
# @!attribute [rw] role_arn
|
8487
|
-
# The IAM role ARN that has access to
|
8627
|
+
# The IAM role ARN that has access to OpenSearch.
|
8488
8628
|
# @return [String]
|
8489
8629
|
#
|
8490
8630
|
# @!attribute [rw] endpoint
|
8491
|
-
# The endpoint of your
|
8631
|
+
# The endpoint of your OpenSearch domain.
|
8492
8632
|
# @return [String]
|
8493
8633
|
#
|
8494
8634
|
# @!attribute [rw] index
|
8495
|
-
# The
|
8635
|
+
# The index where you want to store your data.
|
8496
8636
|
# @return [String]
|
8497
8637
|
#
|
8498
8638
|
# @!attribute [rw] type
|
@@ -8845,8 +8985,7 @@ module Aws::IoT
|
|
8845
8985
|
end
|
8846
8986
|
|
8847
8987
|
# @!attribute [rw] total_count
|
8848
|
-
# The total number of
|
8849
|
-
# contain a value for the Aggregation field targeted in the request.
|
8988
|
+
# The total number of things that fit the query string criteria.
|
8850
8989
|
# @return [Integer]
|
8851
8990
|
#
|
8852
8991
|
# @!attribute [rw] buckets
|
@@ -9638,6 +9777,18 @@ module Aws::IoT
|
|
9638
9777
|
include Aws::Structure
|
9639
9778
|
end
|
9640
9779
|
|
9780
|
+
# Internal error from the service that indicates an unexpected error or
|
9781
|
+
# that the service is unavailable.
|
9782
|
+
#
|
9783
|
+
# @!attribute [rw] message
|
9784
|
+
# @return [String]
|
9785
|
+
#
|
9786
|
+
class InternalServerException < Struct.new(
|
9787
|
+
:message)
|
9788
|
+
SENSITIVE = []
|
9789
|
+
include Aws::Structure
|
9790
|
+
end
|
9791
|
+
|
9641
9792
|
# The aggregation is invalid.
|
9642
9793
|
#
|
9643
9794
|
# @!attribute [rw] message
|
@@ -9960,6 +10111,13 @@ module Aws::IoT
|
|
9960
10111
|
# The ARN of the job template used to create the job.
|
9961
10112
|
# @return [String]
|
9962
10113
|
#
|
10114
|
+
# @!attribute [rw] document_parameters
|
10115
|
+
# A key-value map that pairs the patterns that need to be replaced in
|
10116
|
+
# a managed template job document schema. You can use the description
|
10117
|
+
# of each key as a guidance to specify the inputs during runtime when
|
10118
|
+
# creating a job.
|
10119
|
+
# @return [Hash<String,String>]
|
10120
|
+
#
|
9963
10121
|
class Job < Struct.new(
|
9964
10122
|
:job_arn,
|
9965
10123
|
:job_id,
|
@@ -9979,7 +10137,8 @@ module Aws::IoT
|
|
9979
10137
|
:job_process_details,
|
9980
10138
|
:timeout_config,
|
9981
10139
|
:namespace_id,
|
9982
|
-
:job_template_arn
|
10140
|
+
:job_template_arn,
|
10141
|
+
:document_parameters)
|
9983
10142
|
SENSITIVE = []
|
9984
10143
|
include Aws::Structure
|
9985
10144
|
end
|
@@ -10451,6 +10610,7 @@ module Aws::IoT
|
|
10451
10610
|
# security_profile_name: "SecurityProfileName",
|
10452
10611
|
# behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
|
10453
10612
|
# list_suppressed_alerts: false,
|
10613
|
+
# verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
10454
10614
|
# next_token: "NextToken",
|
10455
10615
|
# max_results: 1,
|
10456
10616
|
# }
|
@@ -10472,6 +10632,10 @@ module Aws::IoT
|
|
10472
10632
|
# A list of all suppressed alerts.
|
10473
10633
|
# @return [Boolean]
|
10474
10634
|
#
|
10635
|
+
# @!attribute [rw] verification_state
|
10636
|
+
# The verification state of the violation (detect alarm).
|
10637
|
+
# @return [String]
|
10638
|
+
#
|
10475
10639
|
# @!attribute [rw] next_token
|
10476
10640
|
# The token for the next set of results.
|
10477
10641
|
# @return [String]
|
@@ -10485,6 +10649,7 @@ module Aws::IoT
|
|
10485
10649
|
:security_profile_name,
|
10486
10650
|
:behavior_criteria_type,
|
10487
10651
|
:list_suppressed_alerts,
|
10652
|
+
:verification_state,
|
10488
10653
|
:next_token,
|
10489
10654
|
:max_results)
|
10490
10655
|
SENSITIVE = []
|
@@ -11777,6 +11942,52 @@ module Aws::IoT
|
|
11777
11942
|
include Aws::Structure
|
11778
11943
|
end
|
11779
11944
|
|
11945
|
+
# @note When making an API call, you may pass ListManagedJobTemplatesRequest
|
11946
|
+
# data as a hash:
|
11947
|
+
#
|
11948
|
+
# {
|
11949
|
+
# template_name: "ManagedJobTemplateName",
|
11950
|
+
# max_results: 1,
|
11951
|
+
# next_token: "NextToken",
|
11952
|
+
# }
|
11953
|
+
#
|
11954
|
+
# @!attribute [rw] template_name
|
11955
|
+
# An optional parameter for template name. If specified, only the
|
11956
|
+
# versions of the managed job templates that have the specified
|
11957
|
+
# template name will be returned.
|
11958
|
+
# @return [String]
|
11959
|
+
#
|
11960
|
+
# @!attribute [rw] max_results
|
11961
|
+
# Maximum number of entries that can be returned.
|
11962
|
+
# @return [Integer]
|
11963
|
+
#
|
11964
|
+
# @!attribute [rw] next_token
|
11965
|
+
# The token to retrieve the next set of results.
|
11966
|
+
# @return [String]
|
11967
|
+
#
|
11968
|
+
class ListManagedJobTemplatesRequest < Struct.new(
|
11969
|
+
:template_name,
|
11970
|
+
:max_results,
|
11971
|
+
:next_token)
|
11972
|
+
SENSITIVE = []
|
11973
|
+
include Aws::Structure
|
11974
|
+
end
|
11975
|
+
|
11976
|
+
# @!attribute [rw] managed_job_templates
|
11977
|
+
# A list of managed job templates that are returned.
|
11978
|
+
# @return [Array<Types::ManagedJobTemplateSummary>]
|
11979
|
+
#
|
11980
|
+
# @!attribute [rw] next_token
|
11981
|
+
# The token to retrieve the next set of results.
|
11982
|
+
# @return [String]
|
11983
|
+
#
|
11984
|
+
class ListManagedJobTemplatesResponse < Struct.new(
|
11985
|
+
:managed_job_templates,
|
11986
|
+
:next_token)
|
11987
|
+
SENSITIVE = []
|
11988
|
+
include Aws::Structure
|
11989
|
+
end
|
11990
|
+
|
11780
11991
|
# @note When making an API call, you may pass ListMitigationActionsRequest
|
11781
11992
|
# data as a hash:
|
11782
11993
|
#
|
@@ -13254,6 +13465,7 @@ module Aws::IoT
|
|
13254
13465
|
# security_profile_name: "SecurityProfileName",
|
13255
13466
|
# behavior_criteria_type: "STATIC", # accepts STATIC, STATISTICAL, MACHINE_LEARNING
|
13256
13467
|
# list_suppressed_alerts: false,
|
13468
|
+
# verification_state: "FALSE_POSITIVE", # accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
13257
13469
|
# next_token: "NextToken",
|
13258
13470
|
# max_results: 1,
|
13259
13471
|
# }
|
@@ -13284,6 +13496,10 @@ module Aws::IoT
|
|
13284
13496
|
# A list of all suppressed alerts.
|
13285
13497
|
# @return [Boolean]
|
13286
13498
|
#
|
13499
|
+
# @!attribute [rw] verification_state
|
13500
|
+
# The verification state of the violation (detect alarm).
|
13501
|
+
# @return [String]
|
13502
|
+
#
|
13287
13503
|
# @!attribute [rw] next_token
|
13288
13504
|
# The token for the next set of results.
|
13289
13505
|
# @return [String]
|
@@ -13299,6 +13515,7 @@ module Aws::IoT
|
|
13299
13515
|
:security_profile_name,
|
13300
13516
|
:behavior_criteria_type,
|
13301
13517
|
:list_suppressed_alerts,
|
13518
|
+
:verification_state,
|
13302
13519
|
:next_token,
|
13303
13520
|
:max_results)
|
13304
13521
|
SENSITIVE = []
|
@@ -13422,6 +13639,39 @@ module Aws::IoT
|
|
13422
13639
|
include Aws::Structure
|
13423
13640
|
end
|
13424
13641
|
|
13642
|
+
# An object that contains information about the managed template.
|
13643
|
+
#
|
13644
|
+
# @!attribute [rw] template_arn
|
13645
|
+
# The Amazon Resource Name (ARN) for a managed template.
|
13646
|
+
# @return [String]
|
13647
|
+
#
|
13648
|
+
# @!attribute [rw] template_name
|
13649
|
+
# The unique Name for a managed template.
|
13650
|
+
# @return [String]
|
13651
|
+
#
|
13652
|
+
# @!attribute [rw] description
|
13653
|
+
# The description for a managed template.
|
13654
|
+
# @return [String]
|
13655
|
+
#
|
13656
|
+
# @!attribute [rw] environments
|
13657
|
+
# A list of environments that are supported with the managed job
|
13658
|
+
# template.
|
13659
|
+
# @return [Array<String>]
|
13660
|
+
#
|
13661
|
+
# @!attribute [rw] template_version
|
13662
|
+
# The version for a managed template.
|
13663
|
+
# @return [String]
|
13664
|
+
#
|
13665
|
+
class ManagedJobTemplateSummary < Struct.new(
|
13666
|
+
:template_arn,
|
13667
|
+
:template_name,
|
13668
|
+
:description,
|
13669
|
+
:environments,
|
13670
|
+
:template_version)
|
13671
|
+
SENSITIVE = []
|
13672
|
+
include Aws::Structure
|
13673
|
+
end
|
13674
|
+
|
13425
13675
|
# The dimension of a metric.
|
13426
13676
|
#
|
13427
13677
|
# @note When making an API call, you may pass MetricDimension
|
@@ -14320,6 +14570,38 @@ module Aws::IoT
|
|
14320
14570
|
include Aws::Structure
|
14321
14571
|
end
|
14322
14572
|
|
14573
|
+
# @note When making an API call, you may pass PutVerificationStateOnViolationRequest
|
14574
|
+
# data as a hash:
|
14575
|
+
#
|
14576
|
+
# {
|
14577
|
+
# violation_id: "ViolationId", # required
|
14578
|
+
# verification_state: "FALSE_POSITIVE", # required, accepts FALSE_POSITIVE, BENIGN_POSITIVE, TRUE_POSITIVE, UNKNOWN
|
14579
|
+
# verification_state_description: "VerificationStateDescription",
|
14580
|
+
# }
|
14581
|
+
#
|
14582
|
+
# @!attribute [rw] violation_id
|
14583
|
+
# The violation ID.
|
14584
|
+
# @return [String]
|
14585
|
+
#
|
14586
|
+
# @!attribute [rw] verification_state
|
14587
|
+
# The verification state of the violation.
|
14588
|
+
# @return [String]
|
14589
|
+
#
|
14590
|
+
# @!attribute [rw] verification_state_description
|
14591
|
+
# The description of the verification state of the violation (detect
|
14592
|
+
# alarm).
|
14593
|
+
# @return [String]
|
14594
|
+
#
|
14595
|
+
class PutVerificationStateOnViolationRequest < Struct.new(
|
14596
|
+
:violation_id,
|
14597
|
+
:verification_state,
|
14598
|
+
:verification_state_description)
|
14599
|
+
SENSITIVE = []
|
14600
|
+
include Aws::Structure
|
14601
|
+
end
|
14602
|
+
|
14603
|
+
class PutVerificationStateOnViolationResponse < Aws::EmptyStructure; end
|
14604
|
+
|
14323
14605
|
# Allows you to define a criteria to initiate the increase in rate of
|
14324
14606
|
# rollout for a job.
|
14325
14607
|
#
|
@@ -16216,11 +16498,17 @@ module Aws::IoT
|
|
16216
16498
|
include Aws::Structure
|
16217
16499
|
end
|
16218
16500
|
|
16219
|
-
# A map of key-value pairs for all supported statistics.
|
16220
|
-
#
|
16501
|
+
# A map of key-value pairs for all supported statistics. For issues with
|
16502
|
+
# missing or unexpected values for this API, consult [ Fleet indexing
|
16503
|
+
# troubleshooting guide][1].
|
16504
|
+
#
|
16505
|
+
#
|
16506
|
+
#
|
16507
|
+
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/fleet-indexing-troubleshooting.html
|
16221
16508
|
#
|
16222
16509
|
# @!attribute [rw] count
|
16223
|
-
# The count of things that match the query
|
16510
|
+
# The count of things that match the query string criteria and contain
|
16511
|
+
# a valid aggregation field value.
|
16224
16512
|
# @return [Integer]
|
16225
16513
|
#
|
16226
16514
|
# @!attribute [rw] average
|
@@ -19837,6 +20125,14 @@ module Aws::IoT
|
|
19837
20125
|
# The type of violation event.
|
19838
20126
|
# @return [String]
|
19839
20127
|
#
|
20128
|
+
# @!attribute [rw] verification_state
|
20129
|
+
# The verification state of the violation (detect alarm).
|
20130
|
+
# @return [String]
|
20131
|
+
#
|
20132
|
+
# @!attribute [rw] verification_state_description
|
20133
|
+
# The description of the verification state of the violation.
|
20134
|
+
# @return [String]
|
20135
|
+
#
|
19840
20136
|
# @!attribute [rw] violation_event_time
|
19841
20137
|
# The time the violation event occurred.
|
19842
20138
|
# @return [Time]
|
@@ -19849,6 +20145,8 @@ module Aws::IoT
|
|
19849
20145
|
:metric_value,
|
19850
20146
|
:violation_event_additional_info,
|
19851
20147
|
:violation_event_type,
|
20148
|
+
:verification_state,
|
20149
|
+
:verification_state_description,
|
19852
20150
|
:violation_event_time)
|
19853
20151
|
SENSITIVE = []
|
19854
20152
|
include Aws::Structure
|
data/lib/aws-sdk-iot.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.79.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|