aws-sdk-cloudformation 1.78.0 → 1.80.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,8 @@ module Aws::CloudFormation
23
23
  AccountLimitList = Shapes::ListShape.new(name: 'AccountLimitList')
24
24
  AccountList = Shapes::ListShape.new(name: 'AccountList')
25
25
  AccountsUrl = Shapes::StringShape.new(name: 'AccountsUrl')
26
+ ActivateOrganizationsAccessInput = Shapes::StructureShape.new(name: 'ActivateOrganizationsAccessInput')
27
+ ActivateOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'ActivateOrganizationsAccessOutput')
26
28
  ActivateTypeInput = Shapes::StructureShape.new(name: 'ActivateTypeInput')
27
29
  ActivateTypeOutput = Shapes::StructureShape.new(name: 'ActivateTypeOutput')
28
30
  AllowedValue = Shapes::StringShape.new(name: 'AllowedValue')
@@ -81,6 +83,8 @@ module Aws::CloudFormation
81
83
  CreateStackSetOutput = Shapes::StructureShape.new(name: 'CreateStackSetOutput')
82
84
  CreatedButModifiedException = Shapes::StructureShape.new(name: 'CreatedButModifiedException')
83
85
  CreationTime = Shapes::TimestampShape.new(name: 'CreationTime')
86
+ DeactivateOrganizationsAccessInput = Shapes::StructureShape.new(name: 'DeactivateOrganizationsAccessInput')
87
+ DeactivateOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'DeactivateOrganizationsAccessOutput')
84
88
  DeactivateTypeInput = Shapes::StructureShape.new(name: 'DeactivateTypeInput')
85
89
  DeactivateTypeOutput = Shapes::StructureShape.new(name: 'DeactivateTypeOutput')
86
90
  DeleteChangeSetInput = Shapes::StructureShape.new(name: 'DeleteChangeSetInput')
@@ -101,6 +105,8 @@ module Aws::CloudFormation
101
105
  DescribeChangeSetHooksOutput = Shapes::StructureShape.new(name: 'DescribeChangeSetHooksOutput')
102
106
  DescribeChangeSetInput = Shapes::StructureShape.new(name: 'DescribeChangeSetInput')
103
107
  DescribeChangeSetOutput = Shapes::StructureShape.new(name: 'DescribeChangeSetOutput')
108
+ DescribeOrganizationsAccessInput = Shapes::StructureShape.new(name: 'DescribeOrganizationsAccessInput')
109
+ DescribeOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'DescribeOrganizationsAccessOutput')
104
110
  DescribePublisherInput = Shapes::StructureShape.new(name: 'DescribePublisherInput')
105
111
  DescribePublisherOutput = Shapes::StructureShape.new(name: 'DescribePublisherOutput')
106
112
  DescribeStackDriftDetectionStatusInput = Shapes::StructureShape.new(name: 'DescribeStackDriftDetectionStatusInput')
@@ -244,6 +250,7 @@ module Aws::CloudFormation
244
250
  OperationStatus = Shapes::StringShape.new(name: 'OperationStatus')
245
251
  OperationStatusCheckFailedException = Shapes::StructureShape.new(name: 'OperationStatusCheckFailedException')
246
252
  OptionalSecureUrl = Shapes::StringShape.new(name: 'OptionalSecureUrl')
253
+ OrganizationStatus = Shapes::StringShape.new(name: 'OrganizationStatus')
247
254
  OrganizationalUnitId = Shapes::StringShape.new(name: 'OrganizationalUnitId')
248
255
  OrganizationalUnitIdList = Shapes::ListShape.new(name: 'OrganizationalUnitIdList')
249
256
  Output = Shapes::StructureShape.new(name: 'Output')
@@ -491,6 +498,10 @@ module Aws::CloudFormation
491
498
 
492
499
  AccountList.member = Shapes::ShapeRef.new(shape: Account)
493
500
 
501
+ ActivateOrganizationsAccessInput.struct_class = Types::ActivateOrganizationsAccessInput
502
+
503
+ ActivateOrganizationsAccessOutput.struct_class = Types::ActivateOrganizationsAccessOutput
504
+
494
505
  ActivateTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: ThirdPartyType, location_name: "Type"))
495
506
  ActivateTypeInput.add_member(:public_type_arn, Shapes::ShapeRef.new(shape: ThirdPartyTypeArn, location_name: "PublicTypeArn"))
496
507
  ActivateTypeInput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId"))
@@ -670,6 +681,10 @@ module Aws::CloudFormation
670
681
 
671
682
  CreatedButModifiedException.struct_class = Types::CreatedButModifiedException
672
683
 
684
+ DeactivateOrganizationsAccessInput.struct_class = Types::DeactivateOrganizationsAccessInput
685
+
686
+ DeactivateOrganizationsAccessOutput.struct_class = Types::DeactivateOrganizationsAccessOutput
687
+
673
688
  DeactivateTypeInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
674
689
  DeactivateTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: ThirdPartyType, location_name: "Type"))
675
690
  DeactivateTypeInput.add_member(:arn, Shapes::ShapeRef.new(shape: PrivateTypeArn, location_name: "Arn"))
@@ -770,6 +785,12 @@ module Aws::CloudFormation
770
785
  DescribeChangeSetOutput.add_member(:root_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "RootChangeSetId"))
771
786
  DescribeChangeSetOutput.struct_class = Types::DescribeChangeSetOutput
772
787
 
788
+ DescribeOrganizationsAccessInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs"))
789
+ DescribeOrganizationsAccessInput.struct_class = Types::DescribeOrganizationsAccessInput
790
+
791
+ DescribeOrganizationsAccessOutput.add_member(:status, Shapes::ShapeRef.new(shape: OrganizationStatus, location_name: "Status"))
792
+ DescribeOrganizationsAccessOutput.struct_class = Types::DescribeOrganizationsAccessOutput
793
+
773
794
  DescribePublisherInput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId"))
774
795
  DescribePublisherInput.struct_class = Types::DescribePublisherInput
775
796
 
@@ -1822,6 +1843,16 @@ module Aws::CloudFormation
1822
1843
  "xmlNamespace" => "http://cloudformation.amazonaws.com/doc/2010-05-15/",
1823
1844
  }
1824
1845
 
1846
+ api.add_operation(:activate_organizations_access, Seahorse::Model::Operation.new.tap do |o|
1847
+ o.name = "ActivateOrganizationsAccess"
1848
+ o.http_method = "POST"
1849
+ o.http_request_uri = "/"
1850
+ o.input = Shapes::ShapeRef.new(shape: ActivateOrganizationsAccessInput)
1851
+ o.output = Shapes::ShapeRef.new(shape: ActivateOrganizationsAccessOutput)
1852
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
1853
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException)
1854
+ end)
1855
+
1825
1856
  api.add_operation(:activate_type, Seahorse::Model::Operation.new.tap do |o|
1826
1857
  o.name = "ActivateType"
1827
1858
  o.http_method = "POST"
@@ -1908,6 +1939,16 @@ module Aws::CloudFormation
1908
1939
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1909
1940
  end)
1910
1941
 
1942
+ api.add_operation(:deactivate_organizations_access, Seahorse::Model::Operation.new.tap do |o|
1943
+ o.name = "DeactivateOrganizationsAccess"
1944
+ o.http_method = "POST"
1945
+ o.http_request_uri = "/"
1946
+ o.input = Shapes::ShapeRef.new(shape: DeactivateOrganizationsAccessInput)
1947
+ o.output = Shapes::ShapeRef.new(shape: DeactivateOrganizationsAccessOutput)
1948
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
1949
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException)
1950
+ end)
1951
+
1911
1952
  api.add_operation(:deactivate_type, Seahorse::Model::Operation.new.tap do |o|
1912
1953
  o.name = "DeactivateType"
1913
1954
  o.http_method = "POST"
@@ -2000,6 +2041,16 @@ module Aws::CloudFormation
2000
2041
  o.errors << Shapes::ShapeRef.new(shape: ChangeSetNotFoundException)
2001
2042
  end)
2002
2043
 
2044
+ api.add_operation(:describe_organizations_access, Seahorse::Model::Operation.new.tap do |o|
2045
+ o.name = "DescribeOrganizationsAccess"
2046
+ o.http_method = "POST"
2047
+ o.http_request_uri = "/"
2048
+ o.input = Shapes::ShapeRef.new(shape: DescribeOrganizationsAccessInput)
2049
+ o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationsAccessOutput)
2050
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
2051
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException)
2052
+ end)
2053
+
2003
2054
  api.add_operation(:describe_publisher, Seahorse::Model::Operation.new.tap do |o|
2004
2055
  o.name = "DescribePublisher"
2005
2056
  o.http_method = "POST"
@@ -11,6 +11,20 @@
11
11
  module Aws::CloudFormation
12
12
  module Endpoints
13
13
 
14
+ class ActivateOrganizationsAccess
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::CloudFormation::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
14
28
  class ActivateType
15
29
  def self.build(context)
16
30
  unless context.config.regional_endpoint
@@ -123,6 +137,20 @@ module Aws::CloudFormation
123
137
  end
124
138
  end
125
139
 
140
+ class DeactivateOrganizationsAccess
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::CloudFormation::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
126
154
  class DeactivateType
127
155
  def self.build(context)
128
156
  unless context.config.regional_endpoint
@@ -249,6 +277,20 @@ module Aws::CloudFormation
249
277
  end
250
278
  end
251
279
 
280
+ class DescribeOrganizationsAccess
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::CloudFormation::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
252
294
  class DescribePublisher
253
295
  def self.build(context)
254
296
  unless context.config.regional_endpoint
@@ -56,6 +56,8 @@ module Aws::CloudFormation
56
56
 
57
57
  def parameters_for_operation(context)
58
58
  case context.operation_name
59
+ when :activate_organizations_access
60
+ Aws::CloudFormation::Endpoints::ActivateOrganizationsAccess.build(context)
59
61
  when :activate_type
60
62
  Aws::CloudFormation::Endpoints::ActivateType.build(context)
61
63
  when :batch_describe_type_configurations
@@ -72,6 +74,8 @@ module Aws::CloudFormation
72
74
  Aws::CloudFormation::Endpoints::CreateStackInstances.build(context)
73
75
  when :create_stack_set
74
76
  Aws::CloudFormation::Endpoints::CreateStackSet.build(context)
77
+ when :deactivate_organizations_access
78
+ Aws::CloudFormation::Endpoints::DeactivateOrganizationsAccess.build(context)
75
79
  when :deactivate_type
76
80
  Aws::CloudFormation::Endpoints::DeactivateType.build(context)
77
81
  when :delete_change_set
@@ -90,6 +94,8 @@ module Aws::CloudFormation
90
94
  Aws::CloudFormation::Endpoints::DescribeChangeSet.build(context)
91
95
  when :describe_change_set_hooks
92
96
  Aws::CloudFormation::Endpoints::DescribeChangeSetHooks.build(context)
97
+ when :describe_organizations_access
98
+ Aws::CloudFormation::Endpoints::DescribeOrganizationsAccess.build(context)
93
99
  when :describe_publisher
94
100
  Aws::CloudFormation::Endpoints::DescribePublisher.build(context)
95
101
  when :describe_stack_drift_detection_status
@@ -353,6 +353,21 @@ module Aws::CloudFormation
353
353
  # })
354
354
  # @param [Hash] options ({})
355
355
  # @option options [String] :stack_name
356
+ # <note markdown="1"> If you don't pass a parameter to `StackName`, the API returns a
357
+ # response that describes all resources in the account. This requires
358
+ # `ListStacks` and `DescribeStacks` permissions.
359
+ #
360
+ # The IAM policy below can be added to IAM policies when you want to
361
+ # limit resource-level permissions and avoid returning a response when
362
+ # no parameter is sent in the request:
363
+ #
364
+ # \\\{ "Version": "2012-10-17", "Statement": \[\\\{ "Effect":
365
+ # "Deny", "Action": "cloudformation:DescribeStacks",
366
+ # "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" \\}\]
367
+ # \\}
368
+ #
369
+ # </note>
370
+ #
356
371
  # The name or the unique stack ID that's associated with the stack,
357
372
  # which aren't always interchangeable:
358
373
  #
@@ -195,7 +195,7 @@ module Aws::CloudFormation
195
195
  end
196
196
 
197
197
  # Information about whether a stack's actual configuration differs, or
198
- # has *drifted*, from it's expected configuration, as defined in the
198
+ # has *drifted*, from its expected configuration, as defined in the
199
199
  # stack template and any values specified as template parameters. For
200
200
  # more information, see [Detecting Unregulated Configuration Changes to
201
201
  # Stacks and Resources][1].