aws-sdk-iot 1.91.0 → 1.94.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 602be22a185a234f50eccf37f1a6146ff446ff58687bc97c9c6fb69e99b24ceb
4
- data.tar.gz: 9e4712d551631cfcb8ee2fdef975a5bba8dfb695ffeeb0860446962b3a782e20
3
+ metadata.gz: 48af15b064378f429ba5c7af2e343845baaa6e8ff643090a9d6dfc911304fe3a
4
+ data.tar.gz: 4e4224f2afa3e3e5722419a42e8cbed95b61fbf3a6881fc224e171e93ca7fbb8
5
5
  SHA512:
6
- metadata.gz: 7c08960fee42ada0154a6165018bcfd7abce3cb6165ef5b9517fdba4968133b21522fa27a71bb59201fe82beec83e798058308c323eba84437f6425a4803008d
7
- data.tar.gz: 3a59039d1ab187fc50a9484d2c10b3cd6b9dc5dcf37be98e9d0ed6a65fc55b2ac8b736345623333123904d207302d4bf2695a9e33631901b63bfab3b6beb368f
6
+ metadata.gz: d38399f5d0101674324018a06ed7d8e4ab33ec02697055bf465c89ae3ab92cd1fed6de0d3a442dc0194a8198c1d4ced89ecb09f52e461a6d2fc11e1474b2b893
7
+ data.tar.gz: 83ff5efb5cc00f8b51f842b26c0b8252171cd4f2ae59c0423461b3899ab52349b6f4424e1bcc63d8a9be46f1536727bc4a08535e1a1065132456f3bc95260604
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.94.0 (2022-08-04)
5
+ ------------------
6
+
7
+ * Feature - The release is to support attach a provisioning template to CACert for JITP function, Customer now doesn't have to hardcode a roleArn and templateBody during register a CACert to enable JITP.
8
+
9
+ 1.93.0 (2022-07-20)
10
+ ------------------
11
+
12
+ * Feature - GA release the ability to enable/disable IoT Fleet Indexing for Device Defender and Named Shadow information, and search them through IoT Fleet Indexing APIs. This includes Named Shadow Selection as a part of the UpdateIndexingConfiguration API.
13
+
14
+ 1.92.0 (2022-07-07)
15
+ ------------------
16
+
17
+ * Feature - This release adds support to register a CA certificate without having to provide a verification certificate. This also allows multiple AWS accounts to register the same CA in the same region.
18
+
4
19
  1.91.0 (2022-06-27)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.91.0
1
+ 1.94.0
@@ -582,7 +582,9 @@ module Aws::IoT
582
582
  # Attaches the specified policy to the specified principal (certificate
583
583
  # or other credential).
584
584
  #
585
- # **Note:** This action is deprecated. Please use AttachPolicy instead.
585
+ # **Note:** This action is deprecated and works as expected for backward
586
+ # compatibility, but we won't add enhancements. Use AttachPolicy
587
+ # instead.
586
588
  #
587
589
  # Requires permission to access the [AttachPrincipalPolicy][1] action.
588
590
  #
@@ -2445,7 +2447,7 @@ module Aws::IoT
2445
2447
  req.send_request(options)
2446
2448
  end
2447
2449
 
2448
- # Creates a fleet provisioning template.
2450
+ # Creates a provisioning template.
2449
2451
  #
2450
2452
  # Requires permission to access the [CreateProvisioningTemplate][1]
2451
2453
  # action.
@@ -2455,26 +2457,26 @@ module Aws::IoT
2455
2457
  # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
2456
2458
  #
2457
2459
  # @option params [required, String] :template_name
2458
- # The name of the fleet provisioning template.
2460
+ # The name of the provisioning template.
2459
2461
  #
2460
2462
  # @option params [String] :description
2461
- # The description of the fleet provisioning template.
2463
+ # The description of the provisioning template.
2462
2464
  #
2463
2465
  # @option params [required, String] :template_body
2464
- # The JSON formatted contents of the fleet provisioning template.
2466
+ # The JSON formatted contents of the provisioning template.
2465
2467
  #
2466
2468
  # @option params [Boolean] :enabled
2467
- # True to enable the fleet provisioning template, otherwise false.
2469
+ # True to enable the provisioning template, otherwise false.
2468
2470
  #
2469
2471
  # @option params [required, String] :provisioning_role_arn
2470
- # The role ARN for the role associated with the fleet provisioning
2471
- # template. This IoT role grants permission to provision a device.
2472
+ # The role ARN for the role associated with the provisioning template.
2473
+ # This IoT role grants permission to provision a device.
2472
2474
  #
2473
2475
  # @option params [Types::ProvisioningHook] :pre_provisioning_hook
2474
2476
  # Creates a pre-provisioning hook template.
2475
2477
  #
2476
2478
  # @option params [Array<Types::Tag>] :tags
2477
- # Metadata which can be used to manage the fleet provisioning template.
2479
+ # Metadata which can be used to manage the provisioning template.
2478
2480
  #
2479
2481
  # <note markdown="1"> For URI Request parameters use format:
2480
2482
  # ...key1=value1&amp;key2=value2...
@@ -2487,6 +2489,17 @@ module Aws::IoT
2487
2489
  #
2488
2490
  # </note>
2489
2491
  #
2492
+ # @option params [String] :type
2493
+ # The type you define in a provisioning template. You can create a
2494
+ # template with only one type. You can't change the template type after
2495
+ # its creation. The default value is `FLEET_PROVISIONING`. For more
2496
+ # information about provisioning template, see: [Provisioning
2497
+ # template][1].
2498
+ #
2499
+ #
2500
+ #
2501
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html
2502
+ #
2490
2503
  # @return [Types::CreateProvisioningTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2491
2504
  #
2492
2505
  # * {Types::CreateProvisioningTemplateResponse#template_arn #template_arn} => String
@@ -2511,6 +2524,7 @@ module Aws::IoT
2511
2524
  # value: "TagValue",
2512
2525
  # },
2513
2526
  # ],
2527
+ # type: "FLEET_PROVISIONING", # accepts FLEET_PROVISIONING, JITP
2514
2528
  # })
2515
2529
  #
2516
2530
  # @example Response structure
@@ -2526,7 +2540,7 @@ module Aws::IoT
2526
2540
  req.send_request(options)
2527
2541
  end
2528
2542
 
2529
- # Creates a new version of a fleet provisioning template.
2543
+ # Creates a new version of a provisioning template.
2530
2544
  #
2531
2545
  # Requires permission to access the
2532
2546
  # [CreateProvisioningTemplateVersion][1] action.
@@ -2536,10 +2550,10 @@ module Aws::IoT
2536
2550
  # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
2537
2551
  #
2538
2552
  # @option params [required, String] :template_name
2539
- # The name of the fleet provisioning template.
2553
+ # The name of the provisioning template.
2540
2554
  #
2541
2555
  # @option params [required, String] :template_body
2542
- # The JSON formatted contents of the fleet provisioning template.
2556
+ # The JSON formatted contents of the provisioning template.
2543
2557
  #
2544
2558
  # @option params [Boolean] :set_as_default
2545
2559
  # Sets a fleet provision template version as the default version.
@@ -4196,7 +4210,7 @@ module Aws::IoT
4196
4210
  req.send_request(options)
4197
4211
  end
4198
4212
 
4199
- # Deletes a fleet provisioning template.
4213
+ # Deletes a provisioning template.
4200
4214
  #
4201
4215
  # Requires permission to access the [DeleteProvisioningTemplate][1]
4202
4216
  # action.
@@ -4223,7 +4237,7 @@ module Aws::IoT
4223
4237
  req.send_request(options)
4224
4238
  end
4225
4239
 
4226
- # Deletes a fleet provisioning template version.
4240
+ # Deletes a provisioning template version.
4227
4241
  #
4228
4242
  # Requires permission to access the
4229
4243
  # [DeleteProvisioningTemplateVersion][1] action.
@@ -4233,10 +4247,10 @@ module Aws::IoT
4233
4247
  # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
4234
4248
  #
4235
4249
  # @option params [required, String] :template_name
4236
- # The name of the fleet provisioning template version to delete.
4250
+ # The name of the provisioning template version to delete.
4237
4251
  #
4238
4252
  # @option params [required, Integer] :version_id
4239
- # The fleet provisioning template version ID to delete.
4253
+ # The provisioning template version ID to delete.
4240
4254
  #
4241
4255
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4242
4256
  #
@@ -4997,8 +5011,10 @@ module Aws::IoT
4997
5011
  # resp.certificate_description.generation_id #=> String
4998
5012
  # resp.certificate_description.validity.not_before #=> Time
4999
5013
  # resp.certificate_description.validity.not_after #=> Time
5014
+ # resp.certificate_description.certificate_mode #=> String, one of "DEFAULT", "SNI_ONLY"
5000
5015
  # resp.registration_config.template_body #=> String
5001
5016
  # resp.registration_config.role_arn #=> String
5017
+ # resp.registration_config.template_name #=> String
5002
5018
  #
5003
5019
  # @overload describe_ca_certificate(params = {})
5004
5020
  # @param [Hash] params ({})
@@ -5761,7 +5777,7 @@ module Aws::IoT
5761
5777
  req.send_request(options)
5762
5778
  end
5763
5779
 
5764
- # Returns information about a fleet provisioning template.
5780
+ # Returns information about a provisioning template.
5765
5781
  #
5766
5782
  # Requires permission to access the [DescribeProvisioningTemplate][1]
5767
5783
  # action.
@@ -5771,7 +5787,7 @@ module Aws::IoT
5771
5787
  # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
5772
5788
  #
5773
5789
  # @option params [required, String] :template_name
5774
- # The name of the fleet provisioning template.
5790
+ # The name of the provisioning template.
5775
5791
  #
5776
5792
  # @return [Types::DescribeProvisioningTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5777
5793
  #
@@ -5785,6 +5801,7 @@ module Aws::IoT
5785
5801
  # * {Types::DescribeProvisioningTemplateResponse#enabled #enabled} => Boolean
5786
5802
  # * {Types::DescribeProvisioningTemplateResponse#provisioning_role_arn #provisioning_role_arn} => String
5787
5803
  # * {Types::DescribeProvisioningTemplateResponse#pre_provisioning_hook #pre_provisioning_hook} => Types::ProvisioningHook
5804
+ # * {Types::DescribeProvisioningTemplateResponse#type #type} => String
5788
5805
  #
5789
5806
  # @example Request syntax with placeholder values
5790
5807
  #
@@ -5805,6 +5822,7 @@ module Aws::IoT
5805
5822
  # resp.provisioning_role_arn #=> String
5806
5823
  # resp.pre_provisioning_hook.payload_version #=> String
5807
5824
  # resp.pre_provisioning_hook.target_arn #=> String
5825
+ # resp.type #=> String, one of "FLEET_PROVISIONING", "JITP"
5808
5826
  #
5809
5827
  # @overload describe_provisioning_template(params = {})
5810
5828
  # @param [Hash] params ({})
@@ -5813,7 +5831,7 @@ module Aws::IoT
5813
5831
  req.send_request(options)
5814
5832
  end
5815
5833
 
5816
- # Returns information about a fleet provisioning template version.
5834
+ # Returns information about a provisioning template version.
5817
5835
  #
5818
5836
  # Requires permission to access the
5819
5837
  # [DescribeProvisioningTemplateVersion][1] action.
@@ -5826,7 +5844,7 @@ module Aws::IoT
5826
5844
  # The template name.
5827
5845
  #
5828
5846
  # @option params [required, Integer] :version_id
5829
- # The fleet provisioning template version ID.
5847
+ # The provisioning template version ID.
5830
5848
  #
5831
5849
  # @return [Types::DescribeProvisioningTemplateVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5832
5850
  #
@@ -6298,9 +6316,9 @@ module Aws::IoT
6298
6316
 
6299
6317
  # Removes the specified policy from the specified certificate.
6300
6318
  #
6301
- # <note markdown="1"> This action is deprecated. Please use DetachPolicy instead.
6302
- #
6303
- # </note>
6319
+ # **Note:** This action is deprecated and works as expected for backward
6320
+ # compatibility, but we won't add enhancements. Use DetachPolicy
6321
+ # instead.
6304
6322
  #
6305
6323
  # Requires permission to access the [DetachPrincipalPolicy][1] action.
6306
6324
  #
@@ -6689,6 +6707,8 @@ module Aws::IoT
6689
6707
  # resp.thing_indexing_configuration.custom_fields #=> Array
6690
6708
  # resp.thing_indexing_configuration.custom_fields[0].name #=> String
6691
6709
  # resp.thing_indexing_configuration.custom_fields[0].type #=> String, one of "Number", "String", "Boolean"
6710
+ # resp.thing_indexing_configuration.filter.named_shadow_names #=> Array
6711
+ # resp.thing_indexing_configuration.filter.named_shadow_names[0] #=> String
6692
6712
  # resp.thing_group_indexing_configuration.thing_group_indexing_mode #=> String, one of "OFF", "ON"
6693
6713
  # resp.thing_group_indexing_configuration.managed_fields #=> Array
6694
6714
  # resp.thing_group_indexing_configuration.managed_fields[0].name #=> String
@@ -8075,6 +8095,9 @@ module Aws::IoT
8075
8095
  # @option params [Boolean] :ascending_order
8076
8096
  # Determines the order of the results.
8077
8097
  #
8098
+ # @option params [String] :template_name
8099
+ # The name of the provisioning template.
8100
+ #
8078
8101
  # @return [Types::ListCACertificatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8079
8102
  #
8080
8103
  # * {Types::ListCACertificatesResponse#certificates #certificates} => Array&lt;Types::CACertificate&gt;
@@ -8088,6 +8111,7 @@ module Aws::IoT
8088
8111
  # page_size: 1,
8089
8112
  # marker: "Marker",
8090
8113
  # ascending_order: false,
8114
+ # template_name: "TemplateName",
8091
8115
  # })
8092
8116
  #
8093
8117
  # @example Response structure
@@ -9171,8 +9195,9 @@ module Aws::IoT
9171
9195
 
9172
9196
  # Lists the principals associated with the specified policy.
9173
9197
  #
9174
- # **Note:** This action is deprecated. Please use ListTargetsForPolicy
9175
- # instead.
9198
+ # **Note:** This action is deprecated and works as expected for backward
9199
+ # compatibility, but we won't add enhancements. Use
9200
+ # ListTargetsForPolicy instead.
9176
9201
  #
9177
9202
  # Requires permission to access the [ListPolicyPrincipals][1] action.
9178
9203
  #
@@ -9262,8 +9287,9 @@ module Aws::IoT
9262
9287
  # Cognito identity, the ID must be in [AmazonCognito Identity
9263
9288
  # format][1].
9264
9289
  #
9265
- # **Note:** This action is deprecated. Please use ListAttachedPolicies
9266
- # instead.
9290
+ # **Note:** This action is deprecated and works as expected for backward
9291
+ # compatibility, but we won't add enhancements. Use
9292
+ # ListAttachedPolicies instead.
9267
9293
  #
9268
9294
  # Requires permission to access the [ListPrincipalPolicies][2] action.
9269
9295
  #
@@ -9368,7 +9394,7 @@ module Aws::IoT
9368
9394
  req.send_request(options)
9369
9395
  end
9370
9396
 
9371
- # A list of fleet provisioning template versions.
9397
+ # A list of provisioning template versions.
9372
9398
  #
9373
9399
  # Requires permission to access the
9374
9400
  # [ListProvisioningTemplateVersions][1] action.
@@ -9378,7 +9404,7 @@ module Aws::IoT
9378
9404
  # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
9379
9405
  #
9380
9406
  # @option params [required, String] :template_name
9381
- # The name of the fleet provisioning template.
9407
+ # The name of the provisioning template.
9382
9408
  #
9383
9409
  # @option params [Integer] :max_results
9384
9410
  # The maximum number of results to return at one time.
@@ -9416,8 +9442,7 @@ module Aws::IoT
9416
9442
  req.send_request(options)
9417
9443
  end
9418
9444
 
9419
- # Lists the fleet provisioning templates in your Amazon Web Services
9420
- # account.
9445
+ # Lists the provisioning templates in your Amazon Web Services account.
9421
9446
  #
9422
9447
  # Requires permission to access the [ListProvisioningTemplates][1]
9423
9448
  # action.
@@ -9455,6 +9480,7 @@ module Aws::IoT
9455
9480
  # resp.templates[0].creation_date #=> Time
9456
9481
  # resp.templates[0].last_modified_date #=> Time
9457
9482
  # resp.templates[0].enabled #=> Boolean
9483
+ # resp.templates[0].type #=> String, one of "FLEET_PROVISIONING", "JITP"
9458
9484
  # resp.next_token #=> String
9459
9485
  #
9460
9486
  # @overload list_provisioning_templates(params = {})
@@ -10636,14 +10662,10 @@ module Aws::IoT
10636
10662
  req.send_request(options)
10637
10663
  end
10638
10664
 
10639
- # Registers a CA certificate with IoT. This CA certificate can then be
10640
- # used to sign device certificates, which can be then registered with
10641
- # IoT. You can register up to 10 CA certificates per Amazon Web Services
10642
- # account that have the same subject field. This enables you to have up
10643
- # to 10 certificate authorities sign your device certificates. If you
10644
- # have more than one CA certificate registered, make sure you pass the
10645
- # CA certificate when you register your device certificates with the
10646
- # RegisterCertificate action.
10665
+ # Registers a CA certificate with Amazon Web Services IoT Core. There is
10666
+ # no limit to the number of CA certificates you can register in your
10667
+ # Amazon Web Services account. You can register up to 10 CA certificates
10668
+ # with the same `CA subject field` per Amazon Web Services account.
10647
10669
  #
10648
10670
  # Requires permission to access the [RegisterCACertificate][1] action.
10649
10671
  #
@@ -10654,8 +10676,11 @@ module Aws::IoT
10654
10676
  # @option params [required, String] :ca_certificate
10655
10677
  # The CA certificate.
10656
10678
  #
10657
- # @option params [required, String] :verification_certificate
10658
- # The private key verification certificate.
10679
+ # @option params [String] :verification_certificate
10680
+ # The private key verification certificate. If `certificateMode` is
10681
+ # `SNI_ONLY`, the `verificationCertificate` field must be empty. If
10682
+ # `certificateMode` is `DEFAULT` or not provided, the
10683
+ # `verificationCertificate` field must not be empty.
10659
10684
  #
10660
10685
  # @option params [Boolean] :set_as_active
10661
10686
  # A boolean value that specifies if the CA certificate is set to active.
@@ -10683,6 +10708,21 @@ module Aws::IoT
10683
10708
  #
10684
10709
  # </note>
10685
10710
  #
10711
+ # @option params [String] :certificate_mode
10712
+ # Describes the certificate mode in which the Certificate Authority (CA)
10713
+ # will be registered. If the `verificationCertificate` field is not
10714
+ # provided, set `certificateMode` to be `SNI_ONLY`. If the
10715
+ # `verificationCertificate` field is provided, set `certificateMode` to
10716
+ # be `DEFAULT`. When `certificateMode` is not provided, it defaults to
10717
+ # `DEFAULT`. All the device certificates that are registered using this
10718
+ # CA will be registered in the same certificate mode as the CA. For more
10719
+ # information about certificate mode for device certificates, see [
10720
+ # certificate mode][1].
10721
+ #
10722
+ #
10723
+ #
10724
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode
10725
+ #
10686
10726
  # @return [Types::RegisterCACertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10687
10727
  #
10688
10728
  # * {Types::RegisterCACertificateResponse#certificate_arn #certificate_arn} => String
@@ -10692,12 +10732,13 @@ module Aws::IoT
10692
10732
  #
10693
10733
  # resp = client.register_ca_certificate({
10694
10734
  # ca_certificate: "CertificatePem", # required
10695
- # verification_certificate: "CertificatePem", # required
10735
+ # verification_certificate: "CertificatePem",
10696
10736
  # set_as_active: false,
10697
10737
  # allow_auto_registration: false,
10698
10738
  # registration_config: {
10699
10739
  # template_body: "TemplateBody",
10700
10740
  # role_arn: "RoleArn",
10741
+ # template_name: "TemplateName",
10701
10742
  # },
10702
10743
  # tags: [
10703
10744
  # {
@@ -10705,6 +10746,7 @@ module Aws::IoT
10705
10746
  # value: "TagValue",
10706
10747
  # },
10707
10748
  # ],
10749
+ # certificate_mode: "DEFAULT", # accepts DEFAULT, SNI_ONLY
10708
10750
  # })
10709
10751
  #
10710
10752
  # @example Response structure
@@ -10719,16 +10761,17 @@ module Aws::IoT
10719
10761
  req.send_request(options)
10720
10762
  end
10721
10763
 
10722
- # Registers a device certificate with IoT. If you have more than one CA
10723
- # certificate that has the same subject field, you must specify the CA
10724
- # certificate that was used to sign the device certificate being
10725
- # registered.
10764
+ # Registers a device certificate with IoT in the same [certificate
10765
+ # mode][1] as the signing CA. If you have more than one CA certificate
10766
+ # that has the same subject field, you must specify the CA certificate
10767
+ # that was used to sign the device certificate being registered.
10726
10768
  #
10727
- # Requires permission to access the [RegisterCertificate][1] action.
10769
+ # Requires permission to access the [RegisterCertificate][2] action.
10728
10770
  #
10729
10771
  #
10730
10772
  #
10731
- # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10773
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode
10774
+ # [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10732
10775
  #
10733
10776
  # @option params [required, String] :certificate_pem
10734
10777
  # The certificate data, in PEM format.
@@ -11397,7 +11440,12 @@ module Aws::IoT
11397
11440
  # The search index name.
11398
11441
  #
11399
11442
  # @option params [required, String] :query_string
11400
- # The search query string.
11443
+ # The search query string. For more information about the search query
11444
+ # syntax, see [Query syntax][1].
11445
+ #
11446
+ #
11447
+ #
11448
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html
11401
11449
  #
11402
11450
  # @option params [String] :next_token
11403
11451
  # The token used to get the next set of results, or `null` if there are
@@ -12399,6 +12447,7 @@ module Aws::IoT
12399
12447
  # registration_config: {
12400
12448
  # template_body: "TemplateBody",
12401
12449
  # role_arn: "RoleArn",
12450
+ # template_name: "TemplateName",
12402
12451
  # },
12403
12452
  # remove_auto_registration: false,
12404
12453
  # })
@@ -12816,6 +12865,9 @@ module Aws::IoT
12816
12865
  # type: "Number", # accepts Number, String, Boolean
12817
12866
  # },
12818
12867
  # ],
12868
+ # filter: {
12869
+ # named_shadow_names: ["ShadowName"],
12870
+ # },
12819
12871
  # },
12820
12872
  # thing_group_indexing_configuration: {
12821
12873
  # thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
@@ -13005,7 +13057,7 @@ module Aws::IoT
13005
13057
  req.send_request(options)
13006
13058
  end
13007
13059
 
13008
- # Updates a fleet provisioning template.
13060
+ # Updates a provisioning template.
13009
13061
  #
13010
13062
  # Requires permission to access the [UpdateProvisioningTemplate][1]
13011
13063
  # action.
@@ -13015,13 +13067,13 @@ module Aws::IoT
13015
13067
  # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
13016
13068
  #
13017
13069
  # @option params [required, String] :template_name
13018
- # The name of the fleet provisioning template.
13070
+ # The name of the provisioning template.
13019
13071
  #
13020
13072
  # @option params [String] :description
13021
- # The description of the fleet provisioning template.
13073
+ # The description of the provisioning template.
13022
13074
  #
13023
13075
  # @option params [Boolean] :enabled
13024
- # True to enable the fleet provisioning template, otherwise false.
13076
+ # True to enable the provisioning template, otherwise false.
13025
13077
  #
13026
13078
  # @option params [Integer] :default_version_id
13027
13079
  # The ID of the default provisioning template version.
@@ -13694,7 +13746,7 @@ module Aws::IoT
13694
13746
  params: params,
13695
13747
  config: config)
13696
13748
  context[:gem_name] = 'aws-sdk-iot'
13697
- context[:gem_version] = '1.91.0'
13749
+ context[:gem_version] = '1.94.0'
13698
13750
  Seahorse::Client::Request.new(handlers, context)
13699
13751
  end
13700
13752
 
@@ -598,6 +598,7 @@ module Aws::IoT
598
598
  IndexNotReadyException = Shapes::StructureShape.new(name: 'IndexNotReadyException')
599
599
  IndexSchema = Shapes::StringShape.new(name: 'IndexSchema')
600
600
  IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
601
+ IndexingFilter = Shapes::StructureShape.new(name: 'IndexingFilter')
601
602
  InlineDocument = Shapes::StringShape.new(name: 'InlineDocument')
602
603
  InputName = Shapes::StringShape.new(name: 'InputName')
603
604
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
@@ -818,6 +819,7 @@ module Aws::IoT
818
819
  MqttPassword = Shapes::BlobShape.new(name: 'MqttPassword')
819
820
  MqttUsername = Shapes::StringShape.new(name: 'MqttUsername')
820
821
  NamedShadowIndexingMode = Shapes::StringShape.new(name: 'NamedShadowIndexingMode')
822
+ NamedShadowNamesFilter = Shapes::ListShape.new(name: 'NamedShadowNamesFilter')
821
823
  NamespaceId = Shapes::StringShape.new(name: 'NamespaceId')
822
824
  NextToken = Shapes::StringShape.new(name: 'NextToken')
823
825
  NonCompliantChecksCount = Shapes::IntegerShape.new(name: 'NonCompliantChecksCount')
@@ -1023,6 +1025,7 @@ module Aws::IoT
1023
1025
  SetLoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetLoggingOptionsRequest')
1024
1026
  SetV2LoggingLevelRequest = Shapes::StructureShape.new(name: 'SetV2LoggingLevelRequest')
1025
1027
  SetV2LoggingOptionsRequest = Shapes::StructureShape.new(name: 'SetV2LoggingOptionsRequest')
1028
+ ShadowName = Shapes::StringShape.new(name: 'ShadowName')
1026
1029
  SigV4Authorization = Shapes::StructureShape.new(name: 'SigV4Authorization')
1027
1030
  Signature = Shapes::BlobShape.new(name: 'Signature')
1028
1031
  SignatureAlgorithm = Shapes::StringShape.new(name: 'SignatureAlgorithm')
@@ -1101,6 +1104,7 @@ module Aws::IoT
1101
1104
  TemplateBody = Shapes::StringShape.new(name: 'TemplateBody')
1102
1105
  TemplateDescription = Shapes::StringShape.new(name: 'TemplateDescription')
1103
1106
  TemplateName = Shapes::StringShape.new(name: 'TemplateName')
1107
+ TemplateType = Shapes::StringShape.new(name: 'TemplateType')
1104
1108
  TemplateVersionId = Shapes::IntegerShape.new(name: 'TemplateVersionId')
1105
1109
  TermsAggregation = Shapes::StructureShape.new(name: 'TermsAggregation')
1106
1110
  TestAuthorizationRequest = Shapes::StructureShape.new(name: 'TestAuthorizationRequest')
@@ -1641,6 +1645,7 @@ module Aws::IoT
1641
1645
  CACertificateDescription.add_member(:customer_version, Shapes::ShapeRef.new(shape: CustomerVersion, location_name: "customerVersion"))
1642
1646
  CACertificateDescription.add_member(:generation_id, Shapes::ShapeRef.new(shape: GenerationId, location_name: "generationId"))
1643
1647
  CACertificateDescription.add_member(:validity, Shapes::ShapeRef.new(shape: CertificateValidity, location_name: "validity"))
1648
+ CACertificateDescription.add_member(:certificate_mode, Shapes::ShapeRef.new(shape: CertificateMode, location_name: "certificateMode"))
1644
1649
  CACertificateDescription.struct_class = Types::CACertificateDescription
1645
1650
 
1646
1651
  CACertificates.member = Shapes::ShapeRef.new(shape: CACertificate)
@@ -2000,6 +2005,7 @@ module Aws::IoT
2000
2005
  CreateProvisioningTemplateRequest.add_member(:provisioning_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "provisioningRoleArn"))
2001
2006
  CreateProvisioningTemplateRequest.add_member(:pre_provisioning_hook, Shapes::ShapeRef.new(shape: ProvisioningHook, location_name: "preProvisioningHook"))
2002
2007
  CreateProvisioningTemplateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
2008
+ CreateProvisioningTemplateRequest.add_member(:type, Shapes::ShapeRef.new(shape: TemplateType, location_name: "type"))
2003
2009
  CreateProvisioningTemplateRequest.struct_class = Types::CreateProvisioningTemplateRequest
2004
2010
 
2005
2011
  CreateProvisioningTemplateResponse.add_member(:template_arn, Shapes::ShapeRef.new(shape: TemplateArn, location_name: "templateArn"))
@@ -2517,6 +2523,7 @@ module Aws::IoT
2517
2523
  DescribeProvisioningTemplateResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
2518
2524
  DescribeProvisioningTemplateResponse.add_member(:provisioning_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "provisioningRoleArn"))
2519
2525
  DescribeProvisioningTemplateResponse.add_member(:pre_provisioning_hook, Shapes::ShapeRef.new(shape: ProvisioningHook, location_name: "preProvisioningHook"))
2526
+ DescribeProvisioningTemplateResponse.add_member(:type, Shapes::ShapeRef.new(shape: TemplateType, location_name: "type"))
2520
2527
  DescribeProvisioningTemplateResponse.struct_class = Types::DescribeProvisioningTemplateResponse
2521
2528
 
2522
2529
  DescribeProvisioningTemplateVersionRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, required: true, location: "uri", location_name: "templateName"))
@@ -2962,6 +2969,9 @@ module Aws::IoT
2962
2969
  IndexNotReadyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
2963
2970
  IndexNotReadyException.struct_class = Types::IndexNotReadyException
2964
2971
 
2972
+ IndexingFilter.add_member(:named_shadow_names, Shapes::ShapeRef.new(shape: NamedShadowNamesFilter, location_name: "namedShadowNames"))
2973
+ IndexingFilter.struct_class = Types::IndexingFilter
2974
+
2965
2975
  InternalException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
2966
2976
  InternalException.struct_class = Types::InternalException
2967
2977
 
@@ -3231,6 +3241,7 @@ module Aws::IoT
3231
3241
  ListCACertificatesRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location: "querystring", location_name: "pageSize"))
3232
3242
  ListCACertificatesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location: "querystring", location_name: "marker"))
3233
3243
  ListCACertificatesRequest.add_member(:ascending_order, Shapes::ShapeRef.new(shape: AscendingOrder, location: "querystring", location_name: "isAscendingOrder"))
3244
+ ListCACertificatesRequest.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location: "querystring", location_name: "templateName"))
3234
3245
  ListCACertificatesRequest.struct_class = Types::ListCACertificatesRequest
3235
3246
 
3236
3247
  ListCACertificatesResponse.add_member(:certificates, Shapes::ShapeRef.new(shape: CACertificates, location_name: "certificates"))
@@ -3762,6 +3773,8 @@ module Aws::IoT
3762
3773
  MqttContext.add_member(:client_id, Shapes::ShapeRef.new(shape: MqttClientId, location_name: "clientId"))
3763
3774
  MqttContext.struct_class = Types::MqttContext
3764
3775
 
3776
+ NamedShadowNamesFilter.member = Shapes::ShapeRef.new(shape: ShadowName)
3777
+
3765
3778
  NonCompliantResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
3766
3779
  NonCompliantResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "resourceIdentifier"))
3767
3780
  NonCompliantResource.add_member(:additional_info, Shapes::ShapeRef.new(shape: StringMap, location_name: "additionalInfo"))
@@ -3885,6 +3898,7 @@ module Aws::IoT
3885
3898
  ProvisioningTemplateSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: DateType, location_name: "creationDate"))
3886
3899
  ProvisioningTemplateSummary.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastModifiedDate"))
3887
3900
  ProvisioningTemplateSummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, location_name: "enabled"))
3901
+ ProvisioningTemplateSummary.add_member(:type, Shapes::ShapeRef.new(shape: TemplateType, location_name: "type"))
3888
3902
  ProvisioningTemplateSummary.struct_class = Types::ProvisioningTemplateSummary
3889
3903
 
3890
3904
  ProvisioningTemplateVersionListing.member = Shapes::ShapeRef.new(shape: ProvisioningTemplateVersionSummary)
@@ -3926,11 +3940,12 @@ module Aws::IoT
3926
3940
  ReasonForNonComplianceCodes.member = Shapes::ShapeRef.new(shape: ReasonForNonComplianceCode)
3927
3941
 
3928
3942
  RegisterCACertificateRequest.add_member(:ca_certificate, Shapes::ShapeRef.new(shape: CertificatePem, required: true, location_name: "caCertificate"))
3929
- RegisterCACertificateRequest.add_member(:verification_certificate, Shapes::ShapeRef.new(shape: CertificatePem, required: true, location_name: "verificationCertificate"))
3943
+ RegisterCACertificateRequest.add_member(:verification_certificate, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "verificationCertificate"))
3930
3944
  RegisterCACertificateRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
3931
3945
  RegisterCACertificateRequest.add_member(:allow_auto_registration, Shapes::ShapeRef.new(shape: AllowAutoRegistration, location: "querystring", location_name: "allowAutoRegistration"))
3932
3946
  RegisterCACertificateRequest.add_member(:registration_config, Shapes::ShapeRef.new(shape: RegistrationConfig, location_name: "registrationConfig"))
3933
3947
  RegisterCACertificateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
3948
+ RegisterCACertificateRequest.add_member(:certificate_mode, Shapes::ShapeRef.new(shape: CertificateMode, location_name: "certificateMode"))
3934
3949
  RegisterCACertificateRequest.struct_class = Types::RegisterCACertificateRequest
3935
3950
 
3936
3951
  RegisterCACertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
@@ -3968,6 +3983,7 @@ module Aws::IoT
3968
3983
 
3969
3984
  RegistrationConfig.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "templateBody"))
3970
3985
  RegistrationConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "roleArn"))
3986
+ RegistrationConfig.add_member(:template_name, Shapes::ShapeRef.new(shape: TemplateName, location_name: "templateName"))
3971
3987
  RegistrationConfig.struct_class = Types::RegistrationConfig
3972
3988
 
3973
3989
  RejectCertificateTransferRequest.add_member(:certificate_id, Shapes::ShapeRef.new(shape: CertificateId, required: true, location: "uri", location_name: "certificateId"))
@@ -4409,6 +4425,7 @@ module Aws::IoT
4409
4425
  ThingIndexingConfiguration.add_member(:named_shadow_indexing_mode, Shapes::ShapeRef.new(shape: NamedShadowIndexingMode, location_name: "namedShadowIndexingMode"))
4410
4426
  ThingIndexingConfiguration.add_member(:managed_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "managedFields"))
4411
4427
  ThingIndexingConfiguration.add_member(:custom_fields, Shapes::ShapeRef.new(shape: Fields, location_name: "customFields"))
4428
+ ThingIndexingConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: IndexingFilter, location_name: "filter"))
4412
4429
  ThingIndexingConfiguration.struct_class = Types::ThingIndexingConfiguration
4413
4430
 
4414
4431
  ThingNameList.member = Shapes::ShapeRef.new(shape: ThingName)
@@ -7644,6 +7661,7 @@ module Aws::IoT
7644
7661
  o.http_request_uri = "/cacertificate"
7645
7662
  o.input = Shapes::ShapeRef.new(shape: RegisterCACertificateRequest)
7646
7663
  o.output = Shapes::ShapeRef.new(shape: RegisterCACertificateResponse)
7664
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
7647
7665
  o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
7648
7666
  o.errors << Shapes::ShapeRef.new(shape: RegistrationCodeValidationException)
7649
7667
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
@@ -2067,6 +2067,18 @@ module Aws::IoT
2067
2067
  # When the CA certificate is valid.
2068
2068
  # @return [Types::CertificateValidity]
2069
2069
  #
2070
+ # @!attribute [rw] certificate_mode
2071
+ # The mode of the CA.
2072
+ #
2073
+ # All the device certificates that are registered using this CA will
2074
+ # be registered in the same mode as the CA. For more information about
2075
+ # certificate mode for device certificates, see [certificate mode][1].
2076
+ #
2077
+ #
2078
+ #
2079
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode
2080
+ # @return [String]
2081
+ #
2070
2082
  class CACertificateDescription < Struct.new(
2071
2083
  :certificate_arn,
2072
2084
  :certificate_id,
@@ -2078,7 +2090,8 @@ module Aws::IoT
2078
2090
  :last_modified_date,
2079
2091
  :customer_version,
2080
2092
  :generation_id,
2081
- :validity)
2093
+ :validity,
2094
+ :certificate_mode)
2082
2095
  SENSITIVE = []
2083
2096
  include Aws::Structure
2084
2097
  end
@@ -2305,6 +2318,19 @@ module Aws::IoT
2305
2318
  #
2306
2319
  # @!attribute [rw] certificate_mode
2307
2320
  # The mode of the certificate.
2321
+ #
2322
+ # `DEFAULT`\: A certificate in `DEFAULT` mode is either generated by
2323
+ # Amazon Web Services IoT Core or registered with an issuer
2324
+ # certificate authority (CA) in `DEFAULT` mode. Devices with
2325
+ # certificates in `DEFAULT` mode aren't required to send the Server
2326
+ # Name Indication (SNI) extension when connecting to Amazon Web
2327
+ # Services IoT Core. However, to use features such as custom domains
2328
+ # and VPC endpoints, we recommend that you use the SNI extension when
2329
+ # connecting to Amazon Web Services IoT Core.
2330
+ #
2331
+ # `SNI_ONLY`\: A certificate in `SNI_ONLY` mode is registered without
2332
+ # an issuer CA. Devices with certificates in `SNI_ONLY` mode must send
2333
+ # the SNI extension when connecting to Amazon Web Services IoT Core.
2308
2334
  # @return [String]
2309
2335
  #
2310
2336
  # @!attribute [rw] creation_date
@@ -2394,6 +2420,26 @@ module Aws::IoT
2394
2420
  #
2395
2421
  # @!attribute [rw] certificate_mode
2396
2422
  # The mode of the certificate.
2423
+ #
2424
+ # `DEFAULT`\: A certificate in `DEFAULT` mode is either generated by
2425
+ # Amazon Web Services IoT Core or registered with an issuer
2426
+ # certificate authority (CA) in `DEFAULT` mode. Devices with
2427
+ # certificates in `DEFAULT` mode aren't required to send the Server
2428
+ # Name Indication (SNI) extension when connecting to Amazon Web
2429
+ # Services IoT Core. However, to use features such as custom domains
2430
+ # and VPC endpoints, we recommend that you use the SNI extension when
2431
+ # connecting to Amazon Web Services IoT Core.
2432
+ #
2433
+ # `SNI_ONLY`\: A certificate in `SNI_ONLY` mode is registered without
2434
+ # an issuer CA. Devices with certificates in `SNI_ONLY` mode must send
2435
+ # the SNI extension when connecting to Amazon Web Services IoT Core.
2436
+ #
2437
+ # For more information about the value for SNI extension, see
2438
+ # [Transport security in IoT][1].
2439
+ #
2440
+ #
2441
+ #
2442
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/transport-security.html
2397
2443
  # @return [String]
2398
2444
  #
2399
2445
  class CertificateDescription < Struct.new(
@@ -4380,27 +4426,28 @@ module Aws::IoT
4380
4426
  # value: "TagValue",
4381
4427
  # },
4382
4428
  # ],
4429
+ # type: "FLEET_PROVISIONING", # accepts FLEET_PROVISIONING, JITP
4383
4430
  # }
4384
4431
  #
4385
4432
  # @!attribute [rw] template_name
4386
- # The name of the fleet provisioning template.
4433
+ # The name of the provisioning template.
4387
4434
  # @return [String]
4388
4435
  #
4389
4436
  # @!attribute [rw] description
4390
- # The description of the fleet provisioning template.
4437
+ # The description of the provisioning template.
4391
4438
  # @return [String]
4392
4439
  #
4393
4440
  # @!attribute [rw] template_body
4394
- # The JSON formatted contents of the fleet provisioning template.
4441
+ # The JSON formatted contents of the provisioning template.
4395
4442
  # @return [String]
4396
4443
  #
4397
4444
  # @!attribute [rw] enabled
4398
- # True to enable the fleet provisioning template, otherwise false.
4445
+ # True to enable the provisioning template, otherwise false.
4399
4446
  # @return [Boolean]
4400
4447
  #
4401
4448
  # @!attribute [rw] provisioning_role_arn
4402
- # The role ARN for the role associated with the fleet provisioning
4403
- # template. This IoT role grants permission to provision a device.
4449
+ # The role ARN for the role associated with the provisioning template.
4450
+ # This IoT role grants permission to provision a device.
4404
4451
  # @return [String]
4405
4452
  #
4406
4453
  # @!attribute [rw] pre_provisioning_hook
@@ -4408,8 +4455,7 @@ module Aws::IoT
4408
4455
  # @return [Types::ProvisioningHook]
4409
4456
  #
4410
4457
  # @!attribute [rw] tags
4411
- # Metadata which can be used to manage the fleet provisioning
4412
- # template.
4458
+ # Metadata which can be used to manage the provisioning template.
4413
4459
  #
4414
4460
  # <note markdown="1"> For URI Request parameters use format:
4415
4461
  # ...key1=value1&amp;key2=value2...
@@ -4423,6 +4469,18 @@ module Aws::IoT
4423
4469
  # </note>
4424
4470
  # @return [Array<Types::Tag>]
4425
4471
  #
4472
+ # @!attribute [rw] type
4473
+ # The type you define in a provisioning template. You can create a
4474
+ # template with only one type. You can't change the template type
4475
+ # after its creation. The default value is `FLEET_PROVISIONING`. For
4476
+ # more information about provisioning template, see: [Provisioning
4477
+ # template][1].
4478
+ #
4479
+ #
4480
+ #
4481
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html
4482
+ # @return [String]
4483
+ #
4426
4484
  class CreateProvisioningTemplateRequest < Struct.new(
4427
4485
  :template_name,
4428
4486
  :description,
@@ -4430,7 +4488,8 @@ module Aws::IoT
4430
4488
  :enabled,
4431
4489
  :provisioning_role_arn,
4432
4490
  :pre_provisioning_hook,
4433
- :tags)
4491
+ :tags,
4492
+ :type)
4434
4493
  SENSITIVE = []
4435
4494
  include Aws::Structure
4436
4495
  end
@@ -4440,11 +4499,11 @@ module Aws::IoT
4440
4499
  # @return [String]
4441
4500
  #
4442
4501
  # @!attribute [rw] template_name
4443
- # The name of the fleet provisioning template.
4502
+ # The name of the provisioning template.
4444
4503
  # @return [String]
4445
4504
  #
4446
4505
  # @!attribute [rw] default_version_id
4447
- # The default version of the fleet provisioning template.
4506
+ # The default version of the provisioning template.
4448
4507
  # @return [Integer]
4449
4508
  #
4450
4509
  class CreateProvisioningTemplateResponse < Struct.new(
@@ -4465,11 +4524,11 @@ module Aws::IoT
4465
4524
  # }
4466
4525
  #
4467
4526
  # @!attribute [rw] template_name
4468
- # The name of the fleet provisioning template.
4527
+ # The name of the provisioning template.
4469
4528
  # @return [String]
4470
4529
  #
4471
4530
  # @!attribute [rw] template_body
4472
- # The JSON formatted contents of the fleet provisioning template.
4531
+ # The JSON formatted contents of the provisioning template.
4473
4532
  # @return [String]
4474
4533
  #
4475
4534
  # @!attribute [rw] set_as_default
@@ -4489,16 +4548,16 @@ module Aws::IoT
4489
4548
  # @return [String]
4490
4549
  #
4491
4550
  # @!attribute [rw] template_name
4492
- # The name of the fleet provisioning template.
4551
+ # The name of the provisioning template.
4493
4552
  # @return [String]
4494
4553
  #
4495
4554
  # @!attribute [rw] version_id
4496
- # The version of the fleet provisioning template.
4555
+ # The version of the provisioning template.
4497
4556
  # @return [Integer]
4498
4557
  #
4499
4558
  # @!attribute [rw] is_default_version
4500
- # True if the fleet provisioning template version is the default
4501
- # version, otherwise false.
4559
+ # True if the provisioning template version is the default version,
4560
+ # otherwise false.
4502
4561
  # @return [Boolean]
4503
4562
  #
4504
4563
  class CreateProvisioningTemplateVersionResponse < Struct.new(
@@ -6098,11 +6157,11 @@ module Aws::IoT
6098
6157
  # }
6099
6158
  #
6100
6159
  # @!attribute [rw] template_name
6101
- # The name of the fleet provisioning template version to delete.
6160
+ # The name of the provisioning template version to delete.
6102
6161
  # @return [String]
6103
6162
  #
6104
6163
  # @!attribute [rw] version_id
6105
- # The fleet provisioning template version ID to delete.
6164
+ # The provisioning template version ID to delete.
6106
6165
  # @return [Integer]
6107
6166
  #
6108
6167
  class DeleteProvisioningTemplateVersionRequest < Struct.new(
@@ -7548,7 +7607,7 @@ module Aws::IoT
7548
7607
  # }
7549
7608
  #
7550
7609
  # @!attribute [rw] template_name
7551
- # The name of the fleet provisioning template.
7610
+ # The name of the provisioning template.
7552
7611
  # @return [String]
7553
7612
  #
7554
7613
  class DescribeProvisioningTemplateRequest < Struct.new(
@@ -7558,23 +7617,23 @@ module Aws::IoT
7558
7617
  end
7559
7618
 
7560
7619
  # @!attribute [rw] template_arn
7561
- # The ARN of the fleet provisioning template.
7620
+ # The ARN of the provisioning template.
7562
7621
  # @return [String]
7563
7622
  #
7564
7623
  # @!attribute [rw] template_name
7565
- # The name of the fleet provisioning template.
7624
+ # The name of the provisioning template.
7566
7625
  # @return [String]
7567
7626
  #
7568
7627
  # @!attribute [rw] description
7569
- # The description of the fleet provisioning template.
7628
+ # The description of the provisioning template.
7570
7629
  # @return [String]
7571
7630
  #
7572
7631
  # @!attribute [rw] creation_date
7573
- # The date when the fleet provisioning template was created.
7632
+ # The date when the provisioning template was created.
7574
7633
  # @return [Time]
7575
7634
  #
7576
7635
  # @!attribute [rw] last_modified_date
7577
- # The date when the fleet provisioning template was last modified.
7636
+ # The date when the provisioning template was last modified.
7578
7637
  # @return [Time]
7579
7638
  #
7580
7639
  # @!attribute [rw] default_version_id
@@ -7582,11 +7641,11 @@ module Aws::IoT
7582
7641
  # @return [Integer]
7583
7642
  #
7584
7643
  # @!attribute [rw] template_body
7585
- # The JSON formatted contents of the fleet provisioning template.
7644
+ # The JSON formatted contents of the provisioning template.
7586
7645
  # @return [String]
7587
7646
  #
7588
7647
  # @!attribute [rw] enabled
7589
- # True if the fleet provisioning template is enabled, otherwise false.
7648
+ # True if the provisioning template is enabled, otherwise false.
7590
7649
  # @return [Boolean]
7591
7650
  #
7592
7651
  # @!attribute [rw] provisioning_role_arn
@@ -7598,6 +7657,18 @@ module Aws::IoT
7598
7657
  # Gets information about a pre-provisioned hook.
7599
7658
  # @return [Types::ProvisioningHook]
7600
7659
  #
7660
+ # @!attribute [rw] type
7661
+ # The type you define in a provisioning template. You can create a
7662
+ # template with only one type. You can't change the template type
7663
+ # after its creation. The default value is `FLEET_PROVISIONING`. For
7664
+ # more information about provisioning template, see: [Provisioning
7665
+ # template][1].
7666
+ #
7667
+ #
7668
+ #
7669
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html
7670
+ # @return [String]
7671
+ #
7601
7672
  class DescribeProvisioningTemplateResponse < Struct.new(
7602
7673
  :template_arn,
7603
7674
  :template_name,
@@ -7608,7 +7679,8 @@ module Aws::IoT
7608
7679
  :template_body,
7609
7680
  :enabled,
7610
7681
  :provisioning_role_arn,
7611
- :pre_provisioning_hook)
7682
+ :pre_provisioning_hook,
7683
+ :type)
7612
7684
  SENSITIVE = []
7613
7685
  include Aws::Structure
7614
7686
  end
@@ -7626,7 +7698,7 @@ module Aws::IoT
7626
7698
  # @return [String]
7627
7699
  #
7628
7700
  # @!attribute [rw] version_id
7629
- # The fleet provisioning template version ID.
7701
+ # The provisioning template version ID.
7630
7702
  # @return [Integer]
7631
7703
  #
7632
7704
  class DescribeProvisioningTemplateVersionRequest < Struct.new(
@@ -7637,21 +7709,19 @@ module Aws::IoT
7637
7709
  end
7638
7710
 
7639
7711
  # @!attribute [rw] version_id
7640
- # The fleet provisioning template version ID.
7712
+ # The provisioning template version ID.
7641
7713
  # @return [Integer]
7642
7714
  #
7643
7715
  # @!attribute [rw] creation_date
7644
- # The date when the fleet provisioning template version was created.
7716
+ # The date when the provisioning template version was created.
7645
7717
  # @return [Time]
7646
7718
  #
7647
7719
  # @!attribute [rw] template_body
7648
- # The JSON formatted contents of the fleet provisioning template
7649
- # version.
7720
+ # The JSON formatted contents of the provisioning template version.
7650
7721
  # @return [String]
7651
7722
  #
7652
7723
  # @!attribute [rw] is_default_version
7653
- # True if the fleet provisioning template version is the default
7654
- # version.
7724
+ # True if the provisioning template version is the default version.
7655
7725
  # @return [Boolean]
7656
7726
  #
7657
7727
  class DescribeProvisioningTemplateVersionResponse < Struct.new(
@@ -9855,6 +9925,36 @@ module Aws::IoT
9855
9925
  include Aws::Structure
9856
9926
  end
9857
9927
 
9928
+ # Provides additional filters for specific data sources. Named shadow is
9929
+ # the only data source that currently supports and requires a filter. To
9930
+ # add named shadows to your fleet indexing configuration, set
9931
+ # `namedShadowIndexingMode` to be `ON` and specify your shadow names in
9932
+ # `filter`.
9933
+ #
9934
+ # @note When making an API call, you may pass IndexingFilter
9935
+ # data as a hash:
9936
+ #
9937
+ # {
9938
+ # named_shadow_names: ["ShadowName"],
9939
+ # }
9940
+ #
9941
+ # @!attribute [rw] named_shadow_names
9942
+ # The shadow names that you select to index. The default maximum
9943
+ # number of shadow names for indexing is 10. To increase the limit,
9944
+ # see [Amazon Web Services IoT Device Management Quotas][1] in the
9945
+ # *Amazon Web Services General Reference*.
9946
+ #
9947
+ #
9948
+ #
9949
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/iot_device_management.html#fleet-indexing-limits
9950
+ # @return [Array<String>]
9951
+ #
9952
+ class IndexingFilter < Struct.new(
9953
+ :named_shadow_names)
9954
+ SENSITIVE = []
9955
+ include Aws::Structure
9956
+ end
9957
+
9858
9958
  # An unexpected error has occurred.
9859
9959
  #
9860
9960
  # @!attribute [rw] message
@@ -10238,6 +10338,9 @@ module Aws::IoT
10238
10338
  # @return [Hash<String,String>]
10239
10339
  #
10240
10340
  # @!attribute [rw] is_concurrent
10341
+ # Indicates whether a job is concurrent. Will be true when a job is
10342
+ # rolling out new job executions or canceling previously created
10343
+ # executions, otherwise false.
10241
10344
  # @return [Boolean]
10242
10345
  #
10243
10346
  class Job < Struct.new(
@@ -10599,6 +10702,9 @@ module Aws::IoT
10599
10702
  # @return [Time]
10600
10703
  #
10601
10704
  # @!attribute [rw] is_concurrent
10705
+ # Indicates whether a job is concurrent. Will be true when a job is
10706
+ # rolling out new job executions or canceling previously created
10707
+ # executions, otherwise false.
10602
10708
  # @return [Boolean]
10603
10709
  #
10604
10710
  class JobSummary < Struct.new(
@@ -11382,6 +11488,7 @@ module Aws::IoT
11382
11488
  # page_size: 1,
11383
11489
  # marker: "Marker",
11384
11490
  # ascending_order: false,
11491
+ # template_name: "TemplateName",
11385
11492
  # }
11386
11493
  #
11387
11494
  # @!attribute [rw] page_size
@@ -11396,10 +11503,15 @@ module Aws::IoT
11396
11503
  # Determines the order of the results.
11397
11504
  # @return [Boolean]
11398
11505
  #
11506
+ # @!attribute [rw] template_name
11507
+ # The name of the provisioning template.
11508
+ # @return [String]
11509
+ #
11399
11510
  class ListCACertificatesRequest < Struct.new(
11400
11511
  :page_size,
11401
11512
  :marker,
11402
- :ascending_order)
11513
+ :ascending_order,
11514
+ :template_name)
11403
11515
  SENSITIVE = []
11404
11516
  include Aws::Structure
11405
11517
  end
@@ -12643,7 +12755,7 @@ module Aws::IoT
12643
12755
  # }
12644
12756
  #
12645
12757
  # @!attribute [rw] template_name
12646
- # The name of the fleet provisioning template.
12758
+ # The name of the provisioning template.
12647
12759
  # @return [String]
12648
12760
  #
12649
12761
  # @!attribute [rw] max_results
@@ -12663,7 +12775,7 @@ module Aws::IoT
12663
12775
  end
12664
12776
 
12665
12777
  # @!attribute [rw] versions
12666
- # The list of fleet provisioning template versions.
12778
+ # The list of provisioning template versions.
12667
12779
  # @return [Array<Types::ProvisioningTemplateVersionSummary>]
12668
12780
  #
12669
12781
  # @!attribute [rw] next_token
@@ -12701,7 +12813,7 @@ module Aws::IoT
12701
12813
  end
12702
12814
 
12703
12815
  # @!attribute [rw] templates
12704
- # A list of fleet provisioning templates
12816
+ # A list of provisioning templates
12705
12817
  # @return [Array<Types::ProvisioningTemplateSummary>]
12706
12818
  #
12707
12819
  # @!attribute [rw] next_token
@@ -14633,6 +14745,14 @@ module Aws::IoT
14633
14745
  # The ARN of an IAM role that grants grants permission to download
14634
14746
  # files from the S3 bucket where the job data/updates are stored. The
14635
14747
  # role must also grant permission for IoT to download the files.
14748
+ #
14749
+ # For information about addressing the confused deputy problem, see
14750
+ # [cross-service confused deputy prevention][1] in the *Amazon Web
14751
+ # Services IoT Core developer guide*.
14752
+ #
14753
+ #
14754
+ #
14755
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/cross-service-confused-deputy-prevention.html
14636
14756
  # @return [String]
14637
14757
  #
14638
14758
  # @!attribute [rw] expires_in_sec
@@ -14677,40 +14797,52 @@ module Aws::IoT
14677
14797
  include Aws::Structure
14678
14798
  end
14679
14799
 
14680
- # A summary of information about a fleet provisioning template.
14800
+ # A summary of information about a provisioning template.
14681
14801
  #
14682
14802
  # @!attribute [rw] template_arn
14683
- # The ARN of the fleet provisioning template.
14803
+ # The ARN of the provisioning template.
14684
14804
  # @return [String]
14685
14805
  #
14686
14806
  # @!attribute [rw] template_name
14687
- # The name of the fleet provisioning template.
14807
+ # The name of the provisioning template.
14688
14808
  # @return [String]
14689
14809
  #
14690
14810
  # @!attribute [rw] description
14691
- # The description of the fleet provisioning template.
14811
+ # The description of the provisioning template.
14692
14812
  # @return [String]
14693
14813
  #
14694
14814
  # @!attribute [rw] creation_date
14695
- # The date when the fleet provisioning template summary was created.
14815
+ # The date when the provisioning template summary was created.
14696
14816
  # @return [Time]
14697
14817
  #
14698
14818
  # @!attribute [rw] last_modified_date
14699
- # The date when the fleet provisioning template summary was last
14700
- # modified.
14819
+ # The date when the provisioning template summary was last modified.
14701
14820
  # @return [Time]
14702
14821
  #
14703
14822
  # @!attribute [rw] enabled
14704
14823
  # True if the fleet provision template is enabled, otherwise false.
14705
14824
  # @return [Boolean]
14706
14825
  #
14826
+ # @!attribute [rw] type
14827
+ # The type you define in a provisioning template. You can create a
14828
+ # template with only one type. You can't change the template type
14829
+ # after its creation. The default value is `FLEET_PROVISIONING`. For
14830
+ # more information about provisioning template, see: [Provisioning
14831
+ # template][1].
14832
+ #
14833
+ #
14834
+ #
14835
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html
14836
+ # @return [String]
14837
+ #
14707
14838
  class ProvisioningTemplateSummary < Struct.new(
14708
14839
  :template_arn,
14709
14840
  :template_name,
14710
14841
  :description,
14711
14842
  :creation_date,
14712
14843
  :last_modified_date,
14713
- :enabled)
14844
+ :enabled,
14845
+ :type)
14714
14846
  SENSITIVE = []
14715
14847
  include Aws::Structure
14716
14848
  end
@@ -14722,12 +14854,12 @@ module Aws::IoT
14722
14854
  # @return [Integer]
14723
14855
  #
14724
14856
  # @!attribute [rw] creation_date
14725
- # The date when the fleet provisioning template version was created
14857
+ # The date when the provisioning template version was created
14726
14858
  # @return [Time]
14727
14859
  #
14728
14860
  # @!attribute [rw] is_default_version
14729
- # True if the fleet provisioning template version is the default
14730
- # version, otherwise false.
14861
+ # True if the provisioning template version is the default version,
14862
+ # otherwise false.
14731
14863
  # @return [Boolean]
14732
14864
  #
14733
14865
  class ProvisioningTemplateVersionSummary < Struct.new(
@@ -14912,12 +15044,13 @@ module Aws::IoT
14912
15044
  #
14913
15045
  # {
14914
15046
  # ca_certificate: "CertificatePem", # required
14915
- # verification_certificate: "CertificatePem", # required
15047
+ # verification_certificate: "CertificatePem",
14916
15048
  # set_as_active: false,
14917
15049
  # allow_auto_registration: false,
14918
15050
  # registration_config: {
14919
15051
  # template_body: "TemplateBody",
14920
15052
  # role_arn: "RoleArn",
15053
+ # template_name: "TemplateName",
14921
15054
  # },
14922
15055
  # tags: [
14923
15056
  # {
@@ -14925,6 +15058,7 @@ module Aws::IoT
14925
15058
  # value: "TagValue",
14926
15059
  # },
14927
15060
  # ],
15061
+ # certificate_mode: "DEFAULT", # accepts DEFAULT, SNI_ONLY
14928
15062
  # }
14929
15063
  #
14930
15064
  # @!attribute [rw] ca_certificate
@@ -14932,7 +15066,10 @@ module Aws::IoT
14932
15066
  # @return [String]
14933
15067
  #
14934
15068
  # @!attribute [rw] verification_certificate
14935
- # The private key verification certificate.
15069
+ # The private key verification certificate. If `certificateMode` is
15070
+ # `SNI_ONLY`, the `verificationCertificate` field must be empty. If
15071
+ # `certificateMode` is `DEFAULT` or not provided, the
15072
+ # `verificationCertificate` field must not be empty.
14936
15073
  # @return [String]
14937
15074
  #
14938
15075
  # @!attribute [rw] set_as_active
@@ -14966,13 +15103,30 @@ module Aws::IoT
14966
15103
  # </note>
14967
15104
  # @return [Array<Types::Tag>]
14968
15105
  #
15106
+ # @!attribute [rw] certificate_mode
15107
+ # Describes the certificate mode in which the Certificate Authority
15108
+ # (CA) will be registered. If the `verificationCertificate` field is
15109
+ # not provided, set `certificateMode` to be `SNI_ONLY`. If the
15110
+ # `verificationCertificate` field is provided, set `certificateMode`
15111
+ # to be `DEFAULT`. When `certificateMode` is not provided, it defaults
15112
+ # to `DEFAULT`. All the device certificates that are registered using
15113
+ # this CA will be registered in the same certificate mode as the CA.
15114
+ # For more information about certificate mode for device certificates,
15115
+ # see [ certificate mode][1].
15116
+ #
15117
+ #
15118
+ #
15119
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode
15120
+ # @return [String]
15121
+ #
14969
15122
  class RegisterCACertificateRequest < Struct.new(
14970
15123
  :ca_certificate,
14971
15124
  :verification_certificate,
14972
15125
  :set_as_active,
14973
15126
  :allow_auto_registration,
14974
15127
  :registration_config,
14975
- :tags)
15128
+ :tags,
15129
+ :certificate_mode)
14976
15130
  SENSITIVE = []
14977
15131
  include Aws::Structure
14978
15132
  end
@@ -15161,6 +15315,7 @@ module Aws::IoT
15161
15315
  # {
15162
15316
  # template_body: "TemplateBody",
15163
15317
  # role_arn: "RoleArn",
15318
+ # template_name: "TemplateName",
15164
15319
  # }
15165
15320
  #
15166
15321
  # @!attribute [rw] template_body
@@ -15171,9 +15326,14 @@ module Aws::IoT
15171
15326
  # The ARN of the role.
15172
15327
  # @return [String]
15173
15328
  #
15329
+ # @!attribute [rw] template_name
15330
+ # The name of the provisioning template.
15331
+ # @return [String]
15332
+ #
15174
15333
  class RegistrationConfig < Struct.new(
15175
15334
  :template_body,
15176
- :role_arn)
15335
+ :role_arn,
15336
+ :template_name)
15177
15337
  SENSITIVE = []
15178
15338
  include Aws::Structure
15179
15339
  end
@@ -16099,7 +16259,12 @@ module Aws::IoT
16099
16259
  # @return [String]
16100
16260
  #
16101
16261
  # @!attribute [rw] query_string
16102
- # The search query string.
16262
+ # The search query string. For more information about the search query
16263
+ # syntax, see [Query syntax][1].
16264
+ #
16265
+ #
16266
+ #
16267
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html
16103
16268
  # @return [String]
16104
16269
  #
16105
16270
  # @!attribute [rw] next_token
@@ -17650,6 +17815,9 @@ module Aws::IoT
17650
17815
  # type: "Number", # accepts Number, String, Boolean
17651
17816
  # },
17652
17817
  # ],
17818
+ # filter: {
17819
+ # named_shadow_names: ["ShadowName"],
17820
+ # },
17653
17821
  # }
17654
17822
  #
17655
17823
  # @!attribute [rw] thing_indexing_mode
@@ -17715,13 +17883,22 @@ module Aws::IoT
17715
17883
  # Contains custom field names and their data type.
17716
17884
  # @return [Array<Types::Field>]
17717
17885
  #
17886
+ # @!attribute [rw] filter
17887
+ # Provides additional filters for specific data sources. Named shadow
17888
+ # is the only data source that currently supports and requires a
17889
+ # filter. To add named shadows to your fleet indexing configuration,
17890
+ # set `namedShadowIndexingMode` to be `ON` and specify your shadow
17891
+ # names in `filter`.
17892
+ # @return [Types::IndexingFilter]
17893
+ #
17718
17894
  class ThingIndexingConfiguration < Struct.new(
17719
17895
  :thing_indexing_mode,
17720
17896
  :thing_connectivity_indexing_mode,
17721
17897
  :device_defender_indexing_mode,
17722
17898
  :named_shadow_indexing_mode,
17723
17899
  :managed_fields,
17724
- :custom_fields)
17900
+ :custom_fields,
17901
+ :filter)
17725
17902
  SENSITIVE = []
17726
17903
  include Aws::Structure
17727
17904
  end
@@ -19057,6 +19234,7 @@ module Aws::IoT
19057
19234
  # registration_config: {
19058
19235
  # template_body: "TemplateBody",
19059
19236
  # role_arn: "RoleArn",
19237
+ # template_name: "TemplateName",
19060
19238
  # },
19061
19239
  # remove_auto_registration: false,
19062
19240
  # }
@@ -19532,6 +19710,9 @@ module Aws::IoT
19532
19710
  # type: "Number", # accepts Number, String, Boolean
19533
19711
  # },
19534
19712
  # ],
19713
+ # filter: {
19714
+ # named_shadow_names: ["ShadowName"],
19715
+ # },
19535
19716
  # },
19536
19717
  # thing_group_indexing_configuration: {
19537
19718
  # thing_group_indexing_mode: "OFF", # required, accepts OFF, ON
@@ -19755,15 +19936,15 @@ module Aws::IoT
19755
19936
  # }
19756
19937
  #
19757
19938
  # @!attribute [rw] template_name
19758
- # The name of the fleet provisioning template.
19939
+ # The name of the provisioning template.
19759
19940
  # @return [String]
19760
19941
  #
19761
19942
  # @!attribute [rw] description
19762
- # The description of the fleet provisioning template.
19943
+ # The description of the provisioning template.
19763
19944
  # @return [String]
19764
19945
  #
19765
19946
  # @!attribute [rw] enabled
19766
- # True to enable the fleet provisioning template, otherwise false.
19947
+ # True to enable the provisioning template, otherwise false.
19767
19948
  # @return [Boolean]
19768
19949
  #
19769
19950
  # @!attribute [rw] default_version_id
data/lib/aws-sdk-iot.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-iot/customizations'
48
48
  # @!group service
49
49
  module Aws::IoT
50
50
 
51
- GEM_VERSION = '1.91.0'
51
+ GEM_VERSION = '1.94.0'
52
52
 
53
53
  end
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.91.0
4
+ version: 1.94.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: 2022-06-27 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core