aws-sdk-iot 1.78.0 → 1.79.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iot/client.rb +127 -8
- data/lib/aws-sdk-iot/client_api.rb +93 -0
- data/lib/aws-sdk-iot/errors.rb +16 -0
- data/lib/aws-sdk-iot/types.rb +233 -9
- data/lib/aws-sdk-iot.rb +1 -1
- metadata +2 -2
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,11 @@
|
|
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
|
+
|
4
9
|
1.78.0 (2021-11-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.79.0
|
data/lib/aws-sdk-iot/client.rb
CHANGED
@@ -383,6 +383,11 @@ module Aws::IoT
|
|
383
383
|
# @option params [String] :billing_group_name
|
384
384
|
# The name of the billing group.
|
385
385
|
#
|
386
|
+
# <note markdown="1"> This call is asynchronous. It might take several seconds for the
|
387
|
+
# detachment to propagate.
|
388
|
+
#
|
389
|
+
# </note>
|
390
|
+
#
|
386
391
|
# @option params [String] :billing_group_arn
|
387
392
|
# The ARN of the billing group.
|
388
393
|
#
|
@@ -1147,13 +1152,14 @@ module Aws::IoT
|
|
1147
1152
|
# request.
|
1148
1153
|
#
|
1149
1154
|
# **Note:** The CSR must include a public key that is either an RSA key
|
1150
|
-
# with a length of at least 2048 bits or an ECC key from NIST P-256
|
1151
|
-
# 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].
|
1152
1158
|
#
|
1153
1159
|
# **Note:** Reusing the same certificate signing request (CSR) results
|
1154
1160
|
# in a distinct certificate.
|
1155
1161
|
#
|
1156
|
-
# Requires permission to access the [CreateCertificateFromCsr][
|
1162
|
+
# Requires permission to access the [CreateCertificateFromCsr][2]
|
1157
1163
|
# action.
|
1158
1164
|
#
|
1159
1165
|
# You can create multiple certificates in a batch by creating a
|
@@ -1198,7 +1204,8 @@ module Aws::IoT
|
|
1198
1204
|
#
|
1199
1205
|
#
|
1200
1206
|
#
|
1201
|
-
# [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
|
1202
1209
|
#
|
1203
1210
|
# @option params [required, String] :certificate_signing_request
|
1204
1211
|
# The certificate signing request (CSR).
|
@@ -1712,6 +1719,10 @@ module Aws::IoT
|
|
1712
1719
|
# @option params [String] :job_template_arn
|
1713
1720
|
# The ARN of the job template used to create the job.
|
1714
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
|
+
#
|
1715
1726
|
# @return [Types::CreateJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1716
1727
|
#
|
1717
1728
|
# * {Types::CreateJobResponse#job_arn #job_arn} => String
|
@@ -1763,6 +1774,9 @@ module Aws::IoT
|
|
1763
1774
|
# ],
|
1764
1775
|
# namespace_id: "NamespaceId",
|
1765
1776
|
# job_template_arn: "JobTemplateArn",
|
1777
|
+
# document_parameters: {
|
1778
|
+
# "ParameterKey" => "ParameterValue",
|
1779
|
+
# },
|
1766
1780
|
# })
|
1767
1781
|
#
|
1768
1782
|
# @example Response structure
|
@@ -2767,8 +2781,8 @@ module Aws::IoT
|
|
2767
2781
|
# The files to stream.
|
2768
2782
|
#
|
2769
2783
|
# @option params [required, String] :role_arn
|
2770
|
-
# An IAM role that allows the IoT service principal
|
2771
|
-
#
|
2784
|
+
# An IAM role that allows the IoT service principal to access your S3
|
2785
|
+
# files.
|
2772
2786
|
#
|
2773
2787
|
# @option params [Array<Types::Tag>] :tags
|
2774
2788
|
# Metadata which can be used to manage streams.
|
@@ -5451,6 +5465,8 @@ module Aws::IoT
|
|
5451
5465
|
# resp.job.timeout_config.in_progress_timeout_in_minutes #=> Integer
|
5452
5466
|
# resp.job.namespace_id #=> String
|
5453
5467
|
# resp.job.job_template_arn #=> String
|
5468
|
+
# resp.job.document_parameters #=> Hash
|
5469
|
+
# resp.job.document_parameters["ParameterKey"] #=> String
|
5454
5470
|
#
|
5455
5471
|
# @overload describe_job(params = {})
|
5456
5472
|
# @param [Hash] params ({})
|
@@ -5564,6 +5580,55 @@ module Aws::IoT
|
|
5564
5580
|
req.send_request(options)
|
5565
5581
|
end
|
5566
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
|
+
|
5567
5632
|
# Gets information about a mitigation action.
|
5568
5633
|
#
|
5569
5634
|
# Requires permission to access the [DescribeMitigationAction][1]
|
@@ -8699,6 +8764,50 @@ module Aws::IoT
|
|
8699
8764
|
req.send_request(options)
|
8700
8765
|
end
|
8701
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
|
+
|
8702
8811
|
# Gets a list of all mitigation actions that match the specified filter
|
8703
8812
|
# criteria.
|
8704
8813
|
#
|
@@ -10494,7 +10603,12 @@ module Aws::IoT
|
|
10494
10603
|
end
|
10495
10604
|
|
10496
10605
|
# Register a certificate that does not have a certificate authority
|
10497
|
-
# (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
|
10498
10612
|
#
|
10499
10613
|
# @option params [required, String] :certificate_pem
|
10500
10614
|
# The certificate data, in PEM format.
|
@@ -10629,6 +10743,11 @@ module Aws::IoT
|
|
10629
10743
|
# Requires permission to access the [RemoveThingFromBillingGroup][1]
|
10630
10744
|
# action.
|
10631
10745
|
#
|
10746
|
+
# <note markdown="1"> This call is asynchronous. It might take several seconds for the
|
10747
|
+
# detachment to propagate.
|
10748
|
+
#
|
10749
|
+
# </note>
|
10750
|
+
#
|
10632
10751
|
#
|
10633
10752
|
#
|
10634
10753
|
# [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
|
@@ -13382,7 +13501,7 @@ module Aws::IoT
|
|
13382
13501
|
params: params,
|
13383
13502
|
config: config)
|
13384
13503
|
context[:gem_name] = 'aws-sdk-iot'
|
13385
|
-
context[:gem_version] = '1.
|
13504
|
+
context[:gem_version] = '1.79.0'
|
13386
13505
|
Seahorse::Client::Request.new(handlers, context)
|
13387
13506
|
end
|
13388
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')
|
@@ -890,6 +908,7 @@ module Aws::IoT
|
|
890
908
|
ReasonForNonComplianceCodes = Shapes::ListShape.new(name: 'ReasonForNonComplianceCodes')
|
891
909
|
Recursive = Shapes::BooleanShape.new(name: 'Recursive')
|
892
910
|
RecursiveWithoutDefault = Shapes::BooleanShape.new(name: 'RecursiveWithoutDefault')
|
911
|
+
Regex = Shapes::StringShape.new(name: 'Regex')
|
893
912
|
RegisterCACertificateRequest = Shapes::StructureShape.new(name: 'RegisterCACertificateRequest')
|
894
913
|
RegisterCACertificateResponse = Shapes::StructureShape.new(name: 'RegisterCACertificateResponse')
|
895
914
|
RegisterCertificateRequest = Shapes::StructureShape.new(name: 'RegisterCertificateRequest')
|
@@ -1860,6 +1879,7 @@ module Aws::IoT
|
|
1860
1879
|
CreateJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1861
1880
|
CreateJobRequest.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
1862
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"))
|
1863
1883
|
CreateJobRequest.struct_class = Types::CreateJobRequest
|
1864
1884
|
|
1865
1885
|
CreateJobResponse.add_member(:job_arn, Shapes::ShapeRef.new(shape: JobArn, location_name: "jobArn"))
|
@@ -2439,6 +2459,19 @@ module Aws::IoT
|
|
2439
2459
|
DescribeJobTemplateResponse.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
2440
2460
|
DescribeJobTemplateResponse.struct_class = Types::DescribeJobTemplateResponse
|
2441
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
|
+
|
2442
2475
|
DescribeMitigationActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: MitigationActionName, required: true, location: "uri", location_name: "actionName"))
|
2443
2476
|
DescribeMitigationActionRequest.struct_class = Types::DescribeMitigationActionRequest
|
2444
2477
|
|
@@ -2642,6 +2675,15 @@ module Aws::IoT
|
|
2642
2675
|
DisableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
|
2643
2676
|
DisableTopicRuleRequest.struct_class = Types::DisableTopicRuleRequest
|
2644
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
|
+
|
2645
2687
|
DomainConfigurationSummary.add_member(:domain_configuration_name, Shapes::ShapeRef.new(shape: ReservedDomainConfigurationName, location_name: "domainConfigurationName"))
|
2646
2688
|
DomainConfigurationSummary.add_member(:domain_configuration_arn, Shapes::ShapeRef.new(shape: DomainConfigurationArn, location_name: "domainConfigurationArn"))
|
2647
2689
|
DomainConfigurationSummary.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "serviceType"))
|
@@ -2686,6 +2728,8 @@ module Aws::IoT
|
|
2686
2728
|
EnableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
|
2687
2729
|
EnableTopicRuleRequest.struct_class = Types::EnableTopicRuleRequest
|
2688
2730
|
|
2731
|
+
Environments.member = Shapes::ShapeRef.new(shape: Environment)
|
2732
|
+
|
2689
2733
|
ErrorInfo.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "code"))
|
2690
2734
|
ErrorInfo.add_member(:message, Shapes::ShapeRef.new(shape: OTAUpdateErrorMessage, location_name: "message"))
|
2691
2735
|
ErrorInfo.struct_class = Types::ErrorInfo
|
@@ -2905,6 +2949,9 @@ module Aws::IoT
|
|
2905
2949
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2906
2950
|
InternalFailureException.struct_class = Types::InternalFailureException
|
2907
2951
|
|
2952
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2953
|
+
InternalServerException.struct_class = Types::InternalServerException
|
2954
|
+
|
2908
2955
|
InvalidAggregationException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
2909
2956
|
InvalidAggregationException.struct_class = Types::InvalidAggregationException
|
2910
2957
|
|
@@ -2955,6 +3002,7 @@ module Aws::IoT
|
|
2955
3002
|
Job.add_member(:timeout_config, Shapes::ShapeRef.new(shape: TimeoutConfig, location_name: "timeoutConfig"))
|
2956
3003
|
Job.add_member(:namespace_id, Shapes::ShapeRef.new(shape: NamespaceId, location_name: "namespaceId"))
|
2957
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"))
|
2958
3006
|
Job.struct_class = Types::Job
|
2959
3007
|
|
2960
3008
|
JobExecution.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
@@ -3288,6 +3336,15 @@ module Aws::IoT
|
|
3288
3336
|
ListJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
3289
3337
|
ListJobsResponse.struct_class = Types::ListJobsResponse
|
3290
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
|
+
|
3291
3348
|
ListMitigationActionsRequest.add_member(:action_type, Shapes::ShapeRef.new(shape: MitigationActionType, location: "querystring", location_name: "actionType"))
|
3292
3349
|
ListMitigationActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
3293
3350
|
ListMitigationActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
@@ -3599,6 +3656,15 @@ module Aws::IoT
|
|
3599
3656
|
MalformedPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
|
3600
3657
|
MalformedPolicyException.struct_class = Types::MalformedPolicyException
|
3601
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
|
+
|
3602
3668
|
MetricDimension.add_member(:dimension_name, Shapes::ShapeRef.new(shape: DimensionName, required: true, location_name: "dimensionName"))
|
3603
3669
|
MetricDimension.add_member(:operator, Shapes::ShapeRef.new(shape: DimensionValueOperator, location_name: "operator"))
|
3604
3670
|
MetricDimension.struct_class = Types::MetricDimension
|
@@ -3711,6 +3777,9 @@ module Aws::IoT
|
|
3711
3777
|
|
3712
3778
|
OutgoingCertificates.member = Shapes::ShapeRef.new(shape: OutgoingCertificate)
|
3713
3779
|
|
3780
|
+
ParameterMap.key = Shapes::ShapeRef.new(shape: ParameterKey)
|
3781
|
+
ParameterMap.value = Shapes::ShapeRef.new(shape: ParameterValue)
|
3782
|
+
|
3714
3783
|
Parameters.key = Shapes::ShapeRef.new(shape: Parameter)
|
3715
3784
|
Parameters.value = Shapes::ShapeRef.new(shape: Value)
|
3716
3785
|
|
@@ -6022,6 +6091,18 @@ module Aws::IoT
|
|
6022
6091
|
o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
|
6023
6092
|
end)
|
6024
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
|
+
|
6025
6106
|
api.add_operation(:describe_mitigation_action, Seahorse::Model::Operation.new.tap do |o|
|
6026
6107
|
o.name = "DescribeMitigationAction"
|
6027
6108
|
o.http_method = "GET"
|
@@ -6887,6 +6968,18 @@ module Aws::IoT
|
|
6887
6968
|
)
|
6888
6969
|
end)
|
6889
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
|
+
|
6890
6983
|
api.add_operation(:list_mitigation_actions, Seahorse::Model::Operation.new.tap do |o|
|
6891
6984
|
o.name = "ListMitigationActions"
|
6892
6985
|
o.http_method = "GET"
|
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
@@ -492,6 +492,11 @@ module Aws::IoT
|
|
492
492
|
#
|
493
493
|
# @!attribute [rw] billing_group_name
|
494
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>
|
495
500
|
# @return [String]
|
496
501
|
#
|
497
502
|
# @!attribute [rw] billing_group_arn
|
@@ -3501,6 +3506,9 @@ module Aws::IoT
|
|
3501
3506
|
# ],
|
3502
3507
|
# namespace_id: "NamespaceId",
|
3503
3508
|
# job_template_arn: "JobTemplateArn",
|
3509
|
+
# document_parameters: {
|
3510
|
+
# "ParameterKey" => "ParameterValue",
|
3511
|
+
# },
|
3504
3512
|
# }
|
3505
3513
|
#
|
3506
3514
|
# @!attribute [rw] job_id
|
@@ -3590,6 +3598,11 @@ module Aws::IoT
|
|
3590
3598
|
# The ARN of the job template used to create the job.
|
3591
3599
|
# @return [String]
|
3592
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
|
+
#
|
3593
3606
|
class CreateJobRequest < Struct.new(
|
3594
3607
|
:job_id,
|
3595
3608
|
:targets,
|
@@ -3603,7 +3616,8 @@ module Aws::IoT
|
|
3603
3616
|
:timeout_config,
|
3604
3617
|
:tags,
|
3605
3618
|
:namespace_id,
|
3606
|
-
:job_template_arn
|
3619
|
+
:job_template_arn,
|
3620
|
+
:document_parameters)
|
3607
3621
|
SENSITIVE = []
|
3608
3622
|
include Aws::Structure
|
3609
3623
|
end
|
@@ -4745,8 +4759,8 @@ module Aws::IoT
|
|
4745
4759
|
# @return [Array<Types::StreamFile>]
|
4746
4760
|
#
|
4747
4761
|
# @!attribute [rw] role_arn
|
4748
|
-
# An IAM role that allows the IoT service principal
|
4749
|
-
#
|
4762
|
+
# An IAM role that allows the IoT service principal to access your S3
|
4763
|
+
# files.
|
4750
4764
|
# @return [String]
|
4751
4765
|
#
|
4752
4766
|
# @!attribute [rw] tags
|
@@ -7300,6 +7314,72 @@ module Aws::IoT
|
|
7300
7314
|
include Aws::Structure
|
7301
7315
|
end
|
7302
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
|
+
|
7303
7383
|
# @note When making an API call, you may pass DescribeMitigationActionRequest
|
7304
7384
|
# data as a hash:
|
7305
7385
|
#
|
@@ -8294,6 +8374,46 @@ module Aws::IoT
|
|
8294
8374
|
include Aws::Structure
|
8295
8375
|
end
|
8296
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
|
+
|
8297
8417
|
# The summary of a domain configuration. A domain configuration
|
8298
8418
|
# specifies custom IoT-specific information about a domain. A domain
|
8299
8419
|
# configuration can be associated with an Amazon Web Services-managed
|
@@ -8865,8 +8985,7 @@ module Aws::IoT
|
|
8865
8985
|
end
|
8866
8986
|
|
8867
8987
|
# @!attribute [rw] total_count
|
8868
|
-
# The total number of
|
8869
|
-
# contain a value for the Aggregation field targeted in the request.
|
8988
|
+
# The total number of things that fit the query string criteria.
|
8870
8989
|
# @return [Integer]
|
8871
8990
|
#
|
8872
8991
|
# @!attribute [rw] buckets
|
@@ -9658,6 +9777,18 @@ module Aws::IoT
|
|
9658
9777
|
include Aws::Structure
|
9659
9778
|
end
|
9660
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
|
+
|
9661
9792
|
# The aggregation is invalid.
|
9662
9793
|
#
|
9663
9794
|
# @!attribute [rw] message
|
@@ -9980,6 +10111,13 @@ module Aws::IoT
|
|
9980
10111
|
# The ARN of the job template used to create the job.
|
9981
10112
|
# @return [String]
|
9982
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
|
+
#
|
9983
10121
|
class Job < Struct.new(
|
9984
10122
|
:job_arn,
|
9985
10123
|
:job_id,
|
@@ -9999,7 +10137,8 @@ module Aws::IoT
|
|
9999
10137
|
:job_process_details,
|
10000
10138
|
:timeout_config,
|
10001
10139
|
:namespace_id,
|
10002
|
-
:job_template_arn
|
10140
|
+
:job_template_arn,
|
10141
|
+
:document_parameters)
|
10003
10142
|
SENSITIVE = []
|
10004
10143
|
include Aws::Structure
|
10005
10144
|
end
|
@@ -11803,6 +11942,52 @@ module Aws::IoT
|
|
11803
11942
|
include Aws::Structure
|
11804
11943
|
end
|
11805
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
|
+
|
11806
11991
|
# @note When making an API call, you may pass ListMitigationActionsRequest
|
11807
11992
|
# data as a hash:
|
11808
11993
|
#
|
@@ -13454,6 +13639,39 @@ module Aws::IoT
|
|
13454
13639
|
include Aws::Structure
|
13455
13640
|
end
|
13456
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
|
+
|
13457
13675
|
# The dimension of a metric.
|
13458
13676
|
#
|
13459
13677
|
# @note When making an API call, you may pass MetricDimension
|
@@ -16280,11 +16498,17 @@ module Aws::IoT
|
|
16280
16498
|
include Aws::Structure
|
16281
16499
|
end
|
16282
16500
|
|
16283
|
-
# A map of key-value pairs for all supported statistics.
|
16284
|
-
#
|
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
|
16285
16508
|
#
|
16286
16509
|
# @!attribute [rw] count
|
16287
|
-
# 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.
|
16288
16512
|
# @return [Integer]
|
16289
16513
|
#
|
16290
16514
|
# @!attribute [rw] average
|
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-
|
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
|