aws-sdk-iot 1.118.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: fc4662d3de43d6851f4c69c658c8c16e1fb27ab9b9595ce87a78c67a811668f2
4
- data.tar.gz: 6e92a1ca3ac8d14392340b1502a4d5fa9860857c561ba53935ff63b6bf62dba1
3
+ metadata.gz: d3af054c2795f8133bd5c9f1fe3f89d43804d151f25fb169509a06954687c67f
4
+ data.tar.gz: 89b560b536502a4c9dae29c914c63e5e4b852cfb36f6a7d7409d08571f654b46
5
5
  SHA512:
6
- metadata.gz: 9688e3d935e9077c85316c56bdeef5a68efb134b7d8ae43a9bccc608aab97938d7c7e4918db4d85e05fd01055a7c9023ca160a7383a4051efd8a77cfa53a0736
7
- data.tar.gz: 6681f858d0abf8c11483afcac244aaf70c756fa2dc86f683d784ba91d22f11e00541f7850a0d833af5e43539e46d3eb3acc13605f8559784dcd12acce58ecd54
6
+ metadata.gz: 85e123d3460b8b4b36e27eb3d5b580a0544670ae00813c1a5b027686835f1800cbe814f9a25d4ec179628258ae12998dbdd2b2e9eb3fa7fbf560ebae51ba5855
7
+ data.tar.gz: a4ba32c5c19c030d67d43604643c995706d8b2a15f260c2f6ac5b2ef269644dade30ff28ef946352718b6fe7070d6c8853ccee14867266d029876690fdb45176
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.119.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.118.0 (2024-01-16)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.118.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.118.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"))
@@ -14,6 +14,7 @@ module Aws::IoT
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::IoT::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -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.118.0'
55
+ GEM_VERSION = '1.120.0'
56
56
 
57
57
  end