aws-sdk-cloudformation 1.34.0 → 1.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6367bf308e276101a9d5d9be710f6ae32f1e8e13951bf61be1d70725abee0022
4
- data.tar.gz: e09c1c012626db4418c006947530a6cd86f0d34fe92d473e76a51f6ab9806a91
3
+ metadata.gz: 5ee7226909b3c9ecee6096e159b2402377f7768be46228fbeadb6cd787f986f2
4
+ data.tar.gz: ad29f267cda0c7e523891f43787060c7b0e836ddc5d6be427a9983de1ed21f70
5
5
  SHA512:
6
- metadata.gz: e184f48ce1e127ca76b50f036603511836335b158ee1ef210b6a25e8c4685a4638a72a01a532b701aa18a5f7f4dab40d98dde0bc239430664fccbe29a3672122
7
- data.tar.gz: ce8fed763ee4749af7de36a73e2f96ad0df5837e89a03a03fef6128e245a7313e2ac390ccd7c544c302f53afc468d9c64ecee7be6919ce588dddbbb7f3494329
6
+ metadata.gz: 47e7353b5673a2cc244ac1c2d26518db4ad0bcc827e51c339ba7d3062acac70248f8c1093caa24b86bffaa3e6f38ab8f6db8c97ff11cbf545d3a06d440f61ba0
7
+ data.tar.gz: 7cc19ade8f5d75c503a754e5d6812a0dcb72654bc243771ccb747e369ac503446a04f8e82daeebf85fdfd85da211d37e337c5d5b2cbfc79302b0bfadac2ae747
@@ -50,6 +50,6 @@ require_relative 'aws-sdk-cloudformation/customizations'
50
50
  # @service
51
51
  module Aws::CloudFormation
52
52
 
53
- GEM_VERSION = '1.34.0'
53
+ GEM_VERSION = '1.35.0'
54
54
 
55
55
  end
@@ -1742,6 +1742,8 @@ module Aws::CloudFormation
1742
1742
  # * {Types::DescribeAccountLimitsOutput#account_limits #account_limits} => Array<Types::AccountLimit>
1743
1743
  # * {Types::DescribeAccountLimitsOutput#next_token #next_token} => String
1744
1744
  #
1745
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1746
+ #
1745
1747
  # @example Request syntax with placeholder values
1746
1748
  #
1747
1749
  # resp = client.describe_account_limits({
@@ -2509,6 +2511,7 @@ module Aws::CloudFormation
2509
2511
  # * stack_delete_complete
2510
2512
  # * stack_exists
2511
2513
  # * stack_import_complete
2514
+ # * stack_rollback_complete
2512
2515
  # * stack_update_complete
2513
2516
  #
2514
2517
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks AWS API Documentation
@@ -2558,6 +2561,7 @@ module Aws::CloudFormation
2558
2561
  # * {Types::DescribeTypeOutput#type #type} => String
2559
2562
  # * {Types::DescribeTypeOutput#type_name #type_name} => String
2560
2563
  # * {Types::DescribeTypeOutput#default_version_id #default_version_id} => String
2564
+ # * {Types::DescribeTypeOutput#is_default_version #is_default_version} => Boolean
2561
2565
  # * {Types::DescribeTypeOutput#description #description} => String
2562
2566
  # * {Types::DescribeTypeOutput#schema #schema} => String
2563
2567
  # * {Types::DescribeTypeOutput#provisioning_type #provisioning_type} => String
@@ -2585,6 +2589,7 @@ module Aws::CloudFormation
2585
2589
  # resp.type #=> String, one of "RESOURCE"
2586
2590
  # resp.type_name #=> String
2587
2591
  # resp.default_version_id #=> String
2592
+ # resp.is_default_version #=> Boolean
2588
2593
  # resp.description #=> String
2589
2594
  # resp.schema #=> String
2590
2595
  # resp.provisioning_type #=> String, one of "NON_PROVISIONABLE", "IMMUTABLE", "FULLY_MUTABLE"
@@ -3218,6 +3223,8 @@ module Aws::CloudFormation
3218
3223
  # * {Types::ListChangeSetsOutput#summaries #summaries} => Array<Types::ChangeSetSummary>
3219
3224
  # * {Types::ListChangeSetsOutput#next_token #next_token} => String
3220
3225
  #
3226
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3227
+ #
3221
3228
  # @example Request syntax with placeholder values
3222
3229
  #
3223
3230
  # resp = client.list_change_sets({
@@ -3378,6 +3385,8 @@ module Aws::CloudFormation
3378
3385
  # * {Types::ListStackInstancesOutput#summaries #summaries} => Array<Types::StackInstanceSummary>
3379
3386
  # * {Types::ListStackInstancesOutput#next_token #next_token} => String
3380
3387
  #
3388
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3389
+ #
3381
3390
  # @example Request syntax with placeholder values
3382
3391
  #
3383
3392
  # resp = client.list_stack_instances({
@@ -3497,6 +3506,8 @@ module Aws::CloudFormation
3497
3506
  # * {Types::ListStackSetOperationResultsOutput#summaries #summaries} => Array<Types::StackSetOperationResultSummary>
3498
3507
  # * {Types::ListStackSetOperationResultsOutput#next_token #next_token} => String
3499
3508
  #
3509
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3510
+ #
3500
3511
  # @example Request syntax with placeholder values
3501
3512
  #
3502
3513
  # resp = client.list_stack_set_operation_results({
@@ -3553,6 +3564,8 @@ module Aws::CloudFormation
3553
3564
  # * {Types::ListStackSetOperationsOutput#summaries #summaries} => Array<Types::StackSetOperationSummary>
3554
3565
  # * {Types::ListStackSetOperationsOutput#next_token #next_token} => String
3555
3566
  #
3567
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3568
+ #
3556
3569
  # @example Request syntax with placeholder values
3557
3570
  #
3558
3571
  # resp = client.list_stack_set_operations({
@@ -3606,6 +3619,8 @@ module Aws::CloudFormation
3606
3619
  # * {Types::ListStackSetsOutput#summaries #summaries} => Array<Types::StackSetSummary>
3607
3620
  # * {Types::ListStackSetsOutput#next_token #next_token} => String
3608
3621
  #
3622
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3623
+ #
3609
3624
  # @example Request syntax with placeholder values
3610
3625
  #
3611
3626
  # resp = client.list_stack_sets({
@@ -3838,6 +3853,7 @@ module Aws::CloudFormation
3838
3853
  # resp.type_version_summaries[0].type #=> String, one of "RESOURCE"
3839
3854
  # resp.type_version_summaries[0].type_name #=> String
3840
3855
  # resp.type_version_summaries[0].version_id #=> String
3856
+ # resp.type_version_summaries[0].is_default_version #=> Boolean
3841
3857
  # resp.type_version_summaries[0].arn #=> String
3842
3858
  # resp.type_version_summaries[0].time_created #=> Time
3843
3859
  # resp.type_version_summaries[0].description #=> String
@@ -5282,7 +5298,7 @@ module Aws::CloudFormation
5282
5298
  params: params,
5283
5299
  config: config)
5284
5300
  context[:gem_name] = 'aws-sdk-cloudformation'
5285
- context[:gem_version] = '1.34.0'
5301
+ context[:gem_version] = '1.35.0'
5286
5302
  Seahorse::Client::Request.new(handlers, context)
5287
5303
  end
5288
5304
 
@@ -5355,6 +5371,7 @@ module Aws::CloudFormation
5355
5371
  # | stack_delete_complete | {Client#describe_stacks} | 30 | 120 |
5356
5372
  # | stack_exists | {Client#describe_stacks} | 5 | 20 |
5357
5373
  # | stack_import_complete | {Client#describe_stacks} | 30 | 120 |
5374
+ # | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 |
5358
5375
  # | stack_update_complete | {Client#describe_stacks} | 30 | 120 |
5359
5376
  # | type_registration_complete | {Client#describe_type_registration} | 30 | 120 |
5360
5377
  #
@@ -5412,6 +5429,7 @@ module Aws::CloudFormation
5412
5429
  stack_delete_complete: Waiters::StackDeleteComplete,
5413
5430
  stack_exists: Waiters::StackExists,
5414
5431
  stack_import_complete: Waiters::StackImportComplete,
5432
+ stack_rollback_complete: Waiters::StackRollbackComplete,
5415
5433
  stack_update_complete: Waiters::StackUpdateComplete,
5416
5434
  type_registration_complete: Waiters::TypeRegistrationComplete
5417
5435
  }
@@ -139,6 +139,7 @@ module Aws::CloudFormation
139
139
  InvalidChangeSetStatusException = Shapes::StructureShape.new(name: 'InvalidChangeSetStatusException')
140
140
  InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
141
141
  InvalidStateTransitionException = Shapes::StructureShape.new(name: 'InvalidStateTransitionException')
142
+ IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion')
142
143
  Key = Shapes::StringShape.new(name: 'Key')
143
144
  LastUpdatedTime = Shapes::TimestampShape.new(name: 'LastUpdatedTime')
144
145
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -663,6 +664,7 @@ module Aws::CloudFormation
663
664
  DescribeTypeOutput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type"))
664
665
  DescribeTypeOutput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
665
666
  DescribeTypeOutput.add_member(:default_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "DefaultVersionId"))
667
+ DescribeTypeOutput.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "IsDefaultVersion"))
666
668
  DescribeTypeOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
667
669
  DescribeTypeOutput.add_member(:schema, Shapes::ShapeRef.new(shape: TypeSchema, location_name: "Schema"))
668
670
  DescribeTypeOutput.add_member(:provisioning_type, Shapes::ShapeRef.new(shape: ProvisioningType, location_name: "ProvisioningType"))
@@ -1336,6 +1338,7 @@ module Aws::CloudFormation
1336
1338
  TypeVersionSummary.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type"))
1337
1339
  TypeVersionSummary.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName"))
1338
1340
  TypeVersionSummary.add_member(:version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "VersionId"))
1341
+ TypeVersionSummary.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "IsDefaultVersion"))
1339
1342
  TypeVersionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "Arn"))
1340
1343
  TypeVersionSummary.add_member(:time_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TimeCreated"))
1341
1344
  TypeVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
@@ -1554,6 +1557,11 @@ module Aws::CloudFormation
1554
1557
  o.http_request_uri = "/"
1555
1558
  o.input = Shapes::ShapeRef.new(shape: DescribeAccountLimitsInput)
1556
1559
  o.output = Shapes::ShapeRef.new(shape: DescribeAccountLimitsOutput)
1560
+ o[:pager] = Aws::Pager.new(
1561
+ tokens: {
1562
+ "next_token" => "next_token"
1563
+ }
1564
+ )
1557
1565
  end)
1558
1566
 
1559
1567
  api.add_operation(:describe_change_set, Seahorse::Model::Operation.new.tap do |o|
@@ -1756,6 +1764,11 @@ module Aws::CloudFormation
1756
1764
  o.http_request_uri = "/"
1757
1765
  o.input = Shapes::ShapeRef.new(shape: ListChangeSetsInput)
1758
1766
  o.output = Shapes::ShapeRef.new(shape: ListChangeSetsOutput)
1767
+ o[:pager] = Aws::Pager.new(
1768
+ tokens: {
1769
+ "next_token" => "next_token"
1770
+ }
1771
+ )
1759
1772
  end)
1760
1773
 
1761
1774
  api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o|
@@ -1791,6 +1804,12 @@ module Aws::CloudFormation
1791
1804
  o.input = Shapes::ShapeRef.new(shape: ListStackInstancesInput)
1792
1805
  o.output = Shapes::ShapeRef.new(shape: ListStackInstancesOutput)
1793
1806
  o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException)
1807
+ o[:pager] = Aws::Pager.new(
1808
+ limit_key: "max_results",
1809
+ tokens: {
1810
+ "next_token" => "next_token"
1811
+ }
1812
+ )
1794
1813
  end)
1795
1814
 
1796
1815
  api.add_operation(:list_stack_resources, Seahorse::Model::Operation.new.tap do |o|
@@ -1814,6 +1833,12 @@ module Aws::CloudFormation
1814
1833
  o.output = Shapes::ShapeRef.new(shape: ListStackSetOperationResultsOutput)
1815
1834
  o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException)
1816
1835
  o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException)
1836
+ o[:pager] = Aws::Pager.new(
1837
+ limit_key: "max_results",
1838
+ tokens: {
1839
+ "next_token" => "next_token"
1840
+ }
1841
+ )
1817
1842
  end)
1818
1843
 
1819
1844
  api.add_operation(:list_stack_set_operations, Seahorse::Model::Operation.new.tap do |o|
@@ -1823,6 +1848,12 @@ module Aws::CloudFormation
1823
1848
  o.input = Shapes::ShapeRef.new(shape: ListStackSetOperationsInput)
1824
1849
  o.output = Shapes::ShapeRef.new(shape: ListStackSetOperationsOutput)
1825
1850
  o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException)
1851
+ o[:pager] = Aws::Pager.new(
1852
+ limit_key: "max_results",
1853
+ tokens: {
1854
+ "next_token" => "next_token"
1855
+ }
1856
+ )
1826
1857
  end)
1827
1858
 
1828
1859
  api.add_operation(:list_stack_sets, Seahorse::Model::Operation.new.tap do |o|
@@ -1831,6 +1862,12 @@ module Aws::CloudFormation
1831
1862
  o.http_request_uri = "/"
1832
1863
  o.input = Shapes::ShapeRef.new(shape: ListStackSetsInput)
1833
1864
  o.output = Shapes::ShapeRef.new(shape: ListStackSetsOutput)
1865
+ o[:pager] = Aws::Pager.new(
1866
+ limit_key: "max_results",
1867
+ tokens: {
1868
+ "next_token" => "next_token"
1869
+ }
1870
+ )
1834
1871
  end)
1835
1872
 
1836
1873
  api.add_operation(:list_stacks, Seahorse::Model::Operation.new.tap do |o|
@@ -2584,6 +2584,10 @@ module Aws::CloudFormation
2584
2584
  # To set the default version of a type, use ` SetTypeDefaultVersion `.
2585
2585
  # @return [String]
2586
2586
  #
2587
+ # @!attribute [rw] is_default_version
2588
+ # Whether the specified type version is set as the default version.
2589
+ # @return [Boolean]
2590
+ #
2587
2591
  # @!attribute [rw] description
2588
2592
  # The description of the registered type.
2589
2593
  # @return [String]
@@ -2688,6 +2692,7 @@ module Aws::CloudFormation
2688
2692
  :type,
2689
2693
  :type_name,
2690
2694
  :default_version_id,
2695
+ :is_default_version,
2691
2696
  :description,
2692
2697
  :schema,
2693
2698
  :provisioning_type,
@@ -7047,6 +7052,10 @@ module Aws::CloudFormation
7047
7052
  # type version when it is registered.
7048
7053
  # @return [String]
7049
7054
  #
7055
+ # @!attribute [rw] is_default_version
7056
+ # Whether the specified type version is set as the default version.
7057
+ # @return [Boolean]
7058
+ #
7050
7059
  # @!attribute [rw] arn
7051
7060
  # The Amazon Resource Name (ARN) of the type version.
7052
7061
  # @return [String]
@@ -7065,6 +7074,7 @@ module Aws::CloudFormation
7065
7074
  :type,
7066
7075
  :type_name,
7067
7076
  :version_id,
7077
+ :is_default_version,
7068
7078
  :arn,
7069
7079
  :time_created,
7070
7080
  :description)
@@ -72,6 +72,7 @@ module Aws::CloudFormation
72
72
  # | stack_delete_complete | {Client#describe_stacks} | 30 | 120 |
73
73
  # | stack_exists | {Client#describe_stacks} | 5 | 20 |
74
74
  # | stack_import_complete | {Client#describe_stacks} | 30 | 120 |
75
+ # | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 |
75
76
  # | stack_update_complete | {Client#describe_stacks} | 30 | 120 |
76
77
  # | type_registration_complete | {Client#describe_type_registration} | 30 | 120 |
77
78
  #
@@ -397,6 +398,68 @@ module Aws::CloudFormation
397
398
 
398
399
  end
399
400
 
401
+ # Wait until stack status is UPDATE_ROLLBACK_COMPLETE.
402
+ class StackRollbackComplete
403
+
404
+ # @param [Hash] options
405
+ # @option options [required, Client] :client
406
+ # @option options [Integer] :max_attempts (120)
407
+ # @option options [Integer] :delay (30)
408
+ # @option options [Proc] :before_attempt
409
+ # @option options [Proc] :before_wait
410
+ def initialize(options)
411
+ @client = options.fetch(:client)
412
+ @waiter = Aws::Waiters::Waiter.new({
413
+ max_attempts: 120,
414
+ delay: 30,
415
+ poller: Aws::Waiters::Poller.new(
416
+ operation_name: :describe_stacks,
417
+ acceptors: [
418
+ {
419
+ "argument" => "stacks[].stack_status",
420
+ "expected" => "UPDATE_ROLLBACK_COMPLETE",
421
+ "matcher" => "pathAll",
422
+ "state" => "success"
423
+ },
424
+ {
425
+ "argument" => "stacks[].stack_status",
426
+ "expected" => "UPDATE_FAILED",
427
+ "matcher" => "pathAny",
428
+ "state" => "failure"
429
+ },
430
+ {
431
+ "argument" => "stacks[].stack_status",
432
+ "expected" => "UPDATE_ROLLBACK_FAILED",
433
+ "matcher" => "pathAny",
434
+ "state" => "failure"
435
+ },
436
+ {
437
+ "argument" => "stacks[].stack_status",
438
+ "expected" => "DELETE_FAILED",
439
+ "matcher" => "pathAny",
440
+ "state" => "failure"
441
+ },
442
+ {
443
+ "expected" => "ValidationError",
444
+ "matcher" => "error",
445
+ "state" => "failure"
446
+ }
447
+ ]
448
+ )
449
+ }.merge(options))
450
+ end
451
+
452
+ # @option (see Client#describe_stacks)
453
+ # @return (see Client#describe_stacks)
454
+ def wait(params = {})
455
+ @waiter.wait(client: @client, params: params)
456
+ end
457
+
458
+ # @api private
459
+ attr_reader :waiter
460
+
461
+ end
462
+
400
463
  # Wait until stack status is UPDATE_COMPLETE.
401
464
  class StackUpdateComplete
402
465
 
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.34.0
4
+ version: 1.35.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: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core