aws-sdk-iot 1.91.0 → 1.92.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 602be22a185a234f50eccf37f1a6146ff446ff58687bc97c9c6fb69e99b24ceb
4
- data.tar.gz: 9e4712d551631cfcb8ee2fdef975a5bba8dfb695ffeeb0860446962b3a782e20
3
+ metadata.gz: 9283fd04d9f3c1ecfb6fe9139ca25d86936a6f2724869c0ba934661e67281260
4
+ data.tar.gz: 27a06475760c8cbad48c37bcd8cb48461e7897ac20aa014085caece4555d6eab
5
5
  SHA512:
6
- metadata.gz: 7c08960fee42ada0154a6165018bcfd7abce3cb6165ef5b9517fdba4968133b21522fa27a71bb59201fe82beec83e798058308c323eba84437f6425a4803008d
7
- data.tar.gz: 3a59039d1ab187fc50a9484d2c10b3cd6b9dc5dcf37be98e9d0ed6a65fc55b2ac8b736345623333123904d207302d4bf2695a9e33631901b63bfab3b6beb368f
6
+ metadata.gz: d1bcdd45880e8c961cd8a1dad75898a06c426f14c8fc39fe301f95e354cd9f4c37eaf8a3fd0bc9196b722e320605033f49cb8c406494b3d6a551d3052221642b
7
+ data.tar.gz: cdfce80213ed22b13333c1c8d40d5a8eeaeb832708542783be02eee40b7f82aff58f865832c33ccfa1d9b9e6b10d92c094a1941b050d817fc9fd8b8d60fcdfe2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.92.0 (2022-07-07)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.91.0 (2022-06-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.91.0
1
+ 1.92.0
@@ -4997,6 +4997,7 @@ module Aws::IoT
4997
4997
  # resp.certificate_description.generation_id #=> String
4998
4998
  # resp.certificate_description.validity.not_before #=> Time
4999
4999
  # resp.certificate_description.validity.not_after #=> Time
5000
+ # resp.certificate_description.certificate_mode #=> String, one of "DEFAULT", "SNI_ONLY"
5000
5001
  # resp.registration_config.template_body #=> String
5001
5002
  # resp.registration_config.role_arn #=> String
5002
5003
  #
@@ -10636,14 +10637,10 @@ module Aws::IoT
10636
10637
  req.send_request(options)
10637
10638
  end
10638
10639
 
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.
10640
+ # Registers a CA certificate with Amazon Web Services IoT Core. There is
10641
+ # no limit to the number of CA certificates you can register in your
10642
+ # Amazon Web Services account. You can register up to 10 CA certificates
10643
+ # with the same `CA subject field` per Amazon Web Services account.
10647
10644
  #
10648
10645
  # Requires permission to access the [RegisterCACertificate][1] action.
10649
10646
  #
@@ -10654,8 +10651,11 @@ module Aws::IoT
10654
10651
  # @option params [required, String] :ca_certificate
10655
10652
  # The CA certificate.
10656
10653
  #
10657
- # @option params [required, String] :verification_certificate
10658
- # The private key verification certificate.
10654
+ # @option params [String] :verification_certificate
10655
+ # The private key verification certificate. If `certificateMode` is
10656
+ # `SNI_ONLY`, the `verificationCertificate` field must be empty. If
10657
+ # `certificateMode` is `DEFAULT` or not provided, the
10658
+ # `verificationCertificate` field must not be empty.
10659
10659
  #
10660
10660
  # @option params [Boolean] :set_as_active
10661
10661
  # A boolean value that specifies if the CA certificate is set to active.
@@ -10683,6 +10683,21 @@ module Aws::IoT
10683
10683
  #
10684
10684
  # </note>
10685
10685
  #
10686
+ # @option params [String] :certificate_mode
10687
+ # Describes the certificate mode in which the Certificate Authority (CA)
10688
+ # will be registered. If the `verificationCertificate` field is not
10689
+ # provided, set `certificateMode` to be `SNI_ONLY`. If the
10690
+ # `verificationCertificate` field is provided, set `certificateMode` to
10691
+ # be `DEFAULT`. When `certificateMode` is not provided, it defaults to
10692
+ # `DEFAULT`. All the device certificates that are registered using this
10693
+ # CA will be registered in the same certificate mode as the CA. For more
10694
+ # information about certificate mode for device certificates, see [
10695
+ # certificate mode][1].
10696
+ #
10697
+ #
10698
+ #
10699
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode
10700
+ #
10686
10701
  # @return [Types::RegisterCACertificateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10687
10702
  #
10688
10703
  # * {Types::RegisterCACertificateResponse#certificate_arn #certificate_arn} => String
@@ -10692,7 +10707,7 @@ module Aws::IoT
10692
10707
  #
10693
10708
  # resp = client.register_ca_certificate({
10694
10709
  # ca_certificate: "CertificatePem", # required
10695
- # verification_certificate: "CertificatePem", # required
10710
+ # verification_certificate: "CertificatePem",
10696
10711
  # set_as_active: false,
10697
10712
  # allow_auto_registration: false,
10698
10713
  # registration_config: {
@@ -10705,6 +10720,7 @@ module Aws::IoT
10705
10720
  # value: "TagValue",
10706
10721
  # },
10707
10722
  # ],
10723
+ # certificate_mode: "DEFAULT", # accepts DEFAULT, SNI_ONLY
10708
10724
  # })
10709
10725
  #
10710
10726
  # @example Response structure
@@ -10719,16 +10735,17 @@ module Aws::IoT
10719
10735
  req.send_request(options)
10720
10736
  end
10721
10737
 
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.
10738
+ # Registers a device certificate with IoT in the same [certificate
10739
+ # mode][1] as the signing CA. If you have more than one CA certificate
10740
+ # that has the same subject field, you must specify the CA certificate
10741
+ # that was used to sign the device certificate being registered.
10726
10742
  #
10727
- # Requires permission to access the [RegisterCertificate][1] action.
10743
+ # Requires permission to access the [RegisterCertificate][2] action.
10728
10744
  #
10729
10745
  #
10730
10746
  #
10731
- # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10747
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode
10748
+ # [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
10732
10749
  #
10733
10750
  # @option params [required, String] :certificate_pem
10734
10751
  # The certificate data, in PEM format.
@@ -11397,7 +11414,12 @@ module Aws::IoT
11397
11414
  # The search index name.
11398
11415
  #
11399
11416
  # @option params [required, String] :query_string
11400
- # The search query string.
11417
+ # The search query string. For more information about the search query
11418
+ # syntax, see [Query syntax][1].
11419
+ #
11420
+ #
11421
+ #
11422
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html
11401
11423
  #
11402
11424
  # @option params [String] :next_token
11403
11425
  # The token used to get the next set of results, or `null` if there are
@@ -13694,7 +13716,7 @@ module Aws::IoT
13694
13716
  params: params,
13695
13717
  config: config)
13696
13718
  context[:gem_name] = 'aws-sdk-iot'
13697
- context[:gem_version] = '1.91.0'
13719
+ context[:gem_version] = '1.92.0'
13698
13720
  Seahorse::Client::Request.new(handlers, context)
13699
13721
  end
13700
13722
 
@@ -1641,6 +1641,7 @@ module Aws::IoT
1641
1641
  CACertificateDescription.add_member(:customer_version, Shapes::ShapeRef.new(shape: CustomerVersion, location_name: "customerVersion"))
1642
1642
  CACertificateDescription.add_member(:generation_id, Shapes::ShapeRef.new(shape: GenerationId, location_name: "generationId"))
1643
1643
  CACertificateDescription.add_member(:validity, Shapes::ShapeRef.new(shape: CertificateValidity, location_name: "validity"))
1644
+ CACertificateDescription.add_member(:certificate_mode, Shapes::ShapeRef.new(shape: CertificateMode, location_name: "certificateMode"))
1644
1645
  CACertificateDescription.struct_class = Types::CACertificateDescription
1645
1646
 
1646
1647
  CACertificates.member = Shapes::ShapeRef.new(shape: CACertificate)
@@ -3926,11 +3927,12 @@ module Aws::IoT
3926
3927
  ReasonForNonComplianceCodes.member = Shapes::ShapeRef.new(shape: ReasonForNonComplianceCode)
3927
3928
 
3928
3929
  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"))
3930
+ RegisterCACertificateRequest.add_member(:verification_certificate, Shapes::ShapeRef.new(shape: CertificatePem, location_name: "verificationCertificate"))
3930
3931
  RegisterCACertificateRequest.add_member(:set_as_active, Shapes::ShapeRef.new(shape: SetAsActive, location: "querystring", location_name: "setAsActive"))
3931
3932
  RegisterCACertificateRequest.add_member(:allow_auto_registration, Shapes::ShapeRef.new(shape: AllowAutoRegistration, location: "querystring", location_name: "allowAutoRegistration"))
3932
3933
  RegisterCACertificateRequest.add_member(:registration_config, Shapes::ShapeRef.new(shape: RegistrationConfig, location_name: "registrationConfig"))
3933
3934
  RegisterCACertificateRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
3935
+ RegisterCACertificateRequest.add_member(:certificate_mode, Shapes::ShapeRef.new(shape: CertificateMode, location_name: "certificateMode"))
3934
3936
  RegisterCACertificateRequest.struct_class = Types::RegisterCACertificateRequest
3935
3937
 
3936
3938
  RegisterCACertificateResponse.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
@@ -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(
@@ -10238,6 +10284,9 @@ module Aws::IoT
10238
10284
  # @return [Hash<String,String>]
10239
10285
  #
10240
10286
  # @!attribute [rw] is_concurrent
10287
+ # Indicates whether a job is concurrent. Will be true when a job is
10288
+ # rolling out new job executions or canceling previously created
10289
+ # executions, otherwise false.
10241
10290
  # @return [Boolean]
10242
10291
  #
10243
10292
  class Job < Struct.new(
@@ -10599,6 +10648,9 @@ module Aws::IoT
10599
10648
  # @return [Time]
10600
10649
  #
10601
10650
  # @!attribute [rw] is_concurrent
10651
+ # Indicates whether a job is concurrent. Will be true when a job is
10652
+ # rolling out new job executions or canceling previously created
10653
+ # executions, otherwise false.
10602
10654
  # @return [Boolean]
10603
10655
  #
10604
10656
  class JobSummary < Struct.new(
@@ -14633,6 +14685,14 @@ module Aws::IoT
14633
14685
  # The ARN of an IAM role that grants grants permission to download
14634
14686
  # files from the S3 bucket where the job data/updates are stored. The
14635
14687
  # role must also grant permission for IoT to download the files.
14688
+ #
14689
+ # For information about addressing the confused deputy problem, see
14690
+ # [cross-service confused deputy prevention][1] in the *Amazon Web
14691
+ # Services IoT Core developer guide*.
14692
+ #
14693
+ #
14694
+ #
14695
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/cross-service-confused-deputy-prevention.html
14636
14696
  # @return [String]
14637
14697
  #
14638
14698
  # @!attribute [rw] expires_in_sec
@@ -14912,7 +14972,7 @@ module Aws::IoT
14912
14972
  #
14913
14973
  # {
14914
14974
  # ca_certificate: "CertificatePem", # required
14915
- # verification_certificate: "CertificatePem", # required
14975
+ # verification_certificate: "CertificatePem",
14916
14976
  # set_as_active: false,
14917
14977
  # allow_auto_registration: false,
14918
14978
  # registration_config: {
@@ -14925,6 +14985,7 @@ module Aws::IoT
14925
14985
  # value: "TagValue",
14926
14986
  # },
14927
14987
  # ],
14988
+ # certificate_mode: "DEFAULT", # accepts DEFAULT, SNI_ONLY
14928
14989
  # }
14929
14990
  #
14930
14991
  # @!attribute [rw] ca_certificate
@@ -14932,7 +14993,10 @@ module Aws::IoT
14932
14993
  # @return [String]
14933
14994
  #
14934
14995
  # @!attribute [rw] verification_certificate
14935
- # The private key verification certificate.
14996
+ # The private key verification certificate. If `certificateMode` is
14997
+ # `SNI_ONLY`, the `verificationCertificate` field must be empty. If
14998
+ # `certificateMode` is `DEFAULT` or not provided, the
14999
+ # `verificationCertificate` field must not be empty.
14936
15000
  # @return [String]
14937
15001
  #
14938
15002
  # @!attribute [rw] set_as_active
@@ -14966,13 +15030,30 @@ module Aws::IoT
14966
15030
  # </note>
14967
15031
  # @return [Array<Types::Tag>]
14968
15032
  #
15033
+ # @!attribute [rw] certificate_mode
15034
+ # Describes the certificate mode in which the Certificate Authority
15035
+ # (CA) will be registered. If the `verificationCertificate` field is
15036
+ # not provided, set `certificateMode` to be `SNI_ONLY`. If the
15037
+ # `verificationCertificate` field is provided, set `certificateMode`
15038
+ # to be `DEFAULT`. When `certificateMode` is not provided, it defaults
15039
+ # to `DEFAULT`. All the device certificates that are registered using
15040
+ # this CA will be registered in the same certificate mode as the CA.
15041
+ # For more information about certificate mode for device certificates,
15042
+ # see [ certificate mode][1].
15043
+ #
15044
+ #
15045
+ #
15046
+ # [1]: https://docs.aws.amazon.com/iot/latest/apireference/API_CertificateDescription.html#iot-Type-CertificateDescription-certificateMode
15047
+ # @return [String]
15048
+ #
14969
15049
  class RegisterCACertificateRequest < Struct.new(
14970
15050
  :ca_certificate,
14971
15051
  :verification_certificate,
14972
15052
  :set_as_active,
14973
15053
  :allow_auto_registration,
14974
15054
  :registration_config,
14975
- :tags)
15055
+ :tags,
15056
+ :certificate_mode)
14976
15057
  SENSITIVE = []
14977
15058
  include Aws::Structure
14978
15059
  end
@@ -16099,7 +16180,12 @@ module Aws::IoT
16099
16180
  # @return [String]
16100
16181
  #
16101
16182
  # @!attribute [rw] query_string
16102
- # The search query string.
16183
+ # The search query string. For more information about the search query
16184
+ # syntax, see [Query syntax][1].
16185
+ #
16186
+ #
16187
+ #
16188
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html
16103
16189
  # @return [String]
16104
16190
  #
16105
16191
  # @!attribute [rw] next_token
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.92.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.92.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-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core