aws-sdk-cloudformation 1.74.0 → 1.76.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: b9560301ad4377df5f84198053d86546b1cb7c43da7da179be085eea9b4c1fc2
4
- data.tar.gz: dfcee5aa4910776345105e330204fe41e0b6fcdc0cdbbef7e5b2039cc0d8c1b3
3
+ metadata.gz: '08356c372f21e630c3144010b422deae48d9a23334d50e087a3805aa3be21209'
4
+ data.tar.gz: 32b1cc180ef009c6b1e33bc2ac19e7e80d8d21363113b4aaaef60565403e234c
5
5
  SHA512:
6
- metadata.gz: 7aac0c5531506003aba9c43491e939060a8224142500edaf70f5c2b59ec475a1bb2e57b4fc4e33835d20854c0298047fcca425850a264878c5b293665fbb847b
7
- data.tar.gz: a301594ea5f84ead32a439496ef8be803f8c3c9e2c1a10d1528f4451983b994b6daa462f27a203120a31d7e1cbe5712f4db66fdbedd62dd0ed1fd19b08d35453
6
+ metadata.gz: 5670db1fe24156a10d63a062c0ca68eaffdfc5f1138405e0ed4cb9a1936b539ac66fe25100720a51f5c65bcbd3b3ff03cda39c4d91487f4781cfaad11e89ac50
7
+ data.tar.gz: 0d4927dd855035c2771940c46d823d400b0832604c6b79e983df2e98e792da4944411bc251b77664c8665141aef7020153d2775ca8790bcb939d865718c73c64
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.76.0 (2023-01-30)
5
+ ------------------
6
+
7
+ * Feature - This feature provides a method of obtaining which regions a stackset has stack instances deployed in.
8
+
9
+ 1.75.0 (2023-01-25)
10
+ ------------------
11
+
12
+ * Feature - Enabled FIPS aws-us-gov endpoints in SDK.
13
+
4
14
  1.74.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.74.0
1
+ 1.76.0
@@ -2970,6 +2970,8 @@ module Aws::CloudFormation
2970
2970
  # resp.stack_set.organizational_unit_ids #=> Array
2971
2971
  # resp.stack_set.organizational_unit_ids[0] #=> String
2972
2972
  # resp.stack_set.managed_execution.active #=> Boolean
2973
+ # resp.stack_set.regions #=> Array
2974
+ # resp.stack_set.regions[0] #=> String
2973
2975
  #
2974
2976
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet AWS API Documentation
2975
2977
  #
@@ -6823,7 +6825,7 @@ module Aws::CloudFormation
6823
6825
  params: params,
6824
6826
  config: config)
6825
6827
  context[:gem_name] = 'aws-sdk-cloudformation'
6826
- context[:gem_version] = '1.74.0'
6828
+ context[:gem_version] = '1.76.0'
6827
6829
  Seahorse::Client::Request.new(handlers, context)
6828
6830
  end
6829
6831
 
@@ -1529,6 +1529,7 @@ module Aws::CloudFormation
1529
1529
  StackSet.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModels, location_name: "PermissionModel"))
1530
1530
  StackSet.add_member(:organizational_unit_ids, Shapes::ShapeRef.new(shape: OrganizationalUnitIdList, location_name: "OrganizationalUnitIds"))
1531
1531
  StackSet.add_member(:managed_execution, Shapes::ShapeRef.new(shape: ManagedExecution, location_name: "ManagedExecution"))
1532
+ StackSet.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "Regions"))
1532
1533
  StackSet.struct_class = Types::StackSet
1533
1534
 
1534
1535
  StackSetDriftDetectionDetails.add_member(:drift_status, Shapes::ShapeRef.new(shape: StackSetDriftStatus, location_name: "DriftStatus"))
@@ -50,6 +50,9 @@ module Aws::CloudFormation
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -15,7 +15,7 @@ module Aws::CloudFormation
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -32,6 +32,9 @@ module Aws::CloudFormation
32
32
  end
33
33
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{region}.amazonaws.com", headers: {}, properties: {})
37
+ end
35
38
  return Aws::Endpoints::Endpoint.new(url: "https://cloudformation-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
39
  end
37
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -42,6 +45,12 @@ module Aws::CloudFormation
42
45
  end
43
46
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
47
  end
48
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
49
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
50
+ end
51
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
52
+ return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
53
+ end
45
54
  return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
55
  end
47
56
  raise ArgumentError, 'No endpoint could be resolved'
@@ -7409,6 +7409,9 @@ module Aws::CloudFormation
7409
7409
  # concurrently and queues conflicting operations.
7410
7410
  # @return [Types::ManagedExecution]
7411
7411
  #
7412
+ # @!attribute [rw] regions
7413
+ # @return [Array<String>]
7414
+ #
7412
7415
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSet AWS API Documentation
7413
7416
  #
7414
7417
  class StackSet < Struct.new(
@@ -7427,7 +7430,8 @@ module Aws::CloudFormation
7427
7430
  :auto_deployment,
7428
7431
  :permission_model,
7429
7432
  :organizational_unit_ids,
7430
- :managed_execution)
7433
+ :managed_execution,
7434
+ :regions)
7431
7435
  SENSITIVE = []
7432
7436
  include Aws::Structure
7433
7437
  end
@@ -57,6 +57,6 @@ require_relative 'aws-sdk-cloudformation/customizations'
57
57
  # @!group service
58
58
  module Aws::CloudFormation
59
59
 
60
- GEM_VERSION = '1.74.0'
60
+ GEM_VERSION = '1.76.0'
61
61
 
62
62
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.74.0
4
+ version: 1.76.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core