aws-sdk-iot 1.119.0 → 1.120.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: b47b7ec8e2f9317e068df2be80aaf438a51512efb2352e54c9da84072e548ba8
4
- data.tar.gz: 3bee5b3ba397cc145cc18be62b9e35bc126bf0bd9c53c142a0efe8f74200bfb3
3
+ metadata.gz: d3af054c2795f8133bd5c9f1fe3f89d43804d151f25fb169509a06954687c67f
4
+ data.tar.gz: 89b560b536502a4c9dae29c914c63e5e4b852cfb36f6a7d7409d08571f654b46
5
5
  SHA512:
6
- metadata.gz: 2e3d821fa40538e386e8e4c184b8fc28daf99fcc5226bbf95ecd95fe05040402a321beaff44d59fb313d8635d33265dd0ae761377443b4cf76cf9f7f149b4ed6
7
- data.tar.gz: 66d9eed45b761827523f2dfc8c5a4622926119b6ad5f3fce9dcfad213d7e26c6e233d70420f44a26dc93931b78be656611f061b982295b86513233fafa2461be
6
+ metadata.gz: 85e123d3460b8b4b36e27eb3d5b580a0544670ae00813c1a5b027686835f1800cbe814f9a25d4ec179628258ae12998dbdd2b2e9eb3fa7fbf560ebae51ba5855
7
+ data.tar.gz: a4ba32c5c19c030d67d43604643c995706d8b2a15f260c2f6ac5b2ef269644dade30ff28ef946352718b6fe7070d6c8853ccee14867266d029876690fdb45176
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.120.0 (2024-02-09)
5
+ ------------------
6
+
7
+ * Feature - This release allows AWS IoT Core users to enable Online Certificate Status Protocol (OCSP) Stapling for TLS X.509 Server Certificates when creating and updating AWS IoT Domain Configurations with Custom Domain.
8
+
4
9
  1.119.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.119.0
1
+ 1.120.0
@@ -1581,6 +1581,9 @@ module Aws::IoT
1581
1581
  # @option params [Types::TlsConfig] :tls_config
1582
1582
  # An object that specifies the TLS configuration for a domain.
1583
1583
  #
1584
+ # @option params [Types::ServerCertificateConfig] :server_certificate_config
1585
+ # The server certificate configuration.
1586
+ #
1584
1587
  # @return [Types::CreateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1585
1588
  #
1586
1589
  # * {Types::CreateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
@@ -1607,6 +1610,9 @@ module Aws::IoT
1607
1610
  # tls_config: {
1608
1611
  # security_policy: "SecurityPolicy",
1609
1612
  # },
1613
+ # server_certificate_config: {
1614
+ # enable_ocsp_check: false,
1615
+ # },
1610
1616
  # })
1611
1617
  #
1612
1618
  # @example Response structure
@@ -5848,6 +5854,7 @@ module Aws::IoT
5848
5854
  # * {Types::DescribeDomainConfigurationResponse#domain_type #domain_type} => String
5849
5855
  # * {Types::DescribeDomainConfigurationResponse#last_status_change_date #last_status_change_date} => Time
5850
5856
  # * {Types::DescribeDomainConfigurationResponse#tls_config #tls_config} => Types::TlsConfig
5857
+ # * {Types::DescribeDomainConfigurationResponse#server_certificate_config #server_certificate_config} => Types::ServerCertificateConfig
5851
5858
  #
5852
5859
  # @example Request syntax with placeholder values
5853
5860
  #
@@ -5871,6 +5878,7 @@ module Aws::IoT
5871
5878
  # resp.domain_type #=> String, one of "ENDPOINT", "AWS_MANAGED", "CUSTOMER_MANAGED"
5872
5879
  # resp.last_status_change_date #=> Time
5873
5880
  # resp.tls_config.security_policy #=> String
5881
+ # resp.server_certificate_config.enable_ocsp_check #=> Boolean
5874
5882
  #
5875
5883
  # @overload describe_domain_configuration(params = {})
5876
5884
  # @param [Hash] params ({})
@@ -5879,8 +5887,13 @@ module Aws::IoT
5879
5887
  req.send_request(options)
5880
5888
  end
5881
5889
 
5882
- # Returns a unique endpoint specific to the Amazon Web Services account
5883
- # making the call.
5890
+ # Returns or creates a unique endpoint specific to the Amazon Web
5891
+ # Services account making the call.
5892
+ #
5893
+ # <note markdown="1"> The first time `DescribeEndpoint` is called, an endpoint is created.
5894
+ # All subsequent calls to `DescribeEndpoint` return the same endpoint.
5895
+ #
5896
+ # </note>
5884
5897
  #
5885
5898
  # Requires permission to access the [DescribeEndpoint][1] action.
5886
5899
  #
@@ -7734,6 +7747,11 @@ module Aws::IoT
7734
7747
 
7735
7748
  # Gets a registration code used to register a CA certificate with IoT.
7736
7749
  #
7750
+ # IoT will create a registration code as part of this API call if the
7751
+ # registration code doesn't exist or has been deleted. If you already
7752
+ # have a registration code, this API call will return the same
7753
+ # registration code.
7754
+ #
7737
7755
  # Requires permission to access the [GetRegistrationCode][1] action.
7738
7756
  #
7739
7757
  #
@@ -13759,6 +13777,9 @@ module Aws::IoT
13759
13777
  # @option params [Types::TlsConfig] :tls_config
13760
13778
  # An object that specifies the TLS configuration for a domain.
13761
13779
  #
13780
+ # @option params [Types::ServerCertificateConfig] :server_certificate_config
13781
+ # The server certificate configuration.
13782
+ #
13762
13783
  # @return [Types::UpdateDomainConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
13763
13784
  #
13764
13785
  # * {Types::UpdateDomainConfigurationResponse#domain_configuration_name #domain_configuration_name} => String
@@ -13777,6 +13798,9 @@ module Aws::IoT
13777
13798
  # tls_config: {
13778
13799
  # security_policy: "SecurityPolicy",
13779
13800
  # },
13801
+ # server_certificate_config: {
13802
+ # enable_ocsp_check: false,
13803
+ # },
13780
13804
  # })
13781
13805
  #
13782
13806
  # @example Response structure
@@ -15075,7 +15099,7 @@ module Aws::IoT
15075
15099
  params: params,
15076
15100
  config: config)
15077
15101
  context[:gem_name] = 'aws-sdk-iot'
15078
- context[:gem_version] = '1.119.0'
15102
+ context[:gem_version] = '1.120.0'
15079
15103
  Seahorse::Client::Request.new(handlers, context)
15080
15104
  end
15081
15105
 
@@ -516,6 +516,7 @@ module Aws::IoT
516
516
  ElasticsearchType = Shapes::StringShape.new(name: 'ElasticsearchType')
517
517
  EnableCachingForHttp = Shapes::BooleanShape.new(name: 'EnableCachingForHttp')
518
518
  EnableIoTLoggingParams = Shapes::StructureShape.new(name: 'EnableIoTLoggingParams')
519
+ EnableOCSPCheck = Shapes::BooleanShape.new(name: 'EnableOCSPCheck')
519
520
  EnableTopicRuleRequest = Shapes::StructureShape.new(name: 'EnableTopicRuleRequest')
520
521
  Enabled = Shapes::BooleanShape.new(name: 'Enabled')
521
522
  EnabledBoolean = Shapes::BooleanShape.new(name: 'EnabledBoolean')
@@ -1092,6 +1093,7 @@ module Aws::IoT
1092
1093
  SecurityProfileTargetMappings = Shapes::ListShape.new(name: 'SecurityProfileTargetMappings')
1093
1094
  SecurityProfileTargets = Shapes::ListShape.new(name: 'SecurityProfileTargets')
1094
1095
  ServerCertificateArns = Shapes::ListShape.new(name: 'ServerCertificateArns')
1096
+ ServerCertificateConfig = Shapes::StructureShape.new(name: 'ServerCertificateConfig')
1095
1097
  ServerCertificateStatus = Shapes::StringShape.new(name: 'ServerCertificateStatus')
1096
1098
  ServerCertificateStatusDetail = Shapes::StringShape.new(name: 'ServerCertificateStatusDetail')
1097
1099
  ServerCertificateSummary = Shapes::StructureShape.new(name: 'ServerCertificateSummary')
@@ -1979,6 +1981,7 @@ module Aws::IoT
1979
1981
  CreateDomainConfigurationRequest.add_member(:service_type, Shapes::ShapeRef.new(shape: ServiceType, location_name: "serviceType"))
1980
1982
  CreateDomainConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1981
1983
  CreateDomainConfigurationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
1984
+ CreateDomainConfigurationRequest.add_member(:server_certificate_config, Shapes::ShapeRef.new(shape: ServerCertificateConfig, location_name: "serverCertificateConfig"))
1982
1985
  CreateDomainConfigurationRequest.struct_class = Types::CreateDomainConfigurationRequest
1983
1986
 
1984
1987
  CreateDomainConfigurationResponse.add_member(:domain_configuration_name, Shapes::ShapeRef.new(shape: DomainConfigurationName, location_name: "domainConfigurationName"))
@@ -2605,6 +2608,7 @@ module Aws::IoT
2605
2608
  DescribeDomainConfigurationResponse.add_member(:domain_type, Shapes::ShapeRef.new(shape: DomainType, location_name: "domainType"))
2606
2609
  DescribeDomainConfigurationResponse.add_member(:last_status_change_date, Shapes::ShapeRef.new(shape: DateType, location_name: "lastStatusChangeDate"))
2607
2610
  DescribeDomainConfigurationResponse.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
2611
+ DescribeDomainConfigurationResponse.add_member(:server_certificate_config, Shapes::ShapeRef.new(shape: ServerCertificateConfig, location_name: "serverCertificateConfig"))
2608
2612
  DescribeDomainConfigurationResponse.struct_class = Types::DescribeDomainConfigurationResponse
2609
2613
 
2610
2614
  DescribeEndpointRequest.add_member(:endpoint_type, Shapes::ShapeRef.new(shape: EndpointType, location: "querystring", location_name: "endpointType"))
@@ -4486,6 +4490,9 @@ module Aws::IoT
4486
4490
 
4487
4491
  ServerCertificateArns.member = Shapes::ShapeRef.new(shape: AcmCertificateArn)
4488
4492
 
4493
+ ServerCertificateConfig.add_member(:enable_ocsp_check, Shapes::ShapeRef.new(shape: EnableOCSPCheck, location_name: "enableOCSPCheck"))
4494
+ ServerCertificateConfig.struct_class = Types::ServerCertificateConfig
4495
+
4489
4496
  ServerCertificateSummary.add_member(:server_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, location_name: "serverCertificateArn"))
4490
4497
  ServerCertificateSummary.add_member(:server_certificate_status, Shapes::ShapeRef.new(shape: ServerCertificateStatus, location_name: "serverCertificateStatus"))
4491
4498
  ServerCertificateSummary.add_member(:server_certificate_status_detail, Shapes::ShapeRef.new(shape: ServerCertificateStatusDetail, location_name: "serverCertificateStatusDetail"))
@@ -5005,6 +5012,7 @@ module Aws::IoT
5005
5012
  UpdateDomainConfigurationRequest.add_member(:domain_configuration_status, Shapes::ShapeRef.new(shape: DomainConfigurationStatus, location_name: "domainConfigurationStatus"))
5006
5013
  UpdateDomainConfigurationRequest.add_member(:remove_authorizer_config, Shapes::ShapeRef.new(shape: RemoveAuthorizerConfig, location_name: "removeAuthorizerConfig"))
5007
5014
  UpdateDomainConfigurationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
5015
+ UpdateDomainConfigurationRequest.add_member(:server_certificate_config, Shapes::ShapeRef.new(shape: ServerCertificateConfig, location_name: "serverCertificateConfig"))
5008
5016
  UpdateDomainConfigurationRequest.struct_class = Types::UpdateDomainConfigurationRequest
5009
5017
 
5010
5018
  UpdateDomainConfigurationResponse.add_member(:domain_configuration_name, Shapes::ShapeRef.new(shape: ReservedDomainConfigurationName, location_name: "domainConfigurationName"))
@@ -2598,6 +2598,10 @@ module Aws::IoT
2598
2598
  # An object that specifies the TLS configuration for a domain.
2599
2599
  # @return [Types::TlsConfig]
2600
2600
  #
2601
+ # @!attribute [rw] server_certificate_config
2602
+ # The server certificate configuration.
2603
+ # @return [Types::ServerCertificateConfig]
2604
+ #
2601
2605
  class CreateDomainConfigurationRequest < Struct.new(
2602
2606
  :domain_configuration_name,
2603
2607
  :domain_name,
@@ -2606,7 +2610,8 @@ module Aws::IoT
2606
2610
  :authorizer_config,
2607
2611
  :service_type,
2608
2612
  :tags,
2609
- :tls_config)
2613
+ :tls_config,
2614
+ :server_certificate_config)
2610
2615
  SENSITIVE = []
2611
2616
  include Aws::Structure
2612
2617
  end
@@ -5404,6 +5409,10 @@ module Aws::IoT
5404
5409
  # An object that specifies the TLS configuration for a domain.
5405
5410
  # @return [Types::TlsConfig]
5406
5411
  #
5412
+ # @!attribute [rw] server_certificate_config
5413
+ # The server certificate configuration.
5414
+ # @return [Types::ServerCertificateConfig]
5415
+ #
5407
5416
  class DescribeDomainConfigurationResponse < Struct.new(
5408
5417
  :domain_configuration_name,
5409
5418
  :domain_configuration_arn,
@@ -5414,7 +5423,8 @@ module Aws::IoT
5414
5423
  :service_type,
5415
5424
  :domain_type,
5416
5425
  :last_status_change_date,
5417
- :tls_config)
5426
+ :tls_config,
5427
+ :server_certificate_config)
5418
5428
  SENSITIVE = []
5419
5429
  include Aws::Structure
5420
5430
  end
@@ -13614,6 +13624,27 @@ module Aws::IoT
13614
13624
  include Aws::Structure
13615
13625
  end
13616
13626
 
13627
+ # The server certificate configuration.
13628
+ #
13629
+ # @!attribute [rw] enable_ocsp_check
13630
+ # A Boolean value that indicates whether Online Certificate Status
13631
+ # Protocol (OCSP) server certificate check is enabled or not.
13632
+ #
13633
+ # For more information, see [Configuring OCSP server-certificate
13634
+ # stapling in domain configuration][1] from Amazon Web Services IoT
13635
+ # Core Developer Guide.
13636
+ #
13637
+ #
13638
+ #
13639
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-domain-ocsp-config.html
13640
+ # @return [Boolean]
13641
+ #
13642
+ class ServerCertificateConfig < Struct.new(
13643
+ :enable_ocsp_check)
13644
+ SENSITIVE = []
13645
+ include Aws::Structure
13646
+ end
13647
+
13617
13648
  # An object that contains information about a server certificate.
13618
13649
  #
13619
13650
  # @!attribute [rw] server_certificate_arn
@@ -15945,12 +15976,17 @@ module Aws::IoT
15945
15976
  # An object that specifies the TLS configuration for a domain.
15946
15977
  # @return [Types::TlsConfig]
15947
15978
  #
15979
+ # @!attribute [rw] server_certificate_config
15980
+ # The server certificate configuration.
15981
+ # @return [Types::ServerCertificateConfig]
15982
+ #
15948
15983
  class UpdateDomainConfigurationRequest < Struct.new(
15949
15984
  :domain_configuration_name,
15950
15985
  :authorizer_config,
15951
15986
  :domain_configuration_status,
15952
15987
  :remove_authorizer_config,
15953
- :tls_config)
15988
+ :tls_config,
15989
+ :server_certificate_config)
15954
15990
  SENSITIVE = []
15955
15991
  include Aws::Structure
15956
15992
  end
data/lib/aws-sdk-iot.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-iot/customizations'
52
52
  # @!group service
53
53
  module Aws::IoT
54
54
 
55
- GEM_VERSION = '1.119.0'
55
+ GEM_VERSION = '1.120.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -401,6 +401,9 @@ module Aws
401
401
  ],
402
402
  ?tls_config: {
403
403
  security_policy: ::String?
404
+ },
405
+ ?server_certificate_config: {
406
+ enable_ocsp_check: bool?
404
407
  }
405
408
  ) -> _CreateDomainConfigurationResponseSuccess
406
409
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainConfigurationResponseSuccess
@@ -2064,6 +2067,7 @@ module Aws
2064
2067
  def domain_type: () -> ("ENDPOINT" | "AWS_MANAGED" | "CUSTOMER_MANAGED")
2065
2068
  def last_status_change_date: () -> ::Time
2066
2069
  def tls_config: () -> Types::TlsConfig
2070
+ def server_certificate_config: () -> Types::ServerCertificateConfig
2067
2071
  end
2068
2072
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#describe_domain_configuration-instance_method
2069
2073
  def describe_domain_configuration: (
@@ -4423,6 +4427,9 @@ module Aws
4423
4427
  ?remove_authorizer_config: bool,
4424
4428
  ?tls_config: {
4425
4429
  security_policy: ::String?
4430
+ },
4431
+ ?server_certificate_config: {
4432
+ enable_ocsp_check: bool?
4426
4433
  }
4427
4434
  ) -> _UpdateDomainConfigurationResponseSuccess
4428
4435
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainConfigurationResponseSuccess
data/sig/types.rbs CHANGED
@@ -718,6 +718,7 @@ module Aws::IoT
718
718
  attr_accessor service_type: ("DATA" | "CREDENTIAL_PROVIDER" | "JOBS")
719
719
  attr_accessor tags: ::Array[Types::Tag]
720
720
  attr_accessor tls_config: Types::TlsConfig
721
+ attr_accessor server_certificate_config: Types::ServerCertificateConfig
721
722
  SENSITIVE: []
722
723
  end
723
724
 
@@ -1593,6 +1594,7 @@ module Aws::IoT
1593
1594
  attr_accessor domain_type: ("ENDPOINT" | "AWS_MANAGED" | "CUSTOMER_MANAGED")
1594
1595
  attr_accessor last_status_change_date: ::Time
1595
1596
  attr_accessor tls_config: Types::TlsConfig
1597
+ attr_accessor server_certificate_config: Types::ServerCertificateConfig
1596
1598
  SENSITIVE: []
1597
1599
  end
1598
1600
 
@@ -3992,6 +3994,11 @@ module Aws::IoT
3992
3994
  SENSITIVE: []
3993
3995
  end
3994
3996
 
3997
+ class ServerCertificateConfig
3998
+ attr_accessor enable_ocsp_check: bool
3999
+ SENSITIVE: []
4000
+ end
4001
+
3995
4002
  class ServerCertificateSummary
3996
4003
  attr_accessor server_certificate_arn: ::String
3997
4004
  attr_accessor server_certificate_status: ("INVALID" | "VALID")
@@ -4639,6 +4646,7 @@ module Aws::IoT
4639
4646
  attr_accessor domain_configuration_status: ("ENABLED" | "DISABLED")
4640
4647
  attr_accessor remove_authorizer_config: bool
4641
4648
  attr_accessor tls_config: Types::TlsConfig
4649
+ attr_accessor server_certificate_config: Types::ServerCertificateConfig
4642
4650
  SENSITIVE: []
4643
4651
  end
4644
4652
 
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.119.0
4
+ version: 1.120.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: 2024-01-26 00:00:00.000000000 Z
11
+ date: 2024-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core