aws-sdk-servicecatalog 1.26.0 → 1.27.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
  SHA1:
3
- metadata.gz: 226bdfce13ec1ec6746d0c01cd77ea6991c7a0dd
4
- data.tar.gz: 8c3edaeabc816ec4d1c5160cbcf6314f1ac8bb50
3
+ metadata.gz: 8d37190bc3f8352a2ef6541fe4225d09fa3d5d1e
4
+ data.tar.gz: ad433ddeab5d68888b4a175d169c173bb2781389
5
5
  SHA512:
6
- metadata.gz: 85b657ac3e6826e716d094efff8a17c4bf20eb837f6e4eea2d561e380bf8b8ec7d8f8f18e8f55ed8dd132894c0aeb34b085c09ab79ab7319d71cd0c9589de434
7
- data.tar.gz: 609fda3b8b33698428ef646ec66d80a96cec62e4ea28a97429f254214deb3e8c6f4c1f0fe501924e587798f9377be2172a3b1eca49524c753ff8ade160374525
6
+ metadata.gz: d829322cfffd5847609c4b70564e7abe8ff3317bbccc1a77857d1cdabf0594f96d1f0d7a71d2ba57eb305425e6a59bc6e40082c331e1f95c78013ceb3bca06e2
7
+ data.tar.gz: e2b5c58e10fbcf2a49bbe59e361ae8b31de3ad1888b6cc091ef2a47f23c11ff84d44238bcf43e63f2669833c9009c6011b277e15bce8f36b4c770aca795ac179
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-servicecatalog/customizations'
42
42
  # @service
43
43
  module Aws::ServiceCatalog
44
44
 
45
- GEM_VERSION = '1.26.0'
45
+ GEM_VERSION = '1.27.0'
46
46
 
47
47
  end
@@ -3710,6 +3710,61 @@ module Aws::ServiceCatalog
3710
3710
  req.send_request(options)
3711
3711
  end
3712
3712
 
3713
+ # Returns summary information about stack instances that are associated
3714
+ # with the specified `CFN_STACKSET` type provisioned product. You can
3715
+ # filter for stack instances that are associated with a specific AWS
3716
+ # account name or region.
3717
+ #
3718
+ # @option params [String] :accept_language
3719
+ # The language code.
3720
+ #
3721
+ # * `en` - English (default)
3722
+ #
3723
+ # * `jp` - Japanese
3724
+ #
3725
+ # * `zh` - Chinese
3726
+ #
3727
+ # @option params [required, String] :provisioned_product_id
3728
+ # The identifier of the provisioned product.
3729
+ #
3730
+ # @option params [String] :page_token
3731
+ # The page token for the next set of results. To retrieve the first set
3732
+ # of results, use null.
3733
+ #
3734
+ # @option params [Integer] :page_size
3735
+ # The maximum number of items to return with this call.
3736
+ #
3737
+ # @return [Types::ListStackInstancesForProvisionedProductOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3738
+ #
3739
+ # * {Types::ListStackInstancesForProvisionedProductOutput#stack_instances #stack_instances} => Array<Types::StackInstance>
3740
+ # * {Types::ListStackInstancesForProvisionedProductOutput#next_page_token #next_page_token} => String
3741
+ #
3742
+ # @example Request syntax with placeholder values
3743
+ #
3744
+ # resp = client.list_stack_instances_for_provisioned_product({
3745
+ # accept_language: "AcceptLanguage",
3746
+ # provisioned_product_id: "Id", # required
3747
+ # page_token: "PageToken",
3748
+ # page_size: 1,
3749
+ # })
3750
+ #
3751
+ # @example Response structure
3752
+ #
3753
+ # resp.stack_instances #=> Array
3754
+ # resp.stack_instances[0].account #=> String
3755
+ # resp.stack_instances[0].region #=> String
3756
+ # resp.stack_instances[0].stack_instance_status #=> String, one of "CURRENT", "OUTDATED", "INOPERABLE"
3757
+ # resp.next_page_token #=> String
3758
+ #
3759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListStackInstancesForProvisionedProduct AWS API Documentation
3760
+ #
3761
+ # @overload list_stack_instances_for_provisioned_product(params = {})
3762
+ # @param [Hash] params ({})
3763
+ def list_stack_instances_for_provisioned_product(params = {}, options = {})
3764
+ req = build_request(:list_stack_instances_for_provisioned_product, params)
3765
+ req.send_request(options)
3766
+ end
3767
+
3713
3768
  # Lists the specified TagOptions or all TagOptions.
3714
3769
  #
3715
3770
  # @option params [Types::ListTagOptionsFilters] :filters
@@ -4985,7 +5040,7 @@ module Aws::ServiceCatalog
4985
5040
  params: params,
4986
5041
  config: config)
4987
5042
  context[:gem_name] = 'aws-sdk-servicecatalog'
4988
- context[:gem_version] = '1.26.0'
5043
+ context[:gem_version] = '1.27.0'
4989
5044
  Seahorse::Client::Request.new(handlers, context)
4990
5045
  end
4991
5046
 
@@ -196,6 +196,8 @@ module Aws::ServiceCatalog
196
196
  ListServiceActionsForProvisioningArtifactOutput = Shapes::StructureShape.new(name: 'ListServiceActionsForProvisioningArtifactOutput')
197
197
  ListServiceActionsInput = Shapes::StructureShape.new(name: 'ListServiceActionsInput')
198
198
  ListServiceActionsOutput = Shapes::StructureShape.new(name: 'ListServiceActionsOutput')
199
+ ListStackInstancesForProvisionedProductInput = Shapes::StructureShape.new(name: 'ListStackInstancesForProvisionedProductInput')
200
+ ListStackInstancesForProvisionedProductOutput = Shapes::StructureShape.new(name: 'ListStackInstancesForProvisionedProductOutput')
199
201
  ListTagOptionsFilters = Shapes::StructureShape.new(name: 'ListTagOptionsFilters')
200
202
  ListTagOptionsInput = Shapes::StructureShape.new(name: 'ListTagOptionsInput')
201
203
  ListTagOptionsOutput = Shapes::StructureShape.new(name: 'ListTagOptionsOutput')
@@ -371,6 +373,9 @@ module Aws::ServiceCatalog
371
373
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
372
374
  SourceProvisioningArtifactProperties = Shapes::ListShape.new(name: 'SourceProvisioningArtifactProperties')
373
375
  SourceProvisioningArtifactPropertiesMap = Shapes::MapShape.new(name: 'SourceProvisioningArtifactPropertiesMap')
376
+ StackInstance = Shapes::StructureShape.new(name: 'StackInstance')
377
+ StackInstanceStatus = Shapes::StringShape.new(name: 'StackInstanceStatus')
378
+ StackInstances = Shapes::ListShape.new(name: 'StackInstances')
374
379
  StackSetAccounts = Shapes::ListShape.new(name: 'StackSetAccounts')
375
380
  StackSetFailureToleranceCount = Shapes::IntegerShape.new(name: 'StackSetFailureToleranceCount')
376
381
  StackSetFailureTolerancePercentage = Shapes::IntegerShape.new(name: 'StackSetFailureTolerancePercentage')
@@ -1067,6 +1072,16 @@ module Aws::ServiceCatalog
1067
1072
  ListServiceActionsOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
1068
1073
  ListServiceActionsOutput.struct_class = Types::ListServiceActionsOutput
1069
1074
 
1075
+ ListStackInstancesForProvisionedProductInput.add_member(:accept_language, Shapes::ShapeRef.new(shape: AcceptLanguage, location_name: "AcceptLanguage"))
1076
+ ListStackInstancesForProvisionedProductInput.add_member(:provisioned_product_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ProvisionedProductId"))
1077
+ ListStackInstancesForProvisionedProductInput.add_member(:page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "PageToken"))
1078
+ ListStackInstancesForProvisionedProductInput.add_member(:page_size, Shapes::ShapeRef.new(shape: PageSize, location_name: "PageSize"))
1079
+ ListStackInstancesForProvisionedProductInput.struct_class = Types::ListStackInstancesForProvisionedProductInput
1080
+
1081
+ ListStackInstancesForProvisionedProductOutput.add_member(:stack_instances, Shapes::ShapeRef.new(shape: StackInstances, location_name: "StackInstances"))
1082
+ ListStackInstancesForProvisionedProductOutput.add_member(:next_page_token, Shapes::ShapeRef.new(shape: PageToken, location_name: "NextPageToken"))
1083
+ ListStackInstancesForProvisionedProductOutput.struct_class = Types::ListStackInstancesForProvisionedProductOutput
1084
+
1070
1085
  ListTagOptionsFilters.add_member(:key, Shapes::ShapeRef.new(shape: TagOptionKey, location_name: "Key"))
1071
1086
  ListTagOptionsFilters.add_member(:value, Shapes::ShapeRef.new(shape: TagOptionValue, location_name: "Value"))
1072
1087
  ListTagOptionsFilters.add_member(:active, Shapes::ShapeRef.new(shape: TagOptionActive, location_name: "Active"))
@@ -1468,6 +1483,13 @@ module Aws::ServiceCatalog
1468
1483
  SourceProvisioningArtifactPropertiesMap.key = Shapes::ShapeRef.new(shape: ProvisioningArtifactPropertyName)
1469
1484
  SourceProvisioningArtifactPropertiesMap.value = Shapes::ShapeRef.new(shape: ProvisioningArtifactPropertyValue)
1470
1485
 
1486
+ StackInstance.add_member(:account, Shapes::ShapeRef.new(shape: AccountId, location_name: "Account"))
1487
+ StackInstance.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
1488
+ StackInstance.add_member(:stack_instance_status, Shapes::ShapeRef.new(shape: StackInstanceStatus, location_name: "StackInstanceStatus"))
1489
+ StackInstance.struct_class = Types::StackInstance
1490
+
1491
+ StackInstances.member = Shapes::ShapeRef.new(shape: StackInstance)
1492
+
1471
1493
  StackSetAccounts.member = Shapes::ShapeRef.new(shape: AccountId)
1472
1494
 
1473
1495
  StackSetRegions.member = Shapes::ShapeRef.new(shape: Region)
@@ -2387,6 +2409,16 @@ module Aws::ServiceCatalog
2387
2409
  )
2388
2410
  end)
2389
2411
 
2412
+ api.add_operation(:list_stack_instances_for_provisioned_product, Seahorse::Model::Operation.new.tap do |o|
2413
+ o.name = "ListStackInstancesForProvisionedProduct"
2414
+ o.http_method = "POST"
2415
+ o.http_request_uri = "/"
2416
+ o.input = Shapes::ShapeRef.new(shape: ListStackInstancesForProvisionedProductInput)
2417
+ o.output = Shapes::ShapeRef.new(shape: ListStackInstancesForProvisionedProductOutput)
2418
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParametersException)
2419
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2420
+ end)
2421
+
2390
2422
  api.add_operation(:list_tag_options, Seahorse::Model::Operation.new.tap do |o|
2391
2423
  o.name = "ListTagOptions"
2392
2424
  o.http_method = "POST"
@@ -3797,6 +3797,66 @@ module Aws::ServiceCatalog
3797
3797
  include Aws::Structure
3798
3798
  end
3799
3799
 
3800
+ # @note When making an API call, you may pass ListStackInstancesForProvisionedProductInput
3801
+ # data as a hash:
3802
+ #
3803
+ # {
3804
+ # accept_language: "AcceptLanguage",
3805
+ # provisioned_product_id: "Id", # required
3806
+ # page_token: "PageToken",
3807
+ # page_size: 1,
3808
+ # }
3809
+ #
3810
+ # @!attribute [rw] accept_language
3811
+ # The language code.
3812
+ #
3813
+ # * `en` - English (default)
3814
+ #
3815
+ # * `jp` - Japanese
3816
+ #
3817
+ # * `zh` - Chinese
3818
+ # @return [String]
3819
+ #
3820
+ # @!attribute [rw] provisioned_product_id
3821
+ # The identifier of the provisioned product.
3822
+ # @return [String]
3823
+ #
3824
+ # @!attribute [rw] page_token
3825
+ # The page token for the next set of results. To retrieve the first
3826
+ # set of results, use null.
3827
+ # @return [String]
3828
+ #
3829
+ # @!attribute [rw] page_size
3830
+ # The maximum number of items to return with this call.
3831
+ # @return [Integer]
3832
+ #
3833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListStackInstancesForProvisionedProductInput AWS API Documentation
3834
+ #
3835
+ class ListStackInstancesForProvisionedProductInput < Struct.new(
3836
+ :accept_language,
3837
+ :provisioned_product_id,
3838
+ :page_token,
3839
+ :page_size)
3840
+ include Aws::Structure
3841
+ end
3842
+
3843
+ # @!attribute [rw] stack_instances
3844
+ # List of stack instances.
3845
+ # @return [Array<Types::StackInstance>]
3846
+ #
3847
+ # @!attribute [rw] next_page_token
3848
+ # The page token to use to retrieve the next set of results. If there
3849
+ # are no additional results, this value is null.
3850
+ # @return [String]
3851
+ #
3852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListStackInstancesForProvisionedProductOutput AWS API Documentation
3853
+ #
3854
+ class ListStackInstancesForProvisionedProductOutput < Struct.new(
3855
+ :stack_instances,
3856
+ :next_page_token)
3857
+ include Aws::Structure
3858
+ end
3859
+
3800
3860
  # Filters to use when listing TagOptions.
3801
3861
  #
3802
3862
  # @note When making an API call, you may pass ListTagOptionsFilters
@@ -5758,6 +5818,54 @@ module Aws::ServiceCatalog
5758
5818
  include Aws::Structure
5759
5819
  end
5760
5820
 
5821
+ # An AWS CloudFormation stack, in a specific account and region, that's
5822
+ # part of a stack set operation. A stack instance is a reference to an
5823
+ # attempted or actual stack in a given account within a given region. A
5824
+ # stack instance can exist without a stack—for example, if the stack
5825
+ # couldn't be created for some reason. A stack instance is associated
5826
+ # with only one stack set. Each stack instance contains the ID of its
5827
+ # associated stack set, as well as the ID of the actual stack and the
5828
+ # stack status.
5829
+ #
5830
+ # @!attribute [rw] account
5831
+ # The name of the AWS account that the stack instance is associated
5832
+ # with.
5833
+ # @return [String]
5834
+ #
5835
+ # @!attribute [rw] region
5836
+ # The name of the AWS region that the stack instance is associated
5837
+ # with.
5838
+ # @return [String]
5839
+ #
5840
+ # @!attribute [rw] stack_instance_status
5841
+ # The status of the stack instance, in terms of its synchronization
5842
+ # with its associated stack set.
5843
+ #
5844
+ # * `INOPERABLE`\: A `DeleteStackInstances` operation has failed and
5845
+ # left the stack in an unstable state. Stacks in this state are
5846
+ # excluded from further `UpdateStackSet` operations. You might need
5847
+ # to perform a `DeleteStackInstances` operation, with `RetainStacks`
5848
+ # set to true, to delete the stack instance, and then delete the
5849
+ # stack manually.
5850
+ #
5851
+ # * `OUTDATED`\: The stack isn't currently up to date with the stack
5852
+ # set because either the associated stack failed during a
5853
+ # `CreateStackSet` or `UpdateStackSet` operation, or the stack was
5854
+ # part of a `CreateStackSet` or `UpdateStackSet` operation that
5855
+ # failed or was stopped before the stack was created or updated.
5856
+ #
5857
+ # * `CURRENT`\: The stack is currently up to date with the stack set.
5858
+ # @return [String]
5859
+ #
5860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/StackInstance AWS API Documentation
5861
+ #
5862
+ class StackInstance < Struct.new(
5863
+ :account,
5864
+ :region,
5865
+ :stack_instance_status)
5866
+ include Aws::Structure
5867
+ end
5868
+
5761
5869
  # Information about a tag. A tag is a key-value pair. Tags are
5762
5870
  # propagated to the resources created when provisioning a product.
5763
5871
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-servicecatalog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.0
4
+ version: 1.27.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: 2019-05-22 00:00:00.000000000 Z
11
+ date: 2019-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core