aws-sdk-cloudformation-1.143.0/0000755000004100000410000000000015077233060016307 5ustar www-datawww-dataaws-sdk-cloudformation-1.143.0/aws-sdk-cloudformation.gemspec0000644000004100000410000000504715077233060024256 0ustar www-datawww-data######################################################### # This file has been automatically generated by gem2tgz # ######################################################### # -*- encoding: utf-8 -*- # stub: aws-sdk-cloudformation 1.143.0 ruby lib Gem::Specification.new do |s| s.name = "aws-sdk-cloudformation".freeze s.version = "1.143.0".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.metadata = { "changelog_uri" => "https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudformation/CHANGELOG.md", "source_code_uri" => "https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudformation" } if s.respond_to? :metadata= s.require_paths = ["lib".freeze] s.authors = ["Amazon Web Services".freeze] s.date = "1980-01-02" s.description = "Official AWS Ruby gem for AWS CloudFormation. This gem is part of the AWS SDK for Ruby.".freeze s.email = ["aws-dr-rubygems@amazon.com".freeze] s.files = ["CHANGELOG.md".freeze, "LICENSE.txt".freeze, "VERSION".freeze, "lib/aws-sdk-cloudformation.rb".freeze, "lib/aws-sdk-cloudformation/client.rb".freeze, "lib/aws-sdk-cloudformation/client_api.rb".freeze, "lib/aws-sdk-cloudformation/customizations.rb".freeze, "lib/aws-sdk-cloudformation/endpoint_parameters.rb".freeze, "lib/aws-sdk-cloudformation/endpoint_provider.rb".freeze, "lib/aws-sdk-cloudformation/endpoints.rb".freeze, "lib/aws-sdk-cloudformation/errors.rb".freeze, "lib/aws-sdk-cloudformation/event.rb".freeze, "lib/aws-sdk-cloudformation/plugins/endpoints.rb".freeze, "lib/aws-sdk-cloudformation/resource.rb".freeze, "lib/aws-sdk-cloudformation/stack.rb".freeze, "lib/aws-sdk-cloudformation/stack_resource.rb".freeze, "lib/aws-sdk-cloudformation/stack_resource_summary.rb".freeze, "lib/aws-sdk-cloudformation/types.rb".freeze, "lib/aws-sdk-cloudformation/waiters.rb".freeze, "sig/client.rbs".freeze, "sig/errors.rbs".freeze, "sig/event.rbs".freeze, "sig/resource.rbs".freeze, "sig/stack.rbs".freeze, "sig/stack_resource.rbs".freeze, "sig/stack_resource_summary.rbs".freeze, "sig/types.rbs".freeze, "sig/waiters.rbs".freeze] s.homepage = "https://github.com/aws/aws-sdk-ruby".freeze s.licenses = ["Apache-2.0".freeze] s.required_ruby_version = Gem::Requirement.new(">= 2.7".freeze) s.rubygems_version = "3.6.7".freeze s.summary = "AWS SDK for Ruby - AWS CloudFormation".freeze s.specification_version = 4 s.add_runtime_dependency(%q.freeze, ["~> 3".freeze, ">= 3.234.0".freeze]) s.add_runtime_dependency(%q.freeze, ["~> 1.5".freeze]) end aws-sdk-cloudformation-1.143.0/lib/0000755000004100000410000000000015077233060017055 5ustar www-datawww-dataaws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/0000755000004100000410000000000015077233060023451 5ustar www-datawww-dataaws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/stack.rb0000644000004100000410000014123015077233060025104 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation class Stack extend Aws::Deprecations # @overload def initialize(name, options = {}) # @param [String] name # @option options [Client] :client # @overload def initialize(options = {}) # @option options [required, String] :name # @option options [Client] :client def initialize(*args) options = Hash === args.last ? args.pop.dup : {} @name = extract_name(args, options) @data = options.delete(:data) @client = options.delete(:client) || Client.new(options) @waiter_block_warned = false end # @!group Read-Only Attributes # @return [String] def name @name end alias :stack_name :name # Unique identifier of the stack. # @return [String] def stack_id data[:stack_id] end # The unique ID of the change set. # @return [String] def change_set_id data[:change_set_id] end # A user-defined description associated with the stack. # @return [String] def description data[:description] end # A list of `Parameter` structures. # @return [Array] def parameters data[:parameters] end # The time at which the stack was created. # @return [Time] def creation_time data[:creation_time] end # The time the stack was deleted. # @return [Time] def deletion_time data[:deletion_time] end # The time the stack was last updated. This field will only be returned # if the stack has been updated at least once. # @return [Time] def last_updated_time data[:last_updated_time] end # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @return [Types::RollbackConfiguration] def rollback_configuration data[:rollback_configuration] end # Current status of the stack. # @return [String] def stack_status data[:stack_status] end # Success/failure message associated with the stack status. # @return [String] def stack_status_reason data[:stack_status_reason] end # Boolean to enable or disable rollback on stack creation failures: # # * `true`: disable rollback. # # * `false`: enable rollback. # @return [Boolean] def disable_rollback data[:disable_rollback] end # Amazon SNS topic Amazon Resource Names (ARNs) to which stack related # events are published. # @return [Array] def notification_arns data[:notification_arns] end # The amount of time within which stack creation should complete. # @return [Integer] def timeout_in_minutes data[:timeout_in_minutes] end # The capabilities allowed in the stack. # @return [Array] def capabilities data[:capabilities] end # A list of output structures. # @return [Array] def outputs data[:outputs] end # The Amazon Resource Name (ARN) of an IAM role that's associated with # the stack. During a stack operation, CloudFormation uses this role's # credentials to make calls on your behalf. # @return [String] def role_arn data[:role_arn] end # A list of `Tag`s that specify information about the stack. # @return [Array] def tags data[:tags] end # Whether termination protection is enabled for the stack. # # For [nested stacks][1], termination protection is set on the root # stack and can't be changed directly on the nested stack. For more # information, see [Protect a CloudFormation stack from being # deleted][2] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html # @return [Boolean] def enable_termination_protection data[:enable_termination_protection] end # For nested stacks, the stack ID of the direct parent of this stack. # For the first level of nested stacks, the root stack is also the # parent stack. # # For more information, see [Nested stacks][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @return [String] def parent_id data[:parent_id] end # For nested stacks, the stack ID of the top-level stack to which the # nested stack ultimately belongs. # # For more information, see [Nested stacks][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @return [String] def root_id data[:root_id] end # Information about whether a stack's actual configuration differs, or # has *drifted*, from its expected configuration, as defined in the # stack template and any values specified as template parameters. For # more information, see [Detect unmanaged configuration changes to # stacks and resources with drift detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # @return [Types::StackDriftInformation] def drift_information data[:drift_information] end # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Boolean] def retain_except_on_create data[:retain_except_on_create] end # Specifies the deletion mode for the stack. Possible values are: # # * `STANDARD` - Use the standard behavior. Specifying this value is the # same as not specifying this parameter. # # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a # `DELETE_FAILED` state due to resource deletion failure. # @return [String] def deletion_mode data[:deletion_mode] end # The detailed status of the resource or stack. If # `CONFIGURATION_COMPLETE` is present, the resource or resource # configuration phase has completed and the stabilization of the # resources is in progress. The StackSets `CONFIGURATION_COMPLETE` when # all of the resources in the stack have reached that event. For more # information, see [Understand CloudFormation stack creation events][1] # in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html # @return [String] def detailed_status data[:detailed_status] end # @!endgroup # @return [Client] def client @client end # Loads, or reloads {#data} for the current {Stack}. # Returns `self` making it possible to chain methods. # # stack.reload.data # # @return [self] def load resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.describe_stacks(stack_name: @name) end @data = resp.stacks[0] self end alias :reload :load # @return [Types::Stack] # Returns the data for this {Stack}. Calls # {Client#describe_stacks} if {#data_loaded?} is `false`. def data load unless @data @data end # @return [Boolean] # Returns `true` if this resource is loaded. Accessing attributes or # {#data} on an unloaded resource will trigger a call to {#load}. def data_loaded? !!@data end # @param [Hash] options ({}) # @return [Boolean] # Returns `true` if the Stack exists. def exists?(options = {}) begin wait_until_exists(options.merge(max_attempts: 1)) true rescue Aws::Waiters::Errors::UnexpectedError => e raise e.error rescue Aws::Waiters::Errors::WaiterFailed false end end # @param [Hash] options ({}) # @option options [Integer] :max_attempts (20) # @option options [Float] :delay (5) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait # @return [Stack] def wait_until_exists(options = {}, &block) options, params = separate_params_and_options(options) waiter = Waiters::StackExists.new(options) yield_waiter_and_warn(waiter, &block) if block_given? Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do waiter.wait(params.merge(stack_name: @name)) end Stack.new({ name: @name, client: @client }) end # @deprecated Use [Aws::CloudFormation::Client] #wait_until instead # # Waiter polls an API operation until a resource enters a desired # state. # # @note The waiting operation is performed on a copy. The original resource # remains unchanged. # # ## Basic Usage # # Waiter will polls until it is successful, it fails by # entering a terminal state, or until a maximum number of attempts # are made. # # # polls in a loop until condition is true # resource.wait_until(options) {|resource| condition} # # ## Example # # instance.wait_until(max_attempts:10, delay:5) do |instance| # instance.state.name == 'running' # end # # ## Configuration # # You can configure the maximum number of polling attempts, and the # delay (in seconds) between each polling attempt. The waiting condition is # set by passing a block to {#wait_until}: # # # poll for ~25 seconds # resource.wait_until(max_attempts:5,delay:5) {|resource|...} # # ## Callbacks # # You can be notified before each polling attempt and before each # delay. If you throw `:success` or `:failure` from these callbacks, # it will terminate the waiter. # # started_at = Time.now # # poll for 1 hour, instead of a number of attempts # proc = Proc.new do |attempts, response| # throw :failure if Time.now - started_at > 3600 # end # # # disable max attempts # instance.wait_until(before_wait:proc, max_attempts:nil) {...} # # ## Handling Errors # # When a waiter is successful, it returns the Resource. When a waiter # fails, it raises an error. # # begin # resource.wait_until(...) # rescue Aws::Waiters::Errors::WaiterFailed # # resource did not enter the desired state in time # end # # @yieldparam [Resource] resource to be used in the waiting condition. # # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter # terminates because the waiter has entered a state that it will not # transition out of, preventing success. # # yet successful. # # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is # encountered while polling for a resource that is not expected. # # @raise [NotImplementedError] Raised when the resource does not # # @option options [Integer] :max_attempts (10) Maximum number of # attempts # @option options [Integer] :delay (10) Delay between each # attempt in seconds # @option options [Proc] :before_attempt (nil) Callback # invoked before each attempt # @option options [Proc] :before_wait (nil) Callback # invoked before each wait # @return [Resource] if the waiter was successful def wait_until(options = {}, &block) self_copy = self.dup attempts = 0 options[:max_attempts] = 10 unless options.key?(:max_attempts) options[:delay] ||= 10 options[:poller] = Proc.new do attempts += 1 if block.call(self_copy) [:success, self_copy] else self_copy.reload unless attempts == options[:max_attempts] :retry end end Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do Aws::Waiters::Waiter.new(options).wait({}) end end # @!group Actions # @example Request syntax with placeholder values # # stack.cancel_update({ # client_request_token: "ClientRequestToken", # }) # @param [Hash] options ({}) # @option options [String] :client_request_token # A unique identifier for this `CancelUpdateStack` request. Specify this # token if you plan to retry requests so that CloudFormation knows that # you're not attempting to cancel an update on a stack with the same # name. You might retry `CancelUpdateStack` requests to ensure that # CloudFormation successfully received them. # @return [EmptyStructure] def cancel_update(options = {}) options = options.merge(stack_name: @name) resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.cancel_update_stack(options) end resp.data end # @example Request syntax with placeholder values # # stack.create({ # template_body: "TemplateBody", # template_url: "TemplateURL", # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # disable_rollback: false, # rollback_configuration: { # rollback_triggers: [ # { # arn: "Arn", # required # type: "Type", # required # }, # ], # monitoring_time_in_minutes: 1, # }, # timeout_in_minutes: 1, # notification_arns: ["NotificationARN"], # capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND # resource_types: ["ResourceType"], # role_arn: "RoleARN", # on_failure: "DO_NOTHING", # accepts DO_NOTHING, ROLLBACK, DELETE # stack_policy_body: "StackPolicyBody", # stack_policy_url: "StackPolicyURL", # tags: [ # { # key: "TagKey", # required # value: "TagValue", # required # }, # ], # client_request_token: "ClientRequestToken", # enable_termination_protection: false, # retain_except_on_create: false, # }) # @param [Hash] options ({}) # @option options [String] :template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify either `TemplateBody` or `TemplateURL`, # but not both. # @option options [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template (max size: 1 MB) that's located in an Amazon S3 bucket # or a Systems Manager document. The location for an Amazon S3 bucket # must start with `https://`. URLs from S3 static websites are not # supported. # # Conditional: You must specify either the `TemplateBody` or the # `TemplateURL` parameter, but not both. # @option options [Array] :parameters # A list of `Parameter` structures that specify input parameters for the # stack. For more information, see the [Parameter][1] data type. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html # @option options [Boolean] :disable_rollback # Set to `true` to disable rollback of the stack if stack creation # failed. You can specify either `DisableRollback` or `OnFailure`, but # not both. # # Default: `false` # @option options [Types::RollbackConfiguration] :rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @option options [Integer] :timeout_in_minutes # The amount of time that can pass before the stack status becomes # `CREATE_FAILED`; if `DisableRollback` is not set or is set to `false`, # the stack will be rolled back. # @option options [Array] :notification_arns # The Amazon SNS topic ARNs to publish stack related events. You can # find your Amazon SNS topic ARNs using the Amazon SNS console or your # Command Line Interface (CLI). # @option options [Array] :capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation to # create the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account; for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, CloudFormation # returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we recommend that # you review all permissions associated with them and edit their # permissions if necessary. # # * [AWS::IAM::AccessKey][1] # # * [AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [AWS::IAM::Policy][5] # # * [AWS::IAM::Role][6] # # * [AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set from # the processed template, so that they can review the changes # resulting from the macros before actually creating the stack. If # your stack template contains one or more macros, and you choose to # create a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # If you want to create a stack from a stack template that contains # macros *and* nested stacks, you must create the stack directly from # the template using this capability. # # You should only create stacks directly from a stack template that # contains macros if you know what processing the macro performs. # # Each macro relies on an underlying Lambda service function for # processing stack templates. Be aware that the Lambda function owner # can update the function operation without CloudFormation being # notified. # # For more information, see [Perform custom processing on # CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # @option options [Array] :resource_types # The template resource types that you have permissions to work with for # this create stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`, # or `Custom::MyCustomInstance`. Use the following syntax to describe # template resource types: `AWS::*` (for all Amazon Web Services # resources), `Custom::*` (for all custom resources), # `Custom::logical_ID ` (for a specific custom resource), # `AWS::service_name::*` (for all resources of a particular Amazon Web # Services service), and `AWS::service_name::resource_logical_ID ` (for # a specific Amazon Web Services resource). # # If the list of resource types doesn't include a resource that you're # creating, the stack creation fails. By default, CloudFormation grants # permissions to all resource types. IAM uses this parameter for # CloudFormation-specific condition keys in IAM policies. For more # information, see [Control access with Identity and Access # Management][1]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # @option options [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to create the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that users # have permission to operate on the stack, CloudFormation uses this role # even if the users don't have permission to pass it. Ensure that the # role grants least privilege. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # @option options [String] :on_failure # Determines what action will be taken if stack creation fails. This # must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify # either `OnFailure` or `DisableRollback`, but not both. # # Although the default setting is `ROLLBACK`, there is one exception. # This exception occurs when a StackSet attempts to deploy a stack # instance and the stack instance fails to create successfully. In this # case, the `CreateStack` call overrides the default setting and sets # the value of `OnFailure` to `DELETE`. # # # # Default: `ROLLBACK` # @option options [String] :stack_policy_body # Structure that contains the stack policy body. For more information, # see [Prevent updates to stack resources][1] in the *CloudFormation # User Guide*. You can specify either the `StackPolicyBody` or the # `StackPolicyURL` parameter, but not both. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html # @option options [String] :stack_policy_url # Location of a file that contains the stack policy. The URL must point # to a policy (maximum size: 16 KB) located in an S3 bucket in the same # Region as the stack. The location for an Amazon S3 bucket must start # with `https://`. URLs from S3 static websites are not supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # @option options [Array] :tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to the resources created in the stack. A maximum # number of 50 tags can be specified. # @option options [String] :client_request_token # A unique identifier for this `CreateStack` request. Specify this token # if you plan to retry requests so that CloudFormation knows that # you're not attempting to create a stack with the same name. You might # retry `CreateStack` requests to ensure that CloudFormation # successfully received them. # # All events initiated by a given stack operation are assigned the same # client request token, which you can use to track operations. For # example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation will # have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @option options [Boolean] :enable_termination_protection # Whether to enable termination protection on the specified stack. If a # user attempts to delete a stack with termination protection enabled, # the operation fails and the stack remains unchanged. For more # information, see [Protect CloudFormation stacks from being deleted][1] # in the *CloudFormation User Guide*. Termination protection is # deactivated on stacks by default. # # For [nested stacks][2], termination protection is set on the root # stack and can't be changed directly on the nested stack. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @option options [Boolean] :retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Types::CreateStackOutput] def create(options = {}) options = options.merge(stack_name: @name) resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.create_stack(options) end resp.data end # @example Request syntax with placeholder values # # stack.delete({ # retain_resources: ["LogicalResourceId"], # role_arn: "RoleARN", # client_request_token: "ClientRequestToken", # deletion_mode: "STANDARD", # accepts STANDARD, FORCE_DELETE_STACK # }) # @param [Hash] options ({}) # @option options [Array] :retain_resources # For stacks in the `DELETE_FAILED` state, a list of resource logical # IDs that are associated with the resources you want to retain. During # deletion, CloudFormation deletes the stack but doesn't delete the # retained resources. # # Retaining resources is useful when you can't delete a resource, such # as a non-empty S3 bucket, but you want to delete the stack. # @option options [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to delete the stack. CloudFormation uses the role's # credentials to make calls on your behalf. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # @option options [String] :client_request_token # A unique identifier for this `DeleteStack` request. Specify this token # if you plan to retry requests so that CloudFormation knows that # you're not attempting to delete a stack with the same name. You might # retry `DeleteStack` requests to ensure that CloudFormation # successfully received them. # # All events initiated by a given stack operation are assigned the same # client request token, which you can use to track operations. For # example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation will # have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @option options [String] :deletion_mode # Specifies the deletion mode for the stack. Possible values are: # # * `STANDARD` - Use the standard behavior. Specifying this value is the # same as not specifying this parameter. # # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a # `DELETE_FAILED` state due to resource deletion failure. # @return [EmptyStructure] def delete(options = {}) options = options.merge(stack_name: @name) resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.delete_stack(options) end resp.data end # @example Request syntax with placeholder values # # stack.update({ # template_body: "TemplateBody", # template_url: "TemplateURL", # use_previous_template: false, # stack_policy_during_update_body: "StackPolicyDuringUpdateBody", # stack_policy_during_update_url: "StackPolicyDuringUpdateURL", # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND # resource_types: ["ResourceType"], # role_arn: "RoleARN", # rollback_configuration: { # rollback_triggers: [ # { # arn: "Arn", # required # type: "Type", # required # }, # ], # monitoring_time_in_minutes: 1, # }, # stack_policy_body: "StackPolicyBody", # stack_policy_url: "StackPolicyURL", # notification_arns: ["NotificationARN"], # tags: [ # { # key: "TagKey", # required # value: "TagValue", # required # }, # ], # disable_rollback: false, # client_request_token: "ClientRequestToken", # retain_except_on_create: false, # }) # @param [Hash] options ({}) # @option options [String] :template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # @option options [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template that's located in an Amazon S3 bucket or a Systems # Manager document. The location for an Amazon S3 bucket must start with # `https://`. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # @option options [Boolean] :use_previous_template # Reuse the existing template that is associated with the stack that you # are updating. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # @option options [String] :stack_policy_during_update_body # Structure that contains the temporary overriding stack policy body. # You can specify either the `StackPolicyDuringUpdateBody` or the # `StackPolicyDuringUpdateURL` parameter, but not both. # # If you want to update protected resources, specify a temporary # overriding stack policy during this update. If you don't specify a # stack policy, the current policy that is associated with the stack # will be used. # @option options [String] :stack_policy_during_update_url # Location of a file that contains the temporary overriding stack # policy. The URL must point to a policy (max size: 16KB) located in an # S3 bucket in the same Region as the stack. The location for an Amazon # S3 bucket must start with `https://`. URLs from S3 static websites are # not supported. # # You can specify either the `StackPolicyDuringUpdateBody` or the # `StackPolicyDuringUpdateURL` parameter, but not both. # # If you want to update protected resources, specify a temporary # overriding stack policy during this update. If you don't specify a # stack policy, the current policy that is associated with the stack # will be used. # @option options [Array] :parameters # A list of `Parameter` structures that specify input parameters for the # stack. For more information, see the [Parameter][1] data type. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html # @option options [Array] :capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation to # update the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account, for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, CloudFormation # returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we suggest that you # review all permissions associated with them and edit their # permissions if necessary. # # * [ AWS::IAM::AccessKey][1] # # * [ AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [AWS::IAM::Policy][5] # # * [ AWS::IAM::Role][6] # # * [ AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set from # the processed template, so that they can review the changes # resulting from the macros before actually updating the stack. If # your stack template contains one or more macros, and you choose to # update a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # If you want to update a stack from a stack template that contains # macros *and* nested stacks, you must update the stack directly from # the template using this capability. # # You should only update stacks directly from a stack template that # contains macros if you know what processing the macro performs. # # Each macro relies on an underlying Lambda service function for # processing stack templates. Be aware that the Lambda function owner # can update the function operation without CloudFormation being # notified. # # For more information, see [Perform custom processing on # CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # @option options [Array] :resource_types # The template resource types that you have permissions to work with for # this update stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`, # or `Custom::MyCustomInstance`. # # If the list of resource types doesn't include a resource that you're # updating, the stack update fails. By default, CloudFormation grants # permissions to all resource types. IAM uses this parameter for # CloudFormation-specific condition keys in IAM policies. For more # information, see [Control access with Identity and Access # Management][1]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # @option options [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to update the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that users # have permission to operate on the stack, CloudFormation uses this role # even if the users don't have permission to pass it. Ensure that the # role grants least privilege. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that is generated from your # user credentials. # @option options [Types::RollbackConfiguration] :rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @option options [String] :stack_policy_body # Structure that contains a new stack policy body. You can specify # either the `StackPolicyBody` or the `StackPolicyURL` parameter, but # not both. # # You might update the stack policy, for example, in order to protect a # new resource that you created during a stack update. If you don't # specify a stack policy, the current policy that is associated with the # stack is unchanged. # @option options [String] :stack_policy_url # Location of a file that contains the updated stack policy. The URL # must point to a policy (max size: 16KB) located in an S3 bucket in the # same Region as the stack. The location for an Amazon S3 bucket must # start with `https://`. URLs from S3 static websites are not supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # # You might update the stack policy, for example, in order to protect a # new resource that you created during a stack update. If you don't # specify a stack policy, the current policy that is associated with the # stack is unchanged. # @option options [Array] :notification_arns # Amazon Simple Notification Service topic Amazon Resource Names (ARNs) # that CloudFormation associates with the stack. Specify an empty list # to remove all notification topics. # @option options [Array] :tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to supported resources in the stack. You can # specify a maximum number of 50 tags. # # If you don't specify this parameter, CloudFormation doesn't modify # the stack's tags. If you specify an empty value, CloudFormation # removes all associated tags. # @option options [Boolean] :disable_rollback # Preserve the state of previously provisioned resources when an # operation fails. # # Default: `False` # @option options [String] :client_request_token # A unique identifier for this `UpdateStack` request. Specify this token # if you plan to retry requests so that CloudFormation knows that # you're not attempting to update a stack with the same name. You might # retry `UpdateStack` requests to ensure that CloudFormation # successfully received them. # # All events triggered by a given stack operation are assigned the same # client request token, which you can use to track operations. For # example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation will # have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @option options [Boolean] :retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Types::UpdateStackOutput] def update(options = {}) options = options.merge(stack_name: @name) resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.update_stack(options) end resp.data end # @!group Associations # @example Request syntax with placeholder values # # stack.events() # @param [Hash] options ({}) # @return [Event::Collection] def events(options = {}) batches = Enumerator.new do |y| options = options.merge(stack_name: @name) resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.describe_stack_events(options) end resp.each_page do |page| batch = [] page.data.stack_events.each do |s| batch << Event.new( id: s.event_id, data: s, client: @client ) end y.yield(batch) end end Event::Collection.new(batches) end # @param [String] logical_id # @return [StackResource] def resource(logical_id) StackResource.new( stack_name: @name, logical_id: logical_id, client: @client ) end # @example Request syntax with placeholder values # # stack.resource_summaries() # @param [Hash] options ({}) # @return [StackResourceSummary::Collection] def resource_summaries(options = {}) batches = Enumerator.new do |y| options = options.merge(stack_name: @name) resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.list_stack_resources(options) end resp.each_page do |page| batch = [] page.data.stack_resource_summaries.each do |s| batch << StackResourceSummary.new( logical_id: s.logical_resource_id, stack_name: options[:stack_name], data: s, client: @client ) end y.yield(batch) end end StackResourceSummary::Collection.new(batches) end # @deprecated # @api private def identifiers { name: @name } end deprecated(:identifiers) private def extract_name(args, options) value = args[0] || options.delete(:name) case value when String then value when nil then raise ArgumentError, "missing required option :name" else msg = "expected :name to be a String, got #{value.class}" raise ArgumentError, msg end end def yield_waiter_and_warn(waiter, &block) if !@waiter_block_warned msg = "pass options to configure the waiter; "\ "yielding the waiter is deprecated" warn(msg) @waiter_block_warned = true end yield(waiter.waiter) end def separate_params_and_options(options) opts = Set.new( [:client, :max_attempts, :delay, :before_attempt, :before_wait] ) waiter_opts = {} waiter_params = {} options.each_pair do |key, value| if opts.include?(key) waiter_opts[key] = value else waiter_params[key] = value end end waiter_opts[:client] ||= @client [waiter_opts, waiter_params] end class Collection < Aws::Resources::Collection; end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/waiters.rb0000644000004100000410000005765515077233060025476 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE require 'aws-sdk-core/waiters' module Aws::CloudFormation # Waiters are utility methods that poll for a particular state to occur # on a client. Waiters can fail after a number of attempts at a polling # interval defined for the service client. # # For a list of operations that can be waited for and the # client methods called for each operation, see the table below or the # {Client#wait_until} field documentation for the {Client}. # # # Invoking a Waiter # To invoke a waiter, call #wait_until on a {Client}. The first parameter # is the waiter name, which is specific to the service client and indicates # which operation is being waited for. The second parameter is a hash of # parameters that are passed to the client method called by the waiter, # which varies according to the waiter name. # # # Wait Failures # To catch errors in a waiter, use WaiterFailed, # as shown in the following example. # # rescue rescue Aws::Waiters::Errors::WaiterFailed => error # puts "failed waiting for instance running: #{error.message} # end # # # Configuring a Waiter # Each waiter has a default polling interval and a maximum number of # attempts it will make before returning control to your program. # To set these values, use the `max_attempts` and `delay` parameters # in your `#wait_until` call. # The following example waits for up to 25 seconds, polling every five seconds. # # client.wait_until(...) do |w| # w.max_attempts = 5 # w.delay = 5 # end # # To disable wait failures, set the value of either of these parameters # to `nil`. # # # Extending a Waiter # To modify the behavior of waiters, you can register callbacks that are # triggered before each polling attempt and before waiting. # # The following example implements an exponential backoff in a waiter # by doubling the amount of time to wait on every attempt. # # client.wait_until(...) do |w| # w.interval = 0 # disable normal sleep # w.before_wait do |n, resp| # sleep(n ** 2) # end # end # # # Available Waiters # # The following table lists the valid waiter names, the operations they call, # and the default `:delay` and `:max_attempts` values. # # | waiter_name | params | :delay | :max_attempts | # | ------------------------------- | ----------------------------------- | -------- | ------------- | # | change_set_create_complete | {Client#describe_change_set} | 30 | 120 | # | stack_create_complete | {Client#describe_stacks} | 30 | 120 | # | stack_delete_complete | {Client#describe_stacks} | 30 | 120 | # | stack_exists | {Client#describe_stacks} | 5 | 20 | # | stack_import_complete | {Client#describe_stacks} | 30 | 120 | # | stack_refactor_create_complete | {Client#describe_stack_refactor} | 5 | 120 | # | stack_refactor_execute_complete | {Client#describe_stack_refactor} | 15 | 120 | # | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 | # | stack_update_complete | {Client#describe_stacks} | 30 | 120 | # | type_registration_complete | {Client#describe_type_registration} | 30 | 120 | # module Waiters # Wait until change set status is CREATE_COMPLETE. class ChangeSetCreateComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (30) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :describe_change_set, acceptors: [ { "argument" => "status", "expected" => "CREATE_COMPLETE", "matcher" => "path", "state" => "success" }, { "argument" => "status", "expected" => "FAILED", "matcher" => "path", "state" => "failure" }, { "expected" => "ValidationError", "matcher" => "error", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_change_set) # @return (see Client#describe_change_set) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end # Wait until stack status is CREATE_COMPLETE. class StackCreateComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (30) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :describe_stacks, acceptors: [ { "argument" => "stacks[].stack_status", "expected" => "CREATE_COMPLETE", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_COMPLETE", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_IN_PROGRESS", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_FAILED", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_IN_PROGRESS", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_FAILED", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_COMPLETE", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "CREATE_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "DELETE_COMPLETE", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "DELETE_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "ROLLBACK_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "ROLLBACK_COMPLETE", "matcher" => "pathAny", "state" => "failure" }, { "expected" => "ValidationError", "matcher" => "error", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_stacks) # @return (see Client#describe_stacks) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end # Wait until stack status is DELETE_COMPLETE. class StackDeleteComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (30) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :describe_stacks, acceptors: [ { "argument" => "stacks[].stack_status", "expected" => "DELETE_COMPLETE", "matcher" => "pathAll", "state" => "success" }, { "expected" => "ValidationError", "matcher" => "error", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "DELETE_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "CREATE_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "ROLLBACK_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_IN_PROGRESS", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_COMPLETE", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_COMPLETE", "matcher" => "pathAny", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_stacks) # @return (see Client#describe_stacks) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end class StackExists # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (20) # @option options [Integer] :delay (5) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 20, delay: 5, poller: Aws::Waiters::Poller.new( operation_name: :describe_stacks, acceptors: [ { "matcher" => "status", "expected" => 200, "state" => "success" }, { "matcher" => "error", "expected" => "ValidationError", "state" => "retry" } ] ) }.merge(options)) end # @option (see Client#describe_stacks) # @return (see Client#describe_stacks) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end # Wait until stack status is IMPORT_COMPLETE. class StackImportComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (30) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :describe_stacks, acceptors: [ { "argument" => "stacks[].stack_status", "expected" => "IMPORT_COMPLETE", "matcher" => "pathAll", "state" => "success" }, { "expected" => "ROLLBACK_COMPLETE", "matcher" => "pathAny", "state" => "failure", "argument" => "stacks[].stack_status" }, { "expected" => "ROLLBACK_FAILED", "matcher" => "pathAny", "state" => "failure", "argument" => "stacks[].stack_status" }, { "argument" => "stacks[].stack_status", "expected" => "IMPORT_ROLLBACK_IN_PROGRESS", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "IMPORT_ROLLBACK_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "expected" => "IMPORT_ROLLBACK_COMPLETE", "matcher" => "pathAny", "state" => "failure", "argument" => "stacks[].stack_status" }, { "expected" => "ValidationError", "matcher" => "error", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_stacks) # @return (see Client#describe_stacks) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end # Wait until the stack refactor status is CREATE_COMPLETE. class StackRefactorCreateComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (5) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 5, poller: Aws::Waiters::Poller.new( operation_name: :describe_stack_refactor, acceptors: [ { "argument" => "status", "expected" => "CREATE_COMPLETE", "matcher" => "path", "state" => "success" }, { "argument" => "status", "expected" => "CREATE_FAILED", "matcher" => "path", "state" => "failure" }, { "expected" => "ValidationError", "matcher" => "error", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_stack_refactor) # @return (see Client#describe_stack_refactor) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end # Wait until the stack refactor status is EXECUTE_COMPLETE. class StackRefactorExecuteComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (15) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 15, poller: Aws::Waiters::Poller.new( operation_name: :describe_stack_refactor, acceptors: [ { "argument" => "execution_status", "expected" => "EXECUTE_COMPLETE", "matcher" => "path", "state" => "success" }, { "argument" => "execution_status", "expected" => "EXECUTE_FAILED", "matcher" => "path", "state" => "failure" }, { "argument" => "execution_status", "expected" => "ROLLBACK_COMPLETE", "matcher" => "path", "state" => "failure" }, { "expected" => "ValidationError", "matcher" => "error", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_stack_refactor) # @return (see Client#describe_stack_refactor) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end # Wait until stack status is UPDATE_ROLLBACK_COMPLETE. class StackRollbackComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (30) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :describe_stacks, acceptors: [ { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_COMPLETE", "matcher" => "pathAll", "state" => "success" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "argument" => "stacks[].stack_status", "expected" => "DELETE_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "expected" => "ValidationError", "matcher" => "error", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_stacks) # @return (see Client#describe_stacks) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end # Wait until stack status is UPDATE_COMPLETE. class StackUpdateComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (30) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :describe_stacks, acceptors: [ { "argument" => "stacks[].stack_status", "expected" => "UPDATE_COMPLETE", "matcher" => "pathAll", "state" => "success" }, { "expected" => "UPDATE_FAILED", "matcher" => "pathAny", "state" => "failure", "argument" => "stacks[].stack_status" }, { "argument" => "stacks[].stack_status", "expected" => "UPDATE_ROLLBACK_FAILED", "matcher" => "pathAny", "state" => "failure" }, { "expected" => "UPDATE_ROLLBACK_COMPLETE", "matcher" => "pathAny", "state" => "failure", "argument" => "stacks[].stack_status" }, { "expected" => "ValidationError", "matcher" => "error", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_stacks) # @return (see Client#describe_stacks) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end # Wait until type registration is COMPLETE. class TypeRegistrationComplete # @param [Hash] options # @option options [required, Client] :client # @option options [Integer] :max_attempts (120) # @option options [Integer] :delay (30) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ max_attempts: 120, delay: 30, poller: Aws::Waiters::Poller.new( operation_name: :describe_type_registration, acceptors: [ { "argument" => "progress_status", "expected" => "COMPLETE", "matcher" => "path", "state" => "success" }, { "argument" => "progress_status", "expected" => "FAILED", "matcher" => "path", "state" => "failure" } ] ) }.merge(options)) end # @option (see Client#describe_type_registration) # @return (see Client#describe_type_registration) def wait(params = {}) @waiter.wait(client: @client, params: params) end # @api private attr_reader :waiter end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/customizations.rb0000644000004100000410000000000015077233060027057 0ustar www-datawww-dataaws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/resource.rb0000644000004100000410000004456315077233060025641 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation # This class provides a resource oriented interface for CloudFormation. # To create a resource object: # # resource = Aws::CloudFormation::Resource.new(region: 'us-west-2') # # You can supply a client object with custom configuration that will be used for all resource operations. # If you do not pass `:client`, a default client will be constructed. # # client = Aws::CloudFormation::Client.new(region: 'us-west-2') # resource = Aws::CloudFormation::Resource.new(client: client) # class Resource # @param options ({}) # @option options [Client] :client def initialize(options = {}) @client = options[:client] || Client.new(options) end # @return [Client] def client @client end # @!group Actions # @example Request syntax with placeholder values # # stack = cloud_formation.create_stack({ # stack_name: "StackName", # required # template_body: "TemplateBody", # template_url: "TemplateURL", # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # disable_rollback: false, # rollback_configuration: { # rollback_triggers: [ # { # arn: "Arn", # required # type: "Type", # required # }, # ], # monitoring_time_in_minutes: 1, # }, # timeout_in_minutes: 1, # notification_arns: ["NotificationARN"], # capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND # resource_types: ["ResourceType"], # role_arn: "RoleARN", # on_failure: "DO_NOTHING", # accepts DO_NOTHING, ROLLBACK, DELETE # stack_policy_body: "StackPolicyBody", # stack_policy_url: "StackPolicyURL", # tags: [ # { # key: "TagKey", # required # value: "TagValue", # required # }, # ], # client_request_token: "ClientRequestToken", # enable_termination_protection: false, # retain_except_on_create: false, # }) # @param [Hash] options ({}) # @option options [required, String] :stack_name # The name that's associated with the stack. The name must be unique in # the Region in which you are creating the stack. # # A stack name can contain only alphanumeric characters (case sensitive) # and hyphens. It must start with an alphabetical character and can't # be longer than 128 characters. # # # @option options [String] :template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify either `TemplateBody` or `TemplateURL`, # but not both. # @option options [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template (max size: 1 MB) that's located in an Amazon S3 bucket # or a Systems Manager document. The location for an Amazon S3 bucket # must start with `https://`. URLs from S3 static websites are not # supported. # # Conditional: You must specify either the `TemplateBody` or the # `TemplateURL` parameter, but not both. # @option options [Array] :parameters # A list of `Parameter` structures that specify input parameters for the # stack. For more information, see the [Parameter][1] data type. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html # @option options [Boolean] :disable_rollback # Set to `true` to disable rollback of the stack if stack creation # failed. You can specify either `DisableRollback` or `OnFailure`, but # not both. # # Default: `false` # @option options [Types::RollbackConfiguration] :rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @option options [Integer] :timeout_in_minutes # The amount of time that can pass before the stack status becomes # `CREATE_FAILED`; if `DisableRollback` is not set or is set to `false`, # the stack will be rolled back. # @option options [Array] :notification_arns # The Amazon SNS topic ARNs to publish stack related events. You can # find your Amazon SNS topic ARNs using the Amazon SNS console or your # Command Line Interface (CLI). # @option options [Array] :capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation to # create the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account; for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, CloudFormation # returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we recommend that # you review all permissions associated with them and edit their # permissions if necessary. # # * [AWS::IAM::AccessKey][1] # # * [AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [AWS::IAM::Policy][5] # # * [AWS::IAM::Role][6] # # * [AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set from # the processed template, so that they can review the changes # resulting from the macros before actually creating the stack. If # your stack template contains one or more macros, and you choose to # create a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # If you want to create a stack from a stack template that contains # macros *and* nested stacks, you must create the stack directly from # the template using this capability. # # You should only create stacks directly from a stack template that # contains macros if you know what processing the macro performs. # # Each macro relies on an underlying Lambda service function for # processing stack templates. Be aware that the Lambda function owner # can update the function operation without CloudFormation being # notified. # # For more information, see [Perform custom processing on # CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # @option options [Array] :resource_types # The template resource types that you have permissions to work with for # this create stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`, # or `Custom::MyCustomInstance`. Use the following syntax to describe # template resource types: `AWS::*` (for all Amazon Web Services # resources), `Custom::*` (for all custom resources), # `Custom::logical_ID ` (for a specific custom resource), # `AWS::service_name::*` (for all resources of a particular Amazon Web # Services service), and `AWS::service_name::resource_logical_ID ` (for # a specific Amazon Web Services resource). # # If the list of resource types doesn't include a resource that you're # creating, the stack creation fails. By default, CloudFormation grants # permissions to all resource types. IAM uses this parameter for # CloudFormation-specific condition keys in IAM policies. For more # information, see [Control access with Identity and Access # Management][1]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # @option options [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to create the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that users # have permission to operate on the stack, CloudFormation uses this role # even if the users don't have permission to pass it. Ensure that the # role grants least privilege. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # @option options [String] :on_failure # Determines what action will be taken if stack creation fails. This # must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify # either `OnFailure` or `DisableRollback`, but not both. # # Although the default setting is `ROLLBACK`, there is one exception. # This exception occurs when a StackSet attempts to deploy a stack # instance and the stack instance fails to create successfully. In this # case, the `CreateStack` call overrides the default setting and sets # the value of `OnFailure` to `DELETE`. # # # # Default: `ROLLBACK` # @option options [String] :stack_policy_body # Structure that contains the stack policy body. For more information, # see [Prevent updates to stack resources][1] in the *CloudFormation # User Guide*. You can specify either the `StackPolicyBody` or the # `StackPolicyURL` parameter, but not both. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html # @option options [String] :stack_policy_url # Location of a file that contains the stack policy. The URL must point # to a policy (maximum size: 16 KB) located in an S3 bucket in the same # Region as the stack. The location for an Amazon S3 bucket must start # with `https://`. URLs from S3 static websites are not supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # @option options [Array] :tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to the resources created in the stack. A maximum # number of 50 tags can be specified. # @option options [String] :client_request_token # A unique identifier for this `CreateStack` request. Specify this token # if you plan to retry requests so that CloudFormation knows that # you're not attempting to create a stack with the same name. You might # retry `CreateStack` requests to ensure that CloudFormation # successfully received them. # # All events initiated by a given stack operation are assigned the same # client request token, which you can use to track operations. For # example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation will # have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @option options [Boolean] :enable_termination_protection # Whether to enable termination protection on the specified stack. If a # user attempts to delete a stack with termination protection enabled, # the operation fails and the stack remains unchanged. For more # information, see [Protect CloudFormation stacks from being deleted][1] # in the *CloudFormation User Guide*. Termination protection is # deactivated on stacks by default. # # For [nested stacks][2], termination protection is set on the root # stack and can't be changed directly on the nested stack. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @option options [Boolean] :retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Stack] def create_stack(options = {}) Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.create_stack(options) end Stack.new( name: options[:stack_name], client: @client ) end # @!group Associations # @param [String] id # @return [Event] def event(id) Event.new( id: id, client: @client ) end # @param [String] name # @return [Stack] def stack(name) Stack.new( name: name, client: @client ) end # @example Request syntax with placeholder values # # stacks = cloud_formation.stacks({ # stack_name: "StackName", # }) # @param [Hash] options ({}) # @option options [String] :stack_name # If you don't pass a parameter to `StackName`, the API returns a # response that describes all resources in the account, which can impact # performance. This requires `ListStacks` and `DescribeStacks` # permissions. # # Consider using the ListStacks API if you're not passing a parameter # to `StackName`. # # The IAM policy below can be added to IAM policies when you want to # limit resource-level permissions and avoid returning a response when # no parameter is sent in the request: # # \{ "Version": "2012-10-17", "Statement": \[\{ "Effect": # "Deny", "Action": "cloudformation:DescribeStacks", # "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }\] } # # # # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # @return [Stack::Collection] def stacks(options = {}) batches = Enumerator.new do |y| resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.describe_stacks(options) end resp.each_page do |page| batch = [] page.data.stacks.each do |s| batch << Stack.new( name: s.stack_name, data: s, client: @client ) end y.yield(batch) end end Stack::Collection.new(batches) end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/plugins/0000755000004100000410000000000015077233060025132 5ustar www-datawww-dataaws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/plugins/endpoints.rb0000644000004100000410000000463015077233060027465 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation module Plugins class Endpoints < Seahorse::Client::Plugin option( :endpoint_provider, doc_type: 'Aws::CloudFormation::EndpointProvider', rbs_type: 'untyped', docstring: <<~DOCS) do |_cfg| The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CloudFormation::EndpointParameters`. DOCS Aws::CloudFormation::EndpointProvider.new end # @api private class Handler < Seahorse::Client::Handler def call(context) unless context[:discovered_endpoint] params = Aws::CloudFormation::Endpoints.parameters_for_operation(context) endpoint = context.config.endpoint_provider.resolve_endpoint(params) context.http_request.endpoint = endpoint.url apply_endpoint_headers(context, endpoint.headers) context[:endpoint_params] = params context[:endpoint_properties] = endpoint.properties end context[:auth_scheme] = Aws::Endpoints.resolve_auth_scheme(context, endpoint) with_metrics(context) { @handler.call(context) } end private def with_metrics(context, &block) metrics = [] metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a' metrics << 'SIGV4A_SIGNING' end if context.config.credentials&.credentials&.account_id metrics << 'RESOLVED_ACCOUNT_ID' end Aws::Plugins::UserAgent.metric(*metrics, &block) end def apply_endpoint_headers(context, headers) headers.each do |key, values| value = values .compact .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) } .join(',') context.http_request.headers[key] = value end end end def add_handlers(handlers, _config) handlers.add(Handler, step: :build, priority: 75) end end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/client_api.rb0000644000004100000410000100133015077233060026103 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation # @api private module ClientApi include Seahorse::Model AcceptTermsAndConditions = Shapes::BooleanShape.new(name: 'AcceptTermsAndConditions') Account = Shapes::StringShape.new(name: 'Account') AccountFilterType = Shapes::StringShape.new(name: 'AccountFilterType') AccountGateResult = Shapes::StructureShape.new(name: 'AccountGateResult') AccountGateStatus = Shapes::StringShape.new(name: 'AccountGateStatus') AccountGateStatusReason = Shapes::StringShape.new(name: 'AccountGateStatusReason') AccountLimit = Shapes::StructureShape.new(name: 'AccountLimit') AccountLimitList = Shapes::ListShape.new(name: 'AccountLimitList') AccountList = Shapes::ListShape.new(name: 'AccountList') AccountsUrl = Shapes::StringShape.new(name: 'AccountsUrl') ActivateOrganizationsAccessInput = Shapes::StructureShape.new(name: 'ActivateOrganizationsAccessInput') ActivateOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'ActivateOrganizationsAccessOutput') ActivateTypeInput = Shapes::StructureShape.new(name: 'ActivateTypeInput') ActivateTypeOutput = Shapes::StructureShape.new(name: 'ActivateTypeOutput') AfterContext = Shapes::StringShape.new(name: 'AfterContext') AfterValue = Shapes::StringShape.new(name: 'AfterValue') AllowedValue = Shapes::StringShape.new(name: 'AllowedValue') AllowedValues = Shapes::ListShape.new(name: 'AllowedValues') AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException', error: {"code" => "AlreadyExistsException", "httpStatusCode" => 400, "senderFault" => true}) Arn = Shapes::StringShape.new(name: 'Arn') AttributeChangeType = Shapes::StringShape.new(name: 'AttributeChangeType') AutoDeployment = Shapes::StructureShape.new(name: 'AutoDeployment') AutoDeploymentNullable = Shapes::BooleanShape.new(name: 'AutoDeploymentNullable') AutoUpdate = Shapes::BooleanShape.new(name: 'AutoUpdate') BatchDescribeTypeConfigurationsError = Shapes::StructureShape.new(name: 'BatchDescribeTypeConfigurationsError') BatchDescribeTypeConfigurationsErrors = Shapes::ListShape.new(name: 'BatchDescribeTypeConfigurationsErrors') BatchDescribeTypeConfigurationsInput = Shapes::StructureShape.new(name: 'BatchDescribeTypeConfigurationsInput') BatchDescribeTypeConfigurationsOutput = Shapes::StructureShape.new(name: 'BatchDescribeTypeConfigurationsOutput') BeforeContext = Shapes::StringShape.new(name: 'BeforeContext') BeforeValue = Shapes::StringShape.new(name: 'BeforeValue') BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger') BoxedMaxResults = Shapes::IntegerShape.new(name: 'BoxedMaxResults') CFNRegistryException = Shapes::StructureShape.new(name: 'CFNRegistryException', error: {"code" => "CFNRegistryException", "httpStatusCode" => 400, "senderFault" => true}) CallAs = Shapes::StringShape.new(name: 'CallAs') CancelUpdateStackInput = Shapes::StructureShape.new(name: 'CancelUpdateStackInput') Capabilities = Shapes::ListShape.new(name: 'Capabilities') CapabilitiesReason = Shapes::StringShape.new(name: 'CapabilitiesReason') Capability = Shapes::StringShape.new(name: 'Capability') Category = Shapes::StringShape.new(name: 'Category') CausingEntity = Shapes::StringShape.new(name: 'CausingEntity') Change = Shapes::StructureShape.new(name: 'Change') ChangeAction = Shapes::StringShape.new(name: 'ChangeAction') ChangeSetHook = Shapes::StructureShape.new(name: 'ChangeSetHook') ChangeSetHookResourceTargetDetails = Shapes::StructureShape.new(name: 'ChangeSetHookResourceTargetDetails') ChangeSetHookTargetDetails = Shapes::StructureShape.new(name: 'ChangeSetHookTargetDetails') ChangeSetHooks = Shapes::ListShape.new(name: 'ChangeSetHooks') ChangeSetHooksStatus = Shapes::StringShape.new(name: 'ChangeSetHooksStatus') ChangeSetId = Shapes::StringShape.new(name: 'ChangeSetId') ChangeSetName = Shapes::StringShape.new(name: 'ChangeSetName') ChangeSetNameOrId = Shapes::StringShape.new(name: 'ChangeSetNameOrId') ChangeSetNotFoundException = Shapes::StructureShape.new(name: 'ChangeSetNotFoundException', error: {"code" => "ChangeSetNotFound", "httpStatusCode" => 404, "senderFault" => true}) ChangeSetStatus = Shapes::StringShape.new(name: 'ChangeSetStatus') ChangeSetStatusReason = Shapes::StringShape.new(name: 'ChangeSetStatusReason') ChangeSetSummaries = Shapes::ListShape.new(name: 'ChangeSetSummaries') ChangeSetSummary = Shapes::StructureShape.new(name: 'ChangeSetSummary') ChangeSetType = Shapes::StringShape.new(name: 'ChangeSetType') ChangeSource = Shapes::StringShape.new(name: 'ChangeSource') ChangeType = Shapes::StringShape.new(name: 'ChangeType') Changes = Shapes::ListShape.new(name: 'Changes') ClientRequestToken = Shapes::StringShape.new(name: 'ClientRequestToken') ClientToken = Shapes::StringShape.new(name: 'ClientToken') ConcurrencyMode = Shapes::StringShape.new(name: 'ConcurrencyMode') ConcurrentResourcesLimitExceededException = Shapes::StructureShape.new(name: 'ConcurrentResourcesLimitExceededException', error: {"code" => "ConcurrentResourcesLimitExceeded", "httpStatusCode" => 429, "senderFault" => true}) ConfigurationSchema = Shapes::StringShape.new(name: 'ConfigurationSchema') ConnectionArn = Shapes::StringShape.new(name: 'ConnectionArn') ContinueUpdateRollbackInput = Shapes::StructureShape.new(name: 'ContinueUpdateRollbackInput') ContinueUpdateRollbackOutput = Shapes::StructureShape.new(name: 'ContinueUpdateRollbackOutput') CreateChangeSetInput = Shapes::StructureShape.new(name: 'CreateChangeSetInput') CreateChangeSetOutput = Shapes::StructureShape.new(name: 'CreateChangeSetOutput') CreateGeneratedTemplateInput = Shapes::StructureShape.new(name: 'CreateGeneratedTemplateInput') CreateGeneratedTemplateOutput = Shapes::StructureShape.new(name: 'CreateGeneratedTemplateOutput') CreateStackInput = Shapes::StructureShape.new(name: 'CreateStackInput') CreateStackInstancesInput = Shapes::StructureShape.new(name: 'CreateStackInstancesInput') CreateStackInstancesOutput = Shapes::StructureShape.new(name: 'CreateStackInstancesOutput') CreateStackOutput = Shapes::StructureShape.new(name: 'CreateStackOutput') CreateStackRefactorInput = Shapes::StructureShape.new(name: 'CreateStackRefactorInput') CreateStackRefactorOutput = Shapes::StructureShape.new(name: 'CreateStackRefactorOutput') CreateStackSetInput = Shapes::StructureShape.new(name: 'CreateStackSetInput') CreateStackSetOutput = Shapes::StructureShape.new(name: 'CreateStackSetOutput') CreatedButModifiedException = Shapes::StructureShape.new(name: 'CreatedButModifiedException', error: {"code" => "CreatedButModifiedException", "httpStatusCode" => 409, "senderFault" => true}) CreationTime = Shapes::TimestampShape.new(name: 'CreationTime') DeactivateOrganizationsAccessInput = Shapes::StructureShape.new(name: 'DeactivateOrganizationsAccessInput') DeactivateOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'DeactivateOrganizationsAccessOutput') DeactivateTypeInput = Shapes::StructureShape.new(name: 'DeactivateTypeInput') DeactivateTypeOutput = Shapes::StructureShape.new(name: 'DeactivateTypeOutput') DeleteChangeSetInput = Shapes::StructureShape.new(name: 'DeleteChangeSetInput') DeleteChangeSetOutput = Shapes::StructureShape.new(name: 'DeleteChangeSetOutput') DeleteGeneratedTemplateInput = Shapes::StructureShape.new(name: 'DeleteGeneratedTemplateInput') DeleteStackInput = Shapes::StructureShape.new(name: 'DeleteStackInput') DeleteStackInstancesInput = Shapes::StructureShape.new(name: 'DeleteStackInstancesInput') DeleteStackInstancesOutput = Shapes::StructureShape.new(name: 'DeleteStackInstancesOutput') DeleteStackSetInput = Shapes::StructureShape.new(name: 'DeleteStackSetInput') DeleteStackSetOutput = Shapes::StructureShape.new(name: 'DeleteStackSetOutput') DeletionMode = Shapes::StringShape.new(name: 'DeletionMode') DeletionTime = Shapes::TimestampShape.new(name: 'DeletionTime') DeploymentTargets = Shapes::StructureShape.new(name: 'DeploymentTargets') DeprecatedStatus = Shapes::StringShape.new(name: 'DeprecatedStatus') DeregisterTypeInput = Shapes::StructureShape.new(name: 'DeregisterTypeInput') DeregisterTypeOutput = Shapes::StructureShape.new(name: 'DeregisterTypeOutput') DescribeAccountLimitsInput = Shapes::StructureShape.new(name: 'DescribeAccountLimitsInput') DescribeAccountLimitsOutput = Shapes::StructureShape.new(name: 'DescribeAccountLimitsOutput') DescribeChangeSetHooksInput = Shapes::StructureShape.new(name: 'DescribeChangeSetHooksInput') DescribeChangeSetHooksOutput = Shapes::StructureShape.new(name: 'DescribeChangeSetHooksOutput') DescribeChangeSetInput = Shapes::StructureShape.new(name: 'DescribeChangeSetInput') DescribeChangeSetOutput = Shapes::StructureShape.new(name: 'DescribeChangeSetOutput') DescribeGeneratedTemplateInput = Shapes::StructureShape.new(name: 'DescribeGeneratedTemplateInput') DescribeGeneratedTemplateOutput = Shapes::StructureShape.new(name: 'DescribeGeneratedTemplateOutput') DescribeOrganizationsAccessInput = Shapes::StructureShape.new(name: 'DescribeOrganizationsAccessInput') DescribeOrganizationsAccessOutput = Shapes::StructureShape.new(name: 'DescribeOrganizationsAccessOutput') DescribePublisherInput = Shapes::StructureShape.new(name: 'DescribePublisherInput') DescribePublisherOutput = Shapes::StructureShape.new(name: 'DescribePublisherOutput') DescribeResourceScanInput = Shapes::StructureShape.new(name: 'DescribeResourceScanInput') DescribeResourceScanOutput = Shapes::StructureShape.new(name: 'DescribeResourceScanOutput') DescribeStackDriftDetectionStatusInput = Shapes::StructureShape.new(name: 'DescribeStackDriftDetectionStatusInput') DescribeStackDriftDetectionStatusOutput = Shapes::StructureShape.new(name: 'DescribeStackDriftDetectionStatusOutput') DescribeStackEventsInput = Shapes::StructureShape.new(name: 'DescribeStackEventsInput') DescribeStackEventsOutput = Shapes::StructureShape.new(name: 'DescribeStackEventsOutput') DescribeStackInstanceInput = Shapes::StructureShape.new(name: 'DescribeStackInstanceInput') DescribeStackInstanceOutput = Shapes::StructureShape.new(name: 'DescribeStackInstanceOutput') DescribeStackRefactorInput = Shapes::StructureShape.new(name: 'DescribeStackRefactorInput') DescribeStackRefactorOutput = Shapes::StructureShape.new(name: 'DescribeStackRefactorOutput') DescribeStackResourceDriftsInput = Shapes::StructureShape.new(name: 'DescribeStackResourceDriftsInput') DescribeStackResourceDriftsOutput = Shapes::StructureShape.new(name: 'DescribeStackResourceDriftsOutput') DescribeStackResourceInput = Shapes::StructureShape.new(name: 'DescribeStackResourceInput') DescribeStackResourceOutput = Shapes::StructureShape.new(name: 'DescribeStackResourceOutput') DescribeStackResourcesInput = Shapes::StructureShape.new(name: 'DescribeStackResourcesInput') DescribeStackResourcesOutput = Shapes::StructureShape.new(name: 'DescribeStackResourcesOutput') DescribeStackSetInput = Shapes::StructureShape.new(name: 'DescribeStackSetInput') DescribeStackSetOperationInput = Shapes::StructureShape.new(name: 'DescribeStackSetOperationInput') DescribeStackSetOperationOutput = Shapes::StructureShape.new(name: 'DescribeStackSetOperationOutput') DescribeStackSetOutput = Shapes::StructureShape.new(name: 'DescribeStackSetOutput') DescribeStacksInput = Shapes::StructureShape.new(name: 'DescribeStacksInput') DescribeStacksOutput = Shapes::StructureShape.new(name: 'DescribeStacksOutput') DescribeTypeInput = Shapes::StructureShape.new(name: 'DescribeTypeInput') DescribeTypeOutput = Shapes::StructureShape.new(name: 'DescribeTypeOutput') DescribeTypeRegistrationInput = Shapes::StructureShape.new(name: 'DescribeTypeRegistrationInput') DescribeTypeRegistrationOutput = Shapes::StructureShape.new(name: 'DescribeTypeRegistrationOutput') Description = Shapes::StringShape.new(name: 'Description') DetailedStatus = Shapes::StringShape.new(name: 'DetailedStatus') DetectStackDriftInput = Shapes::StructureShape.new(name: 'DetectStackDriftInput') DetectStackDriftOutput = Shapes::StructureShape.new(name: 'DetectStackDriftOutput') DetectStackResourceDriftInput = Shapes::StructureShape.new(name: 'DetectStackResourceDriftInput') DetectStackResourceDriftOutput = Shapes::StructureShape.new(name: 'DetectStackResourceDriftOutput') DetectStackSetDriftInput = Shapes::StructureShape.new(name: 'DetectStackSetDriftInput') DetectStackSetDriftOutput = Shapes::StructureShape.new(name: 'DetectStackSetDriftOutput') DetectionReason = Shapes::StringShape.new(name: 'DetectionReason') DifferenceType = Shapes::StringShape.new(name: 'DifferenceType') DisableRollback = Shapes::BooleanShape.new(name: 'DisableRollback') DriftedStackInstancesCount = Shapes::IntegerShape.new(name: 'DriftedStackInstancesCount') EnableStackCreation = Shapes::BooleanShape.new(name: 'EnableStackCreation') EnableTerminationProtection = Shapes::BooleanShape.new(name: 'EnableTerminationProtection') ErrorCode = Shapes::StringShape.new(name: 'ErrorCode') ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage') EstimateTemplateCostInput = Shapes::StructureShape.new(name: 'EstimateTemplateCostInput') EstimateTemplateCostOutput = Shapes::StructureShape.new(name: 'EstimateTemplateCostOutput') EvaluationType = Shapes::StringShape.new(name: 'EvaluationType') EventId = Shapes::StringShape.new(name: 'EventId') ExecuteChangeSetInput = Shapes::StructureShape.new(name: 'ExecuteChangeSetInput') ExecuteChangeSetOutput = Shapes::StructureShape.new(name: 'ExecuteChangeSetOutput') ExecuteStackRefactorInput = Shapes::StructureShape.new(name: 'ExecuteStackRefactorInput') ExecutionRoleName = Shapes::StringShape.new(name: 'ExecutionRoleName') ExecutionStatus = Shapes::StringShape.new(name: 'ExecutionStatus') ExecutionStatusReason = Shapes::StringShape.new(name: 'ExecutionStatusReason') Export = Shapes::StructureShape.new(name: 'Export') ExportName = Shapes::StringShape.new(name: 'ExportName') ExportValue = Shapes::StringShape.new(name: 'ExportValue') Exports = Shapes::ListShape.new(name: 'Exports') FailedStackInstancesCount = Shapes::IntegerShape.new(name: 'FailedStackInstancesCount') FailureToleranceCount = Shapes::IntegerShape.new(name: 'FailureToleranceCount') FailureTolerancePercentage = Shapes::IntegerShape.new(name: 'FailureTolerancePercentage') GeneratedTemplateDeletionPolicy = Shapes::StringShape.new(name: 'GeneratedTemplateDeletionPolicy') GeneratedTemplateId = Shapes::StringShape.new(name: 'GeneratedTemplateId') GeneratedTemplateName = Shapes::StringShape.new(name: 'GeneratedTemplateName') GeneratedTemplateNotFoundException = Shapes::StructureShape.new(name: 'GeneratedTemplateNotFoundException', error: {"code" => "GeneratedTemplateNotFound", "httpStatusCode" => 404, "senderFault" => true}) GeneratedTemplateResourceStatus = Shapes::StringShape.new(name: 'GeneratedTemplateResourceStatus') GeneratedTemplateStatus = Shapes::StringShape.new(name: 'GeneratedTemplateStatus') GeneratedTemplateUpdateReplacePolicy = Shapes::StringShape.new(name: 'GeneratedTemplateUpdateReplacePolicy') GetGeneratedTemplateInput = Shapes::StructureShape.new(name: 'GetGeneratedTemplateInput') GetGeneratedTemplateOutput = Shapes::StructureShape.new(name: 'GetGeneratedTemplateOutput') GetStackPolicyInput = Shapes::StructureShape.new(name: 'GetStackPolicyInput') GetStackPolicyOutput = Shapes::StructureShape.new(name: 'GetStackPolicyOutput') GetTemplateInput = Shapes::StructureShape.new(name: 'GetTemplateInput') GetTemplateOutput = Shapes::StructureShape.new(name: 'GetTemplateOutput') GetTemplateSummaryInput = Shapes::StructureShape.new(name: 'GetTemplateSummaryInput') GetTemplateSummaryOutput = Shapes::StructureShape.new(name: 'GetTemplateSummaryOutput') HandlerErrorCode = Shapes::StringShape.new(name: 'HandlerErrorCode') HookFailureMode = Shapes::StringShape.new(name: 'HookFailureMode') HookInvocationCount = Shapes::IntegerShape.new(name: 'HookInvocationCount') HookInvocationId = Shapes::StringShape.new(name: 'HookInvocationId') HookInvocationPoint = Shapes::StringShape.new(name: 'HookInvocationPoint') HookResultId = Shapes::StringShape.new(name: 'HookResultId') HookResultNotFoundException = Shapes::StructureShape.new(name: 'HookResultNotFoundException', error: {"code" => "HookResultNotFound", "httpStatusCode" => 404, "senderFault" => true}) HookResultSummaries = Shapes::ListShape.new(name: 'HookResultSummaries') HookResultSummary = Shapes::StructureShape.new(name: 'HookResultSummary') HookStatus = Shapes::StringShape.new(name: 'HookStatus') HookStatusReason = Shapes::StringShape.new(name: 'HookStatusReason') HookTargetType = Shapes::StringShape.new(name: 'HookTargetType') HookTargetTypeName = Shapes::StringShape.new(name: 'HookTargetTypeName') HookType = Shapes::StringShape.new(name: 'HookType') HookTypeArn = Shapes::StringShape.new(name: 'HookTypeArn') HookTypeConfigurationVersionId = Shapes::StringShape.new(name: 'HookTypeConfigurationVersionId') HookTypeName = Shapes::StringShape.new(name: 'HookTypeName') HookTypeVersionId = Shapes::StringShape.new(name: 'HookTypeVersionId') IdentityProvider = Shapes::StringShape.new(name: 'IdentityProvider') ImportExistingResources = Shapes::BooleanShape.new(name: 'ImportExistingResources') ImportStacksToStackSetInput = Shapes::StructureShape.new(name: 'ImportStacksToStackSetInput') ImportStacksToStackSetOutput = Shapes::StructureShape.new(name: 'ImportStacksToStackSetOutput') Imports = Shapes::ListShape.new(name: 'Imports') InProgressStackInstancesCount = Shapes::IntegerShape.new(name: 'InProgressStackInstancesCount') InSyncStackInstancesCount = Shapes::IntegerShape.new(name: 'InSyncStackInstancesCount') IncludeNestedStacks = Shapes::BooleanShape.new(name: 'IncludeNestedStacks') IncludePropertyValues = Shapes::BooleanShape.new(name: 'IncludePropertyValues') InsufficientCapabilitiesException = Shapes::StructureShape.new(name: 'InsufficientCapabilitiesException', error: {"code" => "InsufficientCapabilitiesException", "httpStatusCode" => 400, "senderFault" => true}) InvalidChangeSetStatusException = Shapes::StructureShape.new(name: 'InvalidChangeSetStatusException', error: {"code" => "InvalidChangeSetStatus", "httpStatusCode" => 400, "senderFault" => true}) InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException', error: {"code" => "InvalidOperationException", "httpStatusCode" => 400, "senderFault" => true}) InvalidStateTransitionException = Shapes::StructureShape.new(name: 'InvalidStateTransitionException', error: {"code" => "InvalidStateTransition", "httpStatusCode" => 400, "senderFault" => true}) IsActivated = Shapes::BooleanShape.new(name: 'IsActivated') IsDefaultConfiguration = Shapes::BooleanShape.new(name: 'IsDefaultConfiguration') IsDefaultVersion = Shapes::BooleanShape.new(name: 'IsDefaultVersion') JazzLogicalResourceIds = Shapes::ListShape.new(name: 'JazzLogicalResourceIds') JazzResourceIdentifierProperties = Shapes::MapShape.new(name: 'JazzResourceIdentifierProperties') JazzResourceIdentifierPropertyKey = Shapes::StringShape.new(name: 'JazzResourceIdentifierPropertyKey') JazzResourceIdentifierPropertyValue = Shapes::StringShape.new(name: 'JazzResourceIdentifierPropertyValue') Key = Shapes::StringShape.new(name: 'Key') LastUpdatedTime = Shapes::TimestampShape.new(name: 'LastUpdatedTime') LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException', error: {"code" => "LimitExceededException", "httpStatusCode" => 400, "senderFault" => true}) LimitName = Shapes::StringShape.new(name: 'LimitName') LimitValue = Shapes::IntegerShape.new(name: 'LimitValue') ListChangeSetsInput = Shapes::StructureShape.new(name: 'ListChangeSetsInput') ListChangeSetsOutput = Shapes::StructureShape.new(name: 'ListChangeSetsOutput') ListExportsInput = Shapes::StructureShape.new(name: 'ListExportsInput') ListExportsOutput = Shapes::StructureShape.new(name: 'ListExportsOutput') ListGeneratedTemplatesInput = Shapes::StructureShape.new(name: 'ListGeneratedTemplatesInput') ListGeneratedTemplatesOutput = Shapes::StructureShape.new(name: 'ListGeneratedTemplatesOutput') ListHookResultsInput = Shapes::StructureShape.new(name: 'ListHookResultsInput') ListHookResultsOutput = Shapes::StructureShape.new(name: 'ListHookResultsOutput') ListHookResultsTargetType = Shapes::StringShape.new(name: 'ListHookResultsTargetType') ListImportsInput = Shapes::StructureShape.new(name: 'ListImportsInput') ListImportsOutput = Shapes::StructureShape.new(name: 'ListImportsOutput') ListResourceScanRelatedResourcesInput = Shapes::StructureShape.new(name: 'ListResourceScanRelatedResourcesInput') ListResourceScanRelatedResourcesOutput = Shapes::StructureShape.new(name: 'ListResourceScanRelatedResourcesOutput') ListResourceScanResourcesInput = Shapes::StructureShape.new(name: 'ListResourceScanResourcesInput') ListResourceScanResourcesOutput = Shapes::StructureShape.new(name: 'ListResourceScanResourcesOutput') ListResourceScansInput = Shapes::StructureShape.new(name: 'ListResourceScansInput') ListResourceScansOutput = Shapes::StructureShape.new(name: 'ListResourceScansOutput') ListStackInstanceResourceDriftsInput = Shapes::StructureShape.new(name: 'ListStackInstanceResourceDriftsInput') ListStackInstanceResourceDriftsOutput = Shapes::StructureShape.new(name: 'ListStackInstanceResourceDriftsOutput') ListStackInstancesInput = Shapes::StructureShape.new(name: 'ListStackInstancesInput') ListStackInstancesOutput = Shapes::StructureShape.new(name: 'ListStackInstancesOutput') ListStackRefactorActionsInput = Shapes::StructureShape.new(name: 'ListStackRefactorActionsInput') ListStackRefactorActionsOutput = Shapes::StructureShape.new(name: 'ListStackRefactorActionsOutput') ListStackRefactorsInput = Shapes::StructureShape.new(name: 'ListStackRefactorsInput') ListStackRefactorsOutput = Shapes::StructureShape.new(name: 'ListStackRefactorsOutput') ListStackResourcesInput = Shapes::StructureShape.new(name: 'ListStackResourcesInput') ListStackResourcesOutput = Shapes::StructureShape.new(name: 'ListStackResourcesOutput') ListStackSetAutoDeploymentTargetsInput = Shapes::StructureShape.new(name: 'ListStackSetAutoDeploymentTargetsInput') ListStackSetAutoDeploymentTargetsOutput = Shapes::StructureShape.new(name: 'ListStackSetAutoDeploymentTargetsOutput') ListStackSetOperationResultsInput = Shapes::StructureShape.new(name: 'ListStackSetOperationResultsInput') ListStackSetOperationResultsOutput = Shapes::StructureShape.new(name: 'ListStackSetOperationResultsOutput') ListStackSetOperationsInput = Shapes::StructureShape.new(name: 'ListStackSetOperationsInput') ListStackSetOperationsOutput = Shapes::StructureShape.new(name: 'ListStackSetOperationsOutput') ListStackSetsInput = Shapes::StructureShape.new(name: 'ListStackSetsInput') ListStackSetsOutput = Shapes::StructureShape.new(name: 'ListStackSetsOutput') ListStacksInput = Shapes::StructureShape.new(name: 'ListStacksInput') ListStacksOutput = Shapes::StructureShape.new(name: 'ListStacksOutput') ListTypeRegistrationsInput = Shapes::StructureShape.new(name: 'ListTypeRegistrationsInput') ListTypeRegistrationsOutput = Shapes::StructureShape.new(name: 'ListTypeRegistrationsOutput') ListTypeVersionsInput = Shapes::StructureShape.new(name: 'ListTypeVersionsInput') ListTypeVersionsOutput = Shapes::StructureShape.new(name: 'ListTypeVersionsOutput') ListTypesInput = Shapes::StructureShape.new(name: 'ListTypesInput') ListTypesOutput = Shapes::StructureShape.new(name: 'ListTypesOutput') LogGroupName = Shapes::StringShape.new(name: 'LogGroupName') LoggingConfig = Shapes::StructureShape.new(name: 'LoggingConfig') LogicalIdHierarchy = Shapes::StringShape.new(name: 'LogicalIdHierarchy') LogicalResourceId = Shapes::StringShape.new(name: 'LogicalResourceId') LogicalResourceIds = Shapes::ListShape.new(name: 'LogicalResourceIds') MajorVersion = Shapes::IntegerShape.new(name: 'MajorVersion') ManagedByStack = Shapes::BooleanShape.new(name: 'ManagedByStack') ManagedExecution = Shapes::StructureShape.new(name: 'ManagedExecution') ManagedExecutionNullable = Shapes::BooleanShape.new(name: 'ManagedExecutionNullable') MaxConcurrentCount = Shapes::IntegerShape.new(name: 'MaxConcurrentCount') MaxConcurrentPercentage = Shapes::IntegerShape.new(name: 'MaxConcurrentPercentage') MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') Metadata = Shapes::StringShape.new(name: 'Metadata') ModuleInfo = Shapes::StructureShape.new(name: 'ModuleInfo') MonitoringTimeInMinutes = Shapes::IntegerShape.new(name: 'MonitoringTimeInMinutes') NameAlreadyExistsException = Shapes::StructureShape.new(name: 'NameAlreadyExistsException', error: {"code" => "NameAlreadyExistsException", "httpStatusCode" => 409, "senderFault" => true}) NextToken = Shapes::StringShape.new(name: 'NextToken') NoEcho = Shapes::BooleanShape.new(name: 'NoEcho') NotificationARN = Shapes::StringShape.new(name: 'NotificationARN') NotificationARNs = Shapes::ListShape.new(name: 'NotificationARNs') NumberOfResources = Shapes::IntegerShape.new(name: 'NumberOfResources') OnFailure = Shapes::StringShape.new(name: 'OnFailure') OnStackFailure = Shapes::StringShape.new(name: 'OnStackFailure') OperationIdAlreadyExistsException = Shapes::StructureShape.new(name: 'OperationIdAlreadyExistsException', error: {"code" => "OperationIdAlreadyExistsException", "httpStatusCode" => 409, "senderFault" => true}) OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException', error: {"code" => "OperationInProgressException", "httpStatusCode" => 409, "senderFault" => true}) OperationNotFoundException = Shapes::StructureShape.new(name: 'OperationNotFoundException', error: {"code" => "OperationNotFoundException", "httpStatusCode" => 404, "senderFault" => true}) OperationResultFilter = Shapes::StructureShape.new(name: 'OperationResultFilter') OperationResultFilterName = Shapes::StringShape.new(name: 'OperationResultFilterName') OperationResultFilterValues = Shapes::StringShape.new(name: 'OperationResultFilterValues') OperationResultFilters = Shapes::ListShape.new(name: 'OperationResultFilters') OperationStatus = Shapes::StringShape.new(name: 'OperationStatus') OperationStatusCheckFailedException = Shapes::StructureShape.new(name: 'OperationStatusCheckFailedException', error: {"code" => "ConditionalCheckFailed", "httpStatusCode" => 400, "senderFault" => true}) OptionalSecureUrl = Shapes::StringShape.new(name: 'OptionalSecureUrl') OrganizationStatus = Shapes::StringShape.new(name: 'OrganizationStatus') OrganizationalUnitId = Shapes::StringShape.new(name: 'OrganizationalUnitId') OrganizationalUnitIdList = Shapes::ListShape.new(name: 'OrganizationalUnitIdList') Output = Shapes::StructureShape.new(name: 'Output') OutputKey = Shapes::StringShape.new(name: 'OutputKey') OutputValue = Shapes::StringShape.new(name: 'OutputValue') Outputs = Shapes::ListShape.new(name: 'Outputs') Parameter = Shapes::StructureShape.new(name: 'Parameter') ParameterConstraints = Shapes::StructureShape.new(name: 'ParameterConstraints') ParameterDeclaration = Shapes::StructureShape.new(name: 'ParameterDeclaration') ParameterDeclarations = Shapes::ListShape.new(name: 'ParameterDeclarations') ParameterKey = Shapes::StringShape.new(name: 'ParameterKey') ParameterType = Shapes::StringShape.new(name: 'ParameterType') ParameterValue = Shapes::StringShape.new(name: 'ParameterValue') Parameters = Shapes::ListShape.new(name: 'Parameters') PercentageCompleted = Shapes::FloatShape.new(name: 'PercentageCompleted') PermissionModels = Shapes::StringShape.new(name: 'PermissionModels') PhysicalResourceId = Shapes::StringShape.new(name: 'PhysicalResourceId') PhysicalResourceIdContext = Shapes::ListShape.new(name: 'PhysicalResourceIdContext') PhysicalResourceIdContextKeyValuePair = Shapes::StructureShape.new(name: 'PhysicalResourceIdContextKeyValuePair') PolicyAction = Shapes::StringShape.new(name: 'PolicyAction') PrivateTypeArn = Shapes::StringShape.new(name: 'PrivateTypeArn') Properties = Shapes::StringShape.new(name: 'Properties') PropertyDescription = Shapes::StringShape.new(name: 'PropertyDescription') PropertyDifference = Shapes::StructureShape.new(name: 'PropertyDifference') PropertyDifferences = Shapes::ListShape.new(name: 'PropertyDifferences') PropertyName = Shapes::StringShape.new(name: 'PropertyName') PropertyPath = Shapes::StringShape.new(name: 'PropertyPath') PropertyValue = Shapes::StringShape.new(name: 'PropertyValue') ProvisioningType = Shapes::StringShape.new(name: 'ProvisioningType') PublicVersionNumber = Shapes::StringShape.new(name: 'PublicVersionNumber') PublishTypeInput = Shapes::StructureShape.new(name: 'PublishTypeInput') PublishTypeOutput = Shapes::StructureShape.new(name: 'PublishTypeOutput') PublisherId = Shapes::StringShape.new(name: 'PublisherId') PublisherName = Shapes::StringShape.new(name: 'PublisherName') PublisherProfile = Shapes::StringShape.new(name: 'PublisherProfile') PublisherStatus = Shapes::StringShape.new(name: 'PublisherStatus') Reason = Shapes::StringShape.new(name: 'Reason') RecordHandlerProgressInput = Shapes::StructureShape.new(name: 'RecordHandlerProgressInput') RecordHandlerProgressOutput = Shapes::StructureShape.new(name: 'RecordHandlerProgressOutput') RefreshAllResources = Shapes::BooleanShape.new(name: 'RefreshAllResources') Region = Shapes::StringShape.new(name: 'Region') RegionConcurrencyType = Shapes::StringShape.new(name: 'RegionConcurrencyType') RegionList = Shapes::ListShape.new(name: 'RegionList') RegisterPublisherInput = Shapes::StructureShape.new(name: 'RegisterPublisherInput') RegisterPublisherOutput = Shapes::StructureShape.new(name: 'RegisterPublisherOutput') RegisterTypeInput = Shapes::StructureShape.new(name: 'RegisterTypeInput') RegisterTypeOutput = Shapes::StructureShape.new(name: 'RegisterTypeOutput') RegistrationStatus = Shapes::StringShape.new(name: 'RegistrationStatus') RegistrationToken = Shapes::StringShape.new(name: 'RegistrationToken') RegistrationTokenList = Shapes::ListShape.new(name: 'RegistrationTokenList') RegistryType = Shapes::StringShape.new(name: 'RegistryType') RelatedResources = Shapes::ListShape.new(name: 'RelatedResources') Replacement = Shapes::StringShape.new(name: 'Replacement') RequestToken = Shapes::StringShape.new(name: 'RequestToken') RequiredActivatedType = Shapes::StructureShape.new(name: 'RequiredActivatedType') RequiredActivatedTypes = Shapes::ListShape.new(name: 'RequiredActivatedTypes') RequiredProperty = Shapes::BooleanShape.new(name: 'RequiredProperty') RequiresRecreation = Shapes::StringShape.new(name: 'RequiresRecreation') ResourceAttribute = Shapes::StringShape.new(name: 'ResourceAttribute') ResourceChange = Shapes::StructureShape.new(name: 'ResourceChange') ResourceChangeDetail = Shapes::StructureShape.new(name: 'ResourceChangeDetail') ResourceChangeDetails = Shapes::ListShape.new(name: 'ResourceChangeDetails') ResourceDefinition = Shapes::StructureShape.new(name: 'ResourceDefinition') ResourceDefinitions = Shapes::ListShape.new(name: 'ResourceDefinitions') ResourceDetail = Shapes::StructureShape.new(name: 'ResourceDetail') ResourceDetails = Shapes::ListShape.new(name: 'ResourceDetails') ResourceIdentifier = Shapes::StringShape.new(name: 'ResourceIdentifier') ResourceIdentifierProperties = Shapes::MapShape.new(name: 'ResourceIdentifierProperties') ResourceIdentifierPropertyKey = Shapes::StringShape.new(name: 'ResourceIdentifierPropertyKey') ResourceIdentifierPropertyValue = Shapes::StringShape.new(name: 'ResourceIdentifierPropertyValue') ResourceIdentifierSummaries = Shapes::ListShape.new(name: 'ResourceIdentifierSummaries') ResourceIdentifierSummary = Shapes::StructureShape.new(name: 'ResourceIdentifierSummary') ResourceIdentifiers = Shapes::ListShape.new(name: 'ResourceIdentifiers') ResourceLocation = Shapes::StructureShape.new(name: 'ResourceLocation') ResourceMapping = Shapes::StructureShape.new(name: 'ResourceMapping') ResourceMappings = Shapes::ListShape.new(name: 'ResourceMappings') ResourceModel = Shapes::StringShape.new(name: 'ResourceModel') ResourceProperties = Shapes::StringShape.new(name: 'ResourceProperties') ResourcePropertyPath = Shapes::StringShape.new(name: 'ResourcePropertyPath') ResourceScanId = Shapes::StringShape.new(name: 'ResourceScanId') ResourceScanInProgressException = Shapes::StructureShape.new(name: 'ResourceScanInProgressException', error: {"code" => "ResourceScanInProgress", "httpStatusCode" => 400, "senderFault" => true}) ResourceScanLimitExceededException = Shapes::StructureShape.new(name: 'ResourceScanLimitExceededException', error: {"code" => "ResourceScanLimitExceeded", "httpStatusCode" => 400, "senderFault" => true}) ResourceScanNotFoundException = Shapes::StructureShape.new(name: 'ResourceScanNotFoundException', error: {"code" => "ResourceScanNotFound", "httpStatusCode" => 400, "senderFault" => true}) ResourceScanStatus = Shapes::StringShape.new(name: 'ResourceScanStatus') ResourceScanStatusReason = Shapes::StringShape.new(name: 'ResourceScanStatusReason') ResourceScanSummaries = Shapes::ListShape.new(name: 'ResourceScanSummaries') ResourceScanSummary = Shapes::StructureShape.new(name: 'ResourceScanSummary') ResourceScannerMaxResults = Shapes::IntegerShape.new(name: 'ResourceScannerMaxResults') ResourceSignalStatus = Shapes::StringShape.new(name: 'ResourceSignalStatus') ResourceSignalUniqueId = Shapes::StringShape.new(name: 'ResourceSignalUniqueId') ResourceStatus = Shapes::StringShape.new(name: 'ResourceStatus') ResourceStatusReason = Shapes::StringShape.new(name: 'ResourceStatusReason') ResourceTargetDefinition = Shapes::StructureShape.new(name: 'ResourceTargetDefinition') ResourceToImport = Shapes::StructureShape.new(name: 'ResourceToImport') ResourceToSkip = Shapes::StringShape.new(name: 'ResourceToSkip') ResourceType = Shapes::StringShape.new(name: 'ResourceType') ResourceTypeFilter = Shapes::StringShape.new(name: 'ResourceTypeFilter') ResourceTypeFilters = Shapes::ListShape.new(name: 'ResourceTypeFilters') ResourceTypePrefix = Shapes::StringShape.new(name: 'ResourceTypePrefix') ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes') ResourcesFailed = Shapes::IntegerShape.new(name: 'ResourcesFailed') ResourcesPending = Shapes::IntegerShape.new(name: 'ResourcesPending') ResourcesProcessing = Shapes::IntegerShape.new(name: 'ResourcesProcessing') ResourcesRead = Shapes::IntegerShape.new(name: 'ResourcesRead') ResourcesScanned = Shapes::IntegerShape.new(name: 'ResourcesScanned') ResourcesSucceeded = Shapes::IntegerShape.new(name: 'ResourcesSucceeded') ResourcesToImport = Shapes::ListShape.new(name: 'ResourcesToImport') ResourcesToSkip = Shapes::ListShape.new(name: 'ResourcesToSkip') RetainExceptOnCreate = Shapes::BooleanShape.new(name: 'RetainExceptOnCreate') RetainResources = Shapes::ListShape.new(name: 'RetainResources') RetainStacks = Shapes::BooleanShape.new(name: 'RetainStacks') RetainStacksNullable = Shapes::BooleanShape.new(name: 'RetainStacksNullable') RetainStacksOnAccountRemovalNullable = Shapes::BooleanShape.new(name: 'RetainStacksOnAccountRemovalNullable') RoleARN = Shapes::StringShape.new(name: 'RoleARN') RoleArn = Shapes::StringShape.new(name: 'RoleArn') RollbackConfiguration = Shapes::StructureShape.new(name: 'RollbackConfiguration') RollbackStackInput = Shapes::StructureShape.new(name: 'RollbackStackInput') RollbackStackOutput = Shapes::StructureShape.new(name: 'RollbackStackOutput') RollbackTrigger = Shapes::StructureShape.new(name: 'RollbackTrigger') RollbackTriggers = Shapes::ListShape.new(name: 'RollbackTriggers') S3Bucket = Shapes::StringShape.new(name: 'S3Bucket') S3Url = Shapes::StringShape.new(name: 'S3Url') ScanFilter = Shapes::StructureShape.new(name: 'ScanFilter') ScanFilters = Shapes::ListShape.new(name: 'ScanFilters') ScanType = Shapes::StringShape.new(name: 'ScanType') ScannedResource = Shapes::StructureShape.new(name: 'ScannedResource') ScannedResourceIdentifier = Shapes::StructureShape.new(name: 'ScannedResourceIdentifier') ScannedResourceIdentifiers = Shapes::ListShape.new(name: 'ScannedResourceIdentifiers') ScannedResources = Shapes::ListShape.new(name: 'ScannedResources') Scope = Shapes::ListShape.new(name: 'Scope') SetStackPolicyInput = Shapes::StructureShape.new(name: 'SetStackPolicyInput') SetTypeConfigurationInput = Shapes::StructureShape.new(name: 'SetTypeConfigurationInput') SetTypeConfigurationOutput = Shapes::StructureShape.new(name: 'SetTypeConfigurationOutput') SetTypeDefaultVersionInput = Shapes::StructureShape.new(name: 'SetTypeDefaultVersionInput') SetTypeDefaultVersionOutput = Shapes::StructureShape.new(name: 'SetTypeDefaultVersionOutput') SignalResourceInput = Shapes::StructureShape.new(name: 'SignalResourceInput') Stack = Shapes::StructureShape.new(name: 'Stack') StackDefinition = Shapes::StructureShape.new(name: 'StackDefinition') StackDefinitions = Shapes::ListShape.new(name: 'StackDefinitions') StackDriftDetectionId = Shapes::StringShape.new(name: 'StackDriftDetectionId') StackDriftDetectionStatus = Shapes::StringShape.new(name: 'StackDriftDetectionStatus') StackDriftDetectionStatusReason = Shapes::StringShape.new(name: 'StackDriftDetectionStatusReason') StackDriftInformation = Shapes::StructureShape.new(name: 'StackDriftInformation') StackDriftInformationSummary = Shapes::StructureShape.new(name: 'StackDriftInformationSummary') StackDriftStatus = Shapes::StringShape.new(name: 'StackDriftStatus') StackEvent = Shapes::StructureShape.new(name: 'StackEvent') StackEvents = Shapes::ListShape.new(name: 'StackEvents') StackId = Shapes::StringShape.new(name: 'StackId') StackIdList = Shapes::ListShape.new(name: 'StackIdList') StackIds = Shapes::ListShape.new(name: 'StackIds') StackIdsUrl = Shapes::StringShape.new(name: 'StackIdsUrl') StackInstance = Shapes::StructureShape.new(name: 'StackInstance') StackInstanceComprehensiveStatus = Shapes::StructureShape.new(name: 'StackInstanceComprehensiveStatus') StackInstanceDetailedStatus = Shapes::StringShape.new(name: 'StackInstanceDetailedStatus') StackInstanceFilter = Shapes::StructureShape.new(name: 'StackInstanceFilter') StackInstanceFilterName = Shapes::StringShape.new(name: 'StackInstanceFilterName') StackInstanceFilterValues = Shapes::StringShape.new(name: 'StackInstanceFilterValues') StackInstanceFilters = Shapes::ListShape.new(name: 'StackInstanceFilters') StackInstanceNotFoundException = Shapes::StructureShape.new(name: 'StackInstanceNotFoundException', error: {"code" => "StackInstanceNotFoundException", "httpStatusCode" => 404, "senderFault" => true}) StackInstanceResourceDriftsSummaries = Shapes::ListShape.new(name: 'StackInstanceResourceDriftsSummaries') StackInstanceResourceDriftsSummary = Shapes::StructureShape.new(name: 'StackInstanceResourceDriftsSummary') StackInstanceStatus = Shapes::StringShape.new(name: 'StackInstanceStatus') StackInstanceSummaries = Shapes::ListShape.new(name: 'StackInstanceSummaries') StackInstanceSummary = Shapes::StructureShape.new(name: 'StackInstanceSummary') StackName = Shapes::StringShape.new(name: 'StackName') StackNameOrId = Shapes::StringShape.new(name: 'StackNameOrId') StackNotFoundException = Shapes::StructureShape.new(name: 'StackNotFoundException', error: {"code" => "StackNotFoundException", "httpStatusCode" => 404, "senderFault" => true}) StackPolicyBody = Shapes::StringShape.new(name: 'StackPolicyBody') StackPolicyDuringUpdateBody = Shapes::StringShape.new(name: 'StackPolicyDuringUpdateBody') StackPolicyDuringUpdateURL = Shapes::StringShape.new(name: 'StackPolicyDuringUpdateURL') StackPolicyURL = Shapes::StringShape.new(name: 'StackPolicyURL') StackRefactorAction = Shapes::StructureShape.new(name: 'StackRefactorAction') StackRefactorActionEntity = Shapes::StringShape.new(name: 'StackRefactorActionEntity') StackRefactorActionType = Shapes::StringShape.new(name: 'StackRefactorActionType') StackRefactorActions = Shapes::ListShape.new(name: 'StackRefactorActions') StackRefactorDetection = Shapes::StringShape.new(name: 'StackRefactorDetection') StackRefactorExecutionStatus = Shapes::StringShape.new(name: 'StackRefactorExecutionStatus') StackRefactorExecutionStatusFilter = Shapes::ListShape.new(name: 'StackRefactorExecutionStatusFilter') StackRefactorId = Shapes::StringShape.new(name: 'StackRefactorId') StackRefactorNotFoundException = Shapes::StructureShape.new(name: 'StackRefactorNotFoundException', error: {"code" => "StackRefactorNotFoundException", "httpStatusCode" => 404, "senderFault" => true}) StackRefactorResourceIdentifier = Shapes::StringShape.new(name: 'StackRefactorResourceIdentifier') StackRefactorStatus = Shapes::StringShape.new(name: 'StackRefactorStatus') StackRefactorStatusReason = Shapes::StringShape.new(name: 'StackRefactorStatusReason') StackRefactorSummaries = Shapes::ListShape.new(name: 'StackRefactorSummaries') StackRefactorSummary = Shapes::StructureShape.new(name: 'StackRefactorSummary') StackRefactorTagResources = Shapes::ListShape.new(name: 'StackRefactorTagResources') StackRefactorUntagResources = Shapes::ListShape.new(name: 'StackRefactorUntagResources') StackResource = Shapes::StructureShape.new(name: 'StackResource') StackResourceDetail = Shapes::StructureShape.new(name: 'StackResourceDetail') StackResourceDrift = Shapes::StructureShape.new(name: 'StackResourceDrift') StackResourceDriftInformation = Shapes::StructureShape.new(name: 'StackResourceDriftInformation') StackResourceDriftInformationSummary = Shapes::StructureShape.new(name: 'StackResourceDriftInformationSummary') StackResourceDriftStatus = Shapes::StringShape.new(name: 'StackResourceDriftStatus') StackResourceDriftStatusFilters = Shapes::ListShape.new(name: 'StackResourceDriftStatusFilters') StackResourceDriftStatusReason = Shapes::StringShape.new(name: 'StackResourceDriftStatusReason') StackResourceDrifts = Shapes::ListShape.new(name: 'StackResourceDrifts') StackResourceSummaries = Shapes::ListShape.new(name: 'StackResourceSummaries') StackResourceSummary = Shapes::StructureShape.new(name: 'StackResourceSummary') StackResources = Shapes::ListShape.new(name: 'StackResources') StackSet = Shapes::StructureShape.new(name: 'StackSet') StackSetARN = Shapes::StringShape.new(name: 'StackSetARN') StackSetAutoDeploymentTargetSummaries = Shapes::ListShape.new(name: 'StackSetAutoDeploymentTargetSummaries') StackSetAutoDeploymentTargetSummary = Shapes::StructureShape.new(name: 'StackSetAutoDeploymentTargetSummary') StackSetDriftDetectionDetails = Shapes::StructureShape.new(name: 'StackSetDriftDetectionDetails') StackSetDriftDetectionStatus = Shapes::StringShape.new(name: 'StackSetDriftDetectionStatus') StackSetDriftStatus = Shapes::StringShape.new(name: 'StackSetDriftStatus') StackSetId = Shapes::StringShape.new(name: 'StackSetId') StackSetName = Shapes::StringShape.new(name: 'StackSetName') StackSetNameOrId = Shapes::StringShape.new(name: 'StackSetNameOrId') StackSetNotEmptyException = Shapes::StructureShape.new(name: 'StackSetNotEmptyException', error: {"code" => "StackSetNotEmptyException", "httpStatusCode" => 409, "senderFault" => true}) StackSetNotFoundException = Shapes::StructureShape.new(name: 'StackSetNotFoundException', error: {"code" => "StackSetNotFoundException", "httpStatusCode" => 404, "senderFault" => true}) StackSetOperation = Shapes::StructureShape.new(name: 'StackSetOperation') StackSetOperationAction = Shapes::StringShape.new(name: 'StackSetOperationAction') StackSetOperationPreferences = Shapes::StructureShape.new(name: 'StackSetOperationPreferences') StackSetOperationResultStatus = Shapes::StringShape.new(name: 'StackSetOperationResultStatus') StackSetOperationResultSummaries = Shapes::ListShape.new(name: 'StackSetOperationResultSummaries') StackSetOperationResultSummary = Shapes::StructureShape.new(name: 'StackSetOperationResultSummary') StackSetOperationStatus = Shapes::StringShape.new(name: 'StackSetOperationStatus') StackSetOperationStatusDetails = Shapes::StructureShape.new(name: 'StackSetOperationStatusDetails') StackSetOperationStatusReason = Shapes::StringShape.new(name: 'StackSetOperationStatusReason') StackSetOperationSummaries = Shapes::ListShape.new(name: 'StackSetOperationSummaries') StackSetOperationSummary = Shapes::StructureShape.new(name: 'StackSetOperationSummary') StackSetStatus = Shapes::StringShape.new(name: 'StackSetStatus') StackSetSummaries = Shapes::ListShape.new(name: 'StackSetSummaries') StackSetSummary = Shapes::StructureShape.new(name: 'StackSetSummary') StackStatus = Shapes::StringShape.new(name: 'StackStatus') StackStatusFilter = Shapes::ListShape.new(name: 'StackStatusFilter') StackStatusReason = Shapes::StringShape.new(name: 'StackStatusReason') StackSummaries = Shapes::ListShape.new(name: 'StackSummaries') StackSummary = Shapes::StructureShape.new(name: 'StackSummary') Stacks = Shapes::ListShape.new(name: 'Stacks') StageList = Shapes::ListShape.new(name: 'StageList') StaleRequestException = Shapes::StructureShape.new(name: 'StaleRequestException', error: {"code" => "StaleRequestException", "httpStatusCode" => 409, "senderFault" => true}) StartResourceScanInput = Shapes::StructureShape.new(name: 'StartResourceScanInput') StartResourceScanOutput = Shapes::StructureShape.new(name: 'StartResourceScanOutput') StatusMessage = Shapes::StringShape.new(name: 'StatusMessage') StopStackSetOperationInput = Shapes::StructureShape.new(name: 'StopStackSetOperationInput') StopStackSetOperationOutput = Shapes::StructureShape.new(name: 'StopStackSetOperationOutput') SupportedMajorVersion = Shapes::IntegerShape.new(name: 'SupportedMajorVersion') SupportedMajorVersions = Shapes::ListShape.new(name: 'SupportedMajorVersions') Tag = Shapes::StructureShape.new(name: 'Tag') TagKey = Shapes::StringShape.new(name: 'TagKey') TagValue = Shapes::StringShape.new(name: 'TagValue') Tags = Shapes::ListShape.new(name: 'Tags') TemplateBody = Shapes::StringShape.new(name: 'TemplateBody') TemplateConfiguration = Shapes::StructureShape.new(name: 'TemplateConfiguration') TemplateDescription = Shapes::StringShape.new(name: 'TemplateDescription') TemplateFormat = Shapes::StringShape.new(name: 'TemplateFormat') TemplateParameter = Shapes::StructureShape.new(name: 'TemplateParameter') TemplateParameters = Shapes::ListShape.new(name: 'TemplateParameters') TemplateProgress = Shapes::StructureShape.new(name: 'TemplateProgress') TemplateStage = Shapes::StringShape.new(name: 'TemplateStage') TemplateStatusReason = Shapes::StringShape.new(name: 'TemplateStatusReason') TemplateSummaries = Shapes::ListShape.new(name: 'TemplateSummaries') TemplateSummary = Shapes::StructureShape.new(name: 'TemplateSummary') TemplateSummaryConfig = Shapes::StructureShape.new(name: 'TemplateSummaryConfig') TemplateURL = Shapes::StringShape.new(name: 'TemplateURL') TestTypeInput = Shapes::StructureShape.new(name: 'TestTypeInput') TestTypeOutput = Shapes::StructureShape.new(name: 'TestTypeOutput') ThirdPartyType = Shapes::StringShape.new(name: 'ThirdPartyType') ThirdPartyTypeArn = Shapes::StringShape.new(name: 'ThirdPartyTypeArn') TimeoutMinutes = Shapes::IntegerShape.new(name: 'TimeoutMinutes') Timestamp = Shapes::TimestampShape.new(name: 'Timestamp') TokenAlreadyExistsException = Shapes::StructureShape.new(name: 'TokenAlreadyExistsException', error: {"code" => "TokenAlreadyExistsException", "httpStatusCode" => 400, "senderFault" => true}) TotalStackInstancesCount = Shapes::IntegerShape.new(name: 'TotalStackInstancesCount') TotalWarnings = Shapes::IntegerShape.new(name: 'TotalWarnings') TransformName = Shapes::StringShape.new(name: 'TransformName') TransformsList = Shapes::ListShape.new(name: 'TransformsList') TreatUnrecognizedResourceTypesAsWarnings = Shapes::BooleanShape.new(name: 'TreatUnrecognizedResourceTypesAsWarnings') Type = Shapes::StringShape.new(name: 'Type') TypeArn = Shapes::StringShape.new(name: 'TypeArn') TypeConfiguration = Shapes::StringShape.new(name: 'TypeConfiguration') TypeConfigurationAlias = Shapes::StringShape.new(name: 'TypeConfigurationAlias') TypeConfigurationArn = Shapes::StringShape.new(name: 'TypeConfigurationArn') TypeConfigurationDetails = Shapes::StructureShape.new(name: 'TypeConfigurationDetails') TypeConfigurationDetailsList = Shapes::ListShape.new(name: 'TypeConfigurationDetailsList') TypeConfigurationIdentifier = Shapes::StructureShape.new(name: 'TypeConfigurationIdentifier') TypeConfigurationIdentifiers = Shapes::ListShape.new(name: 'TypeConfigurationIdentifiers') TypeConfigurationNotFoundException = Shapes::StructureShape.new(name: 'TypeConfigurationNotFoundException', error: {"code" => "TypeConfigurationNotFoundException", "httpStatusCode" => 404, "senderFault" => true}) TypeFilters = Shapes::StructureShape.new(name: 'TypeFilters') TypeHierarchy = Shapes::StringShape.new(name: 'TypeHierarchy') TypeName = Shapes::StringShape.new(name: 'TypeName') TypeNamePrefix = Shapes::StringShape.new(name: 'TypeNamePrefix') TypeNotFoundException = Shapes::StructureShape.new(name: 'TypeNotFoundException', error: {"code" => "TypeNotFoundException", "httpStatusCode" => 404, "senderFault" => true}) TypeSchema = Shapes::StringShape.new(name: 'TypeSchema') TypeSummaries = Shapes::ListShape.new(name: 'TypeSummaries') TypeSummary = Shapes::StructureShape.new(name: 'TypeSummary') TypeTestsStatus = Shapes::StringShape.new(name: 'TypeTestsStatus') TypeTestsStatusDescription = Shapes::StringShape.new(name: 'TypeTestsStatusDescription') TypeVersionId = Shapes::StringShape.new(name: 'TypeVersionId') TypeVersionSummaries = Shapes::ListShape.new(name: 'TypeVersionSummaries') TypeVersionSummary = Shapes::StructureShape.new(name: 'TypeVersionSummary') UnprocessedTypeConfigurations = Shapes::ListShape.new(name: 'UnprocessedTypeConfigurations') UpdateGeneratedTemplateInput = Shapes::StructureShape.new(name: 'UpdateGeneratedTemplateInput') UpdateGeneratedTemplateOutput = Shapes::StructureShape.new(name: 'UpdateGeneratedTemplateOutput') UpdateStackInput = Shapes::StructureShape.new(name: 'UpdateStackInput') UpdateStackInstancesInput = Shapes::StructureShape.new(name: 'UpdateStackInstancesInput') UpdateStackInstancesOutput = Shapes::StructureShape.new(name: 'UpdateStackInstancesOutput') UpdateStackOutput = Shapes::StructureShape.new(name: 'UpdateStackOutput') UpdateStackSetInput = Shapes::StructureShape.new(name: 'UpdateStackSetInput') UpdateStackSetOutput = Shapes::StructureShape.new(name: 'UpdateStackSetOutput') UpdateTerminationProtectionInput = Shapes::StructureShape.new(name: 'UpdateTerminationProtectionInput') UpdateTerminationProtectionOutput = Shapes::StructureShape.new(name: 'UpdateTerminationProtectionOutput') Url = Shapes::StringShape.new(name: 'Url') UsePreviousTemplate = Shapes::BooleanShape.new(name: 'UsePreviousTemplate') UsePreviousValue = Shapes::BooleanShape.new(name: 'UsePreviousValue') ValidateTemplateInput = Shapes::StructureShape.new(name: 'ValidateTemplateInput') ValidateTemplateOutput = Shapes::StructureShape.new(name: 'ValidateTemplateOutput') Value = Shapes::StringShape.new(name: 'Value') Version = Shapes::StringShape.new(name: 'Version') VersionBump = Shapes::StringShape.new(name: 'VersionBump') Visibility = Shapes::StringShape.new(name: 'Visibility') WarningDetail = Shapes::StructureShape.new(name: 'WarningDetail') WarningDetails = Shapes::ListShape.new(name: 'WarningDetails') WarningProperties = Shapes::ListShape.new(name: 'WarningProperties') WarningProperty = Shapes::StructureShape.new(name: 'WarningProperty') WarningType = Shapes::StringShape.new(name: 'WarningType') Warnings = Shapes::StructureShape.new(name: 'Warnings') AccountGateResult.add_member(:status, Shapes::ShapeRef.new(shape: AccountGateStatus, location_name: "Status")) AccountGateResult.add_member(:status_reason, Shapes::ShapeRef.new(shape: AccountGateStatusReason, location_name: "StatusReason")) AccountGateResult.struct_class = Types::AccountGateResult AccountLimit.add_member(:name, Shapes::ShapeRef.new(shape: LimitName, location_name: "Name")) AccountLimit.add_member(:value, Shapes::ShapeRef.new(shape: LimitValue, location_name: "Value")) AccountLimit.struct_class = Types::AccountLimit AccountLimitList.member = Shapes::ShapeRef.new(shape: AccountLimit) AccountList.member = Shapes::ShapeRef.new(shape: Account) ActivateOrganizationsAccessInput.struct_class = Types::ActivateOrganizationsAccessInput ActivateOrganizationsAccessOutput.struct_class = Types::ActivateOrganizationsAccessOutput ActivateTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: ThirdPartyType, location_name: "Type")) ActivateTypeInput.add_member(:public_type_arn, Shapes::ShapeRef.new(shape: ThirdPartyTypeArn, location_name: "PublicTypeArn")) ActivateTypeInput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) ActivateTypeInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) ActivateTypeInput.add_member(:type_name_alias, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeNameAlias")) ActivateTypeInput.add_member(:auto_update, Shapes::ShapeRef.new(shape: AutoUpdate, location_name: "AutoUpdate")) ActivateTypeInput.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig")) ActivateTypeInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn")) ActivateTypeInput.add_member(:version_bump, Shapes::ShapeRef.new(shape: VersionBump, location_name: "VersionBump")) ActivateTypeInput.add_member(:major_version, Shapes::ShapeRef.new(shape: MajorVersion, location_name: "MajorVersion")) ActivateTypeInput.struct_class = Types::ActivateTypeInput ActivateTypeOutput.add_member(:arn, Shapes::ShapeRef.new(shape: PrivateTypeArn, location_name: "Arn")) ActivateTypeOutput.struct_class = Types::ActivateTypeOutput AllowedValues.member = Shapes::ShapeRef.new(shape: AllowedValue) AlreadyExistsException.struct_class = Types::AlreadyExistsException AutoDeployment.add_member(:enabled, Shapes::ShapeRef.new(shape: AutoDeploymentNullable, location_name: "Enabled")) AutoDeployment.add_member(:retain_stacks_on_account_removal, Shapes::ShapeRef.new(shape: RetainStacksOnAccountRemovalNullable, location_name: "RetainStacksOnAccountRemoval")) AutoDeployment.struct_class = Types::AutoDeployment BatchDescribeTypeConfigurationsError.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode")) BatchDescribeTypeConfigurationsError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage")) BatchDescribeTypeConfigurationsError.add_member(:type_configuration_identifier, Shapes::ShapeRef.new(shape: TypeConfigurationIdentifier, location_name: "TypeConfigurationIdentifier")) BatchDescribeTypeConfigurationsError.struct_class = Types::BatchDescribeTypeConfigurationsError BatchDescribeTypeConfigurationsErrors.member = Shapes::ShapeRef.new(shape: BatchDescribeTypeConfigurationsError) BatchDescribeTypeConfigurationsInput.add_member(:type_configuration_identifiers, Shapes::ShapeRef.new(shape: TypeConfigurationIdentifiers, required: true, location_name: "TypeConfigurationIdentifiers")) BatchDescribeTypeConfigurationsInput.struct_class = Types::BatchDescribeTypeConfigurationsInput BatchDescribeTypeConfigurationsOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchDescribeTypeConfigurationsErrors, location_name: "Errors")) BatchDescribeTypeConfigurationsOutput.add_member(:unprocessed_type_configurations, Shapes::ShapeRef.new(shape: UnprocessedTypeConfigurations, location_name: "UnprocessedTypeConfigurations")) BatchDescribeTypeConfigurationsOutput.add_member(:type_configurations, Shapes::ShapeRef.new(shape: TypeConfigurationDetailsList, location_name: "TypeConfigurations")) BatchDescribeTypeConfigurationsOutput.struct_class = Types::BatchDescribeTypeConfigurationsOutput CFNRegistryException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) CFNRegistryException.struct_class = Types::CFNRegistryException CancelUpdateStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) CancelUpdateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) CancelUpdateStackInput.struct_class = Types::CancelUpdateStackInput Capabilities.member = Shapes::ShapeRef.new(shape: Capability) Change.add_member(:type, Shapes::ShapeRef.new(shape: ChangeType, location_name: "Type")) Change.add_member(:hook_invocation_count, Shapes::ShapeRef.new(shape: HookInvocationCount, location_name: "HookInvocationCount")) Change.add_member(:resource_change, Shapes::ShapeRef.new(shape: ResourceChange, location_name: "ResourceChange")) Change.struct_class = Types::Change ChangeSetHook.add_member(:invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "InvocationPoint")) ChangeSetHook.add_member(:failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "FailureMode")) ChangeSetHook.add_member(:type_name, Shapes::ShapeRef.new(shape: HookTypeName, location_name: "TypeName")) ChangeSetHook.add_member(:type_version_id, Shapes::ShapeRef.new(shape: HookTypeVersionId, location_name: "TypeVersionId")) ChangeSetHook.add_member(:type_configuration_version_id, Shapes::ShapeRef.new(shape: HookTypeConfigurationVersionId, location_name: "TypeConfigurationVersionId")) ChangeSetHook.add_member(:target_details, Shapes::ShapeRef.new(shape: ChangeSetHookTargetDetails, location_name: "TargetDetails")) ChangeSetHook.struct_class = Types::ChangeSetHook ChangeSetHookResourceTargetDetails.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, location_name: "LogicalResourceId")) ChangeSetHookResourceTargetDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: HookTargetTypeName, location_name: "ResourceType")) ChangeSetHookResourceTargetDetails.add_member(:resource_action, Shapes::ShapeRef.new(shape: ChangeAction, location_name: "ResourceAction")) ChangeSetHookResourceTargetDetails.struct_class = Types::ChangeSetHookResourceTargetDetails ChangeSetHookTargetDetails.add_member(:target_type, Shapes::ShapeRef.new(shape: HookTargetType, location_name: "TargetType")) ChangeSetHookTargetDetails.add_member(:resource_target_details, Shapes::ShapeRef.new(shape: ChangeSetHookResourceTargetDetails, location_name: "ResourceTargetDetails")) ChangeSetHookTargetDetails.struct_class = Types::ChangeSetHookTargetDetails ChangeSetHooks.member = Shapes::ShapeRef.new(shape: ChangeSetHook) ChangeSetNotFoundException.struct_class = Types::ChangeSetNotFoundException ChangeSetSummaries.member = Shapes::ShapeRef.new(shape: ChangeSetSummary) ChangeSetSummary.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) ChangeSetSummary.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) ChangeSetSummary.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ChangeSetId")) ChangeSetSummary.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, location_name: "ChangeSetName")) ChangeSetSummary.add_member(:execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "ExecutionStatus")) ChangeSetSummary.add_member(:status, Shapes::ShapeRef.new(shape: ChangeSetStatus, location_name: "Status")) ChangeSetSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: ChangeSetStatusReason, location_name: "StatusReason")) ChangeSetSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime")) ChangeSetSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) ChangeSetSummary.add_member(:include_nested_stacks, Shapes::ShapeRef.new(shape: IncludeNestedStacks, location_name: "IncludeNestedStacks")) ChangeSetSummary.add_member(:parent_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ParentChangeSetId")) ChangeSetSummary.add_member(:root_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "RootChangeSetId")) ChangeSetSummary.add_member(:import_existing_resources, Shapes::ShapeRef.new(shape: ImportExistingResources, location_name: "ImportExistingResources")) ChangeSetSummary.struct_class = Types::ChangeSetSummary Changes.member = Shapes::ShapeRef.new(shape: Change) ConcurrentResourcesLimitExceededException.struct_class = Types::ConcurrentResourcesLimitExceededException ContinueUpdateRollbackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) ContinueUpdateRollbackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN")) ContinueUpdateRollbackInput.add_member(:resources_to_skip, Shapes::ShapeRef.new(shape: ResourcesToSkip, location_name: "ResourcesToSkip")) ContinueUpdateRollbackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) ContinueUpdateRollbackInput.struct_class = Types::ContinueUpdateRollbackInput ContinueUpdateRollbackOutput.struct_class = Types::ContinueUpdateRollbackOutput CreateChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) CreateChangeSetInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) CreateChangeSetInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) CreateChangeSetInput.add_member(:use_previous_template, Shapes::ShapeRef.new(shape: UsePreviousTemplate, location_name: "UsePreviousTemplate")) CreateChangeSetInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) CreateChangeSetInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) CreateChangeSetInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes")) CreateChangeSetInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN")) CreateChangeSetInput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration")) CreateChangeSetInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs")) CreateChangeSetInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) CreateChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, required: true, location_name: "ChangeSetName")) CreateChangeSetInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken")) CreateChangeSetInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) CreateChangeSetInput.add_member(:change_set_type, Shapes::ShapeRef.new(shape: ChangeSetType, location_name: "ChangeSetType")) CreateChangeSetInput.add_member(:resources_to_import, Shapes::ShapeRef.new(shape: ResourcesToImport, location_name: "ResourcesToImport")) CreateChangeSetInput.add_member(:include_nested_stacks, Shapes::ShapeRef.new(shape: IncludeNestedStacks, location_name: "IncludeNestedStacks")) CreateChangeSetInput.add_member(:on_stack_failure, Shapes::ShapeRef.new(shape: OnStackFailure, location_name: "OnStackFailure")) CreateChangeSetInput.add_member(:import_existing_resources, Shapes::ShapeRef.new(shape: ImportExistingResources, location_name: "ImportExistingResources")) CreateChangeSetInput.struct_class = Types::CreateChangeSetInput CreateChangeSetOutput.add_member(:id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "Id")) CreateChangeSetOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) CreateChangeSetOutput.struct_class = Types::CreateChangeSetOutput CreateGeneratedTemplateInput.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceDefinitions, location_name: "Resources")) CreateGeneratedTemplateInput.add_member(:generated_template_name, Shapes::ShapeRef.new(shape: GeneratedTemplateName, required: true, location_name: "GeneratedTemplateName")) CreateGeneratedTemplateInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) CreateGeneratedTemplateInput.add_member(:template_configuration, Shapes::ShapeRef.new(shape: TemplateConfiguration, location_name: "TemplateConfiguration")) CreateGeneratedTemplateInput.struct_class = Types::CreateGeneratedTemplateInput CreateGeneratedTemplateOutput.add_member(:generated_template_id, Shapes::ShapeRef.new(shape: GeneratedTemplateId, location_name: "GeneratedTemplateId")) CreateGeneratedTemplateOutput.struct_class = Types::CreateGeneratedTemplateOutput CreateStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) CreateStackInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) CreateStackInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) CreateStackInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) CreateStackInput.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback")) CreateStackInput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration")) CreateStackInput.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeoutMinutes, location_name: "TimeoutInMinutes")) CreateStackInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs")) CreateStackInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) CreateStackInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes")) CreateStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN")) CreateStackInput.add_member(:on_failure, Shapes::ShapeRef.new(shape: OnFailure, location_name: "OnFailure")) CreateStackInput.add_member(:stack_policy_body, Shapes::ShapeRef.new(shape: StackPolicyBody, location_name: "StackPolicyBody")) CreateStackInput.add_member(:stack_policy_url, Shapes::ShapeRef.new(shape: StackPolicyURL, location_name: "StackPolicyURL")) CreateStackInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) CreateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) CreateStackInput.add_member(:enable_termination_protection, Shapes::ShapeRef.new(shape: EnableTerminationProtection, location_name: "EnableTerminationProtection")) CreateStackInput.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate")) CreateStackInput.struct_class = Types::CreateStackInput CreateStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) CreateStackInstancesInput.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountList, location_name: "Accounts")) CreateStackInstancesInput.add_member(:deployment_targets, Shapes::ShapeRef.new(shape: DeploymentTargets, location_name: "DeploymentTargets")) CreateStackInstancesInput.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "Regions")) CreateStackInstancesInput.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: Parameters, location_name: "ParameterOverrides")) CreateStackInstancesInput.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences")) CreateStackInstancesInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId", metadata: {"idempotencyToken" => true})) CreateStackInstancesInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) CreateStackInstancesInput.struct_class = Types::CreateStackInstancesInput CreateStackInstancesOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId")) CreateStackInstancesOutput.struct_class = Types::CreateStackInstancesOutput CreateStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) CreateStackOutput.struct_class = Types::CreateStackOutput CreateStackRefactorInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) CreateStackRefactorInput.add_member(:enable_stack_creation, Shapes::ShapeRef.new(shape: EnableStackCreation, location_name: "EnableStackCreation")) CreateStackRefactorInput.add_member(:resource_mappings, Shapes::ShapeRef.new(shape: ResourceMappings, location_name: "ResourceMappings")) CreateStackRefactorInput.add_member(:stack_definitions, Shapes::ShapeRef.new(shape: StackDefinitions, required: true, location_name: "StackDefinitions")) CreateStackRefactorInput.struct_class = Types::CreateStackRefactorInput CreateStackRefactorOutput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, required: true, location_name: "StackRefactorId")) CreateStackRefactorOutput.struct_class = Types::CreateStackRefactorOutput CreateStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) CreateStackSetInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) CreateStackSetInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) CreateStackSetInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) CreateStackSetInput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) CreateStackSetInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) CreateStackSetInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) CreateStackSetInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) CreateStackSetInput.add_member(:administration_role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "AdministrationRoleARN")) CreateStackSetInput.add_member(:execution_role_name, Shapes::ShapeRef.new(shape: ExecutionRoleName, location_name: "ExecutionRoleName")) CreateStackSetInput.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModels, location_name: "PermissionModel")) CreateStackSetInput.add_member(:auto_deployment, Shapes::ShapeRef.new(shape: AutoDeployment, location_name: "AutoDeployment")) CreateStackSetInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) CreateStackSetInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken", metadata: {"idempotencyToken" => true})) CreateStackSetInput.add_member(:managed_execution, Shapes::ShapeRef.new(shape: ManagedExecution, location_name: "ManagedExecution")) CreateStackSetInput.struct_class = Types::CreateStackSetInput CreateStackSetOutput.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId")) CreateStackSetOutput.struct_class = Types::CreateStackSetOutput CreatedButModifiedException.struct_class = Types::CreatedButModifiedException DeactivateOrganizationsAccessInput.struct_class = Types::DeactivateOrganizationsAccessInput DeactivateOrganizationsAccessOutput.struct_class = Types::DeactivateOrganizationsAccessOutput DeactivateTypeInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) DeactivateTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: ThirdPartyType, location_name: "Type")) DeactivateTypeInput.add_member(:arn, Shapes::ShapeRef.new(shape: PrivateTypeArn, location_name: "Arn")) DeactivateTypeInput.struct_class = Types::DeactivateTypeInput DeactivateTypeOutput.struct_class = Types::DeactivateTypeOutput DeleteChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, required: true, location_name: "ChangeSetName")) DeleteChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName")) DeleteChangeSetInput.struct_class = Types::DeleteChangeSetInput DeleteChangeSetOutput.struct_class = Types::DeleteChangeSetOutput DeleteGeneratedTemplateInput.add_member(:generated_template_name, Shapes::ShapeRef.new(shape: GeneratedTemplateName, required: true, location_name: "GeneratedTemplateName")) DeleteGeneratedTemplateInput.struct_class = Types::DeleteGeneratedTemplateInput DeleteStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) DeleteStackInput.add_member(:retain_resources, Shapes::ShapeRef.new(shape: RetainResources, location_name: "RetainResources")) DeleteStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN")) DeleteStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) DeleteStackInput.add_member(:deletion_mode, Shapes::ShapeRef.new(shape: DeletionMode, location_name: "DeletionMode")) DeleteStackInput.struct_class = Types::DeleteStackInput DeleteStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) DeleteStackInstancesInput.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountList, location_name: "Accounts")) DeleteStackInstancesInput.add_member(:deployment_targets, Shapes::ShapeRef.new(shape: DeploymentTargets, location_name: "DeploymentTargets")) DeleteStackInstancesInput.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "Regions")) DeleteStackInstancesInput.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences")) DeleteStackInstancesInput.add_member(:retain_stacks, Shapes::ShapeRef.new(shape: RetainStacks, required: true, location_name: "RetainStacks")) DeleteStackInstancesInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId", metadata: {"idempotencyToken" => true})) DeleteStackInstancesInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) DeleteStackInstancesInput.struct_class = Types::DeleteStackInstancesInput DeleteStackInstancesOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId")) DeleteStackInstancesOutput.struct_class = Types::DeleteStackInstancesOutput DeleteStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) DeleteStackSetInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) DeleteStackSetInput.struct_class = Types::DeleteStackSetInput DeleteStackSetOutput.struct_class = Types::DeleteStackSetOutput DeploymentTargets.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountList, location_name: "Accounts")) DeploymentTargets.add_member(:accounts_url, Shapes::ShapeRef.new(shape: AccountsUrl, location_name: "AccountsUrl")) DeploymentTargets.add_member(:organizational_unit_ids, Shapes::ShapeRef.new(shape: OrganizationalUnitIdList, location_name: "OrganizationalUnitIds")) DeploymentTargets.add_member(:account_filter_type, Shapes::ShapeRef.new(shape: AccountFilterType, location_name: "AccountFilterType")) DeploymentTargets.struct_class = Types::DeploymentTargets DeregisterTypeInput.add_member(:arn, Shapes::ShapeRef.new(shape: PrivateTypeArn, location_name: "Arn")) DeregisterTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) DeregisterTypeInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) DeregisterTypeInput.add_member(:version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "VersionId")) DeregisterTypeInput.struct_class = Types::DeregisterTypeInput DeregisterTypeOutput.struct_class = Types::DeregisterTypeOutput DescribeAccountLimitsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeAccountLimitsInput.struct_class = Types::DescribeAccountLimitsInput DescribeAccountLimitsOutput.add_member(:account_limits, Shapes::ShapeRef.new(shape: AccountLimitList, location_name: "AccountLimits")) DescribeAccountLimitsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeAccountLimitsOutput.struct_class = Types::DescribeAccountLimitsOutput DescribeChangeSetHooksInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, required: true, location_name: "ChangeSetName")) DescribeChangeSetHooksInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName")) DescribeChangeSetHooksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeChangeSetHooksInput.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, location_name: "LogicalResourceId")) DescribeChangeSetHooksInput.struct_class = Types::DescribeChangeSetHooksInput DescribeChangeSetHooksOutput.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ChangeSetId")) DescribeChangeSetHooksOutput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, location_name: "ChangeSetName")) DescribeChangeSetHooksOutput.add_member(:hooks, Shapes::ShapeRef.new(shape: ChangeSetHooks, location_name: "Hooks")) DescribeChangeSetHooksOutput.add_member(:status, Shapes::ShapeRef.new(shape: ChangeSetHooksStatus, location_name: "Status")) DescribeChangeSetHooksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeChangeSetHooksOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) DescribeChangeSetHooksOutput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) DescribeChangeSetHooksOutput.struct_class = Types::DescribeChangeSetHooksOutput DescribeChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, required: true, location_name: "ChangeSetName")) DescribeChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName")) DescribeChangeSetInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeChangeSetInput.add_member(:include_property_values, Shapes::ShapeRef.new(shape: IncludePropertyValues, location_name: "IncludePropertyValues")) DescribeChangeSetInput.struct_class = Types::DescribeChangeSetInput DescribeChangeSetOutput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetName, location_name: "ChangeSetName")) DescribeChangeSetOutput.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ChangeSetId")) DescribeChangeSetOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) DescribeChangeSetOutput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) DescribeChangeSetOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) DescribeChangeSetOutput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) DescribeChangeSetOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime")) DescribeChangeSetOutput.add_member(:execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "ExecutionStatus")) DescribeChangeSetOutput.add_member(:status, Shapes::ShapeRef.new(shape: ChangeSetStatus, location_name: "Status")) DescribeChangeSetOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: ChangeSetStatusReason, location_name: "StatusReason")) DescribeChangeSetOutput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs")) DescribeChangeSetOutput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration")) DescribeChangeSetOutput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) DescribeChangeSetOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) DescribeChangeSetOutput.add_member(:changes, Shapes::ShapeRef.new(shape: Changes, location_name: "Changes")) DescribeChangeSetOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeChangeSetOutput.add_member(:include_nested_stacks, Shapes::ShapeRef.new(shape: IncludeNestedStacks, location_name: "IncludeNestedStacks")) DescribeChangeSetOutput.add_member(:parent_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ParentChangeSetId")) DescribeChangeSetOutput.add_member(:root_change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "RootChangeSetId")) DescribeChangeSetOutput.add_member(:on_stack_failure, Shapes::ShapeRef.new(shape: OnStackFailure, location_name: "OnStackFailure")) DescribeChangeSetOutput.add_member(:import_existing_resources, Shapes::ShapeRef.new(shape: ImportExistingResources, location_name: "ImportExistingResources")) DescribeChangeSetOutput.struct_class = Types::DescribeChangeSetOutput DescribeGeneratedTemplateInput.add_member(:generated_template_name, Shapes::ShapeRef.new(shape: GeneratedTemplateName, required: true, location_name: "GeneratedTemplateName")) DescribeGeneratedTemplateInput.struct_class = Types::DescribeGeneratedTemplateInput DescribeGeneratedTemplateOutput.add_member(:generated_template_id, Shapes::ShapeRef.new(shape: GeneratedTemplateId, location_name: "GeneratedTemplateId")) DescribeGeneratedTemplateOutput.add_member(:generated_template_name, Shapes::ShapeRef.new(shape: GeneratedTemplateName, location_name: "GeneratedTemplateName")) DescribeGeneratedTemplateOutput.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "Resources")) DescribeGeneratedTemplateOutput.add_member(:status, Shapes::ShapeRef.new(shape: GeneratedTemplateStatus, location_name: "Status")) DescribeGeneratedTemplateOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: TemplateStatusReason, location_name: "StatusReason")) DescribeGeneratedTemplateOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime")) DescribeGeneratedTemplateOutput.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: LastUpdatedTime, location_name: "LastUpdatedTime")) DescribeGeneratedTemplateOutput.add_member(:progress, Shapes::ShapeRef.new(shape: TemplateProgress, location_name: "Progress")) DescribeGeneratedTemplateOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) DescribeGeneratedTemplateOutput.add_member(:template_configuration, Shapes::ShapeRef.new(shape: TemplateConfiguration, location_name: "TemplateConfiguration")) DescribeGeneratedTemplateOutput.add_member(:total_warnings, Shapes::ShapeRef.new(shape: TotalWarnings, location_name: "TotalWarnings")) DescribeGeneratedTemplateOutput.struct_class = Types::DescribeGeneratedTemplateOutput DescribeOrganizationsAccessInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) DescribeOrganizationsAccessInput.struct_class = Types::DescribeOrganizationsAccessInput DescribeOrganizationsAccessOutput.add_member(:status, Shapes::ShapeRef.new(shape: OrganizationStatus, location_name: "Status")) DescribeOrganizationsAccessOutput.struct_class = Types::DescribeOrganizationsAccessOutput DescribePublisherInput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) DescribePublisherInput.struct_class = Types::DescribePublisherInput DescribePublisherOutput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) DescribePublisherOutput.add_member(:publisher_status, Shapes::ShapeRef.new(shape: PublisherStatus, location_name: "PublisherStatus")) DescribePublisherOutput.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, location_name: "IdentityProvider")) DescribePublisherOutput.add_member(:publisher_profile, Shapes::ShapeRef.new(shape: PublisherProfile, location_name: "PublisherProfile")) DescribePublisherOutput.struct_class = Types::DescribePublisherOutput DescribeResourceScanInput.add_member(:resource_scan_id, Shapes::ShapeRef.new(shape: ResourceScanId, required: true, location_name: "ResourceScanId")) DescribeResourceScanInput.struct_class = Types::DescribeResourceScanInput DescribeResourceScanOutput.add_member(:resource_scan_id, Shapes::ShapeRef.new(shape: ResourceScanId, location_name: "ResourceScanId")) DescribeResourceScanOutput.add_member(:status, Shapes::ShapeRef.new(shape: ResourceScanStatus, location_name: "Status")) DescribeResourceScanOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: ResourceScanStatusReason, location_name: "StatusReason")) DescribeResourceScanOutput.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime")) DescribeResourceScanOutput.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime")) DescribeResourceScanOutput.add_member(:percentage_completed, Shapes::ShapeRef.new(shape: PercentageCompleted, location_name: "PercentageCompleted")) DescribeResourceScanOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes")) DescribeResourceScanOutput.add_member(:resources_scanned, Shapes::ShapeRef.new(shape: ResourcesScanned, location_name: "ResourcesScanned")) DescribeResourceScanOutput.add_member(:resources_read, Shapes::ShapeRef.new(shape: ResourcesRead, location_name: "ResourcesRead")) DescribeResourceScanOutput.add_member(:scan_filters, Shapes::ShapeRef.new(shape: ScanFilters, location_name: "ScanFilters")) DescribeResourceScanOutput.struct_class = Types::DescribeResourceScanOutput DescribeStackDriftDetectionStatusInput.add_member(:stack_drift_detection_id, Shapes::ShapeRef.new(shape: StackDriftDetectionId, required: true, location_name: "StackDriftDetectionId")) DescribeStackDriftDetectionStatusInput.struct_class = Types::DescribeStackDriftDetectionStatusInput DescribeStackDriftDetectionStatusOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, required: true, location_name: "StackId")) DescribeStackDriftDetectionStatusOutput.add_member(:stack_drift_detection_id, Shapes::ShapeRef.new(shape: StackDriftDetectionId, required: true, location_name: "StackDriftDetectionId")) DescribeStackDriftDetectionStatusOutput.add_member(:stack_drift_status, Shapes::ShapeRef.new(shape: StackDriftStatus, location_name: "StackDriftStatus")) DescribeStackDriftDetectionStatusOutput.add_member(:detection_status, Shapes::ShapeRef.new(shape: StackDriftDetectionStatus, required: true, location_name: "DetectionStatus")) DescribeStackDriftDetectionStatusOutput.add_member(:detection_status_reason, Shapes::ShapeRef.new(shape: StackDriftDetectionStatusReason, location_name: "DetectionStatusReason")) DescribeStackDriftDetectionStatusOutput.add_member(:drifted_stack_resource_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "DriftedStackResourceCount")) DescribeStackDriftDetectionStatusOutput.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp")) DescribeStackDriftDetectionStatusOutput.struct_class = Types::DescribeStackDriftDetectionStatusOutput DescribeStackEventsInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) DescribeStackEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeStackEventsInput.struct_class = Types::DescribeStackEventsInput DescribeStackEventsOutput.add_member(:stack_events, Shapes::ShapeRef.new(shape: StackEvents, location_name: "StackEvents")) DescribeStackEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeStackEventsOutput.struct_class = Types::DescribeStackEventsOutput DescribeStackInstanceInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) DescribeStackInstanceInput.add_member(:stack_instance_account, Shapes::ShapeRef.new(shape: Account, required: true, location_name: "StackInstanceAccount")) DescribeStackInstanceInput.add_member(:stack_instance_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "StackInstanceRegion")) DescribeStackInstanceInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) DescribeStackInstanceInput.struct_class = Types::DescribeStackInstanceInput DescribeStackInstanceOutput.add_member(:stack_instance, Shapes::ShapeRef.new(shape: StackInstance, location_name: "StackInstance")) DescribeStackInstanceOutput.struct_class = Types::DescribeStackInstanceOutput DescribeStackRefactorInput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, required: true, location_name: "StackRefactorId")) DescribeStackRefactorInput.struct_class = Types::DescribeStackRefactorInput DescribeStackRefactorOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) DescribeStackRefactorOutput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, location_name: "StackRefactorId")) DescribeStackRefactorOutput.add_member(:stack_ids, Shapes::ShapeRef.new(shape: StackIds, location_name: "StackIds")) DescribeStackRefactorOutput.add_member(:execution_status, Shapes::ShapeRef.new(shape: StackRefactorExecutionStatus, location_name: "ExecutionStatus")) DescribeStackRefactorOutput.add_member(:execution_status_reason, Shapes::ShapeRef.new(shape: ExecutionStatusReason, location_name: "ExecutionStatusReason")) DescribeStackRefactorOutput.add_member(:status, Shapes::ShapeRef.new(shape: StackRefactorStatus, location_name: "Status")) DescribeStackRefactorOutput.add_member(:status_reason, Shapes::ShapeRef.new(shape: StackRefactorStatusReason, location_name: "StatusReason")) DescribeStackRefactorOutput.struct_class = Types::DescribeStackRefactorOutput DescribeStackResourceDriftsInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) DescribeStackResourceDriftsInput.add_member(:stack_resource_drift_status_filters, Shapes::ShapeRef.new(shape: StackResourceDriftStatusFilters, location_name: "StackResourceDriftStatusFilters")) DescribeStackResourceDriftsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeStackResourceDriftsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedMaxResults, location_name: "MaxResults")) DescribeStackResourceDriftsInput.struct_class = Types::DescribeStackResourceDriftsInput DescribeStackResourceDriftsOutput.add_member(:stack_resource_drifts, Shapes::ShapeRef.new(shape: StackResourceDrifts, required: true, location_name: "StackResourceDrifts")) DescribeStackResourceDriftsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeStackResourceDriftsOutput.struct_class = Types::DescribeStackResourceDriftsOutput DescribeStackResourceInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) DescribeStackResourceInput.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) DescribeStackResourceInput.struct_class = Types::DescribeStackResourceInput DescribeStackResourceOutput.add_member(:stack_resource_detail, Shapes::ShapeRef.new(shape: StackResourceDetail, location_name: "StackResourceDetail")) DescribeStackResourceOutput.struct_class = Types::DescribeStackResourceOutput DescribeStackResourcesInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) DescribeStackResourcesInput.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, location_name: "LogicalResourceId")) DescribeStackResourcesInput.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) DescribeStackResourcesInput.struct_class = Types::DescribeStackResourcesInput DescribeStackResourcesOutput.add_member(:stack_resources, Shapes::ShapeRef.new(shape: StackResources, location_name: "StackResources")) DescribeStackResourcesOutput.struct_class = Types::DescribeStackResourcesOutput DescribeStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) DescribeStackSetInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) DescribeStackSetInput.struct_class = Types::DescribeStackSetInput DescribeStackSetOperationInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) DescribeStackSetOperationInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "OperationId")) DescribeStackSetOperationInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) DescribeStackSetOperationInput.struct_class = Types::DescribeStackSetOperationInput DescribeStackSetOperationOutput.add_member(:stack_set_operation, Shapes::ShapeRef.new(shape: StackSetOperation, location_name: "StackSetOperation")) DescribeStackSetOperationOutput.struct_class = Types::DescribeStackSetOperationOutput DescribeStackSetOutput.add_member(:stack_set, Shapes::ShapeRef.new(shape: StackSet, location_name: "StackSet")) DescribeStackSetOutput.struct_class = Types::DescribeStackSetOutput DescribeStacksInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) DescribeStacksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeStacksInput.struct_class = Types::DescribeStacksInput DescribeStacksOutput.add_member(:stacks, Shapes::ShapeRef.new(shape: Stacks, location_name: "Stacks")) DescribeStacksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) DescribeStacksOutput.struct_class = Types::DescribeStacksOutput DescribeTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) DescribeTypeInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) DescribeTypeInput.add_member(:arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "Arn")) DescribeTypeInput.add_member(:version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "VersionId")) DescribeTypeInput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) DescribeTypeInput.add_member(:public_version_number, Shapes::ShapeRef.new(shape: PublicVersionNumber, location_name: "PublicVersionNumber")) DescribeTypeInput.struct_class = Types::DescribeTypeInput DescribeTypeOutput.add_member(:arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "Arn")) DescribeTypeOutput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) DescribeTypeOutput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) DescribeTypeOutput.add_member(:default_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "DefaultVersionId")) DescribeTypeOutput.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "IsDefaultVersion")) DescribeTypeOutput.add_member(:type_tests_status, Shapes::ShapeRef.new(shape: TypeTestsStatus, location_name: "TypeTestsStatus")) DescribeTypeOutput.add_member(:type_tests_status_description, Shapes::ShapeRef.new(shape: TypeTestsStatusDescription, location_name: "TypeTestsStatusDescription")) DescribeTypeOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) DescribeTypeOutput.add_member(:schema, Shapes::ShapeRef.new(shape: TypeSchema, location_name: "Schema")) DescribeTypeOutput.add_member(:provisioning_type, Shapes::ShapeRef.new(shape: ProvisioningType, location_name: "ProvisioningType")) DescribeTypeOutput.add_member(:deprecated_status, Shapes::ShapeRef.new(shape: DeprecatedStatus, location_name: "DeprecatedStatus")) DescribeTypeOutput.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig")) DescribeTypeOutput.add_member(:required_activated_types, Shapes::ShapeRef.new(shape: RequiredActivatedTypes, location_name: "RequiredActivatedTypes")) DescribeTypeOutput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn")) DescribeTypeOutput.add_member(:visibility, Shapes::ShapeRef.new(shape: Visibility, location_name: "Visibility")) DescribeTypeOutput.add_member(:source_url, Shapes::ShapeRef.new(shape: OptionalSecureUrl, location_name: "SourceUrl")) DescribeTypeOutput.add_member(:documentation_url, Shapes::ShapeRef.new(shape: OptionalSecureUrl, location_name: "DocumentationUrl")) DescribeTypeOutput.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated")) DescribeTypeOutput.add_member(:time_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TimeCreated")) DescribeTypeOutput.add_member(:configuration_schema, Shapes::ShapeRef.new(shape: ConfigurationSchema, location_name: "ConfigurationSchema")) DescribeTypeOutput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) DescribeTypeOutput.add_member(:original_type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "OriginalTypeName")) DescribeTypeOutput.add_member(:original_type_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "OriginalTypeArn")) DescribeTypeOutput.add_member(:public_version_number, Shapes::ShapeRef.new(shape: PublicVersionNumber, location_name: "PublicVersionNumber")) DescribeTypeOutput.add_member(:latest_public_version, Shapes::ShapeRef.new(shape: PublicVersionNumber, location_name: "LatestPublicVersion")) DescribeTypeOutput.add_member(:is_activated, Shapes::ShapeRef.new(shape: IsActivated, location_name: "IsActivated")) DescribeTypeOutput.add_member(:auto_update, Shapes::ShapeRef.new(shape: AutoUpdate, location_name: "AutoUpdate")) DescribeTypeOutput.struct_class = Types::DescribeTypeOutput DescribeTypeRegistrationInput.add_member(:registration_token, Shapes::ShapeRef.new(shape: RegistrationToken, required: true, location_name: "RegistrationToken")) DescribeTypeRegistrationInput.struct_class = Types::DescribeTypeRegistrationInput DescribeTypeRegistrationOutput.add_member(:progress_status, Shapes::ShapeRef.new(shape: RegistrationStatus, location_name: "ProgressStatus")) DescribeTypeRegistrationOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) DescribeTypeRegistrationOutput.add_member(:type_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "TypeArn")) DescribeTypeRegistrationOutput.add_member(:type_version_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "TypeVersionArn")) DescribeTypeRegistrationOutput.struct_class = Types::DescribeTypeRegistrationOutput DetectStackDriftInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) DetectStackDriftInput.add_member(:logical_resource_ids, Shapes::ShapeRef.new(shape: LogicalResourceIds, location_name: "LogicalResourceIds")) DetectStackDriftInput.struct_class = Types::DetectStackDriftInput DetectStackDriftOutput.add_member(:stack_drift_detection_id, Shapes::ShapeRef.new(shape: StackDriftDetectionId, required: true, location_name: "StackDriftDetectionId")) DetectStackDriftOutput.struct_class = Types::DetectStackDriftOutput DetectStackResourceDriftInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) DetectStackResourceDriftInput.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) DetectStackResourceDriftInput.struct_class = Types::DetectStackResourceDriftInput DetectStackResourceDriftOutput.add_member(:stack_resource_drift, Shapes::ShapeRef.new(shape: StackResourceDrift, required: true, location_name: "StackResourceDrift")) DetectStackResourceDriftOutput.struct_class = Types::DetectStackResourceDriftOutput DetectStackSetDriftInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName")) DetectStackSetDriftInput.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences")) DetectStackSetDriftInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId", metadata: {"idempotencyToken" => true})) DetectStackSetDriftInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) DetectStackSetDriftInput.struct_class = Types::DetectStackSetDriftInput DetectStackSetDriftOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId")) DetectStackSetDriftOutput.struct_class = Types::DetectStackSetDriftOutput EstimateTemplateCostInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) EstimateTemplateCostInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) EstimateTemplateCostInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) EstimateTemplateCostInput.struct_class = Types::EstimateTemplateCostInput EstimateTemplateCostOutput.add_member(:url, Shapes::ShapeRef.new(shape: Url, location_name: "Url")) EstimateTemplateCostOutput.struct_class = Types::EstimateTemplateCostOutput ExecuteChangeSetInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, required: true, location_name: "ChangeSetName")) ExecuteChangeSetInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName")) ExecuteChangeSetInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) ExecuteChangeSetInput.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback")) ExecuteChangeSetInput.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate")) ExecuteChangeSetInput.struct_class = Types::ExecuteChangeSetInput ExecuteChangeSetOutput.struct_class = Types::ExecuteChangeSetOutput ExecuteStackRefactorInput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, required: true, location_name: "StackRefactorId")) ExecuteStackRefactorInput.struct_class = Types::ExecuteStackRefactorInput Export.add_member(:exporting_stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "ExportingStackId")) Export.add_member(:name, Shapes::ShapeRef.new(shape: ExportName, location_name: "Name")) Export.add_member(:value, Shapes::ShapeRef.new(shape: ExportValue, location_name: "Value")) Export.struct_class = Types::Export Exports.member = Shapes::ShapeRef.new(shape: Export) GeneratedTemplateNotFoundException.struct_class = Types::GeneratedTemplateNotFoundException GetGeneratedTemplateInput.add_member(:format, Shapes::ShapeRef.new(shape: TemplateFormat, location_name: "Format")) GetGeneratedTemplateInput.add_member(:generated_template_name, Shapes::ShapeRef.new(shape: GeneratedTemplateName, required: true, location_name: "GeneratedTemplateName")) GetGeneratedTemplateInput.struct_class = Types::GetGeneratedTemplateInput GetGeneratedTemplateOutput.add_member(:status, Shapes::ShapeRef.new(shape: GeneratedTemplateStatus, location_name: "Status")) GetGeneratedTemplateOutput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) GetGeneratedTemplateOutput.struct_class = Types::GetGeneratedTemplateOutput GetStackPolicyInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) GetStackPolicyInput.struct_class = Types::GetStackPolicyInput GetStackPolicyOutput.add_member(:stack_policy_body, Shapes::ShapeRef.new(shape: StackPolicyBody, location_name: "StackPolicyBody")) GetStackPolicyOutput.struct_class = Types::GetStackPolicyOutput GetTemplateInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) GetTemplateInput.add_member(:change_set_name, Shapes::ShapeRef.new(shape: ChangeSetNameOrId, location_name: "ChangeSetName")) GetTemplateInput.add_member(:template_stage, Shapes::ShapeRef.new(shape: TemplateStage, location_name: "TemplateStage")) GetTemplateInput.struct_class = Types::GetTemplateInput GetTemplateOutput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) GetTemplateOutput.add_member(:stages_available, Shapes::ShapeRef.new(shape: StageList, location_name: "StagesAvailable")) GetTemplateOutput.struct_class = Types::GetTemplateOutput GetTemplateSummaryInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) GetTemplateSummaryInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) GetTemplateSummaryInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, location_name: "StackName")) GetTemplateSummaryInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, location_name: "StackSetName")) GetTemplateSummaryInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) GetTemplateSummaryInput.add_member(:template_summary_config, Shapes::ShapeRef.new(shape: TemplateSummaryConfig, location_name: "TemplateSummaryConfig")) GetTemplateSummaryInput.struct_class = Types::GetTemplateSummaryInput GetTemplateSummaryOutput.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterDeclarations, location_name: "Parameters")) GetTemplateSummaryOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) GetTemplateSummaryOutput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) GetTemplateSummaryOutput.add_member(:capabilities_reason, Shapes::ShapeRef.new(shape: CapabilitiesReason, location_name: "CapabilitiesReason")) GetTemplateSummaryOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes")) GetTemplateSummaryOutput.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "Version")) GetTemplateSummaryOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata")) GetTemplateSummaryOutput.add_member(:declared_transforms, Shapes::ShapeRef.new(shape: TransformsList, location_name: "DeclaredTransforms")) GetTemplateSummaryOutput.add_member(:resource_identifier_summaries, Shapes::ShapeRef.new(shape: ResourceIdentifierSummaries, location_name: "ResourceIdentifierSummaries")) GetTemplateSummaryOutput.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "Warnings")) GetTemplateSummaryOutput.struct_class = Types::GetTemplateSummaryOutput HookResultNotFoundException.struct_class = Types::HookResultNotFoundException HookResultSummaries.member = Shapes::ShapeRef.new(shape: HookResultSummary) HookResultSummary.add_member(:hook_result_id, Shapes::ShapeRef.new(shape: HookInvocationId, location_name: "HookResultId")) HookResultSummary.add_member(:invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "InvocationPoint")) HookResultSummary.add_member(:failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "FailureMode")) HookResultSummary.add_member(:type_name, Shapes::ShapeRef.new(shape: HookTypeName, location_name: "TypeName")) HookResultSummary.add_member(:type_version_id, Shapes::ShapeRef.new(shape: HookTypeVersionId, location_name: "TypeVersionId")) HookResultSummary.add_member(:type_configuration_version_id, Shapes::ShapeRef.new(shape: HookTypeConfigurationVersionId, location_name: "TypeConfigurationVersionId")) HookResultSummary.add_member(:status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "Status")) HookResultSummary.add_member(:hook_status_reason, Shapes::ShapeRef.new(shape: HookStatusReason, location_name: "HookStatusReason")) HookResultSummary.add_member(:invoked_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvokedAt")) HookResultSummary.add_member(:target_type, Shapes::ShapeRef.new(shape: ListHookResultsTargetType, location_name: "TargetType")) HookResultSummary.add_member(:target_id, Shapes::ShapeRef.new(shape: HookResultId, location_name: "TargetId")) HookResultSummary.add_member(:type_arn, Shapes::ShapeRef.new(shape: HookTypeArn, location_name: "TypeArn")) HookResultSummary.add_member(:hook_execution_target, Shapes::ShapeRef.new(shape: HookResultId, location_name: "HookExecutionTarget")) HookResultSummary.struct_class = Types::HookResultSummary ImportStacksToStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName")) ImportStacksToStackSetInput.add_member(:stack_ids, Shapes::ShapeRef.new(shape: StackIdList, location_name: "StackIds")) ImportStacksToStackSetInput.add_member(:stack_ids_url, Shapes::ShapeRef.new(shape: StackIdsUrl, location_name: "StackIdsUrl")) ImportStacksToStackSetInput.add_member(:organizational_unit_ids, Shapes::ShapeRef.new(shape: OrganizationalUnitIdList, location_name: "OrganizationalUnitIds")) ImportStacksToStackSetInput.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences")) ImportStacksToStackSetInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId", metadata: {"idempotencyToken" => true})) ImportStacksToStackSetInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) ImportStacksToStackSetInput.struct_class = Types::ImportStacksToStackSetInput ImportStacksToStackSetOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId")) ImportStacksToStackSetOutput.struct_class = Types::ImportStacksToStackSetOutput Imports.member = Shapes::ShapeRef.new(shape: StackName) InsufficientCapabilitiesException.struct_class = Types::InsufficientCapabilitiesException InvalidChangeSetStatusException.struct_class = Types::InvalidChangeSetStatusException InvalidOperationException.struct_class = Types::InvalidOperationException InvalidStateTransitionException.struct_class = Types::InvalidStateTransitionException JazzLogicalResourceIds.member = Shapes::ShapeRef.new(shape: LogicalResourceId) JazzResourceIdentifierProperties.key = Shapes::ShapeRef.new(shape: JazzResourceIdentifierPropertyKey) JazzResourceIdentifierProperties.value = Shapes::ShapeRef.new(shape: JazzResourceIdentifierPropertyValue) LimitExceededException.struct_class = Types::LimitExceededException ListChangeSetsInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) ListChangeSetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListChangeSetsInput.struct_class = Types::ListChangeSetsInput ListChangeSetsOutput.add_member(:summaries, Shapes::ShapeRef.new(shape: ChangeSetSummaries, location_name: "Summaries")) ListChangeSetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListChangeSetsOutput.struct_class = Types::ListChangeSetsOutput ListExportsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListExportsInput.struct_class = Types::ListExportsInput ListExportsOutput.add_member(:exports, Shapes::ShapeRef.new(shape: Exports, location_name: "Exports")) ListExportsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListExportsOutput.struct_class = Types::ListExportsOutput ListGeneratedTemplatesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListGeneratedTemplatesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListGeneratedTemplatesInput.struct_class = Types::ListGeneratedTemplatesInput ListGeneratedTemplatesOutput.add_member(:summaries, Shapes::ShapeRef.new(shape: TemplateSummaries, location_name: "Summaries")) ListGeneratedTemplatesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListGeneratedTemplatesOutput.struct_class = Types::ListGeneratedTemplatesOutput ListHookResultsInput.add_member(:target_type, Shapes::ShapeRef.new(shape: ListHookResultsTargetType, location_name: "TargetType")) ListHookResultsInput.add_member(:target_id, Shapes::ShapeRef.new(shape: HookResultId, location_name: "TargetId")) ListHookResultsInput.add_member(:type_arn, Shapes::ShapeRef.new(shape: HookTypeArn, location_name: "TypeArn")) ListHookResultsInput.add_member(:status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "Status")) ListHookResultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListHookResultsInput.struct_class = Types::ListHookResultsInput ListHookResultsOutput.add_member(:target_type, Shapes::ShapeRef.new(shape: ListHookResultsTargetType, location_name: "TargetType")) ListHookResultsOutput.add_member(:target_id, Shapes::ShapeRef.new(shape: HookResultId, location_name: "TargetId")) ListHookResultsOutput.add_member(:hook_results, Shapes::ShapeRef.new(shape: HookResultSummaries, location_name: "HookResults")) ListHookResultsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListHookResultsOutput.struct_class = Types::ListHookResultsOutput ListImportsInput.add_member(:export_name, Shapes::ShapeRef.new(shape: ExportName, required: true, location_name: "ExportName")) ListImportsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListImportsInput.struct_class = Types::ListImportsInput ListImportsOutput.add_member(:imports, Shapes::ShapeRef.new(shape: Imports, location_name: "Imports")) ListImportsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListImportsOutput.struct_class = Types::ListImportsOutput ListResourceScanRelatedResourcesInput.add_member(:resource_scan_id, Shapes::ShapeRef.new(shape: ResourceScanId, required: true, location_name: "ResourceScanId")) ListResourceScanRelatedResourcesInput.add_member(:resources, Shapes::ShapeRef.new(shape: ScannedResourceIdentifiers, required: true, location_name: "Resources")) ListResourceScanRelatedResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListResourceScanRelatedResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedMaxResults, location_name: "MaxResults")) ListResourceScanRelatedResourcesInput.struct_class = Types::ListResourceScanRelatedResourcesInput ListResourceScanRelatedResourcesOutput.add_member(:related_resources, Shapes::ShapeRef.new(shape: RelatedResources, location_name: "RelatedResources")) ListResourceScanRelatedResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListResourceScanRelatedResourcesOutput.struct_class = Types::ListResourceScanRelatedResourcesOutput ListResourceScanResourcesInput.add_member(:resource_scan_id, Shapes::ShapeRef.new(shape: ResourceScanId, required: true, location_name: "ResourceScanId")) ListResourceScanResourcesInput.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location_name: "ResourceIdentifier")) ListResourceScanResourcesInput.add_member(:resource_type_prefix, Shapes::ShapeRef.new(shape: ResourceTypePrefix, location_name: "ResourceTypePrefix")) ListResourceScanResourcesInput.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey")) ListResourceScanResourcesInput.add_member(:tag_value, Shapes::ShapeRef.new(shape: TagValue, location_name: "TagValue")) ListResourceScanResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListResourceScanResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ResourceScannerMaxResults, location_name: "MaxResults")) ListResourceScanResourcesInput.struct_class = Types::ListResourceScanResourcesInput ListResourceScanResourcesOutput.add_member(:resources, Shapes::ShapeRef.new(shape: ScannedResources, location_name: "Resources")) ListResourceScanResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListResourceScanResourcesOutput.struct_class = Types::ListResourceScanResourcesOutput ListResourceScansInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListResourceScansInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ResourceScannerMaxResults, location_name: "MaxResults")) ListResourceScansInput.add_member(:scan_type_filter, Shapes::ShapeRef.new(shape: ScanType, location_name: "ScanTypeFilter")) ListResourceScansInput.struct_class = Types::ListResourceScansInput ListResourceScansOutput.add_member(:resource_scan_summaries, Shapes::ShapeRef.new(shape: ResourceScanSummaries, location_name: "ResourceScanSummaries")) ListResourceScansOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListResourceScansOutput.struct_class = Types::ListResourceScansOutput ListStackInstanceResourceDriftsInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName")) ListStackInstanceResourceDriftsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackInstanceResourceDriftsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListStackInstanceResourceDriftsInput.add_member(:stack_instance_resource_drift_statuses, Shapes::ShapeRef.new(shape: StackResourceDriftStatusFilters, location_name: "StackInstanceResourceDriftStatuses")) ListStackInstanceResourceDriftsInput.add_member(:stack_instance_account, Shapes::ShapeRef.new(shape: Account, required: true, location_name: "StackInstanceAccount")) ListStackInstanceResourceDriftsInput.add_member(:stack_instance_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "StackInstanceRegion")) ListStackInstanceResourceDriftsInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "OperationId")) ListStackInstanceResourceDriftsInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) ListStackInstanceResourceDriftsInput.struct_class = Types::ListStackInstanceResourceDriftsInput ListStackInstanceResourceDriftsOutput.add_member(:summaries, Shapes::ShapeRef.new(shape: StackInstanceResourceDriftsSummaries, location_name: "Summaries")) ListStackInstanceResourceDriftsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackInstanceResourceDriftsOutput.struct_class = Types::ListStackInstanceResourceDriftsOutput ListStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) ListStackInstancesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackInstancesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListStackInstancesInput.add_member(:filters, Shapes::ShapeRef.new(shape: StackInstanceFilters, location_name: "Filters")) ListStackInstancesInput.add_member(:stack_instance_account, Shapes::ShapeRef.new(shape: Account, location_name: "StackInstanceAccount")) ListStackInstancesInput.add_member(:stack_instance_region, Shapes::ShapeRef.new(shape: Region, location_name: "StackInstanceRegion")) ListStackInstancesInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) ListStackInstancesInput.struct_class = Types::ListStackInstancesInput ListStackInstancesOutput.add_member(:summaries, Shapes::ShapeRef.new(shape: StackInstanceSummaries, location_name: "Summaries")) ListStackInstancesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackInstancesOutput.struct_class = Types::ListStackInstancesOutput ListStackRefactorActionsInput.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, required: true, location_name: "StackRefactorId")) ListStackRefactorActionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackRefactorActionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListStackRefactorActionsInput.struct_class = Types::ListStackRefactorActionsInput ListStackRefactorActionsOutput.add_member(:stack_refactor_actions, Shapes::ShapeRef.new(shape: StackRefactorActions, required: true, location_name: "StackRefactorActions")) ListStackRefactorActionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackRefactorActionsOutput.struct_class = Types::ListStackRefactorActionsOutput ListStackRefactorsInput.add_member(:execution_status_filter, Shapes::ShapeRef.new(shape: StackRefactorExecutionStatusFilter, location_name: "ExecutionStatusFilter")) ListStackRefactorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackRefactorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListStackRefactorsInput.struct_class = Types::ListStackRefactorsInput ListStackRefactorsOutput.add_member(:stack_refactor_summaries, Shapes::ShapeRef.new(shape: StackRefactorSummaries, required: true, location_name: "StackRefactorSummaries")) ListStackRefactorsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackRefactorsOutput.struct_class = Types::ListStackRefactorsOutput ListStackResourcesInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) ListStackResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackResourcesInput.struct_class = Types::ListStackResourcesInput ListStackResourcesOutput.add_member(:stack_resource_summaries, Shapes::ShapeRef.new(shape: StackResourceSummaries, location_name: "StackResourceSummaries")) ListStackResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackResourcesOutput.struct_class = Types::ListStackResourcesOutput ListStackSetAutoDeploymentTargetsInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName")) ListStackSetAutoDeploymentTargetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackSetAutoDeploymentTargetsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListStackSetAutoDeploymentTargetsInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) ListStackSetAutoDeploymentTargetsInput.struct_class = Types::ListStackSetAutoDeploymentTargetsInput ListStackSetAutoDeploymentTargetsOutput.add_member(:summaries, Shapes::ShapeRef.new(shape: StackSetAutoDeploymentTargetSummaries, location_name: "Summaries")) ListStackSetAutoDeploymentTargetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackSetAutoDeploymentTargetsOutput.struct_class = Types::ListStackSetAutoDeploymentTargetsOutput ListStackSetOperationResultsInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) ListStackSetOperationResultsInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "OperationId")) ListStackSetOperationResultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackSetOperationResultsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListStackSetOperationResultsInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) ListStackSetOperationResultsInput.add_member(:filters, Shapes::ShapeRef.new(shape: OperationResultFilters, location_name: "Filters")) ListStackSetOperationResultsInput.struct_class = Types::ListStackSetOperationResultsInput ListStackSetOperationResultsOutput.add_member(:summaries, Shapes::ShapeRef.new(shape: StackSetOperationResultSummaries, location_name: "Summaries")) ListStackSetOperationResultsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackSetOperationResultsOutput.struct_class = Types::ListStackSetOperationResultsOutput ListStackSetOperationsInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) ListStackSetOperationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackSetOperationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListStackSetOperationsInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) ListStackSetOperationsInput.struct_class = Types::ListStackSetOperationsInput ListStackSetOperationsOutput.add_member(:summaries, Shapes::ShapeRef.new(shape: StackSetOperationSummaries, location_name: "Summaries")) ListStackSetOperationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackSetOperationsOutput.struct_class = Types::ListStackSetOperationsOutput ListStackSetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackSetsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListStackSetsInput.add_member(:status, Shapes::ShapeRef.new(shape: StackSetStatus, location_name: "Status")) ListStackSetsInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) ListStackSetsInput.struct_class = Types::ListStackSetsInput ListStackSetsOutput.add_member(:summaries, Shapes::ShapeRef.new(shape: StackSetSummaries, location_name: "Summaries")) ListStackSetsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStackSetsOutput.struct_class = Types::ListStackSetsOutput ListStacksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStacksInput.add_member(:stack_status_filter, Shapes::ShapeRef.new(shape: StackStatusFilter, location_name: "StackStatusFilter")) ListStacksInput.struct_class = Types::ListStacksInput ListStacksOutput.add_member(:stack_summaries, Shapes::ShapeRef.new(shape: StackSummaries, location_name: "StackSummaries")) ListStacksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListStacksOutput.struct_class = Types::ListStacksOutput ListTypeRegistrationsInput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) ListTypeRegistrationsInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) ListTypeRegistrationsInput.add_member(:type_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "TypeArn")) ListTypeRegistrationsInput.add_member(:registration_status_filter, Shapes::ShapeRef.new(shape: RegistrationStatus, location_name: "RegistrationStatusFilter")) ListTypeRegistrationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListTypeRegistrationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListTypeRegistrationsInput.struct_class = Types::ListTypeRegistrationsInput ListTypeRegistrationsOutput.add_member(:registration_token_list, Shapes::ShapeRef.new(shape: RegistrationTokenList, location_name: "RegistrationTokenList")) ListTypeRegistrationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListTypeRegistrationsOutput.struct_class = Types::ListTypeRegistrationsOutput ListTypeVersionsInput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) ListTypeVersionsInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) ListTypeVersionsInput.add_member(:arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "Arn")) ListTypeVersionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListTypeVersionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListTypeVersionsInput.add_member(:deprecated_status, Shapes::ShapeRef.new(shape: DeprecatedStatus, location_name: "DeprecatedStatus")) ListTypeVersionsInput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) ListTypeVersionsInput.struct_class = Types::ListTypeVersionsInput ListTypeVersionsOutput.add_member(:type_version_summaries, Shapes::ShapeRef.new(shape: TypeVersionSummaries, location_name: "TypeVersionSummaries")) ListTypeVersionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListTypeVersionsOutput.struct_class = Types::ListTypeVersionsOutput ListTypesInput.add_member(:visibility, Shapes::ShapeRef.new(shape: Visibility, location_name: "Visibility")) ListTypesInput.add_member(:provisioning_type, Shapes::ShapeRef.new(shape: ProvisioningType, location_name: "ProvisioningType")) ListTypesInput.add_member(:deprecated_status, Shapes::ShapeRef.new(shape: DeprecatedStatus, location_name: "DeprecatedStatus")) ListTypesInput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) ListTypesInput.add_member(:filters, Shapes::ShapeRef.new(shape: TypeFilters, location_name: "Filters")) ListTypesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults")) ListTypesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListTypesInput.struct_class = Types::ListTypesInput ListTypesOutput.add_member(:type_summaries, Shapes::ShapeRef.new(shape: TypeSummaries, location_name: "TypeSummaries")) ListTypesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken")) ListTypesOutput.struct_class = Types::ListTypesOutput LoggingConfig.add_member(:log_role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "LogRoleArn")) LoggingConfig.add_member(:log_group_name, Shapes::ShapeRef.new(shape: LogGroupName, required: true, location_name: "LogGroupName")) LoggingConfig.struct_class = Types::LoggingConfig LogicalResourceIds.member = Shapes::ShapeRef.new(shape: LogicalResourceId) ManagedExecution.add_member(:active, Shapes::ShapeRef.new(shape: ManagedExecutionNullable, location_name: "Active")) ManagedExecution.struct_class = Types::ManagedExecution ModuleInfo.add_member(:type_hierarchy, Shapes::ShapeRef.new(shape: TypeHierarchy, location_name: "TypeHierarchy")) ModuleInfo.add_member(:logical_id_hierarchy, Shapes::ShapeRef.new(shape: LogicalIdHierarchy, location_name: "LogicalIdHierarchy")) ModuleInfo.struct_class = Types::ModuleInfo NameAlreadyExistsException.struct_class = Types::NameAlreadyExistsException NotificationARNs.member = Shapes::ShapeRef.new(shape: NotificationARN) OperationIdAlreadyExistsException.struct_class = Types::OperationIdAlreadyExistsException OperationInProgressException.struct_class = Types::OperationInProgressException OperationNotFoundException.struct_class = Types::OperationNotFoundException OperationResultFilter.add_member(:name, Shapes::ShapeRef.new(shape: OperationResultFilterName, location_name: "Name")) OperationResultFilter.add_member(:values, Shapes::ShapeRef.new(shape: OperationResultFilterValues, location_name: "Values")) OperationResultFilter.struct_class = Types::OperationResultFilter OperationResultFilters.member = Shapes::ShapeRef.new(shape: OperationResultFilter) OperationStatusCheckFailedException.struct_class = Types::OperationStatusCheckFailedException OrganizationalUnitIdList.member = Shapes::ShapeRef.new(shape: OrganizationalUnitId) Output.add_member(:output_key, Shapes::ShapeRef.new(shape: OutputKey, location_name: "OutputKey")) Output.add_member(:output_value, Shapes::ShapeRef.new(shape: OutputValue, location_name: "OutputValue")) Output.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) Output.add_member(:export_name, Shapes::ShapeRef.new(shape: ExportName, location_name: "ExportName")) Output.struct_class = Types::Output Outputs.member = Shapes::ShapeRef.new(shape: Output) Parameter.add_member(:parameter_key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "ParameterKey")) Parameter.add_member(:parameter_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "ParameterValue")) Parameter.add_member(:use_previous_value, Shapes::ShapeRef.new(shape: UsePreviousValue, location_name: "UsePreviousValue")) Parameter.add_member(:resolved_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "ResolvedValue")) Parameter.struct_class = Types::Parameter ParameterConstraints.add_member(:allowed_values, Shapes::ShapeRef.new(shape: AllowedValues, location_name: "AllowedValues")) ParameterConstraints.struct_class = Types::ParameterConstraints ParameterDeclaration.add_member(:parameter_key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "ParameterKey")) ParameterDeclaration.add_member(:default_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "DefaultValue")) ParameterDeclaration.add_member(:parameter_type, Shapes::ShapeRef.new(shape: ParameterType, location_name: "ParameterType")) ParameterDeclaration.add_member(:no_echo, Shapes::ShapeRef.new(shape: NoEcho, location_name: "NoEcho")) ParameterDeclaration.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) ParameterDeclaration.add_member(:parameter_constraints, Shapes::ShapeRef.new(shape: ParameterConstraints, location_name: "ParameterConstraints")) ParameterDeclaration.struct_class = Types::ParameterDeclaration ParameterDeclarations.member = Shapes::ShapeRef.new(shape: ParameterDeclaration) Parameters.member = Shapes::ShapeRef.new(shape: Parameter) PhysicalResourceIdContext.member = Shapes::ShapeRef.new(shape: PhysicalResourceIdContextKeyValuePair) PhysicalResourceIdContextKeyValuePair.add_member(:key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "Key")) PhysicalResourceIdContextKeyValuePair.add_member(:value, Shapes::ShapeRef.new(shape: Value, required: true, location_name: "Value")) PhysicalResourceIdContextKeyValuePair.struct_class = Types::PhysicalResourceIdContextKeyValuePair PropertyDifference.add_member(:property_path, Shapes::ShapeRef.new(shape: PropertyPath, required: true, location_name: "PropertyPath")) PropertyDifference.add_member(:expected_value, Shapes::ShapeRef.new(shape: PropertyValue, required: true, location_name: "ExpectedValue")) PropertyDifference.add_member(:actual_value, Shapes::ShapeRef.new(shape: PropertyValue, required: true, location_name: "ActualValue")) PropertyDifference.add_member(:difference_type, Shapes::ShapeRef.new(shape: DifferenceType, required: true, location_name: "DifferenceType")) PropertyDifference.struct_class = Types::PropertyDifference PropertyDifferences.member = Shapes::ShapeRef.new(shape: PropertyDifference) PublishTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: ThirdPartyType, location_name: "Type")) PublishTypeInput.add_member(:arn, Shapes::ShapeRef.new(shape: PrivateTypeArn, location_name: "Arn")) PublishTypeInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) PublishTypeInput.add_member(:public_version_number, Shapes::ShapeRef.new(shape: PublicVersionNumber, location_name: "PublicVersionNumber")) PublishTypeInput.struct_class = Types::PublishTypeInput PublishTypeOutput.add_member(:public_type_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "PublicTypeArn")) PublishTypeOutput.struct_class = Types::PublishTypeOutput RecordHandlerProgressInput.add_member(:bearer_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "BearerToken")) RecordHandlerProgressInput.add_member(:operation_status, Shapes::ShapeRef.new(shape: OperationStatus, required: true, location_name: "OperationStatus")) RecordHandlerProgressInput.add_member(:current_operation_status, Shapes::ShapeRef.new(shape: OperationStatus, location_name: "CurrentOperationStatus")) RecordHandlerProgressInput.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage")) RecordHandlerProgressInput.add_member(:error_code, Shapes::ShapeRef.new(shape: HandlerErrorCode, location_name: "ErrorCode")) RecordHandlerProgressInput.add_member(:resource_model, Shapes::ShapeRef.new(shape: ResourceModel, location_name: "ResourceModel")) RecordHandlerProgressInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) RecordHandlerProgressInput.struct_class = Types::RecordHandlerProgressInput RecordHandlerProgressOutput.struct_class = Types::RecordHandlerProgressOutput RegionList.member = Shapes::ShapeRef.new(shape: Region) RegisterPublisherInput.add_member(:accept_terms_and_conditions, Shapes::ShapeRef.new(shape: AcceptTermsAndConditions, location_name: "AcceptTermsAndConditions")) RegisterPublisherInput.add_member(:connection_arn, Shapes::ShapeRef.new(shape: ConnectionArn, location_name: "ConnectionArn")) RegisterPublisherInput.struct_class = Types::RegisterPublisherInput RegisterPublisherOutput.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) RegisterPublisherOutput.struct_class = Types::RegisterPublisherOutput RegisterTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) RegisterTypeInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, required: true, location_name: "TypeName")) RegisterTypeInput.add_member(:schema_handler_package, Shapes::ShapeRef.new(shape: S3Url, required: true, location_name: "SchemaHandlerPackage")) RegisterTypeInput.add_member(:logging_config, Shapes::ShapeRef.new(shape: LoggingConfig, location_name: "LoggingConfig")) RegisterTypeInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRoleArn")) RegisterTypeInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: RequestToken, location_name: "ClientRequestToken")) RegisterTypeInput.struct_class = Types::RegisterTypeInput RegisterTypeOutput.add_member(:registration_token, Shapes::ShapeRef.new(shape: RegistrationToken, location_name: "RegistrationToken")) RegisterTypeOutput.struct_class = Types::RegisterTypeOutput RegistrationTokenList.member = Shapes::ShapeRef.new(shape: RegistrationToken) RelatedResources.member = Shapes::ShapeRef.new(shape: ScannedResource) RequiredActivatedType.add_member(:type_name_alias, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeNameAlias")) RequiredActivatedType.add_member(:original_type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "OriginalTypeName")) RequiredActivatedType.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) RequiredActivatedType.add_member(:supported_major_versions, Shapes::ShapeRef.new(shape: SupportedMajorVersions, location_name: "SupportedMajorVersions")) RequiredActivatedType.struct_class = Types::RequiredActivatedType RequiredActivatedTypes.member = Shapes::ShapeRef.new(shape: RequiredActivatedType) ResourceChange.add_member(:policy_action, Shapes::ShapeRef.new(shape: PolicyAction, location_name: "PolicyAction")) ResourceChange.add_member(:action, Shapes::ShapeRef.new(shape: ChangeAction, location_name: "Action")) ResourceChange.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, location_name: "LogicalResourceId")) ResourceChange.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) ResourceChange.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType")) ResourceChange.add_member(:replacement, Shapes::ShapeRef.new(shape: Replacement, location_name: "Replacement")) ResourceChange.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "Scope")) ResourceChange.add_member(:details, Shapes::ShapeRef.new(shape: ResourceChangeDetails, location_name: "Details")) ResourceChange.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ChangeSetId")) ResourceChange.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo")) ResourceChange.add_member(:before_context, Shapes::ShapeRef.new(shape: BeforeContext, location_name: "BeforeContext")) ResourceChange.add_member(:after_context, Shapes::ShapeRef.new(shape: AfterContext, location_name: "AfterContext")) ResourceChange.struct_class = Types::ResourceChange ResourceChangeDetail.add_member(:target, Shapes::ShapeRef.new(shape: ResourceTargetDefinition, location_name: "Target")) ResourceChangeDetail.add_member(:evaluation, Shapes::ShapeRef.new(shape: EvaluationType, location_name: "Evaluation")) ResourceChangeDetail.add_member(:change_source, Shapes::ShapeRef.new(shape: ChangeSource, location_name: "ChangeSource")) ResourceChangeDetail.add_member(:causing_entity, Shapes::ShapeRef.new(shape: CausingEntity, location_name: "CausingEntity")) ResourceChangeDetail.struct_class = Types::ResourceChangeDetail ResourceChangeDetails.member = Shapes::ShapeRef.new(shape: ResourceChangeDetail) ResourceDefinition.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) ResourceDefinition.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, location_name: "LogicalResourceId")) ResourceDefinition.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifierProperties, required: true, location_name: "ResourceIdentifier")) ResourceDefinition.struct_class = Types::ResourceDefinition ResourceDefinitions.member = Shapes::ShapeRef.new(shape: ResourceDefinition) ResourceDetail.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType")) ResourceDetail.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, location_name: "LogicalResourceId")) ResourceDetail.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifierProperties, location_name: "ResourceIdentifier")) ResourceDetail.add_member(:resource_status, Shapes::ShapeRef.new(shape: GeneratedTemplateResourceStatus, location_name: "ResourceStatus")) ResourceDetail.add_member(:resource_status_reason, Shapes::ShapeRef.new(shape: ResourceStatusReason, location_name: "ResourceStatusReason")) ResourceDetail.add_member(:warnings, Shapes::ShapeRef.new(shape: WarningDetails, location_name: "Warnings")) ResourceDetail.struct_class = Types::ResourceDetail ResourceDetails.member = Shapes::ShapeRef.new(shape: ResourceDetail) ResourceIdentifierProperties.key = Shapes::ShapeRef.new(shape: ResourceIdentifierPropertyKey) ResourceIdentifierProperties.value = Shapes::ShapeRef.new(shape: ResourceIdentifierPropertyValue) ResourceIdentifierSummaries.member = Shapes::ShapeRef.new(shape: ResourceIdentifierSummary) ResourceIdentifierSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType")) ResourceIdentifierSummary.add_member(:logical_resource_ids, Shapes::ShapeRef.new(shape: LogicalResourceIds, location_name: "LogicalResourceIds")) ResourceIdentifierSummary.add_member(:resource_identifiers, Shapes::ShapeRef.new(shape: ResourceIdentifiers, location_name: "ResourceIdentifiers")) ResourceIdentifierSummary.struct_class = Types::ResourceIdentifierSummary ResourceIdentifiers.member = Shapes::ShapeRef.new(shape: ResourceIdentifierPropertyKey) ResourceLocation.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) ResourceLocation.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) ResourceLocation.struct_class = Types::ResourceLocation ResourceMapping.add_member(:source, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "Source")) ResourceMapping.add_member(:destination, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "Destination")) ResourceMapping.struct_class = Types::ResourceMapping ResourceMappings.member = Shapes::ShapeRef.new(shape: ResourceMapping) ResourceScanInProgressException.struct_class = Types::ResourceScanInProgressException ResourceScanLimitExceededException.struct_class = Types::ResourceScanLimitExceededException ResourceScanNotFoundException.struct_class = Types::ResourceScanNotFoundException ResourceScanSummaries.member = Shapes::ShapeRef.new(shape: ResourceScanSummary) ResourceScanSummary.add_member(:resource_scan_id, Shapes::ShapeRef.new(shape: ResourceScanId, location_name: "ResourceScanId")) ResourceScanSummary.add_member(:status, Shapes::ShapeRef.new(shape: ResourceScanStatus, location_name: "Status")) ResourceScanSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: ResourceScanStatusReason, location_name: "StatusReason")) ResourceScanSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime")) ResourceScanSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTime")) ResourceScanSummary.add_member(:percentage_completed, Shapes::ShapeRef.new(shape: PercentageCompleted, location_name: "PercentageCompleted")) ResourceScanSummary.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, location_name: "ScanType")) ResourceScanSummary.struct_class = Types::ResourceScanSummary ResourceTargetDefinition.add_member(:attribute, Shapes::ShapeRef.new(shape: ResourceAttribute, location_name: "Attribute")) ResourceTargetDefinition.add_member(:name, Shapes::ShapeRef.new(shape: PropertyName, location_name: "Name")) ResourceTargetDefinition.add_member(:requires_recreation, Shapes::ShapeRef.new(shape: RequiresRecreation, location_name: "RequiresRecreation")) ResourceTargetDefinition.add_member(:path, Shapes::ShapeRef.new(shape: ResourcePropertyPath, location_name: "Path")) ResourceTargetDefinition.add_member(:before_value, Shapes::ShapeRef.new(shape: BeforeValue, location_name: "BeforeValue")) ResourceTargetDefinition.add_member(:after_value, Shapes::ShapeRef.new(shape: AfterValue, location_name: "AfterValue")) ResourceTargetDefinition.add_member(:attribute_change_type, Shapes::ShapeRef.new(shape: AttributeChangeType, location_name: "AttributeChangeType")) ResourceTargetDefinition.struct_class = Types::ResourceTargetDefinition ResourceToImport.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) ResourceToImport.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) ResourceToImport.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifierProperties, required: true, location_name: "ResourceIdentifier")) ResourceToImport.struct_class = Types::ResourceToImport ResourceTypeFilters.member = Shapes::ShapeRef.new(shape: ResourceTypeFilter) ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType) ResourcesToImport.member = Shapes::ShapeRef.new(shape: ResourceToImport) ResourcesToSkip.member = Shapes::ShapeRef.new(shape: ResourceToSkip) RetainResources.member = Shapes::ShapeRef.new(shape: LogicalResourceId) RollbackConfiguration.add_member(:rollback_triggers, Shapes::ShapeRef.new(shape: RollbackTriggers, location_name: "RollbackTriggers")) RollbackConfiguration.add_member(:monitoring_time_in_minutes, Shapes::ShapeRef.new(shape: MonitoringTimeInMinutes, location_name: "MonitoringTimeInMinutes")) RollbackConfiguration.struct_class = Types::RollbackConfiguration RollbackStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) RollbackStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN")) RollbackStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) RollbackStackInput.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate")) RollbackStackInput.struct_class = Types::RollbackStackInput RollbackStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) RollbackStackOutput.struct_class = Types::RollbackStackOutput RollbackTrigger.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "Arn")) RollbackTrigger.add_member(:type, Shapes::ShapeRef.new(shape: Type, required: true, location_name: "Type")) RollbackTrigger.struct_class = Types::RollbackTrigger RollbackTriggers.member = Shapes::ShapeRef.new(shape: RollbackTrigger) ScanFilter.add_member(:types, Shapes::ShapeRef.new(shape: ResourceTypeFilters, location_name: "Types")) ScanFilter.struct_class = Types::ScanFilter ScanFilters.member = Shapes::ShapeRef.new(shape: ScanFilter) ScannedResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType")) ScannedResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: JazzResourceIdentifierProperties, location_name: "ResourceIdentifier")) ScannedResource.add_member(:managed_by_stack, Shapes::ShapeRef.new(shape: ManagedByStack, location_name: "ManagedByStack")) ScannedResource.struct_class = Types::ScannedResource ScannedResourceIdentifier.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) ScannedResourceIdentifier.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: JazzResourceIdentifierProperties, required: true, location_name: "ResourceIdentifier")) ScannedResourceIdentifier.struct_class = Types::ScannedResourceIdentifier ScannedResourceIdentifiers.member = Shapes::ShapeRef.new(shape: ScannedResourceIdentifier) ScannedResources.member = Shapes::ShapeRef.new(shape: ScannedResource) Scope.member = Shapes::ShapeRef.new(shape: ResourceAttribute) SetStackPolicyInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) SetStackPolicyInput.add_member(:stack_policy_body, Shapes::ShapeRef.new(shape: StackPolicyBody, location_name: "StackPolicyBody")) SetStackPolicyInput.add_member(:stack_policy_url, Shapes::ShapeRef.new(shape: StackPolicyURL, location_name: "StackPolicyURL")) SetStackPolicyInput.struct_class = Types::SetStackPolicyInput SetTypeConfigurationInput.add_member(:type_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "TypeArn")) SetTypeConfigurationInput.add_member(:configuration, Shapes::ShapeRef.new(shape: TypeConfiguration, required: true, location_name: "Configuration")) SetTypeConfigurationInput.add_member(:configuration_alias, Shapes::ShapeRef.new(shape: TypeConfigurationAlias, location_name: "ConfigurationAlias")) SetTypeConfigurationInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) SetTypeConfigurationInput.add_member(:type, Shapes::ShapeRef.new(shape: ThirdPartyType, location_name: "Type")) SetTypeConfigurationInput.struct_class = Types::SetTypeConfigurationInput SetTypeConfigurationOutput.add_member(:configuration_arn, Shapes::ShapeRef.new(shape: TypeConfigurationArn, location_name: "ConfigurationArn")) SetTypeConfigurationOutput.struct_class = Types::SetTypeConfigurationOutput SetTypeDefaultVersionInput.add_member(:arn, Shapes::ShapeRef.new(shape: PrivateTypeArn, location_name: "Arn")) SetTypeDefaultVersionInput.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) SetTypeDefaultVersionInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) SetTypeDefaultVersionInput.add_member(:version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "VersionId")) SetTypeDefaultVersionInput.struct_class = Types::SetTypeDefaultVersionInput SetTypeDefaultVersionOutput.struct_class = Types::SetTypeDefaultVersionOutput SignalResourceInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) SignalResourceInput.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) SignalResourceInput.add_member(:unique_id, Shapes::ShapeRef.new(shape: ResourceSignalUniqueId, required: true, location_name: "UniqueId")) SignalResourceInput.add_member(:status, Shapes::ShapeRef.new(shape: ResourceSignalStatus, required: true, location_name: "Status")) SignalResourceInput.struct_class = Types::SignalResourceInput Stack.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) Stack.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) Stack.add_member(:change_set_id, Shapes::ShapeRef.new(shape: ChangeSetId, location_name: "ChangeSetId")) Stack.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) Stack.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) Stack.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "CreationTime")) Stack.add_member(:deletion_time, Shapes::ShapeRef.new(shape: DeletionTime, location_name: "DeletionTime")) Stack.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: LastUpdatedTime, location_name: "LastUpdatedTime")) Stack.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration")) Stack.add_member(:stack_status, Shapes::ShapeRef.new(shape: StackStatus, required: true, location_name: "StackStatus")) Stack.add_member(:stack_status_reason, Shapes::ShapeRef.new(shape: StackStatusReason, location_name: "StackStatusReason")) Stack.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback")) Stack.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs")) Stack.add_member(:timeout_in_minutes, Shapes::ShapeRef.new(shape: TimeoutMinutes, location_name: "TimeoutInMinutes")) Stack.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) Stack.add_member(:outputs, Shapes::ShapeRef.new(shape: Outputs, location_name: "Outputs")) Stack.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN")) Stack.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) Stack.add_member(:enable_termination_protection, Shapes::ShapeRef.new(shape: EnableTerminationProtection, location_name: "EnableTerminationProtection")) Stack.add_member(:parent_id, Shapes::ShapeRef.new(shape: StackId, location_name: "ParentId")) Stack.add_member(:root_id, Shapes::ShapeRef.new(shape: StackId, location_name: "RootId")) Stack.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackDriftInformation, location_name: "DriftInformation")) Stack.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate")) Stack.add_member(:deletion_mode, Shapes::ShapeRef.new(shape: DeletionMode, location_name: "DeletionMode")) Stack.add_member(:detailed_status, Shapes::ShapeRef.new(shape: DetailedStatus, location_name: "DetailedStatus")) Stack.struct_class = Types::Stack StackDefinition.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) StackDefinition.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) StackDefinition.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) StackDefinition.struct_class = Types::StackDefinition StackDefinitions.member = Shapes::ShapeRef.new(shape: StackDefinition) StackDriftInformation.add_member(:stack_drift_status, Shapes::ShapeRef.new(shape: StackDriftStatus, required: true, location_name: "StackDriftStatus")) StackDriftInformation.add_member(:last_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastCheckTimestamp")) StackDriftInformation.struct_class = Types::StackDriftInformation StackDriftInformationSummary.add_member(:stack_drift_status, Shapes::ShapeRef.new(shape: StackDriftStatus, required: true, location_name: "StackDriftStatus")) StackDriftInformationSummary.add_member(:last_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastCheckTimestamp")) StackDriftInformationSummary.struct_class = Types::StackDriftInformationSummary StackEvent.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, required: true, location_name: "StackId")) StackEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "EventId")) StackEvent.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) StackEvent.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, location_name: "LogicalResourceId")) StackEvent.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) StackEvent.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType")) StackEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp")) StackEvent.add_member(:resource_status, Shapes::ShapeRef.new(shape: ResourceStatus, location_name: "ResourceStatus")) StackEvent.add_member(:resource_status_reason, Shapes::ShapeRef.new(shape: ResourceStatusReason, location_name: "ResourceStatusReason")) StackEvent.add_member(:resource_properties, Shapes::ShapeRef.new(shape: ResourceProperties, location_name: "ResourceProperties")) StackEvent.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) StackEvent.add_member(:hook_type, Shapes::ShapeRef.new(shape: HookType, location_name: "HookType")) StackEvent.add_member(:hook_status, Shapes::ShapeRef.new(shape: HookStatus, location_name: "HookStatus")) StackEvent.add_member(:hook_status_reason, Shapes::ShapeRef.new(shape: HookStatusReason, location_name: "HookStatusReason")) StackEvent.add_member(:hook_invocation_point, Shapes::ShapeRef.new(shape: HookInvocationPoint, location_name: "HookInvocationPoint")) StackEvent.add_member(:hook_invocation_id, Shapes::ShapeRef.new(shape: HookInvocationId, location_name: "HookInvocationId")) StackEvent.add_member(:hook_failure_mode, Shapes::ShapeRef.new(shape: HookFailureMode, location_name: "HookFailureMode")) StackEvent.add_member(:detailed_status, Shapes::ShapeRef.new(shape: DetailedStatus, location_name: "DetailedStatus")) StackEvent.struct_class = Types::StackEvent StackEvents.member = Shapes::ShapeRef.new(shape: StackEvent) StackIdList.member = Shapes::ShapeRef.new(shape: StackId) StackIds.member = Shapes::ShapeRef.new(shape: StackId) StackInstance.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId")) StackInstance.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region")) StackInstance.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account")) StackInstance.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) StackInstance.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: Parameters, location_name: "ParameterOverrides")) StackInstance.add_member(:status, Shapes::ShapeRef.new(shape: StackInstanceStatus, location_name: "Status")) StackInstance.add_member(:stack_instance_status, Shapes::ShapeRef.new(shape: StackInstanceComprehensiveStatus, location_name: "StackInstanceStatus")) StackInstance.add_member(:status_reason, Shapes::ShapeRef.new(shape: Reason, location_name: "StatusReason")) StackInstance.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location_name: "OrganizationalUnitId")) StackInstance.add_member(:drift_status, Shapes::ShapeRef.new(shape: StackDriftStatus, location_name: "DriftStatus")) StackInstance.add_member(:last_drift_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastDriftCheckTimestamp")) StackInstance.add_member(:last_operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "LastOperationId")) StackInstance.struct_class = Types::StackInstance StackInstanceComprehensiveStatus.add_member(:detailed_status, Shapes::ShapeRef.new(shape: StackInstanceDetailedStatus, location_name: "DetailedStatus")) StackInstanceComprehensiveStatus.struct_class = Types::StackInstanceComprehensiveStatus StackInstanceFilter.add_member(:name, Shapes::ShapeRef.new(shape: StackInstanceFilterName, location_name: "Name")) StackInstanceFilter.add_member(:values, Shapes::ShapeRef.new(shape: StackInstanceFilterValues, location_name: "Values")) StackInstanceFilter.struct_class = Types::StackInstanceFilter StackInstanceFilters.member = Shapes::ShapeRef.new(shape: StackInstanceFilter) StackInstanceNotFoundException.struct_class = Types::StackInstanceNotFoundException StackInstanceResourceDriftsSummaries.member = Shapes::ShapeRef.new(shape: StackInstanceResourceDriftsSummary) StackInstanceResourceDriftsSummary.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, required: true, location_name: "StackId")) StackInstanceResourceDriftsSummary.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) StackInstanceResourceDriftsSummary.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) StackInstanceResourceDriftsSummary.add_member(:physical_resource_id_context, Shapes::ShapeRef.new(shape: PhysicalResourceIdContext, location_name: "PhysicalResourceIdContext")) StackInstanceResourceDriftsSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) StackInstanceResourceDriftsSummary.add_member(:property_differences, Shapes::ShapeRef.new(shape: PropertyDifferences, location_name: "PropertyDifferences")) StackInstanceResourceDriftsSummary.add_member(:stack_resource_drift_status, Shapes::ShapeRef.new(shape: StackResourceDriftStatus, required: true, location_name: "StackResourceDriftStatus")) StackInstanceResourceDriftsSummary.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp")) StackInstanceResourceDriftsSummary.struct_class = Types::StackInstanceResourceDriftsSummary StackInstanceSummaries.member = Shapes::ShapeRef.new(shape: StackInstanceSummary) StackInstanceSummary.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId")) StackInstanceSummary.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region")) StackInstanceSummary.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account")) StackInstanceSummary.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) StackInstanceSummary.add_member(:status, Shapes::ShapeRef.new(shape: StackInstanceStatus, location_name: "Status")) StackInstanceSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: Reason, location_name: "StatusReason")) StackInstanceSummary.add_member(:stack_instance_status, Shapes::ShapeRef.new(shape: StackInstanceComprehensiveStatus, location_name: "StackInstanceStatus")) StackInstanceSummary.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location_name: "OrganizationalUnitId")) StackInstanceSummary.add_member(:drift_status, Shapes::ShapeRef.new(shape: StackDriftStatus, location_name: "DriftStatus")) StackInstanceSummary.add_member(:last_drift_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastDriftCheckTimestamp")) StackInstanceSummary.add_member(:last_operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "LastOperationId")) StackInstanceSummary.struct_class = Types::StackInstanceSummary StackNotFoundException.struct_class = Types::StackNotFoundException StackRefactorAction.add_member(:action, Shapes::ShapeRef.new(shape: StackRefactorActionType, location_name: "Action")) StackRefactorAction.add_member(:entity, Shapes::ShapeRef.new(shape: StackRefactorActionEntity, location_name: "Entity")) StackRefactorAction.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) StackRefactorAction.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: StackRefactorResourceIdentifier, location_name: "ResourceIdentifier")) StackRefactorAction.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) StackRefactorAction.add_member(:detection, Shapes::ShapeRef.new(shape: StackRefactorDetection, location_name: "Detection")) StackRefactorAction.add_member(:detection_reason, Shapes::ShapeRef.new(shape: DetectionReason, location_name: "DetectionReason")) StackRefactorAction.add_member(:tag_resources, Shapes::ShapeRef.new(shape: StackRefactorTagResources, location_name: "TagResources")) StackRefactorAction.add_member(:untag_resources, Shapes::ShapeRef.new(shape: StackRefactorUntagResources, location_name: "UntagResources")) StackRefactorAction.add_member(:resource_mapping, Shapes::ShapeRef.new(shape: ResourceMapping, location_name: "ResourceMapping")) StackRefactorAction.struct_class = Types::StackRefactorAction StackRefactorActions.member = Shapes::ShapeRef.new(shape: StackRefactorAction) StackRefactorExecutionStatusFilter.member = Shapes::ShapeRef.new(shape: StackRefactorExecutionStatus) StackRefactorNotFoundException.struct_class = Types::StackRefactorNotFoundException StackRefactorSummaries.member = Shapes::ShapeRef.new(shape: StackRefactorSummary) StackRefactorSummary.add_member(:stack_refactor_id, Shapes::ShapeRef.new(shape: StackRefactorId, location_name: "StackRefactorId")) StackRefactorSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) StackRefactorSummary.add_member(:execution_status, Shapes::ShapeRef.new(shape: StackRefactorExecutionStatus, location_name: "ExecutionStatus")) StackRefactorSummary.add_member(:execution_status_reason, Shapes::ShapeRef.new(shape: ExecutionStatusReason, location_name: "ExecutionStatusReason")) StackRefactorSummary.add_member(:status, Shapes::ShapeRef.new(shape: StackRefactorStatus, location_name: "Status")) StackRefactorSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: StackRefactorStatusReason, location_name: "StatusReason")) StackRefactorSummary.struct_class = Types::StackRefactorSummary StackRefactorTagResources.member = Shapes::ShapeRef.new(shape: Tag) StackRefactorUntagResources.member = Shapes::ShapeRef.new(shape: TagKey) StackResource.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) StackResource.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) StackResource.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) StackResource.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) StackResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) StackResource.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp")) StackResource.add_member(:resource_status, Shapes::ShapeRef.new(shape: ResourceStatus, required: true, location_name: "ResourceStatus")) StackResource.add_member(:resource_status_reason, Shapes::ShapeRef.new(shape: ResourceStatusReason, location_name: "ResourceStatusReason")) StackResource.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) StackResource.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackResourceDriftInformation, location_name: "DriftInformation")) StackResource.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo")) StackResource.struct_class = Types::StackResource StackResourceDetail.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, location_name: "StackName")) StackResourceDetail.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) StackResourceDetail.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) StackResourceDetail.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) StackResourceDetail.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) StackResourceDetail.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTimestamp")) StackResourceDetail.add_member(:resource_status, Shapes::ShapeRef.new(shape: ResourceStatus, required: true, location_name: "ResourceStatus")) StackResourceDetail.add_member(:resource_status_reason, Shapes::ShapeRef.new(shape: ResourceStatusReason, location_name: "ResourceStatusReason")) StackResourceDetail.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) StackResourceDetail.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "Metadata")) StackResourceDetail.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackResourceDriftInformation, location_name: "DriftInformation")) StackResourceDetail.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo")) StackResourceDetail.struct_class = Types::StackResourceDetail StackResourceDrift.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, required: true, location_name: "StackId")) StackResourceDrift.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) StackResourceDrift.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) StackResourceDrift.add_member(:physical_resource_id_context, Shapes::ShapeRef.new(shape: PhysicalResourceIdContext, location_name: "PhysicalResourceIdContext")) StackResourceDrift.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) StackResourceDrift.add_member(:expected_properties, Shapes::ShapeRef.new(shape: Properties, location_name: "ExpectedProperties")) StackResourceDrift.add_member(:actual_properties, Shapes::ShapeRef.new(shape: Properties, location_name: "ActualProperties")) StackResourceDrift.add_member(:property_differences, Shapes::ShapeRef.new(shape: PropertyDifferences, location_name: "PropertyDifferences")) StackResourceDrift.add_member(:stack_resource_drift_status, Shapes::ShapeRef.new(shape: StackResourceDriftStatus, required: true, location_name: "StackResourceDriftStatus")) StackResourceDrift.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "Timestamp")) StackResourceDrift.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo")) StackResourceDrift.add_member(:drift_status_reason, Shapes::ShapeRef.new(shape: StackResourceDriftStatusReason, location_name: "DriftStatusReason")) StackResourceDrift.struct_class = Types::StackResourceDrift StackResourceDriftInformation.add_member(:stack_resource_drift_status, Shapes::ShapeRef.new(shape: StackResourceDriftStatus, required: true, location_name: "StackResourceDriftStatus")) StackResourceDriftInformation.add_member(:last_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastCheckTimestamp")) StackResourceDriftInformation.struct_class = Types::StackResourceDriftInformation StackResourceDriftInformationSummary.add_member(:stack_resource_drift_status, Shapes::ShapeRef.new(shape: StackResourceDriftStatus, required: true, location_name: "StackResourceDriftStatus")) StackResourceDriftInformationSummary.add_member(:last_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastCheckTimestamp")) StackResourceDriftInformationSummary.struct_class = Types::StackResourceDriftInformationSummary StackResourceDriftStatusFilters.member = Shapes::ShapeRef.new(shape: StackResourceDriftStatus) StackResourceDrifts.member = Shapes::ShapeRef.new(shape: StackResourceDrift) StackResourceSummaries.member = Shapes::ShapeRef.new(shape: StackResourceSummary) StackResourceSummary.add_member(:logical_resource_id, Shapes::ShapeRef.new(shape: LogicalResourceId, required: true, location_name: "LogicalResourceId")) StackResourceSummary.add_member(:physical_resource_id, Shapes::ShapeRef.new(shape: PhysicalResourceId, location_name: "PhysicalResourceId")) StackResourceSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) StackResourceSummary.add_member(:last_updated_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTimestamp")) StackResourceSummary.add_member(:resource_status, Shapes::ShapeRef.new(shape: ResourceStatus, required: true, location_name: "ResourceStatus")) StackResourceSummary.add_member(:resource_status_reason, Shapes::ShapeRef.new(shape: ResourceStatusReason, location_name: "ResourceStatusReason")) StackResourceSummary.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackResourceDriftInformationSummary, location_name: "DriftInformation")) StackResourceSummary.add_member(:module_info, Shapes::ShapeRef.new(shape: ModuleInfo, location_name: "ModuleInfo")) StackResourceSummary.struct_class = Types::StackResourceSummary StackResources.member = Shapes::ShapeRef.new(shape: StackResource) StackSet.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, location_name: "StackSetName")) StackSet.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId")) StackSet.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) StackSet.add_member(:status, Shapes::ShapeRef.new(shape: StackSetStatus, location_name: "Status")) StackSet.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) StackSet.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) StackSet.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) StackSet.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) StackSet.add_member(:stack_set_arn, Shapes::ShapeRef.new(shape: StackSetARN, location_name: "StackSetARN")) StackSet.add_member(:administration_role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "AdministrationRoleARN")) StackSet.add_member(:execution_role_name, Shapes::ShapeRef.new(shape: ExecutionRoleName, location_name: "ExecutionRoleName")) StackSet.add_member(:stack_set_drift_detection_details, Shapes::ShapeRef.new(shape: StackSetDriftDetectionDetails, location_name: "StackSetDriftDetectionDetails")) StackSet.add_member(:auto_deployment, Shapes::ShapeRef.new(shape: AutoDeployment, location_name: "AutoDeployment")) StackSet.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModels, location_name: "PermissionModel")) StackSet.add_member(:organizational_unit_ids, Shapes::ShapeRef.new(shape: OrganizationalUnitIdList, location_name: "OrganizationalUnitIds")) StackSet.add_member(:managed_execution, Shapes::ShapeRef.new(shape: ManagedExecution, location_name: "ManagedExecution")) StackSet.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "Regions")) StackSet.struct_class = Types::StackSet StackSetAutoDeploymentTargetSummaries.member = Shapes::ShapeRef.new(shape: StackSetAutoDeploymentTargetSummary) StackSetAutoDeploymentTargetSummary.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location_name: "OrganizationalUnitId")) StackSetAutoDeploymentTargetSummary.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "Regions")) StackSetAutoDeploymentTargetSummary.struct_class = Types::StackSetAutoDeploymentTargetSummary StackSetDriftDetectionDetails.add_member(:drift_status, Shapes::ShapeRef.new(shape: StackSetDriftStatus, location_name: "DriftStatus")) StackSetDriftDetectionDetails.add_member(:drift_detection_status, Shapes::ShapeRef.new(shape: StackSetDriftDetectionStatus, location_name: "DriftDetectionStatus")) StackSetDriftDetectionDetails.add_member(:last_drift_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastDriftCheckTimestamp")) StackSetDriftDetectionDetails.add_member(:total_stack_instances_count, Shapes::ShapeRef.new(shape: TotalStackInstancesCount, location_name: "TotalStackInstancesCount")) StackSetDriftDetectionDetails.add_member(:drifted_stack_instances_count, Shapes::ShapeRef.new(shape: DriftedStackInstancesCount, location_name: "DriftedStackInstancesCount")) StackSetDriftDetectionDetails.add_member(:in_sync_stack_instances_count, Shapes::ShapeRef.new(shape: InSyncStackInstancesCount, location_name: "InSyncStackInstancesCount")) StackSetDriftDetectionDetails.add_member(:in_progress_stack_instances_count, Shapes::ShapeRef.new(shape: InProgressStackInstancesCount, location_name: "InProgressStackInstancesCount")) StackSetDriftDetectionDetails.add_member(:failed_stack_instances_count, Shapes::ShapeRef.new(shape: FailedStackInstancesCount, location_name: "FailedStackInstancesCount")) StackSetDriftDetectionDetails.struct_class = Types::StackSetDriftDetectionDetails StackSetNotEmptyException.struct_class = Types::StackSetNotEmptyException StackSetNotFoundException.struct_class = Types::StackSetNotFoundException StackSetOperation.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId")) StackSetOperation.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId")) StackSetOperation.add_member(:action, Shapes::ShapeRef.new(shape: StackSetOperationAction, location_name: "Action")) StackSetOperation.add_member(:status, Shapes::ShapeRef.new(shape: StackSetOperationStatus, location_name: "Status")) StackSetOperation.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences")) StackSetOperation.add_member(:retain_stacks, Shapes::ShapeRef.new(shape: RetainStacksNullable, location_name: "RetainStacks")) StackSetOperation.add_member(:administration_role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "AdministrationRoleARN")) StackSetOperation.add_member(:execution_role_name, Shapes::ShapeRef.new(shape: ExecutionRoleName, location_name: "ExecutionRoleName")) StackSetOperation.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimestamp")) StackSetOperation.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimestamp")) StackSetOperation.add_member(:deployment_targets, Shapes::ShapeRef.new(shape: DeploymentTargets, location_name: "DeploymentTargets")) StackSetOperation.add_member(:stack_set_drift_detection_details, Shapes::ShapeRef.new(shape: StackSetDriftDetectionDetails, location_name: "StackSetDriftDetectionDetails")) StackSetOperation.add_member(:status_reason, Shapes::ShapeRef.new(shape: StackSetOperationStatusReason, location_name: "StatusReason")) StackSetOperation.add_member(:status_details, Shapes::ShapeRef.new(shape: StackSetOperationStatusDetails, location_name: "StatusDetails")) StackSetOperation.struct_class = Types::StackSetOperation StackSetOperationPreferences.add_member(:region_concurrency_type, Shapes::ShapeRef.new(shape: RegionConcurrencyType, location_name: "RegionConcurrencyType")) StackSetOperationPreferences.add_member(:region_order, Shapes::ShapeRef.new(shape: RegionList, location_name: "RegionOrder")) StackSetOperationPreferences.add_member(:failure_tolerance_count, Shapes::ShapeRef.new(shape: FailureToleranceCount, location_name: "FailureToleranceCount")) StackSetOperationPreferences.add_member(:failure_tolerance_percentage, Shapes::ShapeRef.new(shape: FailureTolerancePercentage, location_name: "FailureTolerancePercentage")) StackSetOperationPreferences.add_member(:max_concurrent_count, Shapes::ShapeRef.new(shape: MaxConcurrentCount, location_name: "MaxConcurrentCount")) StackSetOperationPreferences.add_member(:max_concurrent_percentage, Shapes::ShapeRef.new(shape: MaxConcurrentPercentage, location_name: "MaxConcurrentPercentage")) StackSetOperationPreferences.add_member(:concurrency_mode, Shapes::ShapeRef.new(shape: ConcurrencyMode, location_name: "ConcurrencyMode")) StackSetOperationPreferences.struct_class = Types::StackSetOperationPreferences StackSetOperationResultSummaries.member = Shapes::ShapeRef.new(shape: StackSetOperationResultSummary) StackSetOperationResultSummary.add_member(:account, Shapes::ShapeRef.new(shape: Account, location_name: "Account")) StackSetOperationResultSummary.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region")) StackSetOperationResultSummary.add_member(:status, Shapes::ShapeRef.new(shape: StackSetOperationResultStatus, location_name: "Status")) StackSetOperationResultSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: Reason, location_name: "StatusReason")) StackSetOperationResultSummary.add_member(:account_gate_result, Shapes::ShapeRef.new(shape: AccountGateResult, location_name: "AccountGateResult")) StackSetOperationResultSummary.add_member(:organizational_unit_id, Shapes::ShapeRef.new(shape: OrganizationalUnitId, location_name: "OrganizationalUnitId")) StackSetOperationResultSummary.struct_class = Types::StackSetOperationResultSummary StackSetOperationStatusDetails.add_member(:failed_stack_instances_count, Shapes::ShapeRef.new(shape: FailedStackInstancesCount, location_name: "FailedStackInstancesCount")) StackSetOperationStatusDetails.struct_class = Types::StackSetOperationStatusDetails StackSetOperationSummaries.member = Shapes::ShapeRef.new(shape: StackSetOperationSummary) StackSetOperationSummary.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId")) StackSetOperationSummary.add_member(:action, Shapes::ShapeRef.new(shape: StackSetOperationAction, location_name: "Action")) StackSetOperationSummary.add_member(:status, Shapes::ShapeRef.new(shape: StackSetOperationStatus, location_name: "Status")) StackSetOperationSummary.add_member(:creation_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTimestamp")) StackSetOperationSummary.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimestamp")) StackSetOperationSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: StackSetOperationStatusReason, location_name: "StatusReason")) StackSetOperationSummary.add_member(:status_details, Shapes::ShapeRef.new(shape: StackSetOperationStatusDetails, location_name: "StatusDetails")) StackSetOperationSummary.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences")) StackSetOperationSummary.struct_class = Types::StackSetOperationSummary StackSetSummaries.member = Shapes::ShapeRef.new(shape: StackSetSummary) StackSetSummary.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, location_name: "StackSetName")) StackSetSummary.add_member(:stack_set_id, Shapes::ShapeRef.new(shape: StackSetId, location_name: "StackSetId")) StackSetSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) StackSetSummary.add_member(:status, Shapes::ShapeRef.new(shape: StackSetStatus, location_name: "Status")) StackSetSummary.add_member(:auto_deployment, Shapes::ShapeRef.new(shape: AutoDeployment, location_name: "AutoDeployment")) StackSetSummary.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModels, location_name: "PermissionModel")) StackSetSummary.add_member(:drift_status, Shapes::ShapeRef.new(shape: StackDriftStatus, location_name: "DriftStatus")) StackSetSummary.add_member(:last_drift_check_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastDriftCheckTimestamp")) StackSetSummary.add_member(:managed_execution, Shapes::ShapeRef.new(shape: ManagedExecution, location_name: "ManagedExecution")) StackSetSummary.struct_class = Types::StackSetSummary StackStatusFilter.member = Shapes::ShapeRef.new(shape: StackStatus) StackSummaries.member = Shapes::ShapeRef.new(shape: StackSummary) StackSummary.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) StackSummary.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) StackSummary.add_member(:template_description, Shapes::ShapeRef.new(shape: TemplateDescription, location_name: "TemplateDescription")) StackSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, required: true, location_name: "CreationTime")) StackSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: LastUpdatedTime, location_name: "LastUpdatedTime")) StackSummary.add_member(:deletion_time, Shapes::ShapeRef.new(shape: DeletionTime, location_name: "DeletionTime")) StackSummary.add_member(:stack_status, Shapes::ShapeRef.new(shape: StackStatus, required: true, location_name: "StackStatus")) StackSummary.add_member(:stack_status_reason, Shapes::ShapeRef.new(shape: StackStatusReason, location_name: "StackStatusReason")) StackSummary.add_member(:parent_id, Shapes::ShapeRef.new(shape: StackId, location_name: "ParentId")) StackSummary.add_member(:root_id, Shapes::ShapeRef.new(shape: StackId, location_name: "RootId")) StackSummary.add_member(:drift_information, Shapes::ShapeRef.new(shape: StackDriftInformationSummary, location_name: "DriftInformation")) StackSummary.struct_class = Types::StackSummary Stacks.member = Shapes::ShapeRef.new(shape: Stack) StageList.member = Shapes::ShapeRef.new(shape: TemplateStage) StaleRequestException.struct_class = Types::StaleRequestException StartResourceScanInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) StartResourceScanInput.add_member(:scan_filters, Shapes::ShapeRef.new(shape: ScanFilters, location_name: "ScanFilters")) StartResourceScanInput.struct_class = Types::StartResourceScanInput StartResourceScanOutput.add_member(:resource_scan_id, Shapes::ShapeRef.new(shape: ResourceScanId, location_name: "ResourceScanId")) StartResourceScanOutput.struct_class = Types::StartResourceScanOutput StopStackSetOperationInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) StopStackSetOperationInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, required: true, location_name: "OperationId")) StopStackSetOperationInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) StopStackSetOperationInput.struct_class = Types::StopStackSetOperationInput StopStackSetOperationOutput.struct_class = Types::StopStackSetOperationOutput SupportedMajorVersions.member = Shapes::ShapeRef.new(shape: SupportedMajorVersion) Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key")) Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value")) Tag.struct_class = Types::Tag Tags.member = Shapes::ShapeRef.new(shape: Tag) TemplateConfiguration.add_member(:deletion_policy, Shapes::ShapeRef.new(shape: GeneratedTemplateDeletionPolicy, location_name: "DeletionPolicy")) TemplateConfiguration.add_member(:update_replace_policy, Shapes::ShapeRef.new(shape: GeneratedTemplateUpdateReplacePolicy, location_name: "UpdateReplacePolicy")) TemplateConfiguration.struct_class = Types::TemplateConfiguration TemplateParameter.add_member(:parameter_key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "ParameterKey")) TemplateParameter.add_member(:default_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "DefaultValue")) TemplateParameter.add_member(:no_echo, Shapes::ShapeRef.new(shape: NoEcho, location_name: "NoEcho")) TemplateParameter.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) TemplateParameter.struct_class = Types::TemplateParameter TemplateParameters.member = Shapes::ShapeRef.new(shape: TemplateParameter) TemplateProgress.add_member(:resources_succeeded, Shapes::ShapeRef.new(shape: ResourcesSucceeded, location_name: "ResourcesSucceeded")) TemplateProgress.add_member(:resources_failed, Shapes::ShapeRef.new(shape: ResourcesFailed, location_name: "ResourcesFailed")) TemplateProgress.add_member(:resources_processing, Shapes::ShapeRef.new(shape: ResourcesProcessing, location_name: "ResourcesProcessing")) TemplateProgress.add_member(:resources_pending, Shapes::ShapeRef.new(shape: ResourcesPending, location_name: "ResourcesPending")) TemplateProgress.struct_class = Types::TemplateProgress TemplateSummaries.member = Shapes::ShapeRef.new(shape: TemplateSummary) TemplateSummary.add_member(:generated_template_id, Shapes::ShapeRef.new(shape: GeneratedTemplateId, location_name: "GeneratedTemplateId")) TemplateSummary.add_member(:generated_template_name, Shapes::ShapeRef.new(shape: GeneratedTemplateName, location_name: "GeneratedTemplateName")) TemplateSummary.add_member(:status, Shapes::ShapeRef.new(shape: GeneratedTemplateStatus, location_name: "Status")) TemplateSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: TemplateStatusReason, location_name: "StatusReason")) TemplateSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime")) TemplateSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: LastUpdatedTime, location_name: "LastUpdatedTime")) TemplateSummary.add_member(:number_of_resources, Shapes::ShapeRef.new(shape: NumberOfResources, location_name: "NumberOfResources")) TemplateSummary.struct_class = Types::TemplateSummary TemplateSummaryConfig.add_member(:treat_unrecognized_resource_types_as_warnings, Shapes::ShapeRef.new(shape: TreatUnrecognizedResourceTypesAsWarnings, location_name: "TreatUnrecognizedResourceTypesAsWarnings")) TemplateSummaryConfig.struct_class = Types::TemplateSummaryConfig TestTypeInput.add_member(:arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "Arn")) TestTypeInput.add_member(:type, Shapes::ShapeRef.new(shape: ThirdPartyType, location_name: "Type")) TestTypeInput.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) TestTypeInput.add_member(:version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "VersionId")) TestTypeInput.add_member(:log_delivery_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "LogDeliveryBucket")) TestTypeInput.struct_class = Types::TestTypeInput TestTypeOutput.add_member(:type_version_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "TypeVersionArn")) TestTypeOutput.struct_class = Types::TestTypeOutput TokenAlreadyExistsException.struct_class = Types::TokenAlreadyExistsException TransformsList.member = Shapes::ShapeRef.new(shape: TransformName) TypeConfigurationDetails.add_member(:arn, Shapes::ShapeRef.new(shape: TypeConfigurationArn, location_name: "Arn")) TypeConfigurationDetails.add_member(:alias, Shapes::ShapeRef.new(shape: TypeConfigurationAlias, location_name: "Alias")) TypeConfigurationDetails.add_member(:configuration, Shapes::ShapeRef.new(shape: TypeConfiguration, location_name: "Configuration")) TypeConfigurationDetails.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated")) TypeConfigurationDetails.add_member(:type_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "TypeArn")) TypeConfigurationDetails.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) TypeConfigurationDetails.add_member(:is_default_configuration, Shapes::ShapeRef.new(shape: IsDefaultConfiguration, location_name: "IsDefaultConfiguration")) TypeConfigurationDetails.struct_class = Types::TypeConfigurationDetails TypeConfigurationDetailsList.member = Shapes::ShapeRef.new(shape: TypeConfigurationDetails) TypeConfigurationIdentifier.add_member(:type_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "TypeArn")) TypeConfigurationIdentifier.add_member(:type_configuration_alias, Shapes::ShapeRef.new(shape: TypeConfigurationAlias, location_name: "TypeConfigurationAlias")) TypeConfigurationIdentifier.add_member(:type_configuration_arn, Shapes::ShapeRef.new(shape: TypeConfigurationArn, location_name: "TypeConfigurationArn")) TypeConfigurationIdentifier.add_member(:type, Shapes::ShapeRef.new(shape: ThirdPartyType, location_name: "Type")) TypeConfigurationIdentifier.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) TypeConfigurationIdentifier.struct_class = Types::TypeConfigurationIdentifier TypeConfigurationIdentifiers.member = Shapes::ShapeRef.new(shape: TypeConfigurationIdentifier) TypeConfigurationNotFoundException.struct_class = Types::TypeConfigurationNotFoundException TypeFilters.add_member(:category, Shapes::ShapeRef.new(shape: Category, location_name: "Category")) TypeFilters.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) TypeFilters.add_member(:type_name_prefix, Shapes::ShapeRef.new(shape: TypeNamePrefix, location_name: "TypeNamePrefix")) TypeFilters.struct_class = Types::TypeFilters TypeNotFoundException.struct_class = Types::TypeNotFoundException TypeSummaries.member = Shapes::ShapeRef.new(shape: TypeSummary) TypeSummary.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) TypeSummary.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) TypeSummary.add_member(:default_version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "DefaultVersionId")) TypeSummary.add_member(:type_arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "TypeArn")) TypeSummary.add_member(:last_updated, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdated")) TypeSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) TypeSummary.add_member(:publisher_id, Shapes::ShapeRef.new(shape: PublisherId, location_name: "PublisherId")) TypeSummary.add_member(:original_type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "OriginalTypeName")) TypeSummary.add_member(:public_version_number, Shapes::ShapeRef.new(shape: PublicVersionNumber, location_name: "PublicVersionNumber")) TypeSummary.add_member(:latest_public_version, Shapes::ShapeRef.new(shape: PublicVersionNumber, location_name: "LatestPublicVersion")) TypeSummary.add_member(:publisher_identity, Shapes::ShapeRef.new(shape: IdentityProvider, location_name: "PublisherIdentity")) TypeSummary.add_member(:publisher_name, Shapes::ShapeRef.new(shape: PublisherName, location_name: "PublisherName")) TypeSummary.add_member(:is_activated, Shapes::ShapeRef.new(shape: IsActivated, location_name: "IsActivated")) TypeSummary.struct_class = Types::TypeSummary TypeVersionSummaries.member = Shapes::ShapeRef.new(shape: TypeVersionSummary) TypeVersionSummary.add_member(:type, Shapes::ShapeRef.new(shape: RegistryType, location_name: "Type")) TypeVersionSummary.add_member(:type_name, Shapes::ShapeRef.new(shape: TypeName, location_name: "TypeName")) TypeVersionSummary.add_member(:version_id, Shapes::ShapeRef.new(shape: TypeVersionId, location_name: "VersionId")) TypeVersionSummary.add_member(:is_default_version, Shapes::ShapeRef.new(shape: IsDefaultVersion, location_name: "IsDefaultVersion")) TypeVersionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: TypeArn, location_name: "Arn")) TypeVersionSummary.add_member(:time_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "TimeCreated")) TypeVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) TypeVersionSummary.add_member(:public_version_number, Shapes::ShapeRef.new(shape: PublicVersionNumber, location_name: "PublicVersionNumber")) TypeVersionSummary.struct_class = Types::TypeVersionSummary UnprocessedTypeConfigurations.member = Shapes::ShapeRef.new(shape: TypeConfigurationIdentifier) UpdateGeneratedTemplateInput.add_member(:generated_template_name, Shapes::ShapeRef.new(shape: GeneratedTemplateName, required: true, location_name: "GeneratedTemplateName")) UpdateGeneratedTemplateInput.add_member(:new_generated_template_name, Shapes::ShapeRef.new(shape: GeneratedTemplateName, location_name: "NewGeneratedTemplateName")) UpdateGeneratedTemplateInput.add_member(:add_resources, Shapes::ShapeRef.new(shape: ResourceDefinitions, location_name: "AddResources")) UpdateGeneratedTemplateInput.add_member(:remove_resources, Shapes::ShapeRef.new(shape: JazzLogicalResourceIds, location_name: "RemoveResources")) UpdateGeneratedTemplateInput.add_member(:refresh_all_resources, Shapes::ShapeRef.new(shape: RefreshAllResources, location_name: "RefreshAllResources")) UpdateGeneratedTemplateInput.add_member(:template_configuration, Shapes::ShapeRef.new(shape: TemplateConfiguration, location_name: "TemplateConfiguration")) UpdateGeneratedTemplateInput.struct_class = Types::UpdateGeneratedTemplateInput UpdateGeneratedTemplateOutput.add_member(:generated_template_id, Shapes::ShapeRef.new(shape: GeneratedTemplateId, location_name: "GeneratedTemplateId")) UpdateGeneratedTemplateOutput.struct_class = Types::UpdateGeneratedTemplateOutput UpdateStackInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackName, required: true, location_name: "StackName")) UpdateStackInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) UpdateStackInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) UpdateStackInput.add_member(:use_previous_template, Shapes::ShapeRef.new(shape: UsePreviousTemplate, location_name: "UsePreviousTemplate")) UpdateStackInput.add_member(:stack_policy_during_update_body, Shapes::ShapeRef.new(shape: StackPolicyDuringUpdateBody, location_name: "StackPolicyDuringUpdateBody")) UpdateStackInput.add_member(:stack_policy_during_update_url, Shapes::ShapeRef.new(shape: StackPolicyDuringUpdateURL, location_name: "StackPolicyDuringUpdateURL")) UpdateStackInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) UpdateStackInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) UpdateStackInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes")) UpdateStackInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "RoleARN")) UpdateStackInput.add_member(:rollback_configuration, Shapes::ShapeRef.new(shape: RollbackConfiguration, location_name: "RollbackConfiguration")) UpdateStackInput.add_member(:stack_policy_body, Shapes::ShapeRef.new(shape: StackPolicyBody, location_name: "StackPolicyBody")) UpdateStackInput.add_member(:stack_policy_url, Shapes::ShapeRef.new(shape: StackPolicyURL, location_name: "StackPolicyURL")) UpdateStackInput.add_member(:notification_arns, Shapes::ShapeRef.new(shape: NotificationARNs, location_name: "NotificationARNs")) UpdateStackInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) UpdateStackInput.add_member(:disable_rollback, Shapes::ShapeRef.new(shape: DisableRollback, location_name: "DisableRollback")) UpdateStackInput.add_member(:client_request_token, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "ClientRequestToken")) UpdateStackInput.add_member(:retain_except_on_create, Shapes::ShapeRef.new(shape: RetainExceptOnCreate, location_name: "RetainExceptOnCreate")) UpdateStackInput.struct_class = Types::UpdateStackInput UpdateStackInstancesInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetNameOrId, required: true, location_name: "StackSetName")) UpdateStackInstancesInput.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountList, location_name: "Accounts")) UpdateStackInstancesInput.add_member(:deployment_targets, Shapes::ShapeRef.new(shape: DeploymentTargets, location_name: "DeploymentTargets")) UpdateStackInstancesInput.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, required: true, location_name: "Regions")) UpdateStackInstancesInput.add_member(:parameter_overrides, Shapes::ShapeRef.new(shape: Parameters, location_name: "ParameterOverrides")) UpdateStackInstancesInput.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences")) UpdateStackInstancesInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId", metadata: {"idempotencyToken" => true})) UpdateStackInstancesInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) UpdateStackInstancesInput.struct_class = Types::UpdateStackInstancesInput UpdateStackInstancesOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId")) UpdateStackInstancesOutput.struct_class = Types::UpdateStackInstancesOutput UpdateStackOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) UpdateStackOutput.struct_class = Types::UpdateStackOutput UpdateStackSetInput.add_member(:stack_set_name, Shapes::ShapeRef.new(shape: StackSetName, required: true, location_name: "StackSetName")) UpdateStackSetInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) UpdateStackSetInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) UpdateStackSetInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) UpdateStackSetInput.add_member(:use_previous_template, Shapes::ShapeRef.new(shape: UsePreviousTemplate, location_name: "UsePreviousTemplate")) UpdateStackSetInput.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) UpdateStackSetInput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) UpdateStackSetInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags")) UpdateStackSetInput.add_member(:operation_preferences, Shapes::ShapeRef.new(shape: StackSetOperationPreferences, location_name: "OperationPreferences")) UpdateStackSetInput.add_member(:administration_role_arn, Shapes::ShapeRef.new(shape: RoleARN, location_name: "AdministrationRoleARN")) UpdateStackSetInput.add_member(:execution_role_name, Shapes::ShapeRef.new(shape: ExecutionRoleName, location_name: "ExecutionRoleName")) UpdateStackSetInput.add_member(:deployment_targets, Shapes::ShapeRef.new(shape: DeploymentTargets, location_name: "DeploymentTargets")) UpdateStackSetInput.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModels, location_name: "PermissionModel")) UpdateStackSetInput.add_member(:auto_deployment, Shapes::ShapeRef.new(shape: AutoDeployment, location_name: "AutoDeployment")) UpdateStackSetInput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId", metadata: {"idempotencyToken" => true})) UpdateStackSetInput.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountList, location_name: "Accounts")) UpdateStackSetInput.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "Regions")) UpdateStackSetInput.add_member(:call_as, Shapes::ShapeRef.new(shape: CallAs, location_name: "CallAs")) UpdateStackSetInput.add_member(:managed_execution, Shapes::ShapeRef.new(shape: ManagedExecution, location_name: "ManagedExecution")) UpdateStackSetInput.struct_class = Types::UpdateStackSetInput UpdateStackSetOutput.add_member(:operation_id, Shapes::ShapeRef.new(shape: ClientRequestToken, location_name: "OperationId")) UpdateStackSetOutput.struct_class = Types::UpdateStackSetOutput UpdateTerminationProtectionInput.add_member(:enable_termination_protection, Shapes::ShapeRef.new(shape: EnableTerminationProtection, required: true, location_name: "EnableTerminationProtection")) UpdateTerminationProtectionInput.add_member(:stack_name, Shapes::ShapeRef.new(shape: StackNameOrId, required: true, location_name: "StackName")) UpdateTerminationProtectionInput.struct_class = Types::UpdateTerminationProtectionInput UpdateTerminationProtectionOutput.add_member(:stack_id, Shapes::ShapeRef.new(shape: StackId, location_name: "StackId")) UpdateTerminationProtectionOutput.struct_class = Types::UpdateTerminationProtectionOutput ValidateTemplateInput.add_member(:template_body, Shapes::ShapeRef.new(shape: TemplateBody, location_name: "TemplateBody")) ValidateTemplateInput.add_member(:template_url, Shapes::ShapeRef.new(shape: TemplateURL, location_name: "TemplateURL")) ValidateTemplateInput.struct_class = Types::ValidateTemplateInput ValidateTemplateOutput.add_member(:parameters, Shapes::ShapeRef.new(shape: TemplateParameters, location_name: "Parameters")) ValidateTemplateOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description")) ValidateTemplateOutput.add_member(:capabilities, Shapes::ShapeRef.new(shape: Capabilities, location_name: "Capabilities")) ValidateTemplateOutput.add_member(:capabilities_reason, Shapes::ShapeRef.new(shape: CapabilitiesReason, location_name: "CapabilitiesReason")) ValidateTemplateOutput.add_member(:declared_transforms, Shapes::ShapeRef.new(shape: TransformsList, location_name: "DeclaredTransforms")) ValidateTemplateOutput.struct_class = Types::ValidateTemplateOutput WarningDetail.add_member(:type, Shapes::ShapeRef.new(shape: WarningType, location_name: "Type")) WarningDetail.add_member(:properties, Shapes::ShapeRef.new(shape: WarningProperties, location_name: "Properties")) WarningDetail.struct_class = Types::WarningDetail WarningDetails.member = Shapes::ShapeRef.new(shape: WarningDetail) WarningProperties.member = Shapes::ShapeRef.new(shape: WarningProperty) WarningProperty.add_member(:property_path, Shapes::ShapeRef.new(shape: PropertyPath, location_name: "PropertyPath")) WarningProperty.add_member(:required, Shapes::ShapeRef.new(shape: RequiredProperty, location_name: "Required")) WarningProperty.add_member(:description, Shapes::ShapeRef.new(shape: PropertyDescription, location_name: "Description")) WarningProperty.struct_class = Types::WarningProperty Warnings.add_member(:unrecognized_resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "UnrecognizedResourceTypes")) Warnings.struct_class = Types::Warnings # @api private API = Seahorse::Model::Api.new.tap do |api| api.version = "2010-05-15" api.metadata = { "apiVersion" => "2010-05-15", "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "cloudformation", "protocol" => "query", "protocols" => ["query"], "serviceFullName" => "AWS CloudFormation", "serviceId" => "CloudFormation", "signatureVersion" => "v4", "uid" => "cloudformation-2010-05-15", "xmlNamespace" => "http://cloudformation.amazonaws.com/doc/2010-05-15/", } api.add_operation(:activate_organizations_access, Seahorse::Model::Operation.new.tap do |o| o.name = "ActivateOrganizationsAccess" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ActivateOrganizationsAccessInput) o.output = Shapes::ShapeRef.new(shape: ActivateOrganizationsAccessOutput) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException) end) api.add_operation(:activate_type, Seahorse::Model::Operation.new.tap do |o| o.name = "ActivateType" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ActivateTypeInput) o.output = Shapes::ShapeRef.new(shape: ActivateTypeOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) end) api.add_operation(:batch_describe_type_configurations, Seahorse::Model::Operation.new.tap do |o| o.name = "BatchDescribeTypeConfigurations" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: BatchDescribeTypeConfigurationsInput) o.output = Shapes::ShapeRef.new(shape: BatchDescribeTypeConfigurationsOutput) o.errors << Shapes::ShapeRef.new(shape: TypeConfigurationNotFoundException) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) end) api.add_operation(:cancel_update_stack, Seahorse::Model::Operation.new.tap do |o| o.name = "CancelUpdateStack" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CancelUpdateStackInput) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException) end) api.add_operation(:continue_update_rollback, Seahorse::Model::Operation.new.tap do |o| o.name = "ContinueUpdateRollback" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ContinueUpdateRollbackInput) o.output = Shapes::ShapeRef.new(shape: ContinueUpdateRollbackOutput) o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException) end) api.add_operation(:create_change_set, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateChangeSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateChangeSetInput) o.output = Shapes::ShapeRef.new(shape: CreateChangeSetOutput) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: InsufficientCapabilitiesException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) api.add_operation(:create_generated_template, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateGeneratedTemplate" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateGeneratedTemplateInput) o.output = Shapes::ShapeRef.new(shape: CreateGeneratedTemplateOutput) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentResourcesLimitExceededException) end) api.add_operation(:create_stack, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateStack" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateStackInput) o.output = Shapes::ShapeRef.new(shape: CreateStackOutput) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: InsufficientCapabilitiesException) end) api.add_operation(:create_stack_instances, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateStackInstances" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateStackInstancesInput) o.output = Shapes::ShapeRef.new(shape: CreateStackInstancesOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException) o.errors << Shapes::ShapeRef.new(shape: OperationIdAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: StaleRequestException) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) api.add_operation(:create_stack_refactor, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateStackRefactor" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateStackRefactorInput) o.output = Shapes::ShapeRef.new(shape: CreateStackRefactorOutput) end) api.add_operation(:create_stack_set, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateStackSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateStackSetInput) o.output = Shapes::ShapeRef.new(shape: CreateStackSetOutput) o.errors << Shapes::ShapeRef.new(shape: NameAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: CreatedButModifiedException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) api.add_operation(:deactivate_organizations_access, Seahorse::Model::Operation.new.tap do |o| o.name = "DeactivateOrganizationsAccess" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeactivateOrganizationsAccessInput) o.output = Shapes::ShapeRef.new(shape: DeactivateOrganizationsAccessOutput) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException) end) api.add_operation(:deactivate_type, Seahorse::Model::Operation.new.tap do |o| o.name = "DeactivateType" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeactivateTypeInput) o.output = Shapes::ShapeRef.new(shape: DeactivateTypeOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) end) api.add_operation(:delete_change_set, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteChangeSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeleteChangeSetInput) o.output = Shapes::ShapeRef.new(shape: DeleteChangeSetOutput) o.errors << Shapes::ShapeRef.new(shape: InvalidChangeSetStatusException) end) api.add_operation(:delete_generated_template, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteGeneratedTemplate" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeleteGeneratedTemplateInput) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: GeneratedTemplateNotFoundException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentResourcesLimitExceededException) end) api.add_operation(:delete_stack, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteStack" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeleteStackInput) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException) end) api.add_operation(:delete_stack_instances, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteStackInstances" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeleteStackInstancesInput) o.output = Shapes::ShapeRef.new(shape: DeleteStackInstancesOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException) o.errors << Shapes::ShapeRef.new(shape: OperationIdAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: StaleRequestException) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) end) api.add_operation(:delete_stack_set, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteStackSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeleteStackSetInput) o.output = Shapes::ShapeRef.new(shape: DeleteStackSetOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotEmptyException) o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException) end) api.add_operation(:deregister_type, Seahorse::Model::Operation.new.tap do |o| o.name = "DeregisterType" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeregisterTypeInput) o.output = Shapes::ShapeRef.new(shape: DeregisterTypeOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) end) api.add_operation(:describe_account_limits, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeAccountLimits" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeAccountLimitsInput) o.output = Shapes::ShapeRef.new(shape: DescribeAccountLimitsOutput) o[:pager] = Aws::Pager.new( tokens: { "next_token" => "next_token" } ) end) api.add_operation(:describe_change_set, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeChangeSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeChangeSetInput) o.output = Shapes::ShapeRef.new(shape: DescribeChangeSetOutput) o.errors << Shapes::ShapeRef.new(shape: ChangeSetNotFoundException) end) api.add_operation(:describe_change_set_hooks, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeChangeSetHooks" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeChangeSetHooksInput) o.output = Shapes::ShapeRef.new(shape: DescribeChangeSetHooksOutput) o.errors << Shapes::ShapeRef.new(shape: ChangeSetNotFoundException) end) api.add_operation(:describe_generated_template, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeGeneratedTemplate" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeGeneratedTemplateInput) o.output = Shapes::ShapeRef.new(shape: DescribeGeneratedTemplateOutput) o.errors << Shapes::ShapeRef.new(shape: GeneratedTemplateNotFoundException) end) api.add_operation(:describe_organizations_access, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeOrganizationsAccess" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeOrganizationsAccessInput) o.output = Shapes::ShapeRef.new(shape: DescribeOrganizationsAccessOutput) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException) end) api.add_operation(:describe_publisher, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribePublisher" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribePublisherInput) o.output = Shapes::ShapeRef.new(shape: DescribePublisherOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) end) api.add_operation(:describe_resource_scan, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeResourceScan" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeResourceScanInput) o.output = Shapes::ShapeRef.new(shape: DescribeResourceScanOutput) o.errors << Shapes::ShapeRef.new(shape: ResourceScanNotFoundException) end) api.add_operation(:describe_stack_drift_detection_status, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackDriftDetectionStatus" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackDriftDetectionStatusInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackDriftDetectionStatusOutput) end) api.add_operation(:describe_stack_events, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackEvents" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackEventsInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackEventsOutput) o[:pager] = Aws::Pager.new( tokens: { "next_token" => "next_token" } ) end) api.add_operation(:describe_stack_instance, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackInstance" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackInstanceInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackInstanceOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: StackInstanceNotFoundException) end) api.add_operation(:describe_stack_refactor, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackRefactor" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackRefactorInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackRefactorOutput) o.errors << Shapes::ShapeRef.new(shape: StackRefactorNotFoundException) end) api.add_operation(:describe_stack_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackResource" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackResourceInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackResourceOutput) end) api.add_operation(:describe_stack_resource_drifts, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackResourceDrifts" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackResourceDriftsInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackResourceDriftsOutput) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:describe_stack_resources, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackResources" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackResourcesInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackResourcesOutput) end) api.add_operation(:describe_stack_set, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackSetInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackSetOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) end) api.add_operation(:describe_stack_set_operation, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStackSetOperation" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStackSetOperationInput) o.output = Shapes::ShapeRef.new(shape: DescribeStackSetOperationOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException) end) api.add_operation(:describe_stacks, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeStacks" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeStacksInput) o.output = Shapes::ShapeRef.new(shape: DescribeStacksOutput) o[:pager] = Aws::Pager.new( tokens: { "next_token" => "next_token" } ) end) api.add_operation(:describe_type, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeType" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeTypeInput) o.output = Shapes::ShapeRef.new(shape: DescribeTypeOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) end) api.add_operation(:describe_type_registration, Seahorse::Model::Operation.new.tap do |o| o.name = "DescribeTypeRegistration" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DescribeTypeRegistrationInput) o.output = Shapes::ShapeRef.new(shape: DescribeTypeRegistrationOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) end) api.add_operation(:detect_stack_drift, Seahorse::Model::Operation.new.tap do |o| o.name = "DetectStackDrift" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DetectStackDriftInput) o.output = Shapes::ShapeRef.new(shape: DetectStackDriftOutput) end) api.add_operation(:detect_stack_resource_drift, Seahorse::Model::Operation.new.tap do |o| o.name = "DetectStackResourceDrift" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DetectStackResourceDriftInput) o.output = Shapes::ShapeRef.new(shape: DetectStackResourceDriftOutput) end) api.add_operation(:detect_stack_set_drift, Seahorse::Model::Operation.new.tap do |o| o.name = "DetectStackSetDrift" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DetectStackSetDriftInput) o.output = Shapes::ShapeRef.new(shape: DetectStackSetDriftOutput) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) end) api.add_operation(:estimate_template_cost, Seahorse::Model::Operation.new.tap do |o| o.name = "EstimateTemplateCost" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: EstimateTemplateCostInput) o.output = Shapes::ShapeRef.new(shape: EstimateTemplateCostOutput) end) api.add_operation(:execute_change_set, Seahorse::Model::Operation.new.tap do |o| o.name = "ExecuteChangeSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ExecuteChangeSetInput) o.output = Shapes::ShapeRef.new(shape: ExecuteChangeSetOutput) o.errors << Shapes::ShapeRef.new(shape: InvalidChangeSetStatusException) o.errors << Shapes::ShapeRef.new(shape: ChangeSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InsufficientCapabilitiesException) o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException) end) api.add_operation(:execute_stack_refactor, Seahorse::Model::Operation.new.tap do |o| o.name = "ExecuteStackRefactor" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ExecuteStackRefactorInput) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) end) api.add_operation(:get_generated_template, Seahorse::Model::Operation.new.tap do |o| o.name = "GetGeneratedTemplate" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: GetGeneratedTemplateInput) o.output = Shapes::ShapeRef.new(shape: GetGeneratedTemplateOutput) o.errors << Shapes::ShapeRef.new(shape: GeneratedTemplateNotFoundException) end) api.add_operation(:get_stack_policy, Seahorse::Model::Operation.new.tap do |o| o.name = "GetStackPolicy" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: GetStackPolicyInput) o.output = Shapes::ShapeRef.new(shape: GetStackPolicyOutput) end) api.add_operation(:get_template, Seahorse::Model::Operation.new.tap do |o| o.name = "GetTemplate" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: GetTemplateInput) o.output = Shapes::ShapeRef.new(shape: GetTemplateOutput) o.errors << Shapes::ShapeRef.new(shape: ChangeSetNotFoundException) end) api.add_operation(:get_template_summary, Seahorse::Model::Operation.new.tap do |o| o.name = "GetTemplateSummary" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: GetTemplateSummaryInput) o.output = Shapes::ShapeRef.new(shape: GetTemplateSummaryOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) end) api.add_operation(:import_stacks_to_stack_set, Seahorse::Model::Operation.new.tap do |o| o.name = "ImportStacksToStackSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ImportStacksToStackSetInput) o.output = Shapes::ShapeRef.new(shape: ImportStacksToStackSetOutput) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException) o.errors << Shapes::ShapeRef.new(shape: OperationIdAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: StackNotFoundException) o.errors << Shapes::ShapeRef.new(shape: StaleRequestException) end) api.add_operation(:list_change_sets, Seahorse::Model::Operation.new.tap do |o| o.name = "ListChangeSets" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListChangeSetsInput) o.output = Shapes::ShapeRef.new(shape: ListChangeSetsOutput) o[:pager] = Aws::Pager.new( tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_exports, Seahorse::Model::Operation.new.tap do |o| o.name = "ListExports" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListExportsInput) o.output = Shapes::ShapeRef.new(shape: ListExportsOutput) o[:pager] = Aws::Pager.new( tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_generated_templates, Seahorse::Model::Operation.new.tap do |o| o.name = "ListGeneratedTemplates" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListGeneratedTemplatesInput) o.output = Shapes::ShapeRef.new(shape: ListGeneratedTemplatesOutput) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_hook_results, Seahorse::Model::Operation.new.tap do |o| o.name = "ListHookResults" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListHookResultsInput) o.output = Shapes::ShapeRef.new(shape: ListHookResultsOutput) o.errors << Shapes::ShapeRef.new(shape: HookResultNotFoundException) end) api.add_operation(:list_imports, Seahorse::Model::Operation.new.tap do |o| o.name = "ListImports" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListImportsInput) o.output = Shapes::ShapeRef.new(shape: ListImportsOutput) o[:pager] = Aws::Pager.new( tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_resource_scan_related_resources, Seahorse::Model::Operation.new.tap do |o| o.name = "ListResourceScanRelatedResources" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListResourceScanRelatedResourcesInput) o.output = Shapes::ShapeRef.new(shape: ListResourceScanRelatedResourcesOutput) o.errors << Shapes::ShapeRef.new(shape: ResourceScanNotFoundException) o.errors << Shapes::ShapeRef.new(shape: ResourceScanInProgressException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_resource_scan_resources, Seahorse::Model::Operation.new.tap do |o| o.name = "ListResourceScanResources" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListResourceScanResourcesInput) o.output = Shapes::ShapeRef.new(shape: ListResourceScanResourcesOutput) o.errors << Shapes::ShapeRef.new(shape: ResourceScanNotFoundException) o.errors << Shapes::ShapeRef.new(shape: ResourceScanInProgressException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_resource_scans, Seahorse::Model::Operation.new.tap do |o| o.name = "ListResourceScans" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListResourceScansInput) o.output = Shapes::ShapeRef.new(shape: ListResourceScansOutput) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_stack_instance_resource_drifts, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackInstanceResourceDrifts" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackInstanceResourceDriftsInput) o.output = Shapes::ShapeRef.new(shape: ListStackInstanceResourceDriftsOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: StackInstanceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException) end) api.add_operation(:list_stack_instances, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackInstances" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackInstancesInput) o.output = Shapes::ShapeRef.new(shape: ListStackInstancesOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_stack_refactor_actions, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackRefactorActions" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackRefactorActionsInput) o.output = Shapes::ShapeRef.new(shape: ListStackRefactorActionsOutput) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_stack_refactors, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackRefactors" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackRefactorsInput) o.output = Shapes::ShapeRef.new(shape: ListStackRefactorsOutput) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_stack_resources, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackResources" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackResourcesInput) o.output = Shapes::ShapeRef.new(shape: ListStackResourcesOutput) o[:pager] = Aws::Pager.new( tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_stack_set_auto_deployment_targets, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackSetAutoDeploymentTargets" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackSetAutoDeploymentTargetsInput) o.output = Shapes::ShapeRef.new(shape: ListStackSetAutoDeploymentTargetsOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) end) api.add_operation(:list_stack_set_operation_results, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackSetOperationResults" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackSetOperationResultsInput) o.output = Shapes::ShapeRef.new(shape: ListStackSetOperationResultsOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_stack_set_operations, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackSetOperations" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackSetOperationsInput) o.output = Shapes::ShapeRef.new(shape: ListStackSetOperationsOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_stack_sets, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStackSets" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStackSetsInput) o.output = Shapes::ShapeRef.new(shape: ListStackSetsOutput) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_stacks, Seahorse::Model::Operation.new.tap do |o| o.name = "ListStacks" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListStacksInput) o.output = Shapes::ShapeRef.new(shape: ListStacksOutput) o[:pager] = Aws::Pager.new( tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_type_registrations, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTypeRegistrations" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListTypeRegistrationsInput) o.output = Shapes::ShapeRef.new(shape: ListTypeRegistrationsOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_type_versions, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTypeVersions" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListTypeVersionsInput) o.output = Shapes::ShapeRef.new(shape: ListTypeVersionsOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:list_types, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTypes" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListTypesInput) o.output = Shapes::ShapeRef.new(shape: ListTypesOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { "next_token" => "next_token" } ) end) api.add_operation(:publish_type, Seahorse::Model::Operation.new.tap do |o| o.name = "PublishType" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: PublishTypeInput) o.output = Shapes::ShapeRef.new(shape: PublishTypeOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) end) api.add_operation(:record_handler_progress, Seahorse::Model::Operation.new.tap do |o| o.name = "RecordHandlerProgress" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: RecordHandlerProgressInput) o.output = Shapes::ShapeRef.new(shape: RecordHandlerProgressOutput) o.errors << Shapes::ShapeRef.new(shape: InvalidStateTransitionException) o.errors << Shapes::ShapeRef.new(shape: OperationStatusCheckFailedException) end) api.add_operation(:register_publisher, Seahorse::Model::Operation.new.tap do |o| o.name = "RegisterPublisher" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: RegisterPublisherInput) o.output = Shapes::ShapeRef.new(shape: RegisterPublisherOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) end) api.add_operation(:register_type, Seahorse::Model::Operation.new.tap do |o| o.name = "RegisterType" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: RegisterTypeInput) o.output = Shapes::ShapeRef.new(shape: RegisterTypeOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) end) api.add_operation(:rollback_stack, Seahorse::Model::Operation.new.tap do |o| o.name = "RollbackStack" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: RollbackStackInput) o.output = Shapes::ShapeRef.new(shape: RollbackStackOutput) o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException) end) api.add_operation(:set_stack_policy, Seahorse::Model::Operation.new.tap do |o| o.name = "SetStackPolicy" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: SetStackPolicyInput) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) end) api.add_operation(:set_type_configuration, Seahorse::Model::Operation.new.tap do |o| o.name = "SetTypeConfiguration" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: SetTypeConfigurationInput) o.output = Shapes::ShapeRef.new(shape: SetTypeConfigurationOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) end) api.add_operation(:set_type_default_version, Seahorse::Model::Operation.new.tap do |o| o.name = "SetTypeDefaultVersion" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: SetTypeDefaultVersionInput) o.output = Shapes::ShapeRef.new(shape: SetTypeDefaultVersionOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) end) api.add_operation(:signal_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "SignalResource" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: SignalResourceInput) o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure)) end) api.add_operation(:start_resource_scan, Seahorse::Model::Operation.new.tap do |o| o.name = "StartResourceScan" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: StartResourceScanInput) o.output = Shapes::ShapeRef.new(shape: StartResourceScanOutput) o.errors << Shapes::ShapeRef.new(shape: ResourceScanInProgressException) o.errors << Shapes::ShapeRef.new(shape: ResourceScanLimitExceededException) end) api.add_operation(:stop_stack_set_operation, Seahorse::Model::Operation.new.tap do |o| o.name = "StopStackSetOperation" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: StopStackSetOperationInput) o.output = Shapes::ShapeRef.new(shape: StopStackSetOperationOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: OperationNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) end) api.add_operation(:test_type, Seahorse::Model::Operation.new.tap do |o| o.name = "TestType" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: TestTypeInput) o.output = Shapes::ShapeRef.new(shape: TestTypeOutput) o.errors << Shapes::ShapeRef.new(shape: CFNRegistryException) o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) end) api.add_operation(:update_generated_template, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateGeneratedTemplate" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UpdateGeneratedTemplateInput) o.output = Shapes::ShapeRef.new(shape: UpdateGeneratedTemplateOutput) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: GeneratedTemplateNotFoundException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) api.add_operation(:update_stack, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateStack" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UpdateStackInput) o.output = Shapes::ShapeRef.new(shape: UpdateStackOutput) o.errors << Shapes::ShapeRef.new(shape: InsufficientCapabilitiesException) o.errors << Shapes::ShapeRef.new(shape: TokenAlreadyExistsException) end) api.add_operation(:update_stack_instances, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateStackInstances" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UpdateStackInstancesInput) o.output = Shapes::ShapeRef.new(shape: UpdateStackInstancesOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: StackInstanceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException) o.errors << Shapes::ShapeRef.new(shape: OperationIdAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: StaleRequestException) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) end) api.add_operation(:update_stack_set, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateStackSet" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UpdateStackSetInput) o.output = Shapes::ShapeRef.new(shape: UpdateStackSetOutput) o.errors << Shapes::ShapeRef.new(shape: StackSetNotFoundException) o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException) o.errors << Shapes::ShapeRef.new(shape: OperationIdAlreadyExistsException) o.errors << Shapes::ShapeRef.new(shape: StaleRequestException) o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException) o.errors << Shapes::ShapeRef.new(shape: StackInstanceNotFoundException) end) api.add_operation(:update_termination_protection, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateTerminationProtection" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UpdateTerminationProtectionInput) o.output = Shapes::ShapeRef.new(shape: UpdateTerminationProtectionOutput) end) api.add_operation(:validate_template, Seahorse::Model::Operation.new.tap do |o| o.name = "ValidateTemplate" o.http_method = "POST" o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ValidateTemplateInput) o.output = Shapes::ShapeRef.new(shape: ValidateTemplateOutput) end) end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/event.rb0000644000004100000410000002332315077233060025122 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation class Event extend Aws::Deprecations # @overload def initialize(id, options = {}) # @param [String] id # @option options [Client] :client # @overload def initialize(options = {}) # @option options [required, String] :id # @option options [Client] :client def initialize(*args) options = Hash === args.last ? args.pop.dup : {} @id = extract_id(args, options) @data = options.delete(:data) @client = options.delete(:client) || Client.new(options) @waiter_block_warned = false end # @!group Read-Only Attributes # @return [String] def id @id end alias :event_id :id # The unique ID name of the instance of the stack. # @return [String] def stack_id data[:stack_id] end # The name associated with a stack. # @return [String] def stack_name data[:stack_name] end # The logical name of the resource specified in the template. # @return [String] def logical_resource_id data[:logical_resource_id] end # The name or unique identifier associated with the physical instance of # the resource. # @return [String] def physical_resource_id data[:physical_resource_id] end # Type of resource. For more information, see [Amazon Web Services # resource and property types reference][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] def resource_type data[:resource_type] end # Time the status was updated. # @return [Time] def timestamp data[:timestamp] end # Current status of the resource. # @return [String] def resource_status data[:resource_status] end # Success/failure message associated with the resource. # @return [String] def resource_status_reason data[:resource_status_reason] end # BLOB of the properties used to create the resource. # @return [String] def resource_properties data[:resource_properties] end # The token passed to the operation that generated this event. # # All events triggered by a given stack operation are assigned the same # client request token, which you can use to track operations. For # example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation will # have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @return [String] def client_request_token data[:client_request_token] end # The name of the Hook. # @return [String] def hook_type data[:hook_type] end # Provides the status of the change set Hook. # @return [String] def hook_status data[:hook_status] end # Provides the reason for the Hook status. # @return [String] def hook_status_reason data[:hook_status_reason] end # The specific point in the provisioning process where the Hook is # invoked. # @return [String] def hook_invocation_point data[:hook_invocation_point] end # The unique identifier of the Hook invocation. # @return [String] def hook_invocation_id data[:hook_invocation_id] end # Specify the Hook failure mode for non-compliant resources in the # followings ways. # # * `FAIL` Stops provisioning resources. # # * `WARN` Allows provisioning to continue with a warning message. # @return [String] def hook_failure_mode data[:hook_failure_mode] end # An optional field that contains information about the detailed status # of the stack event. # # * `CONFIGURATION_COMPLETE` - all of the resources in the stack have # reached that event. For more information, see [Understand # CloudFormation stack creation events][1] in the *CloudFormation User # Guide*. # # ^ # ^ # # * `VALIDATION_FAILED` - template validation failed because of invalid # properties in the template. The `ResourceStatusReason` field shows # what properties are defined incorrectly. # # ^ # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html # @return [String] def detailed_status data[:detailed_status] end # @!endgroup # @return [Client] def client @client end # @raise [NotImplementedError] # @api private def load msg = "#load is not implemented, data only available via enumeration" raise NotImplementedError, msg end alias :reload :load # @raise [NotImplementedError] Raises when {#data_loaded?} is `false`. # @return [Types::StackEvent] # Returns the data for this {Event}. def data load unless @data @data end # @return [Boolean] # Returns `true` if this resource is loaded. Accessing attributes or # {#data} on an unloaded resource will trigger a call to {#load}. def data_loaded? !!@data end # @deprecated Use [Aws::CloudFormation::Client] #wait_until instead # # Waiter polls an API operation until a resource enters a desired # state. # # @note The waiting operation is performed on a copy. The original resource # remains unchanged. # # ## Basic Usage # # Waiter will polls until it is successful, it fails by # entering a terminal state, or until a maximum number of attempts # are made. # # # polls in a loop until condition is true # resource.wait_until(options) {|resource| condition} # # ## Example # # instance.wait_until(max_attempts:10, delay:5) do |instance| # instance.state.name == 'running' # end # # ## Configuration # # You can configure the maximum number of polling attempts, and the # delay (in seconds) between each polling attempt. The waiting condition is # set by passing a block to {#wait_until}: # # # poll for ~25 seconds # resource.wait_until(max_attempts:5,delay:5) {|resource|...} # # ## Callbacks # # You can be notified before each polling attempt and before each # delay. If you throw `:success` or `:failure` from these callbacks, # it will terminate the waiter. # # started_at = Time.now # # poll for 1 hour, instead of a number of attempts # proc = Proc.new do |attempts, response| # throw :failure if Time.now - started_at > 3600 # end # # # disable max attempts # instance.wait_until(before_wait:proc, max_attempts:nil) {...} # # ## Handling Errors # # When a waiter is successful, it returns the Resource. When a waiter # fails, it raises an error. # # begin # resource.wait_until(...) # rescue Aws::Waiters::Errors::WaiterFailed # # resource did not enter the desired state in time # end # # @yieldparam [Resource] resource to be used in the waiting condition. # # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter # terminates because the waiter has entered a state that it will not # transition out of, preventing success. # # yet successful. # # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is # encountered while polling for a resource that is not expected. # # @raise [NotImplementedError] Raised when the resource does not # # @option options [Integer] :max_attempts (10) Maximum number of # attempts # @option options [Integer] :delay (10) Delay between each # attempt in seconds # @option options [Proc] :before_attempt (nil) Callback # invoked before each attempt # @option options [Proc] :before_wait (nil) Callback # invoked before each wait # @return [Resource] if the waiter was successful def wait_until(options = {}, &block) self_copy = self.dup attempts = 0 options[:max_attempts] = 10 unless options.key?(:max_attempts) options[:delay] ||= 10 options[:poller] = Proc.new do attempts += 1 if block.call(self_copy) [:success, self_copy] else self_copy.reload unless attempts == options[:max_attempts] :retry end end Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do Aws::Waiters::Waiter.new(options).wait({}) end end # @deprecated # @api private def identifiers { id: @id } end deprecated(:identifiers) private def extract_id(args, options) value = args[0] || options.delete(:id) case value when String then value when nil then raise ArgumentError, "missing required option :id" else msg = "expected :id to be a String, got #{value.class}" raise ArgumentError, msg end end class Collection < Aws::Resources::Collection; end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/endpoint_provider.rb0000644000004100000410000000652215077233060027535 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation class EndpointProvider def resolve_endpoint(parameters) if Aws::Endpoints::Matchers.set?(parameters.endpoint) if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported" end if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true) raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported" end return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {}) end if Aws::Endpoints::Matchers.set?(parameters.region) if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region)) if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true) if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack")) return Aws::Endpoints::Endpoint.new(url: "https://cloudformation-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{parameters.region}.amazonaws.com", headers: {}, properties: {}) end return Aws::Endpoints::Endpoint.new(url: "https://cloudformation-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" end if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true) if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack")) return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "DualStack is enabled but this partition does not support DualStack" end return Aws::Endpoints::Endpoint.new(url: "https://cloudformation.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end end raise ArgumentError, "Invalid Configuration: Missing Region" raise ArgumentError, 'No endpoint could be resolved' end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/stack_resource_summary.rb0000644000004100000410000002043015077233060030566 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation class StackResourceSummary extend Aws::Deprecations # @overload def initialize(stack_name, logical_id, options = {}) # @param [String] stack_name # @param [String] logical_id # @option options [Client] :client # @overload def initialize(options = {}) # @option options [required, String] :stack_name # @option options [required, String] :logical_id # @option options [Client] :client def initialize(*args) options = Hash === args.last ? args.pop.dup : {} @stack_name = extract_stack_name(args, options) @logical_id = extract_logical_id(args, options) @data = options.delete(:data) @client = options.delete(:client) || Client.new(options) @waiter_block_warned = false end # @!group Read-Only Attributes # @return [String] def stack_name @stack_name end # @return [String] def logical_id @logical_id end alias :logical_resource_id :logical_id # The name or unique identifier that corresponds to a physical instance # ID of the resource. # @return [String] def physical_resource_id data[:physical_resource_id] end # Type of resource. (For more information, see [Amazon Web Services # resource and property types reference][1] in the *CloudFormation User # Guide*.) # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] def resource_type data[:resource_type] end # Time the status was updated. # @return [Time] def last_updated_timestamp data[:last_updated_timestamp] end # Current status of the resource. # @return [String] def resource_status data[:resource_status] end # Success/failure message associated with the resource. # @return [String] def resource_status_reason data[:resource_status_reason] end # Information about whether the resource's actual configuration # differs, or has *drifted*, from its expected configuration, as defined # in the stack template and any values specified as template parameters. # For more information, see [Detect unmanaged configuration changes to # stacks and resources with drift detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # @return [Types::StackResourceDriftInformationSummary] def drift_information data[:drift_information] end # Contains information about the module from which the resource was # created, if the resource was created from a module included in the # stack template. # @return [Types::ModuleInfo] def module_info data[:module_info] end # @!endgroup # @return [Client] def client @client end # @raise [NotImplementedError] # @api private def load msg = "#load is not implemented, data only available via enumeration" raise NotImplementedError, msg end alias :reload :load # @raise [NotImplementedError] Raises when {#data_loaded?} is `false`. # @return [Types::StackResourceSummary] # Returns the data for this {StackResourceSummary}. def data load unless @data @data end # @return [Boolean] # Returns `true` if this resource is loaded. Accessing attributes or # {#data} on an unloaded resource will trigger a call to {#load}. def data_loaded? !!@data end # @deprecated Use [Aws::CloudFormation::Client] #wait_until instead # # Waiter polls an API operation until a resource enters a desired # state. # # @note The waiting operation is performed on a copy. The original resource # remains unchanged. # # ## Basic Usage # # Waiter will polls until it is successful, it fails by # entering a terminal state, or until a maximum number of attempts # are made. # # # polls in a loop until condition is true # resource.wait_until(options) {|resource| condition} # # ## Example # # instance.wait_until(max_attempts:10, delay:5) do |instance| # instance.state.name == 'running' # end # # ## Configuration # # You can configure the maximum number of polling attempts, and the # delay (in seconds) between each polling attempt. The waiting condition is # set by passing a block to {#wait_until}: # # # poll for ~25 seconds # resource.wait_until(max_attempts:5,delay:5) {|resource|...} # # ## Callbacks # # You can be notified before each polling attempt and before each # delay. If you throw `:success` or `:failure` from these callbacks, # it will terminate the waiter. # # started_at = Time.now # # poll for 1 hour, instead of a number of attempts # proc = Proc.new do |attempts, response| # throw :failure if Time.now - started_at > 3600 # end # # # disable max attempts # instance.wait_until(before_wait:proc, max_attempts:nil) {...} # # ## Handling Errors # # When a waiter is successful, it returns the Resource. When a waiter # fails, it raises an error. # # begin # resource.wait_until(...) # rescue Aws::Waiters::Errors::WaiterFailed # # resource did not enter the desired state in time # end # # @yieldparam [Resource] resource to be used in the waiting condition. # # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter # terminates because the waiter has entered a state that it will not # transition out of, preventing success. # # yet successful. # # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is # encountered while polling for a resource that is not expected. # # @raise [NotImplementedError] Raised when the resource does not # # @option options [Integer] :max_attempts (10) Maximum number of # attempts # @option options [Integer] :delay (10) Delay between each # attempt in seconds # @option options [Proc] :before_attempt (nil) Callback # invoked before each attempt # @option options [Proc] :before_wait (nil) Callback # invoked before each wait # @return [Resource] if the waiter was successful def wait_until(options = {}, &block) self_copy = self.dup attempts = 0 options[:max_attempts] = 10 unless options.key?(:max_attempts) options[:delay] ||= 10 options[:poller] = Proc.new do attempts += 1 if block.call(self_copy) [:success, self_copy] else self_copy.reload unless attempts == options[:max_attempts] :retry end end Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do Aws::Waiters::Waiter.new(options).wait({}) end end # @!group Associations # @return [StackResource] def resource StackResource.new( logical_id: @logical_id, stack_name: @stack_name, client: @client ) end # @deprecated # @api private def identifiers { stack_name: @stack_name, logical_id: @logical_id } end deprecated(:identifiers) private def extract_stack_name(args, options) value = args[0] || options.delete(:stack_name) case value when String then value when nil then raise ArgumentError, "missing required option :stack_name" else msg = "expected :stack_name to be a String, got #{value.class}" raise ArgumentError, msg end end def extract_logical_id(args, options) value = args[1] || options.delete(:logical_id) case value when String then value when nil then raise ArgumentError, "missing required option :logical_id" else msg = "expected :logical_id to be a String, got #{value.class}" raise ArgumentError, msg end end class Collection < Aws::Resources::Collection; end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/stack_resource.rb0000644000004100000410000002213015077233060027010 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation class StackResource extend Aws::Deprecations # @overload def initialize(stack_name, logical_id, options = {}) # @param [String] stack_name # @param [String] logical_id # @option options [Client] :client # @overload def initialize(options = {}) # @option options [required, String] :stack_name # @option options [required, String] :logical_id # @option options [Client] :client def initialize(*args) options = Hash === args.last ? args.pop.dup : {} @stack_name = extract_stack_name(args, options) @logical_id = extract_logical_id(args, options) @data = options.delete(:data) @client = options.delete(:client) || Client.new(options) @waiter_block_warned = false end # @!group Read-Only Attributes # @return [String] def stack_name @stack_name end # @return [String] def logical_id @logical_id end alias :logical_resource_id :logical_id # Unique identifier of the stack. # @return [String] def stack_id data[:stack_id] end # The name or unique identifier that corresponds to a physical instance # ID of a resource supported by CloudFormation. # @return [String] def physical_resource_id data[:physical_resource_id] end # Type of resource. For more information, see [Amazon Web Services # resource and property types reference][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] def resource_type data[:resource_type] end # Time the status was updated. # @return [Time] def last_updated_timestamp data[:last_updated_timestamp] end # Current status of the resource. # @return [String] def resource_status data[:resource_status] end # Success/failure message associated with the resource. # @return [String] def resource_status_reason data[:resource_status_reason] end # User defined description associated with the resource. # @return [String] def description data[:description] end # The content of the `Metadata` attribute declared for the resource. For # more information, see [Metadata attribute][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html # @return [String] def metadata data[:metadata] end # Information about whether the resource's actual configuration # differs, or has *drifted*, from its expected configuration, as defined # in the stack template and any values specified as template parameters. # For more information, see [Detect unmanaged configuration changes to # stacks and resources with drift detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # @return [Types::StackResourceDriftInformation] def drift_information data[:drift_information] end # Contains information about the module from which the resource was # created, if the resource was created from a module included in the # stack template. # @return [Types::ModuleInfo] def module_info data[:module_info] end # @!endgroup # @return [Client] def client @client end # Loads, or reloads {#data} for the current {StackResource}. # Returns `self` making it possible to chain methods. # # stack_resource.reload.data # # @return [self] def load resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do @client.describe_stack_resource( logical_resource_id: @logical_id, stack_name: @stack_name ) end @data = resp.stack_resource_detail self end alias :reload :load # @return [Types::StackResourceDetail] # Returns the data for this {StackResource}. Calls # {Client#describe_stack_resource} if {#data_loaded?} is `false`. def data load unless @data @data end # @return [Boolean] # Returns `true` if this resource is loaded. Accessing attributes or # {#data} on an unloaded resource will trigger a call to {#load}. def data_loaded? !!@data end # @deprecated Use [Aws::CloudFormation::Client] #wait_until instead # # Waiter polls an API operation until a resource enters a desired # state. # # @note The waiting operation is performed on a copy. The original resource # remains unchanged. # # ## Basic Usage # # Waiter will polls until it is successful, it fails by # entering a terminal state, or until a maximum number of attempts # are made. # # # polls in a loop until condition is true # resource.wait_until(options) {|resource| condition} # # ## Example # # instance.wait_until(max_attempts:10, delay:5) do |instance| # instance.state.name == 'running' # end # # ## Configuration # # You can configure the maximum number of polling attempts, and the # delay (in seconds) between each polling attempt. The waiting condition is # set by passing a block to {#wait_until}: # # # poll for ~25 seconds # resource.wait_until(max_attempts:5,delay:5) {|resource|...} # # ## Callbacks # # You can be notified before each polling attempt and before each # delay. If you throw `:success` or `:failure` from these callbacks, # it will terminate the waiter. # # started_at = Time.now # # poll for 1 hour, instead of a number of attempts # proc = Proc.new do |attempts, response| # throw :failure if Time.now - started_at > 3600 # end # # # disable max attempts # instance.wait_until(before_wait:proc, max_attempts:nil) {...} # # ## Handling Errors # # When a waiter is successful, it returns the Resource. When a waiter # fails, it raises an error. # # begin # resource.wait_until(...) # rescue Aws::Waiters::Errors::WaiterFailed # # resource did not enter the desired state in time # end # # @yieldparam [Resource] resource to be used in the waiting condition. # # @raise [Aws::Waiters::Errors::FailureStateError] Raised when the waiter # terminates because the waiter has entered a state that it will not # transition out of, preventing success. # # yet successful. # # @raise [Aws::Waiters::Errors::UnexpectedError] Raised when an error is # encountered while polling for a resource that is not expected. # # @raise [NotImplementedError] Raised when the resource does not # # @option options [Integer] :max_attempts (10) Maximum number of # attempts # @option options [Integer] :delay (10) Delay between each # attempt in seconds # @option options [Proc] :before_attempt (nil) Callback # invoked before each attempt # @option options [Proc] :before_wait (nil) Callback # invoked before each wait # @return [Resource] if the waiter was successful def wait_until(options = {}, &block) self_copy = self.dup attempts = 0 options[:max_attempts] = 10 unless options.key?(:max_attempts) options[:delay] ||= 10 options[:poller] = Proc.new do attempts += 1 if block.call(self_copy) [:success, self_copy] else self_copy.reload unless attempts == options[:max_attempts] :retry end end Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do Aws::Waiters::Waiter.new(options).wait({}) end end # @!group Associations # @return [Stack] def stack Stack.new( name: @stack_name, client: @client ) end # @deprecated # @api private def identifiers { stack_name: @stack_name, logical_id: @logical_id } end deprecated(:identifiers) private def extract_stack_name(args, options) value = args[0] || options.delete(:stack_name) case value when String then value when nil then raise ArgumentError, "missing required option :stack_name" else msg = "expected :stack_name to be a String, got #{value.class}" raise ArgumentError, msg end end def extract_logical_id(args, options) value = args[1] || options.delete(:logical_id) case value when String then value when nil then raise ArgumentError, "missing required option :logical_id" else msg = "expected :logical_id to be a String, got #{value.class}" raise ArgumentError, msg end end class Collection < Aws::Resources::Collection; end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/client.rb0000644000004100000410000150326315077233060025266 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE require 'seahorse/client/plugins/content_length' require 'aws-sdk-core/plugins/credentials_configuration' require 'aws-sdk-core/plugins/logging' require 'aws-sdk-core/plugins/param_converter' require 'aws-sdk-core/plugins/param_validator' require 'aws-sdk-core/plugins/user_agent' require 'aws-sdk-core/plugins/helpful_socket_errors' require 'aws-sdk-core/plugins/retry_errors' require 'aws-sdk-core/plugins/global_configuration' require 'aws-sdk-core/plugins/regional_endpoint' require 'aws-sdk-core/plugins/endpoint_discovery' require 'aws-sdk-core/plugins/endpoint_pattern' require 'aws-sdk-core/plugins/response_paging' require 'aws-sdk-core/plugins/stub_responses' require 'aws-sdk-core/plugins/idempotency_token' require 'aws-sdk-core/plugins/invocation_id' require 'aws-sdk-core/plugins/jsonvalue_converter' require 'aws-sdk-core/plugins/client_metrics_plugin' require 'aws-sdk-core/plugins/client_metrics_send_plugin' require 'aws-sdk-core/plugins/transfer_encoding' require 'aws-sdk-core/plugins/http_checksum' require 'aws-sdk-core/plugins/checksum_algorithm' require 'aws-sdk-core/plugins/request_compression' require 'aws-sdk-core/plugins/defaults_mode' require 'aws-sdk-core/plugins/recursion_detection' require 'aws-sdk-core/plugins/telemetry' require 'aws-sdk-core/plugins/sign' require 'aws-sdk-core/plugins/protocols/query' module Aws::CloudFormation # An API client for CloudFormation. To construct a client, you need to configure a `:region` and `:credentials`. # # client = Aws::CloudFormation::Client.new( # region: region_name, # credentials: credentials, # # ... # ) # # For details on configuring region and credentials see # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html). # # See {#initialize} for a full list of supported configuration options. class Client < Seahorse::Client::Base include Aws::ClientStubs @identifier = :cloudformation set_api(ClientApi::API) add_plugin(Seahorse::Client::Plugins::ContentLength) add_plugin(Aws::Plugins::CredentialsConfiguration) add_plugin(Aws::Plugins::Logging) add_plugin(Aws::Plugins::ParamConverter) add_plugin(Aws::Plugins::ParamValidator) add_plugin(Aws::Plugins::UserAgent) add_plugin(Aws::Plugins::HelpfulSocketErrors) add_plugin(Aws::Plugins::RetryErrors) add_plugin(Aws::Plugins::GlobalConfiguration) add_plugin(Aws::Plugins::RegionalEndpoint) add_plugin(Aws::Plugins::EndpointDiscovery) add_plugin(Aws::Plugins::EndpointPattern) add_plugin(Aws::Plugins::ResponsePaging) add_plugin(Aws::Plugins::StubResponses) add_plugin(Aws::Plugins::IdempotencyToken) add_plugin(Aws::Plugins::InvocationId) add_plugin(Aws::Plugins::JsonvalueConverter) add_plugin(Aws::Plugins::ClientMetricsPlugin) add_plugin(Aws::Plugins::ClientMetricsSendPlugin) add_plugin(Aws::Plugins::TransferEncoding) add_plugin(Aws::Plugins::HttpChecksum) add_plugin(Aws::Plugins::ChecksumAlgorithm) add_plugin(Aws::Plugins::RequestCompression) add_plugin(Aws::Plugins::DefaultsMode) add_plugin(Aws::Plugins::RecursionDetection) add_plugin(Aws::Plugins::Telemetry) add_plugin(Aws::Plugins::Sign) add_plugin(Aws::Plugins::Protocols::Query) add_plugin(Aws::CloudFormation::Plugins::Endpoints) # @overload initialize(options) # @param [Hash] options # # @option options [Array] :plugins ([]]) # A list of plugins to apply to the client. Each plugin is either a # class name or an instance of a plugin class. # # @option options [required, Aws::CredentialProvider] :credentials # Your AWS credentials used for authentication. This can be any class that includes and implements # `Aws::CredentialProvider`, or instance of any one of the following classes: # # * `Aws::Credentials` - Used for configuring static, non-refreshing # credentials. # # * `Aws::SharedCredentials` - Used for loading static credentials from a # shared file, such as `~/.aws/config`. # # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role. # # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to # assume a role after providing credentials via the web. # # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an # access token generated from `aws login`. # # * `Aws::ProcessCredentials` - Used for loading credentials from a # process that outputs to stdout. # # * `Aws::InstanceProfileCredentials` - Used for loading credentials # from an EC2 IMDS on an EC2 instance. # # * `Aws::ECSCredentials` - Used for loading credentials from # instances running in ECS. # # * `Aws::CognitoIdentityCredentials` - Used for loading credentials # from the Cognito Identity service. # # When `:credentials` are not configured directly, the following locations will be searched for credentials: # # * `Aws.config[:credentials]` # # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and # `:account_id` options. # # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`, # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`. # # * `~/.aws/credentials` # # * `~/.aws/config` # # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive. # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to # enable retries and extended timeouts. Instance profile credential fetching can be disabled by # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`. # # @option options [required, String] :region # The AWS region to connect to. The configured `:region` is # used to determine the service `:endpoint`. When not passed, # a default `:region` is searched for in the following locations: # # * `Aws.config[:region]` # * `ENV['AWS_REGION']` # * `ENV['AMAZON_REGION']` # * `ENV['AWS_DEFAULT_REGION']` # * `~/.aws/credentials` # * `~/.aws/config` # # @option options [String] :access_key_id # # @option options [String] :account_id # # @option options [Boolean] :active_endpoint_cache (false) # When set to `true`, a thread polling for endpoints will be running in # the background every 60 secs (default). Defaults to `false`. # # @option options [Boolean] :adaptive_retry_wait_to_fill (true) # Used only in `adaptive` retry mode. When true, the request will sleep # until there is sufficent client side capacity to retry the request. # When false, the request will raise a `RetryCapacityNotAvailableError` and will # not retry instead of sleeping. # # @option options [Array] :auth_scheme_preference # A list of preferred authentication schemes to use when making a request. Supported values are: # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in # shared config as `auth_scheme_preference`, the value should be a comma-separated list. # # @option options [Boolean] :client_side_monitoring (false) # When `true`, client-side metrics will be collected for all API requests from # this client. # # @option options [String] :client_side_monitoring_client_id ("") # Allows you to provide an identifier for this client which will be attached to # all generated client side metrics. Defaults to an empty string. # # @option options [String] :client_side_monitoring_host ("127.0.0.1") # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client # side monitoring agent is running on, where client metrics will be published via UDP. # # @option options [Integer] :client_side_monitoring_port (31000) # Required for publishing client metrics. The port that the client side monitoring # agent is running on, where client metrics will be published via UDP. # # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher) # Allows you to provide a custom client-side monitoring publisher class. By default, # will use the Client Side Monitoring Agent Publisher. # # @option options [Boolean] :convert_params (true) # When `true`, an attempt is made to coerce request parameters into # the required types. # # @option options [Boolean] :correct_clock_skew (true) # Used only in `standard` and adaptive retry modes. Specifies whether to apply # a clock skew correction and retry requests with skewed client clocks. # # @option options [String] :defaults_mode ("legacy") # See {Aws::DefaultsModeConfiguration} for a list of the # accepted modes and the configuration defaults that are included. # # @option options [Boolean] :disable_host_prefix_injection (false) # When `true`, the SDK will not prepend the modeled host prefix to the endpoint. # # @option options [Boolean] :disable_request_compression (false) # When set to 'true' the request body will not be compressed # for supported operations. # # @option options [String, URI::HTTPS, URI::HTTP] :endpoint # Normally you should not configure the `:endpoint` option # directly. This is normally constructed from the `:region` # option. Configuring `:endpoint` is normally reserved for # connecting to test or custom endpoints. The endpoint should # be a URI formatted like: # # 'http://example.com' # 'https://example.com' # 'http://example.com:123' # # @option options [Integer] :endpoint_cache_max_entries (1000) # Used for the maximum size limit of the LRU cache storing endpoints data # for endpoint discovery enabled operations. Defaults to 1000. # # @option options [Integer] :endpoint_cache_max_threads (10) # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10. # # @option options [Integer] :endpoint_cache_poll_interval (60) # When :endpoint_discovery and :active_endpoint_cache is enabled, # Use this option to config the time interval in seconds for making # requests fetching endpoints information. Defaults to 60 sec. # # @option options [Boolean] :endpoint_discovery (false) # When set to `true`, endpoint discovery will be enabled for operations when available. # # @option options [Boolean] :ignore_configured_endpoint_urls # Setting to true disables use of endpoint URLs provided via environment # variables and the shared configuration file. # # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default) # The log formatter. # # @option options [Symbol] :log_level (:info) # The log level to send messages to the `:logger` at. # # @option options [Logger] :logger # The Logger instance to send log messages to. If this option # is not set, logging will be disabled. # # @option options [Integer] :max_attempts (3) # An integer representing the maximum number attempts that will be made for # a single request, including the initial attempt. For example, # setting this value to 5 will result in a request being retried up to # 4 times. Used in `standard` and `adaptive` retry modes. # # @option options [String] :profile ("default") # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`. # When not specified, 'default' is used. # # @option options [String] :request_checksum_calculation ("when_supported") # Determines when a checksum will be calculated for request payloads. Values are: # # * `when_supported` - (default) When set, a checksum will be # calculated for all request payloads of operations modeled with the # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a # `requestAlgorithmMember` is modeled. # * `when_required` - When set, a checksum will only be calculated for # request payloads of operations modeled with the `httpChecksum` trait where # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember` # is modeled and supplied. # # @option options [Integer] :request_min_compression_size_bytes (10240) # The minimum size in bytes that triggers compression for request # bodies. The value must be non-negative integer value between 0 # and 10485780 bytes inclusive. # # @option options [String] :response_checksum_validation ("when_supported") # Determines when checksum validation will be performed on response payloads. Values are: # # * `when_supported` - (default) When set, checksum validation is performed on all # response payloads of operations modeled with the `httpChecksum` trait where # `responseAlgorithms` is modeled, except when no modeled checksum algorithms # are supported. # * `when_required` - When set, checksum validation is not performed on # response payloads of operations unless the checksum algorithm is supported and # the `requestValidationModeMember` member is set to `ENABLED`. # # @option options [Proc] :retry_backoff # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay. # This option is only used in the `legacy` retry mode. # # @option options [Float] :retry_base_delay (0.3) # The base delay in seconds used by the default backoff function. This option # is only used in the `legacy` retry mode. # # @option options [Symbol] :retry_jitter (:none) # A delay randomiser function used by the default backoff function. # Some predefined functions can be referenced by name - :none, :equal, :full, # otherwise a Proc that takes and returns a number. This option is only used # in the `legacy` retry mode. # # @see https://www.awsarchitectureblog.com/2015/03/backoff.html # # @option options [Integer] :retry_limit (3) # The maximum number of times to retry failed requests. Only # ~ 500 level server errors and certain ~ 400 level client errors # are retried. Generally, these are throttling errors, data # checksum errors, networking errors, timeout errors, auth errors, # endpoint discovery, and errors from expired credentials. # This option is only used in the `legacy` retry mode. # # @option options [Integer] :retry_max_delay (0) # The maximum number of seconds to delay between retries (0 for no limit) # used by the default backoff function. This option is only used in the # `legacy` retry mode. # # @option options [String] :retry_mode ("legacy") # Specifies which retry algorithm to use. Values are: # # * `legacy` - The pre-existing retry behavior. This is default value if # no retry mode is provided. # # * `standard` - A standardized set of retry rules across the AWS SDKs. # This includes support for retry quotas, which limit the number of # unsuccessful retries a client can make. # # * `adaptive` - An experimental retry mode that includes all the # functionality of `standard` mode along with automatic client side # throttling. This is a provisional mode that may change behavior # in the future. # # @option options [String] :sdk_ua_app_id # A unique and opaque application ID that is appended to the # User-Agent header as app/sdk_ua_app_id. It should have a # maximum length of 50. This variable is sourced from environment # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id. # # @option options [String] :secret_access_key # # @option options [String] :session_token # # @option options [Array] :sigv4a_signing_region_set # A list of regions that should be signed with SigV4a signing. When # not passed, a default `:sigv4a_signing_region_set` is searched for # in the following locations: # # * `Aws.config[:sigv4a_signing_region_set]` # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']` # * `~/.aws/config` # # @option options [Boolean] :stub_responses (false) # Causes the client to return stubbed responses. By default # fake responses are generated and returned. You can specify # the response data to return or errors to raise by calling # {ClientStubs#stub_responses}. See {ClientStubs} for more information. # # ** Please note ** When response stubbing is enabled, no HTTP # requests are made, and retries are disabled. # # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider) # Allows you to provide a telemetry provider, which is used to # emit telemetry data. By default, uses `NoOpTelemetryProvider` which # will not record or emit any telemetry data. The SDK supports the # following telemetry providers: # # * OpenTelemetry (OTel) - To use the OTel provider, install and require the # `opentelemetry-sdk` gem and then, pass in an instance of a # `Aws::Telemetry::OTelProvider` for telemetry provider. # # @option options [Aws::TokenProvider] :token_provider # Your Bearer token used for authentication. This can be any class that includes and implements # `Aws::TokenProvider`, or instance of any one of the following classes: # # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing # tokens. # # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an # access token generated from `aws login`. # # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain` # will be used to search for tokens configured for your profile in shared configuration files. # # @option options [Boolean] :use_dualstack_endpoint # When set to `true`, dualstack enabled endpoints (with `.aws` TLD) # will be used if available. # # @option options [Boolean] :use_fips_endpoint # When set to `true`, fips compatible endpoints will be used if available. # When a `fips` region is used, the region is normalized and this config # is set to `true`. # # @option options [Boolean] :validate_params (true) # When `true`, request parameters are validated before # sending the request. # # @option options [Aws::CloudFormation::EndpointProvider] :endpoint_provider # The endpoint provider used to resolve endpoints. Any object that responds to # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to # `Aws::CloudFormation::EndpointParameters`. # # @option options [Float] :http_continue_timeout (1) # The number of seconds to wait for a 100-continue response before sending the # request body. This option has no effect unless the request has "Expect" # header set to "100-continue". Defaults to `nil` which disables this # behaviour. This value can safely be set per request on the session. # # @option options [Float] :http_idle_timeout (5) # The number of seconds a connection is allowed to sit idle before it # is considered stale. Stale connections are closed and removed from the # pool before making a request. # # @option options [Float] :http_open_timeout (15) # The default number of seconds to wait for response data. # This value can safely be set per-request on the session. # # @option options [URI::HTTP,String] :http_proxy # A proxy to send requests through. Formatted like 'http://proxy.com:123'. # # @option options [Float] :http_read_timeout (60) # The default number of seconds to wait for response data. # This value can safely be set per-request on the session. # # @option options [Boolean] :http_wire_trace (false) # When `true`, HTTP debug output will be sent to the `:logger`. # # @option options [Proc] :on_chunk_received # When a Proc object is provided, it will be used as callback when each chunk # of the response body is received. It provides three arguments: the chunk, # the number of bytes received, and the total number of # bytes in the response (or nil if the server did not send a `content-length`). # # @option options [Proc] :on_chunk_sent # When a Proc object is provided, it will be used as callback when each chunk # of the request body is sent. It provides three arguments: the chunk, # the number of bytes read from the body, and the total number of # bytes in the body. # # @option options [Boolean] :raise_response_errors (true) # When `true`, response errors are raised. # # @option options [String] :ssl_ca_bundle # Full path to the SSL certificate authority bundle file that should be used when # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or # `:ssl_ca_directory` the the system default will be used if available. # # @option options [String] :ssl_ca_directory # Full path of the directory that contains the unbundled SSL certificate # authority files for verifying peer certificates. If you do # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system # default will be used if available. # # @option options [String] :ssl_ca_store # Sets the X509::Store to verify peer certificate. # # @option options [OpenSSL::X509::Certificate] :ssl_cert # Sets a client certificate when creating http connections. # # @option options [OpenSSL::PKey] :ssl_key # Sets a client key when creating http connections. # # @option options [Float] :ssl_timeout # Sets the SSL timeout in seconds # # @option options [Boolean] :ssl_verify_peer (true) # When `true`, SSL peer certificates are verified when establishing a connection. # def initialize(*args) super end # @!group API Operations # Activate trusted access with Organizations. With trusted access # between StackSets and Organizations activated, the management account # has permissions to create and manage StackSets for your organization. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ActivateOrganizationsAccess AWS API Documentation # # @overload activate_organizations_access(params = {}) # @param [Hash] params ({}) def activate_organizations_access(params = {}, options = {}) req = build_request(:activate_organizations_access, params) req.send_request(options) end # Activates a public third-party extension, such as a resource or # module, to make it available for use in stack templates in your # current account and Region. It can also create CloudFormation Hooks, # which allow you to evaluate resource configurations before # CloudFormation provisions them. Hooks integrate with both # CloudFormation and Cloud Control API operations. # # After you activate an extension, you can use [SetTypeConfiguration][1] # to set specific properties for the extension. # # To see which extensions have been activated, use [ListTypes][2]. To # see configuration details for an extension, use [DescribeType][3]. # # For more information, see [Activate a third-party public extension in # your account][4] in the *CloudFormation User Guide*. For information # about creating Hooks, see the [CloudFormation Hooks User Guide][5]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListTypes.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public-activate-extension.html # [5]: https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html # # @option params [String] :type # The extension type. # # Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, # and `PublisherId`. # # @option params [String] :public_type_arn # The Amazon Resource Name (ARN) of the public extension. # # Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, # and `PublisherId`. # # @option params [String] :publisher_id # The ID of the extension publisher. # # Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, # and `PublisherId`. # # @option params [String] :type_name # The name of the extension. # # Conditional: You must specify `PublicTypeArn`, or `TypeName`, `Type`, # and `PublisherId`. # # @option params [String] :type_name_alias # An alias to assign to the public extension in this account and Region. # If you specify an alias for the extension, CloudFormation treats the # alias as the extension type name within this account and Region. You # must use the alias to refer to the extension in your templates, API # calls, and CloudFormation console. # # An extension alias must be unique within a given account and Region. # You can activate the same public resource multiple times in the same # account and Region, using different type name aliases. # # @option params [Boolean] :auto_update # Whether to automatically update the extension in this account and # Region when a new *minor* version is published by the extension # publisher. Major versions released by the publisher must be manually # updated. # # The default is `true`. # # @option params [Types::LoggingConfig] :logging_config # Contains logging configuration information for an extension. # # @option params [String] :execution_role_arn # The name of the IAM execution role to use to activate the extension. # # @option params [String] :version_bump # Manually updates a previously-activated type to a new major or minor # version, if available. You can also use this parameter to update the # value of `AutoUpdate`. # # * `MAJOR`: CloudFormation updates the extension to the newest major # version, if one is available. # # * `MINOR`: CloudFormation updates the extension to the newest minor # version, if one is available. # # @option params [Integer] :major_version # The major version of this extension you want to activate, if multiple # major versions are available. The default is the latest major version. # CloudFormation uses the latest available *minor* version of the major # version selected. # # You can specify `MajorVersion` or `VersionBump`, but not both. # # @return [Types::ActivateTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ActivateTypeOutput#arn #arn} => String # # @example Request syntax with placeholder values # # resp = client.activate_type({ # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # public_type_arn: "ThirdPartyTypeArn", # publisher_id: "PublisherId", # type_name: "TypeName", # type_name_alias: "TypeName", # auto_update: false, # logging_config: { # log_role_arn: "RoleArn", # required # log_group_name: "LogGroupName", # required # }, # execution_role_arn: "RoleArn", # version_bump: "MAJOR", # accepts MAJOR, MINOR # major_version: 1, # }) # # @example Response structure # # resp.arn #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ActivateType AWS API Documentation # # @overload activate_type(params = {}) # @param [Hash] params ({}) def activate_type(params = {}, options = {}) req = build_request(:activate_type, params) req.send_request(options) end # Returns configuration data for the specified CloudFormation # extensions, from the CloudFormation registry in your current account # and Region. # # For more information, see [Edit configuration data for extensions in # your account][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html # # @option params [required, Array] :type_configuration_identifiers # The list of identifiers for the desired extension configurations. # # @return [Types::BatchDescribeTypeConfigurationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::BatchDescribeTypeConfigurationsOutput#errors #errors} => Array<Types::BatchDescribeTypeConfigurationsError> # * {Types::BatchDescribeTypeConfigurationsOutput#unprocessed_type_configurations #unprocessed_type_configurations} => Array<Types::TypeConfigurationIdentifier> # * {Types::BatchDescribeTypeConfigurationsOutput#type_configurations #type_configurations} => Array<Types::TypeConfigurationDetails> # # @example Request syntax with placeholder values # # resp = client.batch_describe_type_configurations({ # type_configuration_identifiers: [ # required # { # type_arn: "TypeArn", # type_configuration_alias: "TypeConfigurationAlias", # type_configuration_arn: "TypeConfigurationArn", # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # type_name: "TypeName", # }, # ], # }) # # @example Response structure # # resp.errors #=> Array # resp.errors[0].error_code #=> String # resp.errors[0].error_message #=> String # resp.errors[0].type_configuration_identifier.type_arn #=> String # resp.errors[0].type_configuration_identifier.type_configuration_alias #=> String # resp.errors[0].type_configuration_identifier.type_configuration_arn #=> String # resp.errors[0].type_configuration_identifier.type #=> String, one of "RESOURCE", "MODULE", "HOOK" # resp.errors[0].type_configuration_identifier.type_name #=> String # resp.unprocessed_type_configurations #=> Array # resp.unprocessed_type_configurations[0].type_arn #=> String # resp.unprocessed_type_configurations[0].type_configuration_alias #=> String # resp.unprocessed_type_configurations[0].type_configuration_arn #=> String # resp.unprocessed_type_configurations[0].type #=> String, one of "RESOURCE", "MODULE", "HOOK" # resp.unprocessed_type_configurations[0].type_name #=> String # resp.type_configurations #=> Array # resp.type_configurations[0].arn #=> String # resp.type_configurations[0].alias #=> String # resp.type_configurations[0].configuration #=> String # resp.type_configurations[0].last_updated #=> Time # resp.type_configurations[0].type_arn #=> String # resp.type_configurations[0].type_name #=> String # resp.type_configurations[0].is_default_configuration #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/BatchDescribeTypeConfigurations AWS API Documentation # # @overload batch_describe_type_configurations(params = {}) # @param [Hash] params ({}) def batch_describe_type_configurations(params = {}, options = {}) req = build_request(:batch_describe_type_configurations, params) req.send_request(options) end # Cancels an update on the specified stack. If the call completes # successfully, the stack rolls back the update and reverts to the # previous stack configuration. # # You can cancel only stacks that are in the `UPDATE_IN_PROGRESS` state. # # # # @option params [required, String] :stack_name # If you don't pass a parameter to `StackName`, the API returns a # response that describes all resources in the account. # # The IAM policy below can be added to IAM policies when you want to # limit resource-level permissions and avoid returning a response when # no parameter is sent in the request: # # `{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", # "Action": "cloudformation:DescribeStacks", "NotResource": # "arn:aws:cloudformation:*:*:stack/*/*" }] }` # # # # The name or the unique stack ID that's associated with the stack. # # @option params [String] :client_request_token # A unique identifier for this `CancelUpdateStack` request. Specify this # token if you plan to retry requests so that CloudFormation knows that # you're not attempting to cancel an update on a stack with the same # name. You might retry `CancelUpdateStack` requests to ensure that # CloudFormation successfully received them. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.cancel_update_stack({ # stack_name: "StackName", # required # client_request_token: "ClientRequestToken", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack AWS API Documentation # # @overload cancel_update_stack(params = {}) # @param [Hash] params ({}) def cancel_update_stack(params = {}, options = {}) req = build_request(:cancel_update_stack, params) req.send_request(options) end # Continues rolling back a stack from `UPDATE_ROLLBACK_FAILED` to # `UPDATE_ROLLBACK_COMPLETE` state. Depending on the cause of the # failure, you can manually fix the error and continue the rollback. By # continuing the rollback, you can return your stack to a working state # (the `UPDATE_ROLLBACK_COMPLETE` state) and then try to update the # stack again. # # A stack enters the `UPDATE_ROLLBACK_FAILED` state when CloudFormation # can't roll back all changes after a failed stack update. For example, # this might occur when a stack attempts to roll back to an old database # that was deleted outside of CloudFormation. Because CloudFormation # doesn't know the instance was deleted, it assumes the instance still # exists and attempts to roll back to it, causing the update rollback to # fail. # # For more information, see [Continue rolling back an update][1] in the # *CloudFormation User Guide*. For information for troubleshooting a # failed update rollback, see [Update rollback failed][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed # # @option params [required, String] :stack_name # The name or the unique ID of the stack that you want to continue # rolling back. # # Don't specify the name of a nested stack (a stack that was created by # using the `AWS::CloudFormation::Stack` resource). Instead, use this # operation on the parent stack (the stack that contains the # `AWS::CloudFormation::Stack` resource). # # # # @option params [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to roll back the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that users # have permission to operate on the stack, CloudFormation uses this role # even if the users don't have permission to pass it. Ensure that the # role grants least permission. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # # @option params [Array] :resources_to_skip # A list of the logical IDs of the resources that CloudFormation skips # during the continue update rollback operation. You can specify only # resources that are in the `UPDATE_FAILED` state because a rollback # failed. You can't specify resources that are in the `UPDATE_FAILED` # state for other reasons, for example, because an update was canceled. # To check why a resource update failed, use the DescribeStackResources # action, and view the resource status reason. # # Specify this property to skip rolling back resources that # CloudFormation can't successfully roll back. We recommend that you [ # troubleshoot][1] resources before skipping them. CloudFormation sets # the status of the specified resources to `UPDATE_COMPLETE` and # continues to roll back the stack. After the rollback is complete, the # state of the skipped resources will be inconsistent with the state of # the resources in the stack template. Before performing another stack # update, you must update the stack or resources to be consistent with # each other. If you don't, subsequent stack updates might fail, and # the stack will become unrecoverable. # # Specify the minimum number of resources required to successfully roll # back your stack. For example, a failed resource update might cause # dependent resources to fail. In this case, it might not be necessary # to skip the dependent resources. # # To skip resources that are part of nested stacks, use the following # format: `NestedStackName.ResourceLogicalID`. If you want to specify # the logical ID of a stack resource (`Type: # AWS::CloudFormation::Stack`) in the `ResourcesToSkip` list, then its # corresponding embedded stack must be in one of the following states: # `DELETE_IN_PROGRESS`, `DELETE_COMPLETE`, or `DELETE_FAILED`. # # Don't confuse a child stack's name with its corresponding logical ID # defined in the parent stack. For an example of a continue update # rollback operation with nested stacks, see [Continue rolling back from # failed nested stack updates][2]. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html#nested-stacks # # @option params [String] :client_request_token # A unique identifier for this `ContinueUpdateRollback` request. Specify # this token if you plan to retry requests so that CloudFormation knows # that you're not attempting to continue the rollback to a stack with # the same name. You might retry `ContinueUpdateRollback` requests to # ensure that CloudFormation successfully received them. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.continue_update_rollback({ # stack_name: "StackNameOrId", # required # role_arn: "RoleARN", # resources_to_skip: ["ResourceToSkip"], # client_request_token: "ClientRequestToken", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback AWS API Documentation # # @overload continue_update_rollback(params = {}) # @param [Hash] params ({}) def continue_update_rollback(params = {}, options = {}) req = build_request(:continue_update_rollback, params) req.send_request(options) end # Creates a list of changes that will be applied to a stack so that you # can review the changes before executing them. You can create a change # set for a stack that doesn't exist or an existing stack. If you # create a change set for a stack that doesn't exist, the change set # shows all of the resources that CloudFormation will create. If you # create a change set for an existing stack, CloudFormation compares the # stack's information with the information that you submit in the # change set and lists the differences. Use change sets to understand # which resources CloudFormation will create or change, and how it will # change resources in an existing stack, before you create or update a # stack. # # To create a change set for a stack that doesn't exist, for the # `ChangeSetType` parameter, specify `CREATE`. To create a change set # for an existing stack, specify `UPDATE` for the `ChangeSetType` # parameter. To create a change set for an import operation, specify # `IMPORT` for the `ChangeSetType` parameter. After the # `CreateChangeSet` call successfully completes, CloudFormation starts # creating the change set. To check the status of the change set or to # review it, use the DescribeChangeSet action. # # When you are satisfied with the changes the change set will make, # execute the change set by using the ExecuteChangeSet action. # CloudFormation doesn't make changes until you execute the change set. # # To create a change set for the entire stack hierarchy, set # `IncludeNestedStacks` to `True`. # # @option params [required, String] :stack_name # The name or the unique ID of the stack for which you are creating a # change set. CloudFormation generates the change set by comparing this # stack's information with the information that you submit, such as a # modified template or different parameter input values. # # @option params [String] :template_body # A structure that contains the body of the revised template, with a # minimum length of 1 byte and a maximum length of 51,200 bytes. # CloudFormation generates the change set by comparing this template # with the template of the stack that you specified. # # Conditional: You must specify only `TemplateBody` or `TemplateURL`. # # @option params [String] :template_url # The URL of the file that contains the revised template. The URL must # point to a template (max size: 1 MB) that's located in an Amazon S3 # bucket or a Systems Manager document. CloudFormation generates the # change set by comparing this template with the stack that you # specified. The location for an Amazon S3 bucket must start with # `https://`. URLs from S3 static websites are not supported. # # Conditional: You must specify only `TemplateBody` or `TemplateURL`. # # @option params [Boolean] :use_previous_template # Whether to reuse the template that's associated with the stack to # create the change set. # # @option params [Array] :parameters # A list of `Parameter` structures that specify input parameters for the # change set. For more information, see the Parameter data type. # # @option params [Array] :capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation to # create the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account; for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, CloudFormation # returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we suggest that you # review all permissions associated with them and edit their # permissions if necessary. # # * [ AWS::IAM::AccessKey][1] # # * [ AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [ AWS::IAM::Policy][5] # # * [ AWS::IAM::Role][6] # # * [ AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set from # the processed template, so that they can review the changes # resulting from the macros before actually creating the stack. If # your stack template contains one or more macros, and you choose to # create a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # This capacity doesn't apply to creating change sets, and specifying # it when creating change sets has no effect. # # If you want to create a stack from a stack template that contains # macros *and* nested stacks, you must create or update the stack # directly from the template using the CreateStack or UpdateStack # action, and specifying this capability. # # # # For more information about macros, see [Perform custom processing on # CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # # @option params [Array] :resource_types # The template resource types that you have permissions to work with if # you execute this change set, such as `AWS::EC2::Instance`, # `AWS::EC2::*`, or `Custom::MyCustomInstance`. # # If the list of resource types doesn't include a resource type that # you're updating, the stack update fails. By default, CloudFormation # grants permissions to all resource types. IAM uses this parameter for # condition keys in IAM policies for CloudFormation. For more # information, see [Control access with Identity and Access # Management][1] in the *CloudFormation User Guide*. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # # @option params [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes when executing the change set. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation uses this # role for all future operations on the stack. Provided that users have # permission to operate on the stack, CloudFormation uses this role even # if the users don't have permission to pass it. Ensure that the role # grants least permission. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that is generated from your # user credentials. # # @option params [Types::RollbackConfiguration] :rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # # @option params [Array] :notification_arns # The Amazon Resource Names (ARNs) of Amazon SNS topics that # CloudFormation associates with the stack. To remove all associated # notification topics, specify an empty list. # # @option params [Array] :tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to resources in the stack. You can specify a # maximum of 50 tags. # # @option params [required, String] :change_set_name # The name of the change set. The name must be unique among all change # sets that are associated with the specified stack. # # A change set name can contain only alphanumeric, case sensitive # characters, and hyphens. It must start with an alphabetical character # and can't exceed 128 characters. # # @option params [String] :client_token # A unique identifier for this `CreateChangeSet` request. Specify this # token if you plan to retry requests so that CloudFormation knows that # you're not attempting to create another change set with the same # name. You might retry `CreateChangeSet` requests to ensure that # CloudFormation successfully received them. # # @option params [String] :description # A description to help you identify this change set. # # @option params [String] :change_set_type # The type of change set operation. To create a change set for a new # stack, specify `CREATE`. To create a change set for an existing stack, # specify `UPDATE`. To create a change set for an import operation, # specify `IMPORT`. # # If you create a change set for a new stack, CloudFormation creates a # stack with a unique stack ID, but no template or resources. The stack # will be in the `REVIEW_IN_PROGRESS` state until you execute the change # set. # # By default, CloudFormation specifies `UPDATE`. You can't use the # `UPDATE` type to create a change set for a new stack or the `CREATE` # type to create a change set for an existing stack. # # @option params [Array] :resources_to_import # The resources to import into your stack. # # @option params [Boolean] :include_nested_stacks # Creates a change set for the all nested stacks specified in the # template. The default behavior of this action is set to `False`. To # include nested sets in a change set, specify `True`. # # @option params [String] :on_stack_failure # Determines what action will be taken if stack creation fails. If this # parameter is specified, the `DisableRollback` parameter to the # [ExecuteChangeSet][1] API operation must not be specified. This must # be one of these values: # # * `DELETE` - Deletes the change set if the stack creation fails. This # is only valid when the `ChangeSetType` parameter is set to `CREATE`. # If the deletion of the stack fails, the status of the stack is # `DELETE_FAILED`. # # * `DO_NOTHING` - if the stack creation fails, do nothing. This is # equivalent to specifying `true` for the `DisableRollback` parameter # to the [ExecuteChangeSet][1] API operation. # # * `ROLLBACK` - if the stack creation fails, roll back the stack. This # is equivalent to specifying `false` for the `DisableRollback` # parameter to the [ExecuteChangeSet][1] API operation. # # For nested stacks, when the `OnStackFailure` parameter is set to # `DELETE` for the change set for the parent stack, any failure in a # child stack will cause the parent stack creation to fail and all # stacks to be deleted. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html # # @option params [Boolean] :import_existing_resources # Indicates if the change set auto-imports resources that already exist. # For more information, see [Import Amazon Web Services resources into a # CloudFormation stack automatically][1] in the *CloudFormation User # Guide*. # # This parameter can only import resources that have custom names in # templates. For more information, see [name type][2] in the # *CloudFormation User Guide*. To import resources that do not accept # custom names, such as EC2 instances, use the `ResourcesToImport` # parameter instead. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/import-resources-automatically.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html # # @return [Types::CreateChangeSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateChangeSetOutput#id #id} => String # * {Types::CreateChangeSetOutput#stack_id #stack_id} => String # # @example Request syntax with placeholder values # # resp = client.create_change_set({ # stack_name: "StackNameOrId", # required # template_body: "TemplateBody", # template_url: "TemplateURL", # use_previous_template: false, # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND # resource_types: ["ResourceType"], # role_arn: "RoleARN", # rollback_configuration: { # rollback_triggers: [ # { # arn: "Arn", # required # type: "Type", # required # }, # ], # monitoring_time_in_minutes: 1, # }, # notification_arns: ["NotificationARN"], # tags: [ # { # key: "TagKey", # required # value: "TagValue", # required # }, # ], # change_set_name: "ChangeSetName", # required # client_token: "ClientToken", # description: "Description", # change_set_type: "CREATE", # accepts CREATE, UPDATE, IMPORT # resources_to_import: [ # { # resource_type: "ResourceType", # required # logical_resource_id: "LogicalResourceId", # required # resource_identifier: { # required # "ResourceIdentifierPropertyKey" => "ResourceIdentifierPropertyValue", # }, # }, # ], # include_nested_stacks: false, # on_stack_failure: "DO_NOTHING", # accepts DO_NOTHING, ROLLBACK, DELETE # import_existing_resources: false, # }) # # @example Response structure # # resp.id #=> String # resp.stack_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet AWS API Documentation # # @overload create_change_set(params = {}) # @param [Hash] params ({}) def create_change_set(params = {}, options = {}) req = build_request(:create_change_set, params) req.send_request(options) end # Creates a template from existing resources that are not already # managed with CloudFormation. You can check the status of the template # generation using the `DescribeGeneratedTemplate` API action. # # @option params [Array] :resources # An optional list of resources to be included in the generated # template. # # If no resources are specified,the template will be created without any # resources. Resources can be added to the template using the # `UpdateGeneratedTemplate` API action. # # @option params [required, String] :generated_template_name # The name assigned to the generated template. # # @option params [String] :stack_name # An optional name or ARN of a stack to use as the base stack for the # generated template. # # @option params [Types::TemplateConfiguration] :template_configuration # The configuration details of the generated template, including the # `DeletionPolicy` and `UpdateReplacePolicy`. # # @return [Types::CreateGeneratedTemplateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateGeneratedTemplateOutput#generated_template_id #generated_template_id} => String # # # @example Example: To create a generated template # # # This example creates a generated template with a resources file. # # resp = client.create_generated_template({ # generated_template_name: "JazzyTemplate", # resources: [ # { # resource_identifier: { # "BucketName" => "jazz-bucket", # }, # resource_type: "AWS::S3::Bucket", # }, # { # resource_identifier: { # "DhcpOptionsId" => "random-id123", # }, # resource_type: "AWS::EC2::DHCPOptions", # }, # ], # }) # # resp.to_h outputs the following: # { # generated_template_id: "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca", # } # # @example Request syntax with placeholder values # # resp = client.create_generated_template({ # resources: [ # { # resource_type: "ResourceType", # required # logical_resource_id: "LogicalResourceId", # resource_identifier: { # required # "ResourceIdentifierPropertyKey" => "ResourceIdentifierPropertyValue", # }, # }, # ], # generated_template_name: "GeneratedTemplateName", # required # stack_name: "StackName", # template_configuration: { # deletion_policy: "DELETE", # accepts DELETE, RETAIN # update_replace_policy: "DELETE", # accepts DELETE, RETAIN # }, # }) # # @example Response structure # # resp.generated_template_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateGeneratedTemplate AWS API Documentation # # @overload create_generated_template(params = {}) # @param [Hash] params ({}) def create_generated_template(params = {}, options = {}) req = build_request(:create_generated_template, params) req.send_request(options) end # Creates a stack as specified in the template. After the call completes # successfully, the stack creation starts. You can check the status of # the stack through the DescribeStacks operation. # # For more information about creating a stack and monitoring stack # progress, see [Managing Amazon Web Services resources as a single unit # with CloudFormation stacks][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html # # @option params [required, String] :stack_name # The name that's associated with the stack. The name must be unique in # the Region in which you are creating the stack. # # A stack name can contain only alphanumeric characters (case sensitive) # and hyphens. It must start with an alphabetical character and can't # be longer than 128 characters. # # # # @option params [String] :template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify either `TemplateBody` or `TemplateURL`, # but not both. # # @option params [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template (max size: 1 MB) that's located in an Amazon S3 bucket # or a Systems Manager document. The location for an Amazon S3 bucket # must start with `https://`. URLs from S3 static websites are not # supported. # # Conditional: You must specify either the `TemplateBody` or the # `TemplateURL` parameter, but not both. # # @option params [Array] :parameters # A list of `Parameter` structures that specify input parameters for the # stack. For more information, see the [Parameter][1] data type. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html # # @option params [Boolean] :disable_rollback # Set to `true` to disable rollback of the stack if stack creation # failed. You can specify either `DisableRollback` or `OnFailure`, but # not both. # # Default: `false` # # @option params [Types::RollbackConfiguration] :rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # # @option params [Integer] :timeout_in_minutes # The amount of time that can pass before the stack status becomes # `CREATE_FAILED`; if `DisableRollback` is not set or is set to `false`, # the stack will be rolled back. # # @option params [Array] :notification_arns # The Amazon SNS topic ARNs to publish stack related events. You can # find your Amazon SNS topic ARNs using the Amazon SNS console or your # Command Line Interface (CLI). # # @option params [Array] :capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation to # create the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account; for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, CloudFormation # returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we recommend that # you review all permissions associated with them and edit their # permissions if necessary. # # * [AWS::IAM::AccessKey][1] # # * [AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [AWS::IAM::Policy][5] # # * [AWS::IAM::Role][6] # # * [AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set from # the processed template, so that they can review the changes # resulting from the macros before actually creating the stack. If # your stack template contains one or more macros, and you choose to # create a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # If you want to create a stack from a stack template that contains # macros *and* nested stacks, you must create the stack directly from # the template using this capability. # # You should only create stacks directly from a stack template that # contains macros if you know what processing the macro performs. # # Each macro relies on an underlying Lambda service function for # processing stack templates. Be aware that the Lambda function owner # can update the function operation without CloudFormation being # notified. # # For more information, see [Perform custom processing on # CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # # @option params [Array] :resource_types # The template resource types that you have permissions to work with for # this create stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`, # or `Custom::MyCustomInstance`. Use the following syntax to describe # template resource types: `AWS::*` (for all Amazon Web Services # resources), `Custom::*` (for all custom resources), # `Custom::logical_ID ` (for a specific custom resource), # `AWS::service_name::*` (for all resources of a particular Amazon Web # Services service), and `AWS::service_name::resource_logical_ID ` (for # a specific Amazon Web Services resource). # # If the list of resource types doesn't include a resource that you're # creating, the stack creation fails. By default, CloudFormation grants # permissions to all resource types. IAM uses this parameter for # CloudFormation-specific condition keys in IAM policies. For more # information, see [Control access with Identity and Access # Management][1]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # # @option params [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to create the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that users # have permission to operate on the stack, CloudFormation uses this role # even if the users don't have permission to pass it. Ensure that the # role grants least privilege. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # # @option params [String] :on_failure # Determines what action will be taken if stack creation fails. This # must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can specify # either `OnFailure` or `DisableRollback`, but not both. # # Although the default setting is `ROLLBACK`, there is one exception. # This exception occurs when a StackSet attempts to deploy a stack # instance and the stack instance fails to create successfully. In this # case, the `CreateStack` call overrides the default setting and sets # the value of `OnFailure` to `DELETE`. # # # # Default: `ROLLBACK` # # @option params [String] :stack_policy_body # Structure that contains the stack policy body. For more information, # see [Prevent updates to stack resources][1] in the *CloudFormation # User Guide*. You can specify either the `StackPolicyBody` or the # `StackPolicyURL` parameter, but not both. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html # # @option params [String] :stack_policy_url # Location of a file that contains the stack policy. The URL must point # to a policy (maximum size: 16 KB) located in an S3 bucket in the same # Region as the stack. The location for an Amazon S3 bucket must start # with `https://`. URLs from S3 static websites are not supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # # @option params [Array] :tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to the resources created in the stack. A maximum # number of 50 tags can be specified. # # @option params [String] :client_request_token # A unique identifier for this `CreateStack` request. Specify this token # if you plan to retry requests so that CloudFormation knows that # you're not attempting to create a stack with the same name. You might # retry `CreateStack` requests to ensure that CloudFormation # successfully received them. # # All events initiated by a given stack operation are assigned the same # client request token, which you can use to track operations. For # example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation will # have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # # @option params [Boolean] :enable_termination_protection # Whether to enable termination protection on the specified stack. If a # user attempts to delete a stack with termination protection enabled, # the operation fails and the stack remains unchanged. For more # information, see [Protect CloudFormation stacks from being deleted][1] # in the *CloudFormation User Guide*. Termination protection is # deactivated on stacks by default. # # For [nested stacks][2], termination protection is set on the root # stack and can't be changed directly on the nested stack. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # # @option params [Boolean] :retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # # @return [Types::CreateStackOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateStackOutput#stack_id #stack_id} => String # # @example Request syntax with placeholder values # # resp = client.create_stack({ # stack_name: "StackName", # required # template_body: "TemplateBody", # template_url: "TemplateURL", # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # disable_rollback: false, # rollback_configuration: { # rollback_triggers: [ # { # arn: "Arn", # required # type: "Type", # required # }, # ], # monitoring_time_in_minutes: 1, # }, # timeout_in_minutes: 1, # notification_arns: ["NotificationARN"], # capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND # resource_types: ["ResourceType"], # role_arn: "RoleARN", # on_failure: "DO_NOTHING", # accepts DO_NOTHING, ROLLBACK, DELETE # stack_policy_body: "StackPolicyBody", # stack_policy_url: "StackPolicyURL", # tags: [ # { # key: "TagKey", # required # value: "TagValue", # required # }, # ], # client_request_token: "ClientRequestToken", # enable_termination_protection: false, # retain_except_on_create: false, # }) # # @example Response structure # # resp.stack_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack AWS API Documentation # # @overload create_stack(params = {}) # @param [Hash] params ({}) def create_stack(params = {}, options = {}) req = build_request(:create_stack, params) req.send_request(options) end # Creates stack instances for the specified accounts, within the # specified Amazon Web Services Regions. A stack instance refers to a # stack in a specific account and Region. You must specify at least one # value for either `Accounts` or `DeploymentTargets`, and you must # specify at least one value for `Regions`. # # The maximum number of organizational unit (OUs) supported by a # `CreateStackInstances` operation is 50. # # If you need more than 50, consider the following options: # # * *Batch processing:* If you don't want to expose your OU hierarchy, # split up the operations into multiple calls with less than 50 OUs # each. # # * *Parent OU strategy:* If you don't mind exposing the OU hierarchy, # target a parent OU that contains all desired child OUs. # # # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to create stack # instances from. # # @option params [Array] :accounts # \[Self-managed permissions\] The account IDs of one or more Amazon Web # Services accounts that you want to create stack instances in the # specified Region(s) for. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # # @option params [Types::DeploymentTargets] :deployment_targets # \[Service-managed permissions\] The Organizations accounts in which to # create stack instances in the specified Amazon Web Services Regions. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # # @option params [required, Array] :regions # The names of one or more Amazon Web Services Regions where you want to # create stack instances using the specified Amazon Web Services # accounts. # # @option params [Array] :parameter_overrides # A list of StackSet parameters whose values you want to override in the # selected stack instances. # # Any overridden parameter values will be applied to all stack instances # in the specified accounts and Amazon Web Services Regions. When # specifying parameters and their values, be aware of how CloudFormation # sets parameter values during stack instance operations: # # * To override the current value for a parameter, include the parameter # and specify its value. # # * To leave an overridden parameter set to its present value, include # the parameter and specify `UsePreviousValue` as `true`. (You can't # specify both a value and set `UsePreviousValue` to `true`.) # # * To set an overridden parameter back to the value specified in the # StackSet, specify a parameter list but don't include the parameter # in the list. # # * To leave all parameters set to their present values, don't specify # this property at all. # # During StackSet updates, any parameter values overridden for a stack # instance aren't updated, but retain their overridden value. # # You can only override the parameter *values* that are specified in the # StackSet; to add or delete a parameter itself, use [UpdateStackSet][1] # to update the StackSet template. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html # # @option params [Types::StackSetOperationPreferences] :operation_preferences # Preferences for how CloudFormation performs this StackSet operation. # # @option params [String] :operation_id # The unique identifier for this StackSet operation. # # The operation ID also functions as an idempotency token, to ensure # that CloudFormation performs the StackSet operation only once, even if # you retry the request multiple times. You might retry StackSet # operation requests to ensure that CloudFormation successfully received # them. # # If you don't specify an operation ID, the SDK generates one # automatically. # # Repeating this StackSet operation with a new operation ID retries all # stack instances whose status is `OUTDATED`. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option.** # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::CreateStackInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateStackInstancesOutput#operation_id #operation_id} => String # # @example Request syntax with placeholder values # # resp = client.create_stack_instances({ # stack_set_name: "StackSetName", # required # accounts: ["Account"], # deployment_targets: { # accounts: ["Account"], # accounts_url: "AccountsUrl", # organizational_unit_ids: ["OrganizationalUnitId"], # account_filter_type: "NONE", # accepts NONE, INTERSECTION, DIFFERENCE, UNION # }, # regions: ["Region"], # required # parameter_overrides: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # operation_preferences: { # region_concurrency_type: "SEQUENTIAL", # accepts SEQUENTIAL, PARALLEL # region_order: ["Region"], # failure_tolerance_count: 1, # failure_tolerance_percentage: 1, # max_concurrent_count: 1, # max_concurrent_percentage: 1, # concurrency_mode: "STRICT_FAILURE_TOLERANCE", # accepts STRICT_FAILURE_TOLERANCE, SOFT_FAILURE_TOLERANCE # }, # operation_id: "ClientRequestToken", # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances AWS API Documentation # # @overload create_stack_instances(params = {}) # @param [Hash] params ({}) def create_stack_instances(params = {}, options = {}) req = build_request(:create_stack_instances, params) req.send_request(options) end # Creates a refactor across multiple stacks, with the list of stacks and # resources that are affected. # # @option params [String] :description # A description to help you identify the stack refactor. # # @option params [Boolean] :enable_stack_creation # Determines if a new stack is created with the refactor. # # @option params [Array] :resource_mappings # The mappings for the stack resource `Source` and stack resource # `Destination`. # # @option params [required, Array] :stack_definitions # The stacks being refactored. # # @return [Types::CreateStackRefactorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateStackRefactorOutput#stack_refactor_id #stack_refactor_id} => String # # @example Request syntax with placeholder values # # resp = client.create_stack_refactor({ # description: "Description", # enable_stack_creation: false, # resource_mappings: [ # { # source: { # required # stack_name: "StackName", # required # logical_resource_id: "LogicalResourceId", # required # }, # destination: { # required # stack_name: "StackName", # required # logical_resource_id: "LogicalResourceId", # required # }, # }, # ], # stack_definitions: [ # required # { # stack_name: "StackName", # template_body: "TemplateBody", # template_url: "TemplateURL", # }, # ], # }) # # @example Response structure # # resp.stack_refactor_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackRefactor AWS API Documentation # # @overload create_stack_refactor(params = {}) # @param [Hash] params ({}) def create_stack_refactor(params = {}, options = {}) req = build_request(:create_stack_refactor, params) req.send_request(options) end # Creates a StackSet. # # @option params [required, String] :stack_set_name # The name to associate with the StackSet. The name must be unique in # the Region where you create your StackSet. # # A stack name can contain only alphanumeric characters (case-sensitive) # and hyphens. It must start with an alphabetic character and can't be # longer than 128 characters. # # # # @option params [String] :description # A description of the StackSet. You can use the description to identify # the StackSet's purpose or other important information. # # @option params [String] :template_body # The structure that contains the template body, with a minimum length # of 1 byte and a maximum length of 51,200 bytes. # # Conditional: You must specify either the `TemplateBody` or the # `TemplateURL` parameter, but not both. # # @option params [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template (maximum size: 1 MB) that's located in an Amazon S3 # bucket or a Systems Manager document. The location for an Amazon S3 # bucket must start with `https://`. S3 static website URLs are not # supported. # # Conditional: You must specify either the `TemplateBody` or the # `TemplateURL` parameter, but not both. # # @option params [String] :stack_id # The stack ID you are importing into a new StackSet. Specify the Amazon # Resource Name (ARN) of the stack. # # @option params [Array] :parameters # The input parameters for the StackSet template. # # @option params [Array] :capabilities # In some cases, you must explicitly acknowledge that your StackSet # template contains certain capabilities in order for CloudFormation to # create the StackSet and related stack instances. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account; for example, by # creating new IAM users. For those StackSets, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, CloudFormation # returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we recommend that # you review all permissions associated with them and edit their # permissions if necessary. # # * [AWS::IAM::AccessKey][1] # # * [AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [AWS::IAM::Policy][4] # # * [AWS::IAM::Role][5] # # * [AWS::IAM::User][6] # # * [AWS::IAM::UserToGroupAddition][7] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][8]. # # * `CAPABILITY_AUTO_EXPAND` # # Some templates reference macros. If your StackSet template # references one or more macros, you must create the StackSet directly # from the processed template, without first reviewing the resulting # changes in a change set. To create the StackSet directly, you must # acknowledge this capability. For more information, see [Perform # custom processing on CloudFormation templates with template # macros][9]. # # StackSets with service-managed permissions don't currently support # the use of macros in templates. (This includes the # [AWS::Include][10] and [AWS::Serverless][11] transforms, which are # macros hosted by CloudFormation.) Even if you specify this # capability for a StackSet with service-managed permissions, if you # reference a macro in your template the StackSet operation will fail. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # # @option params [Array] :tags # The key-value pairs to associate with this StackSet and the stacks # created from it. CloudFormation also propagates these tags to # supported resources that are created in the stacks. A maximum number # of 50 tags can be specified. # # If you specify tags as part of a `CreateStackSet` action, # CloudFormation checks to see if you have the required IAM permission # to tag resources. If you don't, the entire `CreateStackSet` action # fails with an `access denied` error, and the StackSet is not created. # # @option params [String] :administration_role_arn # The Amazon Resource Name (ARN) of the IAM role to use to create this # StackSet. # # Specify an IAM role only if you are using customized administrator # roles to control which users or groups can manage specific StackSets # within the same administrator account. For more information, see # [Grant self-managed permissions][1] in the *CloudFormation User # Guide*. # # Valid only if the permissions model is `SELF_MANAGED`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # # @option params [String] :execution_role_name # The name of the IAM execution role to use to create the StackSet. If # you do not specify an execution role, CloudFormation uses the # `AWSCloudFormationStackSetExecutionRole` role for the StackSet # operation. # # Specify an IAM role only if you are using customized execution roles # to control which stack resources users and groups can include in their # StackSets. # # Valid only if the permissions model is `SELF_MANAGED`. # # @option params [String] :permission_model # Describes how the IAM roles required for StackSet operations are # created. By default, `SELF-MANAGED` is specified. # # * With `self-managed` permissions, you must create the administrator # and execution roles required to deploy to target accounts. For more # information, see [Grant self-managed permissions][1]. # # * With `service-managed` permissions, StackSets automatically creates # the IAM roles required to deploy to accounts managed by # Organizations. For more information, see [Activate trusted access # for StackSets with Organizations][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html # # @option params [Types::AutoDeployment] :auto_deployment # Describes whether StackSets automatically deploys to Organizations # accounts that are added to the target organization or organizational # unit (OU). For more information, see [Enable or disable automatic # deployments for StackSets in Organizations][1] in the *CloudFormation # User Guide*. # # Required if the permissions model is `SERVICE_MANAGED`. (Not used with # self-managed permissions.) # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html # # @option params [String] :call_as # Specifies whether you are acting as an account administrator in the # organization's management account or as a delegated administrator in # a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * To create a StackSet with service-managed permissions while signed # in to the management account, specify `SELF`. # # * To create a StackSet with service-managed permissions while signed # in to a delegated administrator account, specify `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # admin in the management account. For more information, see [Register # a delegated administrator][1] in the *CloudFormation User Guide*. # # StackSets with service-managed permissions are created in the # management account, including StackSets that are created by delegated # administrators. # # Valid only if the permissions model is `SERVICE_MANAGED`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @option params [String] :client_request_token # A unique identifier for this `CreateStackSet` request. Specify this # token if you plan to retry requests so that CloudFormation knows that # you're not attempting to create another StackSet with the same name. # You might retry `CreateStackSet` requests to ensure that # CloudFormation successfully received them. # # If you don't specify an operation ID, the SDK generates one # automatically. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option.** # # @option params [Types::ManagedExecution] :managed_execution # Describes whether CloudFormation performs non-conflicting operations # concurrently and queues conflicting operations. # # @return [Types::CreateStackSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateStackSetOutput#stack_set_id #stack_set_id} => String # # @example Request syntax with placeholder values # # resp = client.create_stack_set({ # stack_set_name: "StackSetName", # required # description: "Description", # template_body: "TemplateBody", # template_url: "TemplateURL", # stack_id: "StackId", # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND # tags: [ # { # key: "TagKey", # required # value: "TagValue", # required # }, # ], # administration_role_arn: "RoleARN", # execution_role_name: "ExecutionRoleName", # permission_model: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, SELF_MANAGED # auto_deployment: { # enabled: false, # retain_stacks_on_account_removal: false, # }, # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # client_request_token: "ClientRequestToken", # managed_execution: { # active: false, # }, # }) # # @example Response structure # # resp.stack_set_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet AWS API Documentation # # @overload create_stack_set(params = {}) # @param [Hash] params ({}) def create_stack_set(params = {}, options = {}) req = build_request(:create_stack_set, params) req.send_request(options) end # Deactivates trusted access with Organizations. If trusted access is # deactivated, the management account does not have permissions to # create and manage service-managed StackSets for your organization. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeactivateOrganizationsAccess AWS API Documentation # # @overload deactivate_organizations_access(params = {}) # @param [Hash] params ({}) def deactivate_organizations_access(params = {}, options = {}) req = build_request(:deactivate_organizations_access, params) req.send_request(options) end # Deactivates a public third-party extension, such as a resource or # module, or a CloudFormation Hook when you no longer use it. # # Deactivating an extension deletes the configuration details that are # associated with it. To temporarily disable a CloudFormation Hook # instead, you can use [SetTypeConfiguration][1]. # # Once deactivated, an extension can't be used in any CloudFormation # operation. This includes stack update operations where the stack # template includes the extension, even if no updates are being made to # the extension. In addition, deactivated extensions aren't # automatically updated if a new version of the extension is released. # # To see which extensions are currently activated, use [ListTypes][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListTypes.html # # @option params [String] :type_name # The type name of the extension in this account and Region. If you # specified a type name alias when enabling the extension, use the type # name alias. # # Conditional: You must specify either `Arn`, or `TypeName` and `Type`. # # @option params [String] :type # The extension type. # # Conditional: You must specify either `Arn`, or `TypeName` and `Type`. # # @option params [String] :arn # The Amazon Resource Name (ARN) for the extension in this account and # Region. # # Conditional: You must specify either `Arn`, or `TypeName` and `Type`. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.deactivate_type({ # type_name: "TypeName", # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # arn: "PrivateTypeArn", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeactivateType AWS API Documentation # # @overload deactivate_type(params = {}) # @param [Hash] params ({}) def deactivate_type(params = {}, options = {}) req = build_request(:deactivate_type, params) req.send_request(options) end # Deletes the specified change set. Deleting change sets ensures that no # one executes the wrong change set. # # If the call successfully completes, CloudFormation successfully # deleted the change set. # # If `IncludeNestedStacks` specifies `True` during the creation of the # nested change set, then `DeleteChangeSet` will delete all change sets # that belong to the stacks hierarchy and will also delete all change # sets for nested stacks with the status of `REVIEW_IN_PROGRESS`. # # @option params [required, String] :change_set_name # The name or Amazon Resource Name (ARN) of the change set that you want # to delete. # # @option params [String] :stack_name # If you specified the name of a change set to delete, specify the stack # name or Amazon Resource Name (ARN) that's associated with it. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.delete_change_set({ # change_set_name: "ChangeSetNameOrId", # required # stack_name: "StackNameOrId", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet AWS API Documentation # # @overload delete_change_set(params = {}) # @param [Hash] params ({}) def delete_change_set(params = {}, options = {}) req = build_request(:delete_change_set, params) req.send_request(options) end # Deleted a generated template. # # @option params [required, String] :generated_template_name # The name or Amazon Resource Name (ARN) of a generated template. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # # @example Example: To delete a generated template # # # This example deletes a generated template # # resp = client.delete_generated_template({ # generated_template_name: "JazzyTemplate", # }) # # @example Request syntax with placeholder values # # resp = client.delete_generated_template({ # generated_template_name: "GeneratedTemplateName", # required # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteGeneratedTemplate AWS API Documentation # # @overload delete_generated_template(params = {}) # @param [Hash] params ({}) def delete_generated_template(params = {}, options = {}) req = build_request(:delete_generated_template, params) req.send_request(options) end # Deletes a specified stack. Once the call completes successfully, stack # deletion starts. Deleted stacks don't show up in the DescribeStacks # operation if the deletion has been completed successfully. # # For more information about deleting a stack, see [Delete a stack from # the CloudFormation console][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-delete-stack.html # # @option params [required, String] :stack_name # The name or the unique stack ID that's associated with the stack. # # @option params [Array] :retain_resources # For stacks in the `DELETE_FAILED` state, a list of resource logical # IDs that are associated with the resources you want to retain. During # deletion, CloudFormation deletes the stack but doesn't delete the # retained resources. # # Retaining resources is useful when you can't delete a resource, such # as a non-empty S3 bucket, but you want to delete the stack. # # @option params [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to delete the stack. CloudFormation uses the role's # credentials to make calls on your behalf. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # # @option params [String] :client_request_token # A unique identifier for this `DeleteStack` request. Specify this token # if you plan to retry requests so that CloudFormation knows that # you're not attempting to delete a stack with the same name. You might # retry `DeleteStack` requests to ensure that CloudFormation # successfully received them. # # All events initiated by a given stack operation are assigned the same # client request token, which you can use to track operations. For # example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation will # have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # # @option params [String] :deletion_mode # Specifies the deletion mode for the stack. Possible values are: # # * `STANDARD` - Use the standard behavior. Specifying this value is the # same as not specifying this parameter. # # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a # `DELETE_FAILED` state due to resource deletion failure. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.delete_stack({ # stack_name: "StackName", # required # retain_resources: ["LogicalResourceId"], # role_arn: "RoleARN", # client_request_token: "ClientRequestToken", # deletion_mode: "STANDARD", # accepts STANDARD, FORCE_DELETE_STACK # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack AWS API Documentation # # @overload delete_stack(params = {}) # @param [Hash] params ({}) def delete_stack(params = {}, options = {}) req = build_request(:delete_stack, params) req.send_request(options) end # Deletes stack instances for the specified accounts, in the specified # Amazon Web Services Regions. # # The maximum number of organizational unit (OUs) supported by a # `DeleteStackInstances` operation is 50. # # If you need more than 50, consider the following options: # # * *Batch processing:* If you don't want to expose your OU hierarchy, # split up the operations into multiple calls with less than 50 OUs # each. # # * *Parent OU strategy:* If you don't mind exposing the OU hierarchy, # target a parent OU that contains all desired child OUs. # # # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to delete stack # instances for. # # @option params [Array] :accounts # \[Self-managed permissions\] The account IDs of the Amazon Web # Services accounts that you want to delete stack instances for. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # # @option params [Types::DeploymentTargets] :deployment_targets # \[Service-managed permissions\] The Organizations accounts from which # to delete stack instances. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # # @option params [required, Array] :regions # The Amazon Web Services Regions where you want to delete StackSet # instances. # # @option params [Types::StackSetOperationPreferences] :operation_preferences # Preferences for how CloudFormation performs this StackSet operation. # # @option params [required, Boolean] :retain_stacks # Removes the stack instances from the specified StackSet, but doesn't # delete the stacks. You can't reassociate a retained stack or add an # existing, saved stack to a new stack set. # # For more information, see [StackSet operation options][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options # # @option params [String] :operation_id # The unique identifier for this StackSet operation. # # If you don't specify an operation ID, the SDK generates one # automatically. # # The operation ID also functions as an idempotency token, to ensure # that CloudFormation performs the StackSet operation only once, even if # you retry the request multiple times. You can retry StackSet operation # requests to ensure that CloudFormation successfully received them. # # Repeating this StackSet operation with a new operation ID retries all # stack instances whose status is `OUTDATED`. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option.** # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::DeleteStackInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DeleteStackInstancesOutput#operation_id #operation_id} => String # # @example Request syntax with placeholder values # # resp = client.delete_stack_instances({ # stack_set_name: "StackSetName", # required # accounts: ["Account"], # deployment_targets: { # accounts: ["Account"], # accounts_url: "AccountsUrl", # organizational_unit_ids: ["OrganizationalUnitId"], # account_filter_type: "NONE", # accepts NONE, INTERSECTION, DIFFERENCE, UNION # }, # regions: ["Region"], # required # operation_preferences: { # region_concurrency_type: "SEQUENTIAL", # accepts SEQUENTIAL, PARALLEL # region_order: ["Region"], # failure_tolerance_count: 1, # failure_tolerance_percentage: 1, # max_concurrent_count: 1, # max_concurrent_percentage: 1, # concurrency_mode: "STRICT_FAILURE_TOLERANCE", # accepts STRICT_FAILURE_TOLERANCE, SOFT_FAILURE_TOLERANCE # }, # retain_stacks: false, # required # operation_id: "ClientRequestToken", # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances AWS API Documentation # # @overload delete_stack_instances(params = {}) # @param [Hash] params ({}) def delete_stack_instances(params = {}, options = {}) req = build_request(:delete_stack_instances, params) req.send_request(options) end # Deletes a StackSet. Before you can delete a StackSet, all its member # stack instances must be deleted. For more information about how to # complete this, see DeleteStackInstances. # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you're deleting. You can # obtain this value by running ListStackSets. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.delete_stack_set({ # stack_set_name: "StackSetName", # required # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet AWS API Documentation # # @overload delete_stack_set(params = {}) # @param [Hash] params ({}) def delete_stack_set(params = {}, options = {}) req = build_request(:delete_stack_set, params) req.send_request(options) end # Marks an extension or extension version as `DEPRECATED` in the # CloudFormation registry, removing it from active use. Deprecated # extensions or extension versions cannot be used in CloudFormation # operations. # # To deregister an entire extension, you must individually deregister # all active versions of that extension. If an extension has only a # single active version, deregistering that version results in the # extension itself being deregistered and marked as deprecated in the # registry. # # You can't deregister the default version of an extension if there are # other active version of that extension. If you do deregister the # default version of an extension, the extension type itself is # deregistered as well and marked as deprecated. # # To view the deprecation status of an extension or extension version, # use [DescribeType][1]. # # For more information, see [Remove third-party private extensions from # your account][2] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-private-deregister-extension.html # # @option params [String] :arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :type # The kind of extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :type_name # The name of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :version_id # The ID of a specific version of the extension. The version ID is the # value at the end of the Amazon Resource Name (ARN) assigned to the # extension version when it is registered. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.deregister_type({ # arn: "PrivateTypeArn", # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # type_name: "TypeName", # version_id: "TypeVersionId", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeregisterType AWS API Documentation # # @overload deregister_type(params = {}) # @param [Hash] params ({}) def deregister_type(params = {}, options = {}) req = build_request(:deregister_type, params) req.send_request(options) end # Retrieves your account's CloudFormation limits, such as the maximum # number of stacks that you can create in your account. For more # information about account limits, see [Understand CloudFormation # quotas][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html # # @option params [String] :next_token # A string that identifies the next page of limits that you want to # retrieve. # # @return [Types::DescribeAccountLimitsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeAccountLimitsOutput#account_limits #account_limits} => Array<Types::AccountLimit> # * {Types::DescribeAccountLimitsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.describe_account_limits({ # next_token: "NextToken", # }) # # @example Response structure # # resp.account_limits #=> Array # resp.account_limits[0].name #=> String # resp.account_limits[0].value #=> Integer # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits AWS API Documentation # # @overload describe_account_limits(params = {}) # @param [Hash] params ({}) def describe_account_limits(params = {}, options = {}) req = build_request(:describe_account_limits, params) req.send_request(options) end # Returns the inputs for the change set and a list of changes that # CloudFormation will make if you execute the change set. For more # information, see [Update CloudFormation stacks using change sets][1] # in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-changesets.html # # @option params [required, String] :change_set_name # The name or Amazon Resource Name (ARN) of the change set that you want # to describe. # # @option params [String] :stack_name # If you specified the name of a change set, specify the stack name or # ID (ARN) of the change set you want to describe. # # @option params [String] :next_token # A string (provided by the DescribeChangeSet response output) that # identifies the next page of information that you want to retrieve. # # @option params [Boolean] :include_property_values # If `true`, the returned changes include detailed changes in the # property values. # # @return [Types::DescribeChangeSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeChangeSetOutput#change_set_name #change_set_name} => String # * {Types::DescribeChangeSetOutput#change_set_id #change_set_id} => String # * {Types::DescribeChangeSetOutput#stack_id #stack_id} => String # * {Types::DescribeChangeSetOutput#stack_name #stack_name} => String # * {Types::DescribeChangeSetOutput#description #description} => String # * {Types::DescribeChangeSetOutput#parameters #parameters} => Array<Types::Parameter> # * {Types::DescribeChangeSetOutput#creation_time #creation_time} => Time # * {Types::DescribeChangeSetOutput#execution_status #execution_status} => String # * {Types::DescribeChangeSetOutput#status #status} => String # * {Types::DescribeChangeSetOutput#status_reason #status_reason} => String # * {Types::DescribeChangeSetOutput#notification_arns #notification_arns} => Array<String> # * {Types::DescribeChangeSetOutput#rollback_configuration #rollback_configuration} => Types::RollbackConfiguration # * {Types::DescribeChangeSetOutput#capabilities #capabilities} => Array<String> # * {Types::DescribeChangeSetOutput#tags #tags} => Array<Types::Tag> # * {Types::DescribeChangeSetOutput#changes #changes} => Array<Types::Change> # * {Types::DescribeChangeSetOutput#next_token #next_token} => String # * {Types::DescribeChangeSetOutput#include_nested_stacks #include_nested_stacks} => Boolean # * {Types::DescribeChangeSetOutput#parent_change_set_id #parent_change_set_id} => String # * {Types::DescribeChangeSetOutput#root_change_set_id #root_change_set_id} => String # * {Types::DescribeChangeSetOutput#on_stack_failure #on_stack_failure} => String # * {Types::DescribeChangeSetOutput#import_existing_resources #import_existing_resources} => Boolean # # @example Request syntax with placeholder values # # resp = client.describe_change_set({ # change_set_name: "ChangeSetNameOrId", # required # stack_name: "StackNameOrId", # next_token: "NextToken", # include_property_values: false, # }) # # @example Response structure # # resp.change_set_name #=> String # resp.change_set_id #=> String # resp.stack_id #=> String # resp.stack_name #=> String # resp.description #=> String # resp.parameters #=> Array # resp.parameters[0].parameter_key #=> String # resp.parameters[0].parameter_value #=> String # resp.parameters[0].use_previous_value #=> Boolean # resp.parameters[0].resolved_value #=> String # resp.creation_time #=> Time # resp.execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "OBSOLETE" # resp.status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "FAILED" # resp.status_reason #=> String # resp.notification_arns #=> Array # resp.notification_arns[0] #=> String # resp.rollback_configuration.rollback_triggers #=> Array # resp.rollback_configuration.rollback_triggers[0].arn #=> String # resp.rollback_configuration.rollback_triggers[0].type #=> String # resp.rollback_configuration.monitoring_time_in_minutes #=> Integer # resp.capabilities #=> Array # resp.capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND" # resp.tags #=> Array # resp.tags[0].key #=> String # resp.tags[0].value #=> String # resp.changes #=> Array # resp.changes[0].type #=> String, one of "Resource" # resp.changes[0].hook_invocation_count #=> Integer # resp.changes[0].resource_change.policy_action #=> String, one of "Delete", "Retain", "Snapshot", "ReplaceAndDelete", "ReplaceAndRetain", "ReplaceAndSnapshot" # resp.changes[0].resource_change.action #=> String, one of "Add", "Modify", "Remove", "Import", "Dynamic" # resp.changes[0].resource_change.logical_resource_id #=> String # resp.changes[0].resource_change.physical_resource_id #=> String # resp.changes[0].resource_change.resource_type #=> String # resp.changes[0].resource_change.replacement #=> String, one of "True", "False", "Conditional" # resp.changes[0].resource_change.scope #=> Array # resp.changes[0].resource_change.scope[0] #=> String, one of "Properties", "Metadata", "CreationPolicy", "UpdatePolicy", "DeletionPolicy", "UpdateReplacePolicy", "Tags" # resp.changes[0].resource_change.details #=> Array # resp.changes[0].resource_change.details[0].target.attribute #=> String, one of "Properties", "Metadata", "CreationPolicy", "UpdatePolicy", "DeletionPolicy", "UpdateReplacePolicy", "Tags" # resp.changes[0].resource_change.details[0].target.name #=> String # resp.changes[0].resource_change.details[0].target.requires_recreation #=> String, one of "Never", "Conditionally", "Always" # resp.changes[0].resource_change.details[0].target.path #=> String # resp.changes[0].resource_change.details[0].target.before_value #=> String # resp.changes[0].resource_change.details[0].target.after_value #=> String # resp.changes[0].resource_change.details[0].target.attribute_change_type #=> String, one of "Add", "Remove", "Modify" # resp.changes[0].resource_change.details[0].evaluation #=> String, one of "Static", "Dynamic" # resp.changes[0].resource_change.details[0].change_source #=> String, one of "ResourceReference", "ParameterReference", "ResourceAttribute", "DirectModification", "Automatic" # resp.changes[0].resource_change.details[0].causing_entity #=> String # resp.changes[0].resource_change.change_set_id #=> String # resp.changes[0].resource_change.module_info.type_hierarchy #=> String # resp.changes[0].resource_change.module_info.logical_id_hierarchy #=> String # resp.changes[0].resource_change.before_context #=> String # resp.changes[0].resource_change.after_context #=> String # resp.next_token #=> String # resp.include_nested_stacks #=> Boolean # resp.parent_change_set_id #=> String # resp.root_change_set_id #=> String # resp.on_stack_failure #=> String, one of "DO_NOTHING", "ROLLBACK", "DELETE" # resp.import_existing_resources #=> Boolean # # # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage): # # * change_set_create_complete # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet AWS API Documentation # # @overload describe_change_set(params = {}) # @param [Hash] params ({}) def describe_change_set(params = {}, options = {}) req = build_request(:describe_change_set, params) req.send_request(options) end # Returns hook-related information for the change set and a list of # changes that CloudFormation makes when you run the change set. # # @option params [required, String] :change_set_name # The name or Amazon Resource Name (ARN) of the change set that you want # to describe. # # @option params [String] :stack_name # If you specified the name of a change set, specify the stack name or # stack ID (ARN) of the change set you want to describe. # # @option params [String] :next_token # A string, provided by the `DescribeChangeSetHooks` response output, # that identifies the next page of information that you want to # retrieve. # # @option params [String] :logical_resource_id # If specified, lists only the Hooks related to the specified # `LogicalResourceId`. # # @return [Types::DescribeChangeSetHooksOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeChangeSetHooksOutput#change_set_id #change_set_id} => String # * {Types::DescribeChangeSetHooksOutput#change_set_name #change_set_name} => String # * {Types::DescribeChangeSetHooksOutput#hooks #hooks} => Array<Types::ChangeSetHook> # * {Types::DescribeChangeSetHooksOutput#status #status} => String # * {Types::DescribeChangeSetHooksOutput#next_token #next_token} => String # * {Types::DescribeChangeSetHooksOutput#stack_id #stack_id} => String # * {Types::DescribeChangeSetHooksOutput#stack_name #stack_name} => String # # @example Request syntax with placeholder values # # resp = client.describe_change_set_hooks({ # change_set_name: "ChangeSetNameOrId", # required # stack_name: "StackNameOrId", # next_token: "NextToken", # logical_resource_id: "LogicalResourceId", # }) # # @example Response structure # # resp.change_set_id #=> String # resp.change_set_name #=> String # resp.hooks #=> Array # resp.hooks[0].invocation_point #=> String, one of "PRE_PROVISION" # resp.hooks[0].failure_mode #=> String, one of "FAIL", "WARN" # resp.hooks[0].type_name #=> String # resp.hooks[0].type_version_id #=> String # resp.hooks[0].type_configuration_version_id #=> String # resp.hooks[0].target_details.target_type #=> String, one of "RESOURCE" # resp.hooks[0].target_details.resource_target_details.logical_resource_id #=> String # resp.hooks[0].target_details.resource_target_details.resource_type #=> String # resp.hooks[0].target_details.resource_target_details.resource_action #=> String, one of "Add", "Modify", "Remove", "Import", "Dynamic" # resp.status #=> String, one of "PLANNING", "PLANNED", "UNAVAILABLE" # resp.next_token #=> String # resp.stack_id #=> String # resp.stack_name #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetHooks AWS API Documentation # # @overload describe_change_set_hooks(params = {}) # @param [Hash] params ({}) def describe_change_set_hooks(params = {}, options = {}) req = build_request(:describe_change_set_hooks, params) req.send_request(options) end # Describes a generated template. The output includes details about the # progress of the creation of a generated template started by a # `CreateGeneratedTemplate` API action or the update of a generated # template started with an `UpdateGeneratedTemplate` API action. # # @option params [required, String] :generated_template_name # The name or Amazon Resource Name (ARN) of a generated template. # # @return [Types::DescribeGeneratedTemplateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeGeneratedTemplateOutput#generated_template_id #generated_template_id} => String # * {Types::DescribeGeneratedTemplateOutput#generated_template_name #generated_template_name} => String # * {Types::DescribeGeneratedTemplateOutput#resources #resources} => Array<Types::ResourceDetail> # * {Types::DescribeGeneratedTemplateOutput#status #status} => String # * {Types::DescribeGeneratedTemplateOutput#status_reason #status_reason} => String # * {Types::DescribeGeneratedTemplateOutput#creation_time #creation_time} => Time # * {Types::DescribeGeneratedTemplateOutput#last_updated_time #last_updated_time} => Time # * {Types::DescribeGeneratedTemplateOutput#progress #progress} => Types::TemplateProgress # * {Types::DescribeGeneratedTemplateOutput#stack_id #stack_id} => String # * {Types::DescribeGeneratedTemplateOutput#template_configuration #template_configuration} => Types::TemplateConfiguration # * {Types::DescribeGeneratedTemplateOutput#total_warnings #total_warnings} => Integer # # # @example Example: To describe a generated template # # # This example describes a generated template # # resp = client.describe_generated_template({ # generated_template_name: "JazzyTemplate", # }) # # resp.to_h outputs the following: # { # creation_time: Time.parse("2023-12-28T17:55:20.086000+00:00"), # generated_template_id: "arn:aws:cloudformation:us-east-1:*:generatedtemplate/*", # generated_template_name: "DeletedResourceTest", # last_updated_time: Time.parse("2023-12-28T17:57:16.610000+00:00"), # progress: { # resources_failed: 0, # resources_pending: 0, # resources_processing: 0, # resources_succeeded: 0, # }, # status: "COMPLETE", # status_reason: "All resources complete", # template_configuration: { # deletion_policy: "RETAIN", # update_replace_policy: "RETAIN", # }, # total_warnings: 0, # } # # @example Request syntax with placeholder values # # resp = client.describe_generated_template({ # generated_template_name: "GeneratedTemplateName", # required # }) # # @example Response structure # # resp.generated_template_id #=> String # resp.generated_template_name #=> String # resp.resources #=> Array # resp.resources[0].resource_type #=> String # resp.resources[0].logical_resource_id #=> String # resp.resources[0].resource_identifier #=> Hash # resp.resources[0].resource_identifier["ResourceIdentifierPropertyKey"] #=> String # resp.resources[0].resource_status #=> String, one of "PENDING", "IN_PROGRESS", "FAILED", "COMPLETE" # resp.resources[0].resource_status_reason #=> String # resp.resources[0].warnings #=> Array # resp.resources[0].warnings[0].type #=> String, one of "MUTUALLY_EXCLUSIVE_PROPERTIES", "UNSUPPORTED_PROPERTIES", "MUTUALLY_EXCLUSIVE_TYPES", "EXCLUDED_PROPERTIES", "EXCLUDED_RESOURCES" # resp.resources[0].warnings[0].properties #=> Array # resp.resources[0].warnings[0].properties[0].property_path #=> String # resp.resources[0].warnings[0].properties[0].required #=> Boolean # resp.resources[0].warnings[0].properties[0].description #=> String # resp.status #=> String, one of "CREATE_PENDING", "UPDATE_PENDING", "DELETE_PENDING", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "COMPLETE" # resp.status_reason #=> String # resp.creation_time #=> Time # resp.last_updated_time #=> Time # resp.progress.resources_succeeded #=> Integer # resp.progress.resources_failed #=> Integer # resp.progress.resources_processing #=> Integer # resp.progress.resources_pending #=> Integer # resp.stack_id #=> String # resp.template_configuration.deletion_policy #=> String, one of "DELETE", "RETAIN" # resp.template_configuration.update_replace_policy #=> String, one of "DELETE", "RETAIN" # resp.total_warnings #=> Integer # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeGeneratedTemplate AWS API Documentation # # @overload describe_generated_template(params = {}) # @param [Hash] params ({}) def describe_generated_template(params = {}, options = {}) req = build_request(:describe_generated_template, params) req.send_request(options) end # Retrieves information about the account's `OrganizationAccess` # status. This API can be called either by the management account or the # delegated administrator by using the `CallAs` parameter. This API can # also be called without the `CallAs` parameter by the management # account. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::DescribeOrganizationsAccessOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeOrganizationsAccessOutput#status #status} => String # # @example Request syntax with placeholder values # # resp = client.describe_organizations_access({ # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.status #=> String, one of "ENABLED", "DISABLED", "DISABLED_PERMANENTLY" # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeOrganizationsAccess AWS API Documentation # # @overload describe_organizations_access(params = {}) # @param [Hash] params ({}) def describe_organizations_access(params = {}, options = {}) req = build_request(:describe_organizations_access, params) req.send_request(options) end # Returns information about a CloudFormation extension publisher. # # If you don't supply a `PublisherId`, and you have registered as an # extension publisher, `DescribePublisher` returns information about # your own publisher account. # # For more information about registering as a publisher, see: # # * [RegisterPublisher][1] # # * [Publishing extensions to make them available for public use][2] in # the *CloudFormation Command Line Interface (CLI) User Guide* # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html # [2]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html # # @option params [String] :publisher_id # The ID of the extension publisher. # # If you don't supply a `PublisherId`, and you have registered as an # extension publisher, `DescribePublisher` returns information about # your own publisher account. # # @return [Types::DescribePublisherOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribePublisherOutput#publisher_id #publisher_id} => String # * {Types::DescribePublisherOutput#publisher_status #publisher_status} => String # * {Types::DescribePublisherOutput#identity_provider #identity_provider} => String # * {Types::DescribePublisherOutput#publisher_profile #publisher_profile} => String # # @example Request syntax with placeholder values # # resp = client.describe_publisher({ # publisher_id: "PublisherId", # }) # # @example Response structure # # resp.publisher_id #=> String # resp.publisher_status #=> String, one of "VERIFIED", "UNVERIFIED" # resp.identity_provider #=> String, one of "AWS_Marketplace", "GitHub", "Bitbucket" # resp.publisher_profile #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribePublisher AWS API Documentation # # @overload describe_publisher(params = {}) # @param [Hash] params ({}) def describe_publisher(params = {}, options = {}) req = build_request(:describe_publisher, params) req.send_request(options) end # Describes details of a resource scan. # # @option params [required, String] :resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. # # @return [Types::DescribeResourceScanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeResourceScanOutput#resource_scan_id #resource_scan_id} => String # * {Types::DescribeResourceScanOutput#status #status} => String # * {Types::DescribeResourceScanOutput#status_reason #status_reason} => String # * {Types::DescribeResourceScanOutput#start_time #start_time} => Time # * {Types::DescribeResourceScanOutput#end_time #end_time} => Time # * {Types::DescribeResourceScanOutput#percentage_completed #percentage_completed} => Float # * {Types::DescribeResourceScanOutput#resource_types #resource_types} => Array<String> # * {Types::DescribeResourceScanOutput#resources_scanned #resources_scanned} => Integer # * {Types::DescribeResourceScanOutput#resources_read #resources_read} => Integer # * {Types::DescribeResourceScanOutput#scan_filters #scan_filters} => Array<Types::ScanFilter> # # # @example Example: To describe a selected resource scan # # # This example describes a selected resource scan # # resp = client.describe_resource_scan({ # resource_scan_id: "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1", # }) # # resp.to_h outputs the following: # { # end_time: Time.parse("2024-01-02T23:25:48.075000+00:00"), # percentage_completed: 100.0, # resource_scan_id: "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1", # resource_types: [ # "AWS::Amplify::App", # "AWS::ApiGateway::Deployment", # "AWS::ApiGateway::DocumentationPart", # "AWS::ApiGateway::Model", # "AWS::ApiGateway::Resource", # "AWS::ApiGateway::RestApi", # "AWS::ApiGateway::Stage", # "AWS::AppConfig::Extension", # "AWS::ApplicationAutoScaling::ScalableTarget", # "AWS::Athena::WorkGroup", # "AWS::Cassandra::Keyspace", # "AWS::CloudFront::CachePolicy", # "AWS::CloudFront::Function", # "AWS::CloudFront::OriginRequestPolicy", # "AWS::CloudTrail::Trail", # "AWS::CloudWatch::Alarm", # "AWS::CodeDeploy::Application", # "AWS::CodeDeploy::DeploymentConfig", # "AWS::Cognito::UserPool", # "AWS::Cognito::UserPoolGroup", # "AWS::Cognito::UserPoolUser", # "AWS::DynamoDB::Table", # "AWS::EC2::DHCPOptions", # "AWS::EC2::EIP", # "AWS::EC2::InternetGateway", # "AWS::EC2::LaunchTemplate", # "AWS::EC2::NetworkAcl", # "AWS::EC2::Route", # "AWS::EC2::RouteTable", # "AWS::EC2::SubnetNetworkAclAssociation", # "AWS::EC2::SubnetRouteTableAssociation", # "AWS::EC2::VPC", # "AWS::EC2::VPCDHCPOptionsAssociation", # "AWS::EC2::VPCGatewayAttachment", # "AWS::ECR::Repository", # "AWS::ECS::Cluster", # "AWS::ECS::ClusterCapacityProviderAssociations", # "AWS::ECS::Service", # "AWS::ECS::TaskDefinition", # "AWS::ElastiCache::SubnetGroup", # "AWS::ElastiCache::User", # "AWS::Events::EventBus", # "AWS::Events::Rule", # "AWS::GameLift::Location", # "AWS::GuardDuty::Detector", # "AWS::IAM::InstanceProfile", # "AWS::IAM::ManagedPolicy", # "AWS::IAM::Role", # "AWS::IAM::User", # "AWS::IoT::DomainConfiguration", # "AWS::KMS::Alias", # "AWS::KMS::Key", # "AWS::Lambda::EventSourceMapping", # "AWS::Lambda::Function", # "AWS::Lambda::Permission", # "AWS::Lambda::Version", # "AWS::Logs::LogGroup", # "AWS::Logs::LogStream", # "AWS::MemoryDB::ACL", # "AWS::MemoryDB::ParameterGroup", # "AWS::MemoryDB::User", # "AWS::RAM::Permission", # "AWS::RDS::CustomDBEngineVersion", # "AWS::Route53Resolver::ResolverRuleAssociation", # "AWS::S3::AccessPoint", # "AWS::S3::BucketPolicy", # "AWS::S3::StorageLens", # "AWS::SNS::Topic", # "AWS::SQS::Queue", # "AWS::SSM::Association", # "AWS::SSM::Document", # "AWS::StepFunctions::StateMachine", # "AWS::XRay::Group", # "AWS::XRay::SamplingRule", # ], # resources_read: 25107, # start_time: Time.parse("2024-01-02T22:15:18.382000+00:00"), # status: "COMPLETE", # } # # @example Request syntax with placeholder values # # resp = client.describe_resource_scan({ # resource_scan_id: "ResourceScanId", # required # }) # # @example Response structure # # resp.resource_scan_id #=> String # resp.status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETE", "EXPIRED" # resp.status_reason #=> String # resp.start_time #=> Time # resp.end_time #=> Time # resp.percentage_completed #=> Float # resp.resource_types #=> Array # resp.resource_types[0] #=> String # resp.resources_scanned #=> Integer # resp.resources_read #=> Integer # resp.scan_filters #=> Array # resp.scan_filters[0].types #=> Array # resp.scan_filters[0].types[0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeResourceScan AWS API Documentation # # @overload describe_resource_scan(params = {}) # @param [Hash] params ({}) def describe_resource_scan(params = {}, options = {}) req = build_request(:describe_resource_scan, params) req.send_request(options) end # Returns information about a stack drift detection operation. A stack # drift detection operation detects whether a stack's actual # configuration differs, or has *drifted*, from its expected # configuration, as defined in the stack template and any values # specified as template parameters. A stack is considered to have # drifted if one or more of its resources have drifted. For more # information about stack and resource drift, see [Detect unmanaged # configuration changes to stacks and resources with drift # detection][1]. # # Use DetectStackDrift to initiate a stack drift detection operation. # `DetectStackDrift` returns a `StackDriftDetectionId` you can use to # monitor the progress of the operation using # `DescribeStackDriftDetectionStatus`. Once the drift detection # operation has completed, use DescribeStackResourceDrifts to return # drift information about the stack and its resources. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # # @option params [required, String] :stack_drift_detection_id # The ID of the drift detection results of this operation. # # CloudFormation generates new results, with a new drift detection ID, # each time this operation is run. However, the number of drift results # CloudFormation retains for any given stack, and for how long, may # vary. # # @return [Types::DescribeStackDriftDetectionStatusOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackDriftDetectionStatusOutput#stack_id #stack_id} => String # * {Types::DescribeStackDriftDetectionStatusOutput#stack_drift_detection_id #stack_drift_detection_id} => String # * {Types::DescribeStackDriftDetectionStatusOutput#stack_drift_status #stack_drift_status} => String # * {Types::DescribeStackDriftDetectionStatusOutput#detection_status #detection_status} => String # * {Types::DescribeStackDriftDetectionStatusOutput#detection_status_reason #detection_status_reason} => String # * {Types::DescribeStackDriftDetectionStatusOutput#drifted_stack_resource_count #drifted_stack_resource_count} => Integer # * {Types::DescribeStackDriftDetectionStatusOutput#timestamp #timestamp} => Time # # @example Request syntax with placeholder values # # resp = client.describe_stack_drift_detection_status({ # stack_drift_detection_id: "StackDriftDetectionId", # required # }) # # @example Response structure # # resp.stack_id #=> String # resp.stack_drift_detection_id #=> String # resp.stack_drift_status #=> String, one of "DRIFTED", "IN_SYNC", "UNKNOWN", "NOT_CHECKED" # resp.detection_status #=> String, one of "DETECTION_IN_PROGRESS", "DETECTION_FAILED", "DETECTION_COMPLETE" # resp.detection_status_reason #=> String # resp.drifted_stack_resource_count #=> Integer # resp.timestamp #=> Time # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackDriftDetectionStatus AWS API Documentation # # @overload describe_stack_drift_detection_status(params = {}) # @param [Hash] params ({}) def describe_stack_drift_detection_status(params = {}, options = {}) req = build_request(:describe_stack_drift_detection_status, params) req.send_request(options) end # Returns all stack related events for a specified stack in reverse # chronological order. For more information about a stack's event # history, see [Understand CloudFormation stack creation events][1] in # the *CloudFormation User Guide*. # # You can list events for stacks that have failed to create or have been # deleted by specifying the unique stack identifier (stack ID). # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html # # @option params [String] :stack_name # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # # @option params [String] :next_token # A string that identifies the next page of events that you want to # retrieve. # # @return [Types::DescribeStackEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackEventsOutput#stack_events #stack_events} => Array<Types::StackEvent> # * {Types::DescribeStackEventsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.describe_stack_events({ # stack_name: "StackName", # next_token: "NextToken", # }) # # @example Response structure # # resp.stack_events #=> Array # resp.stack_events[0].stack_id #=> String # resp.stack_events[0].event_id #=> String # resp.stack_events[0].stack_name #=> String # resp.stack_events[0].logical_resource_id #=> String # resp.stack_events[0].physical_resource_id #=> String # resp.stack_events[0].resource_type #=> String # resp.stack_events[0].timestamp #=> Time # resp.stack_events[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "EXPORT_FAILED", "EXPORT_COMPLETE", "EXPORT_IN_PROGRESS", "EXPORT_ROLLBACK_IN_PROGRESS", "EXPORT_ROLLBACK_FAILED", "EXPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED" # resp.stack_events[0].resource_status_reason #=> String # resp.stack_events[0].resource_properties #=> String # resp.stack_events[0].client_request_token #=> String # resp.stack_events[0].hook_type #=> String # resp.stack_events[0].hook_status #=> String, one of "HOOK_IN_PROGRESS", "HOOK_COMPLETE_SUCCEEDED", "HOOK_COMPLETE_FAILED", "HOOK_FAILED" # resp.stack_events[0].hook_status_reason #=> String # resp.stack_events[0].hook_invocation_point #=> String, one of "PRE_PROVISION" # resp.stack_events[0].hook_invocation_id #=> String # resp.stack_events[0].hook_failure_mode #=> String, one of "FAIL", "WARN" # resp.stack_events[0].detailed_status #=> String, one of "CONFIGURATION_COMPLETE", "VALIDATION_FAILED" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents AWS API Documentation # # @overload describe_stack_events(params = {}) # @param [Hash] params ({}) def describe_stack_events(params = {}, options = {}) req = build_request(:describe_stack_events, params) req.send_request(options) end # Returns the stack instance that's associated with the specified # StackSet, Amazon Web Services account, and Amazon Web Services Region. # # For a list of stack instances that are associated with a specific # StackSet, use ListStackInstances. # # @option params [required, String] :stack_set_name # The name or the unique stack ID of the StackSet that you want to get # stack instance information for. # # @option params [required, String] :stack_instance_account # The ID of an Amazon Web Services account that's associated with this # stack instance. # # @option params [required, String] :stack_instance_region # The name of a Region that's associated with this stack instance. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::DescribeStackInstanceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackInstanceOutput#stack_instance #stack_instance} => Types::StackInstance # # @example Request syntax with placeholder values # # resp = client.describe_stack_instance({ # stack_set_name: "StackSetName", # required # stack_instance_account: "Account", # required # stack_instance_region: "Region", # required # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.stack_instance.stack_set_id #=> String # resp.stack_instance.region #=> String # resp.stack_instance.account #=> String # resp.stack_instance.stack_id #=> String # resp.stack_instance.parameter_overrides #=> Array # resp.stack_instance.parameter_overrides[0].parameter_key #=> String # resp.stack_instance.parameter_overrides[0].parameter_value #=> String # resp.stack_instance.parameter_overrides[0].use_previous_value #=> Boolean # resp.stack_instance.parameter_overrides[0].resolved_value #=> String # resp.stack_instance.status #=> String, one of "CURRENT", "OUTDATED", "INOPERABLE" # resp.stack_instance.stack_instance_status.detailed_status #=> String, one of "PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED", "INOPERABLE", "SKIPPED_SUSPENDED_ACCOUNT", "FAILED_IMPORT" # resp.stack_instance.status_reason #=> String # resp.stack_instance.organizational_unit_id #=> String # resp.stack_instance.drift_status #=> String, one of "DRIFTED", "IN_SYNC", "UNKNOWN", "NOT_CHECKED" # resp.stack_instance.last_drift_check_timestamp #=> Time # resp.stack_instance.last_operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance AWS API Documentation # # @overload describe_stack_instance(params = {}) # @param [Hash] params ({}) def describe_stack_instance(params = {}, options = {}) req = build_request(:describe_stack_instance, params) req.send_request(options) end # Describes the stack refactor status. # # @option params [required, String] :stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # # @return [Types::DescribeStackRefactorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackRefactorOutput#description #description} => String # * {Types::DescribeStackRefactorOutput#stack_refactor_id #stack_refactor_id} => String # * {Types::DescribeStackRefactorOutput#stack_ids #stack_ids} => Array<String> # * {Types::DescribeStackRefactorOutput#execution_status #execution_status} => String # * {Types::DescribeStackRefactorOutput#execution_status_reason #execution_status_reason} => String # * {Types::DescribeStackRefactorOutput#status #status} => String # * {Types::DescribeStackRefactorOutput#status_reason #status_reason} => String # # @example Request syntax with placeholder values # # resp = client.describe_stack_refactor({ # stack_refactor_id: "StackRefactorId", # required # }) # # @example Response structure # # resp.description #=> String # resp.stack_refactor_id #=> String # resp.stack_ids #=> Array # resp.stack_ids[0] #=> String # resp.execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "OBSOLETE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED" # resp.execution_status_reason #=> String # resp.status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED" # resp.status_reason #=> String # # # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage): # # * stack_refactor_create_complete # * stack_refactor_execute_complete # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackRefactor AWS API Documentation # # @overload describe_stack_refactor(params = {}) # @param [Hash] params ({}) def describe_stack_refactor(params = {}, options = {}) req = build_request(:describe_stack_refactor, params) req.send_request(options) end # Returns a description of the specified resource in the specified # stack. # # For deleted stacks, DescribeStackResource returns resource information # for up to 90 days after the stack has been deleted. # # @option params [required, String] :stack_name # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # # @option params [required, String] :logical_resource_id # The logical name of the resource as specified in the template. # # @return [Types::DescribeStackResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackResourceOutput#stack_resource_detail #stack_resource_detail} => Types::StackResourceDetail # # @example Request syntax with placeholder values # # resp = client.describe_stack_resource({ # stack_name: "StackName", # required # logical_resource_id: "LogicalResourceId", # required # }) # # @example Response structure # # resp.stack_resource_detail.stack_name #=> String # resp.stack_resource_detail.stack_id #=> String # resp.stack_resource_detail.logical_resource_id #=> String # resp.stack_resource_detail.physical_resource_id #=> String # resp.stack_resource_detail.resource_type #=> String # resp.stack_resource_detail.last_updated_timestamp #=> Time # resp.stack_resource_detail.resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "EXPORT_FAILED", "EXPORT_COMPLETE", "EXPORT_IN_PROGRESS", "EXPORT_ROLLBACK_IN_PROGRESS", "EXPORT_ROLLBACK_FAILED", "EXPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED" # resp.stack_resource_detail.resource_status_reason #=> String # resp.stack_resource_detail.description #=> String # resp.stack_resource_detail.metadata #=> String # resp.stack_resource_detail.drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED", "UNKNOWN" # resp.stack_resource_detail.drift_information.last_check_timestamp #=> Time # resp.stack_resource_detail.module_info.type_hierarchy #=> String # resp.stack_resource_detail.module_info.logical_id_hierarchy #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource AWS API Documentation # # @overload describe_stack_resource(params = {}) # @param [Hash] params ({}) def describe_stack_resource(params = {}, options = {}) req = build_request(:describe_stack_resource, params) req.send_request(options) end # Returns drift information for the resources that have been checked for # drift in the specified stack. This includes actual and expected # configuration values for resources where CloudFormation detects # configuration drift. # # For a given stack, there will be one `StackResourceDrift` for each # stack resource that has been checked for drift. Resources that # haven't yet been checked for drift aren't included. Resources that # don't currently support drift detection aren't checked, and so not # included. For a list of resources that support drift detection, see # [Resource type support for imports and drift detection][1]. # # Use DetectStackResourceDrift to detect drift on individual resources, # or DetectStackDrift to detect drift on all supported resources for a # given stack. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # # @option params [required, String] :stack_name # The name of the stack for which you want drift information. # # @option params [Array] :stack_resource_drift_status_filters # The resource drift status values to use as filters for the resource # drift results returned. # # * `DELETED`: The resource differs from its expected template # configuration in that the resource has been deleted. # # * `MODIFIED`: One or more resource properties differ from their # expected template values. # # * `IN_SYNC`: The resource's actual configuration matches its expected # template configuration. # # * `NOT_CHECKED`: CloudFormation doesn't currently return this value. # # * `UNKNOWN`: CloudFormation could not run drift detection for the # resource. # # @option params [String] :next_token # A string that identifies the next page of stack resource drift # results. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @return [Types::DescribeStackResourceDriftsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackResourceDriftsOutput#stack_resource_drifts #stack_resource_drifts} => Array<Types::StackResourceDrift> # * {Types::DescribeStackResourceDriftsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.describe_stack_resource_drifts({ # stack_name: "StackNameOrId", # required # stack_resource_drift_status_filters: ["IN_SYNC"], # accepts IN_SYNC, MODIFIED, DELETED, NOT_CHECKED, UNKNOWN # next_token: "NextToken", # max_results: 1, # }) # # @example Response structure # # resp.stack_resource_drifts #=> Array # resp.stack_resource_drifts[0].stack_id #=> String # resp.stack_resource_drifts[0].logical_resource_id #=> String # resp.stack_resource_drifts[0].physical_resource_id #=> String # resp.stack_resource_drifts[0].physical_resource_id_context #=> Array # resp.stack_resource_drifts[0].physical_resource_id_context[0].key #=> String # resp.stack_resource_drifts[0].physical_resource_id_context[0].value #=> String # resp.stack_resource_drifts[0].resource_type #=> String # resp.stack_resource_drifts[0].expected_properties #=> String # resp.stack_resource_drifts[0].actual_properties #=> String # resp.stack_resource_drifts[0].property_differences #=> Array # resp.stack_resource_drifts[0].property_differences[0].property_path #=> String # resp.stack_resource_drifts[0].property_differences[0].expected_value #=> String # resp.stack_resource_drifts[0].property_differences[0].actual_value #=> String # resp.stack_resource_drifts[0].property_differences[0].difference_type #=> String, one of "ADD", "REMOVE", "NOT_EQUAL" # resp.stack_resource_drifts[0].stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED", "UNKNOWN" # resp.stack_resource_drifts[0].timestamp #=> Time # resp.stack_resource_drifts[0].module_info.type_hierarchy #=> String # resp.stack_resource_drifts[0].module_info.logical_id_hierarchy #=> String # resp.stack_resource_drifts[0].drift_status_reason #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceDrifts AWS API Documentation # # @overload describe_stack_resource_drifts(params = {}) # @param [Hash] params ({}) def describe_stack_resource_drifts(params = {}, options = {}) req = build_request(:describe_stack_resource_drifts, params) req.send_request(options) end # Returns Amazon Web Services resource descriptions for running and # deleted stacks. If `StackName` is specified, all the associated # resources that are part of the stack are returned. If # `PhysicalResourceId` is specified, the associated resources of the # stack that the resource belongs to are returned. # # Only the first 100 resources will be returned. If your stack has more # resources than this, you should use `ListStackResources` instead. # # # # For deleted stacks, `DescribeStackResources` returns resource # information for up to 90 days after the stack has been deleted. # # You must specify either `StackName` or `PhysicalResourceId`, but not # both. In addition, you can specify `LogicalResourceId` to filter the # returned result. For more information about resources, the # `LogicalResourceId` and `PhysicalResourceId`, see the [CloudFormation # User Guide][1]. # # A `ValidationError` is returned if you specify both `StackName` and # `PhysicalResourceId` in the same request. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/ # # @option params [String] :stack_name # The name or the unique stack ID that is associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # # Required: Conditional. If you don't specify `StackName`, you must # specify `PhysicalResourceId`. # # @option params [String] :logical_resource_id # The logical name of the resource as specified in the template. # # @option params [String] :physical_resource_id # The name or unique identifier that corresponds to a physical instance # ID of a resource supported by CloudFormation. # # For example, for an Amazon Elastic Compute Cloud (EC2) instance, # `PhysicalResourceId` corresponds to the `InstanceId`. You can pass the # EC2 `InstanceId` to `DescribeStackResources` to find which stack the # instance belongs to and what other resources are part of the stack. # # Required: Conditional. If you don't specify `PhysicalResourceId`, you # must specify `StackName`. # # @return [Types::DescribeStackResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackResourcesOutput#stack_resources #stack_resources} => Array<Types::StackResource> # # @example Request syntax with placeholder values # # resp = client.describe_stack_resources({ # stack_name: "StackName", # logical_resource_id: "LogicalResourceId", # physical_resource_id: "PhysicalResourceId", # }) # # @example Response structure # # resp.stack_resources #=> Array # resp.stack_resources[0].stack_name #=> String # resp.stack_resources[0].stack_id #=> String # resp.stack_resources[0].logical_resource_id #=> String # resp.stack_resources[0].physical_resource_id #=> String # resp.stack_resources[0].resource_type #=> String # resp.stack_resources[0].timestamp #=> Time # resp.stack_resources[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "EXPORT_FAILED", "EXPORT_COMPLETE", "EXPORT_IN_PROGRESS", "EXPORT_ROLLBACK_IN_PROGRESS", "EXPORT_ROLLBACK_FAILED", "EXPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED" # resp.stack_resources[0].resource_status_reason #=> String # resp.stack_resources[0].description #=> String # resp.stack_resources[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED", "UNKNOWN" # resp.stack_resources[0].drift_information.last_check_timestamp #=> Time # resp.stack_resources[0].module_info.type_hierarchy #=> String # resp.stack_resources[0].module_info.logical_id_hierarchy #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources AWS API Documentation # # @overload describe_stack_resources(params = {}) # @param [Hash] params ({}) def describe_stack_resources(params = {}, options = {}) req = build_request(:describe_stack_resources, params) req.send_request(options) end # Returns the description of the specified StackSet. # # This API provides *strongly consistent* reads meaning it will always # return the most up-to-date data. # # # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet whose description you want. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::DescribeStackSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackSetOutput#stack_set #stack_set} => Types::StackSet # # @example Request syntax with placeholder values # # resp = client.describe_stack_set({ # stack_set_name: "StackSetName", # required # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.stack_set.stack_set_name #=> String # resp.stack_set.stack_set_id #=> String # resp.stack_set.description #=> String # resp.stack_set.status #=> String, one of "ACTIVE", "DELETED" # resp.stack_set.template_body #=> String # resp.stack_set.parameters #=> Array # resp.stack_set.parameters[0].parameter_key #=> String # resp.stack_set.parameters[0].parameter_value #=> String # resp.stack_set.parameters[0].use_previous_value #=> Boolean # resp.stack_set.parameters[0].resolved_value #=> String # resp.stack_set.capabilities #=> Array # resp.stack_set.capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND" # resp.stack_set.tags #=> Array # resp.stack_set.tags[0].key #=> String # resp.stack_set.tags[0].value #=> String # resp.stack_set.stack_set_arn #=> String # resp.stack_set.administration_role_arn #=> String # resp.stack_set.execution_role_name #=> String # resp.stack_set.stack_set_drift_detection_details.drift_status #=> String, one of "DRIFTED", "IN_SYNC", "NOT_CHECKED" # resp.stack_set.stack_set_drift_detection_details.drift_detection_status #=> String, one of "COMPLETED", "FAILED", "PARTIAL_SUCCESS", "IN_PROGRESS", "STOPPED" # resp.stack_set.stack_set_drift_detection_details.last_drift_check_timestamp #=> Time # resp.stack_set.stack_set_drift_detection_details.total_stack_instances_count #=> Integer # resp.stack_set.stack_set_drift_detection_details.drifted_stack_instances_count #=> Integer # resp.stack_set.stack_set_drift_detection_details.in_sync_stack_instances_count #=> Integer # resp.stack_set.stack_set_drift_detection_details.in_progress_stack_instances_count #=> Integer # resp.stack_set.stack_set_drift_detection_details.failed_stack_instances_count #=> Integer # resp.stack_set.auto_deployment.enabled #=> Boolean # resp.stack_set.auto_deployment.retain_stacks_on_account_removal #=> Boolean # resp.stack_set.permission_model #=> String, one of "SERVICE_MANAGED", "SELF_MANAGED" # resp.stack_set.organizational_unit_ids #=> Array # resp.stack_set.organizational_unit_ids[0] #=> String # resp.stack_set.managed_execution.active #=> Boolean # resp.stack_set.regions #=> Array # resp.stack_set.regions[0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet AWS API Documentation # # @overload describe_stack_set(params = {}) # @param [Hash] params ({}) def describe_stack_set(params = {}, options = {}) req = build_request(:describe_stack_set, params) req.send_request(options) end # Returns the description of the specified StackSet operation. # # This API provides *strongly consistent* reads meaning it will always # return the most up-to-date data. # # # # @option params [required, String] :stack_set_name # The name or the unique stack ID of the StackSet for the stack # operation. # # @option params [required, String] :operation_id # The unique ID of the StackSet operation. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::DescribeStackSetOperationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStackSetOperationOutput#stack_set_operation #stack_set_operation} => Types::StackSetOperation # # @example Request syntax with placeholder values # # resp = client.describe_stack_set_operation({ # stack_set_name: "StackSetName", # required # operation_id: "ClientRequestToken", # required # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.stack_set_operation.operation_id #=> String # resp.stack_set_operation.stack_set_id #=> String # resp.stack_set_operation.action #=> String, one of "CREATE", "UPDATE", "DELETE", "DETECT_DRIFT" # resp.stack_set_operation.status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "STOPPING", "STOPPED", "QUEUED" # resp.stack_set_operation.operation_preferences.region_concurrency_type #=> String, one of "SEQUENTIAL", "PARALLEL" # resp.stack_set_operation.operation_preferences.region_order #=> Array # resp.stack_set_operation.operation_preferences.region_order[0] #=> String # resp.stack_set_operation.operation_preferences.failure_tolerance_count #=> Integer # resp.stack_set_operation.operation_preferences.failure_tolerance_percentage #=> Integer # resp.stack_set_operation.operation_preferences.max_concurrent_count #=> Integer # resp.stack_set_operation.operation_preferences.max_concurrent_percentage #=> Integer # resp.stack_set_operation.operation_preferences.concurrency_mode #=> String, one of "STRICT_FAILURE_TOLERANCE", "SOFT_FAILURE_TOLERANCE" # resp.stack_set_operation.retain_stacks #=> Boolean # resp.stack_set_operation.administration_role_arn #=> String # resp.stack_set_operation.execution_role_name #=> String # resp.stack_set_operation.creation_timestamp #=> Time # resp.stack_set_operation.end_timestamp #=> Time # resp.stack_set_operation.deployment_targets.accounts #=> Array # resp.stack_set_operation.deployment_targets.accounts[0] #=> String # resp.stack_set_operation.deployment_targets.accounts_url #=> String # resp.stack_set_operation.deployment_targets.organizational_unit_ids #=> Array # resp.stack_set_operation.deployment_targets.organizational_unit_ids[0] #=> String # resp.stack_set_operation.deployment_targets.account_filter_type #=> String, one of "NONE", "INTERSECTION", "DIFFERENCE", "UNION" # resp.stack_set_operation.stack_set_drift_detection_details.drift_status #=> String, one of "DRIFTED", "IN_SYNC", "NOT_CHECKED" # resp.stack_set_operation.stack_set_drift_detection_details.drift_detection_status #=> String, one of "COMPLETED", "FAILED", "PARTIAL_SUCCESS", "IN_PROGRESS", "STOPPED" # resp.stack_set_operation.stack_set_drift_detection_details.last_drift_check_timestamp #=> Time # resp.stack_set_operation.stack_set_drift_detection_details.total_stack_instances_count #=> Integer # resp.stack_set_operation.stack_set_drift_detection_details.drifted_stack_instances_count #=> Integer # resp.stack_set_operation.stack_set_drift_detection_details.in_sync_stack_instances_count #=> Integer # resp.stack_set_operation.stack_set_drift_detection_details.in_progress_stack_instances_count #=> Integer # resp.stack_set_operation.stack_set_drift_detection_details.failed_stack_instances_count #=> Integer # resp.stack_set_operation.status_reason #=> String # resp.stack_set_operation.status_details.failed_stack_instances_count #=> Integer # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation AWS API Documentation # # @overload describe_stack_set_operation(params = {}) # @param [Hash] params ({}) def describe_stack_set_operation(params = {}, options = {}) req = build_request(:describe_stack_set_operation, params) req.send_request(options) end # Returns the description for the specified stack; if no stack name was # specified, then it returns the description for all the stacks created. # For more information about a stack's event history, see [Understand # CloudFormation stack creation events][1] in the *CloudFormation User # Guide*. # # If the stack doesn't exist, a `ValidationError` is returned. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html # # @option params [String] :stack_name # If you don't pass a parameter to `StackName`, the API returns a # response that describes all resources in the account, which can impact # performance. This requires `ListStacks` and `DescribeStacks` # permissions. # # Consider using the ListStacks API if you're not passing a parameter # to `StackName`. # # The IAM policy below can be added to IAM policies when you want to # limit resource-level permissions and avoid returning a response when # no parameter is sent in the request: # # \{ "Version": "2012-10-17", "Statement": \[\{ "Effect": # "Deny", "Action": "cloudformation:DescribeStacks", # "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }\] } # # # # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # # @option params [String] :next_token # A string that identifies the next page of stacks that you want to # retrieve. # # @return [Types::DescribeStacksOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeStacksOutput#stacks #stacks} => Array<Types::Stack> # * {Types::DescribeStacksOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.describe_stacks({ # stack_name: "StackName", # next_token: "NextToken", # }) # # @example Response structure # # resp.stacks #=> Array # resp.stacks[0].stack_id #=> String # resp.stacks[0].stack_name #=> String # resp.stacks[0].change_set_id #=> String # resp.stacks[0].description #=> String # resp.stacks[0].parameters #=> Array # resp.stacks[0].parameters[0].parameter_key #=> String # resp.stacks[0].parameters[0].parameter_value #=> String # resp.stacks[0].parameters[0].use_previous_value #=> Boolean # resp.stacks[0].parameters[0].resolved_value #=> String # resp.stacks[0].creation_time #=> Time # resp.stacks[0].deletion_time #=> Time # resp.stacks[0].last_updated_time #=> Time # resp.stacks[0].rollback_configuration.rollback_triggers #=> Array # resp.stacks[0].rollback_configuration.rollback_triggers[0].arn #=> String # resp.stacks[0].rollback_configuration.rollback_triggers[0].type #=> String # resp.stacks[0].rollback_configuration.monitoring_time_in_minutes #=> Integer # resp.stacks[0].stack_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_FAILED", "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "REVIEW_IN_PROGRESS", "IMPORT_IN_PROGRESS", "IMPORT_COMPLETE", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE" # resp.stacks[0].stack_status_reason #=> String # resp.stacks[0].disable_rollback #=> Boolean # resp.stacks[0].notification_arns #=> Array # resp.stacks[0].notification_arns[0] #=> String # resp.stacks[0].timeout_in_minutes #=> Integer # resp.stacks[0].capabilities #=> Array # resp.stacks[0].capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND" # resp.stacks[0].outputs #=> Array # resp.stacks[0].outputs[0].output_key #=> String # resp.stacks[0].outputs[0].output_value #=> String # resp.stacks[0].outputs[0].description #=> String # resp.stacks[0].outputs[0].export_name #=> String # resp.stacks[0].role_arn #=> String # resp.stacks[0].tags #=> Array # resp.stacks[0].tags[0].key #=> String # resp.stacks[0].tags[0].value #=> String # resp.stacks[0].enable_termination_protection #=> Boolean # resp.stacks[0].parent_id #=> String # resp.stacks[0].root_id #=> String # resp.stacks[0].drift_information.stack_drift_status #=> String, one of "DRIFTED", "IN_SYNC", "UNKNOWN", "NOT_CHECKED" # resp.stacks[0].drift_information.last_check_timestamp #=> Time # resp.stacks[0].retain_except_on_create #=> Boolean # resp.stacks[0].deletion_mode #=> String, one of "STANDARD", "FORCE_DELETE_STACK" # resp.stacks[0].detailed_status #=> String, one of "CONFIGURATION_COMPLETE", "VALIDATION_FAILED" # resp.next_token #=> String # # # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage): # # * stack_create_complete # * stack_delete_complete # * stack_exists # * stack_import_complete # * stack_rollback_complete # * stack_update_complete # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks AWS API Documentation # # @overload describe_stacks(params = {}) # @param [Hash] params ({}) def describe_stacks(params = {}, options = {}) req = build_request(:describe_stacks, params) req.send_request(options) end # Returns detailed information about an extension from the # CloudFormation registry in your current account and Region. # # If you specify a `VersionId`, `DescribeType` returns information about # that specific extension version. Otherwise, it returns information # about the default extension version. # # For more information, see [Edit configuration data for extensions in # your account][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html # # @option params [String] :type # The kind of extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :type_name # The name of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :version_id # The ID of a specific version of the extension. The version ID is the # value at the end of the Amazon Resource Name (ARN) assigned to the # extension version when it is registered. # # If you specify a `VersionId`, `DescribeType` returns information about # that specific extension version. Otherwise, it returns information # about the default extension version. # # @option params [String] :publisher_id # The publisher ID of the extension publisher. # # Extensions provided by Amazon Web Services are not assigned a # publisher ID. # # @option params [String] :public_version_number # The version number of a public third-party extension. # # @return [Types::DescribeTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeTypeOutput#arn #arn} => String # * {Types::DescribeTypeOutput#type #type} => String # * {Types::DescribeTypeOutput#type_name #type_name} => String # * {Types::DescribeTypeOutput#default_version_id #default_version_id} => String # * {Types::DescribeTypeOutput#is_default_version #is_default_version} => Boolean # * {Types::DescribeTypeOutput#type_tests_status #type_tests_status} => String # * {Types::DescribeTypeOutput#type_tests_status_description #type_tests_status_description} => String # * {Types::DescribeTypeOutput#description #description} => String # * {Types::DescribeTypeOutput#schema #schema} => String # * {Types::DescribeTypeOutput#provisioning_type #provisioning_type} => String # * {Types::DescribeTypeOutput#deprecated_status #deprecated_status} => String # * {Types::DescribeTypeOutput#logging_config #logging_config} => Types::LoggingConfig # * {Types::DescribeTypeOutput#required_activated_types #required_activated_types} => Array<Types::RequiredActivatedType> # * {Types::DescribeTypeOutput#execution_role_arn #execution_role_arn} => String # * {Types::DescribeTypeOutput#visibility #visibility} => String # * {Types::DescribeTypeOutput#source_url #source_url} => String # * {Types::DescribeTypeOutput#documentation_url #documentation_url} => String # * {Types::DescribeTypeOutput#last_updated #last_updated} => Time # * {Types::DescribeTypeOutput#time_created #time_created} => Time # * {Types::DescribeTypeOutput#configuration_schema #configuration_schema} => String # * {Types::DescribeTypeOutput#publisher_id #publisher_id} => String # * {Types::DescribeTypeOutput#original_type_name #original_type_name} => String # * {Types::DescribeTypeOutput#original_type_arn #original_type_arn} => String # * {Types::DescribeTypeOutput#public_version_number #public_version_number} => String # * {Types::DescribeTypeOutput#latest_public_version #latest_public_version} => String # * {Types::DescribeTypeOutput#is_activated #is_activated} => Boolean # * {Types::DescribeTypeOutput#auto_update #auto_update} => Boolean # # @example Request syntax with placeholder values # # resp = client.describe_type({ # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # type_name: "TypeName", # arn: "TypeArn", # version_id: "TypeVersionId", # publisher_id: "PublisherId", # public_version_number: "PublicVersionNumber", # }) # # @example Response structure # # resp.arn #=> String # resp.type #=> String, one of "RESOURCE", "MODULE", "HOOK" # resp.type_name #=> String # resp.default_version_id #=> String # resp.is_default_version #=> Boolean # resp.type_tests_status #=> String, one of "PASSED", "FAILED", "IN_PROGRESS", "NOT_TESTED" # resp.type_tests_status_description #=> String # resp.description #=> String # resp.schema #=> String # resp.provisioning_type #=> String, one of "NON_PROVISIONABLE", "IMMUTABLE", "FULLY_MUTABLE" # resp.deprecated_status #=> String, one of "LIVE", "DEPRECATED" # resp.logging_config.log_role_arn #=> String # resp.logging_config.log_group_name #=> String # resp.required_activated_types #=> Array # resp.required_activated_types[0].type_name_alias #=> String # resp.required_activated_types[0].original_type_name #=> String # resp.required_activated_types[0].publisher_id #=> String # resp.required_activated_types[0].supported_major_versions #=> Array # resp.required_activated_types[0].supported_major_versions[0] #=> Integer # resp.execution_role_arn #=> String # resp.visibility #=> String, one of "PUBLIC", "PRIVATE" # resp.source_url #=> String # resp.documentation_url #=> String # resp.last_updated #=> Time # resp.time_created #=> Time # resp.configuration_schema #=> String # resp.publisher_id #=> String # resp.original_type_name #=> String # resp.original_type_arn #=> String # resp.public_version_number #=> String # resp.latest_public_version #=> String # resp.is_activated #=> Boolean # resp.auto_update #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeType AWS API Documentation # # @overload describe_type(params = {}) # @param [Hash] params ({}) def describe_type(params = {}, options = {}) req = build_request(:describe_type, params) req.send_request(options) end # Returns information about an extension's registration, including its # current status and type and version identifiers. # # When you initiate a registration request using RegisterType, you can # then use DescribeTypeRegistration to monitor the progress of that # registration request. # # Once the registration request has completed, use DescribeType to # return detailed information about an extension. # # @option params [required, String] :registration_token # The identifier for this registration request. # # This registration token is generated by CloudFormation when you # initiate a registration request using RegisterType. # # @return [Types::DescribeTypeRegistrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DescribeTypeRegistrationOutput#progress_status #progress_status} => String # * {Types::DescribeTypeRegistrationOutput#description #description} => String # * {Types::DescribeTypeRegistrationOutput#type_arn #type_arn} => String # * {Types::DescribeTypeRegistrationOutput#type_version_arn #type_version_arn} => String # # @example Request syntax with placeholder values # # resp = client.describe_type_registration({ # registration_token: "RegistrationToken", # required # }) # # @example Response structure # # resp.progress_status #=> String, one of "COMPLETE", "IN_PROGRESS", "FAILED" # resp.description #=> String # resp.type_arn #=> String # resp.type_version_arn #=> String # # # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage): # # * type_registration_complete # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeTypeRegistration AWS API Documentation # # @overload describe_type_registration(params = {}) # @param [Hash] params ({}) def describe_type_registration(params = {}, options = {}) req = build_request(:describe_type_registration, params) req.send_request(options) end # Detects whether a stack's actual configuration differs, or has # *drifted*, from its expected configuration, as defined in the stack # template and any values specified as template parameters. For each # resource in the stack that supports drift detection, CloudFormation # compares the actual configuration of the resource with its expected # template configuration. Only resource properties explicitly defined in # the stack template are checked for drift. A stack is considered to # have drifted if one or more of its resources differ from their # expected template configurations. For more information, see [Detect # unmanaged configuration changes to stacks and resources with drift # detection][1]. # # Use `DetectStackDrift` to detect drift on all supported resources for # a given stack, or DetectStackResourceDrift to detect drift on # individual resources. # # For a list of stack resources that currently support drift detection, # see [Resource type support for imports and drift detection][2]. # # `DetectStackDrift` can take up to several minutes, depending on the # number of resources contained within the stack. Use # DescribeStackDriftDetectionStatus to monitor the progress of a detect # stack drift operation. Once the drift detection operation has # completed, use DescribeStackResourceDrifts to return drift information # about the stack and its resources. # # When detecting drift on a stack, CloudFormation doesn't detect drift # on any nested stacks belonging to that stack. Perform # `DetectStackDrift` directly on the nested stack itself. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # # @option params [required, String] :stack_name # The name of the stack for which you want to detect drift. # # @option params [Array] :logical_resource_ids # The logical names of any resources you want to use as filters. # # @return [Types::DetectStackDriftOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DetectStackDriftOutput#stack_drift_detection_id #stack_drift_detection_id} => String # # @example Request syntax with placeholder values # # resp = client.detect_stack_drift({ # stack_name: "StackNameOrId", # required # logical_resource_ids: ["LogicalResourceId"], # }) # # @example Response structure # # resp.stack_drift_detection_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackDrift AWS API Documentation # # @overload detect_stack_drift(params = {}) # @param [Hash] params ({}) def detect_stack_drift(params = {}, options = {}) req = build_request(:detect_stack_drift, params) req.send_request(options) end # Returns information about whether a resource's actual configuration # differs, or has *drifted*, from its expected configuration, as defined # in the stack template and any values specified as template parameters. # This information includes actual and expected property values for # resources in which CloudFormation detects drift. Only resource # properties explicitly defined in the stack template are checked for # drift. For more information about stack and resource drift, see # [Detect unmanaged configuration changes to stacks and resources with # drift detection][1]. # # Use `DetectStackResourceDrift` to detect drift on individual # resources, or DetectStackDrift to detect drift on all resources in a # given stack that support drift detection. # # Resources that don't currently support drift detection can't be # checked. For a list of resources that support drift detection, see # [Resource type support for imports and drift detection][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # # @option params [required, String] :stack_name # The name of the stack to which the resource belongs. # # @option params [required, String] :logical_resource_id # The logical name of the resource for which to return drift # information. # # @return [Types::DetectStackResourceDriftOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DetectStackResourceDriftOutput#stack_resource_drift #stack_resource_drift} => Types::StackResourceDrift # # @example Request syntax with placeholder values # # resp = client.detect_stack_resource_drift({ # stack_name: "StackNameOrId", # required # logical_resource_id: "LogicalResourceId", # required # }) # # @example Response structure # # resp.stack_resource_drift.stack_id #=> String # resp.stack_resource_drift.logical_resource_id #=> String # resp.stack_resource_drift.physical_resource_id #=> String # resp.stack_resource_drift.physical_resource_id_context #=> Array # resp.stack_resource_drift.physical_resource_id_context[0].key #=> String # resp.stack_resource_drift.physical_resource_id_context[0].value #=> String # resp.stack_resource_drift.resource_type #=> String # resp.stack_resource_drift.expected_properties #=> String # resp.stack_resource_drift.actual_properties #=> String # resp.stack_resource_drift.property_differences #=> Array # resp.stack_resource_drift.property_differences[0].property_path #=> String # resp.stack_resource_drift.property_differences[0].expected_value #=> String # resp.stack_resource_drift.property_differences[0].actual_value #=> String # resp.stack_resource_drift.property_differences[0].difference_type #=> String, one of "ADD", "REMOVE", "NOT_EQUAL" # resp.stack_resource_drift.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED", "UNKNOWN" # resp.stack_resource_drift.timestamp #=> Time # resp.stack_resource_drift.module_info.type_hierarchy #=> String # resp.stack_resource_drift.module_info.logical_id_hierarchy #=> String # resp.stack_resource_drift.drift_status_reason #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackResourceDrift AWS API Documentation # # @overload detect_stack_resource_drift(params = {}) # @param [Hash] params ({}) def detect_stack_resource_drift(params = {}, options = {}) req = build_request(:detect_stack_resource_drift, params) req.send_request(options) end # Detect drift on a StackSet. When CloudFormation performs drift # detection on a StackSet, it performs drift detection on the stack # associated with each stack instance in the StackSet. For more # information, see [Performing drift detection on CloudFormation # StackSets][1]. # # `DetectStackSetDrift` returns the `OperationId` of the StackSet drift # detection operation. Use this operation id with # DescribeStackSetOperation to monitor the progress of the drift # detection operation. The drift detection operation may take some time, # depending on the number of stack instances included in the StackSet, # in addition to the number of resources included in each stack. # # Once the operation has completed, use the following actions to return # drift information: # # * Use DescribeStackSet to return detailed information about the stack # set, including detailed information about the last *completed* drift # operation performed on the StackSet. (Information about drift # operations that are in progress isn't included.) # # * Use ListStackInstances to return a list of stack instances belonging # to the StackSet, including the drift status and last drift time # checked of each instance. # # * Use DescribeStackInstance to return detailed information about a # specific stack instance, including its drift status and last drift # time checked. # # You can only run a single drift detection operation on a given # StackSet at one time. # # To stop a drift detection StackSet operation, use # StopStackSetOperation. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html # # @option params [required, String] :stack_set_name # The name of the StackSet on which to perform the drift detection # operation. # # @option params [Types::StackSetOperationPreferences] :operation_preferences # The user-specified preferences for how CloudFormation performs a # StackSet operation. # # For more information about maximum concurrent accounts and failure # tolerance, see [StackSet operation options][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options # # @option params [String] :operation_id # *The ID of the StackSet operation.* # # **A suitable default value is auto-generated.** You should normally # not need to pass this option.** # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::DetectStackSetDriftOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::DetectStackSetDriftOutput#operation_id #operation_id} => String # # @example Request syntax with placeholder values # # resp = client.detect_stack_set_drift({ # stack_set_name: "StackSetNameOrId", # required # operation_preferences: { # region_concurrency_type: "SEQUENTIAL", # accepts SEQUENTIAL, PARALLEL # region_order: ["Region"], # failure_tolerance_count: 1, # failure_tolerance_percentage: 1, # max_concurrent_count: 1, # max_concurrent_percentage: 1, # concurrency_mode: "STRICT_FAILURE_TOLERANCE", # accepts STRICT_FAILURE_TOLERANCE, SOFT_FAILURE_TOLERANCE # }, # operation_id: "ClientRequestToken", # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackSetDrift AWS API Documentation # # @overload detect_stack_set_drift(params = {}) # @param [Hash] params ({}) def detect_stack_set_drift(params = {}, options = {}) req = build_request(:detect_stack_set_drift, params) req.send_request(options) end # Returns the estimated monthly cost of a template. The return value is # an Amazon Web Services Simple Monthly Calculator URL with a query # string that describes the resources required to run the template. # # @option params [String] :template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must pass `TemplateBody` or `TemplateURL`. If both # are passed, only `TemplateBody` is used. # # @option params [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template that's located in an Amazon S3 bucket or a Systems # Manager document. The location for an Amazon S3 bucket must start with # `https://`. URLs from S3 static websites are not supported. # # Conditional: You must pass `TemplateURL` or `TemplateBody`. If both # are passed, only `TemplateBody` is used. # # @option params [Array] :parameters # A list of `Parameter` structures that specify input parameters. # # @return [Types::EstimateTemplateCostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::EstimateTemplateCostOutput#url #url} => String # # @example Request syntax with placeholder values # # resp = client.estimate_template_cost({ # template_body: "TemplateBody", # template_url: "TemplateURL", # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # }) # # @example Response structure # # resp.url #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost AWS API Documentation # # @overload estimate_template_cost(params = {}) # @param [Hash] params ({}) def estimate_template_cost(params = {}, options = {}) req = build_request(:estimate_template_cost, params) req.send_request(options) end # Updates a stack using the input information that was provided when the # specified change set was created. After the call successfully # completes, CloudFormation starts updating the stack. Use the # DescribeStacks action to view the status of the update. # # When you execute a change set, CloudFormation deletes all other change # sets associated with the stack because they aren't valid for the # updated stack. # # If a stack policy is associated with the stack, CloudFormation # enforces the policy during the update. You can't specify a temporary # stack policy that overrides the current policy. # # To create a change set for the entire stack hierarchy, # `IncludeNestedStacks` must have been set to `True`. # # @option params [required, String] :change_set_name # The name or Amazon Resource Name (ARN) of the change set that you want # use to update the specified stack. # # @option params [String] :stack_name # If you specified the name of a change set, specify the stack name or # Amazon Resource Name (ARN) that's associated with the change set you # want to execute. # # @option params [String] :client_request_token # A unique identifier for this `ExecuteChangeSet` request. Specify this # token if you plan to retry requests so that CloudFormation knows that # you're not attempting to execute a change set to update a stack with # the same name. You might retry `ExecuteChangeSet` requests to ensure # that CloudFormation successfully received them. # # @option params [Boolean] :disable_rollback # Preserves the state of previously provisioned resources when an # operation fails. This parameter can't be specified when the # `OnStackFailure` parameter to the [CreateChangeSet][1] API operation # was specified. # # * `True` - if the stack creation fails, do nothing. This is equivalent # to specifying `DO_NOTHING` for the `OnStackFailure` parameter to the # [CreateChangeSet][1] API operation. # # * `False` - if the stack creation fails, roll back the stack. This is # equivalent to specifying `ROLLBACK` for the `OnStackFailure` # parameter to the [CreateChangeSet][1] API operation. # # Default: `True` # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html # # @option params [Boolean] :retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.execute_change_set({ # change_set_name: "ChangeSetNameOrId", # required # stack_name: "StackNameOrId", # client_request_token: "ClientRequestToken", # disable_rollback: false, # retain_except_on_create: false, # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet AWS API Documentation # # @overload execute_change_set(params = {}) # @param [Hash] params ({}) def execute_change_set(params = {}, options = {}) req = build_request(:execute_change_set, params) req.send_request(options) end # Executes the stack refactor operation. # # @option params [required, String] :stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.execute_stack_refactor({ # stack_refactor_id: "StackRefactorId", # required # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteStackRefactor AWS API Documentation # # @overload execute_stack_refactor(params = {}) # @param [Hash] params ({}) def execute_stack_refactor(params = {}, options = {}) req = build_request(:execute_stack_refactor, params) req.send_request(options) end # Retrieves a generated template. If the template is in an `InProgress` # or `Pending` status then the template returned will be the template # when the template was last in a `Complete` status. If the template has # not yet been in a `Complete` status then an empty template will be # returned. # # @option params [String] :format # The language to use to retrieve for the generated template. Supported # values are: # # * `JSON` # # * `YAML` # # @option params [required, String] :generated_template_name # The name or Amazon Resource Name (ARN) of the generated template. The # format is # `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. # For example, # `arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc # `. # # @return [Types::GetGeneratedTemplateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetGeneratedTemplateOutput#status #status} => String # * {Types::GetGeneratedTemplateOutput#template_body #template_body} => String # # # @example Example: To get a generated template in JSON format # # # This example gets a generated template ins JSON format. # # resp = client.get_generated_template({ # generated_template_name: "JazzyTemplate", # }) # # resp.to_h outputs the following: # { # status: "COMPLETE", # template_body: "{\"Metadata\":{\"TemplateId\":\"arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/*\"},\"Parameters\":{\"Stage\":{\"Default\":\"beta\",\"Type\":\"String\"}},\"Resources\":{\"TestRole\":{\"Properties\":{\"AssumeRolePolicyDocument\":{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":{\"Fn::Sub\":[\"arn:${AWS::Partition}:iam::${AccountId}:root\",{\"AccountId\":{\"Fn::AccountIdFromAlias\":\"test-account-alias\"}}]}},\"Action\":\"sts:AssumeRole\"}]}},\"Type\":\"AWS::IAM::Role\",\"DeletionPolicy\":\"Delete\"},\"DocumentationPartl7ob4vsd76vs\":{\"UpdateReplacePolicy\":\"Retain\",\"Type\":\"AWS::ApiGateway::DocumentationPart\",\"DeletionPolicy\":\"Retain\",\"Properties\":{\"RestApiId\":\"l7ob4vsd76\",\"Properties\":\"{\\n \\\"description\\\" : \\\"ListGeneratedTemplates 200 response\\\"\\n}\",\"Location\":{\"Path\":\"/ListGeneratedTemplates\",\"Type\":\"RESPONSE\",\"Method\":\"POST\",\"StatusCode\":\"200\"}}}}}", # } # # @example Example: To get a generated template in YAML format # # # This example gets a generated template in YAML format. # # resp = client.get_generated_template({ # format: "YAML", # generated_template_name: "JazzyTemplate", # }) # # resp.to_h outputs the following: # { # status: "COMPLETE", # template_body: "---\nMetadata:\n TemplateId: \"arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/*\"\nParameters:\n Stage:\n Default: \"beta\"\n Type: \"String\"\nResources:\n TestRole:\n Properties:\n AssumeRolePolicyDocument:\n Version: \"2012-10-17\"\n Statement:\n - Effect: \"Allow\"\n Principal:\n AWS:\n Fn::Sub:\n - \"arn:${AWS::Partition}:iam::${AccountId}:root\"\n - AccountId:\n Fn::AccountIdFromAlias: \"test-account-alias\"\n Action: \"sts:AssumeRole\"\n Type: \"AWS::IAM::Role\"\n DeletionPolicy: \"Delete\"\n DocumentationPartl7ob4vsd76vsnAlFMLXKVm:\n UpdateReplacePolicy: \"Retain\"\n Type: \"AWS::ApiGateway::DocumentationPart\"\n DeletionPolicy: \"Retain\"\n Properties:\n RestApiId: \"l7ob4vsd76\"\n Properties: \"{\\n \\\"description\\\" : \\\"ListGeneratedTemplates 200 response\\\"\\n\\\n }\"\n Location:\n Path: \"/ListGeneratedTemplates\"\n Type: \"RESPONSE\"\n Method: \"POST\"\n StatusCode: \"200\"\n", # } # # @example Request syntax with placeholder values # # resp = client.get_generated_template({ # format: "JSON", # accepts JSON, YAML # generated_template_name: "GeneratedTemplateName", # required # }) # # @example Response structure # # resp.status #=> String, one of "CREATE_PENDING", "UPDATE_PENDING", "DELETE_PENDING", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "COMPLETE" # resp.template_body #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetGeneratedTemplate AWS API Documentation # # @overload get_generated_template(params = {}) # @param [Hash] params ({}) def get_generated_template(params = {}, options = {}) req = build_request(:get_generated_template, params) req.send_request(options) end # Returns the stack policy for a specified stack. If a stack doesn't # have a policy, a null value is returned. # # @option params [required, String] :stack_name # The name or unique stack ID that's associated with the stack whose # policy you want to get. # # @return [Types::GetStackPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetStackPolicyOutput#stack_policy_body #stack_policy_body} => String # # @example Request syntax with placeholder values # # resp = client.get_stack_policy({ # stack_name: "StackName", # required # }) # # @example Response structure # # resp.stack_policy_body #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy AWS API Documentation # # @overload get_stack_policy(params = {}) # @param [Hash] params ({}) def get_stack_policy(params = {}, options = {}) req = build_request(:get_stack_policy, params) req.send_request(options) end # Returns the template body for a specified stack. You can get the # template for running or deleted stacks. # # For deleted stacks, `GetTemplate` returns the template for up to 90 # days after the stack has been deleted. # # If the template doesn't exist, a `ValidationError` is returned. # # # # @option params [String] :stack_name # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # # @option params [String] :change_set_name # The name or Amazon Resource Name (ARN) of a change set for which # CloudFormation returns the associated template. If you specify a name, # you must also specify the `StackName`. # # @option params [String] :template_stage # For templates that include transforms, the stage of the template that # CloudFormation returns. To get the user-submitted template, specify # `Original`. To get the template after CloudFormation has processed all # transforms, specify `Processed`. # # If the template doesn't include transforms, `Original` and # `Processed` return the same template. By default, CloudFormation # specifies `Processed`. # # @return [Types::GetTemplateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetTemplateOutput#template_body #template_body} => String # * {Types::GetTemplateOutput#stages_available #stages_available} => Array<String> # # @example Request syntax with placeholder values # # resp = client.get_template({ # stack_name: "StackName", # change_set_name: "ChangeSetNameOrId", # template_stage: "Original", # accepts Original, Processed # }) # # @example Response structure # # resp.template_body #=> String # resp.stages_available #=> Array # resp.stages_available[0] #=> String, one of "Original", "Processed" # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate AWS API Documentation # # @overload get_template(params = {}) # @param [Hash] params ({}) def get_template(params = {}, options = {}) req = build_request(:get_template, params) req.send_request(options) end # Returns information about a new or existing template. The # `GetTemplateSummary` action is useful for viewing parameter # information, such as default parameter values and parameter types, # before you create or update a stack or StackSet. # # You can use the `GetTemplateSummary` action when you submit a # template, or you can get template information for a StackSet, or a # running or deleted stack. # # For deleted stacks, `GetTemplateSummary` returns the template # information for up to 90 days after the stack has been deleted. If the # template doesn't exist, a `ValidationError` is returned. # # @option params [String] :template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify only one of the following parameters: # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. # # @option params [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template (max size: 1 MB) that's located in an Amazon S3 bucket # or a Systems Manager document. The location for an Amazon S3 bucket # must start with `https://`. # # Conditional: You must specify only one of the following parameters: # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. # # @option params [String] :stack_name # The name or the stack ID that's associated with the stack, which # aren't always interchangeable. For running stacks, you can specify # either the stack's name or its unique stack ID. For deleted stack, # you must specify the unique stack ID. # # Conditional: You must specify only one of the following parameters: # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. # # @option params [String] :stack_set_name # The name or unique ID of the StackSet from which the stack was # created. # # Conditional: You must specify only one of the following parameters: # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @option params [Types::TemplateSummaryConfig] :template_summary_config # Specifies options for the `GetTemplateSummary` API action. # # @return [Types::GetTemplateSummaryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetTemplateSummaryOutput#parameters #parameters} => Array<Types::ParameterDeclaration> # * {Types::GetTemplateSummaryOutput#description #description} => String # * {Types::GetTemplateSummaryOutput#capabilities #capabilities} => Array<String> # * {Types::GetTemplateSummaryOutput#capabilities_reason #capabilities_reason} => String # * {Types::GetTemplateSummaryOutput#resource_types #resource_types} => Array<String> # * {Types::GetTemplateSummaryOutput#version #version} => String # * {Types::GetTemplateSummaryOutput#metadata #metadata} => String # * {Types::GetTemplateSummaryOutput#declared_transforms #declared_transforms} => Array<String> # * {Types::GetTemplateSummaryOutput#resource_identifier_summaries #resource_identifier_summaries} => Array<Types::ResourceIdentifierSummary> # * {Types::GetTemplateSummaryOutput#warnings #warnings} => Types::Warnings # # @example Request syntax with placeholder values # # resp = client.get_template_summary({ # template_body: "TemplateBody", # template_url: "TemplateURL", # stack_name: "StackNameOrId", # stack_set_name: "StackSetNameOrId", # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # template_summary_config: { # treat_unrecognized_resource_types_as_warnings: false, # }, # }) # # @example Response structure # # resp.parameters #=> Array # resp.parameters[0].parameter_key #=> String # resp.parameters[0].default_value #=> String # resp.parameters[0].parameter_type #=> String # resp.parameters[0].no_echo #=> Boolean # resp.parameters[0].description #=> String # resp.parameters[0].parameter_constraints.allowed_values #=> Array # resp.parameters[0].parameter_constraints.allowed_values[0] #=> String # resp.description #=> String # resp.capabilities #=> Array # resp.capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND" # resp.capabilities_reason #=> String # resp.resource_types #=> Array # resp.resource_types[0] #=> String # resp.version #=> String # resp.metadata #=> String # resp.declared_transforms #=> Array # resp.declared_transforms[0] #=> String # resp.resource_identifier_summaries #=> Array # resp.resource_identifier_summaries[0].resource_type #=> String # resp.resource_identifier_summaries[0].logical_resource_ids #=> Array # resp.resource_identifier_summaries[0].logical_resource_ids[0] #=> String # resp.resource_identifier_summaries[0].resource_identifiers #=> Array # resp.resource_identifier_summaries[0].resource_identifiers[0] #=> String # resp.warnings.unrecognized_resource_types #=> Array # resp.warnings.unrecognized_resource_types[0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary AWS API Documentation # # @overload get_template_summary(params = {}) # @param [Hash] params ({}) def get_template_summary(params = {}, options = {}) req = build_request(:get_template_summary, params) req.send_request(options) end # Import existing stacks into a new StackSets. Use the stack import # operation to import up to 10 stacks into a new StackSet in the same # account as the source stack or in a different administrator account # and Region, by specifying the stack ID of the stack you intend to # import. # # @option params [required, String] :stack_set_name # The name of the StackSet. The name must be unique in the Region where # you create your StackSet. # # @option params [Array] :stack_ids # The IDs of the stacks you are importing into a StackSet. You import up # to 10 stacks per StackSet at a time. # # Specify either `StackIds` or `StackIdsUrl`. # # @option params [String] :stack_ids_url # The Amazon S3 URL which contains list of stack ids to be inputted. # # Specify either `StackIds` or `StackIdsUrl`. # # @option params [Array] :organizational_unit_ids # The list of OU ID's to which the imported stacks must be mapped as # deployment targets. # # @option params [Types::StackSetOperationPreferences] :operation_preferences # The user-specified preferences for how CloudFormation performs a # StackSet operation. # # For more information about maximum concurrent accounts and failure # tolerance, see [StackSet operation options][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options # # @option params [String] :operation_id # A unique, user defined, identifier for the StackSet operation. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option.** # # @option params [String] :call_as # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * For service managed StackSets, specify `DELEGATED_ADMIN`. # # @return [Types::ImportStacksToStackSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ImportStacksToStackSetOutput#operation_id #operation_id} => String # # @example Request syntax with placeholder values # # resp = client.import_stacks_to_stack_set({ # stack_set_name: "StackSetNameOrId", # required # stack_ids: ["StackId"], # stack_ids_url: "StackIdsUrl", # organizational_unit_ids: ["OrganizationalUnitId"], # operation_preferences: { # region_concurrency_type: "SEQUENTIAL", # accepts SEQUENTIAL, PARALLEL # region_order: ["Region"], # failure_tolerance_count: 1, # failure_tolerance_percentage: 1, # max_concurrent_count: 1, # max_concurrent_percentage: 1, # concurrency_mode: "STRICT_FAILURE_TOLERANCE", # accepts STRICT_FAILURE_TOLERANCE, SOFT_FAILURE_TOLERANCE # }, # operation_id: "ClientRequestToken", # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ImportStacksToStackSet AWS API Documentation # # @overload import_stacks_to_stack_set(params = {}) # @param [Hash] params ({}) def import_stacks_to_stack_set(params = {}, options = {}) req = build_request(:import_stacks_to_stack_set, params) req.send_request(options) end # Returns the ID and status of each active change set for a stack. For # example, CloudFormation lists change sets that are in the # `CREATE_IN_PROGRESS` or `CREATE_PENDING` state. # # @option params [required, String] :stack_name # The name or the Amazon Resource Name (ARN) of the stack for which you # want to list change sets. # # @option params [String] :next_token # A string (provided by the ListChangeSets response output) that # identifies the next page of change sets that you want to retrieve. # # @return [Types::ListChangeSetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListChangeSetsOutput#summaries #summaries} => Array<Types::ChangeSetSummary> # * {Types::ListChangeSetsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_change_sets({ # stack_name: "StackNameOrId", # required # next_token: "NextToken", # }) # # @example Response structure # # resp.summaries #=> Array # resp.summaries[0].stack_id #=> String # resp.summaries[0].stack_name #=> String # resp.summaries[0].change_set_id #=> String # resp.summaries[0].change_set_name #=> String # resp.summaries[0].execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "OBSOLETE" # resp.summaries[0].status #=> String, one of "CREATE_PENDING", "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "DELETE_PENDING", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED", "FAILED" # resp.summaries[0].status_reason #=> String # resp.summaries[0].creation_time #=> Time # resp.summaries[0].description #=> String # resp.summaries[0].include_nested_stacks #=> Boolean # resp.summaries[0].parent_change_set_id #=> String # resp.summaries[0].root_change_set_id #=> String # resp.summaries[0].import_existing_resources #=> Boolean # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets AWS API Documentation # # @overload list_change_sets(params = {}) # @param [Hash] params ({}) def list_change_sets(params = {}, options = {}) req = build_request(:list_change_sets, params) req.send_request(options) end # Lists all exported output values in the account and Region in which # you call this action. Use this action to see the exported output # values that you can import into other stacks. To import values, use # the [ Fn::ImportValue][1] function. # # For more information, see [Get exported outputs from a deployed # CloudFormation stack][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-importvalue.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html # # @option params [String] :next_token # A string (provided by the ListExports response output) that identifies # the next page of exported output values that you asked to retrieve. # # @return [Types::ListExportsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListExportsOutput#exports #exports} => Array<Types::Export> # * {Types::ListExportsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_exports({ # next_token: "NextToken", # }) # # @example Response structure # # resp.exports #=> Array # resp.exports[0].exporting_stack_id #=> String # resp.exports[0].name #=> String # resp.exports[0].value #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports AWS API Documentation # # @overload list_exports(params = {}) # @param [Hash] params ({}) def list_exports(params = {}, options = {}) req = build_request(:list_exports, params) req.send_request(options) end # Lists your generated templates in this Region. # # @option params [String] :next_token # A string that identifies the next page of resource scan results. # # @option params [Integer] :max_results # If the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can use for the `NextToken` # parameter to get the next set of results. By default the # `ListGeneratedTemplates` API action will return at most 50 results in # each response. The maximum value is 100. # # @return [Types::ListGeneratedTemplatesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListGeneratedTemplatesOutput#summaries #summaries} => Array<Types::TemplateSummary> # * {Types::ListGeneratedTemplatesOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # # @example Example: To list generated templates # # # This example lists the generated templates. # # resp = client.list_generated_templates({ # }) # # resp.to_h outputs the following: # { # summaries: [ # { # creation_time: Time.parse("2023-12-28T17:55:20.086000+00:00"), # generated_template_id: "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/abcdefghi-1234-abcd-abcd-abcdefgh1234567", # generated_template_name: "Template3", # last_updated_time: Time.parse("2023-12-28T17:57:16.610000+00:00"), # number_of_resources: 85, # status: "COMPLETE", # status_reason: "All resources complete", # }, # { # creation_time: Time.parse("2023-12-21T01:51:07.764000+00:00"), # generated_template_id: "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/bbcdefghi-1234-abcd-abcd-abcdefgh1234567", # generated_template_name: "Template2", # last_updated_time: Time.parse("2023-12-21T01:51:22.664000+00:00"), # number_of_resources: 12, # status: "COMPLETE", # status_reason: "All resources complete", # }, # { # creation_time: Time.parse("2023-11-20T23:53:28.722000+00:00"), # generated_template_id: "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/cbcdefghi-1234-abcd-abcd-abcdefgh1234567", # generated_template_name: "Template1", # last_updated_time: Time.parse("2023-11-21T04:25:30.527000+00:00"), # number_of_resources: 19, # status: "COMPLETE", # status_reason: "All resources complete", # }, # ], # } # # @example Request syntax with placeholder values # # resp = client.list_generated_templates({ # next_token: "NextToken", # max_results: 1, # }) # # @example Response structure # # resp.summaries #=> Array # resp.summaries[0].generated_template_id #=> String # resp.summaries[0].generated_template_name #=> String # resp.summaries[0].status #=> String, one of "CREATE_PENDING", "UPDATE_PENDING", "DELETE_PENDING", "CREATE_IN_PROGRESS", "UPDATE_IN_PROGRESS", "DELETE_IN_PROGRESS", "FAILED", "COMPLETE" # resp.summaries[0].status_reason #=> String # resp.summaries[0].creation_time #=> Time # resp.summaries[0].last_updated_time #=> Time # resp.summaries[0].number_of_resources #=> Integer # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListGeneratedTemplates AWS API Documentation # # @overload list_generated_templates(params = {}) # @param [Hash] params ({}) def list_generated_templates(params = {}, options = {}) req = build_request(:list_generated_templates, params) req.send_request(options) end # Returns summaries of invoked Hooks. For more information, see [View # invocation summaries for CloudFormation Hooks][1] in the # *CloudFormation Hooks User Guide*. # # This operation supports the following parameter combinations: # # * No parameters: Returns all Hook invocation summaries. # # * `TypeArn` only: Returns summaries for a specific Hook. # # * `TypeArn` and `Status`: Returns summaries for a specific Hook # filtered by status. # # * `TargetId` and `TargetType`: Returns summaries for a specific Hook # invocation target. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-view-invocations.html # # @option params [String] :target_type # Filters results by target type. Currently, only `CHANGE_SET` and # `CLOUD_CONTROL` are supported filter options. # # Required when `TargetId` is specified and cannot be used otherwise. # # @option params [String] :target_id # Filters results by the unique identifier of the target the Hook was # invoked against. # # For change sets, this is the change set ARN. When the target is a # Cloud Control API operation, this value must be the `HookRequestToken` # returned by the Cloud Control API request. For more information on the # `HookRequestToken`, see [ProgressEvent][1]. # # Required when `TargetType` is specified and cannot be used otherwise. # # # # [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html # # @option params [String] :type_arn # Filters results by the ARN of the Hook. Can be used alone or in # combination with `Status`. # # @option params [String] :status # Filters results by the status of Hook invocations. Can only be used in # combination with `TypeArn`. Valid values are: # # * `HOOK_IN_PROGRESS`: The Hook is currently running. # # * `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. # # * `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. # # * `HOOK_FAILED`: The Hook encountered an error during execution. # # @option params [String] :next_token # A string that identifies the next page of events that you want to # retrieve. # # @return [Types::ListHookResultsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListHookResultsOutput#target_type #target_type} => String # * {Types::ListHookResultsOutput#target_id #target_id} => String # * {Types::ListHookResultsOutput#hook_results #hook_results} => Array<Types::HookResultSummary> # * {Types::ListHookResultsOutput#next_token #next_token} => String # # @example Request syntax with placeholder values # # resp = client.list_hook_results({ # target_type: "CHANGE_SET", # accepts CHANGE_SET, STACK, RESOURCE, CLOUD_CONTROL # target_id: "HookResultId", # type_arn: "HookTypeArn", # status: "HOOK_IN_PROGRESS", # accepts HOOK_IN_PROGRESS, HOOK_COMPLETE_SUCCEEDED, HOOK_COMPLETE_FAILED, HOOK_FAILED # next_token: "NextToken", # }) # # @example Response structure # # resp.target_type #=> String, one of "CHANGE_SET", "STACK", "RESOURCE", "CLOUD_CONTROL" # resp.target_id #=> String # resp.hook_results #=> Array # resp.hook_results[0].hook_result_id #=> String # resp.hook_results[0].invocation_point #=> String, one of "PRE_PROVISION" # resp.hook_results[0].failure_mode #=> String, one of "FAIL", "WARN" # resp.hook_results[0].type_name #=> String # resp.hook_results[0].type_version_id #=> String # resp.hook_results[0].type_configuration_version_id #=> String # resp.hook_results[0].status #=> String, one of "HOOK_IN_PROGRESS", "HOOK_COMPLETE_SUCCEEDED", "HOOK_COMPLETE_FAILED", "HOOK_FAILED" # resp.hook_results[0].hook_status_reason #=> String # resp.hook_results[0].invoked_at #=> Time # resp.hook_results[0].target_type #=> String, one of "CHANGE_SET", "STACK", "RESOURCE", "CLOUD_CONTROL" # resp.hook_results[0].target_id #=> String # resp.hook_results[0].type_arn #=> String # resp.hook_results[0].hook_execution_target #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListHookResults AWS API Documentation # # @overload list_hook_results(params = {}) # @param [Hash] params ({}) def list_hook_results(params = {}, options = {}) req = build_request(:list_hook_results, params) req.send_request(options) end # Lists all stacks that are importing an exported output value. To # modify or remove an exported output value, first use this action to # see which stacks are using it. To see the exported output values in # your account, see ListExports. # # For more information about importing an exported output value, see the # [Fn::ImportValue][1] function. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-importvalue.html # # @option params [required, String] :export_name # The name of the exported output value. CloudFormation returns the # stack names that are importing this value. # # @option params [String] :next_token # A string (provided by the ListImports response output) that identifies # the next page of stacks that are importing the specified exported # output value. # # @return [Types::ListImportsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListImportsOutput#imports #imports} => Array<String> # * {Types::ListImportsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_imports({ # export_name: "ExportName", # required # next_token: "NextToken", # }) # # @example Response structure # # resp.imports #=> Array # resp.imports[0] #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports AWS API Documentation # # @overload list_imports(params = {}) # @param [Hash] params ({}) def list_imports(params = {}, options = {}) req = build_request(:list_imports, params) req.send_request(options) end # Lists the related resources for a list of resources from a resource # scan. The response indicates whether each returned resource is already # managed by CloudFormation. # # @option params [required, String] :resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. # # @option params [required, Array] :resources # The list of resources for which you want to get the related resources. # Up to 100 resources can be provided. # # @option params [String] :next_token # A string that identifies the next page of resource scan results. # # @option params [Integer] :max_results # If the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can use for the `NextToken` # parameter to get the next set of results. By default the # `ListResourceScanRelatedResources` API action will return up to 100 # results in each response. The maximum value is 100. # # @return [Types::ListResourceScanRelatedResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListResourceScanRelatedResourcesOutput#related_resources #related_resources} => Array<Types::ScannedResource> # * {Types::ListResourceScanRelatedResourcesOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # # @example Example: To list resource scan related resources # # # This example lists the resources related to the passed in resources # # resp = client.list_resource_scan_related_resources({ # resource_scan_id: "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1", # resources: [ # { # resource_identifier: { # "BucketName" => "jazz-bucket", # }, # resource_type: "AWS::S3::Bucket", # }, # { # resource_identifier: { # "DhcpOptionsId" => "random-id123", # }, # resource_type: "AWS::EC2::DHCPOptions", # }, # ], # }) # # resp.to_h outputs the following: # { # related_resources: [ # { # managed_by_stack: false, # resource_identifier: { # "DhcpOptionsId" => "dopt-98765edcba", # "VpcId" => "vpc-0123456abcdefg", # }, # resource_type: "AWS::EC2::VPCDHCPOptionsAssociation", # }, # { # managed_by_stack: false, # resource_identifier: { # "VpcId" => "vpc-0123456abcdefgabc", # }, # resource_type: "AWS::EC2::VPC", # }, # { # managed_by_stack: false, # resource_identifier: { # "DhcpOptionsId" => "dopt-98765edcba", # "VpcId" => "vpc-123456abcdef", # }, # resource_type: "AWS::EC2::VPCDHCPOptionsAssociation", # }, # { # managed_by_stack: false, # resource_identifier: { # "VpcId" => "vpc-12345678abcd", # }, # resource_type: "AWS::EC2::VPC", # }, # ], # } # # @example Request syntax with placeholder values # # resp = client.list_resource_scan_related_resources({ # resource_scan_id: "ResourceScanId", # required # resources: [ # required # { # resource_type: "ResourceType", # required # resource_identifier: { # required # "JazzResourceIdentifierPropertyKey" => "JazzResourceIdentifierPropertyValue", # }, # }, # ], # next_token: "NextToken", # max_results: 1, # }) # # @example Response structure # # resp.related_resources #=> Array # resp.related_resources[0].resource_type #=> String # resp.related_resources[0].resource_identifier #=> Hash # resp.related_resources[0].resource_identifier["JazzResourceIdentifierPropertyKey"] #=> String # resp.related_resources[0].managed_by_stack #=> Boolean # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScanRelatedResources AWS API Documentation # # @overload list_resource_scan_related_resources(params = {}) # @param [Hash] params ({}) def list_resource_scan_related_resources(params = {}, options = {}) req = build_request(:list_resource_scan_related_resources, params) req.send_request(options) end # Lists the resources from a resource scan. The results can be filtered # by resource identifier, resource type prefix, tag key, and tag value. # Only resources that match all specified filters are returned. The # response indicates whether each returned resource is already managed # by CloudFormation. # # @option params [required, String] :resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. # # @option params [String] :resource_identifier # If specified, the returned resources will have the specified resource # identifier (or one of them in the case where the resource has multiple # identifiers). # # @option params [String] :resource_type_prefix # If specified, the returned resources will be of any of the resource # types with the specified prefix. # # @option params [String] :tag_key # If specified, the returned resources will have a matching tag key. # # @option params [String] :tag_value # If specified, the returned resources will have a matching tag value. # # @option params [String] :next_token # A string that identifies the next page of resource scan results. # # @option params [Integer] :max_results # If the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can use for the `NextToken` # parameter to get the next set of results. By default the # `ListResourceScanResources` API action will return at most 100 results # in each response. The maximum value is 100. # # @return [Types::ListResourceScanResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListResourceScanResourcesOutput#resources #resources} => Array<Types::ScannedResource> # * {Types::ListResourceScanResourcesOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # # @example Example: To list the resources in your resource scan # # # This example lists the resources in your resource scan # # resp = client.list_resource_scan_resources({ # resource_scan_id: "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1", # }) # # resp.to_h outputs the following: # { # next_token: "AQICAHjOiFofVZCZ0aEN1VnF1m9jq/xxpTY7MyPexz72BHuAkgETVS8c+PVCFpE6uGVJDxCFAAACbjCCAmoGCSqGSIb3DQEHBqCCAlswggJXAgEAMIICUAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAwJ9QJAYeDzUoBeimECARCAggIh8brcL6H6uMvcZafRTB79hUkdJlOoFavrhYA2U7qdlPUwyvaVqN2DvFMxsl2XC1SaWmr5esMKxg1fLjbOEF32lVQn0Jp8QuoFUvREnqEsR32ZQmiI/Oc9HmwIr/BS3rzljki2Kr8Y0nriS7aFDLUCYsdsRdQ9iL5/iCc6oW7IisCzq1VKcHijlXvuiEipZAinsxEbmYBjmWgT7UYZdrrb6Hq3COEgPzS490ucndtwPjyvuCIMiAfTLMuBgjkzEfp4U97aLwPWaiKw94dMXj/3K67uuH9BjWZO+j6d3nnyZ14FOgI7SQvvVBnxARbTmINttHWjXPrIuE9YuuSWgn6GmuzEEDqkuglOS/OeTHYSPvLPRrFieUiawblljLVoVY9/HDjL/EErSTWiCnytGXIRoMI9Ozp2Yjfm3MBwSDXvMIrscw6QAa3bUA6uJSV2skCBnDoqV8EXd8umh788OgEtDxQ7d/NlUYEhN6AJ0K9TVz/2rZgOlzLCmtvmbIy7loAZCmf/uPNkyu6WuoLWTzQz78SnA8jWPKnxrzhNyPuaIgUH23U3mExhfMRDczitpOo5JM81oHVPECslGoqktLhP55BQqMbJy4w16SZJfr993TXhF5jOZenRN1zDsK3J5cLdJgPK1Ds1Z9DnRKMfXOqoAyme2l94/h0kLIxgAtxOeJFP/g/9hUtt1qGkZeV3Xqw1nkFQnafGIg4fJoWg74Sr7yo=", # resources: [ # { # managed_by_stack: false, # resource_identifier: { # "Arn" => "arn:aws:amplify:us-east-1:123456789012:apps/12345678", # }, # resource_type: "AWS::Amplify::App", # }, # { # managed_by_stack: true, # resource_identifier: { # "DeploymentId" => "1234567", # "RestApiId" => "abcdefgh", # }, # resource_type: "AWS::ApiGateway::Deployment", # }, # ], # } # # @example Example: To list the resources in your resource scan for specific resource type # # # This example lists the resources in your resource scan filtering only the resources that start with the passed in prefix # # resp = client.list_resource_scan_resources({ # resource_scan_id: "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1", # resource_type_prefix: "AWS::S3", # }) # # resp.to_h outputs the following: # { # next_token: "AQICAHjOiFofVZCZ0aEN1VnF1m9jq/xxpTY7MyPexz72BHuAkgETVS8c+PVCFpE6uGVJDxCFAAACbjCCAmoGCSqGSIb3DQEHBqCCAlswggJXAgEAMIICUAYJKoZIhvcNAQcBMB4GCWCGSAFlAwQBLjARBAwJ9QJAYeDzUoBeimECARCAggIh8brcL6H6uMvcZafRTB79hUkdJlOoFavrhYA2U7qdlPUwyvaVqN2DvFMxsl2XC1SaWmr5esMKxg1fLjbOEF32lVQn0Jp8QuoFUvREnqEsR32ZQmiI/Oc9HmwIr/BS3rzljki2Kr8Y0nriS7aFDLUCYsdsRdQ9iL5/iCc6oW7IisCzq1VKcHijlXvuiEipZAinsxEbmYBjmWgT7UYZdrrb6Hq3COEgPzS490ucndtwPjyvuCIMiAfTLMuBgjkzEfp4U97aLwPWaiKw94dMXj/3K67uuH9BjWZO+j6d3nnyZ14FOgI7SQvvVBnxARbTmINttHWjXPrIuE9YuuSWgn6GmuzEEDqkuglOS/OeTHYSPvLPRrFieUiawblljLVoVY9/HDjL/EErSTWiCnytGXIRoMI9Ozp2Yjfm3MBwSDXvMIrscw6QAa3bUA6uJSV2skCBnDoqV8EXd8umh788OgEtDxQ7d/NlUYEhN6AJ0K9TVz/2rZgOlzLCmtvmbIy7loAZCmf/uPNkyu6WuoLWTzQz78SnA8jWPKnxrzhNyPuaIgUH23U3mExhfMRDczitpOo5JM81oHVPECslGoqktLhP55BQqMbJy4w16SZJfr993TXhF5jOZenRN1zDsK3J5cLdJgPK1Ds1Z9DnRKMfXOqoAyme2l94/h0kLIxgAtxOeJFP/g/9hUtt1qGkZeV3Xqw1nkFQnafGIg4fJoWg74Sr7yo=", # resources: [ # { # managed_by_stack: true, # resource_identifier: { # "Name" => "test-access-point", # }, # resource_type: "AWS::S3::AccessPoint", # }, # { # managed_by_stack: false, # resource_identifier: { # "Bucket" => "a-random-bucket", # }, # resource_type: "AWS::S3::BucketPolicy", # }, # ], # } # # @example Request syntax with placeholder values # # resp = client.list_resource_scan_resources({ # resource_scan_id: "ResourceScanId", # required # resource_identifier: "ResourceIdentifier", # resource_type_prefix: "ResourceTypePrefix", # tag_key: "TagKey", # tag_value: "TagValue", # next_token: "NextToken", # max_results: 1, # }) # # @example Response structure # # resp.resources #=> Array # resp.resources[0].resource_type #=> String # resp.resources[0].resource_identifier #=> Hash # resp.resources[0].resource_identifier["JazzResourceIdentifierPropertyKey"] #=> String # resp.resources[0].managed_by_stack #=> Boolean # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScanResources AWS API Documentation # # @overload list_resource_scan_resources(params = {}) # @param [Hash] params ({}) def list_resource_scan_resources(params = {}, options = {}) req = build_request(:list_resource_scan_resources, params) req.send_request(options) end # List the resource scans from newest to oldest. By default it will # return up to 10 resource scans. # # @option params [String] :next_token # A string that identifies the next page of resource scan results. # # @option params [Integer] :max_results # If the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can use for the `NextToken` # parameter to get the next set of results. The default value is 10. The # maximum value is 100. # # @option params [String] :scan_type_filter # The scan type that you want to get summary information about. The # default is `FULL`. # # @return [Types::ListResourceScansOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListResourceScansOutput#resource_scan_summaries #resource_scan_summaries} => Array<Types::ResourceScanSummary> # * {Types::ListResourceScansOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # # @example Example: Listing Resource Scans # # # This example shows how to list resource scans # # resp = client.list_resource_scans({ # }) # # resp.to_h outputs the following: # { # resource_scan_summaries: [ # { # percentage_completed: 37.4, # resource_scan_id: "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/51448627-817f-40f0-b37c-f6e0f974340c", # start_time: Time.parse("2024-01-24T00:33:29.673000+00:00"), # status: "IN_PROGRESS", # }, # { # end_time: Time.parse("2024-01-02T23:25:48.075000+00:00"), # percentage_completed: 100.0, # resource_scan_id: "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/c19304f6-c4f1-4ff8-8e1f-35162e41d7e1", # start_time: Time.parse("2024-01-02T22:15:18.382000+00:00"), # status: "COMPLETE", # }, # ], # } # # @example Request syntax with placeholder values # # resp = client.list_resource_scans({ # next_token: "NextToken", # max_results: 1, # scan_type_filter: "FULL", # accepts FULL, PARTIAL # }) # # @example Response structure # # resp.resource_scan_summaries #=> Array # resp.resource_scan_summaries[0].resource_scan_id #=> String # resp.resource_scan_summaries[0].status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETE", "EXPIRED" # resp.resource_scan_summaries[0].status_reason #=> String # resp.resource_scan_summaries[0].start_time #=> Time # resp.resource_scan_summaries[0].end_time #=> Time # resp.resource_scan_summaries[0].percentage_completed #=> Float # resp.resource_scan_summaries[0].scan_type #=> String, one of "FULL", "PARTIAL" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScans AWS API Documentation # # @overload list_resource_scans(params = {}) # @param [Hash] params ({}) def list_resource_scans(params = {}, options = {}) req = build_request(:list_resource_scans, params) req.send_request(options) end # Returns drift information for resources in a stack instance. # # `ListStackInstanceResourceDrifts` returns drift information for the # most recent drift detection operation. If an operation is in progress, # it may only return partial results. # # # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to list drifted # resources for. # # @option params [String] :next_token # If the previous paginated request didn't return all of the remaining # results, the response object's `NextToken` parameter value is set to # a token. To retrieve the next set of results, call this action again # and assign that token to the request object's `NextToken` parameter. # If there are no remaining results, the previous response object's # `NextToken` parameter is set to `null`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [Array] :stack_instance_resource_drift_statuses # The resource drift status of the stack instance. # # * `DELETED`: The resource differs from its expected template # configuration in that the resource has been deleted. # # * `MODIFIED`: One or more resource properties differ from their # expected template values. # # * `IN_SYNC`: The resource's actual configuration matches its expected # template configuration. # # * `NOT_CHECKED`: CloudFormation doesn't currently return this value. # # @option params [required, String] :stack_instance_account # The name of the Amazon Web Services account that you want to list # resource drifts for. # # @option params [required, String] :stack_instance_region # The name of the Region where you want to list resource drifts. # # @option params [required, String] :operation_id # The unique ID of the drift operation. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::ListStackInstanceResourceDriftsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackInstanceResourceDriftsOutput#summaries #summaries} => Array<Types::StackInstanceResourceDriftsSummary> # * {Types::ListStackInstanceResourceDriftsOutput#next_token #next_token} => String # # @example Request syntax with placeholder values # # resp = client.list_stack_instance_resource_drifts({ # stack_set_name: "StackSetNameOrId", # required # next_token: "NextToken", # max_results: 1, # stack_instance_resource_drift_statuses: ["IN_SYNC"], # accepts IN_SYNC, MODIFIED, DELETED, NOT_CHECKED, UNKNOWN # stack_instance_account: "Account", # required # stack_instance_region: "Region", # required # operation_id: "ClientRequestToken", # required # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.summaries #=> Array # resp.summaries[0].stack_id #=> String # resp.summaries[0].logical_resource_id #=> String # resp.summaries[0].physical_resource_id #=> String # resp.summaries[0].physical_resource_id_context #=> Array # resp.summaries[0].physical_resource_id_context[0].key #=> String # resp.summaries[0].physical_resource_id_context[0].value #=> String # resp.summaries[0].resource_type #=> String # resp.summaries[0].property_differences #=> Array # resp.summaries[0].property_differences[0].property_path #=> String # resp.summaries[0].property_differences[0].expected_value #=> String # resp.summaries[0].property_differences[0].actual_value #=> String # resp.summaries[0].property_differences[0].difference_type #=> String, one of "ADD", "REMOVE", "NOT_EQUAL" # resp.summaries[0].stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED", "UNKNOWN" # resp.summaries[0].timestamp #=> Time # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstanceResourceDrifts AWS API Documentation # # @overload list_stack_instance_resource_drifts(params = {}) # @param [Hash] params ({}) def list_stack_instance_resource_drifts(params = {}, options = {}) req = build_request(:list_stack_instance_resource_drifts, params) req.send_request(options) end # Returns summary information about stack instances that are associated # with the specified StackSet. You can filter for stack instances that # are associated with a specific Amazon Web Services account name or # Region, or that have a specific status. # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to list stack # instances for. # # @option params [String] :next_token # If the previous request didn't return all the remaining results, the # response's `NextToken` parameter value is set to a token. To retrieve # the next set of results, call `ListStackInstances` again and assign # that token to the request object's `NextToken` parameter. If there # are no remaining results, the previous response object's `NextToken` # parameter is set to `null`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [Array] :filters # The filter to apply to stack instances # # @option params [String] :stack_instance_account # The name of the Amazon Web Services account that you want to list # stack instances for. # # @option params [String] :stack_instance_region # The name of the Region where you want to list stack instances. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::ListStackInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackInstancesOutput#summaries #summaries} => Array<Types::StackInstanceSummary> # * {Types::ListStackInstancesOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_stack_instances({ # stack_set_name: "StackSetName", # required # next_token: "NextToken", # max_results: 1, # filters: [ # { # name: "DETAILED_STATUS", # accepts DETAILED_STATUS, LAST_OPERATION_ID, DRIFT_STATUS # values: "StackInstanceFilterValues", # }, # ], # stack_instance_account: "Account", # stack_instance_region: "Region", # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.summaries #=> Array # resp.summaries[0].stack_set_id #=> String # resp.summaries[0].region #=> String # resp.summaries[0].account #=> String # resp.summaries[0].stack_id #=> String # resp.summaries[0].status #=> String, one of "CURRENT", "OUTDATED", "INOPERABLE" # resp.summaries[0].status_reason #=> String # resp.summaries[0].stack_instance_status.detailed_status #=> String, one of "PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED", "INOPERABLE", "SKIPPED_SUSPENDED_ACCOUNT", "FAILED_IMPORT" # resp.summaries[0].organizational_unit_id #=> String # resp.summaries[0].drift_status #=> String, one of "DRIFTED", "IN_SYNC", "UNKNOWN", "NOT_CHECKED" # resp.summaries[0].last_drift_check_timestamp #=> Time # resp.summaries[0].last_operation_id #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances AWS API Documentation # # @overload list_stack_instances(params = {}) # @param [Hash] params ({}) def list_stack_instances(params = {}, options = {}) req = build_request(:list_stack_instances, params) req.send_request(options) end # Lists the stack refactor actions that will be taken after calling the # ExecuteStackRefactor action. # # @option params [required, String] :stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # # @option params [String] :next_token # If the request doesn't return all the remaining results, `NextToken` # is set to a token. To retrieve the next set of results, call this # action again and assign that token to the request object's # `NextToken` parameter. If the request returns all results, `NextToken` # is set to `null`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @return [Types::ListStackRefactorActionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackRefactorActionsOutput#stack_refactor_actions #stack_refactor_actions} => Array<Types::StackRefactorAction> # * {Types::ListStackRefactorActionsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_stack_refactor_actions({ # stack_refactor_id: "StackRefactorId", # required # next_token: "NextToken", # max_results: 1, # }) # # @example Response structure # # resp.stack_refactor_actions #=> Array # resp.stack_refactor_actions[0].action #=> String, one of "MOVE", "CREATE" # resp.stack_refactor_actions[0].entity #=> String, one of "RESOURCE", "STACK" # resp.stack_refactor_actions[0].physical_resource_id #=> String # resp.stack_refactor_actions[0].resource_identifier #=> String # resp.stack_refactor_actions[0].description #=> String # resp.stack_refactor_actions[0].detection #=> String, one of "AUTO", "MANUAL" # resp.stack_refactor_actions[0].detection_reason #=> String # resp.stack_refactor_actions[0].tag_resources #=> Array # resp.stack_refactor_actions[0].tag_resources[0].key #=> String # resp.stack_refactor_actions[0].tag_resources[0].value #=> String # resp.stack_refactor_actions[0].untag_resources #=> Array # resp.stack_refactor_actions[0].untag_resources[0] #=> String # resp.stack_refactor_actions[0].resource_mapping.source.stack_name #=> String # resp.stack_refactor_actions[0].resource_mapping.source.logical_resource_id #=> String # resp.stack_refactor_actions[0].resource_mapping.destination.stack_name #=> String # resp.stack_refactor_actions[0].resource_mapping.destination.logical_resource_id #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackRefactorActions AWS API Documentation # # @overload list_stack_refactor_actions(params = {}) # @param [Hash] params ({}) def list_stack_refactor_actions(params = {}, options = {}) req = build_request(:list_stack_refactor_actions, params) req.send_request(options) end # Lists all account stack refactor operations and their statuses. # # @option params [Array] :execution_status_filter # Execution status to use as a filter. Specify one or more execution # status codes to list only stack refactors with the specified execution # status codes. # # @option params [String] :next_token # If the request doesn't return all the remaining results, `NextToken` # is set to a token. To retrieve the next set of results, call this # action again and assign that token to the request object's # `NextToken` parameter. If the request returns all results, `NextToken` # is set to `null`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @return [Types::ListStackRefactorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackRefactorsOutput#stack_refactor_summaries #stack_refactor_summaries} => Array<Types::StackRefactorSummary> # * {Types::ListStackRefactorsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_stack_refactors({ # execution_status_filter: ["UNAVAILABLE"], # accepts UNAVAILABLE, AVAILABLE, OBSOLETE, EXECUTE_IN_PROGRESS, EXECUTE_COMPLETE, EXECUTE_FAILED, ROLLBACK_IN_PROGRESS, ROLLBACK_COMPLETE, ROLLBACK_FAILED # next_token: "NextToken", # max_results: 1, # }) # # @example Response structure # # resp.stack_refactor_summaries #=> Array # resp.stack_refactor_summaries[0].stack_refactor_id #=> String # resp.stack_refactor_summaries[0].description #=> String # resp.stack_refactor_summaries[0].execution_status #=> String, one of "UNAVAILABLE", "AVAILABLE", "OBSOLETE", "EXECUTE_IN_PROGRESS", "EXECUTE_COMPLETE", "EXECUTE_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED" # resp.stack_refactor_summaries[0].execution_status_reason #=> String # resp.stack_refactor_summaries[0].status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_COMPLETE", "CREATE_FAILED", "DELETE_IN_PROGRESS", "DELETE_COMPLETE", "DELETE_FAILED" # resp.stack_refactor_summaries[0].status_reason #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackRefactors AWS API Documentation # # @overload list_stack_refactors(params = {}) # @param [Hash] params ({}) def list_stack_refactors(params = {}, options = {}) req = build_request(:list_stack_refactors, params) req.send_request(options) end # Returns descriptions of all resources of the specified stack. # # For deleted stacks, ListStackResources returns resource information # for up to 90 days after the stack has been deleted. # # @option params [required, String] :stack_name # The name or the unique stack ID that is associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # # @option params [String] :next_token # A string that identifies the next page of stack resources that you # want to retrieve. # # @return [Types::ListStackResourcesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackResourcesOutput#stack_resource_summaries #stack_resource_summaries} => Array<Types::StackResourceSummary> # * {Types::ListStackResourcesOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_stack_resources({ # stack_name: "StackName", # required # next_token: "NextToken", # }) # # @example Response structure # # resp.stack_resource_summaries #=> Array # resp.stack_resource_summaries[0].logical_resource_id #=> String # resp.stack_resource_summaries[0].physical_resource_id #=> String # resp.stack_resource_summaries[0].resource_type #=> String # resp.stack_resource_summaries[0].last_updated_timestamp #=> Time # resp.stack_resource_summaries[0].resource_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "DELETE_SKIPPED", "UPDATE_IN_PROGRESS", "UPDATE_FAILED", "UPDATE_COMPLETE", "IMPORT_FAILED", "IMPORT_COMPLETE", "IMPORT_IN_PROGRESS", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE", "EXPORT_FAILED", "EXPORT_COMPLETE", "EXPORT_IN_PROGRESS", "EXPORT_ROLLBACK_IN_PROGRESS", "EXPORT_ROLLBACK_FAILED", "EXPORT_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "UPDATE_ROLLBACK_FAILED", "ROLLBACK_IN_PROGRESS", "ROLLBACK_COMPLETE", "ROLLBACK_FAILED" # resp.stack_resource_summaries[0].resource_status_reason #=> String # resp.stack_resource_summaries[0].drift_information.stack_resource_drift_status #=> String, one of "IN_SYNC", "MODIFIED", "DELETED", "NOT_CHECKED", "UNKNOWN" # resp.stack_resource_summaries[0].drift_information.last_check_timestamp #=> Time # resp.stack_resource_summaries[0].module_info.type_hierarchy #=> String # resp.stack_resource_summaries[0].module_info.logical_id_hierarchy #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources AWS API Documentation # # @overload list_stack_resources(params = {}) # @param [Hash] params ({}) def list_stack_resources(params = {}, options = {}) req = build_request(:list_stack_resources, params) req.send_request(options) end # Returns summary information about deployment targets for a StackSet. # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to get automatic # deployment targets for. # # @option params [String] :next_token # A string that identifies the next page of deployment targets that you # want to retrieve. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [String] :call_as # Specifies whether you are acting as an account administrator in the # organization's management account or as a delegated administrator in # a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::ListStackSetAutoDeploymentTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackSetAutoDeploymentTargetsOutput#summaries #summaries} => Array<Types::StackSetAutoDeploymentTargetSummary> # * {Types::ListStackSetAutoDeploymentTargetsOutput#next_token #next_token} => String # # @example Request syntax with placeholder values # # resp = client.list_stack_set_auto_deployment_targets({ # stack_set_name: "StackSetNameOrId", # required # next_token: "NextToken", # max_results: 1, # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.summaries #=> Array # resp.summaries[0].organizational_unit_id #=> String # resp.summaries[0].regions #=> Array # resp.summaries[0].regions[0] #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetAutoDeploymentTargets AWS API Documentation # # @overload list_stack_set_auto_deployment_targets(params = {}) # @param [Hash] params ({}) def list_stack_set_auto_deployment_targets(params = {}, options = {}) req = build_request(:list_stack_set_auto_deployment_targets, params) req.send_request(options) end # Returns summary information about the results of a StackSet operation. # # This API provides *eventually consistent* reads meaning it may take # some time but will eventually return the most up-to-date data. # # # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to get operation # results for. # # @option params [required, String] :operation_id # The ID of the StackSet operation. # # @option params [String] :next_token # If the previous request didn't return all the remaining results, the # response object's `NextToken` parameter value is set to a token. To # retrieve the next set of results, call `ListStackSetOperationResults` # again and assign that token to the request object's `NextToken` # parameter. If there are no remaining results, the previous response # object's `NextToken` parameter is set to `null`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @option params [Array] :filters # The filter to apply to operation results. # # @return [Types::ListStackSetOperationResultsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackSetOperationResultsOutput#summaries #summaries} => Array<Types::StackSetOperationResultSummary> # * {Types::ListStackSetOperationResultsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_stack_set_operation_results({ # stack_set_name: "StackSetName", # required # operation_id: "ClientRequestToken", # required # next_token: "NextToken", # max_results: 1, # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # filters: [ # { # name: "OPERATION_RESULT_STATUS", # accepts OPERATION_RESULT_STATUS # values: "OperationResultFilterValues", # }, # ], # }) # # @example Response structure # # resp.summaries #=> Array # resp.summaries[0].account #=> String # resp.summaries[0].region #=> String # resp.summaries[0].status #=> String, one of "PENDING", "RUNNING", "SUCCEEDED", "FAILED", "CANCELLED" # resp.summaries[0].status_reason #=> String # resp.summaries[0].account_gate_result.status #=> String, one of "SUCCEEDED", "FAILED", "SKIPPED" # resp.summaries[0].account_gate_result.status_reason #=> String # resp.summaries[0].organizational_unit_id #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults AWS API Documentation # # @overload list_stack_set_operation_results(params = {}) # @param [Hash] params ({}) def list_stack_set_operation_results(params = {}, options = {}) req = build_request(:list_stack_set_operation_results, params) req.send_request(options) end # Returns summary information about operations performed on a StackSet. # # This API provides *eventually consistent* reads meaning it may take # some time but will eventually return the most up-to-date data. # # # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to get operation # summaries for. # # @option params [String] :next_token # If the previous paginated request didn't return all of the remaining # results, the response object's `NextToken` parameter value is set to # a token. To retrieve the next set of results, call # `ListStackSetOperations` again and assign that token to the request # object's `NextToken` parameter. If there are no remaining results, # the previous response object's `NextToken` parameter is set to # `null`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::ListStackSetOperationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackSetOperationsOutput#summaries #summaries} => Array<Types::StackSetOperationSummary> # * {Types::ListStackSetOperationsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_stack_set_operations({ # stack_set_name: "StackSetName", # required # next_token: "NextToken", # max_results: 1, # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.summaries #=> Array # resp.summaries[0].operation_id #=> String # resp.summaries[0].action #=> String, one of "CREATE", "UPDATE", "DELETE", "DETECT_DRIFT" # resp.summaries[0].status #=> String, one of "RUNNING", "SUCCEEDED", "FAILED", "STOPPING", "STOPPED", "QUEUED" # resp.summaries[0].creation_timestamp #=> Time # resp.summaries[0].end_timestamp #=> Time # resp.summaries[0].status_reason #=> String # resp.summaries[0].status_details.failed_stack_instances_count #=> Integer # resp.summaries[0].operation_preferences.region_concurrency_type #=> String, one of "SEQUENTIAL", "PARALLEL" # resp.summaries[0].operation_preferences.region_order #=> Array # resp.summaries[0].operation_preferences.region_order[0] #=> String # resp.summaries[0].operation_preferences.failure_tolerance_count #=> Integer # resp.summaries[0].operation_preferences.failure_tolerance_percentage #=> Integer # resp.summaries[0].operation_preferences.max_concurrent_count #=> Integer # resp.summaries[0].operation_preferences.max_concurrent_percentage #=> Integer # resp.summaries[0].operation_preferences.concurrency_mode #=> String, one of "STRICT_FAILURE_TOLERANCE", "SOFT_FAILURE_TOLERANCE" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations AWS API Documentation # # @overload list_stack_set_operations(params = {}) # @param [Hash] params ({}) def list_stack_set_operations(params = {}, options = {}) req = build_request(:list_stack_set_operations, params) req.send_request(options) end # Returns summary information about StackSets that are associated with # the user. # # This API provides *strongly consistent* reads meaning it will always # return the most up-to-date data. # # # # * \[Self-managed permissions\] If you set the `CallAs` parameter to # `SELF` while signed in to your Amazon Web Services account, # `ListStackSets` returns all self-managed StackSets in your Amazon # Web Services account. # # * \[Service-managed permissions\] If you set the `CallAs` parameter to # `SELF` while signed in to the organization's management account, # `ListStackSets` returns all StackSets in the management account. # # * \[Service-managed permissions\] If you set the `CallAs` parameter to # `DELEGATED_ADMIN` while signed in to your member account, # `ListStackSets` returns all StackSets with service-managed # permissions in the management account. # # @option params [String] :next_token # If the previous paginated request didn't return all the remaining # results, the response object's `NextToken` parameter value is set to # a token. To retrieve the next set of results, call `ListStackSets` # again and assign that token to the request object's `NextToken` # parameter. If there are no remaining results, the previous response # object's `NextToken` parameter is set to `null`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [String] :status # The status of the StackSets that you want to get summary information # about. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the management account or as a delegated # administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::ListStackSetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStackSetsOutput#summaries #summaries} => Array<Types::StackSetSummary> # * {Types::ListStackSetsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_stack_sets({ # next_token: "NextToken", # max_results: 1, # status: "ACTIVE", # accepts ACTIVE, DELETED # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.summaries #=> Array # resp.summaries[0].stack_set_name #=> String # resp.summaries[0].stack_set_id #=> String # resp.summaries[0].description #=> String # resp.summaries[0].status #=> String, one of "ACTIVE", "DELETED" # resp.summaries[0].auto_deployment.enabled #=> Boolean # resp.summaries[0].auto_deployment.retain_stacks_on_account_removal #=> Boolean # resp.summaries[0].permission_model #=> String, one of "SERVICE_MANAGED", "SELF_MANAGED" # resp.summaries[0].drift_status #=> String, one of "DRIFTED", "IN_SYNC", "UNKNOWN", "NOT_CHECKED" # resp.summaries[0].last_drift_check_timestamp #=> Time # resp.summaries[0].managed_execution.active #=> Boolean # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSets AWS API Documentation # # @overload list_stack_sets(params = {}) # @param [Hash] params ({}) def list_stack_sets(params = {}, options = {}) req = build_request(:list_stack_sets, params) req.send_request(options) end # Returns the summary information for stacks whose status matches the # specified `StackStatusFilter`. Summary information for stacks that # have been deleted is kept for 90 days after the stack is deleted. If # no `StackStatusFilter` is specified, summary information for all # stacks is returned (including existing stacks and stacks that have # been deleted). # # @option params [String] :next_token # A string that identifies the next page of stacks that you want to # retrieve. # # @option params [Array] :stack_status_filter # Stack status to use as a filter. Specify one or more stack status # codes to list only stacks with the specified status codes. For a # complete list of stack status codes, see the `StackStatus` parameter # of the Stack data type. # # @return [Types::ListStacksOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListStacksOutput#stack_summaries #stack_summaries} => Array<Types::StackSummary> # * {Types::ListStacksOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_stacks({ # next_token: "NextToken", # stack_status_filter: ["CREATE_IN_PROGRESS"], # accepts CREATE_IN_PROGRESS, CREATE_FAILED, CREATE_COMPLETE, ROLLBACK_IN_PROGRESS, ROLLBACK_FAILED, ROLLBACK_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED, DELETE_COMPLETE, UPDATE_IN_PROGRESS, UPDATE_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_COMPLETE, UPDATE_FAILED, UPDATE_ROLLBACK_IN_PROGRESS, UPDATE_ROLLBACK_FAILED, UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS, UPDATE_ROLLBACK_COMPLETE, REVIEW_IN_PROGRESS, IMPORT_IN_PROGRESS, IMPORT_COMPLETE, IMPORT_ROLLBACK_IN_PROGRESS, IMPORT_ROLLBACK_FAILED, IMPORT_ROLLBACK_COMPLETE # }) # # @example Response structure # # resp.stack_summaries #=> Array # resp.stack_summaries[0].stack_id #=> String # resp.stack_summaries[0].stack_name #=> String # resp.stack_summaries[0].template_description #=> String # resp.stack_summaries[0].creation_time #=> Time # resp.stack_summaries[0].last_updated_time #=> Time # resp.stack_summaries[0].deletion_time #=> Time # resp.stack_summaries[0].stack_status #=> String, one of "CREATE_IN_PROGRESS", "CREATE_FAILED", "CREATE_COMPLETE", "ROLLBACK_IN_PROGRESS", "ROLLBACK_FAILED", "ROLLBACK_COMPLETE", "DELETE_IN_PROGRESS", "DELETE_FAILED", "DELETE_COMPLETE", "UPDATE_IN_PROGRESS", "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS", "UPDATE_COMPLETE", "UPDATE_FAILED", "UPDATE_ROLLBACK_IN_PROGRESS", "UPDATE_ROLLBACK_FAILED", "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS", "UPDATE_ROLLBACK_COMPLETE", "REVIEW_IN_PROGRESS", "IMPORT_IN_PROGRESS", "IMPORT_COMPLETE", "IMPORT_ROLLBACK_IN_PROGRESS", "IMPORT_ROLLBACK_FAILED", "IMPORT_ROLLBACK_COMPLETE" # resp.stack_summaries[0].stack_status_reason #=> String # resp.stack_summaries[0].parent_id #=> String # resp.stack_summaries[0].root_id #=> String # resp.stack_summaries[0].drift_information.stack_drift_status #=> String, one of "DRIFTED", "IN_SYNC", "UNKNOWN", "NOT_CHECKED" # resp.stack_summaries[0].drift_information.last_check_timestamp #=> Time # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks AWS API Documentation # # @overload list_stacks(params = {}) # @param [Hash] params ({}) def list_stacks(params = {}, options = {}) req = build_request(:list_stacks, params) req.send_request(options) end # Returns a list of registration tokens for the specified extension(s). # # @option params [String] :type # The kind of extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :type_name # The name of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :type_arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :registration_status_filter # The current status of the extension registration request. # # The default is `IN_PROGRESS`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [String] :next_token # If the previous paginated request didn't return all the remaining # results, the response object's `NextToken` parameter value is set to # a token. To retrieve the next set of results, call this action again # and assign that token to the request object's `NextToken` parameter. # If there are no remaining results, the previous response object's # `NextToken` parameter is set to `null`. # # @return [Types::ListTypeRegistrationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListTypeRegistrationsOutput#registration_token_list #registration_token_list} => Array<String> # * {Types::ListTypeRegistrationsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_type_registrations({ # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # type_name: "TypeName", # type_arn: "TypeArn", # registration_status_filter: "COMPLETE", # accepts COMPLETE, IN_PROGRESS, FAILED # max_results: 1, # next_token: "NextToken", # }) # # @example Response structure # # resp.registration_token_list #=> Array # resp.registration_token_list[0] #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeRegistrations AWS API Documentation # # @overload list_type_registrations(params = {}) # @param [Hash] params ({}) def list_type_registrations(params = {}, options = {}) req = build_request(:list_type_registrations, params) req.send_request(options) end # Returns summary information about the versions of an extension. # # @option params [String] :type # The kind of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :type_name # The name of the extension for which you want version summary # information. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :arn # The Amazon Resource Name (ARN) of the extension for which you want # version summary information. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [String] :next_token # If the previous paginated request didn't return all of the remaining # results, the response object's `NextToken` parameter value is set to # a token. To retrieve the next set of results, call this action again # and assign that token to the request object's `NextToken` parameter. # If there are no remaining results, the previous response object's # `NextToken` parameter is set to `null`. # # @option params [String] :deprecated_status # The deprecation status of the extension versions that you want to get # summary information about. # # Valid values include: # # * `LIVE`: The extension version is registered and can be used in # CloudFormation operations, dependent on its provisioning behavior # and visibility scope. # # * `DEPRECATED`: The extension version has been deregistered and can no # longer be used in CloudFormation operations. # # The default is `LIVE`. # # @option params [String] :publisher_id # The publisher ID of the extension publisher. # # Extensions published by Amazon aren't assigned a publisher ID. # # @return [Types::ListTypeVersionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListTypeVersionsOutput#type_version_summaries #type_version_summaries} => Array<Types::TypeVersionSummary> # * {Types::ListTypeVersionsOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_type_versions({ # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # type_name: "TypeName", # arn: "TypeArn", # max_results: 1, # next_token: "NextToken", # deprecated_status: "LIVE", # accepts LIVE, DEPRECATED # publisher_id: "PublisherId", # }) # # @example Response structure # # resp.type_version_summaries #=> Array # resp.type_version_summaries[0].type #=> String, one of "RESOURCE", "MODULE", "HOOK" # resp.type_version_summaries[0].type_name #=> String # resp.type_version_summaries[0].version_id #=> String # resp.type_version_summaries[0].is_default_version #=> Boolean # resp.type_version_summaries[0].arn #=> String # resp.type_version_summaries[0].time_created #=> Time # resp.type_version_summaries[0].description #=> String # resp.type_version_summaries[0].public_version_number #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeVersions AWS API Documentation # # @overload list_type_versions(params = {}) # @param [Hash] params ({}) def list_type_versions(params = {}, options = {}) req = build_request(:list_type_versions, params) req.send_request(options) end # Returns summary information about all extensions, including your # private resource types, modules, and Hooks as well as all public # extensions from Amazon Web Services and third-party publishers. # # @option params [String] :visibility # The scope at which the extensions are visible and usable in # CloudFormation operations. # # Valid values include: # # * `PRIVATE`: Extensions that are visible and usable within this # account and Region. This includes: # # * Private extensions you have registered in this account and Region. # # * Public extensions that you have activated in this account and # Region. # * `PUBLIC`: Extensions that are publicly visible and available to be # activated within any Amazon Web Services account. This includes # extensions from Amazon Web Services and third-party publishers. # # The default is `PRIVATE`. # # @option params [String] :provisioning_type # For resource types, the provisioning behavior of the resource type. # CloudFormation determines the provisioning type during registration, # based on the types of handlers in the schema handler package # submitted. # # Valid values include: # # * `FULLY_MUTABLE`: The resource type includes an update handler to # process updates to the type during stack update operations. # # * `IMMUTABLE`: The resource type doesn't include an update handler, # so the type can't be updated and must instead be replaced during # stack update operations. # # * `NON_PROVISIONABLE`: The resource type doesn't include create, # read, and delete handlers, and therefore can't actually be # provisioned. # # The default is `FULLY_MUTABLE`. # # @option params [String] :deprecated_status # The deprecation status of the extension that you want to get summary # information about. # # Valid values include: # # * `LIVE`: The extension is registered for use in CloudFormation # operations. # # * `DEPRECATED`: The extension has been deregistered and can no longer # be used in CloudFormation operations. # # @option params [String] :type # The type of extension. # # @option params [Types::TypeFilters] :filters # Filter criteria to use in determining which extensions to return. # # Filters must be compatible with `Visibility` to return valid results. # For example, specifying `AWS_TYPES` for `Category` and `PRIVATE` for # `Visibility` returns an empty list of types, but specifying `PUBLIC` # for `Visibility` returns the desired list. # # @option params [Integer] :max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # # @option params [String] :next_token # If the previous paginated request didn't return all the remaining # results, the response object's `NextToken` parameter value is set to # a token. To retrieve the next set of results, call this action again # and assign that token to the request object's `NextToken` parameter. # If there are no remaining results, the previous response object's # `NextToken` parameter is set to `null`. # # @return [Types::ListTypesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ListTypesOutput#type_summaries #type_summaries} => Array<Types::TypeSummary> # * {Types::ListTypesOutput#next_token #next_token} => String # # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. # # @example Request syntax with placeholder values # # resp = client.list_types({ # visibility: "PUBLIC", # accepts PUBLIC, PRIVATE # provisioning_type: "NON_PROVISIONABLE", # accepts NON_PROVISIONABLE, IMMUTABLE, FULLY_MUTABLE # deprecated_status: "LIVE", # accepts LIVE, DEPRECATED # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # filters: { # category: "REGISTERED", # accepts REGISTERED, ACTIVATED, THIRD_PARTY, AWS_TYPES # publisher_id: "PublisherId", # type_name_prefix: "TypeNamePrefix", # }, # max_results: 1, # next_token: "NextToken", # }) # # @example Response structure # # resp.type_summaries #=> Array # resp.type_summaries[0].type #=> String, one of "RESOURCE", "MODULE", "HOOK" # resp.type_summaries[0].type_name #=> String # resp.type_summaries[0].default_version_id #=> String # resp.type_summaries[0].type_arn #=> String # resp.type_summaries[0].last_updated #=> Time # resp.type_summaries[0].description #=> String # resp.type_summaries[0].publisher_id #=> String # resp.type_summaries[0].original_type_name #=> String # resp.type_summaries[0].public_version_number #=> String # resp.type_summaries[0].latest_public_version #=> String # resp.type_summaries[0].publisher_identity #=> String, one of "AWS_Marketplace", "GitHub", "Bitbucket" # resp.type_summaries[0].publisher_name #=> String # resp.type_summaries[0].is_activated #=> Boolean # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypes AWS API Documentation # # @overload list_types(params = {}) # @param [Hash] params ({}) def list_types(params = {}, options = {}) req = build_request(:list_types, params) req.send_request(options) end # Publishes the specified extension to the CloudFormation registry as a # public extension in this Region. Public extensions are available for # use by all CloudFormation users. For more information about publishing # extensions, see [Publishing extensions to make them available for # public use][1] in the *CloudFormation Command Line Interface (CLI) # User Guide*. # # To publish an extension, you must be registered as a publisher with # CloudFormation. For more information, see [RegisterPublisher][2]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html # # @option params [String] :type # The type of the extension. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # # @option params [String] :arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # # @option params [String] :type_name # The name of the extension. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # # @option params [String] :public_version_number # The version number to assign to this version of the extension. # # Use the following format, and adhere to semantic versioning when # assigning a version number to your extension: # # `MAJOR.MINOR.PATCH` # # For more information, see [Semantic Versioning 2.0.0][1]. # # If you don't specify a version number, CloudFormation increments the # version number by one minor version release. # # You cannot specify a version number the first time you publish a type. # CloudFormation automatically sets the first version number to be # `1.0.0`. # # # # [1]: https://semver.org/ # # @return [Types::PublishTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::PublishTypeOutput#public_type_arn #public_type_arn} => String # # @example Request syntax with placeholder values # # resp = client.publish_type({ # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # arn: "PrivateTypeArn", # type_name: "TypeName", # public_version_number: "PublicVersionNumber", # }) # # @example Response structure # # resp.public_type_arn #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/PublishType AWS API Documentation # # @overload publish_type(params = {}) # @param [Hash] params ({}) def publish_type(params = {}, options = {}) req = build_request(:publish_type, params) req.send_request(options) end # Reports progress of a resource handler to CloudFormation. # # Reserved for use by the [CloudFormation CLI][1]. Don't use this API # in your code. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @option params [required, String] :bearer_token # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @option params [required, String] :operation_status # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @option params [String] :current_operation_status # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @option params [String] :status_message # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @option params [String] :error_code # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @option params [String] :resource_model # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @option params [String] :client_request_token # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.record_handler_progress({ # bearer_token: "ClientToken", # required # operation_status: "PENDING", # required, accepts PENDING, IN_PROGRESS, SUCCESS, FAILED # current_operation_status: "PENDING", # accepts PENDING, IN_PROGRESS, SUCCESS, FAILED # status_message: "StatusMessage", # error_code: "NotUpdatable", # accepts NotUpdatable, InvalidRequest, AccessDenied, InvalidCredentials, AlreadyExists, NotFound, ResourceConflict, Throttling, ServiceLimitExceeded, NotStabilized, GeneralServiceException, ServiceInternalError, NetworkFailure, InternalFailure, InvalidTypeConfiguration, HandlerInternalFailure, NonCompliant, Unknown, UnsupportedTarget # resource_model: "ResourceModel", # client_request_token: "ClientRequestToken", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RecordHandlerProgress AWS API Documentation # # @overload record_handler_progress(params = {}) # @param [Hash] params ({}) def record_handler_progress(params = {}, options = {}) req = build_request(:record_handler_progress, params) req.send_request(options) end # Registers your account as a publisher of public extensions in the # CloudFormation registry. Public extensions are available for use by # all CloudFormation users. This publisher ID applies to your account in # all Amazon Web Services Regions. # # For information about requirements for registering as a public # extension publisher, see [Prerequisite: Registering your account to # publish CloudFormation extensions][1] in the *CloudFormation Command # Line Interface (CLI) User Guide*. # # # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs # # @option params [Boolean] :accept_terms_and_conditions # Whether you accept the [Terms and Conditions][1] for publishing # extensions in the CloudFormation registry. You must accept the terms # and conditions in order to register to publish public extensions to # the CloudFormation registry. # # The default is `false`. # # # # [1]: https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf # # @option params [String] :connection_arn # If you are using a Bitbucket or GitHub account for identity # verification, the Amazon Resource Name (ARN) for your connection to # that account. # # For more information, see [Prerequisite: Registering your account to # publish CloudFormation extensions][1] in the *CloudFormation Command # Line Interface (CLI) User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs # # @return [Types::RegisterPublisherOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RegisterPublisherOutput#publisher_id #publisher_id} => String # # @example Request syntax with placeholder values # # resp = client.register_publisher({ # accept_terms_and_conditions: false, # connection_arn: "ConnectionArn", # }) # # @example Response structure # # resp.publisher_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterPublisher AWS API Documentation # # @overload register_publisher(params = {}) # @param [Hash] params ({}) def register_publisher(params = {}, options = {}) req = build_request(:register_publisher, params) req.send_request(options) end # Registers an extension with the CloudFormation service. Registering an # extension makes it available for use in CloudFormation templates in # your Amazon Web Services account, and includes: # # * Validating the extension schema. # # * Determining which handlers, if any, have been specified for the # extension. # # * Making the extension available for use in your account. # # For more information about how to develop extensions and ready them # for registration, see [Creating resource types using the # CloudFormation CLI][1] in the *CloudFormation Command Line Interface # (CLI) User Guide*. # # You can have a maximum of 50 resource extension versions registered at # a time. This maximum is per account and per Region. Use # [DeregisterType][2] to deregister specific extension versions if # necessary. # # Once you have initiated a registration request using RegisterType, you # can use DescribeTypeRegistration to monitor the progress of the # registration request. # # Once you have registered a private extension in your account and # Region, use [SetTypeConfiguration][3] to specify configuration # properties for the extension. For more information, see [Edit # configuration data for extensions in your account][4] in the # *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-types.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeregisterType.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html # # @option params [String] :type # The kind of extension. # # @option params [required, String] :type_name # The name of the extension being registered. # # We suggest that extension names adhere to the following patterns: # # * For resource types, `company_or_organization::service::type`. # # * For modules, `company_or_organization::service::type::MODULE`. # # * For Hooks, `MyCompany::Testing::MyTestHook`. # # The following organization namespaces are reserved and can't be used # in your extension names: # # * `Alexa` # # * `AMZN` # # * `Amazon` # # * `AWS` # # * `Custom` # # * `Dev` # # # # @option params [required, String] :schema_handler_package # A URL to the S3 bucket that contains the extension project package # that contains the necessary files for the extension you want to # register. # # For information about generating a schema handler package for the # extension you want to register, see [submit][1] in the *CloudFormation # Command Line Interface (CLI) User Guide*. # # The user registering the extension must be able to access the package # in the S3 bucket. That's, the user needs to have [GetObject][2] # permissions for the schema handler package. For more information, see # [Actions, Resources, and Condition Keys for Amazon S3][3] in the # *Identity and Access Management User Guide*. # # # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html # # @option params [Types::LoggingConfig] :logging_config # Specifies logging configuration information for an extension. # # @option params [String] :execution_role_arn # The Amazon Resource Name (ARN) of the IAM role for CloudFormation to # assume when invoking the extension. # # For CloudFormation to assume the specified execution role, the role # must contain a trust relationship with the CloudFormation service # principal (`resources.cloudformation.amazonaws.com`). For more # information about adding trust relationships, see [Modifying a role # trust policy][1] in the *Identity and Access Management User Guide*. # # If your extension calls Amazon Web Services APIs in any of its # handlers, you must create an IAM # execution role that includes the necessary permissions to # call those Amazon Web Services APIs, and provision that execution role # in your account. When CloudFormation needs to invoke the resource type # handler, CloudFormation assumes this execution role to create a # temporary session token, which it then passes to the resource type # handler, thereby supplying your resource type with the appropriate # credentials. # # # # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-console.html#roles-managingrole_edit-trust-policy # # @option params [String] :client_request_token # A unique identifier that acts as an idempotency key for this # registration request. Specifying a client request token prevents # CloudFormation from generating more than one version of an extension # from the same registration request, even if the request is submitted # multiple times. # # @return [Types::RegisterTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RegisterTypeOutput#registration_token #registration_token} => String # # @example Request syntax with placeholder values # # resp = client.register_type({ # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # type_name: "TypeName", # required # schema_handler_package: "S3Url", # required # logging_config: { # log_role_arn: "RoleArn", # required # log_group_name: "LogGroupName", # required # }, # execution_role_arn: "RoleArn", # client_request_token: "RequestToken", # }) # # @example Response structure # # resp.registration_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterType AWS API Documentation # # @overload register_type(params = {}) # @param [Hash] params ({}) def register_type(params = {}, options = {}) req = build_request(:register_type, params) req.send_request(options) end # When specifying `RollbackStack`, you preserve the state of previously # provisioned resources when an operation fails. You can check the # status of the stack through the DescribeStacks operation. # # Rolls back the specified stack to the last known stable state from # `CREATE_FAILED` or `UPDATE_FAILED` stack statuses. # # This operation will delete a stack if it doesn't contain a last known # stable state. A last known stable state includes any status in a # `*_COMPLETE`. This includes the following stack statuses. # # * `CREATE_COMPLETE` # # * `UPDATE_COMPLETE` # # * `UPDATE_ROLLBACK_COMPLETE` # # * `IMPORT_COMPLETE` # # * `IMPORT_ROLLBACK_COMPLETE` # # @option params [required, String] :stack_name # The name that's associated with the stack. # # @option params [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to rollback the stack. # # @option params [String] :client_request_token # A unique identifier for this `RollbackStack` request. # # @option params [Boolean] :retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # # @return [Types::RollbackStackOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::RollbackStackOutput#stack_id #stack_id} => String # # @example Request syntax with placeholder values # # resp = client.rollback_stack({ # stack_name: "StackNameOrId", # required # role_arn: "RoleARN", # client_request_token: "ClientRequestToken", # retain_except_on_create: false, # }) # # @example Response structure # # resp.stack_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackStack AWS API Documentation # # @overload rollback_stack(params = {}) # @param [Hash] params ({}) def rollback_stack(params = {}, options = {}) req = build_request(:rollback_stack, params) req.send_request(options) end # Sets a stack policy for a specified stack. # # @option params [required, String] :stack_name # The name or unique stack ID that you want to associate a policy with. # # @option params [String] :stack_policy_body # Structure that contains the stack policy body. For more information, # see [Prevent updates to stack resources][1] in the *CloudFormation # User Guide*. You can specify either the `StackPolicyBody` or the # `StackPolicyURL` parameter, but not both. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html # # @option params [String] :stack_policy_url # Location of a file that contains the stack policy. The URL must point # to a policy (maximum size: 16 KB) located in an Amazon S3 bucket in # the same Amazon Web Services Region as the stack. The location for an # Amazon S3 bucket must start with `https://`. URLs from S3 static # websites are not supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.set_stack_policy({ # stack_name: "StackName", # required # stack_policy_body: "StackPolicyBody", # stack_policy_url: "StackPolicyURL", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy AWS API Documentation # # @overload set_stack_policy(params = {}) # @param [Hash] params ({}) def set_stack_policy(params = {}, options = {}) req = build_request(:set_stack_policy, params) req.send_request(options) end # Specifies the configuration data for a CloudFormation extension, such # as a resource or Hook, in the given account and Region. # # For more information, see [Edit configuration data for extensions in # your account][1] in the *CloudFormation User Guide*. # # To view the current configuration data for an extension, refer to the # `ConfigurationSchema` element of [DescribeType][2]. # # It's strongly recommended that you use dynamic references to restrict # sensitive configuration definitions, such as third-party credentials. # For more information, see [Specify values stored in other services # using dynamic references][3] in the *CloudFormation User Guide*. # # For more information about setting the configuration data for resource # types, see [Defining the account-level configuration of an # extension][4] in the *CloudFormation Command Line Interface (CLI) User # Guide*. For more information about setting the configuration data for # Hooks, see the [CloudFormation Hooks User Guide][5]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html # [4]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-model.html#resource-type-howto-configuration # [5]: https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html # # @option params [String] :type_arn # The Amazon Resource Name (ARN) for the extension in this account and # Region. # # For public extensions, this will be the ARN assigned when you call the # [ActivateType][1] API operation in this account and Region. For # private extensions, this will be the ARN assigned when you call the # [RegisterType][2] API operation in this account and Region. # # Do not include the extension versions suffix at the end of the ARN. # You can set the configuration for an extension, but not for a specific # extension version. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # # @option params [required, String] :configuration # The configuration data for the extension in this account and Region. # # The configuration data must be formatted as JSON and validate against # the extension's schema returned in the `Schema` response element of # [DescribeType][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html # # @option params [String] :configuration_alias # An alias by which to refer to this extension configuration data. # # Conditional: Specifying a configuration alias is required when setting # a configuration for a resource type extension. # # @option params [String] :type_name # The name of the extension. # # Conditional: You must specify `ConfigurationArn`, or `Type` and # `TypeName`. # # @option params [String] :type # The type of extension. # # Conditional: You must specify `ConfigurationArn`, or `Type` and # `TypeName`. # # @return [Types::SetTypeConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::SetTypeConfigurationOutput#configuration_arn #configuration_arn} => String # # @example Request syntax with placeholder values # # resp = client.set_type_configuration({ # type_arn: "TypeArn", # configuration: "TypeConfiguration", # required # configuration_alias: "TypeConfigurationAlias", # type_name: "TypeName", # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # }) # # @example Response structure # # resp.configuration_arn #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeConfiguration AWS API Documentation # # @overload set_type_configuration(params = {}) # @param [Hash] params ({}) def set_type_configuration(params = {}, options = {}) req = build_request(:set_type_configuration, params) req.send_request(options) end # Specify the default version of an extension. The default version of an # extension will be used in CloudFormation operations. # # @option params [String] :arn # The Amazon Resource Name (ARN) of the extension for which you want # version summary information. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :type # The kind of extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :type_name # The name of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or `Arn`. # # @option params [String] :version_id # The ID of a specific version of the extension. The version ID is the # value at the end of the Amazon Resource Name (ARN) assigned to the # extension version when it is registered. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.set_type_default_version({ # arn: "PrivateTypeArn", # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # type_name: "TypeName", # version_id: "TypeVersionId", # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeDefaultVersion AWS API Documentation # # @overload set_type_default_version(params = {}) # @param [Hash] params ({}) def set_type_default_version(params = {}, options = {}) req = build_request(:set_type_default_version, params) req.send_request(options) end # Sends a signal to the specified resource with a success or failure # status. You can use the `SignalResource` operation in conjunction with # a creation policy or update policy. CloudFormation doesn't proceed # with a stack creation or update until resources receive the required # number of signals or the timeout period is exceeded. The # `SignalResource` operation is useful in cases where you want to send # signals from anywhere other than an Amazon EC2 instance. # # @option params [required, String] :stack_name # The stack name or unique stack ID that includes the resource that you # want to signal. # # @option params [required, String] :logical_resource_id # The logical ID of the resource that you want to signal. The logical ID # is the name of the resource that given in the template. # # @option params [required, String] :unique_id # A unique ID of the signal. When you signal Amazon EC2 instances or # Auto Scaling groups, specify the instance ID that you are signaling as # the unique ID. If you send multiple signals to a single resource (such # as signaling a wait condition), each signal requires a different # unique ID. # # @option params [required, String] :status # The status of the signal, which is either success or failure. A # failure signal causes CloudFormation to immediately fail the stack # creation or update. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.signal_resource({ # stack_name: "StackNameOrId", # required # logical_resource_id: "LogicalResourceId", # required # unique_id: "ResourceSignalUniqueId", # required # status: "SUCCESS", # required, accepts SUCCESS, FAILURE # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource AWS API Documentation # # @overload signal_resource(params = {}) # @param [Hash] params ({}) def signal_resource(params = {}, options = {}) req = build_request(:signal_resource, params) req.send_request(options) end # Starts a scan of the resources in this account in this Region. You can # the status of a scan using the `ListResourceScans` API action. # # @option params [String] :client_request_token # A unique identifier for this `StartResourceScan` request. Specify this # token if you plan to retry requests so that CloudFormation knows that # you're not attempting to start a new resource scan. # # @option params [Array] :scan_filters # The scan filters to use. # # @return [Types::StartResourceScanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::StartResourceScanOutput#resource_scan_id #resource_scan_id} => String # # # @example Example: To start a resource scan # # # This example shows how to start a new resource scan # # resp = client.start_resource_scan({ # }) # # resp.to_h outputs the following: # { # resource_scan_id: "arn:aws:cloudformation:us-east-1:123456789012:resourceScan/88f09db1-d211-4cb7-964b-434e2b8469ca", # } # # @example Request syntax with placeholder values # # resp = client.start_resource_scan({ # client_request_token: "ClientRequestToken", # scan_filters: [ # { # types: ["ResourceTypeFilter"], # }, # ], # }) # # @example Response structure # # resp.resource_scan_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StartResourceScan AWS API Documentation # # @overload start_resource_scan(params = {}) # @param [Hash] params ({}) def start_resource_scan(params = {}, options = {}) req = build_request(:start_resource_scan, params) req.send_request(options) end # Stops an in-progress operation on a StackSet and its associated stack # instances. StackSets will cancel all the unstarted stack instance # deployments and wait for those are in-progress to complete. # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to stop the # operation for. # # @option params [required, String] :operation_id # The ID of the stack operation. # # @option params [String] :call_as # Specifies whether you are acting as an account administrator in the # organization's management account or as a delegated administrator in # a member account. Valid only if the StackSet uses service-managed # permissions. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # # resp = client.stop_stack_set_operation({ # stack_set_name: "StackSetName", # required # operation_id: "ClientRequestToken", # required # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation AWS API Documentation # # @overload stop_stack_set_operation(params = {}) # @param [Hash] params ({}) def stop_stack_set_operation(params = {}, options = {}) req = build_request(:stop_stack_set_operation, params) req.send_request(options) end # Tests a registered extension to make sure it meets all necessary # requirements for being published in the CloudFormation registry. # # * For resource types, this includes passing all contracts tests # defined for the type. # # * For modules, this includes determining if the module's model meets # all necessary requirements. # # For more information, see [Testing your public extension before # publishing][1] in the *CloudFormation Command Line Interface (CLI) # User Guide*. # # If you don't specify a version, CloudFormation uses the default # version of the extension in your account and Region for testing. # # To perform testing, CloudFormation assumes the execution role # specified when the type was registered. For more information, see # [RegisterType][2]. # # Once you've initiated testing on an extension using `TestType`, you # can pass the returned `TypeVersionArn` into [DescribeType][3] to # monitor the current test status and test status description for the # extension. # # An extension must have a test status of `PASSED` before it can be # published. For more information, see [Publishing extensions to make # them available for public use][4] in the *CloudFormation Command Line # Interface (CLI) User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-testing # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html # [4]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html # # @option params [String] :arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # # @option params [String] :type # The type of the extension to test. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # # @option params [String] :type_name # The name of the extension to test. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # # @option params [String] :version_id # The version of the extension to test. # # You can specify the version id with either `Arn`, or with `TypeName` # and `Type`. # # If you don't specify a version, CloudFormation uses the default # version of the extension in this account and Region for testing. # # @option params [String] :log_delivery_bucket # The S3 bucket to which CloudFormation delivers the contract test # execution logs. # # CloudFormation delivers the logs by the time contract testing has # completed and the extension has been assigned a test type status of # `PASSED` or `FAILED`. # # The user calling `TestType` must be able to access items in the # specified S3 bucket. Specifically, the user needs the following # permissions: # # * `GetObject` # # * `PutObject` # # For more information, see [Actions, Resources, and Condition Keys for # Amazon S3][1] in the *Identity and Access Management User Guide*. # # # # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3.html # # @return [Types::TestTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::TestTypeOutput#type_version_arn #type_version_arn} => String # # @example Request syntax with placeholder values # # resp = client.test_type({ # arn: "TypeArn", # type: "RESOURCE", # accepts RESOURCE, MODULE, HOOK # type_name: "TypeName", # version_id: "TypeVersionId", # log_delivery_bucket: "S3Bucket", # }) # # @example Response structure # # resp.type_version_arn #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TestType AWS API Documentation # # @overload test_type(params = {}) # @param [Hash] params ({}) def test_type(params = {}, options = {}) req = build_request(:test_type, params) req.send_request(options) end # Updates a generated template. This can be used to change the name, add # and remove resources, refresh resources, and change the # `DeletionPolicy` and `UpdateReplacePolicy` settings. You can check the # status of the update to the generated template using the # `DescribeGeneratedTemplate` API action. # # @option params [required, String] :generated_template_name # The name or Amazon Resource Name (ARN) of a generated template. # # @option params [String] :new_generated_template_name # An optional new name to assign to the generated template. # # @option params [Array] :add_resources # An optional list of resources to be added to the generated template. # # @option params [Array] :remove_resources # A list of logical ids for resources to remove from the generated # template. # # @option params [Boolean] :refresh_all_resources # If `true`, update the resource properties in the generated template # with their current live state. This feature is useful when the # resource properties in your generated a template does not reflect the # live state of the resource properties. This happens when a user update # the resource properties after generating a template. # # @option params [Types::TemplateConfiguration] :template_configuration # The configuration details of the generated template, including the # `DeletionPolicy` and `UpdateReplacePolicy`. # # @return [Types::UpdateGeneratedTemplateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateGeneratedTemplateOutput#generated_template_id #generated_template_id} => String # # # @example Example: To update a generated template's name # # # This example updates a generated template with a new name. # # resp = client.update_generated_template({ # generated_template_name: "JazzyTemplate", # new_generated_template_name: "JazzierTemplate", # }) # # resp.to_h outputs the following: # { # generated_template_id: "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca", # } # # @example Example: To remove resources from a generated template # # # This example removes resources from a generated template # # resp = client.update_generated_template({ # generated_template_name: "JazzyTemplate", # remove_resources: [ # "LogicalResourceId1", # "LogicalResourceId2", # ], # }) # # resp.to_h outputs the following: # { # generated_template_id: "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca", # } # # @example Example: To add resources to a generated template # # # This example adds resources to a generated template # # resp = client.update_generated_template({ # add_resources: [ # { # resource_identifier: { # "BucketName" => "jazz-bucket", # }, # resource_type: "AWS::S3::Bucket", # }, # { # resource_identifier: { # "DhcpOptionsId" => "random-id123", # }, # resource_type: "AWS::EC2::DHCPOptions", # }, # ], # generated_template_name: "JazzyTemplate", # }) # # resp.to_h outputs the following: # { # generated_template_id: "arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/88f09db1-d211-4cb7-964b-434e2b8469ca", # } # # @example Request syntax with placeholder values # # resp = client.update_generated_template({ # generated_template_name: "GeneratedTemplateName", # required # new_generated_template_name: "GeneratedTemplateName", # add_resources: [ # { # resource_type: "ResourceType", # required # logical_resource_id: "LogicalResourceId", # resource_identifier: { # required # "ResourceIdentifierPropertyKey" => "ResourceIdentifierPropertyValue", # }, # }, # ], # remove_resources: ["LogicalResourceId"], # refresh_all_resources: false, # template_configuration: { # deletion_policy: "DELETE", # accepts DELETE, RETAIN # update_replace_policy: "DELETE", # accepts DELETE, RETAIN # }, # }) # # @example Response structure # # resp.generated_template_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateGeneratedTemplate AWS API Documentation # # @overload update_generated_template(params = {}) # @param [Hash] params ({}) def update_generated_template(params = {}, options = {}) req = build_request(:update_generated_template, params) req.send_request(options) end # Updates a stack as specified in the template. After the call completes # successfully, the stack update starts. You can check the status of the # stack through the DescribeStacks action. # # To get a copy of the template for an existing stack, you can use the # GetTemplate action. # # For more information about updating a stack and monitoring the # progress of the update, see [Managing Amazon Web Services resources as # a single unit with CloudFormation stacks][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html # # @option params [required, String] :stack_name # The name or unique stack ID of the stack to update. # # @option params [String] :template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # # @option params [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template that's located in an Amazon S3 bucket or a Systems # Manager document. The location for an Amazon S3 bucket must start with # `https://`. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # # @option params [Boolean] :use_previous_template # Reuse the existing template that is associated with the stack that you # are updating. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # # @option params [String] :stack_policy_during_update_body # Structure that contains the temporary overriding stack policy body. # You can specify either the `StackPolicyDuringUpdateBody` or the # `StackPolicyDuringUpdateURL` parameter, but not both. # # If you want to update protected resources, specify a temporary # overriding stack policy during this update. If you don't specify a # stack policy, the current policy that is associated with the stack # will be used. # # @option params [String] :stack_policy_during_update_url # Location of a file that contains the temporary overriding stack # policy. The URL must point to a policy (max size: 16KB) located in an # S3 bucket in the same Region as the stack. The location for an Amazon # S3 bucket must start with `https://`. URLs from S3 static websites are # not supported. # # You can specify either the `StackPolicyDuringUpdateBody` or the # `StackPolicyDuringUpdateURL` parameter, but not both. # # If you want to update protected resources, specify a temporary # overriding stack policy during this update. If you don't specify a # stack policy, the current policy that is associated with the stack # will be used. # # @option params [Array] :parameters # A list of `Parameter` structures that specify input parameters for the # stack. For more information, see the [Parameter][1] data type. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html # # @option params [Array] :capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation to # update the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account, for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, CloudFormation # returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we suggest that you # review all permissions associated with them and edit their # permissions if necessary. # # * [ AWS::IAM::AccessKey][1] # # * [ AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [AWS::IAM::Policy][5] # # * [ AWS::IAM::Role][6] # # * [ AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set from # the processed template, so that they can review the changes # resulting from the macros before actually updating the stack. If # your stack template contains one or more macros, and you choose to # update a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # If you want to update a stack from a stack template that contains # macros *and* nested stacks, you must update the stack directly from # the template using this capability. # # You should only update stacks directly from a stack template that # contains macros if you know what processing the macro performs. # # Each macro relies on an underlying Lambda service function for # processing stack templates. Be aware that the Lambda function owner # can update the function operation without CloudFormation being # notified. # # For more information, see [Perform custom processing on # CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # # @option params [Array] :resource_types # The template resource types that you have permissions to work with for # this update stack action, such as `AWS::EC2::Instance`, `AWS::EC2::*`, # or `Custom::MyCustomInstance`. # # If the list of resource types doesn't include a resource that you're # updating, the stack update fails. By default, CloudFormation grants # permissions to all resource types. IAM uses this parameter for # CloudFormation-specific condition keys in IAM policies. For more # information, see [Control access with Identity and Access # Management][1]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # # @option params [String] :role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to update the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that users # have permission to operate on the stack, CloudFormation uses this role # even if the users don't have permission to pass it. Ensure that the # role grants least privilege. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that is generated from your # user credentials. # # @option params [Types::RollbackConfiguration] :rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # # @option params [String] :stack_policy_body # Structure that contains a new stack policy body. You can specify # either the `StackPolicyBody` or the `StackPolicyURL` parameter, but # not both. # # You might update the stack policy, for example, in order to protect a # new resource that you created during a stack update. If you don't # specify a stack policy, the current policy that is associated with the # stack is unchanged. # # @option params [String] :stack_policy_url # Location of a file that contains the updated stack policy. The URL # must point to a policy (max size: 16KB) located in an S3 bucket in the # same Region as the stack. The location for an Amazon S3 bucket must # start with `https://`. URLs from S3 static websites are not supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # # You might update the stack policy, for example, in order to protect a # new resource that you created during a stack update. If you don't # specify a stack policy, the current policy that is associated with the # stack is unchanged. # # @option params [Array] :notification_arns # Amazon Simple Notification Service topic Amazon Resource Names (ARNs) # that CloudFormation associates with the stack. Specify an empty list # to remove all notification topics. # # @option params [Array] :tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to supported resources in the stack. You can # specify a maximum number of 50 tags. # # If you don't specify this parameter, CloudFormation doesn't modify # the stack's tags. If you specify an empty value, CloudFormation # removes all associated tags. # # @option params [Boolean] :disable_rollback # Preserve the state of previously provisioned resources when an # operation fails. # # Default: `False` # # @option params [String] :client_request_token # A unique identifier for this `UpdateStack` request. Specify this token # if you plan to retry requests so that CloudFormation knows that # you're not attempting to update a stack with the same name. You might # retry `UpdateStack` requests to ensure that CloudFormation # successfully received them. # # All events triggered by a given stack operation are assigned the same # client request token, which you can use to track operations. For # example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation will # have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # # @option params [Boolean] :retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # # @return [Types::UpdateStackOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateStackOutput#stack_id #stack_id} => String # # @example Request syntax with placeholder values # # resp = client.update_stack({ # stack_name: "StackName", # required # template_body: "TemplateBody", # template_url: "TemplateURL", # use_previous_template: false, # stack_policy_during_update_body: "StackPolicyDuringUpdateBody", # stack_policy_during_update_url: "StackPolicyDuringUpdateURL", # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND # resource_types: ["ResourceType"], # role_arn: "RoleARN", # rollback_configuration: { # rollback_triggers: [ # { # arn: "Arn", # required # type: "Type", # required # }, # ], # monitoring_time_in_minutes: 1, # }, # stack_policy_body: "StackPolicyBody", # stack_policy_url: "StackPolicyURL", # notification_arns: ["NotificationARN"], # tags: [ # { # key: "TagKey", # required # value: "TagValue", # required # }, # ], # disable_rollback: false, # client_request_token: "ClientRequestToken", # retain_except_on_create: false, # }) # # @example Response structure # # resp.stack_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack AWS API Documentation # # @overload update_stack(params = {}) # @param [Hash] params ({}) def update_stack(params = {}, options = {}) req = build_request(:update_stack, params) req.send_request(options) end # Updates the parameter values for stack instances for the specified # accounts, within the specified Amazon Web Services Regions. A stack # instance refers to a stack in a specific account and Region. # # You can only update stack instances in Amazon Web Services Regions and # accounts where they already exist; to create additional stack # instances, use [CreateStackInstances][1]. # # During StackSet updates, any parameters overridden for a stack # instance aren't updated, but retain their overridden value. # # You can only update the parameter *values* that are specified in the # StackSet. To add or delete a parameter itself, use [UpdateStackSet][2] # to update the StackSet template. If you add a parameter to a template, # before you can override the parameter value specified in the StackSet # you must first use [UpdateStackSet][2] to update all stack instances # with the updated template and parameter value specified in the # StackSet. Once a stack instance has been updated with the new # parameter, you can then override the parameter value using # `UpdateStackInstances`. # # The maximum number of organizational unit (OUs) supported by a # `UpdateStackInstances` operation is 50. # # If you need more than 50, consider the following options: # # * *Batch processing:* If you don't want to expose your OU hierarchy, # split up the operations into multiple calls with less than 50 OUs # each. # # * *Parent OU strategy:* If you don't mind exposing the OU hierarchy, # target a parent OU that contains all desired child OUs. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStackInstances.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet associated with the stack # instances. # # @option params [Array] :accounts # \[Self-managed permissions\] The account IDs of one or more Amazon Web # Services accounts in which you want to update parameter values for # stack instances. The overridden parameter values will be applied to # all stack instances in the specified accounts and Amazon Web Services # Regions. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # # @option params [Types::DeploymentTargets] :deployment_targets # \[Service-managed permissions\] The Organizations accounts in which # you want to update parameter values for stack instances. If your # update targets OUs, the overridden parameter values only apply to the # accounts that are currently in the target OUs and their child OUs. # Accounts added to the target OUs and their child OUs in the future # won't use the overridden values. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # # @option params [required, Array] :regions # The names of one or more Amazon Web Services Regions in which you want # to update parameter values for stack instances. The overridden # parameter values will be applied to all stack instances in the # specified accounts and Amazon Web Services Regions. # # @option params [Array] :parameter_overrides # A list of input parameters whose values you want to update for the # specified stack instances. # # Any overridden parameter values will be applied to all stack instances # in the specified accounts and Amazon Web Services Regions. When # specifying parameters and their values, be aware of how CloudFormation # sets parameter values during stack instance update operations: # # * To override the current value for a parameter, include the parameter # and specify its value. # # * To leave an overridden parameter set to its present value, include # the parameter and specify `UsePreviousValue` as `true`. (You can't # specify both a value and set `UsePreviousValue` to `true`.) # # * To set an overridden parameter back to the value specified in the # StackSet, specify a parameter list but don't include the parameter # in the list. # # * To leave all parameters set to their present values, don't specify # this property at all. # # During StackSet updates, any parameter values overridden for a stack # instance aren't updated, but retain their overridden value. # # You can only override the parameter *values* that are specified in the # StackSet. To add or delete a parameter itself, use `UpdateStackSet` to # update the StackSet template. If you add a parameter to a template, # before you can override the parameter value specified in the StackSet # you must first use [UpdateStackSet][1] to update all stack instances # with the updated template and parameter value specified in the # StackSet. Once a stack instance has been updated with the new # parameter, you can then override the parameter value using # `UpdateStackInstances`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html # # @option params [Types::StackSetOperationPreferences] :operation_preferences # Preferences for how CloudFormation performs this StackSet operation. # # @option params [String] :operation_id # The unique identifier for this StackSet operation. # # The operation ID also functions as an idempotency token, to ensure # that CloudFormation performs the StackSet operation only once, even if # you retry the request multiple times. You might retry StackSet # operation requests to ensure that CloudFormation successfully received # them. # # If you don't specify an operation ID, the SDK generates one # automatically. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option.** # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @return [Types::UpdateStackInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateStackInstancesOutput#operation_id #operation_id} => String # # @example Request syntax with placeholder values # # resp = client.update_stack_instances({ # stack_set_name: "StackSetNameOrId", # required # accounts: ["Account"], # deployment_targets: { # accounts: ["Account"], # accounts_url: "AccountsUrl", # organizational_unit_ids: ["OrganizationalUnitId"], # account_filter_type: "NONE", # accepts NONE, INTERSECTION, DIFFERENCE, UNION # }, # regions: ["Region"], # required # parameter_overrides: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # operation_preferences: { # region_concurrency_type: "SEQUENTIAL", # accepts SEQUENTIAL, PARALLEL # region_order: ["Region"], # failure_tolerance_count: 1, # failure_tolerance_percentage: 1, # max_concurrent_count: 1, # max_concurrent_percentage: 1, # concurrency_mode: "STRICT_FAILURE_TOLERANCE", # accepts STRICT_FAILURE_TOLERANCE, SOFT_FAILURE_TOLERANCE # }, # operation_id: "ClientRequestToken", # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # }) # # @example Response structure # # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances AWS API Documentation # # @overload update_stack_instances(params = {}) # @param [Hash] params ({}) def update_stack_instances(params = {}, options = {}) req = build_request(:update_stack_instances, params) req.send_request(options) end # Updates the StackSet and associated stack instances in the specified # accounts and Amazon Web Services Regions. # # Even if the StackSet operation created by updating the StackSet fails # (completely or partially, below or above a specified failure # tolerance), the StackSet is updated with your changes. Subsequent # CreateStackInstances calls on the specified StackSet use the updated # StackSet. # # The maximum number of organizational unit (OUs) supported by a # `UpdateStackSet` operation is 50. # # If you need more than 50, consider the following options: # # * *Batch processing:* If you don't want to expose your OU hierarchy, # split up the operations into multiple calls with less than 50 OUs # each. # # * *Parent OU strategy:* If you don't mind exposing the OU hierarchy, # target a parent OU that contains all desired child OUs. # # # # @option params [required, String] :stack_set_name # The name or unique ID of the StackSet that you want to update. # # @option params [String] :description # A brief description of updates that you are making. # # @option params [String] :template_body # The structure that contains the template body, with a minimum length # of 1 byte and a maximum length of 51,200 bytes. # # Conditional: You must specify only one of the following parameters: # `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to true. # # @option params [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template (maximum size: 1 MB) that is located in an Amazon S3 # bucket or a Systems Manager document. The location for an Amazon S3 # bucket must start with `https://`. S3 static website URLs are not # supported. # # Conditional: You must specify only one of the following parameters: # `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to true. # # @option params [Boolean] :use_previous_template # Use the existing template that's associated with the StackSet that # you're updating. # # Conditional: You must specify only one of the following parameters: # `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to true. # # @option params [Array] :parameters # A list of input parameters for the StackSet template. # # @option params [Array] :capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation to # update the StackSet and its associated stack instances. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account, for example, by # creating new IAM users. For those stacks sets, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, CloudFormation # returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we recommend that # you review all permissions associated with them and edit their # permissions if necessary. # # * [AWS::IAM::AccessKey][1] # # * [AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [AWS::IAM::Policy][4] # # * [AWS::IAM::Role][5] # # * [AWS::IAM::User][6] # # * [AWS::IAM::UserToGroupAddition][7] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][8]. # # * `CAPABILITY_AUTO_EXPAND` # # Some templates reference macros. If your StackSet template # references one or more macros, you must update the StackSet directly # from the processed template, without first reviewing the resulting # changes in a change set. To update the StackSet directly, you must # acknowledge this capability. For more information, see [Perform # custom processing on CloudFormation templates with template # macros][9]. # # StackSets with service-managed permissions do not currently support # the use of macros in templates. (This includes the # [AWS::Include][10] and [AWS::Serverless][11] transforms, which are # macros hosted by CloudFormation.) Even if you specify this # capability for a StackSet with service-managed permissions, if you # reference a macro in your template the StackSet operation will fail. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # # @option params [Array] :tags # The key-value pairs to associate with this StackSet and the stacks # created from it. CloudFormation also propagates these tags to # supported resources that are created in the stacks. You can specify a # maximum number of 50 tags. # # If you specify tags for this parameter, those tags replace any list of # tags that are currently associated with this StackSet. This means: # # * If you don't specify this parameter, CloudFormation doesn't modify # the stack's tags. # # * If you specify *any* tags using this parameter, you must specify # *all* the tags that you want associated with this StackSet, even # tags you've specified before (for example, when creating the # StackSet or during a previous update of the StackSet.). Any tags # that you don't include in the updated list of tags are removed from # the StackSet, and therefore from the stacks and resources as well. # # * If you specify an empty value, CloudFormation removes all currently # associated tags. # # If you specify new tags as part of an `UpdateStackSet` action, # CloudFormation checks to see if you have the required IAM permission # to tag resources. If you omit tags that are currently associated with # the StackSet from the list of tags you specify, CloudFormation assumes # that you want to remove those tags from the StackSet, and checks to # see if you have permission to untag resources. If you don't have the # necessary permission(s), the entire `UpdateStackSet` action fails with # an `access denied` error, and the StackSet is not updated. # # @option params [Types::StackSetOperationPreferences] :operation_preferences # Preferences for how CloudFormation performs this StackSet operation. # # @option params [String] :administration_role_arn # \[Self-managed permissions\] The Amazon Resource Name (ARN) of the IAM # role to use to update this StackSet. # # Specify an IAM role only if you are using customized administrator # roles to control which users or groups can manage specific StackSets # within the same administrator account. For more information, see # [Grant self-managed permissions][1] in the *CloudFormation User # Guide*. # # If you specified a customized administrator role when you created the # StackSet, you must specify a customized administrator role, even if it # is the same customized administrator role used with this StackSet # previously. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # # @option params [String] :execution_role_name # \[Self-managed permissions\] The name of the IAM execution role to use # to update the stack set. If you do not specify an execution role, # CloudFormation uses the `AWSCloudFormationStackSetExecutionRole` role # for the StackSet operation. # # Specify an IAM role only if you are using customized execution roles # to control which stack resources users and groups can include in their # StackSets. # # If you specify a customized execution role, CloudFormation uses that # role to update the stack. If you do not specify a customized execution # role, CloudFormation performs the update using the role previously # associated with the StackSet, so long as you have permissions to # perform operations on the StackSet. # # @option params [Types::DeploymentTargets] :deployment_targets # \[Service-managed permissions\] The Organizations accounts in which to # update associated stack instances. # # To update all the stack instances associated with this StackSet, do # not specify `DeploymentTargets` or `Regions`. # # If the StackSet update includes changes to the template (that is, if # `TemplateBody` or `TemplateURL` is specified), or the `Parameters`, # CloudFormation marks all stack instances with a status of `OUTDATED` # prior to updating the stack instances in the specified accounts and # Amazon Web Services Regions. If the StackSet update doesn't include # changes to the template or parameters, CloudFormation updates the # stack instances in the specified accounts and Regions, while leaving # all other stack instances with their existing stack instance status. # # @option params [String] :permission_model # Describes how the IAM roles required for StackSet operations are # created. You cannot modify `PermissionModel` if there are stack # instances associated with your stack set. # # * With `self-managed` permissions, you must create the administrator # and execution roles required to deploy to target accounts. For more # information, see [Grant self-managed permissions][1]. # # * With `service-managed` permissions, StackSets automatically creates # the IAM roles required to deploy to accounts managed by # Organizations. For more information, see [Activate trusted access # for StackSets with Organizations][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html # # @option params [Types::AutoDeployment] :auto_deployment # \[Service-managed permissions\] Describes whether StackSets # automatically deploys to Organizations accounts that are added to a # target organization or organizational unit (OU). For more information, # see [Enable or disable automatic deployments for StackSets in # Organizations][1] in the *CloudFormation User Guide*. # # If you specify `AutoDeployment`, don't specify `DeploymentTargets` or # `Regions`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html # # @option params [String] :operation_id # The unique ID for this StackSet operation. # # The operation ID also functions as an idempotency token, to ensure # that CloudFormation performs the StackSet operation only once, even if # you retry the request multiple times. You might retry StackSet # operation requests to ensure that CloudFormation successfully received # them. # # If you don't specify an operation ID, CloudFormation generates one # automatically. # # Repeating this StackSet operation with a new operation ID retries all # stack instances whose status is `OUTDATED`. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option.** # # @option params [Array] :accounts # \[Self-managed permissions\] The accounts in which to update # associated stack instances. If you specify accounts, you must also # specify the Amazon Web Services Regions in which to update StackSet # instances. # # To update *all* the stack instances associated with this StackSet, # don't specify the `Accounts` or `Regions` properties. # # If the StackSet update includes changes to the template (that is, if # the `TemplateBody` or `TemplateURL` properties are specified), or the # `Parameters` property, CloudFormation marks all stack instances with a # status of `OUTDATED` prior to updating the stack instances in the # specified accounts and Amazon Web Services Regions. If the StackSet # update does not include changes to the template or parameters, # CloudFormation updates the stack instances in the specified accounts # and Amazon Web Services Regions, while leaving all other stack # instances with their existing stack instance status. # # @option params [Array] :regions # The Amazon Web Services Regions in which to update associated stack # instances. If you specify Regions, you must also specify accounts in # which to update StackSet instances. # # To update *all* the stack instances associated with this StackSet, do # not specify the `Accounts` or `Regions` properties. # # If the StackSet update includes changes to the template (that is, if # the `TemplateBody` or `TemplateURL` properties are specified), or the # `Parameters` property, CloudFormation marks all stack instances with a # status of `OUTDATED` prior to updating the stack instances in the # specified accounts and Regions. If the StackSet update does not # include changes to the template or parameters, CloudFormation updates # the stack instances in the specified accounts and Regions, while # leaving all other stack instances with their existing stack instance # status. # # @option params [String] :call_as # \[Service-managed permissions\] Specifies whether you are acting as an # account administrator in the organization's management account or as # a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation User # Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # # @option params [Types::ManagedExecution] :managed_execution # Describes whether CloudFormation performs non-conflicting operations # concurrently and queues conflicting operations. # # @return [Types::UpdateStackSetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateStackSetOutput#operation_id #operation_id} => String # # @example Request syntax with placeholder values # # resp = client.update_stack_set({ # stack_set_name: "StackSetName", # required # description: "Description", # template_body: "TemplateBody", # template_url: "TemplateURL", # use_previous_template: false, # parameters: [ # { # parameter_key: "ParameterKey", # parameter_value: "ParameterValue", # use_previous_value: false, # resolved_value: "ParameterValue", # }, # ], # capabilities: ["CAPABILITY_IAM"], # accepts CAPABILITY_IAM, CAPABILITY_NAMED_IAM, CAPABILITY_AUTO_EXPAND # tags: [ # { # key: "TagKey", # required # value: "TagValue", # required # }, # ], # operation_preferences: { # region_concurrency_type: "SEQUENTIAL", # accepts SEQUENTIAL, PARALLEL # region_order: ["Region"], # failure_tolerance_count: 1, # failure_tolerance_percentage: 1, # max_concurrent_count: 1, # max_concurrent_percentage: 1, # concurrency_mode: "STRICT_FAILURE_TOLERANCE", # accepts STRICT_FAILURE_TOLERANCE, SOFT_FAILURE_TOLERANCE # }, # administration_role_arn: "RoleARN", # execution_role_name: "ExecutionRoleName", # deployment_targets: { # accounts: ["Account"], # accounts_url: "AccountsUrl", # organizational_unit_ids: ["OrganizationalUnitId"], # account_filter_type: "NONE", # accepts NONE, INTERSECTION, DIFFERENCE, UNION # }, # permission_model: "SERVICE_MANAGED", # accepts SERVICE_MANAGED, SELF_MANAGED # auto_deployment: { # enabled: false, # retain_stacks_on_account_removal: false, # }, # operation_id: "ClientRequestToken", # accounts: ["Account"], # regions: ["Region"], # call_as: "SELF", # accepts SELF, DELEGATED_ADMIN # managed_execution: { # active: false, # }, # }) # # @example Response structure # # resp.operation_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet AWS API Documentation # # @overload update_stack_set(params = {}) # @param [Hash] params ({}) def update_stack_set(params = {}, options = {}) req = build_request(:update_stack_set, params) req.send_request(options) end # Updates termination protection for the specified stack. If a user # attempts to delete a stack with termination protection enabled, the # operation fails and the stack remains unchanged. For more information, # see [Protect a CloudFormation stack from being deleted][1] in the # *CloudFormation User Guide*. # # For [nested stacks][2], termination protection is set on the root # stack and can't be changed directly on the nested stack. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # # @option params [required, Boolean] :enable_termination_protection # Whether to enable termination protection on the specified stack. # # @option params [required, String] :stack_name # The name or unique ID of the stack for which you want to set # termination protection. # # @return [Types::UpdateTerminationProtectionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateTerminationProtectionOutput#stack_id #stack_id} => String # # @example Request syntax with placeholder values # # resp = client.update_termination_protection({ # enable_termination_protection: false, # required # stack_name: "StackNameOrId", # required # }) # # @example Response structure # # resp.stack_id #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtection AWS API Documentation # # @overload update_termination_protection(params = {}) # @param [Hash] params ({}) def update_termination_protection(params = {}, options = {}) req = build_request(:update_termination_protection, params) req.send_request(options) end # Validates a specified template. CloudFormation first checks if the # template is valid JSON. If it isn't, CloudFormation checks if the # template is valid YAML. If both these checks fail, CloudFormation # returns a template validation error. # # @option params [String] :template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must pass `TemplateURL` or `TemplateBody`. If both # are passed, only `TemplateBody` is used. # # @option params [String] :template_url # The URL of a file that contains the template body. The URL must point # to a template (max size: 1 MB) that is located in an Amazon S3 bucket # or a Systems Manager document. The location for an Amazon S3 bucket # must start with `https://`. # # Conditional: You must pass `TemplateURL` or `TemplateBody`. If both # are passed, only `TemplateBody` is used. # # @return [Types::ValidateTemplateOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::ValidateTemplateOutput#parameters #parameters} => Array<Types::TemplateParameter> # * {Types::ValidateTemplateOutput#description #description} => String # * {Types::ValidateTemplateOutput#capabilities #capabilities} => Array<String> # * {Types::ValidateTemplateOutput#capabilities_reason #capabilities_reason} => String # * {Types::ValidateTemplateOutput#declared_transforms #declared_transforms} => Array<String> # # @example Request syntax with placeholder values # # resp = client.validate_template({ # template_body: "TemplateBody", # template_url: "TemplateURL", # }) # # @example Response structure # # resp.parameters #=> Array # resp.parameters[0].parameter_key #=> String # resp.parameters[0].default_value #=> String # resp.parameters[0].no_echo #=> Boolean # resp.parameters[0].description #=> String # resp.description #=> String # resp.capabilities #=> Array # resp.capabilities[0] #=> String, one of "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM", "CAPABILITY_AUTO_EXPAND" # resp.capabilities_reason #=> String # resp.declared_transforms #=> Array # resp.declared_transforms[0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate AWS API Documentation # # @overload validate_template(params = {}) # @param [Hash] params ({}) def validate_template(params = {}, options = {}) req = build_request(:validate_template, params) req.send_request(options) end # @!endgroup # @param params ({}) # @api private def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::CloudFormation') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-cloudformation' context[:gem_version] = '1.143.0' Seahorse::Client::Request.new(handlers, context) end # Polls an API operation until a resource enters a desired state. # # ## Basic Usage # # A waiter will call an API operation until: # # * It is successful # * It enters a terminal state # * It makes the maximum number of attempts # # In between attempts, the waiter will sleep. # # # polls in a loop, sleeping between attempts # client.wait_until(waiter_name, params) # # ## Configuration # # You can configure the maximum number of polling attempts, and the # delay (in seconds) between each polling attempt. You can pass # configuration as the final arguments hash. # # # poll for ~25 seconds # client.wait_until(waiter_name, params, { # max_attempts: 5, # delay: 5, # }) # # ## Callbacks # # You can be notified before each polling attempt and before each # delay. If you throw `:success` or `:failure` from these callbacks, # it will terminate the waiter. # # started_at = Time.now # client.wait_until(waiter_name, params, { # # # disable max attempts # max_attempts: nil, # # # poll for 1 hour, instead of a number of attempts # before_wait: -> (attempts, response) do # throw :failure if Time.now - started_at > 3600 # end # }) # # ## Handling Errors # # When a waiter is unsuccessful, it will raise an error. # All of the failure errors extend from # {Aws::Waiters::Errors::WaiterFailed}. # # begin # client.wait_until(...) # rescue Aws::Waiters::Errors::WaiterFailed # # resource did not enter the desired state in time # end # # ## Valid Waiters # # The following table lists the valid waiter names, the operations they call, # and the default `:delay` and `:max_attempts` values. # # | waiter_name | params | :delay | :max_attempts | # | ------------------------------- | ----------------------------------- | -------- | ------------- | # | change_set_create_complete | {Client#describe_change_set} | 30 | 120 | # | stack_create_complete | {Client#describe_stacks} | 30 | 120 | # | stack_delete_complete | {Client#describe_stacks} | 30 | 120 | # | stack_exists | {Client#describe_stacks} | 5 | 20 | # | stack_import_complete | {Client#describe_stacks} | 30 | 120 | # | stack_refactor_create_complete | {Client#describe_stack_refactor} | 5 | 120 | # | stack_refactor_execute_complete | {Client#describe_stack_refactor} | 15 | 120 | # | stack_rollback_complete | {Client#describe_stacks} | 30 | 120 | # | stack_update_complete | {Client#describe_stacks} | 30 | 120 | # | type_registration_complete | {Client#describe_type_registration} | 30 | 120 | # # @raise [Errors::FailureStateError] Raised when the waiter terminates # because the waiter has entered a state that it will not transition # out of, preventing success. # # @raise [Errors::TooManyAttemptsError] Raised when the configured # maximum number of attempts have been made, and the waiter is not # yet successful. # # @raise [Errors::UnexpectedError] Raised when an error is encounted # while polling for a resource that is not expected. # # @raise [Errors::NoSuchWaiterError] Raised when you request to wait # for an unknown state. # # @return [Boolean] Returns `true` if the waiter was successful. # @param [Symbol] waiter_name # @param [Hash] params ({}) # @param [Hash] options ({}) # @option options [Integer] :max_attempts # @option options [Integer] :delay # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def wait_until(waiter_name, params = {}, options = {}) w = waiter(waiter_name, options) yield(w.waiter) if block_given? # deprecated w.wait(params) end # @api private # @deprecated def waiter_names waiters.keys end private # @param [Symbol] waiter_name # @param [Hash] options ({}) def waiter(waiter_name, options = {}) waiter_class = waiters[waiter_name] if waiter_class waiter_class.new(options.merge(client: self)) else raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys) end end def waiters { change_set_create_complete: Waiters::ChangeSetCreateComplete, stack_create_complete: Waiters::StackCreateComplete, stack_delete_complete: Waiters::StackDeleteComplete, stack_exists: Waiters::StackExists, stack_import_complete: Waiters::StackImportComplete, stack_refactor_create_complete: Waiters::StackRefactorCreateComplete, stack_refactor_execute_complete: Waiters::StackRefactorExecuteComplete, stack_rollback_complete: Waiters::StackRollbackComplete, stack_update_complete: Waiters::StackUpdateComplete, type_registration_complete: Waiters::TypeRegistrationComplete } end class << self # @api private attr_reader :identifier # @api private def errors_module Errors end end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/errors.rb0000644000004100000410000003454215077233060025322 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation # When CloudFormation returns an error response, the Ruby SDK constructs and raises an error. # These errors all extend Aws::CloudFormation::Errors::ServiceError < {Aws::Errors::ServiceError} # # You can rescue all CloudFormation errors using ServiceError: # # begin # # do stuff # rescue Aws::CloudFormation::Errors::ServiceError # # rescues all CloudFormation API errors # end # # # ## Request Context # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns # information about the request that generated the error. # See {Seahorse::Client::RequestContext} for more information. # # ## Error Classes # * {AlreadyExistsException} # * {CFNRegistryException} # * {ChangeSetNotFoundException} # * This error class is not used. `ChangeSetNotFound` is used during parsing instead. # * {ConcurrentResourcesLimitExceededException} # * This error class is not used. `ConcurrentResourcesLimitExceeded` is used during parsing instead. # * {CreatedButModifiedException} # * {GeneratedTemplateNotFoundException} # * This error class is not used. `GeneratedTemplateNotFound` is used during parsing instead. # * {HookResultNotFoundException} # * This error class is not used. `HookResultNotFound` is used during parsing instead. # * {InsufficientCapabilitiesException} # * {InvalidChangeSetStatusException} # * This error class is not used. `InvalidChangeSetStatus` is used during parsing instead. # * {InvalidOperationException} # * {InvalidStateTransitionException} # * This error class is not used. `InvalidStateTransition` is used during parsing instead. # * {LimitExceededException} # * {NameAlreadyExistsException} # * {OperationIdAlreadyExistsException} # * {OperationInProgressException} # * {OperationNotFoundException} # * {OperationStatusCheckFailedException} # * This error class is not used. `ConditionalCheckFailed` is used during parsing instead. # * {ResourceScanInProgressException} # * This error class is not used. `ResourceScanInProgress` is used during parsing instead. # * {ResourceScanLimitExceededException} # * This error class is not used. `ResourceScanLimitExceeded` is used during parsing instead. # * {ResourceScanNotFoundException} # * This error class is not used. `ResourceScanNotFound` is used during parsing instead. # * {StackInstanceNotFoundException} # * {StackNotFoundException} # * {StackRefactorNotFoundException} # * {StackSetNotEmptyException} # * {StackSetNotFoundException} # * {StaleRequestException} # * {TokenAlreadyExistsException} # * {TypeConfigurationNotFoundException} # * {TypeNotFoundException} # # Additionally, error classes are dynamically generated for service errors based on the error code # if they are not defined above. module Errors extend Aws::Errors::DynamicErrors class AlreadyExistsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::AlreadyExistsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class CFNRegistryException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::CFNRegistryException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end # @return [String] def message @message || @data[:message] end end # @deprecated This error class is not used during parsing. # Please use `ChangeSetNotFound` instead. class ChangeSetNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::ChangeSetNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `ConcurrentResourcesLimitExceeded` instead. class ConcurrentResourcesLimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::ConcurrentResourcesLimitExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class CreatedButModifiedException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::CreatedButModifiedException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `GeneratedTemplateNotFound` instead. class GeneratedTemplateNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::GeneratedTemplateNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `HookResultNotFound` instead. class HookResultNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::HookResultNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InsufficientCapabilitiesException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::InsufficientCapabilitiesException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `InvalidChangeSetStatus` instead. class InvalidChangeSetStatusException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::InvalidChangeSetStatusException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class InvalidOperationException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::InvalidOperationException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `InvalidStateTransition` instead. class InvalidStateTransitionException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::InvalidStateTransitionException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class LimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::LimitExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class NameAlreadyExistsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::NameAlreadyExistsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class OperationIdAlreadyExistsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::OperationIdAlreadyExistsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class OperationInProgressException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::OperationInProgressException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class OperationNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::OperationNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `ConditionalCheckFailed` instead. class OperationStatusCheckFailedException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::OperationStatusCheckFailedException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `ResourceScanInProgress` instead. class ResourceScanInProgressException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::ResourceScanInProgressException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `ResourceScanLimitExceeded` instead. class ResourceScanLimitExceededException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::ResourceScanLimitExceededException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end # @deprecated This error class is not used during parsing. # Please use `ResourceScanNotFound` instead. class ResourceScanNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::ResourceScanNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class StackInstanceNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::StackInstanceNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class StackNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::StackNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class StackRefactorNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::StackRefactorNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class StackSetNotEmptyException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::StackSetNotEmptyException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class StackSetNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::StackSetNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class StaleRequestException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::StaleRequestException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class TokenAlreadyExistsException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::TokenAlreadyExistsException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class TypeConfigurationNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::TypeConfigurationNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end class TypeNotFoundException < ServiceError # @param [Seahorse::Client::RequestContext] context # @param [String] message # @param [Aws::CloudFormation::Types::TypeNotFoundException] data def initialize(context, message, data = Aws::EmptyStructure.new) super(context, message, data) end end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/types.rb0000644000004100000410000163622615077233060025162 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation module Types # Structure that contains the results of the account gate function which # CloudFormation invokes, if present, before proceeding with a StackSet # operation in an account and Region. # # For each account and Region, CloudFormation lets you specify a Lambda # function that encapsulates any requirements that must be met before # CloudFormation can proceed with a StackSet operation in that account # and Region. CloudFormation invokes the function each time a StackSet # operation is requested for that account and Region; if the function # returns `FAILED`, CloudFormation cancels the operation in that account # and Region, and sets the StackSet operation result status for that # account and Region to `FAILED`. # # For more information, see [Prevent failed StackSets deployments using # target account gates][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-account-gating.html # # @!attribute [rw] status # The status of the account gate function. # # * `SUCCEEDED`: The account gate function has determined that the # account and Region passes any requirements for a StackSet # operation to occur. CloudFormation proceeds with the stack # operation in that account and Region. # # * `FAILED`: The account gate function has determined that the # account and Region doesn't meet the requirements for a StackSet # operation to occur. CloudFormation cancels the StackSet operation # in that account and Region, and sets the StackSet operation result # status for that account and Region to `FAILED`. # # * `SKIPPED`: CloudFormation has skipped calling the account gate # function for this account and Region, for one of the following # reasons: # # * An account gate function hasn't been specified for the account # and Region. CloudFormation proceeds with the StackSet operation # in this account and Region. # # * The `AWSCloudFormationStackSetExecutionRole` of the # administration account lacks permissions to invoke the function. # CloudFormation proceeds with the StackSet operation in this # account and Region. # # * Either no action is necessary, or no action is possible, on the # stack. CloudFormation skips the StackSet operation in this # account and Region. # @return [String] # # @!attribute [rw] status_reason # The reason for the account gate status assigned to this account and # Region for the StackSet operation. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountGateResult AWS API Documentation # class AccountGateResult < Struct.new( :status, :status_reason) SENSITIVE = [] include Aws::Structure end # Describes the current CloudFormation limits for your account. # # CloudFormation has the following limits per account: # # * Number of concurrent resources # # * Number of stacks # # * Number of stack outputs # # For more information, see [Understand CloudFormation quotas][1] in the # *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html # # @!attribute [rw] name # The name of the account limit. # # Values: `ConcurrentResourcesLimit` \| `StackLimit` \| # `StackOutputsLimit` # @return [String] # # @!attribute [rw] value # The value that's associated with the account limit name. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AccountLimit AWS API Documentation # class AccountLimit < Struct.new( :name, :value) SENSITIVE = [] include Aws::Structure end # @api private # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ActivateOrganizationsAccessInput AWS API Documentation # class ActivateOrganizationsAccessInput < Aws::EmptyStructure; end # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ActivateOrganizationsAccessOutput AWS API Documentation # class ActivateOrganizationsAccessOutput < Aws::EmptyStructure; end # @!attribute [rw] type # The extension type. # # Conditional: You must specify `PublicTypeArn`, or `TypeName`, # `Type`, and `PublisherId`. # @return [String] # # @!attribute [rw] public_type_arn # The Amazon Resource Name (ARN) of the public extension. # # Conditional: You must specify `PublicTypeArn`, or `TypeName`, # `Type`, and `PublisherId`. # @return [String] # # @!attribute [rw] publisher_id # The ID of the extension publisher. # # Conditional: You must specify `PublicTypeArn`, or `TypeName`, # `Type`, and `PublisherId`. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # Conditional: You must specify `PublicTypeArn`, or `TypeName`, # `Type`, and `PublisherId`. # @return [String] # # @!attribute [rw] type_name_alias # An alias to assign to the public extension in this account and # Region. If you specify an alias for the extension, CloudFormation # treats the alias as the extension type name within this account and # Region. You must use the alias to refer to the extension in your # templates, API calls, and CloudFormation console. # # An extension alias must be unique within a given account and Region. # You can activate the same public resource multiple times in the same # account and Region, using different type name aliases. # @return [String] # # @!attribute [rw] auto_update # Whether to automatically update the extension in this account and # Region when a new *minor* version is published by the extension # publisher. Major versions released by the publisher must be manually # updated. # # The default is `true`. # @return [Boolean] # # @!attribute [rw] logging_config # Contains logging configuration information for an extension. # @return [Types::LoggingConfig] # # @!attribute [rw] execution_role_arn # The name of the IAM execution role to use to activate the extension. # @return [String] # # @!attribute [rw] version_bump # Manually updates a previously-activated type to a new major or minor # version, if available. You can also use this parameter to update the # value of `AutoUpdate`. # # * `MAJOR`: CloudFormation updates the extension to the newest major # version, if one is available. # # * `MINOR`: CloudFormation updates the extension to the newest minor # version, if one is available. # @return [String] # # @!attribute [rw] major_version # The major version of this extension you want to activate, if # multiple major versions are available. The default is the latest # major version. CloudFormation uses the latest available *minor* # version of the major version selected. # # You can specify `MajorVersion` or `VersionBump`, but not both. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ActivateTypeInput AWS API Documentation # class ActivateTypeInput < Struct.new( :type, :public_type_arn, :publisher_id, :type_name, :type_name_alias, :auto_update, :logging_config, :execution_role_arn, :version_bump, :major_version) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the activated extension in this # account and Region. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ActivateTypeOutput AWS API Documentation # class ActivateTypeOutput < Struct.new( :arn) SENSITIVE = [] include Aws::Structure end # The resource with the name requested already exists. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AlreadyExistsException AWS API Documentation # class AlreadyExistsException < Aws::EmptyStructure; end # Describes whether StackSets automatically deploys to Organizations # accounts that are added to a target organization or organizational # unit (OU). For more information, see [Enable or disable automatic # deployments for StackSets in Organizations][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html # # @!attribute [rw] enabled # If set to `true`, StackSets automatically deploys additional stack # instances to Organizations accounts that are added to a target # organization or organizational unit (OU) in the specified Regions. # If an account is removed from a target organization or OU, StackSets # deletes stack instances from the account in the specified Regions. # @return [Boolean] # # @!attribute [rw] retain_stacks_on_account_removal # If set to `true`, stack resources are retained when an account is # removed from a target organization or OU. If set to `false`, stack # resources are deleted. Specify only if `Enabled` is set to `True`. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/AutoDeployment AWS API Documentation # class AutoDeployment < Struct.new( :enabled, :retain_stacks_on_account_removal) SENSITIVE = [] include Aws::Structure end # Detailed information concerning an error generated during the setting # of configuration data for a CloudFormation extension. # # @!attribute [rw] error_code # The error code. # @return [String] # # @!attribute [rw] error_message # The error message. # @return [String] # # @!attribute [rw] type_configuration_identifier # Identifying information for the configuration of a CloudFormation # extension. # @return [Types::TypeConfigurationIdentifier] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/BatchDescribeTypeConfigurationsError AWS API Documentation # class BatchDescribeTypeConfigurationsError < Struct.new( :error_code, :error_message, :type_configuration_identifier) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type_configuration_identifiers # The list of identifiers for the desired extension configurations. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/BatchDescribeTypeConfigurationsInput AWS API Documentation # class BatchDescribeTypeConfigurationsInput < Struct.new( :type_configuration_identifiers) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] errors # A list of information concerning any errors generated during the # setting of the specified configurations. # @return [Array] # # @!attribute [rw] unprocessed_type_configurations # A list of any of the specified extension configurations that # CloudFormation could not process for any reason. # @return [Array] # # @!attribute [rw] type_configurations # A list of any of the specified extension configurations from the # CloudFormation registry. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/BatchDescribeTypeConfigurationsOutput AWS API Documentation # class BatchDescribeTypeConfigurationsOutput < Struct.new( :errors, :unprocessed_type_configurations, :type_configurations) SENSITIVE = [] include Aws::Structure end # An error occurred during a CloudFormation registry operation. # # @!attribute [rw] message # A message with details about the error that occurred. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CFNRegistryException AWS API Documentation # class CFNRegistryException < Struct.new( :message) SENSITIVE = [] include Aws::Structure end # The input for the CancelUpdateStack action. # # @!attribute [rw] stack_name # If you don't pass a parameter to `StackName`, the API returns a # response that describes all resources in the account. # # The IAM policy below can be added to IAM policies when you want to # limit resource-level permissions and avoid returning a response when # no parameter is sent in the request: # # `{ "Version": "2012-10-17", "Statement": [{ "Effect": "Deny", # "Action": "cloudformation:DescribeStacks", "NotResource": # "arn:aws:cloudformation:*:*:stack/*/*" }] }` # # # # The name or the unique stack ID that's associated with the stack. # @return [String] # # @!attribute [rw] client_request_token # A unique identifier for this `CancelUpdateStack` request. Specify # this token if you plan to retry requests so that CloudFormation # knows that you're not attempting to cancel an update on a stack # with the same name. You might retry `CancelUpdateStack` requests to # ensure that CloudFormation successfully received them. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStackInput AWS API Documentation # class CancelUpdateStackInput < Struct.new( :stack_name, :client_request_token) SENSITIVE = [] include Aws::Structure end # The `Change` structure describes the changes CloudFormation will # perform if you execute the change set. # # @!attribute [rw] type # The type of entity that CloudFormation changes. # # * `Resource` This change is for a resource. # # ^ # @return [String] # # @!attribute [rw] hook_invocation_count # Is either `null`, if no Hooks invoke for the resource, or contains # the number of Hooks that will invoke for the resource. # @return [Integer] # # @!attribute [rw] resource_change # A `ResourceChange` structure that describes the resource and action # that CloudFormation will perform. # @return [Types::ResourceChange] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Change AWS API Documentation # class Change < Struct.new( :type, :hook_invocation_count, :resource_change) SENSITIVE = [] include Aws::Structure end # Specifies the resource, the Hook, and the Hook version to be invoked. # # @!attribute [rw] invocation_point # The specific point in the provisioning process where the Hook is # invoked. # @return [String] # # @!attribute [rw] failure_mode # Specify the Hook failure mode for non-compliant resources in the # followings ways. # # * `FAIL` Stops provisioning resources. # # * `WARN` Allows provisioning to continue with a warning message. # @return [String] # # @!attribute [rw] type_name # The unique name for your Hook. Specifies a three-part namespace for # your Hook, with a recommended pattern of # `Organization::Service::Hook`. # # The following organization namespaces are reserved and can't be # used in your Hook type names: # # * `Alexa` # # * `AMZN` # # * `Amazon` # # * `ASK` # # * `AWS` # # * `Custom` # # * `Dev` # # # @return [String] # # @!attribute [rw] type_version_id # The version ID of the type specified. # @return [String] # # @!attribute [rw] type_configuration_version_id # The version ID of the type configuration. # @return [String] # # @!attribute [rw] target_details # Specifies details about the target that the Hook will run against. # @return [Types::ChangeSetHookTargetDetails] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetHook AWS API Documentation # class ChangeSetHook < Struct.new( :invocation_point, :failure_mode, :type_name, :type_version_id, :type_configuration_version_id, :target_details) SENSITIVE = [] include Aws::Structure end # Specifies `RESOURCE` type target details for activated Hooks. # # @!attribute [rw] logical_resource_id # The resource's logical ID, which is defined in the stack's # template. # @return [String] # # @!attribute [rw] resource_type # The type of CloudFormation resource, such as `AWS::S3::Bucket`. # @return [String] # # @!attribute [rw] resource_action # Specifies the action of the resource. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetHookResourceTargetDetails AWS API Documentation # class ChangeSetHookResourceTargetDetails < Struct.new( :logical_resource_id, :resource_type, :resource_action) SENSITIVE = [] include Aws::Structure end # Specifies target details for an activated Hook. # # @!attribute [rw] target_type # The name of the type. # @return [String] # # @!attribute [rw] resource_target_details # Required if `TargetType` is `RESOURCE`. # @return [Types::ChangeSetHookResourceTargetDetails] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetHookTargetDetails AWS API Documentation # class ChangeSetHookTargetDetails < Struct.new( :target_type, :resource_target_details) SENSITIVE = [] include Aws::Structure end # The specified change set name or ID doesn't exit. To view valid # change sets for a stack, use the `ListChangeSets` operation. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetNotFoundException AWS API Documentation # class ChangeSetNotFoundException < Aws::EmptyStructure; end # The `ChangeSetSummary` structure describes a change set, its status, # and the stack with which it's associated. # # @!attribute [rw] stack_id # The ID of the stack with which the change set is associated. # @return [String] # # @!attribute [rw] stack_name # The name of the stack with which the change set is associated. # @return [String] # # @!attribute [rw] change_set_id # The ID of the change set. # @return [String] # # @!attribute [rw] change_set_name # The name of the change set. # @return [String] # # @!attribute [rw] execution_status # If the change set execution status is `AVAILABLE`, you can execute # the change set. If you can't execute the change set, the status # indicates why. For example, a change set might be in an # `UNAVAILABLE` state because CloudFormation is still creating it or # in an `OBSOLETE` state because the stack was already updated. # @return [String] # # @!attribute [rw] status # The state of the change set, such as `CREATE_PENDING`, # `CREATE_COMPLETE`, or `FAILED`. # @return [String] # # @!attribute [rw] status_reason # A description of the change set's status. For example, if your # change set is in the `FAILED` state, CloudFormation shows the error # message. # @return [String] # # @!attribute [rw] creation_time # The start time when the change set was created, in UTC. # @return [Time] # # @!attribute [rw] description # Descriptive information about the change set. # @return [String] # # @!attribute [rw] include_nested_stacks # Specifies the current setting of `IncludeNestedStacks` for the # change set. # @return [Boolean] # # @!attribute [rw] parent_change_set_id # The parent change set ID. # @return [String] # # @!attribute [rw] root_change_set_id # The root change set ID. # @return [String] # # @!attribute [rw] import_existing_resources # Indicates if the change set imports resources that already exist. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ChangeSetSummary AWS API Documentation # class ChangeSetSummary < Struct.new( :stack_id, :stack_name, :change_set_id, :change_set_name, :execution_status, :status, :status_reason, :creation_time, :description, :include_nested_stacks, :parent_change_set_id, :root_change_set_id, :import_existing_resources) SENSITIVE = [] include Aws::Structure end # No more than 5 generated templates can be in an `InProgress` or # `Pending` status at one time. This error is also returned if a # generated template that is in an `InProgress` or `Pending` status is # attempted to be updated or deleted. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ConcurrentResourcesLimitExceededException AWS API Documentation # class ConcurrentResourcesLimitExceededException < Aws::EmptyStructure; end # The input for the ContinueUpdateRollback action. # # @!attribute [rw] stack_name # The name or the unique ID of the stack that you want to continue # rolling back. # # Don't specify the name of a nested stack (a stack that was created # by using the `AWS::CloudFormation::Stack` resource). Instead, use # this operation on the parent stack (the stack that contains the # `AWS::CloudFormation::Stack` resource). # # # @return [String] # # @!attribute [rw] role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to roll back the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that # users have permission to operate on the stack, CloudFormation uses # this role even if the users don't have permission to pass it. # Ensure that the role grants least permission. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # @return [String] # # @!attribute [rw] resources_to_skip # A list of the logical IDs of the resources that CloudFormation skips # during the continue update rollback operation. You can specify only # resources that are in the `UPDATE_FAILED` state because a rollback # failed. You can't specify resources that are in the `UPDATE_FAILED` # state for other reasons, for example, because an update was # canceled. To check why a resource update failed, use the # DescribeStackResources action, and view the resource status reason. # # Specify this property to skip rolling back resources that # CloudFormation can't successfully roll back. We recommend that you # [ troubleshoot][1] resources before skipping them. CloudFormation # sets the status of the specified resources to `UPDATE_COMPLETE` and # continues to roll back the stack. After the rollback is complete, # the state of the skipped resources will be inconsistent with the # state of the resources in the stack template. Before performing # another stack update, you must update the stack or resources to be # consistent with each other. If you don't, subsequent stack updates # might fail, and the stack will become unrecoverable. # # Specify the minimum number of resources required to successfully # roll back your stack. For example, a failed resource update might # cause dependent resources to fail. In this case, it might not be # necessary to skip the dependent resources. # # To skip resources that are part of nested stacks, use the following # format: `NestedStackName.ResourceLogicalID`. If you want to specify # the logical ID of a stack resource (`Type: # AWS::CloudFormation::Stack`) in the `ResourcesToSkip` list, then its # corresponding embedded stack must be in one of the following states: # `DELETE_IN_PROGRESS`, `DELETE_COMPLETE`, or `DELETE_FAILED`. # # Don't confuse a child stack's name with its corresponding logical # ID defined in the parent stack. For an example of a continue update # rollback operation with nested stacks, see [Continue rolling back # from failed nested stack updates][2]. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html#nested-stacks # @return [Array] # # @!attribute [rw] client_request_token # A unique identifier for this `ContinueUpdateRollback` request. # Specify this token if you plan to retry requests so that # CloudFormation knows that you're not attempting to continue the # rollback to a stack with the same name. You might retry # `ContinueUpdateRollback` requests to ensure that CloudFormation # successfully received them. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackInput AWS API Documentation # class ContinueUpdateRollbackInput < Struct.new( :stack_name, :role_arn, :resources_to_skip, :client_request_token) SENSITIVE = [] include Aws::Structure end # The output for a ContinueUpdateRollback operation. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollbackOutput AWS API Documentation # class ContinueUpdateRollbackOutput < Aws::EmptyStructure; end # The input for the CreateChangeSet action. # # @!attribute [rw] stack_name # The name or the unique ID of the stack for which you are creating a # change set. CloudFormation generates the change set by comparing # this stack's information with the information that you submit, such # as a modified template or different parameter input values. # @return [String] # # @!attribute [rw] template_body # A structure that contains the body of the revised template, with a # minimum length of 1 byte and a maximum length of 51,200 bytes. # CloudFormation generates the change set by comparing this template # with the template of the stack that you specified. # # Conditional: You must specify only `TemplateBody` or `TemplateURL`. # @return [String] # # @!attribute [rw] template_url # The URL of the file that contains the revised template. The URL must # point to a template (max size: 1 MB) that's located in an Amazon S3 # bucket or a Systems Manager document. CloudFormation generates the # change set by comparing this template with the stack that you # specified. The location for an Amazon S3 bucket must start with # `https://`. URLs from S3 static websites are not supported. # # Conditional: You must specify only `TemplateBody` or `TemplateURL`. # @return [String] # # @!attribute [rw] use_previous_template # Whether to reuse the template that's associated with the stack to # create the change set. # @return [Boolean] # # @!attribute [rw] parameters # A list of `Parameter` structures that specify input parameters for # the change set. For more information, see the Parameter data type. # @return [Array] # # @!attribute [rw] capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation # to create the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account; for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, # CloudFormation returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we suggest that # you review all permissions associated with them and edit their # permissions if necessary. # # * [ AWS::IAM::AccessKey][1] # # * [ AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [ AWS::IAM::Policy][5] # # * [ AWS::IAM::Role][6] # # * [ AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set # from the processed template, so that they can review the changes # resulting from the macros before actually creating the stack. If # your stack template contains one or more macros, and you choose to # create a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # This capacity doesn't apply to creating change sets, and # specifying it when creating change sets has no effect. # # If you want to create a stack from a stack template that contains # macros *and* nested stacks, you must create or update the stack # directly from the template using the CreateStack or UpdateStack # action, and specifying this capability. # # # # For more information about macros, see [Perform custom processing # on CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # @return [Array] # # @!attribute [rw] resource_types # The template resource types that you have permissions to work with # if you execute this change set, such as `AWS::EC2::Instance`, # `AWS::EC2::*`, or `Custom::MyCustomInstance`. # # If the list of resource types doesn't include a resource type that # you're updating, the stack update fails. By default, CloudFormation # grants permissions to all resource types. IAM uses this parameter # for condition keys in IAM policies for CloudFormation. For more # information, see [Control access with Identity and Access # Management][1] in the *CloudFormation User Guide*. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # @return [Array] # # @!attribute [rw] role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes when executing the change set. CloudFormation uses the # role's credentials to make calls on your behalf. CloudFormation # uses this role for all future operations on the stack. Provided that # users have permission to operate on the stack, CloudFormation uses # this role even if the users don't have permission to pass it. # Ensure that the role grants least permission. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that is generated from your # user credentials. # @return [String] # # @!attribute [rw] rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @return [Types::RollbackConfiguration] # # @!attribute [rw] notification_arns # The Amazon Resource Names (ARNs) of Amazon SNS topics that # CloudFormation associates with the stack. To remove all associated # notification topics, specify an empty list. # @return [Array] # # @!attribute [rw] tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to resources in the stack. You can specify a # maximum of 50 tags. # @return [Array] # # @!attribute [rw] change_set_name # The name of the change set. The name must be unique among all change # sets that are associated with the specified stack. # # A change set name can contain only alphanumeric, case sensitive # characters, and hyphens. It must start with an alphabetical # character and can't exceed 128 characters. # @return [String] # # @!attribute [rw] client_token # A unique identifier for this `CreateChangeSet` request. Specify this # token if you plan to retry requests so that CloudFormation knows # that you're not attempting to create another change set with the # same name. You might retry `CreateChangeSet` requests to ensure that # CloudFormation successfully received them. # @return [String] # # @!attribute [rw] description # A description to help you identify this change set. # @return [String] # # @!attribute [rw] change_set_type # The type of change set operation. To create a change set for a new # stack, specify `CREATE`. To create a change set for an existing # stack, specify `UPDATE`. To create a change set for an import # operation, specify `IMPORT`. # # If you create a change set for a new stack, CloudFormation creates a # stack with a unique stack ID, but no template or resources. The # stack will be in the `REVIEW_IN_PROGRESS` state until you execute # the change set. # # By default, CloudFormation specifies `UPDATE`. You can't use the # `UPDATE` type to create a change set for a new stack or the `CREATE` # type to create a change set for an existing stack. # @return [String] # # @!attribute [rw] resources_to_import # The resources to import into your stack. # @return [Array] # # @!attribute [rw] include_nested_stacks # Creates a change set for the all nested stacks specified in the # template. The default behavior of this action is set to `False`. To # include nested sets in a change set, specify `True`. # @return [Boolean] # # @!attribute [rw] on_stack_failure # Determines what action will be taken if stack creation fails. If # this parameter is specified, the `DisableRollback` parameter to the # [ExecuteChangeSet][1] API operation must not be specified. This must # be one of these values: # # * `DELETE` - Deletes the change set if the stack creation fails. # This is only valid when the `ChangeSetType` parameter is set to # `CREATE`. If the deletion of the stack fails, the status of the # stack is `DELETE_FAILED`. # # * `DO_NOTHING` - if the stack creation fails, do nothing. This is # equivalent to specifying `true` for the `DisableRollback` # parameter to the [ExecuteChangeSet][1] API operation. # # * `ROLLBACK` - if the stack creation fails, roll back the stack. # This is equivalent to specifying `false` for the `DisableRollback` # parameter to the [ExecuteChangeSet][1] API operation. # # For nested stacks, when the `OnStackFailure` parameter is set to # `DELETE` for the change set for the parent stack, any failure in a # child stack will cause the parent stack creation to fail and all # stacks to be deleted. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html # @return [String] # # @!attribute [rw] import_existing_resources # Indicates if the change set auto-imports resources that already # exist. For more information, see [Import Amazon Web Services # resources into a CloudFormation stack automatically][1] in the # *CloudFormation User Guide*. # # This parameter can only import resources that have custom names in # templates. For more information, see [name type][2] in the # *CloudFormation User Guide*. To import resources that do not accept # custom names, such as EC2 instances, use the `ResourcesToImport` # parameter instead. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/import-resources-automatically.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetInput AWS API Documentation # class CreateChangeSetInput < Struct.new( :stack_name, :template_body, :template_url, :use_previous_template, :parameters, :capabilities, :resource_types, :role_arn, :rollback_configuration, :notification_arns, :tags, :change_set_name, :client_token, :description, :change_set_type, :resources_to_import, :include_nested_stacks, :on_stack_failure, :import_existing_resources) SENSITIVE = [] include Aws::Structure end # The output for the CreateChangeSet action. # # @!attribute [rw] id # The Amazon Resource Name (ARN) of the change set. # @return [String] # # @!attribute [rw] stack_id # The unique ID of the stack. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSetOutput AWS API Documentation # class CreateChangeSetOutput < Struct.new( :id, :stack_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resources # An optional list of resources to be included in the generated # template. # # If no resources are specified,the template will be created without # any resources. Resources can be added to the template using the # `UpdateGeneratedTemplate` API action. # @return [Array] # # @!attribute [rw] generated_template_name # The name assigned to the generated template. # @return [String] # # @!attribute [rw] stack_name # An optional name or ARN of a stack to use as the base stack for the # generated template. # @return [String] # # @!attribute [rw] template_configuration # The configuration details of the generated template, including the # `DeletionPolicy` and `UpdateReplacePolicy`. # @return [Types::TemplateConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateGeneratedTemplateInput AWS API Documentation # class CreateGeneratedTemplateInput < Struct.new( :resources, :generated_template_name, :stack_name, :template_configuration) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] generated_template_id # The ID of the generated template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateGeneratedTemplateOutput AWS API Documentation # class CreateGeneratedTemplateOutput < Struct.new( :generated_template_id) SENSITIVE = [] include Aws::Structure end # The input for CreateStack action. # # @!attribute [rw] stack_name # The name that's associated with the stack. The name must be unique # in the Region in which you are creating the stack. # # A stack name can contain only alphanumeric characters (case # sensitive) and hyphens. It must start with an alphabetical character # and can't be longer than 128 characters. # # # @return [String] # # @!attribute [rw] template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify either `TemplateBody` or # `TemplateURL`, but not both. # @return [String] # # @!attribute [rw] template_url # The URL of a file that contains the template body. The URL must # point to a template (max size: 1 MB) that's located in an Amazon S3 # bucket or a Systems Manager document. The location for an Amazon S3 # bucket must start with `https://`. URLs from S3 static websites are # not supported. # # Conditional: You must specify either the `TemplateBody` or the # `TemplateURL` parameter, but not both. # @return [String] # # @!attribute [rw] parameters # A list of `Parameter` structures that specify input parameters for # the stack. For more information, see the [Parameter][1] data type. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html # @return [Array] # # @!attribute [rw] disable_rollback # Set to `true` to disable rollback of the stack if stack creation # failed. You can specify either `DisableRollback` or `OnFailure`, but # not both. # # Default: `false` # @return [Boolean] # # @!attribute [rw] rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @return [Types::RollbackConfiguration] # # @!attribute [rw] timeout_in_minutes # The amount of time that can pass before the stack status becomes # `CREATE_FAILED`; if `DisableRollback` is not set or is set to # `false`, the stack will be rolled back. # @return [Integer] # # @!attribute [rw] notification_arns # The Amazon SNS topic ARNs to publish stack related events. You can # find your Amazon SNS topic ARNs using the Amazon SNS console or your # Command Line Interface (CLI). # @return [Array] # # @!attribute [rw] capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation # to create the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account; for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, # CloudFormation returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we recommend that # you review all permissions associated with them and edit their # permissions if necessary. # # * [AWS::IAM::AccessKey][1] # # * [AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [AWS::IAM::Policy][5] # # * [AWS::IAM::Role][6] # # * [AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set # from the processed template, so that they can review the changes # resulting from the macros before actually creating the stack. If # your stack template contains one or more macros, and you choose to # create a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # If you want to create a stack from a stack template that contains # macros *and* nested stacks, you must create the stack directly # from the template using this capability. # # You should only create stacks directly from a stack template that # contains macros if you know what processing the macro performs. # # Each macro relies on an underlying Lambda service function for # processing stack templates. Be aware that the Lambda function # owner can update the function operation without CloudFormation # being notified. # # For more information, see [Perform custom processing on # CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # @return [Array] # # @!attribute [rw] resource_types # The template resource types that you have permissions to work with # for this create stack action, such as `AWS::EC2::Instance`, # `AWS::EC2::*`, or `Custom::MyCustomInstance`. Use the following # syntax to describe template resource types: `AWS::*` (for all Amazon # Web Services resources), `Custom::*` (for all custom resources), # `Custom::logical_ID ` (for a specific custom resource), # `AWS::service_name::*` (for all resources of a particular Amazon Web # Services service), and `AWS::service_name::resource_logical_ID ` # (for a specific Amazon Web Services resource). # # If the list of resource types doesn't include a resource that # you're creating, the stack creation fails. By default, # CloudFormation grants permissions to all resource types. IAM uses # this parameter for CloudFormation-specific condition keys in IAM # policies. For more information, see [Control access with Identity # and Access Management][1]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # @return [Array] # # @!attribute [rw] role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to create the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that # users have permission to operate on the stack, CloudFormation uses # this role even if the users don't have permission to pass it. # Ensure that the role grants least privilege. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # @return [String] # # @!attribute [rw] on_failure # Determines what action will be taken if stack creation fails. This # must be one of: `DO_NOTHING`, `ROLLBACK`, or `DELETE`. You can # specify either `OnFailure` or `DisableRollback`, but not both. # # Although the default setting is `ROLLBACK`, there is one exception. # This exception occurs when a StackSet attempts to deploy a stack # instance and the stack instance fails to create successfully. In # this case, the `CreateStack` call overrides the default setting and # sets the value of `OnFailure` to `DELETE`. # # # # Default: `ROLLBACK` # @return [String] # # @!attribute [rw] stack_policy_body # Structure that contains the stack policy body. For more information, # see [Prevent updates to stack resources][1] in the *CloudFormation # User Guide*. You can specify either the `StackPolicyBody` or the # `StackPolicyURL` parameter, but not both. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html # @return [String] # # @!attribute [rw] stack_policy_url # Location of a file that contains the stack policy. The URL must # point to a policy (maximum size: 16 KB) located in an S3 bucket in # the same Region as the stack. The location for an Amazon S3 bucket # must start with `https://`. URLs from S3 static websites are not # supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # @return [String] # # @!attribute [rw] tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to the resources created in the stack. A # maximum number of 50 tags can be specified. # @return [Array] # # @!attribute [rw] client_request_token # A unique identifier for this `CreateStack` request. Specify this # token if you plan to retry requests so that CloudFormation knows # that you're not attempting to create a stack with the same name. # You might retry `CreateStack` requests to ensure that CloudFormation # successfully received them. # # All events initiated by a given stack operation are assigned the # same client request token, which you can use to track operations. # For example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation # will have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @return [String] # # @!attribute [rw] enable_termination_protection # Whether to enable termination protection on the specified stack. If # a user attempts to delete a stack with termination protection # enabled, the operation fails and the stack remains unchanged. For # more information, see [Protect CloudFormation stacks from being # deleted][1] in the *CloudFormation User Guide*. Termination # protection is deactivated on stacks by default. # # For [nested stacks][2], termination protection is set on the root # stack and can't be changed directly on the nested stack. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @return [Boolean] # # @!attribute [rw] retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInput AWS API Documentation # class CreateStackInput < Struct.new( :stack_name, :template_body, :template_url, :parameters, :disable_rollback, :rollback_configuration, :timeout_in_minutes, :notification_arns, :capabilities, :resource_types, :role_arn, :on_failure, :stack_policy_body, :stack_policy_url, :tags, :client_request_token, :enable_termination_protection, :retain_except_on_create) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to create stack # instances from. # @return [String] # # @!attribute [rw] accounts # \[Self-managed permissions\] The account IDs of one or more Amazon # Web Services accounts that you want to create stack instances in the # specified Region(s) for. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # @return [Array] # # @!attribute [rw] deployment_targets # \[Service-managed permissions\] The Organizations accounts in which # to create stack instances in the specified Amazon Web Services # Regions. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # @return [Types::DeploymentTargets] # # @!attribute [rw] regions # The names of one or more Amazon Web Services Regions where you want # to create stack instances using the specified Amazon Web Services # accounts. # @return [Array] # # @!attribute [rw] parameter_overrides # A list of StackSet parameters whose values you want to override in # the selected stack instances. # # Any overridden parameter values will be applied to all stack # instances in the specified accounts and Amazon Web Services Regions. # When specifying parameters and their values, be aware of how # CloudFormation sets parameter values during stack instance # operations: # # * To override the current value for a parameter, include the # parameter and specify its value. # # * To leave an overridden parameter set to its present value, include # the parameter and specify `UsePreviousValue` as `true`. (You # can't specify both a value and set `UsePreviousValue` to `true`.) # # * To set an overridden parameter back to the value specified in the # StackSet, specify a parameter list but don't include the # parameter in the list. # # * To leave all parameters set to their present values, don't # specify this property at all. # # During StackSet updates, any parameter values overridden for a stack # instance aren't updated, but retain their overridden value. # # You can only override the parameter *values* that are specified in # the StackSet; to add or delete a parameter itself, use # [UpdateStackSet][1] to update the StackSet template. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html # @return [Array] # # @!attribute [rw] operation_preferences # Preferences for how CloudFormation performs this StackSet operation. # @return [Types::StackSetOperationPreferences] # # @!attribute [rw] operation_id # The unique identifier for this StackSet operation. # # The operation ID also functions as an idempotency token, to ensure # that CloudFormation performs the StackSet operation only once, even # if you retry the request multiple times. You might retry StackSet # operation requests to ensure that CloudFormation successfully # received them. # # If you don't specify an operation ID, the SDK generates one # automatically. # # Repeating this StackSet operation with a new operation ID retries # all stack instances whose status is `OUTDATED`. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesInput AWS API Documentation # class CreateStackInstancesInput < Struct.new( :stack_set_name, :accounts, :deployment_targets, :regions, :parameter_overrides, :operation_preferences, :operation_id, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] operation_id # The unique identifier for this StackSet operation. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstancesOutput AWS API Documentation # class CreateStackInstancesOutput < Struct.new( :operation_id) SENSITIVE = [] include Aws::Structure end # The output for a CreateStack action. # # @!attribute [rw] stack_id # Unique identifier of the stack. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackOutput AWS API Documentation # class CreateStackOutput < Struct.new( :stack_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] description # A description to help you identify the stack refactor. # @return [String] # # @!attribute [rw] enable_stack_creation # Determines if a new stack is created with the refactor. # @return [Boolean] # # @!attribute [rw] resource_mappings # The mappings for the stack resource `Source` and stack resource # `Destination`. # @return [Array] # # @!attribute [rw] stack_definitions # The stacks being refactored. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackRefactorInput AWS API Documentation # class CreateStackRefactorInput < Struct.new( :description, :enable_stack_creation, :resource_mappings, :stack_definitions) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackRefactorOutput AWS API Documentation # class CreateStackRefactorOutput < Struct.new( :stack_refactor_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name to associate with the StackSet. The name must be unique in # the Region where you create your StackSet. # # A stack name can contain only alphanumeric characters # (case-sensitive) and hyphens. It must start with an alphabetic # character and can't be longer than 128 characters. # # # @return [String] # # @!attribute [rw] description # A description of the StackSet. You can use the description to # identify the StackSet's purpose or other important information. # @return [String] # # @!attribute [rw] template_body # The structure that contains the template body, with a minimum length # of 1 byte and a maximum length of 51,200 bytes. # # Conditional: You must specify either the `TemplateBody` or the # `TemplateURL` parameter, but not both. # @return [String] # # @!attribute [rw] template_url # The URL of a file that contains the template body. The URL must # point to a template (maximum size: 1 MB) that's located in an # Amazon S3 bucket or a Systems Manager document. The location for an # Amazon S3 bucket must start with `https://`. S3 static website URLs # are not supported. # # Conditional: You must specify either the `TemplateBody` or the # `TemplateURL` parameter, but not both. # @return [String] # # @!attribute [rw] stack_id # The stack ID you are importing into a new StackSet. Specify the # Amazon Resource Name (ARN) of the stack. # @return [String] # # @!attribute [rw] parameters # The input parameters for the StackSet template. # @return [Array] # # @!attribute [rw] capabilities # In some cases, you must explicitly acknowledge that your StackSet # template contains certain capabilities in order for CloudFormation # to create the StackSet and related stack instances. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account; for example, by # creating new IAM users. For those StackSets, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, # CloudFormation returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we recommend that # you review all permissions associated with them and edit their # permissions if necessary. # # * [AWS::IAM::AccessKey][1] # # * [AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [AWS::IAM::Policy][4] # # * [AWS::IAM::Role][5] # # * [AWS::IAM::User][6] # # * [AWS::IAM::UserToGroupAddition][7] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][8]. # # * `CAPABILITY_AUTO_EXPAND` # # Some templates reference macros. If your StackSet template # references one or more macros, you must create the StackSet # directly from the processed template, without first reviewing the # resulting changes in a change set. To create the StackSet # directly, you must acknowledge this capability. For more # information, see [Perform custom processing on CloudFormation # templates with template macros][9]. # # StackSets with service-managed permissions don't currently # support the use of macros in templates. (This includes the # [AWS::Include][10] and [AWS::Serverless][11] transforms, which are # macros hosted by CloudFormation.) Even if you specify this # capability for a StackSet with service-managed permissions, if you # reference a macro in your template the StackSet operation will # fail. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # @return [Array] # # @!attribute [rw] tags # The key-value pairs to associate with this StackSet and the stacks # created from it. CloudFormation also propagates these tags to # supported resources that are created in the stacks. A maximum number # of 50 tags can be specified. # # If you specify tags as part of a `CreateStackSet` action, # CloudFormation checks to see if you have the required IAM permission # to tag resources. If you don't, the entire `CreateStackSet` action # fails with an `access denied` error, and the StackSet is not # created. # @return [Array] # # @!attribute [rw] administration_role_arn # The Amazon Resource Name (ARN) of the IAM role to use to create this # StackSet. # # Specify an IAM role only if you are using customized administrator # roles to control which users or groups can manage specific StackSets # within the same administrator account. For more information, see # [Grant self-managed permissions][1] in the *CloudFormation User # Guide*. # # Valid only if the permissions model is `SELF_MANAGED`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # @return [String] # # @!attribute [rw] execution_role_name # The name of the IAM execution role to use to create the StackSet. If # you do not specify an execution role, CloudFormation uses the # `AWSCloudFormationStackSetExecutionRole` role for the StackSet # operation. # # Specify an IAM role only if you are using customized execution roles # to control which stack resources users and groups can include in # their StackSets. # # Valid only if the permissions model is `SELF_MANAGED`. # @return [String] # # @!attribute [rw] permission_model # Describes how the IAM roles required for StackSet operations are # created. By default, `SELF-MANAGED` is specified. # # * With `self-managed` permissions, you must create the administrator # and execution roles required to deploy to target accounts. For # more information, see [Grant self-managed permissions][1]. # # * With `service-managed` permissions, StackSets automatically # creates the IAM roles required to deploy to accounts managed by # Organizations. For more information, see [Activate trusted access # for StackSets with Organizations][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html # @return [String] # # @!attribute [rw] auto_deployment # Describes whether StackSets automatically deploys to Organizations # accounts that are added to the target organization or organizational # unit (OU). For more information, see [Enable or disable automatic # deployments for StackSets in Organizations][1] in the # *CloudFormation User Guide*. # # Required if the permissions model is `SERVICE_MANAGED`. (Not used # with self-managed permissions.) # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html # @return [Types::AutoDeployment] # # @!attribute [rw] call_as # Specifies whether you are acting as an account administrator in the # organization's management account or as a delegated administrator # in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * To create a StackSet with service-managed permissions while signed # in to the management account, specify `SELF`. # # * To create a StackSet with service-managed permissions while signed # in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # admin in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # StackSets with service-managed permissions are created in the # management account, including StackSets that are created by # delegated administrators. # # Valid only if the permissions model is `SERVICE_MANAGED`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @!attribute [rw] client_request_token # A unique identifier for this `CreateStackSet` request. Specify this # token if you plan to retry requests so that CloudFormation knows # that you're not attempting to create another StackSet with the same # name. You might retry `CreateStackSet` requests to ensure that # CloudFormation successfully received them. # # If you don't specify an operation ID, the SDK generates one # automatically. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option. # @return [String] # # @!attribute [rw] managed_execution # Describes whether CloudFormation performs non-conflicting operations # concurrently and queues conflicting operations. # @return [Types::ManagedExecution] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetInput AWS API Documentation # class CreateStackSetInput < Struct.new( :stack_set_name, :description, :template_body, :template_url, :stack_id, :parameters, :capabilities, :tags, :administration_role_arn, :execution_role_name, :permission_model, :auto_deployment, :call_as, :client_request_token, :managed_execution) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_id # The ID of the StackSet that you're creating. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSetOutput AWS API Documentation # class CreateStackSetOutput < Struct.new( :stack_set_id) SENSITIVE = [] include Aws::Structure end # The specified resource exists, but has been changed. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreatedButModifiedException AWS API Documentation # class CreatedButModifiedException < Aws::EmptyStructure; end # @api private # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeactivateOrganizationsAccessInput AWS API Documentation # class DeactivateOrganizationsAccessInput < Aws::EmptyStructure; end # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeactivateOrganizationsAccessOutput AWS API Documentation # class DeactivateOrganizationsAccessOutput < Aws::EmptyStructure; end # @!attribute [rw] type_name # The type name of the extension in this account and Region. If you # specified a type name alias when enabling the extension, use the # type name alias. # # Conditional: You must specify either `Arn`, or `TypeName` and # `Type`. # @return [String] # # @!attribute [rw] type # The extension type. # # Conditional: You must specify either `Arn`, or `TypeName` and # `Type`. # @return [String] # # @!attribute [rw] arn # The Amazon Resource Name (ARN) for the extension in this account and # Region. # # Conditional: You must specify either `Arn`, or `TypeName` and # `Type`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeactivateTypeInput AWS API Documentation # class DeactivateTypeInput < Struct.new( :type_name, :type, :arn) SENSITIVE = [] include Aws::Structure end # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeactivateTypeOutput AWS API Documentation # class DeactivateTypeOutput < Aws::EmptyStructure; end # The input for the DeleteChangeSet action. # # @!attribute [rw] change_set_name # The name or Amazon Resource Name (ARN) of the change set that you # want to delete. # @return [String] # # @!attribute [rw] stack_name # If you specified the name of a change set to delete, specify the # stack name or Amazon Resource Name (ARN) that's associated with it. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetInput AWS API Documentation # class DeleteChangeSetInput < Struct.new( :change_set_name, :stack_name) SENSITIVE = [] include Aws::Structure end # The output for the DeleteChangeSet action. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSetOutput AWS API Documentation # class DeleteChangeSetOutput < Aws::EmptyStructure; end # @!attribute [rw] generated_template_name # The name or Amazon Resource Name (ARN) of a generated template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteGeneratedTemplateInput AWS API Documentation # class DeleteGeneratedTemplateInput < Struct.new( :generated_template_name) SENSITIVE = [] include Aws::Structure end # The input for DeleteStack action. # # @!attribute [rw] stack_name # The name or the unique stack ID that's associated with the stack. # @return [String] # # @!attribute [rw] retain_resources # For stacks in the `DELETE_FAILED` state, a list of resource logical # IDs that are associated with the resources you want to retain. # During deletion, CloudFormation deletes the stack but doesn't # delete the retained resources. # # Retaining resources is useful when you can't delete a resource, # such as a non-empty S3 bucket, but you want to delete the stack. # @return [Array] # # @!attribute [rw] role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to delete the stack. CloudFormation uses the role's # credentials to make calls on your behalf. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that's generated from your # user credentials. # @return [String] # # @!attribute [rw] client_request_token # A unique identifier for this `DeleteStack` request. Specify this # token if you plan to retry requests so that CloudFormation knows # that you're not attempting to delete a stack with the same name. # You might retry `DeleteStack` requests to ensure that CloudFormation # successfully received them. # # All events initiated by a given stack operation are assigned the # same client request token, which you can use to track operations. # For example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation # will have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @return [String] # # @!attribute [rw] deletion_mode # Specifies the deletion mode for the stack. Possible values are: # # * `STANDARD` - Use the standard behavior. Specifying this value is # the same as not specifying this parameter. # # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a # `DELETE_FAILED` state due to resource deletion failure. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInput AWS API Documentation # class DeleteStackInput < Struct.new( :stack_name, :retain_resources, :role_arn, :client_request_token, :deletion_mode) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to delete stack # instances for. # @return [String] # # @!attribute [rw] accounts # \[Self-managed permissions\] The account IDs of the Amazon Web # Services accounts that you want to delete stack instances for. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # @return [Array] # # @!attribute [rw] deployment_targets # \[Service-managed permissions\] The Organizations accounts from # which to delete stack instances. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # @return [Types::DeploymentTargets] # # @!attribute [rw] regions # The Amazon Web Services Regions where you want to delete StackSet # instances. # @return [Array] # # @!attribute [rw] operation_preferences # Preferences for how CloudFormation performs this StackSet operation. # @return [Types::StackSetOperationPreferences] # # @!attribute [rw] retain_stacks # Removes the stack instances from the specified StackSet, but # doesn't delete the stacks. You can't reassociate a retained stack # or add an existing, saved stack to a new stack set. # # For more information, see [StackSet operation options][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options # @return [Boolean] # # @!attribute [rw] operation_id # The unique identifier for this StackSet operation. # # If you don't specify an operation ID, the SDK generates one # automatically. # # The operation ID also functions as an idempotency token, to ensure # that CloudFormation performs the StackSet operation only once, even # if you retry the request multiple times. You can retry StackSet # operation requests to ensure that CloudFormation successfully # received them. # # Repeating this StackSet operation with a new operation ID retries # all stack instances whose status is `OUTDATED`. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesInput AWS API Documentation # class DeleteStackInstancesInput < Struct.new( :stack_set_name, :accounts, :deployment_targets, :regions, :operation_preferences, :retain_stacks, :operation_id, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] operation_id # The unique identifier for this StackSet operation. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstancesOutput AWS API Documentation # class DeleteStackInstancesOutput < Struct.new( :operation_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you're deleting. You can # obtain this value by running ListStackSets. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetInput AWS API Documentation # class DeleteStackSetInput < Struct.new( :stack_set_name, :call_as) SENSITIVE = [] include Aws::Structure end # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSetOutput AWS API Documentation # class DeleteStackSetOutput < Aws::EmptyStructure; end # Specifies the Organizations accounts where you want to create, update, # or delete stack instances. You can target either your entire # organization or specific accounts using organizational units (OUs) and # account filter options. # # CloudFormation doesn't deploy stack instances to the organization # management account, even if the organization management account is in # your organization or in an OU in your organization. # # When performing create operations, if you specify both # `OrganizationalUnitIds` and `Accounts`, you must also specify the # `AccountFilterType` property. # # @!attribute [rw] accounts # The Amazon Web Services account IDs where you want to perform stack # operations. How these accounts are used depends on the # `AccountFilterType` property. # # If you have many account numbers, you can provide those accounts # using the `AccountsUrl` property instead. # @return [Array] # # @!attribute [rw] accounts_url # The Amazon S3 URL path to a file that contains a list of Amazon Web # Services account IDs. The file format must be either `.csv` or # `.txt`, and the data can be comma-separated or new-line-separated. # There is currently a 10MB limit for the data (approximately 800,000 # accounts). # # This property serves the same purpose as `Accounts` but allows you # to specify a large number of accounts. # @return [String] # # @!attribute [rw] organizational_unit_ids # The organization root ID or organizational unit (OU) IDs where you # want to perform stack operations. CloudFormation will perform # operations on accounts within these OUs and their child OUs. # @return [Array] # # @!attribute [rw] account_filter_type # Refines which accounts will have stack operations performed on them # by specifying how to use the `Accounts` and `OrganizationalUnitIds` # properties together. # # The following values determine how CloudFormation selects target # accounts: # # * `INTERSECTION`: Performs stack operations only on specific # individual accounts within the selected OUs. Only accounts that # are both specified in the `Accounts` property and belong to the # specified OUs will be targeted. # # * `DIFFERENCE`: Performs stack operations on all accounts in the # selected OUs except for specific accounts listed in the `Accounts` # property. This enables you to exclude certain accounts within an # OU, such as suspended accounts. # # * `UNION`: Performs stack operations on the specified OUs plus # additional individual accounts listed in the `Accounts` property. # This is the default value if `AccountFilterType` is not provided. # This lets you target an entire OU and individual accounts from a # different OU in one request. Note that `UNION` is not supported # for `CreateStackInstances` operations. # # * `NONE`: Performs stack operations on all accounts in the specified # organizational units (OUs). # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeploymentTargets AWS API Documentation # class DeploymentTargets < Struct.new( :accounts, :accounts_url, :organizational_unit_ids, :account_filter_type) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] type # The kind of extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] version_id # The ID of a specific version of the extension. The version ID is the # value at the end of the Amazon Resource Name (ARN) assigned to the # extension version when it is registered. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeregisterTypeInput AWS API Documentation # class DeregisterTypeInput < Struct.new( :arn, :type, :type_name, :version_id) SENSITIVE = [] include Aws::Structure end # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeregisterTypeOutput AWS API Documentation # class DeregisterTypeOutput < Aws::EmptyStructure; end # The input for the DescribeAccountLimits action. # # @!attribute [rw] next_token # A string that identifies the next page of limits that you want to # retrieve. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsInput AWS API Documentation # class DescribeAccountLimitsInput < Struct.new( :next_token) SENSITIVE = [] include Aws::Structure end # The output for the DescribeAccountLimits action. # # @!attribute [rw] account_limits # An account limit structure that contain a list of CloudFormation # account limits and their values. # @return [Array] # # @!attribute [rw] next_token # If the output exceeds 1 MB in size, a string that identifies the # next page of limits. If no additional page exists, this value is # null. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimitsOutput AWS API Documentation # class DescribeAccountLimitsOutput < Struct.new( :account_limits, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] change_set_name # The name or Amazon Resource Name (ARN) of the change set that you # want to describe. # @return [String] # # @!attribute [rw] stack_name # If you specified the name of a change set, specify the stack name or # stack ID (ARN) of the change set you want to describe. # @return [String] # # @!attribute [rw] next_token # A string, provided by the `DescribeChangeSetHooks` response output, # that identifies the next page of information that you want to # retrieve. # @return [String] # # @!attribute [rw] logical_resource_id # If specified, lists only the Hooks related to the specified # `LogicalResourceId`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetHooksInput AWS API Documentation # class DescribeChangeSetHooksInput < Struct.new( :change_set_name, :stack_name, :next_token, :logical_resource_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] change_set_id # The change set identifier (stack ID). # @return [String] # # @!attribute [rw] change_set_name # The change set name. # @return [String] # # @!attribute [rw] hooks # List of Hook objects. # @return [Array] # # @!attribute [rw] status # Provides the status of the change set hook. # @return [String] # # @!attribute [rw] next_token # Pagination token, `null` or empty if no more results. # @return [String] # # @!attribute [rw] stack_id # The stack identifier (stack ID). # @return [String] # # @!attribute [rw] stack_name # The stack name. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetHooksOutput AWS API Documentation # class DescribeChangeSetHooksOutput < Struct.new( :change_set_id, :change_set_name, :hooks, :status, :next_token, :stack_id, :stack_name) SENSITIVE = [] include Aws::Structure end # The input for the DescribeChangeSet action. # # @!attribute [rw] change_set_name # The name or Amazon Resource Name (ARN) of the change set that you # want to describe. # @return [String] # # @!attribute [rw] stack_name # If you specified the name of a change set, specify the stack name or # ID (ARN) of the change set you want to describe. # @return [String] # # @!attribute [rw] next_token # A string (provided by the DescribeChangeSet response output) that # identifies the next page of information that you want to retrieve. # @return [String] # # @!attribute [rw] include_property_values # If `true`, the returned changes include detailed changes in the # property values. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetInput AWS API Documentation # class DescribeChangeSetInput < Struct.new( :change_set_name, :stack_name, :next_token, :include_property_values) SENSITIVE = [] include Aws::Structure end # The output for the DescribeChangeSet action. # # @!attribute [rw] change_set_name # The name of the change set. # @return [String] # # @!attribute [rw] change_set_id # The Amazon Resource Name (ARN) of the change set. # @return [String] # # @!attribute [rw] stack_id # The Amazon Resource Name (ARN) of the stack that's associated with # the change set. # @return [String] # # @!attribute [rw] stack_name # The name of the stack that's associated with the change set. # @return [String] # # @!attribute [rw] description # Information about the change set. # @return [String] # # @!attribute [rw] parameters # A list of `Parameter` structures that describes the input parameters # and their values used to create the change set. For more # information, see the [Parameter][1] data type. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html # @return [Array] # # @!attribute [rw] creation_time # The start time when the change set was created, in UTC. # @return [Time] # # @!attribute [rw] execution_status # If the change set execution status is `AVAILABLE`, you can execute # the change set. If you can't execute the change set, the status # indicates why. For example, a change set might be in an # `UNAVAILABLE` state because CloudFormation is still creating it or # in an `OBSOLETE` state because the stack was already updated. # @return [String] # # @!attribute [rw] status # The current status of the change set, such as `CREATE_PENDING`, # `CREATE_COMPLETE`, or `FAILED`. # @return [String] # # @!attribute [rw] status_reason # A description of the change set's status. For example, if your # attempt to create a change set failed, CloudFormation shows the # error message. # @return [String] # # @!attribute [rw] notification_arns # The ARNs of the Amazon SNS topics that will be associated with the # stack if you execute the change set. # @return [Array] # # @!attribute [rw] rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @return [Types::RollbackConfiguration] # # @!attribute [rw] capabilities # If you execute the change set, the list of capabilities that were # explicitly acknowledged when the change set was created. # @return [Array] # # @!attribute [rw] tags # If you execute the change set, the tags that will be associated with # the stack. # @return [Array] # # @!attribute [rw] changes # A list of `Change` structures that describes the resources # CloudFormation changes if you execute the change set. # @return [Array] # # @!attribute [rw] next_token # If the output exceeds 1 MB, a string that identifies the next page # of changes. If there is no additional page, this value is null. # @return [String] # # @!attribute [rw] include_nested_stacks # Verifies if `IncludeNestedStacks` is set to `True`. # @return [Boolean] # # @!attribute [rw] parent_change_set_id # Specifies the change set ID of the parent change set in the current # nested change set hierarchy. # @return [String] # # @!attribute [rw] root_change_set_id # Specifies the change set ID of the root change set in the current # nested change set hierarchy. # @return [String] # # @!attribute [rw] on_stack_failure # Determines what action will be taken if stack creation fails. When # this parameter is specified, the `DisableRollback` parameter to the # [ExecuteChangeSet][1] API operation must not be specified. This must # be one of these values: # # * `DELETE` - Deletes the change set if the stack creation fails. # This is only valid when the `ChangeSetType` parameter is set to # `CREATE`. If the deletion of the stack fails, the status of the # stack is `DELETE_FAILED`. # # * `DO_NOTHING` - if the stack creation fails, do nothing. This is # equivalent to specifying `true` for the `DisableRollback` # parameter to the [ExecuteChangeSet][1] API operation. # # * `ROLLBACK` - if the stack creation fails, roll back the stack. # This is equivalent to specifying `false` for the `DisableRollback` # parameter to the [ExecuteChangeSet][1] API operation. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html # @return [String] # # @!attribute [rw] import_existing_resources # Indicates if the change set imports resources that already exist. # # This parameter can only import resources that have [custom names][1] # in templates. To import resources that do not accept custom names, # such as EC2 instances, use the [resource import][2] feature instead. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-properties-name.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import.html # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetOutput AWS API Documentation # class DescribeChangeSetOutput < Struct.new( :change_set_name, :change_set_id, :stack_id, :stack_name, :description, :parameters, :creation_time, :execution_status, :status, :status_reason, :notification_arns, :rollback_configuration, :capabilities, :tags, :changes, :next_token, :include_nested_stacks, :parent_change_set_id, :root_change_set_id, :on_stack_failure, :import_existing_resources) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] generated_template_name # The name or Amazon Resource Name (ARN) of a generated template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeGeneratedTemplateInput AWS API Documentation # class DescribeGeneratedTemplateInput < Struct.new( :generated_template_name) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] generated_template_id # The Amazon Resource Name (ARN) of the generated template. The format # is # `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. # For example, # `arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc # `. # @return [String] # # @!attribute [rw] generated_template_name # The name of the generated template. # @return [String] # # @!attribute [rw] resources # A list of objects describing the details of the resources in the # template generation. # @return [Array] # # @!attribute [rw] status # The status of the template generation. Supported values are: # # * `CreatePending` - the creation of the template is pending. # # * `CreateInProgress` - the creation of the template is in progress. # # * `DeletePending` - the deletion of the template is pending. # # * `DeleteInProgress` - the deletion of the template is in progress. # # * `UpdatePending` - the update of the template is pending. # # * `UpdateInProgress` - the update of the template is in progress. # # * `Failed` - the template operation failed. # # * `Complete` - the template operation is complete. # @return [String] # # @!attribute [rw] status_reason # The reason for the current template generation status. This will # provide more details if a failure happened. # @return [String] # # @!attribute [rw] creation_time # The time the generated template was created. # @return [Time] # # @!attribute [rw] last_updated_time # The time the generated template was last updated. # @return [Time] # # @!attribute [rw] progress # An object describing the progress of the template generation. # @return [Types::TemplateProgress] # # @!attribute [rw] stack_id # The stack ARN of the base stack if a base stack was provided when # generating the template. # @return [String] # # @!attribute [rw] template_configuration # The configuration details of the generated template, including the # `DeletionPolicy` and `UpdateReplacePolicy`. # @return [Types::TemplateConfiguration] # # @!attribute [rw] total_warnings # The number of warnings generated for this template. The warnings are # found in the details of each of the resources in the template. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeGeneratedTemplateOutput AWS API Documentation # class DescribeGeneratedTemplateOutput < Struct.new( :generated_template_id, :generated_template_name, :resources, :status, :status_reason, :creation_time, :last_updated_time, :progress, :stack_id, :template_configuration, :total_warnings) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeOrganizationsAccessInput AWS API Documentation # class DescribeOrganizationsAccessInput < Struct.new( :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] status # Presents the status of the `OrganizationAccess`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeOrganizationsAccessOutput AWS API Documentation # class DescribeOrganizationsAccessOutput < Struct.new( :status) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] publisher_id # The ID of the extension publisher. # # If you don't supply a `PublisherId`, and you have registered as an # extension publisher, `DescribePublisher` returns information about # your own publisher account. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribePublisherInput AWS API Documentation # class DescribePublisherInput < Struct.new( :publisher_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] publisher_id # The ID of the extension publisher. # @return [String] # # @!attribute [rw] publisher_status # Whether the publisher is verified. Currently, all registered # publishers are verified. # @return [String] # # @!attribute [rw] identity_provider # The type of account used as the identity provider when registering # this publisher with CloudFormation. # @return [String] # # @!attribute [rw] publisher_profile # The URL to the publisher's profile with the identity provider. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribePublisherOutput AWS API Documentation # class DescribePublisherOutput < Struct.new( :publisher_id, :publisher_status, :identity_provider, :publisher_profile) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeResourceScanInput AWS API Documentation # class DescribeResourceScanInput < Struct.new( :resource_scan_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. The format is # `arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}`. # An example is # `arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772 # `. # @return [String] # # @!attribute [rw] status # Status of the resource scan. # # IN\_PROGRESS # # : The resource scan is still in progress. # # COMPLETE # # : The resource scan is complete. # # EXPIRED # # : The resource scan has expired. # # FAILED # # : The resource scan has failed. # @return [String] # # @!attribute [rw] status_reason # The reason for the resource scan status, providing more information # if a failure happened. # @return [String] # # @!attribute [rw] start_time # The time that the resource scan was started. # @return [Time] # # @!attribute [rw] end_time # The time that the resource scan was finished. # @return [Time] # # @!attribute [rw] percentage_completed # The percentage of the resource scan that has been completed. # @return [Float] # # @!attribute [rw] resource_types # The list of resource types for the specified scan. Resource types # are only available for scans with a `Status` set to `COMPLETE` or # `FAILED `. # @return [Array] # # @!attribute [rw] resources_scanned # The number of resources that were listed. This is only available for # scans with a `Status` set to `COMPLETE`, `EXPIRED`, or `FAILED `. # @return [Integer] # # @!attribute [rw] resources_read # The number of resources that were read. This is only available for # scans with a `Status` set to `COMPLETE`, `EXPIRED`, or `FAILED`. # # This field may be 0 if the resource scan failed with a # `ResourceScanLimitExceededException`. # # # @return [Integer] # # @!attribute [rw] scan_filters # The scan filters that were used. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeResourceScanOutput AWS API Documentation # class DescribeResourceScanOutput < Struct.new( :resource_scan_id, :status, :status_reason, :start_time, :end_time, :percentage_completed, :resource_types, :resources_scanned, :resources_read, :scan_filters) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_drift_detection_id # The ID of the drift detection results of this operation. # # CloudFormation generates new results, with a new drift detection ID, # each time this operation is run. However, the number of drift # results CloudFormation retains for any given stack, and for how # long, may vary. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackDriftDetectionStatusInput AWS API Documentation # class DescribeStackDriftDetectionStatusInput < Struct.new( :stack_drift_detection_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_id # The ID of the stack. # @return [String] # # @!attribute [rw] stack_drift_detection_id # The ID of the drift detection results of this operation. # # CloudFormation generates new results, with a new drift detection ID, # each time this operation is run. However, the number of reports # CloudFormation retains for any given stack, and for how long, may # vary. # @return [String] # # @!attribute [rw] stack_drift_status # Status of the stack's actual configuration compared to its expected # configuration. # # * `DRIFTED`: The stack differs from its expected template # configuration. A stack is considered to have drifted if one or # more of its resources have drifted. # # * `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs # from its expected template configuration. # # * `IN_SYNC`: The stack's actual configuration matches its expected # template configuration. # # * `UNKNOWN`: CloudFormation could not run drift detection for a # resource in the stack. See the `DetectionStatusReason` for # details. # @return [String] # # @!attribute [rw] detection_status # The status of the stack drift detection operation. # # * `DETECTION_COMPLETE`: The stack drift detection operation has # successfully completed for all resources in the stack that support # drift detection. (Resources that don't currently support stack # detection remain unchecked.) # # If you specified logical resource IDs for CloudFormation to use as # a filter for the stack drift detection operation, only the # resources with those logical IDs are checked for drift. # # * `DETECTION_FAILED`: The stack drift detection operation has failed # for at least one resource in the stack. Results will be available # for resources on which CloudFormation successfully completed drift # detection. # # * `DETECTION_IN_PROGRESS`: The stack drift detection operation is # currently in progress. # @return [String] # # @!attribute [rw] detection_status_reason # The reason the stack drift detection operation has its current # status. # @return [String] # # @!attribute [rw] drifted_stack_resource_count # Total number of stack resources that have drifted. This is NULL # until the drift detection operation reaches a status of # `DETECTION_COMPLETE`. This value will be 0 for stacks whose drift # status is `IN_SYNC`. # @return [Integer] # # @!attribute [rw] timestamp # Time at which the stack drift detection operation was initiated. # @return [Time] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackDriftDetectionStatusOutput AWS API Documentation # class DescribeStackDriftDetectionStatusOutput < Struct.new( :stack_id, :stack_drift_detection_id, :stack_drift_status, :detection_status, :detection_status_reason, :drifted_stack_resource_count, :timestamp) SENSITIVE = [] include Aws::Structure end # The input for DescribeStackEvents action. # # @!attribute [rw] stack_name # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # @return [String] # # @!attribute [rw] next_token # A string that identifies the next page of events that you want to # retrieve. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsInput AWS API Documentation # class DescribeStackEventsInput < Struct.new( :stack_name, :next_token) SENSITIVE = [] include Aws::Structure end # The output for a DescribeStackEvents action. # # @!attribute [rw] stack_events # A list of `StackEvents` structures. # @return [Array] # # @!attribute [rw] next_token # If the output exceeds 1 MB in size, a string that identifies the # next page of events. If no additional page exists, this value is # null. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEventsOutput AWS API Documentation # class DescribeStackEventsOutput < Struct.new( :stack_events, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or the unique stack ID of the StackSet that you want to get # stack instance information for. # @return [String] # # @!attribute [rw] stack_instance_account # The ID of an Amazon Web Services account that's associated with # this stack instance. # @return [String] # # @!attribute [rw] stack_instance_region # The name of a Region that's associated with this stack instance. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceInput AWS API Documentation # class DescribeStackInstanceInput < Struct.new( :stack_set_name, :stack_instance_account, :stack_instance_region, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_instance # The stack instance that matches the specified request parameters. # @return [Types::StackInstance] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstanceOutput AWS API Documentation # class DescribeStackInstanceOutput < Struct.new( :stack_instance) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackRefactorInput AWS API Documentation # class DescribeStackRefactorInput < Struct.new( :stack_refactor_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] description # A description to help you identify the refactor. # @return [String] # # @!attribute [rw] stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # @return [String] # # @!attribute [rw] stack_ids # The unique ID for each stack. # @return [Array] # # @!attribute [rw] execution_status # The stack refactor execution operation status that's provided after # calling the ExecuteStackRefactor action. # @return [String] # # @!attribute [rw] execution_status_reason # A detailed explanation for the stack refactor `ExecutionStatus`. # @return [String] # # @!attribute [rw] status # The stack refactor operation status that's provided after calling # the CreateStackRefactor action. # @return [String] # # @!attribute [rw] status_reason # A detailed explanation for the stack refactor operation `Status`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackRefactorOutput AWS API Documentation # class DescribeStackRefactorOutput < Struct.new( :description, :stack_refactor_id, :stack_ids, :execution_status, :execution_status_reason, :status, :status_reason) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_name # The name of the stack for which you want drift information. # @return [String] # # @!attribute [rw] stack_resource_drift_status_filters # The resource drift status values to use as filters for the resource # drift results returned. # # * `DELETED`: The resource differs from its expected template # configuration in that the resource has been deleted. # # * `MODIFIED`: One or more resource properties differ from their # expected template values. # # * `IN_SYNC`: The resource's actual configuration matches its # expected template configuration. # # * `NOT_CHECKED`: CloudFormation doesn't currently return this # value. # # * `UNKNOWN`: CloudFormation could not run drift detection for the # resource. # @return [Array] # # @!attribute [rw] next_token # A string that identifies the next page of stack resource drift # results. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceDriftsInput AWS API Documentation # class DescribeStackResourceDriftsInput < Struct.new( :stack_name, :stack_resource_drift_status_filters, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_resource_drifts # Drift information for the resources that have been checked for drift # in the specified stack. This includes actual and expected # configuration values for resources where CloudFormation detects # drift. # # For a given stack, there will be one `StackResourceDrift` for each # stack resource that has been checked for drift. Resources that # haven't yet been checked for drift aren't included. Resources that # do not currently support drift detection aren't checked, and so not # included. For a list of resources that support drift detection, see # [Resource type support for imports and drift detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call `DescribeStackResourceDrifts` again and assign that token to # the request object's `NextToken` parameter. If the request returns # all results, `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceDriftsOutput AWS API Documentation # class DescribeStackResourceDriftsOutput < Struct.new( :stack_resource_drifts, :next_token) SENSITIVE = [] include Aws::Structure end # The input for DescribeStackResource action. # # @!attribute [rw] stack_name # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource as specified in the template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceInput AWS API Documentation # class DescribeStackResourceInput < Struct.new( :stack_name, :logical_resource_id) SENSITIVE = [] include Aws::Structure end # The output for a DescribeStackResource action. # # @!attribute [rw] stack_resource_detail # A `StackResourceDetail` structure that contains the description of # the specified resource in the specified stack. # @return [Types::StackResourceDetail] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceOutput AWS API Documentation # class DescribeStackResourceOutput < Struct.new( :stack_resource_detail) SENSITIVE = [] include Aws::Structure end # The input for DescribeStackResources action. # # @!attribute [rw] stack_name # The name or the unique stack ID that is associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # # Required: Conditional. If you don't specify `StackName`, you must # specify `PhysicalResourceId`. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource as specified in the template. # @return [String] # # @!attribute [rw] physical_resource_id # The name or unique identifier that corresponds to a physical # instance ID of a resource supported by CloudFormation. # # For example, for an Amazon Elastic Compute Cloud (EC2) instance, # `PhysicalResourceId` corresponds to the `InstanceId`. You can pass # the EC2 `InstanceId` to `DescribeStackResources` to find which stack # the instance belongs to and what other resources are part of the # stack. # # Required: Conditional. If you don't specify `PhysicalResourceId`, # you must specify `StackName`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesInput AWS API Documentation # class DescribeStackResourcesInput < Struct.new( :stack_name, :logical_resource_id, :physical_resource_id) SENSITIVE = [] include Aws::Structure end # The output for a DescribeStackResources action. # # @!attribute [rw] stack_resources # A list of `StackResource` structures. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourcesOutput AWS API Documentation # class DescribeStackResourcesOutput < Struct.new( :stack_resources) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet whose description you want. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetInput AWS API Documentation # class DescribeStackSetInput < Struct.new( :stack_set_name, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or the unique stack ID of the StackSet for the stack # operation. # @return [String] # # @!attribute [rw] operation_id # The unique ID of the StackSet operation. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationInput AWS API Documentation # class DescribeStackSetOperationInput < Struct.new( :stack_set_name, :operation_id, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_operation # The specified StackSet operation. # @return [Types::StackSetOperation] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperationOutput AWS API Documentation # class DescribeStackSetOperationOutput < Struct.new( :stack_set_operation) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set # The specified StackSet. # @return [Types::StackSet] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOutput AWS API Documentation # class DescribeStackSetOutput < Struct.new( :stack_set) SENSITIVE = [] include Aws::Structure end # The input for DescribeStacks action. # # @!attribute [rw] stack_name # If you don't pass a parameter to `StackName`, the API returns a # response that describes all resources in the account, which can # impact performance. This requires `ListStacks` and `DescribeStacks` # permissions. # # Consider using the ListStacks API if you're not passing a parameter # to `StackName`. # # The IAM policy below can be added to IAM policies when you want to # limit resource-level permissions and avoid returning a response when # no parameter is sent in the request: # # \{ "Version": "2012-10-17", "Statement": \[\{ "Effect": # "Deny", "Action": "cloudformation:DescribeStacks", # "NotResource": "arn:aws:cloudformation:*:*:stack/*/*" }\] } # # # # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # @return [String] # # @!attribute [rw] next_token # A string that identifies the next page of stacks that you want to # retrieve. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksInput AWS API Documentation # class DescribeStacksInput < Struct.new( :stack_name, :next_token) SENSITIVE = [] include Aws::Structure end # The output for a DescribeStacks action. # # @!attribute [rw] stacks # A list of stack structures. # @return [Array] # # @!attribute [rw] next_token # If the output exceeds 1 MB in size, a string that identifies the # next page of stacks. If no additional page exists, this value is # null. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacksOutput AWS API Documentation # class DescribeStacksOutput < Struct.new( :stacks, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type # The kind of extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] version_id # The ID of a specific version of the extension. The version ID is the # value at the end of the Amazon Resource Name (ARN) assigned to the # extension version when it is registered. # # If you specify a `VersionId`, `DescribeType` returns information # about that specific extension version. Otherwise, it returns # information about the default extension version. # @return [String] # # @!attribute [rw] publisher_id # The publisher ID of the extension publisher. # # Extensions provided by Amazon Web Services are not assigned a # publisher ID. # @return [String] # # @!attribute [rw] public_version_number # The version number of a public third-party extension. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeTypeInput AWS API Documentation # class DescribeTypeInput < Struct.new( :type, :type_name, :arn, :version_id, :publisher_id, :public_version_number) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the extension. # @return [String] # # @!attribute [rw] type # The kind of extension. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # If the extension is a public third-party type you have activated # with a type name alias, CloudFormation returns the type name alias. # For more information, see [ActivateType][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html # @return [String] # # @!attribute [rw] default_version_id # The ID of the default version of the extension. The default version # is used when the extension version isn't specified. # # This applies only to private extensions you have registered in your # account. For public extensions, both those provided by Amazon Web # Services and published by third parties, CloudFormation returns # `null`. For more information, see [RegisterType][1]. # # To set the default version of an extension, use # SetTypeDefaultVersion. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # @return [String] # # @!attribute [rw] is_default_version # Whether the specified extension version is set as the default # version. # # This applies only to private extensions you have registered in your # account, and extensions published by Amazon Web Services. For public # third-party extensions, whether they are activated in your account, # CloudFormation returns `null`. # @return [Boolean] # # @!attribute [rw] type_tests_status # The contract test status of the registered extension version. To # return the extension test status of a specific extension version, # you must specify `VersionId`. # # This applies only to registered private extension versions. # CloudFormation doesn't return this information for public # extensions, whether they are activated in your account. # # * `PASSED`: The extension has passed all its contract tests. # # An extension must have a test status of `PASSED` before it can be # published. For more information, see [Publishing extensions to # make them available for public use][1] in the *CloudFormation # Command Line Interface (CLI) User Guide*. # # * `FAILED`: The extension has failed one or more contract tests. # # * `IN_PROGRESS`: Contract tests are currently being performed on the # extension. # # * `NOT_TESTED`: Contract tests haven't been performed on the # extension. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html # @return [String] # # @!attribute [rw] type_tests_status_description # The description of the test status. To return the extension test # status of a specific extension version, you must specify # `VersionId`. # # This applies only to registered private extension versions. # CloudFormation doesn't return this information for public # extensions, whether they are activated in your account. # @return [String] # # @!attribute [rw] description # The description of the extension. # @return [String] # # @!attribute [rw] schema # The schema that defines the extension. # # For more information, see [Resource type schema][1] in the # *CloudFormation Command Line Interface (CLI) User Guide* and the # [CloudFormation Hooks User Guide][2]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html # [2]: https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html # @return [String] # # @!attribute [rw] provisioning_type # For resource type extensions, the provisioning behavior of the # resource type. CloudFormation determines the provisioning type # during registration, based on the types of handlers in the schema # handler package submitted. # # Valid values include: # # * `FULLY_MUTABLE`: The resource type includes an update handler to # process updates to the type during stack update operations. # # * `IMMUTABLE`: The resource type doesn't include an update handler, # so the type can't be updated and must instead be replaced during # stack update operations. # # * `NON_PROVISIONABLE`: The resource type doesn't include all the # following handlers, and therefore can't actually be provisioned. # # * create # # * read # # * delete # @return [String] # # @!attribute [rw] deprecated_status # The deprecation status of the extension version. # # Valid values include: # # * `LIVE`: The extension is activated or registered and can be used # in CloudFormation operations, dependent on its provisioning # behavior and visibility scope. # # * `DEPRECATED`: The extension has been deactivated or deregistered # and can no longer be used in CloudFormation operations. # # For public third-party extensions, CloudFormation returns `null`. # @return [String] # # @!attribute [rw] logging_config # Contains logging configuration information for private extensions. # This applies only to private extensions you have registered in your # account. For public extensions, both those provided by Amazon Web # Services and published by third parties, CloudFormation returns # `null`. For more information, see [RegisterType][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # @return [Types::LoggingConfig] # # @!attribute [rw] required_activated_types # For extensions that are modules, the public third-party extensions # that must be activated in your account in order for the module # itself to be activated. # @return [Array] # # @!attribute [rw] execution_role_arn # The Amazon Resource Name (ARN) of the IAM execution role used to # register the extension. This applies only to private extensions you # have registered in your account. For more information, see # [RegisterType][1]. # # If the registered extension calls any Amazon Web Services APIs, you # must create an IAM # execution role that includes the necessary permissions to # call those Amazon Web Services APIs, and provision that execution # role in your account. CloudFormation then assumes that execution # role to provide your extension with the appropriate credentials. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # @return [String] # # @!attribute [rw] visibility # The scope at which the extension is visible and usable in # CloudFormation operations. # # Valid values include: # # * `PRIVATE`: The extension is only visible and usable within the # account in which it is registered. CloudFormation marks any # extensions you register as `PRIVATE`. # # * `PUBLIC`: The extension is publicly visible and usable within any # Amazon Web Services account. # @return [String] # # @!attribute [rw] source_url # The URL of the source code for the extension. # @return [String] # # @!attribute [rw] documentation_url # The URL of a page providing detailed documentation for this # extension. # @return [String] # # @!attribute [rw] last_updated # When the specified extension version was registered. This applies # only to: # # * Private extensions you have registered in your account. For more # information, see [RegisterType][1]. # # * Public extensions you have activated in your account with # auto-update specified. For more information, see # [ActivateType][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html # @return [Time] # # @!attribute [rw] time_created # When the specified private extension version was registered or # activated in your account. # @return [Time] # # @!attribute [rw] configuration_schema # A JSON string that represent the current configuration data for the # extension in this account and Region. # # To set the configuration data for an extension, use # [SetTypeConfiguration][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html # @return [String] # # @!attribute [rw] publisher_id # The publisher ID of the extension publisher. # # This applies only to public third-party extensions. For private # registered extensions, and extensions provided by Amazon Web # Services, CloudFormation returns `null`. # @return [String] # # @!attribute [rw] original_type_name # For public extensions that have been activated for this account and # Region, the type name of the public extension. # # If you specified a `TypeNameAlias` when enabling the extension in # this account and Region, CloudFormation treats that alias as the # extension's type name within the account and Region, not the type # name of the public extension. For more information, see [Use aliases # to refer to extensions][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias # @return [String] # # @!attribute [rw] original_type_arn # For public extensions that have been activated for this account and # Region, the Amazon Resource Name (ARN) of the public extension. # @return [String] # # @!attribute [rw] public_version_number # The version number of a public third-party extension. # # This applies only if you specify a public extension you have # activated in your account, or specify a public extension without # specifying a version. For all other extensions, CloudFormation # returns `null`. # @return [String] # # @!attribute [rw] latest_public_version # The latest version of a public extension *that is available* for # use. # # This only applies if you specify a public extension, and you don't # specify a version. For all other requests, CloudFormation returns # `null`. # @return [String] # # @!attribute [rw] is_activated # Whether the extension is activated in the account and Region. # # This only applies to public third-party extensions. For all other # extensions, CloudFormation returns `null`. # @return [Boolean] # # @!attribute [rw] auto_update # Whether CloudFormation automatically updates the extension in this # account and Region when a new *minor* version is published by the # extension publisher. Major versions released by the publisher must # be manually updated. For more information, see [Automatically use # new versions of extensions][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeTypeOutput AWS API Documentation # class DescribeTypeOutput < Struct.new( :arn, :type, :type_name, :default_version_id, :is_default_version, :type_tests_status, :type_tests_status_description, :description, :schema, :provisioning_type, :deprecated_status, :logging_config, :required_activated_types, :execution_role_arn, :visibility, :source_url, :documentation_url, :last_updated, :time_created, :configuration_schema, :publisher_id, :original_type_name, :original_type_arn, :public_version_number, :latest_public_version, :is_activated, :auto_update) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] registration_token # The identifier for this registration request. # # This registration token is generated by CloudFormation when you # initiate a registration request using RegisterType. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeTypeRegistrationInput AWS API Documentation # class DescribeTypeRegistrationInput < Struct.new( :registration_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] progress_status # The current status of the extension registration request. # @return [String] # # @!attribute [rw] description # The description of the extension registration request. # @return [String] # # @!attribute [rw] type_arn # The Amazon Resource Name (ARN) of the extension being registered. # # For registration requests with a `ProgressStatus` of other than # `COMPLETE`, this will be `null`. # @return [String] # # @!attribute [rw] type_version_arn # The Amazon Resource Name (ARN) of this specific version of the # extension being registered. # # For registration requests with a `ProgressStatus` of other than # `COMPLETE`, this will be `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeTypeRegistrationOutput AWS API Documentation # class DescribeTypeRegistrationOutput < Struct.new( :progress_status, :description, :type_arn, :type_version_arn) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_name # The name of the stack for which you want to detect drift. # @return [String] # # @!attribute [rw] logical_resource_ids # The logical names of any resources you want to use as filters. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackDriftInput AWS API Documentation # class DetectStackDriftInput < Struct.new( :stack_name, :logical_resource_ids) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_drift_detection_id # The ID of the drift detection results of this operation. # # CloudFormation generates new results, with a new drift detection ID, # each time this operation is run. However, the number of drift # results CloudFormation retains for any given stack, and for how # long, may vary. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackDriftOutput AWS API Documentation # class DetectStackDriftOutput < Struct.new( :stack_drift_detection_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_name # The name of the stack to which the resource belongs. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource for which to return drift # information. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackResourceDriftInput AWS API Documentation # class DetectStackResourceDriftInput < Struct.new( :stack_name, :logical_resource_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_resource_drift # Information about whether the resource's actual configuration has # drifted from its expected template configuration, including actual # and expected property values and any differences detected. # @return [Types::StackResourceDrift] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackResourceDriftOutput AWS API Documentation # class DetectStackResourceDriftOutput < Struct.new( :stack_resource_drift) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name of the StackSet on which to perform the drift detection # operation. # @return [String] # # @!attribute [rw] operation_preferences # The user-specified preferences for how CloudFormation performs a # StackSet operation. # # For more information about maximum concurrent accounts and failure # tolerance, see [StackSet operation options][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options # @return [Types::StackSetOperationPreferences] # # @!attribute [rw] operation_id # *The ID of the StackSet operation.* # # **A suitable default value is auto-generated.** You should normally # not need to pass this option. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackSetDriftInput AWS API Documentation # class DetectStackSetDriftInput < Struct.new( :stack_set_name, :operation_preferences, :operation_id, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] operation_id # The ID of the drift detection StackSet operation. # # You can use this operation ID with DescribeStackSetOperation to # monitor the progress of the drift detection operation. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackSetDriftOutput AWS API Documentation # class DetectStackSetDriftOutput < Struct.new( :operation_id) SENSITIVE = [] include Aws::Structure end # The input for an EstimateTemplateCost action. # # @!attribute [rw] template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must pass `TemplateBody` or `TemplateURL`. If both # are passed, only `TemplateBody` is used. # @return [String] # # @!attribute [rw] template_url # The URL of a file that contains the template body. The URL must # point to a template that's located in an Amazon S3 bucket or a # Systems Manager document. The location for an Amazon S3 bucket must # start with `https://`. URLs from S3 static websites are not # supported. # # Conditional: You must pass `TemplateURL` or `TemplateBody`. If both # are passed, only `TemplateBody` is used. # @return [String] # # @!attribute [rw] parameters # A list of `Parameter` structures that specify input parameters. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostInput AWS API Documentation # class EstimateTemplateCostInput < Struct.new( :template_body, :template_url, :parameters) SENSITIVE = [] include Aws::Structure end # The output for a EstimateTemplateCost action. # # @!attribute [rw] url # An Amazon Web Services Simple Monthly Calculator URL with a query # string that describes the resources required to run the template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCostOutput AWS API Documentation # class EstimateTemplateCostOutput < Struct.new( :url) SENSITIVE = [] include Aws::Structure end # The input for the ExecuteChangeSet action. # # @!attribute [rw] change_set_name # The name or Amazon Resource Name (ARN) of the change set that you # want use to update the specified stack. # @return [String] # # @!attribute [rw] stack_name # If you specified the name of a change set, specify the stack name or # Amazon Resource Name (ARN) that's associated with the change set # you want to execute. # @return [String] # # @!attribute [rw] client_request_token # A unique identifier for this `ExecuteChangeSet` request. Specify # this token if you plan to retry requests so that CloudFormation # knows that you're not attempting to execute a change set to update # a stack with the same name. You might retry `ExecuteChangeSet` # requests to ensure that CloudFormation successfully received them. # @return [String] # # @!attribute [rw] disable_rollback # Preserves the state of previously provisioned resources when an # operation fails. This parameter can't be specified when the # `OnStackFailure` parameter to the [CreateChangeSet][1] API operation # was specified. # # * `True` - if the stack creation fails, do nothing. This is # equivalent to specifying `DO_NOTHING` for the `OnStackFailure` # parameter to the [CreateChangeSet][1] API operation. # # * `False` - if the stack creation fails, roll back the stack. This # is equivalent to specifying `ROLLBACK` for the `OnStackFailure` # parameter to the [CreateChangeSet][1] API operation. # # Default: `True` # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html # @return [Boolean] # # @!attribute [rw] retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetInput AWS API Documentation # class ExecuteChangeSetInput < Struct.new( :change_set_name, :stack_name, :client_request_token, :disable_rollback, :retain_except_on_create) SENSITIVE = [] include Aws::Structure end # The output for the ExecuteChangeSet action. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSetOutput AWS API Documentation # class ExecuteChangeSetOutput < Aws::EmptyStructure; end # @!attribute [rw] stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteStackRefactorInput AWS API Documentation # class ExecuteStackRefactorInput < Struct.new( :stack_refactor_id) SENSITIVE = [] include Aws::Structure end # The `Export` structure describes the exported output values for a # stack. # # For more information, see [Get exported outputs from a deployed # CloudFormation stack][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html # # @!attribute [rw] exporting_stack_id # The stack that contains the exported output name and value. # @return [String] # # @!attribute [rw] name # The name of exported output value. Use this name and the # `Fn::ImportValue` function to import the associated value into other # stacks. The name is defined in the `Export` field in the associated # stack's `Outputs` section. # @return [String] # # @!attribute [rw] value # The value of the exported output, such as a resource physical ID. # This value is defined in the `Export` field in the associated # stack's `Outputs` section. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Export AWS API Documentation # class Export < Struct.new( :exporting_stack_id, :name, :value) SENSITIVE = [] include Aws::Structure end # The generated template was not found. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GeneratedTemplateNotFoundException AWS API Documentation # class GeneratedTemplateNotFoundException < Aws::EmptyStructure; end # @!attribute [rw] format # The language to use to retrieve for the generated template. # Supported values are: # # * `JSON` # # * `YAML` # @return [String] # # @!attribute [rw] generated_template_name # The name or Amazon Resource Name (ARN) of the generated template. # The format is # `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. # For example, # `arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc # `. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetGeneratedTemplateInput AWS API Documentation # class GetGeneratedTemplateInput < Struct.new( :format, :generated_template_name) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] status # The status of the template generation. Supported values are: # # * `CreatePending` - the creation of the template is pending. # # * `CreateInProgress` - the creation of the template is in progress. # # * `DeletePending` - the deletion of the template is pending. # # * `DeleteInProgress` - the deletion of the template is in progress. # # * `UpdatePending` - the update of the template is pending. # # * `UpdateInProgress` - the update of the template is in progress. # # * `Failed` - the template operation failed. # # * `Complete` - the template operation is complete. # @return [String] # # @!attribute [rw] template_body # The template body of the generated template, in the language # specified by the `Language` parameter. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetGeneratedTemplateOutput AWS API Documentation # class GetGeneratedTemplateOutput < Struct.new( :status, :template_body) SENSITIVE = [] include Aws::Structure end # The input for the GetStackPolicy action. # # @!attribute [rw] stack_name # The name or unique stack ID that's associated with the stack whose # policy you want to get. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyInput AWS API Documentation # class GetStackPolicyInput < Struct.new( :stack_name) SENSITIVE = [] include Aws::Structure end # The output for the GetStackPolicy action. # # @!attribute [rw] stack_policy_body # Structure that contains the stack policy body. (For more # information, see [Prevent updates to stack resources][1] in the # *CloudFormation User Guide*.) # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicyOutput AWS API Documentation # class GetStackPolicyOutput < Struct.new( :stack_policy_body) SENSITIVE = [] include Aws::Structure end # The input for a GetTemplate action. # # @!attribute [rw] stack_name # The name or the unique stack ID that's associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # @return [String] # # @!attribute [rw] change_set_name # The name or Amazon Resource Name (ARN) of a change set for which # CloudFormation returns the associated template. If you specify a # name, you must also specify the `StackName`. # @return [String] # # @!attribute [rw] template_stage # For templates that include transforms, the stage of the template # that CloudFormation returns. To get the user-submitted template, # specify `Original`. To get the template after CloudFormation has # processed all transforms, specify `Processed`. # # If the template doesn't include transforms, `Original` and # `Processed` return the same template. By default, CloudFormation # specifies `Processed`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateInput AWS API Documentation # class GetTemplateInput < Struct.new( :stack_name, :change_set_name, :template_stage) SENSITIVE = [] include Aws::Structure end # The output for GetTemplate action. # # @!attribute [rw] template_body # Structure that contains the template body. # # CloudFormation returns the same template that was used when the # stack was created. # @return [String] # # @!attribute [rw] stages_available # The stage of the template that you can retrieve. For stacks, the # `Original` and `Processed` templates are always available. For # change sets, the `Original` template is always available. After # CloudFormation finishes creating the change set, the `Processed` # template becomes available. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateOutput AWS API Documentation # class GetTemplateOutput < Struct.new( :template_body, :stages_available) SENSITIVE = [] include Aws::Structure end # The input for the GetTemplateSummary action. # # @!attribute [rw] template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify only one of the following parameters: # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. # @return [String] # # @!attribute [rw] template_url # The URL of a file that contains the template body. The URL must # point to a template (max size: 1 MB) that's located in an Amazon S3 # bucket or a Systems Manager document. The location for an Amazon S3 # bucket must start with `https://`. # # Conditional: You must specify only one of the following parameters: # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. # @return [String] # # @!attribute [rw] stack_name # The name or the stack ID that's associated with the stack, which # aren't always interchangeable. For running stacks, you can specify # either the stack's name or its unique stack ID. For deleted stack, # you must specify the unique stack ID. # # Conditional: You must specify only one of the following parameters: # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. # @return [String] # # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet from which the stack was # created. # # Conditional: You must specify only one of the following parameters: # `StackName`, `StackSetName`, `TemplateBody`, or `TemplateURL`. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @!attribute [rw] template_summary_config # Specifies options for the `GetTemplateSummary` API action. # @return [Types::TemplateSummaryConfig] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryInput AWS API Documentation # class GetTemplateSummaryInput < Struct.new( :template_body, :template_url, :stack_name, :stack_set_name, :call_as, :template_summary_config) SENSITIVE = [] include Aws::Structure end # The output for the GetTemplateSummary action. # # @!attribute [rw] parameters # A list of parameter declarations that describe various properties # for each parameter. # @return [Array] # # @!attribute [rw] description # The value that's defined in the `Description` property of the # template. # @return [String] # # @!attribute [rw] capabilities # The capabilities found within the template. If your template # contains IAM resources, you must specify the `CAPABILITY_IAM` or # `CAPABILITY_NAMED_IAM` value for this parameter when you use the # CreateStack or UpdateStack actions with your template; otherwise, # those actions return an `InsufficientCapabilities` error. # # For more information, see [Acknowledging IAM resources in # CloudFormation templates][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # @return [Array] # # @!attribute [rw] capabilities_reason # The list of resources that generated the values in the # `Capabilities` response element. # @return [String] # # @!attribute [rw] resource_types # A list of all the template resource types that are defined in the # template, such as `AWS::EC2::Instance`, `AWS::Dynamo::Table`, and # `Custom::MyCustomInstance`. # @return [Array] # # @!attribute [rw] version # The Amazon Web Services template format version, which identifies # the capabilities of the template. # @return [String] # # @!attribute [rw] metadata # The value that's defined for the `Metadata` property of the # template. # @return [String] # # @!attribute [rw] declared_transforms # A list of the transforms that are declared in the template. # @return [Array] # # @!attribute [rw] resource_identifier_summaries # A list of resource identifier summaries that describe the target # resources of an import operation and the properties you can provide # during the import to identify the target resources. For example, # `BucketName` is a possible identifier property for an # `AWS::S3::Bucket` resource. # @return [Array] # # @!attribute [rw] warnings # An object that contains any warnings returned. # @return [Types::Warnings] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummaryOutput AWS API Documentation # class GetTemplateSummaryOutput < Struct.new( :parameters, :description, :capabilities, :capabilities_reason, :resource_types, :version, :metadata, :declared_transforms, :resource_identifier_summaries, :warnings) SENSITIVE = [] include Aws::Structure end # The specified target doesn't have any requested Hook invocations. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/HookResultNotFoundException AWS API Documentation # class HookResultNotFoundException < Aws::EmptyStructure; end # Describes a Hook invocation, its status, and the reason for its # status. # # @!attribute [rw] hook_result_id # The unique identifier for this Hook invocation result. # @return [String] # # @!attribute [rw] invocation_point # The specific point in the provisioning process where the Hook is # invoked. # @return [String] # # @!attribute [rw] failure_mode # The failure mode of the invocation. # @return [String] # # @!attribute [rw] type_name # The name of the Hook that was invoked. # @return [String] # # @!attribute [rw] type_version_id # The version of the Hook that was invoked. # @return [String] # # @!attribute [rw] type_configuration_version_id # The version of the Hook configuration. # @return [String] # # @!attribute [rw] status # The status of the Hook invocation. The following statuses are # possible: # # * `HOOK_IN_PROGRESS`: The Hook is currently running. # # * `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. # # * `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. # # * `HOOK_FAILED`: The Hook encountered an error during execution. # @return [String] # # @!attribute [rw] hook_status_reason # A description of the Hook results status. For example, if the Hook # result is in a failed state, this may contain additional information # for the failed state. # @return [String] # # @!attribute [rw] invoked_at # The timestamp when the Hook was invoked. # # Only shown in responses when the request does not specify # `TargetType` and `TargetId` filters. # @return [Time] # # @!attribute [rw] target_type # The target type that the Hook was invoked against. # @return [String] # # @!attribute [rw] target_id # The unique identifier of the Hook invocation target. # @return [String] # # @!attribute [rw] type_arn # The ARN of the Hook that was invoked. # @return [String] # # @!attribute [rw] hook_execution_target # The ARN of the target stack or request token of the Cloud Control # API operation. # # Only shown in responses when the request does not specify # `TargetType` and `TargetId` filters. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/HookResultSummary AWS API Documentation # class HookResultSummary < Struct.new( :hook_result_id, :invocation_point, :failure_mode, :type_name, :type_version_id, :type_configuration_version_id, :status, :hook_status_reason, :invoked_at, :target_type, :target_id, :type_arn, :hook_execution_target) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name of the StackSet. The name must be unique in the Region # where you create your StackSet. # @return [String] # # @!attribute [rw] stack_ids # The IDs of the stacks you are importing into a StackSet. You import # up to 10 stacks per StackSet at a time. # # Specify either `StackIds` or `StackIdsUrl`. # @return [Array] # # @!attribute [rw] stack_ids_url # The Amazon S3 URL which contains list of stack ids to be inputted. # # Specify either `StackIds` or `StackIdsUrl`. # @return [String] # # @!attribute [rw] organizational_unit_ids # The list of OU ID's to which the imported stacks must be mapped as # deployment targets. # @return [Array] # # @!attribute [rw] operation_preferences # The user-specified preferences for how CloudFormation performs a # StackSet operation. # # For more information about maximum concurrent accounts and failure # tolerance, see [StackSet operation options][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options # @return [Types::StackSetOperationPreferences] # # @!attribute [rw] operation_id # A unique, user defined, identifier for the StackSet operation. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option. # @return [String] # # @!attribute [rw] call_as # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * For service managed StackSets, specify `DELEGATED_ADMIN`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ImportStacksToStackSetInput AWS API Documentation # class ImportStacksToStackSetInput < Struct.new( :stack_set_name, :stack_ids, :stack_ids_url, :organizational_unit_ids, :operation_preferences, :operation_id, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] operation_id # The unique identifier for the StackSet operation. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ImportStacksToStackSetOutput AWS API Documentation # class ImportStacksToStackSetOutput < Struct.new( :operation_id) SENSITIVE = [] include Aws::Structure end # The template contains resources with capabilities that weren't # specified in the Capabilities parameter. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/InsufficientCapabilitiesException AWS API Documentation # class InsufficientCapabilitiesException < Aws::EmptyStructure; end # The specified change set can't be used to update the stack. For # example, the change set status might be `CREATE_IN_PROGRESS`, or the # stack status might be `UPDATE_IN_PROGRESS`. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/InvalidChangeSetStatusException AWS API Documentation # class InvalidChangeSetStatusException < Aws::EmptyStructure; end # The specified operation isn't valid. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/InvalidOperationException AWS API Documentation # class InvalidOperationException < Aws::EmptyStructure; end # Error reserved for use by the [CloudFormation CLI][1]. CloudFormation # doesn't return this error to users. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/InvalidStateTransitionException AWS API Documentation # class InvalidStateTransitionException < Aws::EmptyStructure; end # The quota for the resource has already been reached. # # For information about resource and stack limitations, see # [CloudFormation quotas][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/LimitExceededException AWS API Documentation # class LimitExceededException < Aws::EmptyStructure; end # The input for the ListChangeSets action. # # @!attribute [rw] stack_name # The name or the Amazon Resource Name (ARN) of the stack for which # you want to list change sets. # @return [String] # # @!attribute [rw] next_token # A string (provided by the ListChangeSets response output) that # identifies the next page of change sets that you want to retrieve. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsInput AWS API Documentation # class ListChangeSetsInput < Struct.new( :stack_name, :next_token) SENSITIVE = [] include Aws::Structure end # The output for the ListChangeSets action. # # @!attribute [rw] summaries # A list of `ChangeSetSummary` structures that provides the ID and # status of each change set for the specified stack. # @return [Array] # # @!attribute [rw] next_token # If the output exceeds 1 MB, a string that identifies the next page # of change sets. If there is no additional page, this value is # `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSetsOutput AWS API Documentation # class ListChangeSetsOutput < Struct.new( :summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] next_token # A string (provided by the ListExports response output) that # identifies the next page of exported output values that you asked to # retrieve. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsInput AWS API Documentation # class ListExportsInput < Struct.new( :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] exports # The output for the ListExports action. # @return [Array] # # @!attribute [rw] next_token # If the output exceeds 100 exported output values, a string that # identifies the next page of exports. If there is no additional page, # this value is null. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExportsOutput AWS API Documentation # class ListExportsOutput < Struct.new( :exports, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] next_token # A string that identifies the next page of resource scan results. # @return [String] # # @!attribute [rw] max_results # If the number of available results exceeds this maximum, the # response includes a `NextToken` value that you can use for the # `NextToken` parameter to get the next set of results. By default the # `ListGeneratedTemplates` API action will return at most 50 results # in each response. The maximum value is 100. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListGeneratedTemplatesInput AWS API Documentation # class ListGeneratedTemplatesInput < Struct.new( :next_token, :max_results) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] summaries # A list of summaries of the generated templates. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call `ListGeneratedTemplates` again and use that value for the # `NextToken` parameter. If the request returns all results, # `NextToken` is set to an empty string. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListGeneratedTemplatesOutput AWS API Documentation # class ListGeneratedTemplatesOutput < Struct.new( :summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] target_type # Filters results by target type. Currently, only `CHANGE_SET` and # `CLOUD_CONTROL` are supported filter options. # # Required when `TargetId` is specified and cannot be used otherwise. # @return [String] # # @!attribute [rw] target_id # Filters results by the unique identifier of the target the Hook was # invoked against. # # For change sets, this is the change set ARN. When the target is a # Cloud Control API operation, this value must be the # `HookRequestToken` returned by the Cloud Control API request. For # more information on the `HookRequestToken`, see [ProgressEvent][1]. # # Required when `TargetType` is specified and cannot be used # otherwise. # # # # [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_ProgressEvent.html # @return [String] # # @!attribute [rw] type_arn # Filters results by the ARN of the Hook. Can be used alone or in # combination with `Status`. # @return [String] # # @!attribute [rw] status # Filters results by the status of Hook invocations. Can only be used # in combination with `TypeArn`. Valid values are: # # * `HOOK_IN_PROGRESS`: The Hook is currently running. # # * `HOOK_COMPLETE_SUCCEEDED`: The Hook completed successfully. # # * `HOOK_COMPLETE_FAILED`: The Hook completed but failed validation. # # * `HOOK_FAILED`: The Hook encountered an error during execution. # @return [String] # # @!attribute [rw] next_token # A string that identifies the next page of events that you want to # retrieve. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListHookResultsInput AWS API Documentation # class ListHookResultsInput < Struct.new( :target_type, :target_id, :type_arn, :status, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] target_type # The target type. # @return [String] # # @!attribute [rw] target_id # The unique identifier of the Hook invocation target. # @return [String] # # @!attribute [rw] hook_results # A list of `HookResultSummary` structures that provides the status # and Hook status reason for each Hook invocation for the specified # target. # @return [Array] # # @!attribute [rw] next_token # Pagination token, `null` or empty if no more results. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListHookResultsOutput AWS API Documentation # class ListHookResultsOutput < Struct.new( :target_type, :target_id, :hook_results, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] export_name # The name of the exported output value. CloudFormation returns the # stack names that are importing this value. # @return [String] # # @!attribute [rw] next_token # A string (provided by the ListImports response output) that # identifies the next page of stacks that are importing the specified # exported output value. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsInput AWS API Documentation # class ListImportsInput < Struct.new( :export_name, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] imports # A list of stack names that are importing the specified exported # output value. # @return [Array] # # @!attribute [rw] next_token # A string that identifies the next page of exports. If there is no # additional page, this value is null. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImportsOutput AWS API Documentation # class ListImportsOutput < Struct.new( :imports, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. # @return [String] # # @!attribute [rw] resources # The list of resources for which you want to get the related # resources. Up to 100 resources can be provided. # @return [Array] # # @!attribute [rw] next_token # A string that identifies the next page of resource scan results. # @return [String] # # @!attribute [rw] max_results # If the number of available results exceeds this maximum, the # response includes a `NextToken` value that you can use for the # `NextToken` parameter to get the next set of results. By default the # `ListResourceScanRelatedResources` API action will return up to 100 # results in each response. The maximum value is 100. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScanRelatedResourcesInput AWS API Documentation # class ListResourceScanRelatedResourcesInput < Struct.new( :resource_scan_id, :resources, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] related_resources # List of up to `MaxResults` resources in the specified resource scan # related to the specified resources. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call `ListResourceScanRelatedResources` again and use that value for # the `NextToken` parameter. If the request returns all results, # `NextToken` is set to an empty string. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScanRelatedResourcesOutput AWS API Documentation # class ListResourceScanRelatedResourcesOutput < Struct.new( :related_resources, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. # @return [String] # # @!attribute [rw] resource_identifier # If specified, the returned resources will have the specified # resource identifier (or one of them in the case where the resource # has multiple identifiers). # @return [String] # # @!attribute [rw] resource_type_prefix # If specified, the returned resources will be of any of the resource # types with the specified prefix. # @return [String] # # @!attribute [rw] tag_key # If specified, the returned resources will have a matching tag key. # @return [String] # # @!attribute [rw] tag_value # If specified, the returned resources will have a matching tag value. # @return [String] # # @!attribute [rw] next_token # A string that identifies the next page of resource scan results. # @return [String] # # @!attribute [rw] max_results # If the number of available results exceeds this maximum, the # response includes a `NextToken` value that you can use for the # `NextToken` parameter to get the next set of results. By default the # `ListResourceScanResources` API action will return at most 100 # results in each response. The maximum value is 100. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScanResourcesInput AWS API Documentation # class ListResourceScanResourcesInput < Struct.new( :resource_scan_id, :resource_identifier, :resource_type_prefix, :tag_key, :tag_value, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resources # List of up to `MaxResults` resources in the specified resource scan # that match all of the specified filters. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call `ListResourceScanResources` again and use that value for the # `NextToken` parameter. If the request returns all results, # `NextToken` is set to an empty string. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScanResourcesOutput AWS API Documentation # class ListResourceScanResourcesOutput < Struct.new( :resources, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] next_token # A string that identifies the next page of resource scan results. # @return [String] # # @!attribute [rw] max_results # If the number of available results exceeds this maximum, the # response includes a `NextToken` value that you can use for the # `NextToken` parameter to get the next set of results. The default # value is 10. The maximum value is 100. # @return [Integer] # # @!attribute [rw] scan_type_filter # The scan type that you want to get summary information about. The # default is `FULL`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScansInput AWS API Documentation # class ListResourceScansInput < Struct.new( :next_token, :max_results, :scan_type_filter) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_scan_summaries # The list of scans returned. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call `ListResourceScans` again and use that value for the # `NextToken` parameter. If the request returns all results, # `NextToken` is set to an empty string. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListResourceScansOutput AWS API Documentation # class ListResourceScansOutput < Struct.new( :resource_scan_summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to list drifted # resources for. # @return [String] # # @!attribute [rw] next_token # If the previous paginated request didn't return all of the # remaining results, the response object's `NextToken` parameter # value is set to a token. To retrieve the next set of results, call # this action again and assign that token to the request object's # `NextToken` parameter. If there are no remaining results, the # previous response object's `NextToken` parameter is set to `null`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] stack_instance_resource_drift_statuses # The resource drift status of the stack instance. # # * `DELETED`: The resource differs from its expected template # configuration in that the resource has been deleted. # # * `MODIFIED`: One or more resource properties differ from their # expected template values. # # * `IN_SYNC`: The resource's actual configuration matches its # expected template configuration. # # * `NOT_CHECKED`: CloudFormation doesn't currently return this # value. # @return [Array] # # @!attribute [rw] stack_instance_account # The name of the Amazon Web Services account that you want to list # resource drifts for. # @return [String] # # @!attribute [rw] stack_instance_region # The name of the Region where you want to list resource drifts. # @return [String] # # @!attribute [rw] operation_id # The unique ID of the drift operation. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstanceResourceDriftsInput AWS API Documentation # class ListStackInstanceResourceDriftsInput < Struct.new( :stack_set_name, :next_token, :max_results, :stack_instance_resource_drift_statuses, :stack_instance_account, :stack_instance_region, :operation_id, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] summaries # A list of `StackInstanceResourceDriftsSummary` structures that # contain information about the specified stack instances. # @return [Array] # # @!attribute [rw] next_token # If the previous paginated request didn't return all of the # remaining results, the response object's `NextToken` parameter # value is set to a token. To retrieve the next set of results, call # this action again and assign that token to the request object's # `NextToken` parameter. If there are no remaining results, the # previous response object's `NextToken` parameter is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstanceResourceDriftsOutput AWS API Documentation # class ListStackInstanceResourceDriftsOutput < Struct.new( :summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to list stack # instances for. # @return [String] # # @!attribute [rw] next_token # If the previous request didn't return all the remaining results, # the response's `NextToken` parameter value is set to a token. To # retrieve the next set of results, call `ListStackInstances` again # and assign that token to the request object's `NextToken` # parameter. If there are no remaining results, the previous response # object's `NextToken` parameter is set to `null`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] filters # The filter to apply to stack instances # @return [Array] # # @!attribute [rw] stack_instance_account # The name of the Amazon Web Services account that you want to list # stack instances for. # @return [String] # # @!attribute [rw] stack_instance_region # The name of the Region where you want to list stack instances. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesInput AWS API Documentation # class ListStackInstancesInput < Struct.new( :stack_set_name, :next_token, :max_results, :filters, :stack_instance_account, :stack_instance_region, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] summaries # A list of `StackInstanceSummary` structures that contain information # about the specified stack instances. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call `ListStackInstances` again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstancesOutput AWS API Documentation # class ListStackInstancesOutput < Struct.new( :summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # @return [String] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call this action again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackRefactorActionsInput AWS API Documentation # class ListStackRefactorActionsInput < Struct.new( :stack_refactor_id, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_refactor_actions # The stack refactor actions. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call this action again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackRefactorActionsOutput AWS API Documentation # class ListStackRefactorActionsOutput < Struct.new( :stack_refactor_actions, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] execution_status_filter # Execution status to use as a filter. Specify one or more execution # status codes to list only stack refactors with the specified # execution status codes. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call this action again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackRefactorsInput AWS API Documentation # class ListStackRefactorsInput < Struct.new( :execution_status_filter, :next_token, :max_results) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_refactor_summaries # Provides a summary of a stack refactor, including the following: # # * `StackRefactorId` # # * `Status` # # * `StatusReason` # # * `ExecutionStatus` # # * `ExecutionStatusReason` # # * `Description` # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call this action again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackRefactorsOutput AWS API Documentation # class ListStackRefactorsOutput < Struct.new( :stack_refactor_summaries, :next_token) SENSITIVE = [] include Aws::Structure end # The input for the ListStackResource action. # # @!attribute [rw] stack_name # The name or the unique stack ID that is associated with the stack, # which aren't always interchangeable: # # * Running stacks: You can specify either the stack's name or its # unique stack ID. # # * Deleted stacks: You must specify the unique stack ID. # @return [String] # # @!attribute [rw] next_token # A string that identifies the next page of stack resources that you # want to retrieve. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesInput AWS API Documentation # class ListStackResourcesInput < Struct.new( :stack_name, :next_token) SENSITIVE = [] include Aws::Structure end # The output for a ListStackResources action. # # @!attribute [rw] stack_resource_summaries # A list of `StackResourceSummary` structures. # @return [Array] # # @!attribute [rw] next_token # If the output exceeds 1 MB, a string that identifies the next page # of stack resources. If no additional page exists, this value is # null. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResourcesOutput AWS API Documentation # class ListStackResourcesOutput < Struct.new( :stack_resource_summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to get automatic # deployment targets for. # @return [String] # # @!attribute [rw] next_token # A string that identifies the next page of deployment targets that # you want to retrieve. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] call_as # Specifies whether you are acting as an account administrator in the # organization's management account or as a delegated administrator # in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetAutoDeploymentTargetsInput AWS API Documentation # class ListStackSetAutoDeploymentTargetsInput < Struct.new( :stack_set_name, :next_token, :max_results, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] summaries # An array of summaries of the deployment targets for the StackSet. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call [ListStackSetAutoDeploymentTargets][1] again and use that value # for the `NextToken` parameter. If the request returns all results, # `NextToken` is set to an empty string. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStackSetAutoDeploymentTargets.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetAutoDeploymentTargetsOutput AWS API Documentation # class ListStackSetAutoDeploymentTargetsOutput < Struct.new( :summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to get operation # results for. # @return [String] # # @!attribute [rw] operation_id # The ID of the StackSet operation. # @return [String] # # @!attribute [rw] next_token # If the previous request didn't return all the remaining results, # the response object's `NextToken` parameter value is set to a # token. To retrieve the next set of results, call # `ListStackSetOperationResults` again and assign that token to the # request object's `NextToken` parameter. If there are no remaining # results, the previous response object's `NextToken` parameter is # set to `null`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @!attribute [rw] filters # The filter to apply to operation results. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsInput AWS API Documentation # class ListStackSetOperationResultsInput < Struct.new( :stack_set_name, :operation_id, :next_token, :max_results, :call_as, :filters) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] summaries # A list of `StackSetOperationResultSummary` structures that contain # information about the specified operation results, for accounts and # Amazon Web Services Regions that are included in the operation. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all results, `NextToken` is set to a # token. To retrieve the next set of results, call # `ListOperationResults` again and assign that token to the request # object's `NextToken` parameter. If there are no remaining results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResultsOutput AWS API Documentation # class ListStackSetOperationResultsOutput < Struct.new( :summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to get operation # summaries for. # @return [String] # # @!attribute [rw] next_token # If the previous paginated request didn't return all of the # remaining results, the response object's `NextToken` parameter # value is set to a token. To retrieve the next set of results, call # `ListStackSetOperations` again and assign that token to the request # object's `NextToken` parameter. If there are no remaining results, # the previous response object's `NextToken` parameter is set to # `null`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsInput AWS API Documentation # class ListStackSetOperationsInput < Struct.new( :stack_set_name, :next_token, :max_results, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] summaries # A list of `StackSetOperationSummary` structures that contain summary # information about operations for the specified StackSet. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all results, `NextToken` is set to a # token. To retrieve the next set of results, call # `ListOperationResults` again and assign that token to the request # object's `NextToken` parameter. If there are no remaining results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationsOutput AWS API Documentation # class ListStackSetOperationsOutput < Struct.new( :summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] next_token # If the previous paginated request didn't return all the remaining # results, the response object's `NextToken` parameter value is set # to a token. To retrieve the next set of results, call # `ListStackSets` again and assign that token to the request object's # `NextToken` parameter. If there are no remaining results, the # previous response object's `NextToken` parameter is set to `null`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] status # The status of the StackSets that you want to get summary information # about. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the management account or as a delegated # administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsInput AWS API Documentation # class ListStackSetsInput < Struct.new( :next_token, :max_results, :status, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] summaries # A list of `StackSetSummary` structures that contain information # about the user's StackSets. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all of the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call `ListStackInstances` again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetsOutput AWS API Documentation # class ListStackSetsOutput < Struct.new( :summaries, :next_token) SENSITIVE = [] include Aws::Structure end # The input for ListStacks action. # # @!attribute [rw] next_token # A string that identifies the next page of stacks that you want to # retrieve. # @return [String] # # @!attribute [rw] stack_status_filter # Stack status to use as a filter. Specify one or more stack status # codes to list only stacks with the specified status codes. For a # complete list of stack status codes, see the `StackStatus` parameter # of the Stack data type. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksInput AWS API Documentation # class ListStacksInput < Struct.new( :next_token, :stack_status_filter) SENSITIVE = [] include Aws::Structure end # The output for ListStacks action. # # @!attribute [rw] stack_summaries # A list of `StackSummary` structures that contains information about # the specified stacks. # @return [Array] # # @!attribute [rw] next_token # If the output exceeds 1 MB in size, a string that identifies the # next page of stacks. If no additional page exists, this value is # null. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacksOutput AWS API Documentation # class ListStacksOutput < Struct.new( :stack_summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type # The kind of extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] type_arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] registration_status_filter # The current status of the extension registration request. # # The default is `IN_PROGRESS`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] next_token # If the previous paginated request didn't return all the remaining # results, the response object's `NextToken` parameter value is set # to a token. To retrieve the next set of results, call this action # again and assign that token to the request object's `NextToken` # parameter. If there are no remaining results, the previous response # object's `NextToken` parameter is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeRegistrationsInput AWS API Documentation # class ListTypeRegistrationsInput < Struct.new( :type, :type_name, :type_arn, :registration_status_filter, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] registration_token_list # A list of extension registration tokens. # # Use DescribeTypeRegistration to return detailed information about a # type registration request. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call this action again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeRegistrationsOutput AWS API Documentation # class ListTypeRegistrationsOutput < Struct.new( :registration_token_list, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type # The kind of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] type_name # The name of the extension for which you want version summary # information. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the extension for which you want # version summary information. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] next_token # If the previous paginated request didn't return all of the # remaining results, the response object's `NextToken` parameter # value is set to a token. To retrieve the next set of results, call # this action again and assign that token to the request object's # `NextToken` parameter. If there are no remaining results, the # previous response object's `NextToken` parameter is set to `null`. # @return [String] # # @!attribute [rw] deprecated_status # The deprecation status of the extension versions that you want to # get summary information about. # # Valid values include: # # * `LIVE`: The extension version is registered and can be used in # CloudFormation operations, dependent on its provisioning behavior # and visibility scope. # # * `DEPRECATED`: The extension version has been deregistered and can # no longer be used in CloudFormation operations. # # The default is `LIVE`. # @return [String] # # @!attribute [rw] publisher_id # The publisher ID of the extension publisher. # # Extensions published by Amazon aren't assigned a publisher ID. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeVersionsInput AWS API Documentation # class ListTypeVersionsInput < Struct.new( :type, :type_name, :arn, :max_results, :next_token, :deprecated_status, :publisher_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type_version_summaries # A list of `TypeVersionSummary` structures that contain information # about the specified extension's versions. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all of the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call this action again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeVersionsOutput AWS API Documentation # class ListTypeVersionsOutput < Struct.new( :type_version_summaries, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] visibility # The scope at which the extensions are visible and usable in # CloudFormation operations. # # Valid values include: # # * `PRIVATE`: Extensions that are visible and usable within this # account and Region. This includes: # # * Private extensions you have registered in this account and # Region. # # * Public extensions that you have activated in this account and # Region. # * `PUBLIC`: Extensions that are publicly visible and available to be # activated within any Amazon Web Services account. This includes # extensions from Amazon Web Services and third-party publishers. # # The default is `PRIVATE`. # @return [String] # # @!attribute [rw] provisioning_type # For resource types, the provisioning behavior of the resource type. # CloudFormation determines the provisioning type during registration, # based on the types of handlers in the schema handler package # submitted. # # Valid values include: # # * `FULLY_MUTABLE`: The resource type includes an update handler to # process updates to the type during stack update operations. # # * `IMMUTABLE`: The resource type doesn't include an update handler, # so the type can't be updated and must instead be replaced during # stack update operations. # # * `NON_PROVISIONABLE`: The resource type doesn't include create, # read, and delete handlers, and therefore can't actually be # provisioned. # # The default is `FULLY_MUTABLE`. # @return [String] # # @!attribute [rw] deprecated_status # The deprecation status of the extension that you want to get summary # information about. # # Valid values include: # # * `LIVE`: The extension is registered for use in CloudFormation # operations. # # * `DEPRECATED`: The extension has been deregistered and can no # longer be used in CloudFormation operations. # @return [String] # # @!attribute [rw] type # The type of extension. # @return [String] # # @!attribute [rw] filters # Filter criteria to use in determining which extensions to return. # # Filters must be compatible with `Visibility` to return valid # results. For example, specifying `AWS_TYPES` for `Category` and # `PRIVATE` for `Visibility` returns an empty list of types, but # specifying `PUBLIC` for `Visibility` returns the desired list. # @return [Types::TypeFilters] # # @!attribute [rw] max_results # The maximum number of results to be returned with a single call. If # the number of available results exceeds this maximum, the response # includes a `NextToken` value that you can assign to the `NextToken` # request parameter to get the next set of results. # @return [Integer] # # @!attribute [rw] next_token # If the previous paginated request didn't return all the remaining # results, the response object's `NextToken` parameter value is set # to a token. To retrieve the next set of results, call this action # again and assign that token to the request object's `NextToken` # parameter. If there are no remaining results, the previous response # object's `NextToken` parameter is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypesInput AWS API Documentation # class ListTypesInput < Struct.new( :visibility, :provisioning_type, :deprecated_status, :type, :filters, :max_results, :next_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type_summaries # A list of `TypeSummary` structures that contain information about # the specified extensions. # @return [Array] # # @!attribute [rw] next_token # If the request doesn't return all the remaining results, # `NextToken` is set to a token. To retrieve the next set of results, # call this action again and assign that token to the request # object's `NextToken` parameter. If the request returns all results, # `NextToken` is set to `null`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypesOutput AWS API Documentation # class ListTypesOutput < Struct.new( :type_summaries, :next_token) SENSITIVE = [] include Aws::Structure end # Contains logging configuration information for an extension. # # @!attribute [rw] log_role_arn # The Amazon Resource Name (ARN) of the role that CloudFormation # should assume when sending log entries to CloudWatch Logs. # @return [String] # # @!attribute [rw] log_group_name # The Amazon CloudWatch Logs group to which CloudFormation sends error # logging information when invoking the extension's handlers. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/LoggingConfig AWS API Documentation # class LoggingConfig < Struct.new( :log_role_arn, :log_group_name) SENSITIVE = [] include Aws::Structure end # Describes whether StackSets performs non-conflicting operations # concurrently and queues conflicting operations. # # @!attribute [rw] active # When `true`, CloudFormation performs non-conflicting operations # concurrently and queues conflicting operations. After conflicting # operations finish, CloudFormation starts queued operations in # request order. # # If there are already running or queued operations, CloudFormation # queues all incoming operations even if they are non-conflicting. # # You can't modify your StackSet's execution configuration while # there are running or queued operations for that StackSet. # # # # When `false` (default), StackSets performs one operation at a time # in request order. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ManagedExecution AWS API Documentation # class ManagedExecution < Struct.new( :active) SENSITIVE = [] include Aws::Structure end # Contains information about the module from which the resource was # created, if the resource was created from a module included in the # stack template. # # For more information about modules, see [Create reusable resource # configurations that can be included across templates with # CloudFormation modules][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/modules.html # # @!attribute [rw] type_hierarchy # A concatenated list of the module type or types that contains the # resource. Module types are listed starting with the inner-most # nested module, and separated by `/`. # # In the following example, the resource was created from a module of # type `AWS::First::Example::MODULE`, that's nested inside a parent # module of type `AWS::Second::Example::MODULE`. # # `AWS::First::Example::MODULE/AWS::Second::Example::MODULE` # @return [String] # # @!attribute [rw] logical_id_hierarchy # A concatenated list of the logical IDs of the module or modules that # contains the resource. Modules are listed starting with the # inner-most nested module, and separated by `/`. # # In the following example, the resource was created from a module, # `moduleA`, that's nested inside a parent module, `moduleB`. # # `moduleA/moduleB` # # For more information, see [Reference module resources in # CloudFormation templates][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/module-ref-resources.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ModuleInfo AWS API Documentation # class ModuleInfo < Struct.new( :type_hierarchy, :logical_id_hierarchy) SENSITIVE = [] include Aws::Structure end # The specified name is already in use. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/NameAlreadyExistsException AWS API Documentation # class NameAlreadyExistsException < Aws::EmptyStructure; end # The specified operation ID already exists. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationIdAlreadyExistsException AWS API Documentation # class OperationIdAlreadyExistsException < Aws::EmptyStructure; end # Another operation is currently in progress for this StackSet. Only one # operation can be performed for a stack set at a given time. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationInProgressException AWS API Documentation # class OperationInProgressException < Aws::EmptyStructure; end # The specified ID refers to an operation that doesn't exist. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationNotFoundException AWS API Documentation # class OperationNotFoundException < Aws::EmptyStructure; end # The status that operation results are filtered by. # # @!attribute [rw] name # The type of filter to apply. # @return [String] # # @!attribute [rw] values # The value to filter by. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationResultFilter AWS API Documentation # class OperationResultFilter < Struct.new( :name, :values) SENSITIVE = [] include Aws::Structure end # Error reserved for use by the [CloudFormation CLI][1]. CloudFormation # doesn't return this error to users. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/OperationStatusCheckFailedException AWS API Documentation # class OperationStatusCheckFailedException < Aws::EmptyStructure; end # The Output data type. # # @!attribute [rw] output_key # The key associated with the output. # @return [String] # # @!attribute [rw] output_value # The value associated with the output. # @return [String] # # @!attribute [rw] description # User defined description associated with the output. # @return [String] # # @!attribute [rw] export_name # The name of the export associated with the output. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Output AWS API Documentation # class Output < Struct.new( :output_key, :output_value, :description, :export_name) SENSITIVE = [] include Aws::Structure end # The Parameter data type. # # @!attribute [rw] parameter_key # The key associated with the parameter. If you don't specify a key # and value for a particular parameter, CloudFormation uses the # default value that's specified in your template. # @return [String] # # @!attribute [rw] parameter_value # The input value associated with the parameter. # @return [String] # # @!attribute [rw] use_previous_value # During a stack update, use the existing parameter value that the # stack is using for a given parameter key. If you specify `true`, do # not specify a parameter value. # @return [Boolean] # # @!attribute [rw] resolved_value # Read-only. The value that corresponds to a Systems Manager parameter # key. This field is returned only for Systems Manager parameter types # in the template. For more information, see [Specify existing # resources at runtime with CloudFormation-supplied parameter # types][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-supplied-parameter-types.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Parameter AWS API Documentation # class Parameter < Struct.new( :parameter_key, :parameter_value, :use_previous_value, :resolved_value) SENSITIVE = [] include Aws::Structure end # A set of criteria that CloudFormation uses to validate parameter # values. Although other constraints might be defined in the stack # template, CloudFormation returns only the `AllowedValues` property. # # @!attribute [rw] allowed_values # A list of values that are permitted for a parameter. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterConstraints AWS API Documentation # class ParameterConstraints < Struct.new( :allowed_values) SENSITIVE = [] include Aws::Structure end # The ParameterDeclaration data type. # # @!attribute [rw] parameter_key # The name that's associated with the parameter. # @return [String] # # @!attribute [rw] default_value # The default value of the parameter. # @return [String] # # @!attribute [rw] parameter_type # The type of parameter. # @return [String] # # @!attribute [rw] no_echo # Flag that indicates whether the parameter value is shown as plain # text in logs and in the Amazon Web Services Management Console. # @return [Boolean] # # @!attribute [rw] description # The description that's associate with the parameter. # @return [String] # # @!attribute [rw] parameter_constraints # The criteria that CloudFormation uses to validate parameter values. # @return [Types::ParameterConstraints] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ParameterDeclaration AWS API Documentation # class ParameterDeclaration < Struct.new( :parameter_key, :default_value, :parameter_type, :no_echo, :description, :parameter_constraints) SENSITIVE = [] include Aws::Structure end # Context information that enables CloudFormation to uniquely identify a # resource. CloudFormation uses context key-value pairs in cases where a # resource's logical and physical IDs aren't enough to uniquely # identify that resource. Each context key-value pair specifies a # resource that contains the targeted resource. # # @!attribute [rw] key # The resource context key. # @return [String] # # @!attribute [rw] value # The resource context value. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/PhysicalResourceIdContextKeyValuePair AWS API Documentation # class PhysicalResourceIdContextKeyValuePair < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end # Information about a resource property whose actual value differs from # its expected value, as defined in the stack template and any values # specified as template parameters. These will be present only for # resources whose `StackResourceDriftStatus` is `MODIFIED`. For more # information, see [Detect unmanaged configuration changes to stacks and # resources with drift detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # # @!attribute [rw] property_path # The fully-qualified path to the resource property. # @return [String] # # @!attribute [rw] expected_value # The expected property value of the resource property, as defined in # the stack template and any values specified as template parameters. # @return [String] # # @!attribute [rw] actual_value # The actual property value of the resource property. # @return [String] # # @!attribute [rw] difference_type # The type of property difference. # # * `ADD`: A value has been added to a resource property that's an # array or list data type. # # * `REMOVE`: The property has been removed from the current resource # configuration. # # * `NOT_EQUAL`: The current property value differs from its expected # value (as defined in the stack template and any values specified # as template parameters). # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/PropertyDifference AWS API Documentation # class PropertyDifference < Struct.new( :property_path, :expected_value, :actual_value, :difference_type) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type # The type of the extension. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # @return [String] # # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # @return [String] # # @!attribute [rw] public_version_number # The version number to assign to this version of the extension. # # Use the following format, and adhere to semantic versioning when # assigning a version number to your extension: # # `MAJOR.MINOR.PATCH` # # For more information, see [Semantic Versioning 2.0.0][1]. # # If you don't specify a version number, CloudFormation increments # the version number by one minor version release. # # You cannot specify a version number the first time you publish a # type. CloudFormation automatically sets the first version number to # be `1.0.0`. # # # # [1]: https://semver.org/ # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/PublishTypeInput AWS API Documentation # class PublishTypeInput < Struct.new( :type, :arn, :type_name, :public_version_number) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] public_type_arn # The Amazon Resource Name (ARN) assigned to the public extension upon # publication. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/PublishTypeOutput AWS API Documentation # class PublishTypeOutput < Struct.new( :public_type_arn) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] bearer_token # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # @return [String] # # @!attribute [rw] operation_status # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # @return [String] # # @!attribute [rw] current_operation_status # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # @return [String] # # @!attribute [rw] status_message # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # @return [String] # # @!attribute [rw] error_code # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # @return [String] # # @!attribute [rw] resource_model # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # @return [String] # # @!attribute [rw] client_request_token # Reserved for use by the [CloudFormation CLI][1]. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RecordHandlerProgressInput AWS API Documentation # class RecordHandlerProgressInput < Struct.new( :bearer_token, :operation_status, :current_operation_status, :status_message, :error_code, :resource_model, :client_request_token) SENSITIVE = [] include Aws::Structure end # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RecordHandlerProgressOutput AWS API Documentation # class RecordHandlerProgressOutput < Aws::EmptyStructure; end # @!attribute [rw] accept_terms_and_conditions # Whether you accept the [Terms and Conditions][1] for publishing # extensions in the CloudFormation registry. You must accept the terms # and conditions in order to register to publish public extensions to # the CloudFormation registry. # # The default is `false`. # # # # [1]: https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf # @return [Boolean] # # @!attribute [rw] connection_arn # If you are using a Bitbucket or GitHub account for identity # verification, the Amazon Resource Name (ARN) for your connection to # that account. # # For more information, see [Prerequisite: Registering your account to # publish CloudFormation extensions][1] in the *CloudFormation Command # Line Interface (CLI) User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterPublisherInput AWS API Documentation # class RegisterPublisherInput < Struct.new( :accept_terms_and_conditions, :connection_arn) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] publisher_id # The ID assigned this account by CloudFormation for publishing # extensions. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterPublisherOutput AWS API Documentation # class RegisterPublisherOutput < Struct.new( :publisher_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type # The kind of extension. # @return [String] # # @!attribute [rw] type_name # The name of the extension being registered. # # We suggest that extension names adhere to the following patterns: # # * For resource types, `company_or_organization::service::type`. # # * For modules, `company_or_organization::service::type::MODULE`. # # * For Hooks, `MyCompany::Testing::MyTestHook`. # # The following organization namespaces are reserved and can't be # used in your extension names: # # * `Alexa` # # * `AMZN` # # * `Amazon` # # * `AWS` # # * `Custom` # # * `Dev` # # # @return [String] # # @!attribute [rw] schema_handler_package # A URL to the S3 bucket that contains the extension project package # that contains the necessary files for the extension you want to # register. # # For information about generating a schema handler package for the # extension you want to register, see [submit][1] in the # *CloudFormation Command Line Interface (CLI) User Guide*. # # The user registering the extension must be able to access the # package in the S3 bucket. That's, the user needs to have # [GetObject][2] permissions for the schema handler package. For more # information, see [Actions, Resources, and Condition Keys for Amazon # S3][3] in the *Identity and Access Management User Guide*. # # # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-cli-submit.html # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html # [3]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html # @return [String] # # @!attribute [rw] logging_config # Specifies logging configuration information for an extension. # @return [Types::LoggingConfig] # # @!attribute [rw] execution_role_arn # The Amazon Resource Name (ARN) of the IAM role for CloudFormation to # assume when invoking the extension. # # For CloudFormation to assume the specified execution role, the role # must contain a trust relationship with the CloudFormation service # principal (`resources.cloudformation.amazonaws.com`). For more # information about adding trust relationships, see [Modifying a role # trust policy][1] in the *Identity and Access Management User Guide*. # # If your extension calls Amazon Web Services APIs in any of its # handlers, you must create an IAM # execution role that includes the necessary permissions to # call those Amazon Web Services APIs, and provision that execution # role in your account. When CloudFormation needs to invoke the # resource type handler, CloudFormation assumes this execution role to # create a temporary session token, which it then passes to the # resource type handler, thereby supplying your resource type with the # appropriate credentials. # # # # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-managingrole-editing-console.html#roles-managingrole_edit-trust-policy # @return [String] # # @!attribute [rw] client_request_token # A unique identifier that acts as an idempotency key for this # registration request. Specifying a client request token prevents # CloudFormation from generating more than one version of an extension # from the same registration request, even if the request is submitted # multiple times. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterTypeInput AWS API Documentation # class RegisterTypeInput < Struct.new( :type, :type_name, :schema_handler_package, :logging_config, :execution_role_arn, :client_request_token) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] registration_token # The identifier for this registration request. # # Use this registration token when calling DescribeTypeRegistration, # which returns information about the status and IDs of the extension # registration. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterTypeOutput AWS API Documentation # class RegisterTypeOutput < Struct.new( :registration_token) SENSITIVE = [] include Aws::Structure end # For extensions that are modules, a public third-party extension that # must be activated in your account in order for the module itself to be # activated. # # For more information, see [Requirements for activating third-party # public modules][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/module-versioning.html#requirements-for-modules # # @!attribute [rw] type_name_alias # An alias assigned to the public extension, in this account and # Region. If you specify an alias for the extension, CloudFormation # treats the alias as the extension type name within this account and # Region. You must use the alias to refer to the extension in your # templates, API calls, and CloudFormation console. # @return [String] # # @!attribute [rw] original_type_name # The type name of the public extension. # # If you specified a `TypeNameAlias` when enabling the extension in # this account and Region, CloudFormation treats that alias as the # extension's type name within the account and Region, not the type # name of the public extension. For more information, see [Use aliases # to refer to extensions][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias # @return [String] # # @!attribute [rw] publisher_id # The publisher ID of the extension publisher. # @return [String] # # @!attribute [rw] supported_major_versions # A list of the major versions of the extension type that the macro # supports. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RequiredActivatedType AWS API Documentation # class RequiredActivatedType < Struct.new( :type_name_alias, :original_type_name, :publisher_id, :supported_major_versions) SENSITIVE = [] include Aws::Structure end # The `ResourceChange` structure describes the resource and the action # that CloudFormation will perform on it if you execute this change set. # # @!attribute [rw] policy_action # The action that will be taken on the physical resource when the # change set is executed. # # * `Delete` The resource will be deleted. # # * `Retain` The resource will be retained. # # * `Snapshot` The resource will have a snapshot taken. # # * `ReplaceAndDelete` The resource will be replaced and then deleted. # # * `ReplaceAndRetain` The resource will be replaced and then # retained. # # * `ReplaceAndSnapshot` The resource will be replaced and then have a # snapshot taken. # @return [String] # # @!attribute [rw] action # The action that CloudFormation takes on the resource, such as `Add` # (adds a new resource), `Modify` (changes a resource), `Remove` # (deletes a resource), `Import` (imports a resource), or `Dynamic` # (exact action for the resource can't be determined). # @return [String] # # @!attribute [rw] logical_resource_id # The resource's logical ID, which is defined in the stack's # template. # @return [String] # # @!attribute [rw] physical_resource_id # The resource's physical ID (resource name). Resources that you are # adding don't have physical IDs because they haven't been created. # @return [String] # # @!attribute [rw] resource_type # The type of CloudFormation resource, such as `AWS::S3::Bucket`. # @return [String] # # @!attribute [rw] replacement # For the `Modify` action, indicates whether CloudFormation will # replace the resource by creating a new one and deleting the old one. # This value depends on the value of the `RequiresRecreation` property # in the `ResourceTargetDefinition` structure. For example, if the # `RequiresRecreation` field is `Always` and the `Evaluation` field is # `Static`, `Replacement` is `True`. If the `RequiresRecreation` field # is `Always` and the `Evaluation` field is `Dynamic`, `Replacement` # is `Conditional`. # # If you have multiple changes with different `RequiresRecreation` # values, the `Replacement` value depends on the change with the most # impact. A `RequiresRecreation` value of `Always` has the most # impact, followed by `Conditional`, and then `Never`. # @return [String] # # @!attribute [rw] scope # For the `Modify` action, indicates which resource attribute is # triggering this update, such as a change in the resource # attribute's `Metadata`, `Properties`, or `Tags`. # @return [Array] # # @!attribute [rw] details # For the `Modify` action, a list of `ResourceChangeDetail` structures # that describes the changes that CloudFormation will make to the # resource. # @return [Array] # # @!attribute [rw] change_set_id # The change set ID of the nested change set. # @return [String] # # @!attribute [rw] module_info # Contains information about the module from which the resource was # created, if the resource was created from a module included in the # stack template. # @return [Types::ModuleInfo] # # @!attribute [rw] before_context # An encoded JSON string that contains the context of the resource # before the change is executed. # @return [String] # # @!attribute [rw] after_context # An encoded JSON string that contains the context of the resource # after the change is executed. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChange AWS API Documentation # class ResourceChange < Struct.new( :policy_action, :action, :logical_resource_id, :physical_resource_id, :resource_type, :replacement, :scope, :details, :change_set_id, :module_info, :before_context, :after_context) SENSITIVE = [] include Aws::Structure end # For a resource with `Modify` as the action, the `ResourceChange` # structure describes the changes CloudFormation will make to that # resource. # # @!attribute [rw] target # A `ResourceTargetDefinition` structure that describes the field that # CloudFormation will change and whether the resource will be # recreated. # @return [Types::ResourceTargetDefinition] # # @!attribute [rw] evaluation # Indicates whether CloudFormation can determine the target value, and # whether the target value will change before you execute a change # set. # # For `Static` evaluations, CloudFormation can determine that the # target value will change, and its value. For example, if you # directly modify the `InstanceType` property of an EC2 instance, # CloudFormation knows that this property value will change, and its # value, so this is a `Static` evaluation. # # For `Dynamic` evaluations, can't determine the target value because # it depends on the result of an intrinsic function, such as a `Ref` # or `Fn::GetAtt` intrinsic function, when the stack is updated. For # example, if your template includes a reference to a resource that's # conditionally recreated, the value of the reference (the physical ID # of the resource) might change, depending on if the resource is # recreated. If the resource is recreated, it will have a new physical # ID, so all references to that resource will also be updated. # @return [String] # # @!attribute [rw] change_source # The group to which the `CausingEntity` value belongs. There are five # entity groups: # # * `ResourceReference` entities are `Ref` intrinsic functions that # refer to resources in the template, such as `{ "Ref" : # "MyEC2InstanceResource" }`. # # * `ParameterReference` entities are `Ref` intrinsic functions that # get template parameter values, such as `{ "Ref" : # "MyPasswordParameter" }`. # # * `ResourceAttribute` entities are `Fn::GetAtt` intrinsic functions # that get resource attribute values, such as `{ "Fn::GetAtt" : [ # "MyEC2InstanceResource", "PublicDnsName" ] }`. # # * `DirectModification` entities are changes that are made directly # to the template. # # * `Automatic` entities are `AWS::CloudFormation::Stack` resource # types, which are also known as nested stacks. If you made no # changes to the `AWS::CloudFormation::Stack` resource, # CloudFormation sets the `ChangeSource` to `Automatic` because the # nested stack's template might have changed. Changes to a nested # stack's template aren't visible to CloudFormation until you run # an update on the parent stack. # @return [String] # # @!attribute [rw] causing_entity # The identity of the entity that triggered this change. This entity # is a member of the group that's specified by the `ChangeSource` # field. For example, if you modified the value of the `KeyPairName` # parameter, the `CausingEntity` is the name of the parameter # (`KeyPairName`). # # If the `ChangeSource` value is `DirectModification`, no value is # given for `CausingEntity`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceChangeDetail AWS API Documentation # class ResourceChangeDetail < Struct.new( :target, :evaluation, :change_source, :causing_entity) SENSITIVE = [] include Aws::Structure end # A resource included in a generated template. This data type is used # with the `CreateGeneratedTemplate` and `UpdateGeneratedTemplate` API # actions. # # @!attribute [rw] resource_type # The type of the resource, such as `AWS::DynamoDB::Table`. For the # list of supported resources, see [Resource type support for imports # and drift detection][1] in the *CloudFormation User Guide* # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # @return [String] # # @!attribute [rw] logical_resource_id # The logical resource id for this resource in the generated template. # @return [String] # # @!attribute [rw] resource_identifier # A list of up to 256 key-value pairs that identifies the scanned # resource. The key is the name of one of the primary identifiers for # the resource. (Primary identifiers are specified in the # `primaryIdentifier` list in the resource schema.) The value is the # value of that primary identifier. For example, for a # `AWS::DynamoDB::Table` resource, the primary identifiers is # `TableName` so the key-value pair could be `"TableName": # "MyDDBTable"`. For more information, see [primaryIdentifier][1] in # the *CloudFormation Command Line Interface (CLI) User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceDefinition AWS API Documentation # class ResourceDefinition < Struct.new( :resource_type, :logical_resource_id, :resource_identifier) SENSITIVE = [] include Aws::Structure end # Details about a resource in a generated template # # @!attribute [rw] resource_type # The type of the resource, such as `AWS::DynamoDB::Table`. For the # list of supported resources, see [Resource type support for imports # and drift detection][1] In the *CloudFormation User Guide* # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # @return [String] # # @!attribute [rw] logical_resource_id # The logical id for this resource in the final generated template. # @return [String] # # @!attribute [rw] resource_identifier # A list of up to 256 key-value pairs that identifies the resource in # the generated template. The key is the name of one of the primary # identifiers for the resource. (Primary identifiers are specified in # the `primaryIdentifier` list in the resource schema.) The value is # the value of that primary identifier. For example, for a # `AWS::DynamoDB::Table` resource, the primary identifiers is # `TableName` so the key-value pair could be `"TableName": # "MyDDBTable"`. For more information, see [primaryIdentifier][1] in # the *CloudFormation Command Line Interface (CLI) User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier # @return [Hash] # # @!attribute [rw] resource_status # Status of the processing of a resource in a generated template. # # InProgress # # : The resource processing is still in progress. # # Complete # # : The resource processing is complete. # # Pending # # : The resource processing is pending. # # Failed # # : The resource processing has failed. # @return [String] # # @!attribute [rw] resource_status_reason # The reason for the resource detail, providing more information if a # failure happened. # @return [String] # # @!attribute [rw] warnings # The warnings generated for this resource. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceDetail AWS API Documentation # class ResourceDetail < Struct.new( :resource_type, :logical_resource_id, :resource_identifier, :resource_status, :resource_status_reason, :warnings) SENSITIVE = [] include Aws::Structure end # Describes the target resources of a specific type in your import # template (for example, all `AWS::S3::Bucket` resources) and the # properties you can provide during the import to identify resources of # that type. # # @!attribute [rw] resource_type # The template resource type of the target resources, such as # `AWS::S3::Bucket`. # @return [String] # # @!attribute [rw] logical_resource_ids # The logical IDs of the target resources of the specified # `ResourceType`, as defined in the import template. # @return [Array] # # @!attribute [rw] resource_identifiers # The resource properties you can provide during the import to # identify your target resources. For example, `BucketName` is a # possible identifier property for `AWS::S3::Bucket` resources. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceIdentifierSummary AWS API Documentation # class ResourceIdentifierSummary < Struct.new( :resource_type, :logical_resource_ids, :resource_identifiers) SENSITIVE = [] include Aws::Structure end # The location of the resource in a stack template. # # @!attribute [rw] stack_name # The name associated with the stack. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource specified in the template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceLocation AWS API Documentation # class ResourceLocation < Struct.new( :stack_name, :logical_resource_id) SENSITIVE = [] include Aws::Structure end # Specifies the current source of the resource and the destination of # where it will be moved to. # # @!attribute [rw] source # The source stack `StackName` and `LogicalResourceId` for the # resource being refactored. # @return [Types::ResourceLocation] # # @!attribute [rw] destination # The destination stack `StackName` and `LogicalResourceId` for the # resource being refactored. # @return [Types::ResourceLocation] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceMapping AWS API Documentation # class ResourceMapping < Struct.new( :source, :destination) SENSITIVE = [] include Aws::Structure end # A resource scan is currently in progress. Only one can be run at a # time for an account in a Region. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceScanInProgressException AWS API Documentation # class ResourceScanInProgressException < Aws::EmptyStructure; end # The limit on resource scans has been exceeded. Reasons include: # # * Exceeded the daily quota for resource scans. # # * A resource scan recently failed. You must wait 10 minutes before # starting a new resource scan. # # * The last resource scan failed after exceeding 100,000 resources. # When this happens, you must wait 24 hours before starting a new # resource scan. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceScanLimitExceededException AWS API Documentation # class ResourceScanLimitExceededException < Aws::EmptyStructure; end # The resource scan was not found. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceScanNotFoundException AWS API Documentation # class ResourceScanNotFoundException < Aws::EmptyStructure; end # A summary of the resource scan. This is returned by the # `ListResourceScan` API action. # # @!attribute [rw] resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. # @return [String] # # @!attribute [rw] status # Status of the resource scan. # # IN\_PROGRESS # # : The resource scan is still in progress. # # COMPLETE # # : The resource scan is complete. # # EXPIRED # # : The resource scan has expired. # # FAILED # # : The resource scan has failed. # @return [String] # # @!attribute [rw] status_reason # The reason for the resource scan status, providing more information # if a failure happened. # @return [String] # # @!attribute [rw] start_time # The time that the resource scan was started. # @return [Time] # # @!attribute [rw] end_time # The time that the resource scan was finished. # @return [Time] # # @!attribute [rw] percentage_completed # The percentage of the resource scan that has been completed. # @return [Float] # # @!attribute [rw] scan_type # The scan type that has been completed. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceScanSummary AWS API Documentation # class ResourceScanSummary < Struct.new( :resource_scan_id, :status, :status_reason, :start_time, :end_time, :percentage_completed, :scan_type) SENSITIVE = [] include Aws::Structure end # The field that CloudFormation will change, such as the name of a # resource's property, and whether the resource will be recreated. # # @!attribute [rw] attribute # Indicates which resource attribute is triggering this update, such # as a change in the resource attribute's `Metadata`, `Properties`, # or `Tags`. # @return [String] # # @!attribute [rw] name # If the `Attribute` value is `Properties`, the name of the property. # For all other attributes, the value is null. # @return [String] # # @!attribute [rw] requires_recreation # If the `Attribute` value is `Properties`, indicates whether a change # to this property causes the resource to be recreated. The value can # be `Never`, `Always`, or `Conditionally`. To determine the # conditions for a `Conditionally` recreation, see the update behavior # for that property in the [Amazon Web Services resource and property # types reference][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] # # @!attribute [rw] path # The property path of the property. # @return [String] # # @!attribute [rw] before_value # The value of the property before the change is executed. Large # values can be truncated. # @return [String] # # @!attribute [rw] after_value # The value of the property after the change is executed. Large values # can be truncated. # @return [String] # # @!attribute [rw] attribute_change_type # The type of change to be made to the property if the change is # executed. # # * `Add` The item will be added. # # * `Remove` The item will be removed. # # * `Modify` The item will be modified. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceTargetDefinition AWS API Documentation # class ResourceTargetDefinition < Struct.new( :attribute, :name, :requires_recreation, :path, :before_value, :after_value, :attribute_change_type) SENSITIVE = [] include Aws::Structure end # Describes the target resource of an import operation. # # @!attribute [rw] resource_type # The type of resource to import into your stack, such as # `AWS::S3::Bucket`. For a list of supported resource types, see # [Resource type support for imports and drift detection][1] in the # *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # @return [String] # # @!attribute [rw] logical_resource_id # The logical ID of the target resource as specified in the template. # @return [String] # # @!attribute [rw] resource_identifier # A key-value pair that identifies the target resource. The key is an # identifier property (for example, `BucketName` for `AWS::S3::Bucket` # resources) and the value is the actual property value (for example, # `MyS3Bucket`). # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ResourceToImport AWS API Documentation # class ResourceToImport < Struct.new( :resource_type, :logical_resource_id, :resource_identifier) SENSITIVE = [] include Aws::Structure end # Structure that contains the rollback triggers for CloudFormation to # monitor during stack creation and updating operations, and for the # specified monitoring period afterwards. # # Rollback triggers enable you to have CloudFormation monitor the state # of your application during stack creation and updating, and to roll # back that operation if the application breaches the threshold of any # of the alarms you've specified. For more information, see [Roll back # your CloudFormation stack on alarm breach with rollback triggers][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-rollback-triggers.html # # @!attribute [rw] rollback_triggers # The triggers to monitor during stack creation or update actions. # # By default, CloudFormation saves the rollback triggers specified for # a stack and applies them to any subsequent update operations for the # stack, unless you specify otherwise. If you do specify rollback # triggers for this parameter, those triggers replace any list of # triggers previously specified for the stack. This means: # # * To use the rollback triggers previously specified for this stack, # if any, don't specify this parameter. # # * To specify new or updated rollback triggers, you must specify # *all* the triggers that you want used for this stack, even # triggers you've specified before (for example, when creating the # stack or during a previous stack update). Any triggers that you # don't include in the updated list of triggers are no longer # applied to the stack. # # * To remove all currently specified triggers, specify an empty list # for this parameter. # # If a specified trigger is missing, the entire stack operation fails # and is rolled back. # @return [Array] # # @!attribute [rw] monitoring_time_in_minutes # The amount of time, in minutes, during which CloudFormation should # monitor all the rollback triggers after the stack creation or update # operation deploys all necessary resources. # # The default is 0 minutes. # # If you specify a monitoring period but don't specify any rollback # triggers, CloudFormation still waits the specified period of time # before cleaning up old resources after update operations. You can # use this monitoring period to perform any manual stack validation # desired, and manually cancel the stack creation or update (using # [CancelUpdateStack][1], for example) as necessary. # # If you specify 0 for this parameter, CloudFormation still monitors # the specified rollback triggers during stack creation and update # operations. Then, for update operations, it begins disposing of old # resources immediately once the operation completes. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CancelUpdateStack.html # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackConfiguration AWS API Documentation # class RollbackConfiguration < Struct.new( :rollback_triggers, :monitoring_time_in_minutes) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_name # The name that's associated with the stack. # @return [String] # # @!attribute [rw] role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to rollback the stack. # @return [String] # # @!attribute [rw] client_request_token # A unique identifier for this `RollbackStack` request. # @return [String] # # @!attribute [rw] retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackStackInput AWS API Documentation # class RollbackStackInput < Struct.new( :stack_name, :role_arn, :client_request_token, :retain_except_on_create) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_id # Unique identifier of the stack. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackStackOutput AWS API Documentation # class RollbackStackOutput < Struct.new( :stack_id) SENSITIVE = [] include Aws::Structure end # A rollback trigger CloudFormation monitors during creation and # updating of stacks. If any of the alarms you specify goes to ALARM # state during the stack operation or within the specified monitoring # period afterwards, CloudFormation rolls back the entire stack # operation. # # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the rollback trigger. # # If a specified trigger is missing, the entire stack operation fails # and is rolled back. # @return [String] # # @!attribute [rw] type # The resource type of the rollback trigger. Specify either # [AWS::CloudWatch::Alarm][1] or [AWS::CloudWatch::CompositeAlarm][2] # resource types. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-alarm.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cloudwatch-compositealarm.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackTrigger AWS API Documentation # class RollbackTrigger < Struct.new( :arn, :type) SENSITIVE = [] include Aws::Structure end # A filter that is used to specify which resource types to scan. # # @!attribute [rw] types # An array of strings where each string represents an Amazon Web # Services resource type you want to scan. Each string defines the # resource type using the format `AWS::ServiceName::ResourceType`, for # example, `AWS::DynamoDB::Table`. For the full list of supported # resource types, see the [Resource type support][1] table in the # *CloudFormation User Guide*. # # To scan all resource types within a service, you can use a wildcard, # represented by an asterisk (`*`). You can place an asterisk at only # the end of the string, for example, `AWS::S3::*`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ScanFilter AWS API Documentation # class ScanFilter < Struct.new( :types) SENSITIVE = [] include Aws::Structure end # A scanned resource returned by `ListResourceScanResources` or # `ListResourceScanRelatedResources`. # # @!attribute [rw] resource_type # The type of the resource, such as `AWS::DynamoDB::Table`. For the # list of supported resources, see [Resource type support for imports # and drift detection][1] In the *CloudFormation User Guide* # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # @return [String] # # @!attribute [rw] resource_identifier # A list of up to 256 key-value pairs that identifies for the scanned # resource. The key is the name of one of the primary identifiers for # the resource. (Primary identifiers are specified in the # `primaryIdentifier` list in the resource schema.) The value is the # value of that primary identifier. For example, for a # `AWS::DynamoDB::Table` resource, the primary identifiers is # `TableName` so the key-value pair could be `"TableName": # "MyDDBTable"`. For more information, see [primaryIdentifier][1] in # the *CloudFormation Command Line Interface (CLI) User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier # @return [Hash] # # @!attribute [rw] managed_by_stack # If `true`, the resource is managed by a CloudFormation stack. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ScannedResource AWS API Documentation # class ScannedResource < Struct.new( :resource_type, :resource_identifier, :managed_by_stack) SENSITIVE = [] include Aws::Structure end # Identifies a scanned resource. This is used with the # `ListResourceScanRelatedResources` API action. # # @!attribute [rw] resource_type # The type of the resource, such as `AWS::DynamoDB::Table`. For the # list of supported resources, see [Resource type support for imports # and drift detection][1] In the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # @return [String] # # @!attribute [rw] resource_identifier # A list of up to 256 key-value pairs that identifies the scanned # resource. The key is the name of one of the primary identifiers for # the resource. (Primary identifiers are specified in the # `primaryIdentifier` list in the resource schema.) The value is the # value of that primary identifier. For example, for a # `AWS::DynamoDB::Table` resource, the primary identifiers is # `TableName` so the key-value pair could be `"TableName": # "MyDDBTable"`. For more information, see [primaryIdentifier][1] in # the *CloudFormation Command Line Interface (CLI) User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-primaryidentifier # @return [Hash] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ScannedResourceIdentifier AWS API Documentation # class ScannedResourceIdentifier < Struct.new( :resource_type, :resource_identifier) SENSITIVE = [] include Aws::Structure end # The input for the SetStackPolicy action. # # @!attribute [rw] stack_name # The name or unique stack ID that you want to associate a policy # with. # @return [String] # # @!attribute [rw] stack_policy_body # Structure that contains the stack policy body. For more information, # see [Prevent updates to stack resources][1] in the *CloudFormation # User Guide*. You can specify either the `StackPolicyBody` or the # `StackPolicyURL` parameter, but not both. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/protect-stack-resources.html # @return [String] # # @!attribute [rw] stack_policy_url # Location of a file that contains the stack policy. The URL must # point to a policy (maximum size: 16 KB) located in an Amazon S3 # bucket in the same Amazon Web Services Region as the stack. The # location for an Amazon S3 bucket must start with `https://`. URLs # from S3 static websites are not supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicyInput AWS API Documentation # class SetStackPolicyInput < Struct.new( :stack_name, :stack_policy_body, :stack_policy_url) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type_arn # The Amazon Resource Name (ARN) for the extension in this account and # Region. # # For public extensions, this will be the ARN assigned when you call # the [ActivateType][1] API operation in this account and Region. For # private extensions, this will be the ARN assigned when you call the # [RegisterType][2] API operation in this account and Region. # # Do not include the extension versions suffix at the end of the ARN. # You can set the configuration for an extension, but not for a # specific extension version. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # @return [String] # # @!attribute [rw] configuration # The configuration data for the extension in this account and Region. # # The configuration data must be formatted as JSON and validate # against the extension's schema returned in the `Schema` response # element of [DescribeType][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html # @return [String] # # @!attribute [rw] configuration_alias # An alias by which to refer to this extension configuration data. # # Conditional: Specifying a configuration alias is required when # setting a configuration for a resource type extension. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # Conditional: You must specify `ConfigurationArn`, or `Type` and # `TypeName`. # @return [String] # # @!attribute [rw] type # The type of extension. # # Conditional: You must specify `ConfigurationArn`, or `Type` and # `TypeName`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeConfigurationInput AWS API Documentation # class SetTypeConfigurationInput < Struct.new( :type_arn, :configuration, :configuration_alias, :type_name, :type) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] configuration_arn # The Amazon Resource Name (ARN) for the configuration data in this # account and Region. # # Conditional: You must specify `ConfigurationArn`, or `Type` and # `TypeName`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeConfigurationOutput AWS API Documentation # class SetTypeConfigurationOutput < Struct.new( :configuration_arn) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the extension for which you want # version summary information. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] type # The kind of extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # Conditional: You must specify either `TypeName` and `Type`, or # `Arn`. # @return [String] # # @!attribute [rw] version_id # The ID of a specific version of the extension. The version ID is the # value at the end of the Amazon Resource Name (ARN) assigned to the # extension version when it is registered. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeDefaultVersionInput AWS API Documentation # class SetTypeDefaultVersionInput < Struct.new( :arn, :type, :type_name, :version_id) SENSITIVE = [] include Aws::Structure end # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeDefaultVersionOutput AWS API Documentation # class SetTypeDefaultVersionOutput < Aws::EmptyStructure; end # The input for the SignalResource action. # # @!attribute [rw] stack_name # The stack name or unique stack ID that includes the resource that # you want to signal. # @return [String] # # @!attribute [rw] logical_resource_id # The logical ID of the resource that you want to signal. The logical # ID is the name of the resource that given in the template. # @return [String] # # @!attribute [rw] unique_id # A unique ID of the signal. When you signal Amazon EC2 instances or # Auto Scaling groups, specify the instance ID that you are signaling # as the unique ID. If you send multiple signals to a single resource # (such as signaling a wait condition), each signal requires a # different unique ID. # @return [String] # # @!attribute [rw] status # The status of the signal, which is either success or failure. A # failure signal causes CloudFormation to immediately fail the stack # creation or update. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResourceInput AWS API Documentation # class SignalResourceInput < Struct.new( :stack_name, :logical_resource_id, :unique_id, :status) SENSITIVE = [] include Aws::Structure end # The Stack data type. # # @!attribute [rw] stack_id # Unique identifier of the stack. # @return [String] # # @!attribute [rw] stack_name # The name associated with the stack. # @return [String] # # @!attribute [rw] change_set_id # The unique ID of the change set. # @return [String] # # @!attribute [rw] description # A user-defined description associated with the stack. # @return [String] # # @!attribute [rw] parameters # A list of `Parameter` structures. # @return [Array] # # @!attribute [rw] creation_time # The time at which the stack was created. # @return [Time] # # @!attribute [rw] deletion_time # The time the stack was deleted. # @return [Time] # # @!attribute [rw] last_updated_time # The time the stack was last updated. This field will only be # returned if the stack has been updated at least once. # @return [Time] # # @!attribute [rw] rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @return [Types::RollbackConfiguration] # # @!attribute [rw] stack_status # Current status of the stack. # @return [String] # # @!attribute [rw] stack_status_reason # Success/failure message associated with the stack status. # @return [String] # # @!attribute [rw] disable_rollback # Boolean to enable or disable rollback on stack creation failures: # # * `true`: disable rollback. # # * `false`: enable rollback. # @return [Boolean] # # @!attribute [rw] notification_arns # Amazon SNS topic Amazon Resource Names (ARNs) to which stack related # events are published. # @return [Array] # # @!attribute [rw] timeout_in_minutes # The amount of time within which stack creation should complete. # @return [Integer] # # @!attribute [rw] capabilities # The capabilities allowed in the stack. # @return [Array] # # @!attribute [rw] outputs # A list of output structures. # @return [Array] # # @!attribute [rw] role_arn # The Amazon Resource Name (ARN) of an IAM role that's associated # with the stack. During a stack operation, CloudFormation uses this # role's credentials to make calls on your behalf. # @return [String] # # @!attribute [rw] tags # A list of `Tag`s that specify information about the stack. # @return [Array] # # @!attribute [rw] enable_termination_protection # Whether termination protection is enabled for the stack. # # For [nested stacks][1], termination protection is set on the root # stack and can't be changed directly on the nested stack. For more # information, see [Protect a CloudFormation stack from being # deleted][2] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html # @return [Boolean] # # @!attribute [rw] parent_id # For nested stacks, the stack ID of the direct parent of this stack. # For the first level of nested stacks, the root stack is also the # parent stack. # # For more information, see [Nested stacks][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @return [String] # # @!attribute [rw] root_id # For nested stacks, the stack ID of the top-level stack to which the # nested stack ultimately belongs. # # For more information, see [Nested stacks][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @return [String] # # @!attribute [rw] drift_information # Information about whether a stack's actual configuration differs, # or has *drifted*, from its expected configuration, as defined in the # stack template and any values specified as template parameters. For # more information, see [Detect unmanaged configuration changes to # stacks and resources with drift detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # @return [Types::StackDriftInformation] # # @!attribute [rw] retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Boolean] # # @!attribute [rw] deletion_mode # Specifies the deletion mode for the stack. Possible values are: # # * `STANDARD` - Use the standard behavior. Specifying this value is # the same as not specifying this parameter. # # * `FORCE_DELETE_STACK` - Delete the stack if it's stuck in a # `DELETE_FAILED` state due to resource deletion failure. # @return [String] # # @!attribute [rw] detailed_status # The detailed status of the resource or stack. If # `CONFIGURATION_COMPLETE` is present, the resource or resource # configuration phase has completed and the stabilization of the # resources is in progress. The StackSets `CONFIGURATION_COMPLETE` # when all of the resources in the stack have reached that event. For # more information, see [Understand CloudFormation stack creation # events][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Stack AWS API Documentation # class Stack < Struct.new( :stack_id, :stack_name, :change_set_id, :description, :parameters, :creation_time, :deletion_time, :last_updated_time, :rollback_configuration, :stack_status, :stack_status_reason, :disable_rollback, :notification_arns, :timeout_in_minutes, :capabilities, :outputs, :role_arn, :tags, :enable_termination_protection, :parent_id, :root_id, :drift_information, :retain_except_on_create, :deletion_mode, :detailed_status) SENSITIVE = [] include Aws::Structure end # Describes the stack and the template used by the stack. # # @!attribute [rw] stack_name # The name associated with the stack. # @return [String] # # @!attribute [rw] template_body # The file path for the stack template file. # @return [String] # # @!attribute [rw] template_url # The desired final state of the stack template. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackDefinition AWS API Documentation # class StackDefinition < Struct.new( :stack_name, :template_body, :template_url) SENSITIVE = [] include Aws::Structure end # Contains information about whether the stack's actual configuration # differs, or has *drifted*, from its expected configuration, as defined # in the stack template and any values specified as template parameters. # A stack is considered to have drifted if one or more of its resources # have drifted. # # @!attribute [rw] stack_drift_status # Status of the stack's actual configuration compared to its expected # template configuration. # # * `DRIFTED`: The stack differs from its expected template # configuration. A stack is considered to have drifted if one or # more of its resources have drifted. # # * `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs # from its expected template configuration. # # * `IN_SYNC`: The stack's actual configuration matches its expected # template configuration. # # * `UNKNOWN`: CloudFormation could not run drift detection for a # resource in the stack. # @return [String] # # @!attribute [rw] last_check_timestamp # Most recent time when a drift detection operation was initiated on # the stack, or any of its individual resources that support drift # detection. # @return [Time] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackDriftInformation AWS API Documentation # class StackDriftInformation < Struct.new( :stack_drift_status, :last_check_timestamp) SENSITIVE = [] include Aws::Structure end # Contains information about whether the stack's actual configuration # differs, or has *drifted*, from its expected configuration, as defined # in the stack template and any values specified as template parameters. # A stack is considered to have drifted if one or more of its resources # have drifted. # # @!attribute [rw] stack_drift_status # Status of the stack's actual configuration compared to its expected # template configuration. # # * `DRIFTED`: The stack differs from its expected template # configuration. A stack is considered to have drifted if one or # more of its resources have drifted. # # * `NOT_CHECKED`: CloudFormation hasn't checked if the stack differs # from its expected template configuration. # # * `IN_SYNC`: The stack's actual configuration matches its expected # template configuration. # # * `UNKNOWN`: CloudFormation could not run drift detection for a # resource in the stack. # @return [String] # # @!attribute [rw] last_check_timestamp # Most recent time when a drift detection operation was initiated on # the stack, or any of its individual resources that support drift # detection. # @return [Time] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackDriftInformationSummary AWS API Documentation # class StackDriftInformationSummary < Struct.new( :stack_drift_status, :last_check_timestamp) SENSITIVE = [] include Aws::Structure end # The StackEvent data type. # # @!attribute [rw] stack_id # The unique ID name of the instance of the stack. # @return [String] # # @!attribute [rw] event_id # The unique identifier of this event. # @return [String] # # @!attribute [rw] stack_name # The name associated with a stack. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource specified in the template. # @return [String] # # @!attribute [rw] physical_resource_id # The name or unique identifier associated with the physical instance # of the resource. # @return [String] # # @!attribute [rw] resource_type # Type of resource. For more information, see [Amazon Web Services # resource and property types reference][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] # # @!attribute [rw] timestamp # Time the status was updated. # @return [Time] # # @!attribute [rw] resource_status # Current status of the resource. # @return [String] # # @!attribute [rw] resource_status_reason # Success/failure message associated with the resource. # @return [String] # # @!attribute [rw] resource_properties # BLOB of the properties used to create the resource. # @return [String] # # @!attribute [rw] client_request_token # The token passed to the operation that generated this event. # # All events triggered by a given stack operation are assigned the # same client request token, which you can use to track operations. # For example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation # will have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @return [String] # # @!attribute [rw] hook_type # The name of the Hook. # @return [String] # # @!attribute [rw] hook_status # Provides the status of the change set Hook. # @return [String] # # @!attribute [rw] hook_status_reason # Provides the reason for the Hook status. # @return [String] # # @!attribute [rw] hook_invocation_point # The specific point in the provisioning process where the Hook is # invoked. # @return [String] # # @!attribute [rw] hook_invocation_id # The unique identifier of the Hook invocation. # @return [String] # # @!attribute [rw] hook_failure_mode # Specify the Hook failure mode for non-compliant resources in the # followings ways. # # * `FAIL` Stops provisioning resources. # # * `WARN` Allows provisioning to continue with a warning message. # @return [String] # # @!attribute [rw] detailed_status # An optional field that contains information about the detailed # status of the stack event. # # * `CONFIGURATION_COMPLETE` - all of the resources in the stack have # reached that event. For more information, see [Understand # CloudFormation stack creation events][1] in the *CloudFormation # User Guide*. # # ^ # ^ # # * `VALIDATION_FAILED` - template validation failed because of # invalid properties in the template. The `ResourceStatusReason` # field shows what properties are defined incorrectly. # # ^ # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackEvent AWS API Documentation # class StackEvent < Struct.new( :stack_id, :event_id, :stack_name, :logical_resource_id, :physical_resource_id, :resource_type, :timestamp, :resource_status, :resource_status_reason, :resource_properties, :client_request_token, :hook_type, :hook_status, :hook_status_reason, :hook_invocation_point, :hook_invocation_id, :hook_failure_mode, :detailed_status) SENSITIVE = [] include Aws::Structure end # A CloudFormation stack, in a specific account and Region, that's part # of a StackSet operation. A stack instance is a reference to an # attempted or actual stack in a given account within a given Region. A # stack instance can exist without a stack—for example, if the stack # couldn't be created for some reason. A stack instance is associated # with only one StackSet. Each stack instance contains the ID of its # associated StackSet, in addition to the ID of the actual stack and the # stack status. # # @!attribute [rw] stack_set_id # The name or unique ID of the StackSet that the stack instance is # associated with. # @return [String] # # @!attribute [rw] region # The name of the Amazon Web Services Region that the stack instance # is associated with. # @return [String] # # @!attribute [rw] account # \[Self-managed permissions\] The name of the Amazon Web Services # account that the stack instance is associated with. # @return [String] # # @!attribute [rw] stack_id # The ID of the stack instance. # @return [String] # # @!attribute [rw] parameter_overrides # A list of parameters from the StackSet template whose values have # been overridden in this stack instance. # @return [Array] # # @!attribute [rw] status # The status of the stack instance, in terms of its synchronization # with its associated stack set. # # * `INOPERABLE`: A `DeleteStackInstances` operation has failed and # left the stack in an unstable state. Stacks in this state are # excluded from further `UpdateStackSet` operations. You might need # to perform a `DeleteStackInstances` operation, with `RetainStacks` # set to `true`, to delete the stack instance, and then delete the # stack manually. `INOPERABLE` can be returned here when the cause # is a failed import. If it's due to a failed import, the operation # can be retried once the failures are fixed. To see if this is due # to a failed import, look at the `DetailedStatus` member in the # `StackInstanceSummary` member that is a peer to this `Status` # member. # # * `OUTDATED`: The stack isn't currently up to date with the # StackSet because: # # * The associated stack failed during a `CreateStackSet` or # `UpdateStackSet` operation. # # * The stack was part of a `CreateStackSet` or `UpdateStackSet` # operation that failed or was stopped before the stack was # created or updated. # * `CURRENT`: The stack is currently up to date with the StackSet. # @return [String] # # @!attribute [rw] stack_instance_status # The detailed status of the stack instance. # @return [Types::StackInstanceComprehensiveStatus] # # @!attribute [rw] status_reason # The explanation for the specific status code that's assigned to # this stack instance. # @return [String] # # @!attribute [rw] organizational_unit_id # \[Service-managed permissions\] The organization root ID or # organizational unit (OU) IDs that you specified for # [DeploymentTargets][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html # @return [String] # # @!attribute [rw] drift_status # Status of the stack instance's actual configuration compared to the # expected template and parameter configuration of the StackSet it # belongs to. # # * `DRIFTED`: The stack differs from the expected template and # parameter configuration of the StackSet it belongs to. A stack # instance is considered to have drifted if one or more of the # resources in the associated stack have drifted. # # * `NOT_CHECKED`: CloudFormation hasn't checked if the stack # instance differs from its expected StackSet configuration. # # * `IN_SYNC`: The stack instance's actual configuration matches its # expected StackSset configuration. # # * `UNKNOWN`: This value is reserved for future use. # @return [String] # # @!attribute [rw] last_drift_check_timestamp # Most recent time when CloudFormation performed a drift detection # operation on the stack instance. This value will be `NULL` for any # stack instance that drift detection hasn't yet been performed on. # @return [Time] # # @!attribute [rw] last_operation_id # The last unique ID of a StackSet operation performed on a stack # instance. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstance AWS API Documentation # class StackInstance < Struct.new( :stack_set_id, :region, :account, :stack_id, :parameter_overrides, :status, :stack_instance_status, :status_reason, :organizational_unit_id, :drift_status, :last_drift_check_timestamp, :last_operation_id) SENSITIVE = [] include Aws::Structure end # The detailed status of the stack instance. # # @!attribute [rw] detailed_status # * `CANCELLED`: The operation in the specified account and Region has # been canceled. This is either because a user has stopped the # StackSet operation, or because the failure tolerance of the # StackSet operation has been exceeded. # # * `FAILED`: The operation in the specified account and Region # failed. If the StackSet operation fails in enough accounts within # a Region, the failure tolerance for the StackSet operation as a # whole might be exceeded. # # * `FAILED_IMPORT`: The import of the stack instance in the specified # account and Region failed and left the stack in an unstable state. # Once the issues causing the failure are fixed, the import # operation can be retried. If enough StackSet operations fail in # enough accounts within a Region, the failure tolerance for the # StackSet operation as a whole might be exceeded. # # * `INOPERABLE`: A `DeleteStackInstances` operation has failed and # left the stack in an unstable state. Stacks in this state are # excluded from further `UpdateStackSet` operations. You might need # to perform a `DeleteStackInstances` operation, with `RetainStacks` # set to `true`, to delete the stack instance, and then delete the # stack manually. # # * `PENDING`: The operation in the specified account and Region has # yet to start. # # * `RUNNING`: The operation in the specified account and Region is # currently in progress. # # * `SKIPPED_SUSPENDED_ACCOUNT`: The operation in the specified # account and Region has been skipped because the account was # suspended at the time of the operation. # # * `SUCCEEDED`: The operation in the specified account and Region # completed successfully. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceComprehensiveStatus AWS API Documentation # class StackInstanceComprehensiveStatus < Struct.new( :detailed_status) SENSITIVE = [] include Aws::Structure end # The filter to apply to stack instances # # @!attribute [rw] name # The type of filter to apply. # @return [String] # # @!attribute [rw] values # The status to filter by. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceFilter AWS API Documentation # class StackInstanceFilter < Struct.new( :name, :values) SENSITIVE = [] include Aws::Structure end # The specified stack instance doesn't exist. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceNotFoundException AWS API Documentation # class StackInstanceNotFoundException < Aws::EmptyStructure; end # The structure containing summary information about resource drifts for # a stack instance. # # @!attribute [rw] stack_id # The ID of the stack instance. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource specified in the template. # @return [String] # # @!attribute [rw] physical_resource_id # The name or unique identifier that corresponds to a physical # instance ID of a resource supported by CloudFormation. # @return [String] # # @!attribute [rw] physical_resource_id_context # Context information that enables CloudFormation to uniquely identify # a resource. CloudFormation uses context key-value pairs in cases # where a resource's logical and physical IDs aren't enough to # uniquely identify that resource. Each context key-value pair # specifies a unique resource that contains the targeted resource. # @return [Array] # # @!attribute [rw] resource_type # Type of resource. For more information, see [Amazon Web Services # resource and property types reference][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] # # @!attribute [rw] property_differences # Status of the actual configuration of the resource compared to its # expected configuration. These will be present only for resources # whose `StackInstanceResourceDriftStatus` is `MODIFIED`. # @return [Array] # # @!attribute [rw] stack_resource_drift_status # The drift status of the resource in a stack instance. # # * `DELETED`: The resource differs from its expected template # configuration in that the resource has been deleted. # # * `MODIFIED`: One or more resource properties differ from their # expected template values. # # * `IN_SYNC`: The resource's actual configuration matches its # expected template configuration. # # * `NOT_CHECKED`: CloudFormation doesn't currently return this # value. # @return [String] # # @!attribute [rw] timestamp # Time at which the stack instance drift detection operation was # initiated. # @return [Time] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceResourceDriftsSummary AWS API Documentation # class StackInstanceResourceDriftsSummary < Struct.new( :stack_id, :logical_resource_id, :physical_resource_id, :physical_resource_id_context, :resource_type, :property_differences, :stack_resource_drift_status, :timestamp) SENSITIVE = [] include Aws::Structure end # The structure that contains summary information about a stack # instance. # # @!attribute [rw] stack_set_id # The name or unique ID of the StackSet that the stack instance is # associated with. # @return [String] # # @!attribute [rw] region # The name of the Amazon Web Services Region that the stack instance # is associated with. # @return [String] # # @!attribute [rw] account # \[Self-managed permissions\] The name of the Amazon Web Services # account that the stack instance is associated with. # @return [String] # # @!attribute [rw] stack_id # The ID of the stack instance. # @return [String] # # @!attribute [rw] status # The status of the stack instance, in terms of its synchronization # with its associated stack set. # # * `INOPERABLE`: A `DeleteStackInstances` operation has failed and # left the stack in an unstable state. Stacks in this state are # excluded from further `UpdateStackSet` operations. You might need # to perform a `DeleteStackInstances` operation, with `RetainStacks` # set to `true`, to delete the stack instance, and then delete the # stack manually. `INOPERABLE` can be returned here when the cause # is a failed import. If it's due to a failed import, the operation # can be retried once the failures are fixed. To see if this is due # to a failed import, call the DescribeStackInstance API operation, # look at the `DetailedStatus` member returned in the # `StackInstanceSummary` member. # # * `OUTDATED`: The stack isn't currently up to date with the # StackSet because: # # * The associated stack failed during a `CreateStackSet` or # `UpdateStackSet` operation. # # * The stack was part of a `CreateStackSet` or `UpdateStackSet` # operation that failed or was stopped before the stack was # created or updated. # * `CURRENT`: The stack is currently up to date with the StackSet. # @return [String] # # @!attribute [rw] status_reason # The explanation for the specific status code assigned to this stack # instance. # @return [String] # # @!attribute [rw] stack_instance_status # The detailed status of the stack instance. # @return [Types::StackInstanceComprehensiveStatus] # # @!attribute [rw] organizational_unit_id # \[Service-managed permissions\] The organization root ID or # organizational unit (OU) IDs that you specified for # [DeploymentTargets][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html # @return [String] # # @!attribute [rw] drift_status # Status of the stack instance's actual configuration compared to the # expected template and parameter configuration of the StackSet it # belongs to. # # * `DRIFTED`: The stack differs from the expected template and # parameter configuration of the StackSet it belongs to. A stack # instance is considered to have drifted if one or more of the # resources in the associated stack have drifted. # # * `NOT_CHECKED`: CloudFormation hasn't checked if the stack # instance differs from its expected StackSet configuration. # # * `IN_SYNC`: The stack instance's actual configuration matches its # expected StackSet configuration. # # * `UNKNOWN`: This value is reserved for future use. # @return [String] # # @!attribute [rw] last_drift_check_timestamp # Most recent time when CloudFormation performed a drift detection # operation on the stack instance. This value will be `NULL` for any # stack instance that drift detection hasn't yet been performed on. # @return [Time] # # @!attribute [rw] last_operation_id # The last unique ID of a StackSet operation performed on a stack # instance. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackInstanceSummary AWS API Documentation # class StackInstanceSummary < Struct.new( :stack_set_id, :region, :account, :stack_id, :status, :status_reason, :stack_instance_status, :organizational_unit_id, :drift_status, :last_drift_check_timestamp, :last_operation_id) SENSITIVE = [] include Aws::Structure end # The specified stack ARN doesn't exist or stack doesn't exist # corresponding to the ARN in input. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackNotFoundException AWS API Documentation # class StackNotFoundException < Aws::EmptyStructure; end # Describes the stack and the action that CloudFormation will perform on # it if you execute the stack refactor. # # @!attribute [rw] action # The action that CloudFormation takes on the stack. # @return [String] # # @!attribute [rw] entity # The type that will be evaluated in the `StackRefactorAction`. The # following are potential `Entity` types: # # * `Stack` # # * `Resource` # @return [String] # # @!attribute [rw] physical_resource_id # The name or unique identifier associated with the physical instance # of the resource. # @return [String] # # @!attribute [rw] resource_identifier # A key-value pair that identifies the target resource. The key is an # identifier property (for example, `BucketName` for `AWS::S3::Bucket` # resources) and the value is the actual property value (for example, # `MyS3Bucket`). # @return [String] # # @!attribute [rw] description # A description to help you identify the refactor. # @return [String] # # @!attribute [rw] detection # The detection type is one of the following: # # * Auto: CloudFormation figured out the mapping on its own. # # * Manual: The customer provided the mapping in the `ResourceMapping` # parameter. # @return [String] # # @!attribute [rw] detection_reason # The description of the detection type. # @return [String] # # @!attribute [rw] tag_resources # Assigns one or more tags to specified resources. # @return [Array] # # @!attribute [rw] untag_resources # Removes one or more tags to specified resources. # @return [Array] # # @!attribute [rw] resource_mapping # The mapping for the stack resource `Source` and stack resource # `Destination`. # @return [Types::ResourceMapping] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackRefactorAction AWS API Documentation # class StackRefactorAction < Struct.new( :action, :entity, :physical_resource_id, :resource_identifier, :description, :detection, :detection_reason, :tag_resources, :untag_resources, :resource_mapping) SENSITIVE = [] include Aws::Structure end # The specified stack refactor can't be found. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackRefactorNotFoundException AWS API Documentation # class StackRefactorNotFoundException < Aws::EmptyStructure; end # The summary of a stack refactor operation. # # @!attribute [rw] stack_refactor_id # The ID associated with the stack refactor created from the # CreateStackRefactor action. # @return [String] # # @!attribute [rw] description # A description to help you identify the refactor. # @return [String] # # @!attribute [rw] execution_status # The operation status that's provided after calling the # ExecuteStackRefactor action. # @return [String] # # @!attribute [rw] execution_status_reason # A detailed explanation for the stack refactor `ExecutionStatus`. # @return [String] # # @!attribute [rw] status # The stack refactor operation status that's provided after calling # the CreateStackRefactor action. # @return [String] # # @!attribute [rw] status_reason # A detailed explanation for the stack refactor `Status`. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackRefactorSummary AWS API Documentation # class StackRefactorSummary < Struct.new( :stack_refactor_id, :description, :execution_status, :execution_status_reason, :status, :status_reason) SENSITIVE = [] include Aws::Structure end # The StackResource data type. # # @!attribute [rw] stack_name # The name associated with the stack. # @return [String] # # @!attribute [rw] stack_id # Unique identifier of the stack. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource specified in the template. # @return [String] # # @!attribute [rw] physical_resource_id # The name or unique identifier that corresponds to a physical # instance ID of a resource supported by CloudFormation. # @return [String] # # @!attribute [rw] resource_type # Type of resource. For more information, see [Amazon Web Services # resource and property types reference][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] # # @!attribute [rw] timestamp # Time the status was updated. # @return [Time] # # @!attribute [rw] resource_status # Current status of the resource. # @return [String] # # @!attribute [rw] resource_status_reason # Success/failure message associated with the resource. # @return [String] # # @!attribute [rw] description # User defined description associated with the resource. # @return [String] # # @!attribute [rw] drift_information # Information about whether the resource's actual configuration # differs, or has *drifted*, from its expected configuration, as # defined in the stack template and any values specified as template # parameters. For more information, see [Detect unmanaged # configuration changes to stacks and resources with drift # detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # @return [Types::StackResourceDriftInformation] # # @!attribute [rw] module_info # Contains information about the module from which the resource was # created, if the resource was created from a module included in the # stack template. # @return [Types::ModuleInfo] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResource AWS API Documentation # class StackResource < Struct.new( :stack_name, :stack_id, :logical_resource_id, :physical_resource_id, :resource_type, :timestamp, :resource_status, :resource_status_reason, :description, :drift_information, :module_info) SENSITIVE = [] include Aws::Structure end # Contains detailed information about the specified stack resource. # # @!attribute [rw] stack_name # The name associated with the stack. # @return [String] # # @!attribute [rw] stack_id # Unique identifier of the stack. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource specified in the template. # @return [String] # # @!attribute [rw] physical_resource_id # The name or unique identifier that corresponds to a physical # instance ID of a resource supported by CloudFormation. # @return [String] # # @!attribute [rw] resource_type # Type of resource. For more information, see [Amazon Web Services # resource and property types reference][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] # # @!attribute [rw] last_updated_timestamp # Time the status was updated. # @return [Time] # # @!attribute [rw] resource_status # Current status of the resource. # @return [String] # # @!attribute [rw] resource_status_reason # Success/failure message associated with the resource. # @return [String] # # @!attribute [rw] description # User defined description associated with the resource. # @return [String] # # @!attribute [rw] metadata # The content of the `Metadata` attribute declared for the resource. # For more information, see [Metadata attribute][1] in the # *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html # @return [String] # # @!attribute [rw] drift_information # Information about whether the resource's actual configuration # differs, or has *drifted*, from its expected configuration, as # defined in the stack template and any values specified as template # parameters. For more information, see [Detect unmanaged # configuration changes to stacks and resources with drift # detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # @return [Types::StackResourceDriftInformation] # # @!attribute [rw] module_info # Contains information about the module from which the resource was # created, if the resource was created from a module included in the # stack template. # @return [Types::ModuleInfo] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDetail AWS API Documentation # class StackResourceDetail < Struct.new( :stack_name, :stack_id, :logical_resource_id, :physical_resource_id, :resource_type, :last_updated_timestamp, :resource_status, :resource_status_reason, :description, :metadata, :drift_information, :module_info) SENSITIVE = [] include Aws::Structure end # Contains the drift information for a resource that has been checked # for drift. This includes actual and expected property values for # resources in which CloudFormation has detected drift. Only resource # properties explicitly defined in the stack template are checked for # drift. For more information, see [Detect unmanaged configuration # changes to stacks and resources with drift detection][1]. # # Resources that don't currently support drift detection can't be # checked. For a list of resources that support drift detection, see # [Resource type support for imports and drift detection][2]. # # Use DetectStackResourceDrift to detect drift on individual resources, # or DetectStackDrift to detect drift on all resources in a given stack # that support drift detection. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # # @!attribute [rw] stack_id # The ID of the stack. # @return [String] # # @!attribute [rw] logical_resource_id # The logical name of the resource specified in the template. # @return [String] # # @!attribute [rw] physical_resource_id # The name or unique identifier that corresponds to a physical # instance ID of a resource supported by CloudFormation. # @return [String] # # @!attribute [rw] physical_resource_id_context # Context information that enables CloudFormation to uniquely identify # a resource. CloudFormation uses context key-value pairs in cases # where a resource's logical and physical IDs aren't enough to # uniquely identify that resource. Each context key-value pair # specifies a unique resource that contains the targeted resource. # @return [Array] # # @!attribute [rw] resource_type # The type of the resource. # @return [String] # # @!attribute [rw] expected_properties # A JSON structure that contains the expected property values of the # stack resource, as defined in the stack template and any values # specified as template parameters. # # For resources whose `StackResourceDriftStatus` is `DELETED`, this # structure will not be present. # @return [String] # # @!attribute [rw] actual_properties # A JSON structure that contains the actual property values of the # stack resource. # # For resources whose `StackResourceDriftStatus` is `DELETED`, this # structure will not be present. # @return [String] # # @!attribute [rw] property_differences # A collection of the resource properties whose actual values differ # from their expected values. These will be present only for resources # whose `StackResourceDriftStatus` is `MODIFIED`. # @return [Array] # # @!attribute [rw] stack_resource_drift_status # Status of the resource's actual configuration compared to its # expected configuration. # # * `DELETED`: The resource differs from its expected template # configuration because the resource has been deleted. # # * `MODIFIED`: One or more resource properties differ from their # expected values (as defined in the stack template and any values # specified as template parameters). # # * `IN_SYNC`: The resource's actual configuration matches its # expected template configuration. # # * `NOT_CHECKED`: CloudFormation does not currently return this # value. # # * `UNKNOWN`: CloudFormation could not run drift detection for the # resource. See the `DriftStatusReason` for details. # @return [String] # # @!attribute [rw] timestamp # Time at which CloudFormation performed drift detection on the stack # resource. # @return [Time] # # @!attribute [rw] module_info # Contains information about the module from which the resource was # created, if the resource was created from a module included in the # stack template. # @return [Types::ModuleInfo] # # @!attribute [rw] drift_status_reason # The reason for the drift status. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDrift AWS API Documentation # class StackResourceDrift < Struct.new( :stack_id, :logical_resource_id, :physical_resource_id, :physical_resource_id_context, :resource_type, :expected_properties, :actual_properties, :property_differences, :stack_resource_drift_status, :timestamp, :module_info, :drift_status_reason) SENSITIVE = [] include Aws::Structure end # Contains information about whether the resource's actual # configuration differs, or has *drifted*, from its expected # configuration. # # @!attribute [rw] stack_resource_drift_status # Status of the resource's actual configuration compared to its # expected configuration # # * `DELETED`: The resource differs from its expected configuration in # that it has been deleted. # # * `MODIFIED`: The resource differs from its expected configuration. # # * `NOT_CHECKED`: CloudFormation has not checked if the resource # differs from its expected configuration. # # Any resources that do not currently support drift detection have a # status of `NOT_CHECKED`. For more information, see [Resource type # support for imports and drift detection][1]. # # * `IN_SYNC`: The resource's actual configuration matches its # expected configuration. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # @return [String] # # @!attribute [rw] last_check_timestamp # When CloudFormation last checked if the resource had drifted from # its expected configuration. # @return [Time] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDriftInformation AWS API Documentation # class StackResourceDriftInformation < Struct.new( :stack_resource_drift_status, :last_check_timestamp) SENSITIVE = [] include Aws::Structure end # Summarizes information about whether the resource's actual # configuration differs, or has *drifted*, from its expected # configuration. # # @!attribute [rw] stack_resource_drift_status # Status of the resource's actual configuration compared to its # expected configuration. # # * `DELETED`: The resource differs from its expected configuration in # that it has been deleted. # # * `MODIFIED`: The resource differs from its expected configuration. # # * `NOT_CHECKED`: CloudFormation hasn't checked if the resource # differs from its expected configuration. # # Any resources that don't currently support drift detection have a # status of `NOT_CHECKED`. For more information, see [Resource type # support for imports and drift detection][1]. If you performed an # ContinueUpdateRollback operation on a stack, any resources # included in `ResourcesToSkip` will also have a status of # `NOT_CHECKED`. For more information about skipping resources # during rollback operations, see [Continue rolling back an # update][2] in the *CloudFormation User Guide*. # # * `IN_SYNC`: The resource's actual configuration matches its # expected configuration. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html # @return [String] # # @!attribute [rw] last_check_timestamp # When CloudFormation last checked if the resource had drifted from # its expected configuration. # @return [Time] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceDriftInformationSummary AWS API Documentation # class StackResourceDriftInformationSummary < Struct.new( :stack_resource_drift_status, :last_check_timestamp) SENSITIVE = [] include Aws::Structure end # Contains high-level information about the specified stack resource. # # @!attribute [rw] logical_resource_id # The logical name of the resource specified in the template. # @return [String] # # @!attribute [rw] physical_resource_id # The name or unique identifier that corresponds to a physical # instance ID of the resource. # @return [String] # # @!attribute [rw] resource_type # Type of resource. (For more information, see [Amazon Web Services # resource and property types reference][1] in the *CloudFormation # User Guide*.) # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html # @return [String] # # @!attribute [rw] last_updated_timestamp # Time the status was updated. # @return [Time] # # @!attribute [rw] resource_status # Current status of the resource. # @return [String] # # @!attribute [rw] resource_status_reason # Success/failure message associated with the resource. # @return [String] # # @!attribute [rw] drift_information # Information about whether the resource's actual configuration # differs, or has *drifted*, from its expected configuration, as # defined in the stack template and any values specified as template # parameters. For more information, see [Detect unmanaged # configuration changes to stacks and resources with drift # detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # @return [Types::StackResourceDriftInformationSummary] # # @!attribute [rw] module_info # Contains information about the module from which the resource was # created, if the resource was created from a module included in the # stack template. # @return [Types::ModuleInfo] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackResourceSummary AWS API Documentation # class StackResourceSummary < Struct.new( :logical_resource_id, :physical_resource_id, :resource_type, :last_updated_timestamp, :resource_status, :resource_status_reason, :drift_information, :module_info) SENSITIVE = [] include Aws::Structure end # A structure that contains information about a StackSet. With # StackSets, you can provision stacks across Amazon Web Services # accounts and Regions from a single CloudFormation template. Each stack # is based on the same CloudFormation template, but you can customize # individual stacks using parameters. # # @!attribute [rw] stack_set_name # The name that's associated with the StackSet. # @return [String] # # @!attribute [rw] stack_set_id # The ID of the StackSet. # @return [String] # # @!attribute [rw] description # A description of the StackSet that you specify when the StackSet is # created or updated. # @return [String] # # @!attribute [rw] status # The status of the StackSet. # @return [String] # # @!attribute [rw] template_body # The structure that contains the body of the template that was used # to create or update the StackSet. # @return [String] # # @!attribute [rw] parameters # A list of input parameters for a StackSet. # @return [Array] # # @!attribute [rw] capabilities # The capabilities that are allowed in the StackSet. Some StackSet # templates might include resources that can affect permissions in # your Amazon Web Services account—for example, by creating new # Identity and Access Management (IAM) users. For more information, # see [Acknowledging IAM resources in CloudFormation templates][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # @return [Array] # # @!attribute [rw] tags # A list of tags that specify information about the StackSet. A # maximum number of 50 tags can be specified. # @return [Array] # # @!attribute [rw] stack_set_arn # The Amazon Resource Name (ARN) of the StackSet. # @return [String] # # @!attribute [rw] administration_role_arn # The Amazon Resource Name (ARN) of the IAM role used to create or # update the stack set. # # Use customized administrator roles to control which users or groups # can manage specific StackSets within the same administrator account. # For more information, see [Prerequisites for using CloudFormation # StackSets][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs.html # @return [String] # # @!attribute [rw] execution_role_name # The name of the IAM execution role used to create or update the # StackSet. # # Use customized execution roles to control which stack resources # users and groups can include in their StackSets. # @return [String] # # @!attribute [rw] stack_set_drift_detection_details # Detailed information about the drift status of the StackSet. # # For StackSets, contains information about the last *completed* drift # operation performed on the StackSet. Information about drift # operations currently in progress isn't included. # @return [Types::StackSetDriftDetectionDetails] # # @!attribute [rw] auto_deployment # Describes whether StackSets automatically deploys to Organizations # accounts that are added to a target organization or organizational # unit (OU). Valid only if the StackSet uses service-managed # permissions. # @return [Types::AutoDeployment] # # @!attribute [rw] permission_model # Describes how the IAM roles required for StackSet operations are # created. # # * With `self-managed` permissions, you must create the administrator # and execution roles required to deploy to target accounts. For # more information, see [Grant self-managed permissions][1]. # # * With `service-managed` permissions, StackSets automatically # creates the IAM roles required to deploy to accounts managed by # Organizations. For more information, see [Activate trusted access # for StackSets with Organizations][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html # @return [String] # # @!attribute [rw] organizational_unit_ids # \[Service-managed permissions\] The organization root ID or # organizational unit (OU) IDs that you specified for # [DeploymentTargets][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html # @return [Array] # # @!attribute [rw] managed_execution # Describes whether StackSets performs non-conflicting operations # concurrently and queues conflicting operations. # @return [Types::ManagedExecution] # # @!attribute [rw] regions # Returns a list of all Amazon Web Services Regions the given StackSet # has stack instances deployed in. The Amazon Web Services Regions # list output is in no particular order. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSet AWS API Documentation # class StackSet < Struct.new( :stack_set_name, :stack_set_id, :description, :status, :template_body, :parameters, :capabilities, :tags, :stack_set_arn, :administration_role_arn, :execution_role_name, :stack_set_drift_detection_details, :auto_deployment, :permission_model, :organizational_unit_ids, :managed_execution, :regions) SENSITIVE = [] include Aws::Structure end # One of the targets for the StackSet. Returned by the # [ListStackSetAutoDeploymentTargets][1] API operation. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStackSetAutoDeploymentTargets.html # # @!attribute [rw] organizational_unit_id # The organization root ID or organizational unit (OU) IDs where the # StackSet is targeted. # @return [String] # # @!attribute [rw] regions # The list of Regions targeted for this organization or OU. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetAutoDeploymentTargetSummary AWS API Documentation # class StackSetAutoDeploymentTargetSummary < Struct.new( :organizational_unit_id, :regions) SENSITIVE = [] include Aws::Structure end # Detailed information about the drift status of the StackSet. # # For StackSets, contains information about the last *completed* drift # operation performed on the StackSet. Information about drift # operations in-progress isn't included. # # For StackSet operations, includes information about drift operations # currently being performed on the StackSet. # # For more information, see [Performing drift detection on # CloudFormation StackSets][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html # # @!attribute [rw] drift_status # Status of the StackSet's actual configuration compared to its # expected template and parameter configuration. # # * `DRIFTED`: One or more of the stack instances belonging to the # StackSet differs from the expected template and parameter # configuration. A stack instance is considered to have drifted if # one or more of the resources in the associated stack have drifted. # # * `NOT_CHECKED`: CloudFormation hasn't checked the StackSet for # drift. # # * `IN_SYNC`: All of the stack instances belonging to the StackSet # stack match the expected template and parameter configuration. # @return [String] # # @!attribute [rw] drift_detection_status # The status of the StackSet drift detection operation. # # * `COMPLETED`: The drift detection operation completed without # failing on any stack instances. # # * `FAILED`: The drift detection operation exceeded the specified # failure tolerance. # # * `PARTIAL_SUCCESS`: The drift detection operation completed without # exceeding the failure tolerance for the operation. # # * `IN_PROGRESS`: The drift detection operation is currently being # performed. # # * `STOPPED`: The user has canceled the drift detection operation. # @return [String] # # @!attribute [rw] last_drift_check_timestamp # Most recent time when CloudFormation performed a drift detection # operation on the StackSet. This value will be `NULL` for any # StackSet that drift detection hasn't yet been performed on. # @return [Time] # # @!attribute [rw] total_stack_instances_count # The total number of stack instances belonging to this StackSet. # # The total number of stack instances is equal to the total of: # # * Stack instances that match the StackSet configuration. # # * Stack instances that have drifted from the StackSet configuration. # # * Stack instances where the drift detection operation has failed. # # * Stack instances currently being checked for drift. # @return [Integer] # # @!attribute [rw] drifted_stack_instances_count # The number of stack instances that have drifted from the expected # template and parameter configuration of the StackSet. A stack # instance is considered to have drifted if one or more of the # resources in the associated stack don't match their expected # configuration. # @return [Integer] # # @!attribute [rw] in_sync_stack_instances_count # The number of stack instances which match the expected template and # parameter configuration of the StackSet. # @return [Integer] # # @!attribute [rw] in_progress_stack_instances_count # The number of stack instances that are currently being checked for # drift. # @return [Integer] # # @!attribute [rw] failed_stack_instances_count # The number of stack instances for which the drift detection # operation failed. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetDriftDetectionDetails AWS API Documentation # class StackSetDriftDetectionDetails < Struct.new( :drift_status, :drift_detection_status, :last_drift_check_timestamp, :total_stack_instances_count, :drifted_stack_instances_count, :in_sync_stack_instances_count, :in_progress_stack_instances_count, :failed_stack_instances_count) SENSITIVE = [] include Aws::Structure end # You can't yet delete this StackSet, because it still contains one or # more stack instances. Delete all stack instances from the StackSet # before deleting the StackSet. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetNotEmptyException AWS API Documentation # class StackSetNotEmptyException < Aws::EmptyStructure; end # The specified StackSet doesn't exist. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetNotFoundException AWS API Documentation # class StackSetNotFoundException < Aws::EmptyStructure; end # The structure that contains information about a StackSet operation. # # @!attribute [rw] operation_id # The unique ID of a StackSet operation. # @return [String] # # @!attribute [rw] stack_set_id # The ID of the StackSet. # @return [String] # # @!attribute [rw] action # The type of StackSet operation: `CREATE`, `UPDATE`, or `DELETE`. # Create and delete operations affect only the specified stack # instances that are associated with the specified StackSet. Update # operations affect both the StackSet itself, in addition to *all* # associated stack instances. # @return [String] # # @!attribute [rw] status # The status of the operation. # # * `FAILED`: The operation exceeded the specified failure tolerance. # The failure tolerance value that you've set for an operation is # applied for each Region during stack create and update operations. # If the number of failed stacks within a Region exceeds the failure # tolerance, the status of the operation in the Region is set to # `FAILED`. This in turn sets the status of the operation as a whole # to `FAILED`, and CloudFormation cancels the operation in any # remaining Regions. # # * `QUEUED`: \[Service-managed permissions\] For automatic # deployments that require a sequence of operations, the operation # is queued to be performed. For more information, see the # [StackSets status codes][1] in the *CloudFormation User Guide*. # # * `RUNNING`: The operation is currently being performed. # # * `STOPPED`: The user has canceled the operation. # # * `STOPPING`: The operation is in the process of stopping, at user # request. # # * `SUCCEEDED`: The operation completed creating or updating all the # specified stacks without exceeding the failure tolerance for the # operation. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes # @return [String] # # @!attribute [rw] operation_preferences # The preferences for how CloudFormation performs this StackSet # operation. # @return [Types::StackSetOperationPreferences] # # @!attribute [rw] retain_stacks # For StackSet operations of action type `DELETE`, specifies whether # to remove the stack instances from the specified StackSet, but # doesn't delete the stacks. You can't re-associate a retained # stack, or add an existing, saved stack to a new StackSet. # @return [Boolean] # # @!attribute [rw] administration_role_arn # The Amazon Resource Name (ARN) of the IAM role used to perform this # StackSet operation. # # Use customized administrator roles to control which users or groups # can manage specific StackSets within the same administrator account. # For more information, see [Grant self-managed permissions][1] in the # *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # @return [String] # # @!attribute [rw] execution_role_name # The name of the IAM execution role used to create or update the # StackSet. # # Use customized execution roles to control which stack resources # users and groups can include in their StackSets. # @return [String] # # @!attribute [rw] creation_timestamp # The time at which the operation was initiated. Note that the # creation times for the stack set operation might differ from the # creation time of the individual stacks themselves. This is because # CloudFormation needs to perform preparatory work for the operation, # such as dispatching the work to the requested Regions, before # actually creating the first stacks. # @return [Time] # # @!attribute [rw] end_timestamp # The time at which the StackSet operation ended, across all accounts # and Regions specified. Note that this doesn't necessarily mean that # the StackSet operation was successful, or even attempted, in each # account or Region. # @return [Time] # # @!attribute [rw] deployment_targets # The Organizations accounts affected by the stack operation. Valid # only if the StackSet uses service-managed permissions. # @return [Types::DeploymentTargets] # # @!attribute [rw] stack_set_drift_detection_details # Detailed information about the drift status of the StackSet. This # includes information about drift operations currently being # performed on the StackSet. # # This information will only be present for StackSet operations whose # `Action` type is `DETECT_DRIFT`. # # For more information, see [Performing drift detection on # CloudFormation StackSets][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html # @return [Types::StackSetDriftDetectionDetails] # # @!attribute [rw] status_reason # The status of the operation in details. # @return [String] # # @!attribute [rw] status_details # Detailed information about the StackSet operation. # @return [Types::StackSetOperationStatusDetails] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperation AWS API Documentation # class StackSetOperation < Struct.new( :operation_id, :stack_set_id, :action, :status, :operation_preferences, :retain_stacks, :administration_role_arn, :execution_role_name, :creation_timestamp, :end_timestamp, :deployment_targets, :stack_set_drift_detection_details, :status_reason, :status_details) SENSITIVE = [] include Aws::Structure end # The user-specified preferences for how CloudFormation performs a # StackSet operation. # # For more information about maximum concurrent accounts and failure # tolerance, see [StackSet operation options][1]. # # `StackSetOperationPreferences` don't apply to `AutoDeployment`, even # if it's enabled. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options # # @!attribute [rw] region_concurrency_type # The concurrency type of deploying StackSets operations in Regions, # could be in parallel or one Region at a time. # @return [String] # # @!attribute [rw] region_order # The order of the Regions where you want to perform the stack # operation. # @return [Array] # # @!attribute [rw] failure_tolerance_count # The number of accounts per Region this operation can fail in before # CloudFormation stops the operation in that Region. If the operation # is stopped in a Region, CloudFormation doesn't attempt the # operation in any subsequent Regions. # # You can specify either `FailureToleranceCount` or # `FailureTolerancePercentage`, but not both. # # By default, `0` is specified. # @return [Integer] # # @!attribute [rw] failure_tolerance_percentage # The percentage of accounts per Region this stack operation can fail # in before CloudFormation stops the operation in that Region. If the # operation is stopped in a Region, CloudFormation doesn't attempt # the operation in any subsequent Regions. # # When calculating the number of accounts based on the specified # percentage, CloudFormation rounds *down* to the next whole number. # # You can specify either `FailureToleranceCount` or # `FailureTolerancePercentage`, but not both. # # By default, `0` is specified. # @return [Integer] # # @!attribute [rw] max_concurrent_count # The maximum number of accounts in which to perform this operation at # one time. This can depend on the value of `FailureToleranceCount` # depending on your `ConcurrencyMode`. `MaxConcurrentCount` is at most # one more than the `FailureToleranceCount` if you're using # `STRICT_FAILURE_TOLERANCE`. # # Note that this setting lets you specify the *maximum* for # operations. For large deployments, under certain circumstances the # actual number of accounts acted upon concurrently may be lower due # to service throttling. # # You can specify either `MaxConcurrentCount` or # `MaxConcurrentPercentage`, but not both. # # By default, `1` is specified. # @return [Integer] # # @!attribute [rw] max_concurrent_percentage # The maximum percentage of accounts in which to perform this # operation at one time. # # When calculating the number of accounts based on the specified # percentage, CloudFormation rounds down to the next whole number. # This is true except in cases where rounding down would result is # zero. In this case, CloudFormation sets the number as one instead. # # Note that this setting lets you specify the *maximum* for # operations. For large deployments, under certain circumstances the # actual number of accounts acted upon concurrently may be lower due # to service throttling. # # You can specify either `MaxConcurrentCount` or # `MaxConcurrentPercentage`, but not both. # # By default, `1` is specified. # @return [Integer] # # @!attribute [rw] concurrency_mode # Specifies how the concurrency level behaves during the operation # execution. # # * `STRICT_FAILURE_TOLERANCE`: This option dynamically lowers the # concurrency level to ensure the number of failed accounts never # exceeds the value of `FailureToleranceCount` +1. The initial # actual concurrency is set to the lower of either the value of the # `MaxConcurrentCount`, or the value of `FailureToleranceCount` +1. # The actual concurrency is then reduced proportionally by the # number of failures. This is the default behavior. # # If failure tolerance or Maximum concurrent accounts are set to # percentages, the behavior is similar. # # * `SOFT_FAILURE_TOLERANCE`: This option decouples # `FailureToleranceCount` from the actual concurrency. This allows # StackSet operations to run at the concurrency level set by the # `MaxConcurrentCount` value, or `MaxConcurrentPercentage`, # regardless of the number of failures. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationPreferences AWS API Documentation # class StackSetOperationPreferences < Struct.new( :region_concurrency_type, :region_order, :failure_tolerance_count, :failure_tolerance_percentage, :max_concurrent_count, :max_concurrent_percentage, :concurrency_mode) SENSITIVE = [] include Aws::Structure end # The structure that contains information about a specified operation's # results for a given account in a given Region. # # @!attribute [rw] account # \[Self-managed permissions\] The name of the Amazon Web Services # account for this operation result. # @return [String] # # @!attribute [rw] region # The name of the Amazon Web Services Region for this operation # result. # @return [String] # # @!attribute [rw] status # The result status of the StackSet operation for the given account in # the given Region. # # * `CANCELLED`: The operation in the specified account and Region has # been canceled. This is either because a user has stopped the # StackSet operation, or because the failure tolerance of the # StackSet operation has been exceeded. # # * `FAILED`: The operation in the specified account and Region # failed. # # If the StackSet operation fails in enough accounts within a # Region, the failure tolerance for the StackSet operation as a # whole might be exceeded. # # * `RUNNING`: The operation in the specified account and Region is # currently in progress. # # * `PENDING`: The operation in the specified account and Region has # yet to start. # # * `SUCCEEDED`: The operation in the specified account and Region # completed successfully. # @return [String] # # @!attribute [rw] status_reason # The reason for the assigned result status. # @return [String] # # @!attribute [rw] account_gate_result # The results of the account gate function CloudFormation invokes, if # present, before proceeding with StackSet operations in an account. # @return [Types::AccountGateResult] # # @!attribute [rw] organizational_unit_id # \[Service-managed permissions\] The organization root ID or # organizational unit (OU) IDs that you specified for # [DeploymentTargets][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeploymentTargets.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationResultSummary AWS API Documentation # class StackSetOperationResultSummary < Struct.new( :account, :region, :status, :status_reason, :account_gate_result, :organizational_unit_id) SENSITIVE = [] include Aws::Structure end # Detailed information about the StackSet operation. # # @!attribute [rw] failed_stack_instances_count # The number of stack instances for which the StackSet operation # failed. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationStatusDetails AWS API Documentation # class StackSetOperationStatusDetails < Struct.new( :failed_stack_instances_count) SENSITIVE = [] include Aws::Structure end # The structures that contain summary information about the specified # operation. # # @!attribute [rw] operation_id # The unique ID of the StackSet operation. # @return [String] # # @!attribute [rw] action # The type of operation: `CREATE`, `UPDATE`, or `DELETE`. Create and # delete operations affect only the specified stack instances that are # associated with the specified StackSet. Update operations affect # both the StackSet itself and *all* associated StackSet instances. # @return [String] # # @!attribute [rw] status # The overall status of the operation. # # * `FAILED`: The operation exceeded the specified failure tolerance. # The failure tolerance value that you've set for an operation is # applied for each Region during stack create and update operations. # If the number of failed stacks within a Region exceeds the failure # tolerance, the status of the operation in the Region is set to # `FAILED`. This in turn sets the status of the operation as a whole # to `FAILED`, and CloudFormation cancels the operation in any # remaining Regions. # # * `QUEUED`: \[Service-managed permissions\] For automatic # deployments that require a sequence of operations, the operation # is queued to be performed. For more information, see the [StackSet # status codes][1] in the *CloudFormation User Guide*. # # * `RUNNING`: The operation is currently being performed. # # * `STOPPED`: The user has canceled the operation. # # * `STOPPING`: The operation is in the process of stopping, at user # request. # # * `SUCCEEDED`: The operation completed creating or updating all the # specified stacks without exceeding the failure tolerance for the # operation. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-status-codes # @return [String] # # @!attribute [rw] creation_timestamp # The time at which the operation was initiated. Note that the # creation times for the StackSet operation might differ from the # creation time of the individual stacks themselves. This is because # CloudFormation needs to perform preparatory work for the operation, # such as dispatching the work to the requested Regions, before # actually creating the first stacks. # @return [Time] # # @!attribute [rw] end_timestamp # The time at which the StackSet operation ended, across all accounts # and Regions specified. Note that this doesn't necessarily mean that # the StackSet operation was successful, or even attempted, in each # account or Region. # @return [Time] # # @!attribute [rw] status_reason # The status of the operation in details. # @return [String] # # @!attribute [rw] status_details # Detailed information about the StackSet operation. # @return [Types::StackSetOperationStatusDetails] # # @!attribute [rw] operation_preferences # The user-specified preferences for how CloudFormation performs a # StackSet operation. # # For more information about maximum concurrent accounts and failure # tolerance, see [StackSet operation options][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-concepts.html#stackset-ops-options # @return [Types::StackSetOperationPreferences] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetOperationSummary AWS API Documentation # class StackSetOperationSummary < Struct.new( :operation_id, :action, :status, :creation_timestamp, :end_timestamp, :status_reason, :status_details, :operation_preferences) SENSITIVE = [] include Aws::Structure end # The structures that contain summary information about the specified # StackSet. # # @!attribute [rw] stack_set_name # The name of the StackSet. # @return [String] # # @!attribute [rw] stack_set_id # The ID of the StackSet. # @return [String] # # @!attribute [rw] description # A description of the StackSet that you specify when the StackSet is # created or updated. # @return [String] # # @!attribute [rw] status # The status of the StackSet. # @return [String] # # @!attribute [rw] auto_deployment # \[Service-managed permissions\] Describes whether StackSets # automatically deploys to Organizations accounts that are added to a # target organizational unit (OU). # @return [Types::AutoDeployment] # # @!attribute [rw] permission_model # Describes how the IAM roles required for StackSet operations are # created. # # * With `self-managed` permissions, you must create the administrator # and execution roles required to deploy to target accounts. For # more information, see [Grant self-managed permissions][1]. # # * With `service-managed` permissions, StackSets automatically # creates the IAM roles required to deploy to accounts managed by # Organizations. For more information, see [Activate trusted access # for StackSets with Organizations][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html # @return [String] # # @!attribute [rw] drift_status # Status of the StackSet's actual configuration compared to its # expected template and parameter configuration. # # * `DRIFTED`: One or more of the stack instances belonging to the # StackSet differs from the expected template and parameter # configuration. A stack instance is considered to have drifted if # one or more of the resources in the associated stack have drifted. # # * `NOT_CHECKED`: CloudFormation hasn't checked the StackSet for # drift. # # * `IN_SYNC`: All the stack instances belonging to the StackSet match # the expected template and parameter configuration. # # * `UNKNOWN`: This value is reserved for future use. # @return [String] # # @!attribute [rw] last_drift_check_timestamp # Most recent time when CloudFormation performed a drift detection # operation on the StackSet. This value will be `NULL` for any # StackSet that drift detection hasn't yet been performed on. # @return [Time] # # @!attribute [rw] managed_execution # Describes whether StackSets performs non-conflicting operations # concurrently and queues conflicting operations. # @return [Types::ManagedExecution] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSetSummary AWS API Documentation # class StackSetSummary < Struct.new( :stack_set_name, :stack_set_id, :description, :status, :auto_deployment, :permission_model, :drift_status, :last_drift_check_timestamp, :managed_execution) SENSITIVE = [] include Aws::Structure end # The StackSummary Data Type # # @!attribute [rw] stack_id # Unique stack identifier. # @return [String] # # @!attribute [rw] stack_name # The name associated with the stack. # @return [String] # # @!attribute [rw] template_description # The template description of the template used to create the stack. # @return [String] # # @!attribute [rw] creation_time # The time the stack was created. # @return [Time] # # @!attribute [rw] last_updated_time # The time the stack was last updated. This field will only be # returned if the stack has been updated at least once. # @return [Time] # # @!attribute [rw] deletion_time # The time the stack was deleted. # @return [Time] # # @!attribute [rw] stack_status # The current status of the stack. # @return [String] # # @!attribute [rw] stack_status_reason # Success/Failure message associated with the stack status. # @return [String] # # @!attribute [rw] parent_id # For nested stacks, the stack ID of the direct parent of this stack. # For the first level of nested stacks, the root stack is also the # parent stack. # # For more information, see [Nested stacks][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @return [String] # # @!attribute [rw] root_id # For nested stacks, the stack ID of the top-level stack to which the # nested stack ultimately belongs. # # For more information, see [Nested stacks][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html # @return [String] # # @!attribute [rw] drift_information # Summarizes information about whether a stack's actual configuration # differs, or has *drifted*, from its expected configuration, as # defined in the stack template and any values specified as template # parameters. For more information, see [Detect unmanaged # configuration changes to stacks and resources with drift # detection][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html # @return [Types::StackDriftInformationSummary] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StackSummary AWS API Documentation # class StackSummary < Struct.new( :stack_id, :stack_name, :template_description, :creation_time, :last_updated_time, :deletion_time, :stack_status, :stack_status_reason, :parent_id, :root_id, :drift_information) SENSITIVE = [] include Aws::Structure end # Another operation has been performed on this StackSet since the # specified operation was performed. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StaleRequestException AWS API Documentation # class StaleRequestException < Aws::EmptyStructure; end # @!attribute [rw] client_request_token # A unique identifier for this `StartResourceScan` request. Specify # this token if you plan to retry requests so that CloudFormation # knows that you're not attempting to start a new resource scan. # @return [String] # # @!attribute [rw] scan_filters # The scan filters to use. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StartResourceScanInput AWS API Documentation # class StartResourceScanInput < Struct.new( :client_request_token, :scan_filters) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] resource_scan_id # The Amazon Resource Name (ARN) of the resource scan. The format is # `arn:${Partition}:cloudformation:${Region}:${Account}:resourceScan/${Id}`. # An example is # `arn:aws:cloudformation:us-east-1:123456789012:resourceScan/f5b490f7-7ed4-428a-aa06-31ff25db0772 # `. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StartResourceScanOutput AWS API Documentation # class StartResourceScanOutput < Struct.new( :resource_scan_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to stop the # operation for. # @return [String] # # @!attribute [rw] operation_id # The ID of the stack operation. # @return [String] # # @!attribute [rw] call_as # Specifies whether you are acting as an account administrator in the # organization's management account or as a delegated administrator # in a member account. Valid only if the StackSet uses service-managed # permissions. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationInput AWS API Documentation # class StopStackSetOperationInput < Struct.new( :stack_set_name, :operation_id, :call_as) SENSITIVE = [] include Aws::Structure end # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperationOutput AWS API Documentation # class StopStackSetOperationOutput < Aws::EmptyStructure; end # The Tag type enables you to specify a key-value pair that can be used # to store information about an CloudFormation stack. # # @!attribute [rw] key # A string used to identify this tag. You can specify a maximum of 128 # characters for a tag key. Tags owned by Amazon Web Services have the # reserved prefix: `aws:`. # @return [String] # # @!attribute [rw] value # A string that contains the value for this tag. You can specify a # maximum of 256 characters for a tag value. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Tag AWS API Documentation # class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end # The configuration details of a generated template. # # @!attribute [rw] deletion_policy # The `DeletionPolicy` assigned to resources in the generated # template. Supported values are: # # * `DELETE` - delete all resources when the stack is deleted. # # * `RETAIN` - retain all resources when the stack is deleted. # # For more information, see [DeletionPolicy attribute][1] in the # *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html # @return [String] # # @!attribute [rw] update_replace_policy # The `UpdateReplacePolicy` assigned to resources in the generated # template. Supported values are: # # * `DELETE` - delete all resources when the resource is replaced # during an update operation. # # * `RETAIN` - retain all resources when the resource is replaced # during an update operation. # # For more information, see [UpdateReplacePolicy attribute][1] in the # *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatereplacepolicy.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateConfiguration AWS API Documentation # class TemplateConfiguration < Struct.new( :deletion_policy, :update_replace_policy) SENSITIVE = [] include Aws::Structure end # The TemplateParameter data type. # # @!attribute [rw] parameter_key # The name associated with the parameter. # @return [String] # # @!attribute [rw] default_value # The default value associated with the parameter. # @return [String] # # @!attribute [rw] no_echo # Flag indicating whether the parameter should be displayed as plain # text in logs and UIs. # @return [Boolean] # # @!attribute [rw] description # User defined description associated with the parameter. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateParameter AWS API Documentation # class TemplateParameter < Struct.new( :parameter_key, :default_value, :no_echo, :description) SENSITIVE = [] include Aws::Structure end # A summary of the progress of the template generation. # # @!attribute [rw] resources_succeeded # The number of resources that succeeded the template generation. # @return [Integer] # # @!attribute [rw] resources_failed # The number of resources that failed the template generation. # @return [Integer] # # @!attribute [rw] resources_processing # The number of resources that are in-process for the template # generation. # @return [Integer] # # @!attribute [rw] resources_pending # The number of resources that are still pending the template # generation. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateProgress AWS API Documentation # class TemplateProgress < Struct.new( :resources_succeeded, :resources_failed, :resources_processing, :resources_pending) SENSITIVE = [] include Aws::Structure end # The summary of a generated template. # # @!attribute [rw] generated_template_id # The Amazon Resource Name (ARN) of the generated template. The format # is # `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. # For example, # `arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc # `. # @return [String] # # @!attribute [rw] generated_template_name # The name of the generated template. # @return [String] # # @!attribute [rw] status # The status of the template generation. Supported values are: # # * `CreatePending` - the creation of the template is pending. # # * `CreateInProgress` - the creation of the template is in progress. # # * `DeletePending` - the deletion of the template is pending. # # * `DeleteInProgress` - the deletion of the template is in progress. # # * `UpdatePending` - the update of the template is pending. # # * `UpdateInProgress` - the update of the template is in progress. # # * `Failed` - the template operation failed. # # * `Complete` - the template operation is complete. # @return [String] # # @!attribute [rw] status_reason # The reason for the current template generation status. This will # provide more details if a failure happened. # @return [String] # # @!attribute [rw] creation_time # The time the generated template was created. # @return [Time] # # @!attribute [rw] last_updated_time # The time the generated template was last updated. # @return [Time] # # @!attribute [rw] number_of_resources # The number of resources in the generated template. This is a total # of resources in pending, in-progress, completed, and failed states. # @return [Integer] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateSummary AWS API Documentation # class TemplateSummary < Struct.new( :generated_template_id, :generated_template_name, :status, :status_reason, :creation_time, :last_updated_time, :number_of_resources) SENSITIVE = [] include Aws::Structure end # Options for the `GetTemplateSummary` API action. # # @!attribute [rw] treat_unrecognized_resource_types_as_warnings # If set to `True`, any unrecognized resource types generate warnings # and not an error. Any unrecognized resource types are returned in # the `Warnings` output parameter. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TemplateSummaryConfig AWS API Documentation # class TemplateSummaryConfig < Struct.new( :treat_unrecognized_resource_types_as_warnings) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] arn # The Amazon Resource Name (ARN) of the extension. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # @return [String] # # @!attribute [rw] type # The type of the extension to test. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # @return [String] # # @!attribute [rw] type_name # The name of the extension to test. # # Conditional: You must specify `Arn`, or `TypeName` and `Type`. # @return [String] # # @!attribute [rw] version_id # The version of the extension to test. # # You can specify the version id with either `Arn`, or with `TypeName` # and `Type`. # # If you don't specify a version, CloudFormation uses the default # version of the extension in this account and Region for testing. # @return [String] # # @!attribute [rw] log_delivery_bucket # The S3 bucket to which CloudFormation delivers the contract test # execution logs. # # CloudFormation delivers the logs by the time contract testing has # completed and the extension has been assigned a test type status of # `PASSED` or `FAILED`. # # The user calling `TestType` must be able to access items in the # specified S3 bucket. Specifically, the user needs the following # permissions: # # * `GetObject` # # * `PutObject` # # For more information, see [Actions, Resources, and Condition Keys # for Amazon S3][1] in the *Identity and Access Management User # Guide*. # # # # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazons3.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TestTypeInput AWS API Documentation # class TestTypeInput < Struct.new( :arn, :type, :type_name, :version_id, :log_delivery_bucket) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] type_version_arn # The Amazon Resource Name (ARN) of the extension. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TestTypeOutput AWS API Documentation # class TestTypeOutput < Struct.new( :type_version_arn) SENSITIVE = [] include Aws::Structure end # A client request token already exists. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TokenAlreadyExistsException AWS API Documentation # class TokenAlreadyExistsException < Aws::EmptyStructure; end # Detailed information concerning the specification of a CloudFormation # extension in a given account and Region. # # For more information, see [Edit configuration data for extensions in # your account][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html # # @!attribute [rw] arn # The ARN for the configuration data, in this account and Region. # @return [String] # # @!attribute [rw] alias # The alias specified for this configuration, if one was specified # when the configuration was set. # @return [String] # # @!attribute [rw] configuration # A JSON string specifying the configuration data for the extension, # in this account and Region. # # If a configuration hasn't been set for a specified extension, # CloudFormation returns `{}`. # @return [String] # # @!attribute [rw] last_updated # When the configuration data was last updated for this extension. # # If a configuration hasn't been set for a specified extension, # CloudFormation returns `null`. # @return [Time] # # @!attribute [rw] type_arn # The ARN for the extension, in this account and Region. # # For public extensions, this will be the ARN assigned when you call # the [ActivateType][1] API operation in this account and Region. For # private extensions, this will be the ARN assigned when you call the # [RegisterType][2] API operation in this account and Region. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # @return [String] # # @!attribute [rw] type_name # The name of the extension. # @return [String] # # @!attribute [rw] is_default_configuration # Whether this configuration data is the default configuration for the # extension. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TypeConfigurationDetails AWS API Documentation # class TypeConfigurationDetails < Struct.new( :arn, :alias, :configuration, :last_updated, :type_arn, :type_name, :is_default_configuration) SENSITIVE = [] include Aws::Structure end # Identifying information for the configuration of a CloudFormation # extension. # # @!attribute [rw] type_arn # The ARN for the extension, in this account and Region. # # For public extensions, this will be the ARN assigned when you call # the [ActivateType][1] API operation in this account and Region. For # private extensions, this will be the ARN assigned when you call the # [RegisterType][2] API operation in this account and Region. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # @return [String] # # @!attribute [rw] type_configuration_alias # The alias specified for this configuration, if one was specified # when the configuration was set. # @return [String] # # @!attribute [rw] type_configuration_arn # The ARN for the configuration, in this account and Region. # @return [String] # # @!attribute [rw] type # The type of extension. # @return [String] # # @!attribute [rw] type_name # The name of the extension type to which this configuration applies. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TypeConfigurationIdentifier AWS API Documentation # class TypeConfigurationIdentifier < Struct.new( :type_arn, :type_configuration_alias, :type_configuration_arn, :type, :type_name) SENSITIVE = [] include Aws::Structure end # The specified extension configuration can't be found. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TypeConfigurationNotFoundException AWS API Documentation # class TypeConfigurationNotFoundException < Aws::EmptyStructure; end # Filter criteria to use in determining which extensions to return. # # @!attribute [rw] category # The category of extensions to return. # # * `REGISTERED`: Private extensions that have been registered for # this account and Region. # # * `ACTIVATED`: Public extensions that have been activated for this # account and Region. # # * `THIRD_PARTY`: Extensions available for use from publishers other # than Amazon. This includes: # # * Private extensions registered in the account. # # * Public extensions from publishers other than Amazon, whether # activated or not. # * `AWS_TYPES`: Extensions available for use from Amazon. # @return [String] # # @!attribute [rw] publisher_id # The id of the publisher of the extension. # # Extensions published by Amazon aren't assigned a publisher ID. Use # the `AWS_TYPES` category to specify a list of types published by # Amazon. # @return [String] # # @!attribute [rw] type_name_prefix # A prefix to use as a filter for results. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TypeFilters AWS API Documentation # class TypeFilters < Struct.new( :category, :publisher_id, :type_name_prefix) SENSITIVE = [] include Aws::Structure end # The specified extension doesn't exist in the CloudFormation registry. # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TypeNotFoundException AWS API Documentation # class TypeNotFoundException < Aws::EmptyStructure; end # Contains summary information about the specified CloudFormation # extension. # # @!attribute [rw] type # The kind of extension. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # # If you specified a `TypeNameAlias` when you call the # [ActivateType][1] API operation in your account and Region, # CloudFormation considers that alias as the type name. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html # @return [String] # # @!attribute [rw] default_version_id # The ID of the default version of the extension. The default version # is used when the extension version isn't specified. # # This applies only to private extensions you have registered in your # account. For public extensions, both those provided by Amazon and # published by third parties, CloudFormation returns `null`. For more # information, see [RegisterType][1]. # # To set the default version of an extension, use # SetTypeDefaultVersion. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # @return [String] # # @!attribute [rw] type_arn # The ARN of the extension. # @return [String] # # @!attribute [rw] last_updated # When the specified extension version was registered. This applies # only to: # # * Private extensions you have registered in your account. For more # information, see [RegisterType][1]. # # * Public extensions you have activated in your account with # auto-update specified. For more information, see # [ActivateType][2]. # # For all other extension types, CloudFormation returns `null`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html # @return [Time] # # @!attribute [rw] description # The description of the extension. # @return [String] # # @!attribute [rw] publisher_id # The ID of the extension publisher, if the extension is published by # a third party. Extensions published by Amazon don't return a # publisher ID. # @return [String] # # @!attribute [rw] original_type_name # For public extensions that have been activated for this account and # Region, the type name of the public extension. # # If you specified a `TypeNameAlias` when enabling the extension in # this account and Region, CloudFormation treats that alias as the # extension's type name within the account and Region, not the type # name of the public extension. For more information, see [Use aliases # to refer to extensions][1] in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias # @return [String] # # @!attribute [rw] public_version_number # For public extensions that have been activated for this account and # Region, the version of the public extension to be used for # CloudFormation operations in this account and Region. # # How you specified `AutoUpdate` when enabling the extension affects # whether CloudFormation automatically updates the extension in this # account and Region when a new version is released. For more # information, see [Automatically use new versions of extensions][1] # in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto # @return [String] # # @!attribute [rw] latest_public_version # For public extensions that have been activated for this account and # Region, the latest version of the public extension *that is # available*. For any extensions other than activated third-party # extensions, CloudFormation returns `null`. # # How you specified `AutoUpdate` when enabling the extension affects # whether CloudFormation automatically updates the extension in this # account and Region when a new version is released. For more # information, see [Automatically use new versions of extensions][1] # in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto # @return [String] # # @!attribute [rw] publisher_identity # The service used to verify the publisher identity. # # For more information, see [Publishing extensions to make them # available for public use][1] in the *CloudFormation Command Line # Interface (CLI) User Guide*. # # # # [1]: https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html # @return [String] # # @!attribute [rw] publisher_name # The publisher name, as defined in the public profile for that # publisher in the service used to verify the publisher identity. # @return [String] # # @!attribute [rw] is_activated # Whether the extension is activated for this account and Region. # # This applies only to third-party public extensions. Extensions # published by Amazon are activated by default. # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TypeSummary AWS API Documentation # class TypeSummary < Struct.new( :type, :type_name, :default_version_id, :type_arn, :last_updated, :description, :publisher_id, :original_type_name, :public_version_number, :latest_public_version, :publisher_identity, :publisher_name, :is_activated) SENSITIVE = [] include Aws::Structure end # Contains summary information about a specific version of a # CloudFormation extension. # # @!attribute [rw] type # The kind of extension. # @return [String] # # @!attribute [rw] type_name # The name of the extension. # @return [String] # # @!attribute [rw] version_id # The ID of a specific version of the extension. The version ID is the # value at the end of the ARN assigned to the extension version when # it's registered. # @return [String] # # @!attribute [rw] is_default_version # Whether the specified extension version is set as the default # version. # # This applies only to private extensions you have registered in your # account, and extensions published by Amazon. For public third-party # extensions, CloudFormation returns `null`. # @return [Boolean] # # @!attribute [rw] arn # The ARN of the extension version. # @return [String] # # @!attribute [rw] time_created # When the version was registered. # @return [Time] # # @!attribute [rw] description # The description of the extension version. # @return [String] # # @!attribute [rw] public_version_number # For public extensions that have been activated for this account and # Region, the version of the public extension to be used for # CloudFormation operations in this account and Region. For any # extensions other than activated third-party extensions, # CloudFormation returns `null`. # # How you specified `AutoUpdate` when enabling the extension affects # whether CloudFormation automatically updates the extension in this # account and Region when a new version is released. For more # information, see [Automatically use new versions of extensions][1] # in the *CloudFormation User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-auto # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TypeVersionSummary AWS API Documentation # class TypeVersionSummary < Struct.new( :type, :type_name, :version_id, :is_default_version, :arn, :time_created, :description, :public_version_number) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] generated_template_name # The name or Amazon Resource Name (ARN) of a generated template. # @return [String] # # @!attribute [rw] new_generated_template_name # An optional new name to assign to the generated template. # @return [String] # # @!attribute [rw] add_resources # An optional list of resources to be added to the generated template. # @return [Array] # # @!attribute [rw] remove_resources # A list of logical ids for resources to remove from the generated # template. # @return [Array] # # @!attribute [rw] refresh_all_resources # If `true`, update the resource properties in the generated template # with their current live state. This feature is useful when the # resource properties in your generated a template does not reflect # the live state of the resource properties. This happens when a user # update the resource properties after generating a template. # @return [Boolean] # # @!attribute [rw] template_configuration # The configuration details of the generated template, including the # `DeletionPolicy` and `UpdateReplacePolicy`. # @return [Types::TemplateConfiguration] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateGeneratedTemplateInput AWS API Documentation # class UpdateGeneratedTemplateInput < Struct.new( :generated_template_name, :new_generated_template_name, :add_resources, :remove_resources, :refresh_all_resources, :template_configuration) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] generated_template_id # The Amazon Resource Name (ARN) of the generated template. The format # is # `arn:${Partition}:cloudformation:${Region}:${Account}:generatedtemplate/${Id}`. # For example, # `arn:aws:cloudformation:us-east-1:123456789012:generatedtemplate/2e8465c1-9a80-43ea-a3a3-4f2d692fe6dc # `. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateGeneratedTemplateOutput AWS API Documentation # class UpdateGeneratedTemplateOutput < Struct.new( :generated_template_id) SENSITIVE = [] include Aws::Structure end # The input for an UpdateStack action. # # @!attribute [rw] stack_name # The name or unique stack ID of the stack to update. # @return [String] # # @!attribute [rw] template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # @return [String] # # @!attribute [rw] template_url # The URL of a file that contains the template body. The URL must # point to a template that's located in an Amazon S3 bucket or a # Systems Manager document. The location for an Amazon S3 bucket must # start with `https://`. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # @return [String] # # @!attribute [rw] use_previous_template # Reuse the existing template that is associated with the stack that # you are updating. # # Conditional: You must specify only one of the following parameters: # `TemplateBody`, `TemplateURL`, or set the `UsePreviousTemplate` to # `true`. # @return [Boolean] # # @!attribute [rw] stack_policy_during_update_body # Structure that contains the temporary overriding stack policy body. # You can specify either the `StackPolicyDuringUpdateBody` or the # `StackPolicyDuringUpdateURL` parameter, but not both. # # If you want to update protected resources, specify a temporary # overriding stack policy during this update. If you don't specify a # stack policy, the current policy that is associated with the stack # will be used. # @return [String] # # @!attribute [rw] stack_policy_during_update_url # Location of a file that contains the temporary overriding stack # policy. The URL must point to a policy (max size: 16KB) located in # an S3 bucket in the same Region as the stack. The location for an # Amazon S3 bucket must start with `https://`. URLs from S3 static # websites are not supported. # # You can specify either the `StackPolicyDuringUpdateBody` or the # `StackPolicyDuringUpdateURL` parameter, but not both. # # If you want to update protected resources, specify a temporary # overriding stack policy during this update. If you don't specify a # stack policy, the current policy that is associated with the stack # will be used. # @return [String] # # @!attribute [rw] parameters # A list of `Parameter` structures that specify input parameters for # the stack. For more information, see the [Parameter][1] data type. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_Parameter.html # @return [Array] # # @!attribute [rw] capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation # to update the stack. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account, for example, by # creating new IAM users. For those stacks, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, # CloudFormation returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we suggest that # you review all permissions associated with them and edit their # permissions if necessary. # # * [ AWS::IAM::AccessKey][1] # # * [ AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [ AWS::IAM::ManagedPolicy][4] # # * [AWS::IAM::Policy][5] # # * [ AWS::IAM::Role][6] # # * [ AWS::IAM::User][7] # # * [AWS::IAM::UserToGroupAddition][8] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][9]. # # * `CAPABILITY_AUTO_EXPAND` # # Some template contain macros. Macros perform custom processing on # templates; this can include simple actions like find-and-replace # operations, all the way to extensive transformations of entire # templates. Because of this, users typically create a change set # from the processed template, so that they can review the changes # resulting from the macros before actually updating the stack. If # your stack template contains one or more macros, and you choose to # update a stack directly from the processed template, without first # reviewing the resulting changes in a change set, you must # acknowledge this capability. This includes the [AWS::Include][10] # and [AWS::Serverless][11] transforms, which are macros hosted by # CloudFormation. # # If you want to update a stack from a stack template that contains # macros *and* nested stacks, you must update the stack directly # from the template using this capability. # # You should only update stacks directly from a stack template that # contains macros if you know what processing the macro performs. # # Each macro relies on an underlying Lambda service function for # processing stack templates. Be aware that the Lambda function # owner can update the function operation without CloudFormation # being notified. # # For more information, see [Perform custom processing on # CloudFormation templates with template macros][12]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-managedpolicy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # [12]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # @return [Array] # # @!attribute [rw] resource_types # The template resource types that you have permissions to work with # for this update stack action, such as `AWS::EC2::Instance`, # `AWS::EC2::*`, or `Custom::MyCustomInstance`. # # If the list of resource types doesn't include a resource that # you're updating, the stack update fails. By default, CloudFormation # grants permissions to all resource types. IAM uses this parameter # for CloudFormation-specific condition keys in IAM policies. For more # information, see [Control access with Identity and Access # Management][1]. # # Only one of the `Capabilities` and `ResourceType` parameters can be # specified. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html # @return [Array] # # @!attribute [rw] role_arn # The Amazon Resource Name (ARN) of an IAM role that CloudFormation # assumes to update the stack. CloudFormation uses the role's # credentials to make calls on your behalf. CloudFormation always uses # this role for all future operations on the stack. Provided that # users have permission to operate on the stack, CloudFormation uses # this role even if the users don't have permission to pass it. # Ensure that the role grants least privilege. # # If you don't specify a value, CloudFormation uses the role that was # previously associated with the stack. If no role is available, # CloudFormation uses a temporary session that is generated from your # user credentials. # @return [String] # # @!attribute [rw] rollback_configuration # The rollback triggers for CloudFormation to monitor during stack # creation and updating operations, and for the specified monitoring # period afterwards. # @return [Types::RollbackConfiguration] # # @!attribute [rw] stack_policy_body # Structure that contains a new stack policy body. You can specify # either the `StackPolicyBody` or the `StackPolicyURL` parameter, but # not both. # # You might update the stack policy, for example, in order to protect # a new resource that you created during a stack update. If you don't # specify a stack policy, the current policy that is associated with # the stack is unchanged. # @return [String] # # @!attribute [rw] stack_policy_url # Location of a file that contains the updated stack policy. The URL # must point to a policy (max size: 16KB) located in an S3 bucket in # the same Region as the stack. The location for an Amazon S3 bucket # must start with `https://`. URLs from S3 static websites are not # supported. # # You can specify either the `StackPolicyBody` or the `StackPolicyURL` # parameter, but not both. # # You might update the stack policy, for example, in order to protect # a new resource that you created during a stack update. If you don't # specify a stack policy, the current policy that is associated with # the stack is unchanged. # @return [String] # # @!attribute [rw] notification_arns # Amazon Simple Notification Service topic Amazon Resource Names # (ARNs) that CloudFormation associates with the stack. Specify an # empty list to remove all notification topics. # @return [Array] # # @!attribute [rw] tags # Key-value pairs to associate with this stack. CloudFormation also # propagates these tags to supported resources in the stack. You can # specify a maximum number of 50 tags. # # If you don't specify this parameter, CloudFormation doesn't modify # the stack's tags. If you specify an empty value, CloudFormation # removes all associated tags. # @return [Array] # # @!attribute [rw] disable_rollback # Preserve the state of previously provisioned resources when an # operation fails. # # Default: `False` # @return [Boolean] # # @!attribute [rw] client_request_token # A unique identifier for this `UpdateStack` request. Specify this # token if you plan to retry requests so that CloudFormation knows # that you're not attempting to update a stack with the same name. # You might retry `UpdateStack` requests to ensure that CloudFormation # successfully received them. # # All events triggered by a given stack operation are assigned the # same client request token, which you can use to track operations. # For example, if you execute a `CreateStack` operation with the token # `token1`, then all the `StackEvents` generated by that operation # will have `ClientRequestToken` set as `token1`. # # In the console, stack operations display the client request token on # the Events tab. Stack operations that are initiated from the console # use the token format *Console-StackOperation-ID*, which helps you # easily identify the stack operation . For example, if you create a # stack using the console, each stack event would be assigned the same # token in the following format: # `Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002`. # @return [String] # # @!attribute [rw] retain_except_on_create # When set to `true`, newly created resources are deleted when the # operation rolls back. This includes newly created resources marked # with a deletion policy of `Retain`. # # Default: `false` # @return [Boolean] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInput AWS API Documentation # class UpdateStackInput < Struct.new( :stack_name, :template_body, :template_url, :use_previous_template, :stack_policy_during_update_body, :stack_policy_during_update_url, :parameters, :capabilities, :resource_types, :role_arn, :rollback_configuration, :stack_policy_body, :stack_policy_url, :notification_arns, :tags, :disable_rollback, :client_request_token, :retain_except_on_create) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet associated with the stack # instances. # @return [String] # # @!attribute [rw] accounts # \[Self-managed permissions\] The account IDs of one or more Amazon # Web Services accounts in which you want to update parameter values # for stack instances. The overridden parameter values will be applied # to all stack instances in the specified accounts and Amazon Web # Services Regions. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # @return [Array] # # @!attribute [rw] deployment_targets # \[Service-managed permissions\] The Organizations accounts in which # you want to update parameter values for stack instances. If your # update targets OUs, the overridden parameter values only apply to # the accounts that are currently in the target OUs and their child # OUs. Accounts added to the target OUs and their child OUs in the # future won't use the overridden values. # # You can specify `Accounts` or `DeploymentTargets`, but not both. # @return [Types::DeploymentTargets] # # @!attribute [rw] regions # The names of one or more Amazon Web Services Regions in which you # want to update parameter values for stack instances. The overridden # parameter values will be applied to all stack instances in the # specified accounts and Amazon Web Services Regions. # @return [Array] # # @!attribute [rw] parameter_overrides # A list of input parameters whose values you want to update for the # specified stack instances. # # Any overridden parameter values will be applied to all stack # instances in the specified accounts and Amazon Web Services Regions. # When specifying parameters and their values, be aware of how # CloudFormation sets parameter values during stack instance update # operations: # # * To override the current value for a parameter, include the # parameter and specify its value. # # * To leave an overridden parameter set to its present value, include # the parameter and specify `UsePreviousValue` as `true`. (You # can't specify both a value and set `UsePreviousValue` to `true`.) # # * To set an overridden parameter back to the value specified in the # StackSet, specify a parameter list but don't include the # parameter in the list. # # * To leave all parameters set to their present values, don't # specify this property at all. # # During StackSet updates, any parameter values overridden for a stack # instance aren't updated, but retain their overridden value. # # You can only override the parameter *values* that are specified in # the StackSet. To add or delete a parameter itself, use # `UpdateStackSet` to update the StackSet template. If you add a # parameter to a template, before you can override the parameter value # specified in the StackSet you must first use [UpdateStackSet][1] to # update all stack instances with the updated template and parameter # value specified in the StackSet. Once a stack instance has been # updated with the new parameter, you can then override the parameter # value using `UpdateStackInstances`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html # @return [Array] # # @!attribute [rw] operation_preferences # Preferences for how CloudFormation performs this StackSet operation. # @return [Types::StackSetOperationPreferences] # # @!attribute [rw] operation_id # The unique identifier for this StackSet operation. # # The operation ID also functions as an idempotency token, to ensure # that CloudFormation performs the StackSet operation only once, even # if you retry the request multiple times. You might retry StackSet # operation requests to ensure that CloudFormation successfully # received them. # # If you don't specify an operation ID, the SDK generates one # automatically. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option. # @return [String] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesInput AWS API Documentation # class UpdateStackInstancesInput < Struct.new( :stack_set_name, :accounts, :deployment_targets, :regions, :parameter_overrides, :operation_preferences, :operation_id, :call_as) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] operation_id # The unique identifier for this StackSet operation. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstancesOutput AWS API Documentation # class UpdateStackInstancesOutput < Struct.new( :operation_id) SENSITIVE = [] include Aws::Structure end # The output for an UpdateStack action. # # @!attribute [rw] stack_id # Unique identifier of the stack. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackOutput AWS API Documentation # class UpdateStackOutput < Struct.new( :stack_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_set_name # The name or unique ID of the StackSet that you want to update. # @return [String] # # @!attribute [rw] description # A brief description of updates that you are making. # @return [String] # # @!attribute [rw] template_body # The structure that contains the template body, with a minimum length # of 1 byte and a maximum length of 51,200 bytes. # # Conditional: You must specify only one of the following parameters: # `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to # true. # @return [String] # # @!attribute [rw] template_url # The URL of a file that contains the template body. The URL must # point to a template (maximum size: 1 MB) that is located in an # Amazon S3 bucket or a Systems Manager document. The location for an # Amazon S3 bucket must start with `https://`. S3 static website URLs # are not supported. # # Conditional: You must specify only one of the following parameters: # `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to # true. # @return [String] # # @!attribute [rw] use_previous_template # Use the existing template that's associated with the StackSet that # you're updating. # # Conditional: You must specify only one of the following parameters: # `TemplateBody` or `TemplateURL`—or set `UsePreviousTemplate` to # true. # @return [Boolean] # # @!attribute [rw] parameters # A list of input parameters for the StackSet template. # @return [Array] # # @!attribute [rw] capabilities # In some cases, you must explicitly acknowledge that your stack # template contains certain capabilities in order for CloudFormation # to update the StackSet and its associated stack instances. # # * `CAPABILITY_IAM` and `CAPABILITY_NAMED_IAM` # # Some stack templates might include resources that can affect # permissions in your Amazon Web Services account, for example, by # creating new IAM users. For those stacks sets, you must explicitly # acknowledge this by specifying one of these capabilities. # # The following IAM resources require you to specify either the # `CAPABILITY_IAM` or `CAPABILITY_NAMED_IAM` capability. # # * If you have IAM resources, you can specify either capability. # # * If you have IAM resources with custom names, you *must* specify # `CAPABILITY_NAMED_IAM`. # # * If you don't specify either of these capabilities, # CloudFormation returns an `InsufficientCapabilities` error. # If your stack template contains these resources, we recommend that # you review all permissions associated with them and edit their # permissions if necessary. # # * [AWS::IAM::AccessKey][1] # # * [AWS::IAM::Group][2] # # * [AWS::IAM::InstanceProfile][3] # # * [AWS::IAM::Policy][4] # # * [AWS::IAM::Role][5] # # * [AWS::IAM::User][6] # # * [AWS::IAM::UserToGroupAddition][7] # For more information, see [Acknowledging IAM resources in # CloudFormation templates][8]. # # * `CAPABILITY_AUTO_EXPAND` # # Some templates reference macros. If your StackSet template # references one or more macros, you must update the StackSet # directly from the processed template, without first reviewing the # resulting changes in a change set. To update the StackSet # directly, you must acknowledge this capability. For more # information, see [Perform custom processing on CloudFormation # templates with template macros][9]. # # StackSets with service-managed permissions do not currently # support the use of macros in templates. (This includes the # [AWS::Include][10] and [AWS::Serverless][11] transforms, which are # macros hosted by CloudFormation.) Even if you specify this # capability for a StackSet with service-managed permissions, if you # reference a macro in your template the StackSet operation will # fail. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-accesskey.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-group.html # [3]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-instanceprofile.html # [4]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-policy.html # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-role.html # [6]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-user.html # [7]: https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-iam-usertogroupaddition.html # [8]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # [9]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html # [10]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-include.html # [11]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/transform-aws-serverless.html # @return [Array] # # @!attribute [rw] tags # The key-value pairs to associate with this StackSet and the stacks # created from it. CloudFormation also propagates these tags to # supported resources that are created in the stacks. You can specify # a maximum number of 50 tags. # # If you specify tags for this parameter, those tags replace any list # of tags that are currently associated with this StackSet. This # means: # # * If you don't specify this parameter, CloudFormation doesn't # modify the stack's tags. # # * If you specify *any* tags using this parameter, you must specify # *all* the tags that you want associated with this StackSet, even # tags you've specified before (for example, when creating the # StackSet or during a previous update of the StackSet.). Any tags # that you don't include in the updated list of tags are removed # from the StackSet, and therefore from the stacks and resources as # well. # # * If you specify an empty value, CloudFormation removes all # currently associated tags. # # If you specify new tags as part of an `UpdateStackSet` action, # CloudFormation checks to see if you have the required IAM permission # to tag resources. If you omit tags that are currently associated # with the StackSet from the list of tags you specify, CloudFormation # assumes that you want to remove those tags from the StackSet, and # checks to see if you have permission to untag resources. If you # don't have the necessary permission(s), the entire `UpdateStackSet` # action fails with an `access denied` error, and the StackSet is not # updated. # @return [Array] # # @!attribute [rw] operation_preferences # Preferences for how CloudFormation performs this StackSet operation. # @return [Types::StackSetOperationPreferences] # # @!attribute [rw] administration_role_arn # \[Self-managed permissions\] The Amazon Resource Name (ARN) of the # IAM role to use to update this StackSet. # # Specify an IAM role only if you are using customized administrator # roles to control which users or groups can manage specific StackSets # within the same administrator account. For more information, see # [Grant self-managed permissions][1] in the *CloudFormation User # Guide*. # # If you specified a customized administrator role when you created # the StackSet, you must specify a customized administrator role, even # if it is the same customized administrator role used with this # StackSet previously. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # @return [String] # # @!attribute [rw] execution_role_name # \[Self-managed permissions\] The name of the IAM execution role to # use to update the stack set. If you do not specify an execution # role, CloudFormation uses the # `AWSCloudFormationStackSetExecutionRole` role for the StackSet # operation. # # Specify an IAM role only if you are using customized execution roles # to control which stack resources users and groups can include in # their StackSets. # # If you specify a customized execution role, CloudFormation uses that # role to update the stack. If you do not specify a customized # execution role, CloudFormation performs the update using the role # previously associated with the StackSet, so long as you have # permissions to perform operations on the StackSet. # @return [String] # # @!attribute [rw] deployment_targets # \[Service-managed permissions\] The Organizations accounts in which # to update associated stack instances. # # To update all the stack instances associated with this StackSet, do # not specify `DeploymentTargets` or `Regions`. # # If the StackSet update includes changes to the template (that is, if # `TemplateBody` or `TemplateURL` is specified), or the `Parameters`, # CloudFormation marks all stack instances with a status of `OUTDATED` # prior to updating the stack instances in the specified accounts and # Amazon Web Services Regions. If the StackSet update doesn't include # changes to the template or parameters, CloudFormation updates the # stack instances in the specified accounts and Regions, while leaving # all other stack instances with their existing stack instance status. # @return [Types::DeploymentTargets] # # @!attribute [rw] permission_model # Describes how the IAM roles required for StackSet operations are # created. You cannot modify `PermissionModel` if there are stack # instances associated with your stack set. # # * With `self-managed` permissions, you must create the administrator # and execution roles required to deploy to target accounts. For # more information, see [Grant self-managed permissions][1]. # # * With `service-managed` permissions, StackSets automatically # creates the IAM roles required to deploy to accounts managed by # Organizations. For more information, see [Activate trusted access # for StackSets with Organizations][2]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-prereqs-self-managed.html # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-activate-trusted-access.html # @return [String] # # @!attribute [rw] auto_deployment # \[Service-managed permissions\] Describes whether StackSets # automatically deploys to Organizations accounts that are added to a # target organization or organizational unit (OU). For more # information, see [Enable or disable automatic deployments for # StackSets in Organizations][1] in the *CloudFormation User Guide*. # # If you specify `AutoDeployment`, don't specify `DeploymentTargets` # or `Regions`. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-manage-auto-deployment.html # @return [Types::AutoDeployment] # # @!attribute [rw] operation_id # The unique ID for this StackSet operation. # # The operation ID also functions as an idempotency token, to ensure # that CloudFormation performs the StackSet operation only once, even # if you retry the request multiple times. You might retry StackSet # operation requests to ensure that CloudFormation successfully # received them. # # If you don't specify an operation ID, CloudFormation generates one # automatically. # # Repeating this StackSet operation with a new operation ID retries # all stack instances whose status is `OUTDATED`. # # **A suitable default value is auto-generated.** You should normally # not need to pass this option. # @return [String] # # @!attribute [rw] accounts # \[Self-managed permissions\] The accounts in which to update # associated stack instances. If you specify accounts, you must also # specify the Amazon Web Services Regions in which to update StackSet # instances. # # To update *all* the stack instances associated with this StackSet, # don't specify the `Accounts` or `Regions` properties. # # If the StackSet update includes changes to the template (that is, if # the `TemplateBody` or `TemplateURL` properties are specified), or # the `Parameters` property, CloudFormation marks all stack instances # with a status of `OUTDATED` prior to updating the stack instances in # the specified accounts and Amazon Web Services Regions. If the # StackSet update does not include changes to the template or # parameters, CloudFormation updates the stack instances in the # specified accounts and Amazon Web Services Regions, while leaving # all other stack instances with their existing stack instance status. # @return [Array] # # @!attribute [rw] regions # The Amazon Web Services Regions in which to update associated stack # instances. If you specify Regions, you must also specify accounts in # which to update StackSet instances. # # To update *all* the stack instances associated with this StackSet, # do not specify the `Accounts` or `Regions` properties. # # If the StackSet update includes changes to the template (that is, if # the `TemplateBody` or `TemplateURL` properties are specified), or # the `Parameters` property, CloudFormation marks all stack instances # with a status of `OUTDATED` prior to updating the stack instances in # the specified accounts and Regions. If the StackSet update does not # include changes to the template or parameters, CloudFormation # updates the stack instances in the specified accounts and Regions, # while leaving all other stack instances with their existing stack # instance status. # @return [Array] # # @!attribute [rw] call_as # \[Service-managed permissions\] Specifies whether you are acting as # an account administrator in the organization's management account # or as a delegated administrator in a member account. # # By default, `SELF` is specified. Use `SELF` for StackSets with # self-managed permissions. # # * If you are signed in to the management account, specify `SELF`. # # * If you are signed in to a delegated administrator account, specify # `DELEGATED_ADMIN`. # # Your Amazon Web Services account must be registered as a delegated # administrator in the management account. For more information, see # [Register a delegated administrator][1] in the *CloudFormation # User Guide*. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-orgs-delegated-admin.html # @return [String] # # @!attribute [rw] managed_execution # Describes whether CloudFormation performs non-conflicting operations # concurrently and queues conflicting operations. # @return [Types::ManagedExecution] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetInput AWS API Documentation # class UpdateStackSetInput < Struct.new( :stack_set_name, :description, :template_body, :template_url, :use_previous_template, :parameters, :capabilities, :tags, :operation_preferences, :administration_role_arn, :execution_role_name, :deployment_targets, :permission_model, :auto_deployment, :operation_id, :accounts, :regions, :call_as, :managed_execution) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] operation_id # The unique ID for this StackSet operation. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSetOutput AWS API Documentation # class UpdateStackSetOutput < Struct.new( :operation_id) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] enable_termination_protection # Whether to enable termination protection on the specified stack. # @return [Boolean] # # @!attribute [rw] stack_name # The name or unique ID of the stack for which you want to set # termination protection. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionInput AWS API Documentation # class UpdateTerminationProtectionInput < Struct.new( :enable_termination_protection, :stack_name) SENSITIVE = [] include Aws::Structure end # @!attribute [rw] stack_id # The unique ID of the stack. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtectionOutput AWS API Documentation # class UpdateTerminationProtectionOutput < Struct.new( :stack_id) SENSITIVE = [] include Aws::Structure end # The input for ValidateTemplate action. # # @!attribute [rw] template_body # Structure that contains the template body with a minimum length of 1 # byte and a maximum length of 51,200 bytes. # # Conditional: You must pass `TemplateURL` or `TemplateBody`. If both # are passed, only `TemplateBody` is used. # @return [String] # # @!attribute [rw] template_url # The URL of a file that contains the template body. The URL must # point to a template (max size: 1 MB) that is located in an Amazon S3 # bucket or a Systems Manager document. The location for an Amazon S3 # bucket must start with `https://`. # # Conditional: You must pass `TemplateURL` or `TemplateBody`. If both # are passed, only `TemplateBody` is used. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateInput AWS API Documentation # class ValidateTemplateInput < Struct.new( :template_body, :template_url) SENSITIVE = [] include Aws::Structure end # The output for ValidateTemplate action. # # @!attribute [rw] parameters # A list of `TemplateParameter` structures. # @return [Array] # # @!attribute [rw] description # The description found within the template. # @return [String] # # @!attribute [rw] capabilities # The capabilities found within the template. If your template # contains IAM resources, you must specify the CAPABILITY\_IAM or # CAPABILITY\_NAMED\_IAM value for this parameter when you use the # CreateStack or UpdateStack actions with your template; otherwise, # those actions return an InsufficientCapabilities error. # # For more information, see [Acknowledging IAM resources in # CloudFormation templates][1]. # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/control-access-with-iam.html#using-iam-capabilities # @return [Array] # # @!attribute [rw] capabilities_reason # The list of resources that generated the values in the # `Capabilities` response element. # @return [String] # # @!attribute [rw] declared_transforms # A list of the transforms that are declared in the template. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplateOutput AWS API Documentation # class ValidateTemplateOutput < Struct.new( :parameters, :description, :capabilities, :capabilities_reason, :declared_transforms) SENSITIVE = [] include Aws::Structure end # The warnings generated for a specific resource for this generated # template. # # @!attribute [rw] type # The type of this warning. For more information, see [Resolve # write-only properties][1] in the *CloudFormation User Guide*. # # * `MUTUALLY_EXCLUSIVE_PROPERTIES` - The resource requires # mutually-exclusive write-only properties. The IaC generator # selects one set of mutually exclusive properties and converts the # included properties into parameters. The parameter names have a # suffix `OneOf` and the parameter descriptions indicate that the # corresponding property can be replaced with other exclusive # properties. # # * `UNSUPPORTED_PROPERTIES` - Unsupported properties are present in # the resource. One example of unsupported properties would be a # required write-only property that is an array, because a parameter # cannot be an array. Another example is an optional write-only # property. # # * `MUTUALLY_EXCLUSIVE_TYPES` - One or more required write-only # properties are found in the resource, and the type of that # property can be any of several types. # # Currently the resource and property reference documentation does not # indicate if a property uses a type of `oneOf` or `anyOf`. You need # to look at the resource provider schema. # # # # # # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC-write-only-properties.html # @return [String] # # @!attribute [rw] properties # The properties of the resource that are impacted by this warning. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/WarningDetail AWS API Documentation # class WarningDetail < Struct.new( :type, :properties) SENSITIVE = [] include Aws::Structure end # A specific property that is impacted by a warning. # # @!attribute [rw] property_path # The path of the property. For example, if this is for the `S3Bucket` # member of the `Code` property, the property path would be # `Code/S3Bucket`. # @return [String] # # @!attribute [rw] required # If `true`, the specified property is required. # @return [Boolean] # # @!attribute [rw] description # The description of the property from the resource provider schema. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/WarningProperty AWS API Documentation # class WarningProperty < Struct.new( :property_path, :required, :description) SENSITIVE = [] include Aws::Structure end # Contains any warnings returned by the `GetTemplateSummary` API action. # # @!attribute [rw] unrecognized_resource_types # A list of all of the unrecognized resource types. This is only # returned if the `TemplateSummaryConfig` parameter has the # `TreatUnrecognizedResourceTypesAsWarning` configuration set to # `True`. # @return [Array] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/Warnings AWS API Documentation # class Warnings < Struct.new( :unrecognized_resource_types) SENSITIVE = [] include Aws::Structure end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/endpoints.rb0000644000004100000410000000067215077233060026006 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation # @api private module Endpoints def self.parameters_for_operation(context) Aws::CloudFormation::EndpointParameters.create(context.config) end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation/endpoint_parameters.rb0000644000004100000410000000372215077233060030045 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation # Endpoint parameters used to influence endpoints per request. # # @!attribute region # The AWS region used to dispatch the request. # # @return [string] # # @!attribute use_dual_stack # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. # # @return [boolean] # # @!attribute use_fips # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error. # # @return [boolean] # # @!attribute endpoint # Override the endpoint used to send this request # # @return [string] # EndpointParameters = Struct.new( :region, :use_dual_stack, :use_fips, :endpoint, ) do include Aws::Structure # @api private class << self PARAM_MAP = { 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, }.freeze end def initialize(options = {}) self[:region] = options[:region] self[:use_dual_stack] = options[:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = options[:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = options[:endpoint] end def self.create(config, options={}) new({ region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), }.merge(options)) end end end aws-sdk-cloudformation-1.143.0/lib/aws-sdk-cloudformation.rb0000644000004100000410000000414215077233060023777 0ustar www-datawww-data# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE require 'aws-sdk-core' require 'aws-sigv4' Aws::Plugins::GlobalConfiguration.add_identifier(:cloudformation) # This module provides support for AWS CloudFormation. This module is available in the # `aws-sdk-cloudformation` gem. # # # Client # # The {Client} class provides one method for each API operation. Operation # methods each accept a hash of request parameters and return a response # structure. # # cloud_formation = Aws::CloudFormation::Client.new # resp = cloud_formation.activate_organizations_access(params) # # See {Client} for more information. # # # Errors # # Errors returned from AWS CloudFormation are defined in the # {Errors} module and all extend {Errors::ServiceError}. # # begin # # do stuff # rescue Aws::CloudFormation::Errors::ServiceError # # rescues all AWS CloudFormation API errors # end # # See {Errors} for more information. # # @!group service module Aws::CloudFormation autoload :Types, 'aws-sdk-cloudformation/types' autoload :ClientApi, 'aws-sdk-cloudformation/client_api' module Plugins autoload :Endpoints, 'aws-sdk-cloudformation/plugins/endpoints.rb' end autoload :Client, 'aws-sdk-cloudformation/client' autoload :Errors, 'aws-sdk-cloudformation/errors' autoload :Waiters, 'aws-sdk-cloudformation/waiters' autoload :Resource, 'aws-sdk-cloudformation/resource' autoload :EndpointParameters, 'aws-sdk-cloudformation/endpoint_parameters' autoload :EndpointProvider, 'aws-sdk-cloudformation/endpoint_provider' autoload :Endpoints, 'aws-sdk-cloudformation/endpoints' autoload :Event, 'aws-sdk-cloudformation/event' autoload :Stack, 'aws-sdk-cloudformation/stack' autoload :StackResource, 'aws-sdk-cloudformation/stack_resource' autoload :StackResourceSummary, 'aws-sdk-cloudformation/stack_resource_summary' GEM_VERSION = '1.143.0' end require_relative 'aws-sdk-cloudformation/customizations' aws-sdk-cloudformation-1.143.0/LICENSE.txt0000644000004100000410000002613615077233060020142 0ustar www-datawww-data Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. aws-sdk-cloudformation-1.143.0/VERSION0000644000004100000410000000001015077233060017346 0ustar www-datawww-data1.143.0 aws-sdk-cloudformation-1.143.0/sig/0000755000004100000410000000000015077233060017071 5ustar www-datawww-dataaws-sdk-cloudformation-1.143.0/sig/waiters.rbs0000644000004100000410000001213415077233060021260 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module CloudFormation module Waiters class ChangeSetCreateComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( change_set_name: ::String, ?stack_name: ::String, ?next_token: ::String, ?include_property_values: bool ) -> Client::_DescribeChangeSetResponseSuccess | (Hash[Symbol, untyped]) -> Client::_DescribeChangeSetResponseSuccess end class StackCreateComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (?Hash[Symbol, untyped]) -> Client::_DescribeStacksResponseSuccess end class StackDeleteComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (?Hash[Symbol, untyped]) -> Client::_DescribeStacksResponseSuccess end class StackExists def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (?Hash[Symbol, untyped]) -> Client::_DescribeStacksResponseSuccess end class StackImportComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (?Hash[Symbol, untyped]) -> Client::_DescribeStacksResponseSuccess end class StackRefactorCreateComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( stack_refactor_id: ::String ) -> Client::_DescribeStackRefactorResponseSuccess | (Hash[Symbol, untyped]) -> Client::_DescribeStackRefactorResponseSuccess end class StackRefactorExecuteComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( stack_refactor_id: ::String ) -> Client::_DescribeStackRefactorResponseSuccess | (Hash[Symbol, untyped]) -> Client::_DescribeStackRefactorResponseSuccess end class StackRollbackComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (?Hash[Symbol, untyped]) -> Client::_DescribeStacksResponseSuccess end class StackUpdateComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (?Hash[Symbol, untyped]) -> Client::_DescribeStacksResponseSuccess end class TypeRegistrationComplete def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void | (?Hash[Symbol, untyped]) -> void def wait: ( registration_token: ::String ) -> Client::_DescribeTypeRegistrationResponseSuccess | (Hash[Symbol, untyped]) -> Client::_DescribeTypeRegistrationResponseSuccess end end end end aws-sdk-cloudformation-1.143.0/sig/event.rbs0000644000004100000410000001124115077233060020721 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module CloudFormation # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html class Event # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#initialize-instance_method def initialize: (String id, Hash[Symbol, untyped] options) -> void | (id: String, ?client: Client) -> void | (Hash[Symbol, untyped] args) -> void # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#id-instance_method def id: () -> String alias event_id id # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#stack_id-instance_method def stack_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#stack_name-instance_method def stack_name: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#logical_resource_id-instance_method def logical_resource_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#physical_resource_id-instance_method def physical_resource_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_type-instance_method def resource_type: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#timestamp-instance_method def timestamp: () -> ::Time # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_status-instance_method def resource_status: () -> ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "DELETE_SKIPPED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_COMPLETE" | "IMPORT_FAILED" | "IMPORT_COMPLETE" | "IMPORT_IN_PROGRESS" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" | "EXPORT_FAILED" | "EXPORT_COMPLETE" | "EXPORT_IN_PROGRESS" | "EXPORT_ROLLBACK_IN_PROGRESS" | "EXPORT_ROLLBACK_FAILED" | "EXPORT_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_status_reason-instance_method def resource_status_reason: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#resource_properties-instance_method def resource_properties: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#client_request_token-instance_method def client_request_token: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_type-instance_method def hook_type: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_status-instance_method def hook_status: () -> ("HOOK_IN_PROGRESS" | "HOOK_COMPLETE_SUCCEEDED" | "HOOK_COMPLETE_FAILED" | "HOOK_FAILED") # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_status_reason-instance_method def hook_status_reason: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_invocation_point-instance_method def hook_invocation_point: () -> ("PRE_PROVISION") # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_invocation_id-instance_method def hook_invocation_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#hook_failure_mode-instance_method def hook_failure_mode: () -> ("FAIL" | "WARN") # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#detailed_status-instance_method def detailed_status: () -> ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED") def client: () -> Client # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#data-instance_method def data: () -> Types::StackEvent # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Event.html#data_loaded?-instance_method def data_loaded?: () -> bool class Collection < ::Aws::Resources::Collection[Event] end end end end aws-sdk-cloudformation-1.143.0/sig/stack_resource_summary.rbs0000644000004100000410000000720515077233060024376 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module CloudFormation # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html class StackResourceSummary # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#initialize-instance_method def initialize: (String stack_name, String logical_id, Hash[Symbol, untyped] options) -> void | (stack_name: String, logical_id: String, ?client: Client) -> void | (Hash[Symbol, untyped] args) -> void # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#stack_name-instance_method def stack_name: () -> String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#logical_id-instance_method def logical_id: () -> String alias logical_resource_id logical_id # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#physical_resource_id-instance_method def physical_resource_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource_type-instance_method def resource_type: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#last_updated_timestamp-instance_method def last_updated_timestamp: () -> ::Time # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource_status-instance_method def resource_status: () -> ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "DELETE_SKIPPED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_COMPLETE" | "IMPORT_FAILED" | "IMPORT_COMPLETE" | "IMPORT_IN_PROGRESS" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" | "EXPORT_FAILED" | "EXPORT_COMPLETE" | "EXPORT_IN_PROGRESS" | "EXPORT_ROLLBACK_IN_PROGRESS" | "EXPORT_ROLLBACK_FAILED" | "EXPORT_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource_status_reason-instance_method def resource_status_reason: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#drift_information-instance_method def drift_information: () -> Types::StackResourceDriftInformationSummary # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#module_info-instance_method def module_info: () -> Types::ModuleInfo def client: () -> Client # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#data-instance_method def data: () -> Types::StackResourceSummary # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#data_loaded?-instance_method def data_loaded?: () -> bool # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResourceSummary.html#resource-instance_method def resource: () -> StackResource class Collection < ::Aws::Resources::Collection[StackResourceSummary] end end end end aws-sdk-cloudformation-1.143.0/sig/client.rbs0000644000004100000410000031442515077233060021070 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module CloudFormation class Client < ::Seahorse::Client::Base include ::Aws::ClientStubs # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#initialize-instance_method def self.new: ( ?credentials: untyped, ?region: String, ?access_key_id: String, ?account_id: String, ?active_endpoint_cache: bool, ?adaptive_retry_wait_to_fill: bool, ?auth_scheme_preference: Array[String], ?client_side_monitoring: bool, ?client_side_monitoring_client_id: String, ?client_side_monitoring_host: String, ?client_side_monitoring_port: Integer, ?client_side_monitoring_publisher: untyped, ?convert_params: bool, ?correct_clock_skew: bool, ?defaults_mode: String, ?disable_host_prefix_injection: bool, ?disable_request_compression: bool, ?endpoint: String, ?endpoint_cache_max_entries: Integer, ?endpoint_cache_max_threads: Integer, ?endpoint_cache_poll_interval: Integer, ?endpoint_discovery: bool, ?ignore_configured_endpoint_urls: bool, ?log_formatter: untyped, ?log_level: Symbol, ?logger: untyped, ?max_attempts: Integer, ?profile: String, ?request_checksum_calculation: String, ?request_min_compression_size_bytes: Integer, ?response_checksum_validation: String, ?retry_backoff: Proc, ?retry_base_delay: Float, ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer), ?retry_limit: Integer, ?retry_max_delay: Integer, ?retry_mode: ("legacy" | "standard" | "adaptive"), ?sdk_ua_app_id: String, ?secret_access_key: String, ?session_token: String, ?sigv4a_signing_region_set: Array[String], ?stub_responses: untyped, ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase, ?token_provider: untyped, ?use_dualstack_endpoint: bool, ?use_fips_endpoint: bool, ?validate_params: bool, ?endpoint_provider: untyped, ?http_proxy: String, ?http_open_timeout: (Float | Integer), ?http_read_timeout: (Float | Integer), ?http_idle_timeout: (Float | Integer), ?http_continue_timeout: (Float | Integer), ?ssl_timeout: (Float | Integer | nil), ?http_wire_trace: bool, ?ssl_verify_peer: bool, ?ssl_ca_bundle: String, ?ssl_ca_directory: String, ?ssl_ca_store: String, ?on_chunk_received: Proc, ?on_chunk_sent: Proc, ?raise_response_errors: bool ) -> instance | (?Hash[Symbol, untyped]) -> instance interface _ActivateOrganizationsAccessResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ActivateOrganizationsAccessOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#activate_organizations_access-instance_method def activate_organizations_access: ( ) -> _ActivateOrganizationsAccessResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ActivateOrganizationsAccessResponseSuccess interface _ActivateTypeResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ActivateTypeOutput] def arn: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#activate_type-instance_method def activate_type: ( ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?public_type_arn: ::String, ?publisher_id: ::String, ?type_name: ::String, ?type_name_alias: ::String, ?auto_update: bool, ?logging_config: { log_role_arn: ::String, log_group_name: ::String }, ?execution_role_arn: ::String, ?version_bump: ("MAJOR" | "MINOR"), ?major_version: ::Integer ) -> _ActivateTypeResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ActivateTypeResponseSuccess interface _BatchDescribeTypeConfigurationsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::BatchDescribeTypeConfigurationsOutput] def errors: () -> ::Array[Types::BatchDescribeTypeConfigurationsError] def unprocessed_type_configurations: () -> ::Array[Types::TypeConfigurationIdentifier] def type_configurations: () -> ::Array[Types::TypeConfigurationDetails] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#batch_describe_type_configurations-instance_method def batch_describe_type_configurations: ( type_configuration_identifiers: Array[ { type_arn: ::String?, type_configuration_alias: ::String?, type_configuration_arn: ::String?, type: ("RESOURCE" | "MODULE" | "HOOK")?, type_name: ::String? }, ] ) -> _BatchDescribeTypeConfigurationsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDescribeTypeConfigurationsResponseSuccess # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#cancel_update_stack-instance_method def cancel_update_stack: ( stack_name: ::String, ?client_request_token: ::String ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] interface _ContinueUpdateRollbackResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ContinueUpdateRollbackOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#continue_update_rollback-instance_method def continue_update_rollback: ( stack_name: ::String, ?role_arn: ::String, ?resources_to_skip: Array[::String], ?client_request_token: ::String ) -> _ContinueUpdateRollbackResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ContinueUpdateRollbackResponseSuccess interface _CreateChangeSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateChangeSetOutput] def id: () -> ::String def stack_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#create_change_set-instance_method def create_change_set: ( stack_name: ::String, ?template_body: ::String, ?template_url: ::String, ?use_previous_template: bool, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")], ?resource_types: Array[::String], ?role_arn: ::String, ?rollback_configuration: { rollback_triggers: Array[ { arn: ::String, type: ::String }, ]?, monitoring_time_in_minutes: ::Integer? }, ?notification_arns: Array[::String], ?tags: Array[ { key: ::String, value: ::String }, ], change_set_name: ::String, ?client_token: ::String, ?description: ::String, ?change_set_type: ("CREATE" | "UPDATE" | "IMPORT"), ?resources_to_import: Array[ { resource_type: ::String, logical_resource_id: ::String, resource_identifier: Hash[::String, ::String] }, ], ?include_nested_stacks: bool, ?on_stack_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE"), ?import_existing_resources: bool ) -> _CreateChangeSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChangeSetResponseSuccess interface _CreateGeneratedTemplateResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateGeneratedTemplateOutput] def generated_template_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#create_generated_template-instance_method def create_generated_template: ( ?resources: Array[ { resource_type: ::String, logical_resource_id: ::String?, resource_identifier: Hash[::String, ::String] }, ], generated_template_name: ::String, ?stack_name: ::String, ?template_configuration: { deletion_policy: ("DELETE" | "RETAIN")?, update_replace_policy: ("DELETE" | "RETAIN")? } ) -> _CreateGeneratedTemplateResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGeneratedTemplateResponseSuccess interface _CreateStackResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateStackOutput] def stack_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#create_stack-instance_method def create_stack: ( stack_name: ::String, ?template_body: ::String, ?template_url: ::String, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?disable_rollback: bool, ?rollback_configuration: { rollback_triggers: Array[ { arn: ::String, type: ::String }, ]?, monitoring_time_in_minutes: ::Integer? }, ?timeout_in_minutes: ::Integer, ?notification_arns: Array[::String], ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")], ?resource_types: Array[::String], ?role_arn: ::String, ?on_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE"), ?stack_policy_body: ::String, ?stack_policy_url: ::String, ?tags: Array[ { key: ::String, value: ::String }, ], ?client_request_token: ::String, ?enable_termination_protection: bool, ?retain_except_on_create: bool ) -> _CreateStackResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStackResponseSuccess interface _CreateStackInstancesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateStackInstancesOutput] def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#create_stack_instances-instance_method def create_stack_instances: ( stack_set_name: ::String, ?accounts: Array[::String], ?deployment_targets: { accounts: Array[::String]?, accounts_url: ::String?, organizational_unit_ids: Array[::String]?, account_filter_type: ("NONE" | "INTERSECTION" | "DIFFERENCE" | "UNION")? }, regions: Array[::String], ?parameter_overrides: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?operation_preferences: { region_concurrency_type: ("SEQUENTIAL" | "PARALLEL")?, region_order: Array[::String]?, failure_tolerance_count: ::Integer?, failure_tolerance_percentage: ::Integer?, max_concurrent_count: ::Integer?, max_concurrent_percentage: ::Integer?, concurrency_mode: ("STRICT_FAILURE_TOLERANCE" | "SOFT_FAILURE_TOLERANCE")? }, ?operation_id: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _CreateStackInstancesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStackInstancesResponseSuccess interface _CreateStackRefactorResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateStackRefactorOutput] def stack_refactor_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#create_stack_refactor-instance_method def create_stack_refactor: ( ?description: ::String, ?enable_stack_creation: bool, ?resource_mappings: Array[ { source: { stack_name: ::String, logical_resource_id: ::String }, destination: { stack_name: ::String, logical_resource_id: ::String } }, ], stack_definitions: Array[ { stack_name: ::String?, template_body: ::String?, template_url: ::String? }, ] ) -> _CreateStackRefactorResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStackRefactorResponseSuccess interface _CreateStackSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::CreateStackSetOutput] def stack_set_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#create_stack_set-instance_method def create_stack_set: ( stack_set_name: ::String, ?description: ::String, ?template_body: ::String, ?template_url: ::String, ?stack_id: ::String, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")], ?tags: Array[ { key: ::String, value: ::String }, ], ?administration_role_arn: ::String, ?execution_role_name: ::String, ?permission_model: ("SERVICE_MANAGED" | "SELF_MANAGED"), ?auto_deployment: { enabled: bool?, retain_stacks_on_account_removal: bool? }, ?call_as: ("SELF" | "DELEGATED_ADMIN"), ?client_request_token: ::String, ?managed_execution: { active: bool? } ) -> _CreateStackSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStackSetResponseSuccess interface _DeactivateOrganizationsAccessResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeactivateOrganizationsAccessOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#deactivate_organizations_access-instance_method def deactivate_organizations_access: ( ) -> _DeactivateOrganizationsAccessResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeactivateOrganizationsAccessResponseSuccess interface _DeactivateTypeResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeactivateTypeOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#deactivate_type-instance_method def deactivate_type: ( ?type_name: ::String, ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?arn: ::String ) -> _DeactivateTypeResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeactivateTypeResponseSuccess interface _DeleteChangeSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChangeSetOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#delete_change_set-instance_method def delete_change_set: ( change_set_name: ::String, ?stack_name: ::String ) -> _DeleteChangeSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChangeSetResponseSuccess # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#delete_generated_template-instance_method def delete_generated_template: ( generated_template_name: ::String ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#delete_stack-instance_method def delete_stack: ( stack_name: ::String, ?retain_resources: Array[::String], ?role_arn: ::String, ?client_request_token: ::String, ?deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK") ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] interface _DeleteStackInstancesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteStackInstancesOutput] def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#delete_stack_instances-instance_method def delete_stack_instances: ( stack_set_name: ::String, ?accounts: Array[::String], ?deployment_targets: { accounts: Array[::String]?, accounts_url: ::String?, organizational_unit_ids: Array[::String]?, account_filter_type: ("NONE" | "INTERSECTION" | "DIFFERENCE" | "UNION")? }, regions: Array[::String], ?operation_preferences: { region_concurrency_type: ("SEQUENTIAL" | "PARALLEL")?, region_order: Array[::String]?, failure_tolerance_count: ::Integer?, failure_tolerance_percentage: ::Integer?, max_concurrent_count: ::Integer?, max_concurrent_percentage: ::Integer?, concurrency_mode: ("STRICT_FAILURE_TOLERANCE" | "SOFT_FAILURE_TOLERANCE")? }, retain_stacks: bool, ?operation_id: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _DeleteStackInstancesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteStackInstancesResponseSuccess interface _DeleteStackSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeleteStackSetOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#delete_stack_set-instance_method def delete_stack_set: ( stack_set_name: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _DeleteStackSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteStackSetResponseSuccess interface _DeregisterTypeResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterTypeOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#deregister_type-instance_method def deregister_type: ( ?arn: ::String, ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?type_name: ::String, ?version_id: ::String ) -> _DeregisterTypeResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterTypeResponseSuccess interface _DescribeAccountLimitsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAccountLimitsOutput] def account_limits: () -> ::Array[Types::AccountLimit] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_account_limits-instance_method def describe_account_limits: ( ?next_token: ::String ) -> _DescribeAccountLimitsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAccountLimitsResponseSuccess interface _DescribeChangeSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeChangeSetOutput] def change_set_name: () -> ::String def change_set_id: () -> ::String def stack_id: () -> ::String def stack_name: () -> ::String def description: () -> ::String def parameters: () -> ::Array[Types::Parameter] def creation_time: () -> ::Time def execution_status: () -> ("UNAVAILABLE" | "AVAILABLE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "OBSOLETE") def status: () -> ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "FAILED") def status_reason: () -> ::String def notification_arns: () -> ::Array[::String] def rollback_configuration: () -> Types::RollbackConfiguration def capabilities: () -> ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] def tags: () -> ::Array[Types::Tag] def changes: () -> ::Array[Types::Change] def next_token: () -> ::String def include_nested_stacks: () -> bool def parent_change_set_id: () -> ::String def root_change_set_id: () -> ::String def on_stack_failure: () -> ("DO_NOTHING" | "ROLLBACK" | "DELETE") def import_existing_resources: () -> bool end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_change_set-instance_method def describe_change_set: ( change_set_name: ::String, ?stack_name: ::String, ?next_token: ::String, ?include_property_values: bool ) -> _DescribeChangeSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeChangeSetResponseSuccess interface _DescribeChangeSetHooksResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeChangeSetHooksOutput] def change_set_id: () -> ::String def change_set_name: () -> ::String def hooks: () -> ::Array[Types::ChangeSetHook] def status: () -> ("PLANNING" | "PLANNED" | "UNAVAILABLE") def next_token: () -> ::String def stack_id: () -> ::String def stack_name: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_change_set_hooks-instance_method def describe_change_set_hooks: ( change_set_name: ::String, ?stack_name: ::String, ?next_token: ::String, ?logical_resource_id: ::String ) -> _DescribeChangeSetHooksResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeChangeSetHooksResponseSuccess interface _DescribeGeneratedTemplateResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGeneratedTemplateOutput] def generated_template_id: () -> ::String def generated_template_name: () -> ::String def resources: () -> ::Array[Types::ResourceDetail] def status: () -> ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE") def status_reason: () -> ::String def creation_time: () -> ::Time def last_updated_time: () -> ::Time def progress: () -> Types::TemplateProgress def stack_id: () -> ::String def template_configuration: () -> Types::TemplateConfiguration def total_warnings: () -> ::Integer end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_generated_template-instance_method def describe_generated_template: ( generated_template_name: ::String ) -> _DescribeGeneratedTemplateResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGeneratedTemplateResponseSuccess interface _DescribeOrganizationsAccessResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationsAccessOutput] def status: () -> ("ENABLED" | "DISABLED" | "DISABLED_PERMANENTLY") end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_organizations_access-instance_method def describe_organizations_access: ( ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _DescribeOrganizationsAccessResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOrganizationsAccessResponseSuccess interface _DescribePublisherResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribePublisherOutput] def publisher_id: () -> ::String def publisher_status: () -> ("VERIFIED" | "UNVERIFIED") def identity_provider: () -> ("AWS_Marketplace" | "GitHub" | "Bitbucket") def publisher_profile: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_publisher-instance_method def describe_publisher: ( ?publisher_id: ::String ) -> _DescribePublisherResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePublisherResponseSuccess interface _DescribeResourceScanResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeResourceScanOutput] def resource_scan_id: () -> ::String def status: () -> ("IN_PROGRESS" | "FAILED" | "COMPLETE" | "EXPIRED") def status_reason: () -> ::String def start_time: () -> ::Time def end_time: () -> ::Time def percentage_completed: () -> ::Float def resource_types: () -> ::Array[::String] def resources_scanned: () -> ::Integer def resources_read: () -> ::Integer def scan_filters: () -> ::Array[Types::ScanFilter] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_resource_scan-instance_method def describe_resource_scan: ( resource_scan_id: ::String ) -> _DescribeResourceScanResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeResourceScanResponseSuccess interface _DescribeStackDriftDetectionStatusResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackDriftDetectionStatusOutput] def stack_id: () -> ::String def stack_drift_detection_id: () -> ::String def stack_drift_status: () -> ("DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED") def detection_status: () -> ("DETECTION_IN_PROGRESS" | "DETECTION_FAILED" | "DETECTION_COMPLETE") def detection_status_reason: () -> ::String def drifted_stack_resource_count: () -> ::Integer def timestamp: () -> ::Time end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_drift_detection_status-instance_method def describe_stack_drift_detection_status: ( stack_drift_detection_id: ::String ) -> _DescribeStackDriftDetectionStatusResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackDriftDetectionStatusResponseSuccess interface _DescribeStackEventsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackEventsOutput] def stack_events: () -> ::Array[Types::StackEvent] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_events-instance_method def describe_stack_events: ( ?stack_name: ::String, ?next_token: ::String ) -> _DescribeStackEventsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackEventsResponseSuccess interface _DescribeStackInstanceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackInstanceOutput] def stack_instance: () -> Types::StackInstance end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_instance-instance_method def describe_stack_instance: ( stack_set_name: ::String, stack_instance_account: ::String, stack_instance_region: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _DescribeStackInstanceResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackInstanceResponseSuccess interface _DescribeStackRefactorResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackRefactorOutput] def description: () -> ::String def stack_refactor_id: () -> ::String def stack_ids: () -> ::Array[::String] def execution_status: () -> ("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") def execution_status_reason: () -> ::String def status: () -> ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED") def status_reason: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_refactor-instance_method def describe_stack_refactor: ( stack_refactor_id: ::String ) -> _DescribeStackRefactorResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackRefactorResponseSuccess interface _DescribeStackResourceResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackResourceOutput] def stack_resource_detail: () -> Types::StackResourceDetail end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_resource-instance_method def describe_stack_resource: ( stack_name: ::String, logical_resource_id: ::String ) -> _DescribeStackResourceResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackResourceResponseSuccess interface _DescribeStackResourceDriftsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackResourceDriftsOutput] def stack_resource_drifts: () -> ::Array[Types::StackResourceDrift] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_resource_drifts-instance_method def describe_stack_resource_drifts: ( stack_name: ::String, ?stack_resource_drift_status_filters: Array[("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN")], ?next_token: ::String, ?max_results: ::Integer ) -> _DescribeStackResourceDriftsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackResourceDriftsResponseSuccess interface _DescribeStackResourcesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackResourcesOutput] def stack_resources: () -> ::Array[Types::StackResource] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_resources-instance_method def describe_stack_resources: ( ?stack_name: ::String, ?logical_resource_id: ::String, ?physical_resource_id: ::String ) -> _DescribeStackResourcesResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackResourcesResponseSuccess interface _DescribeStackSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackSetOutput] def stack_set: () -> Types::StackSet end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_set-instance_method def describe_stack_set: ( stack_set_name: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _DescribeStackSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackSetResponseSuccess interface _DescribeStackSetOperationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStackSetOperationOutput] def stack_set_operation: () -> Types::StackSetOperation end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stack_set_operation-instance_method def describe_stack_set_operation: ( stack_set_name: ::String, operation_id: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _DescribeStackSetOperationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStackSetOperationResponseSuccess interface _DescribeStacksResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeStacksOutput] def stacks: () -> ::Array[Types::Stack] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_stacks-instance_method def describe_stacks: ( ?stack_name: ::String, ?next_token: ::String ) -> _DescribeStacksResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeStacksResponseSuccess interface _DescribeTypeResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTypeOutput] def arn: () -> ::String def type: () -> ("RESOURCE" | "MODULE" | "HOOK") def type_name: () -> ::String def default_version_id: () -> ::String def is_default_version: () -> bool def type_tests_status: () -> ("PASSED" | "FAILED" | "IN_PROGRESS" | "NOT_TESTED") def type_tests_status_description: () -> ::String def description: () -> ::String def schema: () -> ::String def provisioning_type: () -> ("NON_PROVISIONABLE" | "IMMUTABLE" | "FULLY_MUTABLE") def deprecated_status: () -> ("LIVE" | "DEPRECATED") def logging_config: () -> Types::LoggingConfig def required_activated_types: () -> ::Array[Types::RequiredActivatedType] def execution_role_arn: () -> ::String def visibility: () -> ("PUBLIC" | "PRIVATE") def source_url: () -> ::String def documentation_url: () -> ::String def last_updated: () -> ::Time def time_created: () -> ::Time def configuration_schema: () -> ::String def publisher_id: () -> ::String def original_type_name: () -> ::String def original_type_arn: () -> ::String def public_version_number: () -> ::String def latest_public_version: () -> ::String def is_activated: () -> bool def auto_update: () -> bool end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_type-instance_method def describe_type: ( ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?type_name: ::String, ?arn: ::String, ?version_id: ::String, ?publisher_id: ::String, ?public_version_number: ::String ) -> _DescribeTypeResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTypeResponseSuccess interface _DescribeTypeRegistrationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTypeRegistrationOutput] def progress_status: () -> ("COMPLETE" | "IN_PROGRESS" | "FAILED") def description: () -> ::String def type_arn: () -> ::String def type_version_arn: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#describe_type_registration-instance_method def describe_type_registration: ( registration_token: ::String ) -> _DescribeTypeRegistrationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTypeRegistrationResponseSuccess interface _DetectStackDriftResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DetectStackDriftOutput] def stack_drift_detection_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#detect_stack_drift-instance_method def detect_stack_drift: ( stack_name: ::String, ?logical_resource_ids: Array[::String] ) -> _DetectStackDriftResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectStackDriftResponseSuccess interface _DetectStackResourceDriftResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DetectStackResourceDriftOutput] def stack_resource_drift: () -> Types::StackResourceDrift end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#detect_stack_resource_drift-instance_method def detect_stack_resource_drift: ( stack_name: ::String, logical_resource_id: ::String ) -> _DetectStackResourceDriftResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectStackResourceDriftResponseSuccess interface _DetectStackSetDriftResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::DetectStackSetDriftOutput] def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#detect_stack_set_drift-instance_method def detect_stack_set_drift: ( stack_set_name: ::String, ?operation_preferences: { region_concurrency_type: ("SEQUENTIAL" | "PARALLEL")?, region_order: Array[::String]?, failure_tolerance_count: ::Integer?, failure_tolerance_percentage: ::Integer?, max_concurrent_count: ::Integer?, max_concurrent_percentage: ::Integer?, concurrency_mode: ("STRICT_FAILURE_TOLERANCE" | "SOFT_FAILURE_TOLERANCE")? }, ?operation_id: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _DetectStackSetDriftResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DetectStackSetDriftResponseSuccess interface _EstimateTemplateCostResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::EstimateTemplateCostOutput] def url: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#estimate_template_cost-instance_method def estimate_template_cost: ( ?template_body: ::String, ?template_url: ::String, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ] ) -> _EstimateTemplateCostResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EstimateTemplateCostResponseSuccess interface _ExecuteChangeSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ExecuteChangeSetOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#execute_change_set-instance_method def execute_change_set: ( change_set_name: ::String, ?stack_name: ::String, ?client_request_token: ::String, ?disable_rollback: bool, ?retain_except_on_create: bool ) -> _ExecuteChangeSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExecuteChangeSetResponseSuccess # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#execute_stack_refactor-instance_method def execute_stack_refactor: ( stack_refactor_id: ::String ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] interface _GetGeneratedTemplateResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetGeneratedTemplateOutput] def status: () -> ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE") def template_body: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#get_generated_template-instance_method def get_generated_template: ( ?format: ("JSON" | "YAML"), generated_template_name: ::String ) -> _GetGeneratedTemplateResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGeneratedTemplateResponseSuccess interface _GetStackPolicyResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetStackPolicyOutput] def stack_policy_body: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#get_stack_policy-instance_method def get_stack_policy: ( stack_name: ::String ) -> _GetStackPolicyResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStackPolicyResponseSuccess interface _GetTemplateResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetTemplateOutput] def template_body: () -> ::String def stages_available: () -> ::Array[("Original" | "Processed")] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#get_template-instance_method def get_template: ( ?stack_name: ::String, ?change_set_name: ::String, ?template_stage: ("Original" | "Processed") ) -> _GetTemplateResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTemplateResponseSuccess interface _GetTemplateSummaryResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::GetTemplateSummaryOutput] def parameters: () -> ::Array[Types::ParameterDeclaration] def description: () -> ::String def capabilities: () -> ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] def capabilities_reason: () -> ::String def resource_types: () -> ::Array[::String] def version: () -> ::String def metadata: () -> ::String def declared_transforms: () -> ::Array[::String] def resource_identifier_summaries: () -> ::Array[Types::ResourceIdentifierSummary] def warnings: () -> Types::Warnings end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#get_template_summary-instance_method def get_template_summary: ( ?template_body: ::String, ?template_url: ::String, ?stack_name: ::String, ?stack_set_name: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN"), ?template_summary_config: { treat_unrecognized_resource_types_as_warnings: bool? } ) -> _GetTemplateSummaryResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTemplateSummaryResponseSuccess interface _ImportStacksToStackSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ImportStacksToStackSetOutput] def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#import_stacks_to_stack_set-instance_method def import_stacks_to_stack_set: ( stack_set_name: ::String, ?stack_ids: Array[::String], ?stack_ids_url: ::String, ?organizational_unit_ids: Array[::String], ?operation_preferences: { region_concurrency_type: ("SEQUENTIAL" | "PARALLEL")?, region_order: Array[::String]?, failure_tolerance_count: ::Integer?, failure_tolerance_percentage: ::Integer?, max_concurrent_count: ::Integer?, max_concurrent_percentage: ::Integer?, concurrency_mode: ("STRICT_FAILURE_TOLERANCE" | "SOFT_FAILURE_TOLERANCE")? }, ?operation_id: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _ImportStacksToStackSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportStacksToStackSetResponseSuccess interface _ListChangeSetsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListChangeSetsOutput] def summaries: () -> ::Array[Types::ChangeSetSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_change_sets-instance_method def list_change_sets: ( stack_name: ::String, ?next_token: ::String ) -> _ListChangeSetsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChangeSetsResponseSuccess interface _ListExportsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListExportsOutput] def exports: () -> ::Array[Types::Export] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_exports-instance_method def list_exports: ( ?next_token: ::String ) -> _ListExportsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExportsResponseSuccess interface _ListGeneratedTemplatesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListGeneratedTemplatesOutput] def summaries: () -> ::Array[Types::TemplateSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_generated_templates-instance_method def list_generated_templates: ( ?next_token: ::String, ?max_results: ::Integer ) -> _ListGeneratedTemplatesResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGeneratedTemplatesResponseSuccess interface _ListHookResultsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListHookResultsOutput] def target_type: () -> ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL") def target_id: () -> ::String def hook_results: () -> ::Array[Types::HookResultSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_hook_results-instance_method def list_hook_results: ( ?target_type: ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL"), ?target_id: ::String, ?type_arn: ::String, ?status: ("HOOK_IN_PROGRESS" | "HOOK_COMPLETE_SUCCEEDED" | "HOOK_COMPLETE_FAILED" | "HOOK_FAILED"), ?next_token: ::String ) -> _ListHookResultsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHookResultsResponseSuccess interface _ListImportsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListImportsOutput] def imports: () -> ::Array[::String] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_imports-instance_method def list_imports: ( export_name: ::String, ?next_token: ::String ) -> _ListImportsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListImportsResponseSuccess interface _ListResourceScanRelatedResourcesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceScanRelatedResourcesOutput] def related_resources: () -> ::Array[Types::ScannedResource] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_resource_scan_related_resources-instance_method def list_resource_scan_related_resources: ( resource_scan_id: ::String, resources: Array[ { resource_type: ::String, resource_identifier: Hash[::String, ::String] }, ], ?next_token: ::String, ?max_results: ::Integer ) -> _ListResourceScanRelatedResourcesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceScanRelatedResourcesResponseSuccess interface _ListResourceScanResourcesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceScanResourcesOutput] def resources: () -> ::Array[Types::ScannedResource] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_resource_scan_resources-instance_method def list_resource_scan_resources: ( resource_scan_id: ::String, ?resource_identifier: ::String, ?resource_type_prefix: ::String, ?tag_key: ::String, ?tag_value: ::String, ?next_token: ::String, ?max_results: ::Integer ) -> _ListResourceScanResourcesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceScanResourcesResponseSuccess interface _ListResourceScansResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceScansOutput] def resource_scan_summaries: () -> ::Array[Types::ResourceScanSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_resource_scans-instance_method def list_resource_scans: ( ?next_token: ::String, ?max_results: ::Integer, ?scan_type_filter: ("FULL" | "PARTIAL") ) -> _ListResourceScansResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceScansResponseSuccess interface _ListStackInstanceResourceDriftsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackInstanceResourceDriftsOutput] def summaries: () -> ::Array[Types::StackInstanceResourceDriftsSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_instance_resource_drifts-instance_method def list_stack_instance_resource_drifts: ( stack_set_name: ::String, ?next_token: ::String, ?max_results: ::Integer, ?stack_instance_resource_drift_statuses: Array[("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN")], stack_instance_account: ::String, stack_instance_region: ::String, operation_id: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _ListStackInstanceResourceDriftsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackInstanceResourceDriftsResponseSuccess interface _ListStackInstancesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackInstancesOutput] def summaries: () -> ::Array[Types::StackInstanceSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_instances-instance_method def list_stack_instances: ( stack_set_name: ::String, ?next_token: ::String, ?max_results: ::Integer, ?filters: Array[ { name: ("DETAILED_STATUS" | "LAST_OPERATION_ID" | "DRIFT_STATUS")?, values: ::String? }, ], ?stack_instance_account: ::String, ?stack_instance_region: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _ListStackInstancesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackInstancesResponseSuccess interface _ListStackRefactorActionsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackRefactorActionsOutput] def stack_refactor_actions: () -> ::Array[Types::StackRefactorAction] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_refactor_actions-instance_method def list_stack_refactor_actions: ( stack_refactor_id: ::String, ?next_token: ::String, ?max_results: ::Integer ) -> _ListStackRefactorActionsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackRefactorActionsResponseSuccess interface _ListStackRefactorsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackRefactorsOutput] def stack_refactor_summaries: () -> ::Array[Types::StackRefactorSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_refactors-instance_method def list_stack_refactors: ( ?execution_status_filter: Array[("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED")], ?next_token: ::String, ?max_results: ::Integer ) -> _ListStackRefactorsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackRefactorsResponseSuccess interface _ListStackResourcesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackResourcesOutput] def stack_resource_summaries: () -> ::Array[Types::StackResourceSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_resources-instance_method def list_stack_resources: ( stack_name: ::String, ?next_token: ::String ) -> _ListStackResourcesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackResourcesResponseSuccess interface _ListStackSetAutoDeploymentTargetsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackSetAutoDeploymentTargetsOutput] def summaries: () -> ::Array[Types::StackSetAutoDeploymentTargetSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_set_auto_deployment_targets-instance_method def list_stack_set_auto_deployment_targets: ( stack_set_name: ::String, ?next_token: ::String, ?max_results: ::Integer, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _ListStackSetAutoDeploymentTargetsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackSetAutoDeploymentTargetsResponseSuccess interface _ListStackSetOperationResultsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackSetOperationResultsOutput] def summaries: () -> ::Array[Types::StackSetOperationResultSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_set_operation_results-instance_method def list_stack_set_operation_results: ( stack_set_name: ::String, operation_id: ::String, ?next_token: ::String, ?max_results: ::Integer, ?call_as: ("SELF" | "DELEGATED_ADMIN"), ?filters: Array[ { name: ("OPERATION_RESULT_STATUS")?, values: ::String? }, ] ) -> _ListStackSetOperationResultsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackSetOperationResultsResponseSuccess interface _ListStackSetOperationsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackSetOperationsOutput] def summaries: () -> ::Array[Types::StackSetOperationSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_set_operations-instance_method def list_stack_set_operations: ( stack_set_name: ::String, ?next_token: ::String, ?max_results: ::Integer, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _ListStackSetOperationsResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackSetOperationsResponseSuccess interface _ListStackSetsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStackSetsOutput] def summaries: () -> ::Array[Types::StackSetSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stack_sets-instance_method def list_stack_sets: ( ?next_token: ::String, ?max_results: ::Integer, ?status: ("ACTIVE" | "DELETED"), ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _ListStackSetsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStackSetsResponseSuccess interface _ListStacksResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListStacksOutput] def stack_summaries: () -> ::Array[Types::StackSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_stacks-instance_method def list_stacks: ( ?next_token: ::String, ?stack_status_filter: Array[("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_FAILED" | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "REVIEW_IN_PROGRESS" | "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE")] ) -> _ListStacksResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStacksResponseSuccess interface _ListTypeRegistrationsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListTypeRegistrationsOutput] def registration_token_list: () -> ::Array[::String] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_type_registrations-instance_method def list_type_registrations: ( ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?type_name: ::String, ?type_arn: ::String, ?registration_status_filter: ("COMPLETE" | "IN_PROGRESS" | "FAILED"), ?max_results: ::Integer, ?next_token: ::String ) -> _ListTypeRegistrationsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTypeRegistrationsResponseSuccess interface _ListTypeVersionsResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListTypeVersionsOutput] def type_version_summaries: () -> ::Array[Types::TypeVersionSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_type_versions-instance_method def list_type_versions: ( ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?type_name: ::String, ?arn: ::String, ?max_results: ::Integer, ?next_token: ::String, ?deprecated_status: ("LIVE" | "DEPRECATED"), ?publisher_id: ::String ) -> _ListTypeVersionsResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTypeVersionsResponseSuccess interface _ListTypesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ListTypesOutput] def type_summaries: () -> ::Array[Types::TypeSummary] def next_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#list_types-instance_method def list_types: ( ?visibility: ("PUBLIC" | "PRIVATE"), ?provisioning_type: ("NON_PROVISIONABLE" | "IMMUTABLE" | "FULLY_MUTABLE"), ?deprecated_status: ("LIVE" | "DEPRECATED"), ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?filters: { category: ("REGISTERED" | "ACTIVATED" | "THIRD_PARTY" | "AWS_TYPES")?, publisher_id: ::String?, type_name_prefix: ::String? }, ?max_results: ::Integer, ?next_token: ::String ) -> _ListTypesResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTypesResponseSuccess interface _PublishTypeResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::PublishTypeOutput] def public_type_arn: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#publish_type-instance_method def publish_type: ( ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?arn: ::String, ?type_name: ::String, ?public_version_number: ::String ) -> _PublishTypeResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishTypeResponseSuccess interface _RecordHandlerProgressResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::RecordHandlerProgressOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#record_handler_progress-instance_method def record_handler_progress: ( bearer_token: ::String, operation_status: ("PENDING" | "IN_PROGRESS" | "SUCCESS" | "FAILED"), ?current_operation_status: ("PENDING" | "IN_PROGRESS" | "SUCCESS" | "FAILED"), ?status_message: ::String, ?error_code: ("NotUpdatable" | "InvalidRequest" | "AccessDenied" | "InvalidCredentials" | "AlreadyExists" | "NotFound" | "ResourceConflict" | "Throttling" | "ServiceLimitExceeded" | "NotStabilized" | "GeneralServiceException" | "ServiceInternalError" | "NetworkFailure" | "InternalFailure" | "InvalidTypeConfiguration" | "HandlerInternalFailure" | "NonCompliant" | "Unknown" | "UnsupportedTarget"), ?resource_model: ::String, ?client_request_token: ::String ) -> _RecordHandlerProgressResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RecordHandlerProgressResponseSuccess interface _RegisterPublisherResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::RegisterPublisherOutput] def publisher_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#register_publisher-instance_method def register_publisher: ( ?accept_terms_and_conditions: bool, ?connection_arn: ::String ) -> _RegisterPublisherResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterPublisherResponseSuccess interface _RegisterTypeResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::RegisterTypeOutput] def registration_token: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#register_type-instance_method def register_type: ( ?type: ("RESOURCE" | "MODULE" | "HOOK"), type_name: ::String, schema_handler_package: ::String, ?logging_config: { log_role_arn: ::String, log_group_name: ::String }, ?execution_role_arn: ::String, ?client_request_token: ::String ) -> _RegisterTypeResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterTypeResponseSuccess interface _RollbackStackResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::RollbackStackOutput] def stack_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#rollback_stack-instance_method def rollback_stack: ( stack_name: ::String, ?role_arn: ::String, ?client_request_token: ::String, ?retain_except_on_create: bool ) -> _RollbackStackResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RollbackStackResponseSuccess # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#set_stack_policy-instance_method def set_stack_policy: ( stack_name: ::String, ?stack_policy_body: ::String, ?stack_policy_url: ::String ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] interface _SetTypeConfigurationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::SetTypeConfigurationOutput] def configuration_arn: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#set_type_configuration-instance_method def set_type_configuration: ( ?type_arn: ::String, configuration: ::String, ?configuration_alias: ::String, ?type_name: ::String, ?type: ("RESOURCE" | "MODULE" | "HOOK") ) -> _SetTypeConfigurationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetTypeConfigurationResponseSuccess interface _SetTypeDefaultVersionResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::SetTypeDefaultVersionOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#set_type_default_version-instance_method def set_type_default_version: ( ?arn: ::String, ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?type_name: ::String, ?version_id: ::String ) -> _SetTypeDefaultVersionResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetTypeDefaultVersionResponseSuccess # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#signal_resource-instance_method def signal_resource: ( stack_name: ::String, logical_resource_id: ::String, unique_id: ::String, status: ("SUCCESS" | "FAILURE") ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure] interface _StartResourceScanResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::StartResourceScanOutput] def resource_scan_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#start_resource_scan-instance_method def start_resource_scan: ( ?client_request_token: ::String, ?scan_filters: Array[ { types: Array[::String]? }, ] ) -> _StartResourceScanResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartResourceScanResponseSuccess interface _StopStackSetOperationResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::StopStackSetOperationOutput] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#stop_stack_set_operation-instance_method def stop_stack_set_operation: ( stack_set_name: ::String, operation_id: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _StopStackSetOperationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopStackSetOperationResponseSuccess interface _TestTypeResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::TestTypeOutput] def type_version_arn: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#test_type-instance_method def test_type: ( ?arn: ::String, ?type: ("RESOURCE" | "MODULE" | "HOOK"), ?type_name: ::String, ?version_id: ::String, ?log_delivery_bucket: ::String ) -> _TestTypeResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestTypeResponseSuccess interface _UpdateGeneratedTemplateResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGeneratedTemplateOutput] def generated_template_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#update_generated_template-instance_method def update_generated_template: ( generated_template_name: ::String, ?new_generated_template_name: ::String, ?add_resources: Array[ { resource_type: ::String, logical_resource_id: ::String?, resource_identifier: Hash[::String, ::String] }, ], ?remove_resources: Array[::String], ?refresh_all_resources: bool, ?template_configuration: { deletion_policy: ("DELETE" | "RETAIN")?, update_replace_policy: ("DELETE" | "RETAIN")? } ) -> _UpdateGeneratedTemplateResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGeneratedTemplateResponseSuccess interface _UpdateStackResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStackOutput] def stack_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#update_stack-instance_method def update_stack: ( stack_name: ::String, ?template_body: ::String, ?template_url: ::String, ?use_previous_template: bool, ?stack_policy_during_update_body: ::String, ?stack_policy_during_update_url: ::String, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")], ?resource_types: Array[::String], ?role_arn: ::String, ?rollback_configuration: { rollback_triggers: Array[ { arn: ::String, type: ::String }, ]?, monitoring_time_in_minutes: ::Integer? }, ?stack_policy_body: ::String, ?stack_policy_url: ::String, ?notification_arns: Array[::String], ?tags: Array[ { key: ::String, value: ::String }, ], ?disable_rollback: bool, ?client_request_token: ::String, ?retain_except_on_create: bool ) -> _UpdateStackResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStackResponseSuccess interface _UpdateStackInstancesResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStackInstancesOutput] def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#update_stack_instances-instance_method def update_stack_instances: ( stack_set_name: ::String, ?accounts: Array[::String], ?deployment_targets: { accounts: Array[::String]?, accounts_url: ::String?, organizational_unit_ids: Array[::String]?, account_filter_type: ("NONE" | "INTERSECTION" | "DIFFERENCE" | "UNION")? }, regions: Array[::String], ?parameter_overrides: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?operation_preferences: { region_concurrency_type: ("SEQUENTIAL" | "PARALLEL")?, region_order: Array[::String]?, failure_tolerance_count: ::Integer?, failure_tolerance_percentage: ::Integer?, max_concurrent_count: ::Integer?, max_concurrent_percentage: ::Integer?, concurrency_mode: ("STRICT_FAILURE_TOLERANCE" | "SOFT_FAILURE_TOLERANCE")? }, ?operation_id: ::String, ?call_as: ("SELF" | "DELEGATED_ADMIN") ) -> _UpdateStackInstancesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStackInstancesResponseSuccess interface _UpdateStackSetResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UpdateStackSetOutput] def operation_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#update_stack_set-instance_method def update_stack_set: ( stack_set_name: ::String, ?description: ::String, ?template_body: ::String, ?template_url: ::String, ?use_previous_template: bool, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")], ?tags: Array[ { key: ::String, value: ::String }, ], ?operation_preferences: { region_concurrency_type: ("SEQUENTIAL" | "PARALLEL")?, region_order: Array[::String]?, failure_tolerance_count: ::Integer?, failure_tolerance_percentage: ::Integer?, max_concurrent_count: ::Integer?, max_concurrent_percentage: ::Integer?, concurrency_mode: ("STRICT_FAILURE_TOLERANCE" | "SOFT_FAILURE_TOLERANCE")? }, ?administration_role_arn: ::String, ?execution_role_name: ::String, ?deployment_targets: { accounts: Array[::String]?, accounts_url: ::String?, organizational_unit_ids: Array[::String]?, account_filter_type: ("NONE" | "INTERSECTION" | "DIFFERENCE" | "UNION")? }, ?permission_model: ("SERVICE_MANAGED" | "SELF_MANAGED"), ?auto_deployment: { enabled: bool?, retain_stacks_on_account_removal: bool? }, ?operation_id: ::String, ?accounts: Array[::String], ?regions: Array[::String], ?call_as: ("SELF" | "DELEGATED_ADMIN"), ?managed_execution: { active: bool? } ) -> _UpdateStackSetResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStackSetResponseSuccess interface _UpdateTerminationProtectionResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTerminationProtectionOutput] def stack_id: () -> ::String end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#update_termination_protection-instance_method def update_termination_protection: ( enable_termination_protection: bool, stack_name: ::String ) -> _UpdateTerminationProtectionResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTerminationProtectionResponseSuccess interface _ValidateTemplateResponseSuccess include ::Seahorse::Client::_ResponseSuccess[Types::ValidateTemplateOutput] def parameters: () -> ::Array[Types::TemplateParameter] def description: () -> ::String def capabilities: () -> ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] def capabilities_reason: () -> ::String def declared_transforms: () -> ::Array[::String] end # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#validate_template-instance_method def validate_template: ( ?template_body: ::String, ?template_url: ::String ) -> _ValidateTemplateResponseSuccess | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateTemplateResponseSuccess # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Client.html#wait_until-instance_method def wait_until: (:change_set_create_complete waiter_name, change_set_name: ::String, ?stack_name: ::String, ?next_token: ::String, ?include_property_values: bool ) -> Client::_DescribeChangeSetResponseSuccess | (:change_set_create_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeChangeSetResponseSuccess | (:stack_create_complete waiter_name, ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (:stack_create_complete waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStacksResponseSuccess | (:stack_delete_complete waiter_name, ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (:stack_delete_complete waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStacksResponseSuccess | (:stack_exists waiter_name, ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (:stack_exists waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStacksResponseSuccess | (:stack_import_complete waiter_name, ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (:stack_import_complete waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStacksResponseSuccess | (:stack_refactor_create_complete waiter_name, stack_refactor_id: ::String ) -> Client::_DescribeStackRefactorResponseSuccess | (:stack_refactor_create_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStackRefactorResponseSuccess | (:stack_refactor_execute_complete waiter_name, stack_refactor_id: ::String ) -> Client::_DescribeStackRefactorResponseSuccess | (:stack_refactor_execute_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStackRefactorResponseSuccess | (:stack_rollback_complete waiter_name, ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (:stack_rollback_complete waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStacksResponseSuccess | (:stack_update_complete waiter_name, ?stack_name: ::String, ?next_token: ::String ) -> Client::_DescribeStacksResponseSuccess | (:stack_update_complete waiter_name, ?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeStacksResponseSuccess | (:type_registration_complete waiter_name, registration_token: ::String ) -> Client::_DescribeTypeRegistrationResponseSuccess | (:type_registration_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeTypeRegistrationResponseSuccess end end end aws-sdk-cloudformation-1.143.0/sig/stack.rbs0000644000004100000410000002737315077233060020722 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module CloudFormation # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html class Stack # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#initialize-instance_method def initialize: (String name, Hash[Symbol, untyped] options) -> void | (name: String, ?client: Client) -> void | (Hash[Symbol, untyped] args) -> void # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#name-instance_method def name: () -> String alias stack_name name # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#stack_id-instance_method def stack_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#change_set_id-instance_method def change_set_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#description-instance_method def description: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#parameters-instance_method def parameters: () -> ::Array[Types::Parameter] # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#creation_time-instance_method def creation_time: () -> ::Time # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#deletion_time-instance_method def deletion_time: () -> ::Time # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#last_updated_time-instance_method def last_updated_time: () -> ::Time # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#rollback_configuration-instance_method def rollback_configuration: () -> Types::RollbackConfiguration # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#stack_status-instance_method def stack_status: () -> ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_FAILED" | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "REVIEW_IN_PROGRESS" | "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE") # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#stack_status_reason-instance_method def stack_status_reason: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#disable_rollback-instance_method def disable_rollback: () -> bool # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#notification_arns-instance_method def notification_arns: () -> ::Array[::String] # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#timeout_in_minutes-instance_method def timeout_in_minutes: () -> ::Integer # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#capabilities-instance_method def capabilities: () -> ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#outputs-instance_method def outputs: () -> ::Array[Types::Output] # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#role_arn-instance_method def role_arn: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#tags-instance_method def tags: () -> ::Array[Types::Tag] # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#enable_termination_protection-instance_method def enable_termination_protection: () -> bool # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#parent_id-instance_method def parent_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#root_id-instance_method def root_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#drift_information-instance_method def drift_information: () -> Types::StackDriftInformation # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#retain_except_on_create-instance_method def retain_except_on_create: () -> bool # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#deletion_mode-instance_method def deletion_mode: () -> ("STANDARD" | "FORCE_DELETE_STACK") # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#detailed_status-instance_method def detailed_status: () -> ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED") def client: () -> Client # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#load-instance_method def load: () -> self alias reload load # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#data-instance_method def data: () -> Types::Stack # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#data_loaded?-instance_method def data_loaded?: () -> bool # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#exists?-instance_method def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool | (?Hash[Symbol, untyped]) -> bool # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#wait_until_exists-instance_method def wait_until_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> Stack | (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> Stack # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#cancel_update-instance_method def cancel_update: ( ?client_request_token: ::String ) -> ::Aws::EmptyStructure | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#create-instance_method def create: ( ?template_body: ::String, ?template_url: ::String, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?disable_rollback: bool, ?rollback_configuration: { rollback_triggers: Array[ { arn: ::String, type: ::String }, ]?, monitoring_time_in_minutes: ::Integer? }, ?timeout_in_minutes: ::Integer, ?notification_arns: Array[::String], ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")], ?resource_types: Array[::String], ?role_arn: ::String, ?on_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE"), ?stack_policy_body: ::String, ?stack_policy_url: ::String, ?tags: Array[ { key: ::String, value: ::String }, ], ?client_request_token: ::String, ?enable_termination_protection: bool, ?retain_except_on_create: bool ) -> Types::CreateStackOutput | (?Hash[Symbol, untyped]) -> Types::CreateStackOutput # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#delete-instance_method def delete: ( ?retain_resources: Array[::String], ?role_arn: ::String, ?client_request_token: ::String, ?deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK") ) -> ::Aws::EmptyStructure | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#update-instance_method def update: ( ?template_body: ::String, ?template_url: ::String, ?use_previous_template: bool, ?stack_policy_during_update_body: ::String, ?stack_policy_during_update_url: ::String, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")], ?resource_types: Array[::String], ?role_arn: ::String, ?rollback_configuration: { rollback_triggers: Array[ { arn: ::String, type: ::String }, ]?, monitoring_time_in_minutes: ::Integer? }, ?stack_policy_body: ::String, ?stack_policy_url: ::String, ?notification_arns: Array[::String], ?tags: Array[ { key: ::String, value: ::String }, ], ?disable_rollback: bool, ?client_request_token: ::String, ?retain_except_on_create: bool ) -> Types::UpdateStackOutput | (?Hash[Symbol, untyped]) -> Types::UpdateStackOutput # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#events-instance_method def events: ( ) -> Event::Collection | (?Hash[Symbol, untyped]) -> Event::Collection # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#resource-instance_method def resource: (String logical_id) -> StackResource # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Stack.html#resource_summaries-instance_method def resource_summaries: ( ) -> StackResourceSummary::Collection | (?Hash[Symbol, untyped]) -> StackResourceSummary::Collection class Collection < ::Aws::Resources::Collection[Stack] end end end end aws-sdk-cloudformation-1.143.0/sig/stack_resource.rbs0000644000004100000410000001017415077233060022620 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module CloudFormation # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html class StackResource # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#initialize-instance_method def initialize: (String stack_name, String logical_id, Hash[Symbol, untyped] options) -> void | (stack_name: String, logical_id: String, ?client: Client) -> void | (Hash[Symbol, untyped] args) -> void # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#stack_name-instance_method def stack_name: () -> String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#logical_id-instance_method def logical_id: () -> String alias logical_resource_id logical_id # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#stack_id-instance_method def stack_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#physical_resource_id-instance_method def physical_resource_id: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#resource_type-instance_method def resource_type: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#last_updated_timestamp-instance_method def last_updated_timestamp: () -> ::Time # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#resource_status-instance_method def resource_status: () -> ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "DELETE_SKIPPED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_COMPLETE" | "IMPORT_FAILED" | "IMPORT_COMPLETE" | "IMPORT_IN_PROGRESS" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" | "EXPORT_FAILED" | "EXPORT_COMPLETE" | "EXPORT_IN_PROGRESS" | "EXPORT_ROLLBACK_IN_PROGRESS" | "EXPORT_ROLLBACK_FAILED" | "EXPORT_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#resource_status_reason-instance_method def resource_status_reason: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#description-instance_method def description: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#metadata-instance_method def metadata: () -> ::String # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#drift_information-instance_method def drift_information: () -> Types::StackResourceDriftInformation # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#module_info-instance_method def module_info: () -> Types::ModuleInfo def client: () -> Client # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#load-instance_method def load: () -> self alias reload load # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#data-instance_method def data: () -> Types::StackResourceDetail # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#data_loaded?-instance_method def data_loaded?: () -> bool # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/StackResource.html#stack-instance_method def stack: () -> Stack class Collection < ::Aws::Resources::Collection[StackResource] end end end end aws-sdk-cloudformation-1.143.0/sig/resource.rbs0000644000004100000410000001524115077233060021433 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module CloudFormation # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html class Resource # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#initialize-instance_method def initialize: ( ?client: Client, ?credentials: untyped, ?region: String, ?access_key_id: String, ?account_id: String, ?active_endpoint_cache: bool, ?adaptive_retry_wait_to_fill: bool, ?auth_scheme_preference: Array[String], ?client_side_monitoring: bool, ?client_side_monitoring_client_id: String, ?client_side_monitoring_host: String, ?client_side_monitoring_port: Integer, ?client_side_monitoring_publisher: untyped, ?convert_params: bool, ?correct_clock_skew: bool, ?defaults_mode: String, ?disable_host_prefix_injection: bool, ?disable_request_compression: bool, ?endpoint: String, ?endpoint_cache_max_entries: Integer, ?endpoint_cache_max_threads: Integer, ?endpoint_cache_poll_interval: Integer, ?endpoint_discovery: bool, ?ignore_configured_endpoint_urls: bool, ?log_formatter: untyped, ?log_level: Symbol, ?logger: untyped, ?max_attempts: Integer, ?profile: String, ?request_checksum_calculation: String, ?request_min_compression_size_bytes: Integer, ?response_checksum_validation: String, ?retry_backoff: Proc, ?retry_base_delay: Float, ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer), ?retry_limit: Integer, ?retry_max_delay: Integer, ?retry_mode: ("legacy" | "standard" | "adaptive"), ?sdk_ua_app_id: String, ?secret_access_key: String, ?session_token: String, ?sigv4a_signing_region_set: Array[String], ?stub_responses: untyped, ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase, ?token_provider: untyped, ?use_dualstack_endpoint: bool, ?use_fips_endpoint: bool, ?validate_params: bool, ?endpoint_provider: untyped, ?http_proxy: String, ?http_open_timeout: (Float | Integer), ?http_read_timeout: (Float | Integer), ?http_idle_timeout: (Float | Integer), ?http_continue_timeout: (Float | Integer), ?ssl_timeout: (Float | Integer | nil), ?http_wire_trace: bool, ?ssl_verify_peer: bool, ?ssl_ca_bundle: String, ?ssl_ca_directory: String, ?ssl_ca_store: String, ?on_chunk_received: Proc, ?on_chunk_sent: Proc, ?raise_response_errors: bool ) -> void | (?Hash[Symbol, untyped]) -> void def client: () -> Client # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#create_stack-instance_method def create_stack: ( stack_name: ::String, ?template_body: ::String, ?template_url: ::String, ?parameters: Array[ { parameter_key: ::String?, parameter_value: ::String?, use_previous_value: bool?, resolved_value: ::String? }, ], ?disable_rollback: bool, ?rollback_configuration: { rollback_triggers: Array[ { arn: ::String, type: ::String }, ]?, monitoring_time_in_minutes: ::Integer? }, ?timeout_in_minutes: ::Integer, ?notification_arns: Array[::String], ?capabilities: Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")], ?resource_types: Array[::String], ?role_arn: ::String, ?on_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE"), ?stack_policy_body: ::String, ?stack_policy_url: ::String, ?tags: Array[ { key: ::String, value: ::String }, ], ?client_request_token: ::String, ?enable_termination_protection: bool, ?retain_except_on_create: bool ) -> Stack | (?Hash[Symbol, untyped]) -> Stack # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#event-instance_method def event: (String id) -> Event # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#stack-instance_method def stack: (String name) -> Stack # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFormation/Resource.html#stacks-instance_method def stacks: ( ?stack_name: ::String ) -> Stack::Collection | (?Hash[Symbol, untyped]) -> Stack::Collection end end end aws-sdk-cloudformation-1.143.0/sig/errors.rbs0000644000004100000410000000526115077233060021121 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws module CloudFormation module Errors class ServiceError < ::Aws::Errors::ServiceError end class AlreadyExistsException < ::Aws::Errors::ServiceError end class CFNRegistryException < ::Aws::Errors::ServiceError def message: () -> ::String end class ChangeSetNotFoundException < ::Aws::Errors::ServiceError end class ConcurrentResourcesLimitExceededException < ::Aws::Errors::ServiceError end class CreatedButModifiedException < ::Aws::Errors::ServiceError end class GeneratedTemplateNotFoundException < ::Aws::Errors::ServiceError end class HookResultNotFoundException < ::Aws::Errors::ServiceError end class InsufficientCapabilitiesException < ::Aws::Errors::ServiceError end class InvalidChangeSetStatusException < ::Aws::Errors::ServiceError end class InvalidOperationException < ::Aws::Errors::ServiceError end class InvalidStateTransitionException < ::Aws::Errors::ServiceError end class LimitExceededException < ::Aws::Errors::ServiceError end class NameAlreadyExistsException < ::Aws::Errors::ServiceError end class OperationIdAlreadyExistsException < ::Aws::Errors::ServiceError end class OperationInProgressException < ::Aws::Errors::ServiceError end class OperationNotFoundException < ::Aws::Errors::ServiceError end class OperationStatusCheckFailedException < ::Aws::Errors::ServiceError end class ResourceScanInProgressException < ::Aws::Errors::ServiceError end class ResourceScanLimitExceededException < ::Aws::Errors::ServiceError end class ResourceScanNotFoundException < ::Aws::Errors::ServiceError end class StackInstanceNotFoundException < ::Aws::Errors::ServiceError end class StackNotFoundException < ::Aws::Errors::ServiceError end class StackRefactorNotFoundException < ::Aws::Errors::ServiceError end class StackSetNotEmptyException < ::Aws::Errors::ServiceError end class StackSetNotFoundException < ::Aws::Errors::ServiceError end class StaleRequestException < ::Aws::Errors::ServiceError end class TokenAlreadyExistsException < ::Aws::Errors::ServiceError end class TypeConfigurationNotFoundException < ::Aws::Errors::ServiceError end class TypeNotFoundException < ::Aws::Errors::ServiceError end end end end aws-sdk-cloudformation-1.143.0/sig/types.rbs0000644000004100000410000023217115077233060020753 0ustar www-datawww-data# WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::CloudFormation module Types class AccountGateResult attr_accessor status: ("SUCCEEDED" | "FAILED" | "SKIPPED") attr_accessor status_reason: ::String SENSITIVE: [] end class AccountLimit attr_accessor name: ::String attr_accessor value: ::Integer SENSITIVE: [] end class ActivateOrganizationsAccessInput < Aws::EmptyStructure end class ActivateOrganizationsAccessOutput < Aws::EmptyStructure end class ActivateTypeInput attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor public_type_arn: ::String attr_accessor publisher_id: ::String attr_accessor type_name: ::String attr_accessor type_name_alias: ::String attr_accessor auto_update: bool attr_accessor logging_config: Types::LoggingConfig attr_accessor execution_role_arn: ::String attr_accessor version_bump: ("MAJOR" | "MINOR") attr_accessor major_version: ::Integer SENSITIVE: [] end class ActivateTypeOutput attr_accessor arn: ::String SENSITIVE: [] end class AlreadyExistsException < Aws::EmptyStructure end class AutoDeployment attr_accessor enabled: bool attr_accessor retain_stacks_on_account_removal: bool SENSITIVE: [] end class BatchDescribeTypeConfigurationsError attr_accessor error_code: ::String attr_accessor error_message: ::String attr_accessor type_configuration_identifier: Types::TypeConfigurationIdentifier SENSITIVE: [] end class BatchDescribeTypeConfigurationsInput attr_accessor type_configuration_identifiers: ::Array[Types::TypeConfigurationIdentifier] SENSITIVE: [] end class BatchDescribeTypeConfigurationsOutput attr_accessor errors: ::Array[Types::BatchDescribeTypeConfigurationsError] attr_accessor unprocessed_type_configurations: ::Array[Types::TypeConfigurationIdentifier] attr_accessor type_configurations: ::Array[Types::TypeConfigurationDetails] SENSITIVE: [] end class CFNRegistryException attr_accessor message: ::String SENSITIVE: [] end class CancelUpdateStackInput attr_accessor stack_name: ::String attr_accessor client_request_token: ::String SENSITIVE: [] end class Change attr_accessor type: ("Resource") attr_accessor hook_invocation_count: ::Integer attr_accessor resource_change: Types::ResourceChange SENSITIVE: [] end class ChangeSetHook attr_accessor invocation_point: ("PRE_PROVISION") attr_accessor failure_mode: ("FAIL" | "WARN") attr_accessor type_name: ::String attr_accessor type_version_id: ::String attr_accessor type_configuration_version_id: ::String attr_accessor target_details: Types::ChangeSetHookTargetDetails SENSITIVE: [] end class ChangeSetHookResourceTargetDetails attr_accessor logical_resource_id: ::String attr_accessor resource_type: ::String attr_accessor resource_action: ("Add" | "Modify" | "Remove" | "Import" | "Dynamic") SENSITIVE: [] end class ChangeSetHookTargetDetails attr_accessor target_type: ("RESOURCE") attr_accessor resource_target_details: Types::ChangeSetHookResourceTargetDetails SENSITIVE: [] end class ChangeSetNotFoundException < Aws::EmptyStructure end class ChangeSetSummary attr_accessor stack_id: ::String attr_accessor stack_name: ::String attr_accessor change_set_id: ::String attr_accessor change_set_name: ::String attr_accessor execution_status: ("UNAVAILABLE" | "AVAILABLE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "OBSOLETE") attr_accessor status: ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "FAILED") attr_accessor status_reason: ::String attr_accessor creation_time: ::Time attr_accessor description: ::String attr_accessor include_nested_stacks: bool attr_accessor parent_change_set_id: ::String attr_accessor root_change_set_id: ::String attr_accessor import_existing_resources: bool SENSITIVE: [] end class ConcurrentResourcesLimitExceededException < Aws::EmptyStructure end class ContinueUpdateRollbackInput attr_accessor stack_name: ::String attr_accessor role_arn: ::String attr_accessor resources_to_skip: ::Array[::String] attr_accessor client_request_token: ::String SENSITIVE: [] end class ContinueUpdateRollbackOutput < Aws::EmptyStructure end class CreateChangeSetInput attr_accessor stack_name: ::String attr_accessor template_body: ::String attr_accessor template_url: ::String attr_accessor use_previous_template: bool attr_accessor parameters: ::Array[Types::Parameter] attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor resource_types: ::Array[::String] attr_accessor role_arn: ::String attr_accessor rollback_configuration: Types::RollbackConfiguration attr_accessor notification_arns: ::Array[::String] attr_accessor tags: ::Array[Types::Tag] attr_accessor change_set_name: ::String attr_accessor client_token: ::String attr_accessor description: ::String attr_accessor change_set_type: ("CREATE" | "UPDATE" | "IMPORT") attr_accessor resources_to_import: ::Array[Types::ResourceToImport] attr_accessor include_nested_stacks: bool attr_accessor on_stack_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE") attr_accessor import_existing_resources: bool SENSITIVE: [] end class CreateChangeSetOutput attr_accessor id: ::String attr_accessor stack_id: ::String SENSITIVE: [] end class CreateGeneratedTemplateInput attr_accessor resources: ::Array[Types::ResourceDefinition] attr_accessor generated_template_name: ::String attr_accessor stack_name: ::String attr_accessor template_configuration: Types::TemplateConfiguration SENSITIVE: [] end class CreateGeneratedTemplateOutput attr_accessor generated_template_id: ::String SENSITIVE: [] end class CreateStackInput attr_accessor stack_name: ::String attr_accessor template_body: ::String attr_accessor template_url: ::String attr_accessor parameters: ::Array[Types::Parameter] attr_accessor disable_rollback: bool attr_accessor rollback_configuration: Types::RollbackConfiguration attr_accessor timeout_in_minutes: ::Integer attr_accessor notification_arns: ::Array[::String] attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor resource_types: ::Array[::String] attr_accessor role_arn: ::String attr_accessor on_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE") attr_accessor stack_policy_body: ::String attr_accessor stack_policy_url: ::String attr_accessor tags: ::Array[Types::Tag] attr_accessor client_request_token: ::String attr_accessor enable_termination_protection: bool attr_accessor retain_except_on_create: bool SENSITIVE: [] end class CreateStackInstancesInput attr_accessor stack_set_name: ::String attr_accessor accounts: ::Array[::String] attr_accessor deployment_targets: Types::DeploymentTargets attr_accessor regions: ::Array[::String] attr_accessor parameter_overrides: ::Array[Types::Parameter] attr_accessor operation_preferences: Types::StackSetOperationPreferences attr_accessor operation_id: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class CreateStackInstancesOutput attr_accessor operation_id: ::String SENSITIVE: [] end class CreateStackOutput attr_accessor stack_id: ::String SENSITIVE: [] end class CreateStackRefactorInput attr_accessor description: ::String attr_accessor enable_stack_creation: bool attr_accessor resource_mappings: ::Array[Types::ResourceMapping] attr_accessor stack_definitions: ::Array[Types::StackDefinition] SENSITIVE: [] end class CreateStackRefactorOutput attr_accessor stack_refactor_id: ::String SENSITIVE: [] end class CreateStackSetInput attr_accessor stack_set_name: ::String attr_accessor description: ::String attr_accessor template_body: ::String attr_accessor template_url: ::String attr_accessor stack_id: ::String attr_accessor parameters: ::Array[Types::Parameter] attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor tags: ::Array[Types::Tag] attr_accessor administration_role_arn: ::String attr_accessor execution_role_name: ::String attr_accessor permission_model: ("SERVICE_MANAGED" | "SELF_MANAGED") attr_accessor auto_deployment: Types::AutoDeployment attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") attr_accessor client_request_token: ::String attr_accessor managed_execution: Types::ManagedExecution SENSITIVE: [] end class CreateStackSetOutput attr_accessor stack_set_id: ::String SENSITIVE: [] end class CreatedButModifiedException < Aws::EmptyStructure end class DeactivateOrganizationsAccessInput < Aws::EmptyStructure end class DeactivateOrganizationsAccessOutput < Aws::EmptyStructure end class DeactivateTypeInput attr_accessor type_name: ::String attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor arn: ::String SENSITIVE: [] end class DeactivateTypeOutput < Aws::EmptyStructure end class DeleteChangeSetInput attr_accessor change_set_name: ::String attr_accessor stack_name: ::String SENSITIVE: [] end class DeleteChangeSetOutput < Aws::EmptyStructure end class DeleteGeneratedTemplateInput attr_accessor generated_template_name: ::String SENSITIVE: [] end class DeleteStackInput attr_accessor stack_name: ::String attr_accessor retain_resources: ::Array[::String] attr_accessor role_arn: ::String attr_accessor client_request_token: ::String attr_accessor deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK") SENSITIVE: [] end class DeleteStackInstancesInput attr_accessor stack_set_name: ::String attr_accessor accounts: ::Array[::String] attr_accessor deployment_targets: Types::DeploymentTargets attr_accessor regions: ::Array[::String] attr_accessor operation_preferences: Types::StackSetOperationPreferences attr_accessor retain_stacks: bool attr_accessor operation_id: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class DeleteStackInstancesOutput attr_accessor operation_id: ::String SENSITIVE: [] end class DeleteStackSetInput attr_accessor stack_set_name: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class DeleteStackSetOutput < Aws::EmptyStructure end class DeploymentTargets attr_accessor accounts: ::Array[::String] attr_accessor accounts_url: ::String attr_accessor organizational_unit_ids: ::Array[::String] attr_accessor account_filter_type: ("NONE" | "INTERSECTION" | "DIFFERENCE" | "UNION") SENSITIVE: [] end class DeregisterTypeInput attr_accessor arn: ::String attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor version_id: ::String SENSITIVE: [] end class DeregisterTypeOutput < Aws::EmptyStructure end class DescribeAccountLimitsInput attr_accessor next_token: ::String SENSITIVE: [] end class DescribeAccountLimitsOutput attr_accessor account_limits: ::Array[Types::AccountLimit] attr_accessor next_token: ::String SENSITIVE: [] end class DescribeChangeSetHooksInput attr_accessor change_set_name: ::String attr_accessor stack_name: ::String attr_accessor next_token: ::String attr_accessor logical_resource_id: ::String SENSITIVE: [] end class DescribeChangeSetHooksOutput attr_accessor change_set_id: ::String attr_accessor change_set_name: ::String attr_accessor hooks: ::Array[Types::ChangeSetHook] attr_accessor status: ("PLANNING" | "PLANNED" | "UNAVAILABLE") attr_accessor next_token: ::String attr_accessor stack_id: ::String attr_accessor stack_name: ::String SENSITIVE: [] end class DescribeChangeSetInput attr_accessor change_set_name: ::String attr_accessor stack_name: ::String attr_accessor next_token: ::String attr_accessor include_property_values: bool SENSITIVE: [] end class DescribeChangeSetOutput attr_accessor change_set_name: ::String attr_accessor change_set_id: ::String attr_accessor stack_id: ::String attr_accessor stack_name: ::String attr_accessor description: ::String attr_accessor parameters: ::Array[Types::Parameter] attr_accessor creation_time: ::Time attr_accessor execution_status: ("UNAVAILABLE" | "AVAILABLE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "OBSOLETE") attr_accessor status: ("CREATE_PENDING" | "CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "DELETE_PENDING" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED" | "FAILED") attr_accessor status_reason: ::String attr_accessor notification_arns: ::Array[::String] attr_accessor rollback_configuration: Types::RollbackConfiguration attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor tags: ::Array[Types::Tag] attr_accessor changes: ::Array[Types::Change] attr_accessor next_token: ::String attr_accessor include_nested_stacks: bool attr_accessor parent_change_set_id: ::String attr_accessor root_change_set_id: ::String attr_accessor on_stack_failure: ("DO_NOTHING" | "ROLLBACK" | "DELETE") attr_accessor import_existing_resources: bool SENSITIVE: [] end class DescribeGeneratedTemplateInput attr_accessor generated_template_name: ::String SENSITIVE: [] end class DescribeGeneratedTemplateOutput attr_accessor generated_template_id: ::String attr_accessor generated_template_name: ::String attr_accessor resources: ::Array[Types::ResourceDetail] attr_accessor status: ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE") attr_accessor status_reason: ::String attr_accessor creation_time: ::Time attr_accessor last_updated_time: ::Time attr_accessor progress: Types::TemplateProgress attr_accessor stack_id: ::String attr_accessor template_configuration: Types::TemplateConfiguration attr_accessor total_warnings: ::Integer SENSITIVE: [] end class DescribeOrganizationsAccessInput attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class DescribeOrganizationsAccessOutput attr_accessor status: ("ENABLED" | "DISABLED" | "DISABLED_PERMANENTLY") SENSITIVE: [] end class DescribePublisherInput attr_accessor publisher_id: ::String SENSITIVE: [] end class DescribePublisherOutput attr_accessor publisher_id: ::String attr_accessor publisher_status: ("VERIFIED" | "UNVERIFIED") attr_accessor identity_provider: ("AWS_Marketplace" | "GitHub" | "Bitbucket") attr_accessor publisher_profile: ::String SENSITIVE: [] end class DescribeResourceScanInput attr_accessor resource_scan_id: ::String SENSITIVE: [] end class DescribeResourceScanOutput attr_accessor resource_scan_id: ::String attr_accessor status: ("IN_PROGRESS" | "FAILED" | "COMPLETE" | "EXPIRED") attr_accessor status_reason: ::String attr_accessor start_time: ::Time attr_accessor end_time: ::Time attr_accessor percentage_completed: ::Float attr_accessor resource_types: ::Array[::String] attr_accessor resources_scanned: ::Integer attr_accessor resources_read: ::Integer attr_accessor scan_filters: ::Array[Types::ScanFilter] SENSITIVE: [] end class DescribeStackDriftDetectionStatusInput attr_accessor stack_drift_detection_id: ::String SENSITIVE: [] end class DescribeStackDriftDetectionStatusOutput attr_accessor stack_id: ::String attr_accessor stack_drift_detection_id: ::String attr_accessor stack_drift_status: ("DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED") attr_accessor detection_status: ("DETECTION_IN_PROGRESS" | "DETECTION_FAILED" | "DETECTION_COMPLETE") attr_accessor detection_status_reason: ::String attr_accessor drifted_stack_resource_count: ::Integer attr_accessor timestamp: ::Time SENSITIVE: [] end class DescribeStackEventsInput attr_accessor stack_name: ::String attr_accessor next_token: ::String SENSITIVE: [] end class DescribeStackEventsOutput attr_accessor stack_events: ::Array[Types::StackEvent] attr_accessor next_token: ::String SENSITIVE: [] end class DescribeStackInstanceInput attr_accessor stack_set_name: ::String attr_accessor stack_instance_account: ::String attr_accessor stack_instance_region: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class DescribeStackInstanceOutput attr_accessor stack_instance: Types::StackInstance SENSITIVE: [] end class DescribeStackRefactorInput attr_accessor stack_refactor_id: ::String SENSITIVE: [] end class DescribeStackRefactorOutput attr_accessor description: ::String attr_accessor stack_refactor_id: ::String attr_accessor stack_ids: ::Array[::String] attr_accessor execution_status: ("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") attr_accessor execution_status_reason: ::String attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED") attr_accessor status_reason: ::String SENSITIVE: [] end class DescribeStackResourceDriftsInput attr_accessor stack_name: ::String attr_accessor stack_resource_drift_status_filters: ::Array[("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN")] attr_accessor next_token: ::String attr_accessor max_results: ::Integer SENSITIVE: [] end class DescribeStackResourceDriftsOutput attr_accessor stack_resource_drifts: ::Array[Types::StackResourceDrift] attr_accessor next_token: ::String SENSITIVE: [] end class DescribeStackResourceInput attr_accessor stack_name: ::String attr_accessor logical_resource_id: ::String SENSITIVE: [] end class DescribeStackResourceOutput attr_accessor stack_resource_detail: Types::StackResourceDetail SENSITIVE: [] end class DescribeStackResourcesInput attr_accessor stack_name: ::String attr_accessor logical_resource_id: ::String attr_accessor physical_resource_id: ::String SENSITIVE: [] end class DescribeStackResourcesOutput attr_accessor stack_resources: ::Array[Types::StackResource] SENSITIVE: [] end class DescribeStackSetInput attr_accessor stack_set_name: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class DescribeStackSetOperationInput attr_accessor stack_set_name: ::String attr_accessor operation_id: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class DescribeStackSetOperationOutput attr_accessor stack_set_operation: Types::StackSetOperation SENSITIVE: [] end class DescribeStackSetOutput attr_accessor stack_set: Types::StackSet SENSITIVE: [] end class DescribeStacksInput attr_accessor stack_name: ::String attr_accessor next_token: ::String SENSITIVE: [] end class DescribeStacksOutput attr_accessor stacks: ::Array[Types::Stack] attr_accessor next_token: ::String SENSITIVE: [] end class DescribeTypeInput attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor arn: ::String attr_accessor version_id: ::String attr_accessor publisher_id: ::String attr_accessor public_version_number: ::String SENSITIVE: [] end class DescribeTypeOutput attr_accessor arn: ::String attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor default_version_id: ::String attr_accessor is_default_version: bool attr_accessor type_tests_status: ("PASSED" | "FAILED" | "IN_PROGRESS" | "NOT_TESTED") attr_accessor type_tests_status_description: ::String attr_accessor description: ::String attr_accessor schema: ::String attr_accessor provisioning_type: ("NON_PROVISIONABLE" | "IMMUTABLE" | "FULLY_MUTABLE") attr_accessor deprecated_status: ("LIVE" | "DEPRECATED") attr_accessor logging_config: Types::LoggingConfig attr_accessor required_activated_types: ::Array[Types::RequiredActivatedType] attr_accessor execution_role_arn: ::String attr_accessor visibility: ("PUBLIC" | "PRIVATE") attr_accessor source_url: ::String attr_accessor documentation_url: ::String attr_accessor last_updated: ::Time attr_accessor time_created: ::Time attr_accessor configuration_schema: ::String attr_accessor publisher_id: ::String attr_accessor original_type_name: ::String attr_accessor original_type_arn: ::String attr_accessor public_version_number: ::String attr_accessor latest_public_version: ::String attr_accessor is_activated: bool attr_accessor auto_update: bool SENSITIVE: [] end class DescribeTypeRegistrationInput attr_accessor registration_token: ::String SENSITIVE: [] end class DescribeTypeRegistrationOutput attr_accessor progress_status: ("COMPLETE" | "IN_PROGRESS" | "FAILED") attr_accessor description: ::String attr_accessor type_arn: ::String attr_accessor type_version_arn: ::String SENSITIVE: [] end class DetectStackDriftInput attr_accessor stack_name: ::String attr_accessor logical_resource_ids: ::Array[::String] SENSITIVE: [] end class DetectStackDriftOutput attr_accessor stack_drift_detection_id: ::String SENSITIVE: [] end class DetectStackResourceDriftInput attr_accessor stack_name: ::String attr_accessor logical_resource_id: ::String SENSITIVE: [] end class DetectStackResourceDriftOutput attr_accessor stack_resource_drift: Types::StackResourceDrift SENSITIVE: [] end class DetectStackSetDriftInput attr_accessor stack_set_name: ::String attr_accessor operation_preferences: Types::StackSetOperationPreferences attr_accessor operation_id: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class DetectStackSetDriftOutput attr_accessor operation_id: ::String SENSITIVE: [] end class EstimateTemplateCostInput attr_accessor template_body: ::String attr_accessor template_url: ::String attr_accessor parameters: ::Array[Types::Parameter] SENSITIVE: [] end class EstimateTemplateCostOutput attr_accessor url: ::String SENSITIVE: [] end class ExecuteChangeSetInput attr_accessor change_set_name: ::String attr_accessor stack_name: ::String attr_accessor client_request_token: ::String attr_accessor disable_rollback: bool attr_accessor retain_except_on_create: bool SENSITIVE: [] end class ExecuteChangeSetOutput < Aws::EmptyStructure end class ExecuteStackRefactorInput attr_accessor stack_refactor_id: ::String SENSITIVE: [] end class Export attr_accessor exporting_stack_id: ::String attr_accessor name: ::String attr_accessor value: ::String SENSITIVE: [] end class GeneratedTemplateNotFoundException < Aws::EmptyStructure end class GetGeneratedTemplateInput attr_accessor format: ("JSON" | "YAML") attr_accessor generated_template_name: ::String SENSITIVE: [] end class GetGeneratedTemplateOutput attr_accessor status: ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE") attr_accessor template_body: ::String SENSITIVE: [] end class GetStackPolicyInput attr_accessor stack_name: ::String SENSITIVE: [] end class GetStackPolicyOutput attr_accessor stack_policy_body: ::String SENSITIVE: [] end class GetTemplateInput attr_accessor stack_name: ::String attr_accessor change_set_name: ::String attr_accessor template_stage: ("Original" | "Processed") SENSITIVE: [] end class GetTemplateOutput attr_accessor template_body: ::String attr_accessor stages_available: ::Array[("Original" | "Processed")] SENSITIVE: [] end class GetTemplateSummaryInput attr_accessor template_body: ::String attr_accessor template_url: ::String attr_accessor stack_name: ::String attr_accessor stack_set_name: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") attr_accessor template_summary_config: Types::TemplateSummaryConfig SENSITIVE: [] end class GetTemplateSummaryOutput attr_accessor parameters: ::Array[Types::ParameterDeclaration] attr_accessor description: ::String attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor capabilities_reason: ::String attr_accessor resource_types: ::Array[::String] attr_accessor version: ::String attr_accessor metadata: ::String attr_accessor declared_transforms: ::Array[::String] attr_accessor resource_identifier_summaries: ::Array[Types::ResourceIdentifierSummary] attr_accessor warnings: Types::Warnings SENSITIVE: [] end class HookResultNotFoundException < Aws::EmptyStructure end class HookResultSummary attr_accessor hook_result_id: ::String attr_accessor invocation_point: ("PRE_PROVISION") attr_accessor failure_mode: ("FAIL" | "WARN") attr_accessor type_name: ::String attr_accessor type_version_id: ::String attr_accessor type_configuration_version_id: ::String attr_accessor status: ("HOOK_IN_PROGRESS" | "HOOK_COMPLETE_SUCCEEDED" | "HOOK_COMPLETE_FAILED" | "HOOK_FAILED") attr_accessor hook_status_reason: ::String attr_accessor invoked_at: ::Time attr_accessor target_type: ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL") attr_accessor target_id: ::String attr_accessor type_arn: ::String attr_accessor hook_execution_target: ::String SENSITIVE: [] end class ImportStacksToStackSetInput attr_accessor stack_set_name: ::String attr_accessor stack_ids: ::Array[::String] attr_accessor stack_ids_url: ::String attr_accessor organizational_unit_ids: ::Array[::String] attr_accessor operation_preferences: Types::StackSetOperationPreferences attr_accessor operation_id: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class ImportStacksToStackSetOutput attr_accessor operation_id: ::String SENSITIVE: [] end class InsufficientCapabilitiesException < Aws::EmptyStructure end class InvalidChangeSetStatusException < Aws::EmptyStructure end class InvalidOperationException < Aws::EmptyStructure end class InvalidStateTransitionException < Aws::EmptyStructure end class LimitExceededException < Aws::EmptyStructure end class ListChangeSetsInput attr_accessor stack_name: ::String attr_accessor next_token: ::String SENSITIVE: [] end class ListChangeSetsOutput attr_accessor summaries: ::Array[Types::ChangeSetSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListExportsInput attr_accessor next_token: ::String SENSITIVE: [] end class ListExportsOutput attr_accessor exports: ::Array[Types::Export] attr_accessor next_token: ::String SENSITIVE: [] end class ListGeneratedTemplatesInput attr_accessor next_token: ::String attr_accessor max_results: ::Integer SENSITIVE: [] end class ListGeneratedTemplatesOutput attr_accessor summaries: ::Array[Types::TemplateSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListHookResultsInput attr_accessor target_type: ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL") attr_accessor target_id: ::String attr_accessor type_arn: ::String attr_accessor status: ("HOOK_IN_PROGRESS" | "HOOK_COMPLETE_SUCCEEDED" | "HOOK_COMPLETE_FAILED" | "HOOK_FAILED") attr_accessor next_token: ::String SENSITIVE: [] end class ListHookResultsOutput attr_accessor target_type: ("CHANGE_SET" | "STACK" | "RESOURCE" | "CLOUD_CONTROL") attr_accessor target_id: ::String attr_accessor hook_results: ::Array[Types::HookResultSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListImportsInput attr_accessor export_name: ::String attr_accessor next_token: ::String SENSITIVE: [] end class ListImportsOutput attr_accessor imports: ::Array[::String] attr_accessor next_token: ::String SENSITIVE: [] end class ListResourceScanRelatedResourcesInput attr_accessor resource_scan_id: ::String attr_accessor resources: ::Array[Types::ScannedResourceIdentifier] attr_accessor next_token: ::String attr_accessor max_results: ::Integer SENSITIVE: [] end class ListResourceScanRelatedResourcesOutput attr_accessor related_resources: ::Array[Types::ScannedResource] attr_accessor next_token: ::String SENSITIVE: [] end class ListResourceScanResourcesInput attr_accessor resource_scan_id: ::String attr_accessor resource_identifier: ::String attr_accessor resource_type_prefix: ::String attr_accessor tag_key: ::String attr_accessor tag_value: ::String attr_accessor next_token: ::String attr_accessor max_results: ::Integer SENSITIVE: [] end class ListResourceScanResourcesOutput attr_accessor resources: ::Array[Types::ScannedResource] attr_accessor next_token: ::String SENSITIVE: [] end class ListResourceScansInput attr_accessor next_token: ::String attr_accessor max_results: ::Integer attr_accessor scan_type_filter: ("FULL" | "PARTIAL") SENSITIVE: [] end class ListResourceScansOutput attr_accessor resource_scan_summaries: ::Array[Types::ResourceScanSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackInstanceResourceDriftsInput attr_accessor stack_set_name: ::String attr_accessor next_token: ::String attr_accessor max_results: ::Integer attr_accessor stack_instance_resource_drift_statuses: ::Array[("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN")] attr_accessor stack_instance_account: ::String attr_accessor stack_instance_region: ::String attr_accessor operation_id: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class ListStackInstanceResourceDriftsOutput attr_accessor summaries: ::Array[Types::StackInstanceResourceDriftsSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackInstancesInput attr_accessor stack_set_name: ::String attr_accessor next_token: ::String attr_accessor max_results: ::Integer attr_accessor filters: ::Array[Types::StackInstanceFilter] attr_accessor stack_instance_account: ::String attr_accessor stack_instance_region: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class ListStackInstancesOutput attr_accessor summaries: ::Array[Types::StackInstanceSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackRefactorActionsInput attr_accessor stack_refactor_id: ::String attr_accessor next_token: ::String attr_accessor max_results: ::Integer SENSITIVE: [] end class ListStackRefactorActionsOutput attr_accessor stack_refactor_actions: ::Array[Types::StackRefactorAction] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackRefactorsInput attr_accessor execution_status_filter: ::Array[("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED")] attr_accessor next_token: ::String attr_accessor max_results: ::Integer SENSITIVE: [] end class ListStackRefactorsOutput attr_accessor stack_refactor_summaries: ::Array[Types::StackRefactorSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackResourcesInput attr_accessor stack_name: ::String attr_accessor next_token: ::String SENSITIVE: [] end class ListStackResourcesOutput attr_accessor stack_resource_summaries: ::Array[Types::StackResourceSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackSetAutoDeploymentTargetsInput attr_accessor stack_set_name: ::String attr_accessor next_token: ::String attr_accessor max_results: ::Integer attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class ListStackSetAutoDeploymentTargetsOutput attr_accessor summaries: ::Array[Types::StackSetAutoDeploymentTargetSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackSetOperationResultsInput attr_accessor stack_set_name: ::String attr_accessor operation_id: ::String attr_accessor next_token: ::String attr_accessor max_results: ::Integer attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") attr_accessor filters: ::Array[Types::OperationResultFilter] SENSITIVE: [] end class ListStackSetOperationResultsOutput attr_accessor summaries: ::Array[Types::StackSetOperationResultSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackSetOperationsInput attr_accessor stack_set_name: ::String attr_accessor next_token: ::String attr_accessor max_results: ::Integer attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class ListStackSetOperationsOutput attr_accessor summaries: ::Array[Types::StackSetOperationSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStackSetsInput attr_accessor next_token: ::String attr_accessor max_results: ::Integer attr_accessor status: ("ACTIVE" | "DELETED") attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class ListStackSetsOutput attr_accessor summaries: ::Array[Types::StackSetSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListStacksInput attr_accessor next_token: ::String attr_accessor stack_status_filter: ::Array[("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_FAILED" | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "REVIEW_IN_PROGRESS" | "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE")] SENSITIVE: [] end class ListStacksOutput attr_accessor stack_summaries: ::Array[Types::StackSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListTypeRegistrationsInput attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor type_arn: ::String attr_accessor registration_status_filter: ("COMPLETE" | "IN_PROGRESS" | "FAILED") attr_accessor max_results: ::Integer attr_accessor next_token: ::String SENSITIVE: [] end class ListTypeRegistrationsOutput attr_accessor registration_token_list: ::Array[::String] attr_accessor next_token: ::String SENSITIVE: [] end class ListTypeVersionsInput attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor arn: ::String attr_accessor max_results: ::Integer attr_accessor next_token: ::String attr_accessor deprecated_status: ("LIVE" | "DEPRECATED") attr_accessor publisher_id: ::String SENSITIVE: [] end class ListTypeVersionsOutput attr_accessor type_version_summaries: ::Array[Types::TypeVersionSummary] attr_accessor next_token: ::String SENSITIVE: [] end class ListTypesInput attr_accessor visibility: ("PUBLIC" | "PRIVATE") attr_accessor provisioning_type: ("NON_PROVISIONABLE" | "IMMUTABLE" | "FULLY_MUTABLE") attr_accessor deprecated_status: ("LIVE" | "DEPRECATED") attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor filters: Types::TypeFilters attr_accessor max_results: ::Integer attr_accessor next_token: ::String SENSITIVE: [] end class ListTypesOutput attr_accessor type_summaries: ::Array[Types::TypeSummary] attr_accessor next_token: ::String SENSITIVE: [] end class LoggingConfig attr_accessor log_role_arn: ::String attr_accessor log_group_name: ::String SENSITIVE: [] end class ManagedExecution attr_accessor active: bool SENSITIVE: [] end class ModuleInfo attr_accessor type_hierarchy: ::String attr_accessor logical_id_hierarchy: ::String SENSITIVE: [] end class NameAlreadyExistsException < Aws::EmptyStructure end class OperationIdAlreadyExistsException < Aws::EmptyStructure end class OperationInProgressException < Aws::EmptyStructure end class OperationNotFoundException < Aws::EmptyStructure end class OperationResultFilter attr_accessor name: ("OPERATION_RESULT_STATUS") attr_accessor values: ::String SENSITIVE: [] end class OperationStatusCheckFailedException < Aws::EmptyStructure end class Output attr_accessor output_key: ::String attr_accessor output_value: ::String attr_accessor description: ::String attr_accessor export_name: ::String SENSITIVE: [] end class Parameter attr_accessor parameter_key: ::String attr_accessor parameter_value: ::String attr_accessor use_previous_value: bool attr_accessor resolved_value: ::String SENSITIVE: [] end class ParameterConstraints attr_accessor allowed_values: ::Array[::String] SENSITIVE: [] end class ParameterDeclaration attr_accessor parameter_key: ::String attr_accessor default_value: ::String attr_accessor parameter_type: ::String attr_accessor no_echo: bool attr_accessor description: ::String attr_accessor parameter_constraints: Types::ParameterConstraints SENSITIVE: [] end class PhysicalResourceIdContextKeyValuePair attr_accessor key: ::String attr_accessor value: ::String SENSITIVE: [] end class PropertyDifference attr_accessor property_path: ::String attr_accessor expected_value: ::String attr_accessor actual_value: ::String attr_accessor difference_type: ("ADD" | "REMOVE" | "NOT_EQUAL") SENSITIVE: [] end class PublishTypeInput attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor arn: ::String attr_accessor type_name: ::String attr_accessor public_version_number: ::String SENSITIVE: [] end class PublishTypeOutput attr_accessor public_type_arn: ::String SENSITIVE: [] end class RecordHandlerProgressInput attr_accessor bearer_token: ::String attr_accessor operation_status: ("PENDING" | "IN_PROGRESS" | "SUCCESS" | "FAILED") attr_accessor current_operation_status: ("PENDING" | "IN_PROGRESS" | "SUCCESS" | "FAILED") attr_accessor status_message: ::String attr_accessor error_code: ("NotUpdatable" | "InvalidRequest" | "AccessDenied" | "InvalidCredentials" | "AlreadyExists" | "NotFound" | "ResourceConflict" | "Throttling" | "ServiceLimitExceeded" | "NotStabilized" | "GeneralServiceException" | "ServiceInternalError" | "NetworkFailure" | "InternalFailure" | "InvalidTypeConfiguration" | "HandlerInternalFailure" | "NonCompliant" | "Unknown" | "UnsupportedTarget") attr_accessor resource_model: ::String attr_accessor client_request_token: ::String SENSITIVE: [] end class RecordHandlerProgressOutput < Aws::EmptyStructure end class RegisterPublisherInput attr_accessor accept_terms_and_conditions: bool attr_accessor connection_arn: ::String SENSITIVE: [] end class RegisterPublisherOutput attr_accessor publisher_id: ::String SENSITIVE: [] end class RegisterTypeInput attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor schema_handler_package: ::String attr_accessor logging_config: Types::LoggingConfig attr_accessor execution_role_arn: ::String attr_accessor client_request_token: ::String SENSITIVE: [] end class RegisterTypeOutput attr_accessor registration_token: ::String SENSITIVE: [] end class RequiredActivatedType attr_accessor type_name_alias: ::String attr_accessor original_type_name: ::String attr_accessor publisher_id: ::String attr_accessor supported_major_versions: ::Array[::Integer] SENSITIVE: [] end class ResourceChange attr_accessor policy_action: ("Delete" | "Retain" | "Snapshot" | "ReplaceAndDelete" | "ReplaceAndRetain" | "ReplaceAndSnapshot") attr_accessor action: ("Add" | "Modify" | "Remove" | "Import" | "Dynamic") attr_accessor logical_resource_id: ::String attr_accessor physical_resource_id: ::String attr_accessor resource_type: ::String attr_accessor replacement: ("True" | "False" | "Conditional") attr_accessor scope: ::Array[("Properties" | "Metadata" | "CreationPolicy" | "UpdatePolicy" | "DeletionPolicy" | "UpdateReplacePolicy" | "Tags")] attr_accessor details: ::Array[Types::ResourceChangeDetail] attr_accessor change_set_id: ::String attr_accessor module_info: Types::ModuleInfo attr_accessor before_context: ::String attr_accessor after_context: ::String SENSITIVE: [] end class ResourceChangeDetail attr_accessor target: Types::ResourceTargetDefinition attr_accessor evaluation: ("Static" | "Dynamic") attr_accessor change_source: ("ResourceReference" | "ParameterReference" | "ResourceAttribute" | "DirectModification" | "Automatic") attr_accessor causing_entity: ::String SENSITIVE: [] end class ResourceDefinition attr_accessor resource_type: ::String attr_accessor logical_resource_id: ::String attr_accessor resource_identifier: ::Hash[::String, ::String] SENSITIVE: [] end class ResourceDetail attr_accessor resource_type: ::String attr_accessor logical_resource_id: ::String attr_accessor resource_identifier: ::Hash[::String, ::String] attr_accessor resource_status: ("PENDING" | "IN_PROGRESS" | "FAILED" | "COMPLETE") attr_accessor resource_status_reason: ::String attr_accessor warnings: ::Array[Types::WarningDetail] SENSITIVE: [] end class ResourceIdentifierSummary attr_accessor resource_type: ::String attr_accessor logical_resource_ids: ::Array[::String] attr_accessor resource_identifiers: ::Array[::String] SENSITIVE: [] end class ResourceLocation attr_accessor stack_name: ::String attr_accessor logical_resource_id: ::String SENSITIVE: [] end class ResourceMapping attr_accessor source: Types::ResourceLocation attr_accessor destination: Types::ResourceLocation SENSITIVE: [] end class ResourceScanInProgressException < Aws::EmptyStructure end class ResourceScanLimitExceededException < Aws::EmptyStructure end class ResourceScanNotFoundException < Aws::EmptyStructure end class ResourceScanSummary attr_accessor resource_scan_id: ::String attr_accessor status: ("IN_PROGRESS" | "FAILED" | "COMPLETE" | "EXPIRED") attr_accessor status_reason: ::String attr_accessor start_time: ::Time attr_accessor end_time: ::Time attr_accessor percentage_completed: ::Float attr_accessor scan_type: ("FULL" | "PARTIAL") SENSITIVE: [] end class ResourceTargetDefinition attr_accessor attribute: ("Properties" | "Metadata" | "CreationPolicy" | "UpdatePolicy" | "DeletionPolicy" | "UpdateReplacePolicy" | "Tags") attr_accessor name: ::String attr_accessor requires_recreation: ("Never" | "Conditionally" | "Always") attr_accessor path: ::String attr_accessor before_value: ::String attr_accessor after_value: ::String attr_accessor attribute_change_type: ("Add" | "Remove" | "Modify") SENSITIVE: [] end class ResourceToImport attr_accessor resource_type: ::String attr_accessor logical_resource_id: ::String attr_accessor resource_identifier: ::Hash[::String, ::String] SENSITIVE: [] end class RollbackConfiguration attr_accessor rollback_triggers: ::Array[Types::RollbackTrigger] attr_accessor monitoring_time_in_minutes: ::Integer SENSITIVE: [] end class RollbackStackInput attr_accessor stack_name: ::String attr_accessor role_arn: ::String attr_accessor client_request_token: ::String attr_accessor retain_except_on_create: bool SENSITIVE: [] end class RollbackStackOutput attr_accessor stack_id: ::String SENSITIVE: [] end class RollbackTrigger attr_accessor arn: ::String attr_accessor type: ::String SENSITIVE: [] end class ScanFilter attr_accessor types: ::Array[::String] SENSITIVE: [] end class ScannedResource attr_accessor resource_type: ::String attr_accessor resource_identifier: ::Hash[::String, ::String] attr_accessor managed_by_stack: bool SENSITIVE: [] end class ScannedResourceIdentifier attr_accessor resource_type: ::String attr_accessor resource_identifier: ::Hash[::String, ::String] SENSITIVE: [] end class SetStackPolicyInput attr_accessor stack_name: ::String attr_accessor stack_policy_body: ::String attr_accessor stack_policy_url: ::String SENSITIVE: [] end class SetTypeConfigurationInput attr_accessor type_arn: ::String attr_accessor configuration: ::String attr_accessor configuration_alias: ::String attr_accessor type_name: ::String attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") SENSITIVE: [] end class SetTypeConfigurationOutput attr_accessor configuration_arn: ::String SENSITIVE: [] end class SetTypeDefaultVersionInput attr_accessor arn: ::String attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor version_id: ::String SENSITIVE: [] end class SetTypeDefaultVersionOutput < Aws::EmptyStructure end class SignalResourceInput attr_accessor stack_name: ::String attr_accessor logical_resource_id: ::String attr_accessor unique_id: ::String attr_accessor status: ("SUCCESS" | "FAILURE") SENSITIVE: [] end class Stack attr_accessor stack_id: ::String attr_accessor stack_name: ::String attr_accessor change_set_id: ::String attr_accessor description: ::String attr_accessor parameters: ::Array[Types::Parameter] attr_accessor creation_time: ::Time attr_accessor deletion_time: ::Time attr_accessor last_updated_time: ::Time attr_accessor rollback_configuration: Types::RollbackConfiguration attr_accessor stack_status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_FAILED" | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "REVIEW_IN_PROGRESS" | "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE") attr_accessor stack_status_reason: ::String attr_accessor disable_rollback: bool attr_accessor notification_arns: ::Array[::String] attr_accessor timeout_in_minutes: ::Integer attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor outputs: ::Array[Types::Output] attr_accessor role_arn: ::String attr_accessor tags: ::Array[Types::Tag] attr_accessor enable_termination_protection: bool attr_accessor parent_id: ::String attr_accessor root_id: ::String attr_accessor drift_information: Types::StackDriftInformation attr_accessor retain_except_on_create: bool attr_accessor deletion_mode: ("STANDARD" | "FORCE_DELETE_STACK") attr_accessor detailed_status: ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED") SENSITIVE: [] end class StackDefinition attr_accessor stack_name: ::String attr_accessor template_body: ::String attr_accessor template_url: ::String SENSITIVE: [] end class StackDriftInformation attr_accessor stack_drift_status: ("DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED") attr_accessor last_check_timestamp: ::Time SENSITIVE: [] end class StackDriftInformationSummary attr_accessor stack_drift_status: ("DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED") attr_accessor last_check_timestamp: ::Time SENSITIVE: [] end class StackEvent attr_accessor stack_id: ::String attr_accessor event_id: ::String attr_accessor stack_name: ::String attr_accessor logical_resource_id: ::String attr_accessor physical_resource_id: ::String attr_accessor resource_type: ::String attr_accessor timestamp: ::Time attr_accessor resource_status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "DELETE_SKIPPED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_COMPLETE" | "IMPORT_FAILED" | "IMPORT_COMPLETE" | "IMPORT_IN_PROGRESS" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" | "EXPORT_FAILED" | "EXPORT_COMPLETE" | "EXPORT_IN_PROGRESS" | "EXPORT_ROLLBACK_IN_PROGRESS" | "EXPORT_ROLLBACK_FAILED" | "EXPORT_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") attr_accessor resource_status_reason: ::String attr_accessor resource_properties: ::String attr_accessor client_request_token: ::String attr_accessor hook_type: ::String attr_accessor hook_status: ("HOOK_IN_PROGRESS" | "HOOK_COMPLETE_SUCCEEDED" | "HOOK_COMPLETE_FAILED" | "HOOK_FAILED") attr_accessor hook_status_reason: ::String attr_accessor hook_invocation_point: ("PRE_PROVISION") attr_accessor hook_invocation_id: ::String attr_accessor hook_failure_mode: ("FAIL" | "WARN") attr_accessor detailed_status: ("CONFIGURATION_COMPLETE" | "VALIDATION_FAILED") SENSITIVE: [] end class StackInstance attr_accessor stack_set_id: ::String attr_accessor region: ::String attr_accessor account: ::String attr_accessor stack_id: ::String attr_accessor parameter_overrides: ::Array[Types::Parameter] attr_accessor status: ("CURRENT" | "OUTDATED" | "INOPERABLE") attr_accessor stack_instance_status: Types::StackInstanceComprehensiveStatus attr_accessor status_reason: ::String attr_accessor organizational_unit_id: ::String attr_accessor drift_status: ("DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED") attr_accessor last_drift_check_timestamp: ::Time attr_accessor last_operation_id: ::String SENSITIVE: [] end class StackInstanceComprehensiveStatus attr_accessor detailed_status: ("PENDING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED" | "INOPERABLE" | "SKIPPED_SUSPENDED_ACCOUNT" | "FAILED_IMPORT") SENSITIVE: [] end class StackInstanceFilter attr_accessor name: ("DETAILED_STATUS" | "LAST_OPERATION_ID" | "DRIFT_STATUS") attr_accessor values: ::String SENSITIVE: [] end class StackInstanceNotFoundException < Aws::EmptyStructure end class StackInstanceResourceDriftsSummary attr_accessor stack_id: ::String attr_accessor logical_resource_id: ::String attr_accessor physical_resource_id: ::String attr_accessor physical_resource_id_context: ::Array[Types::PhysicalResourceIdContextKeyValuePair] attr_accessor resource_type: ::String attr_accessor property_differences: ::Array[Types::PropertyDifference] attr_accessor stack_resource_drift_status: ("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN") attr_accessor timestamp: ::Time SENSITIVE: [] end class StackInstanceSummary attr_accessor stack_set_id: ::String attr_accessor region: ::String attr_accessor account: ::String attr_accessor stack_id: ::String attr_accessor status: ("CURRENT" | "OUTDATED" | "INOPERABLE") attr_accessor status_reason: ::String attr_accessor stack_instance_status: Types::StackInstanceComprehensiveStatus attr_accessor organizational_unit_id: ::String attr_accessor drift_status: ("DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED") attr_accessor last_drift_check_timestamp: ::Time attr_accessor last_operation_id: ::String SENSITIVE: [] end class StackNotFoundException < Aws::EmptyStructure end class StackRefactorAction attr_accessor action: ("MOVE" | "CREATE") attr_accessor entity: ("RESOURCE" | "STACK") attr_accessor physical_resource_id: ::String attr_accessor resource_identifier: ::String attr_accessor description: ::String attr_accessor detection: ("AUTO" | "MANUAL") attr_accessor detection_reason: ::String attr_accessor tag_resources: ::Array[Types::Tag] attr_accessor untag_resources: ::Array[::String] attr_accessor resource_mapping: Types::ResourceMapping SENSITIVE: [] end class StackRefactorNotFoundException < Aws::EmptyStructure end class StackRefactorSummary attr_accessor stack_refactor_id: ::String attr_accessor description: ::String attr_accessor execution_status: ("UNAVAILABLE" | "AVAILABLE" | "OBSOLETE" | "EXECUTE_IN_PROGRESS" | "EXECUTE_COMPLETE" | "EXECUTE_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") attr_accessor execution_status_reason: ::String attr_accessor status: ("CREATE_IN_PROGRESS" | "CREATE_COMPLETE" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_COMPLETE" | "DELETE_FAILED") attr_accessor status_reason: ::String SENSITIVE: [] end class StackResource attr_accessor stack_name: ::String attr_accessor stack_id: ::String attr_accessor logical_resource_id: ::String attr_accessor physical_resource_id: ::String attr_accessor resource_type: ::String attr_accessor timestamp: ::Time attr_accessor resource_status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "DELETE_SKIPPED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_COMPLETE" | "IMPORT_FAILED" | "IMPORT_COMPLETE" | "IMPORT_IN_PROGRESS" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" | "EXPORT_FAILED" | "EXPORT_COMPLETE" | "EXPORT_IN_PROGRESS" | "EXPORT_ROLLBACK_IN_PROGRESS" | "EXPORT_ROLLBACK_FAILED" | "EXPORT_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") attr_accessor resource_status_reason: ::String attr_accessor description: ::String attr_accessor drift_information: Types::StackResourceDriftInformation attr_accessor module_info: Types::ModuleInfo SENSITIVE: [] end class StackResourceDetail attr_accessor stack_name: ::String attr_accessor stack_id: ::String attr_accessor logical_resource_id: ::String attr_accessor physical_resource_id: ::String attr_accessor resource_type: ::String attr_accessor last_updated_timestamp: ::Time attr_accessor resource_status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "DELETE_SKIPPED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_COMPLETE" | "IMPORT_FAILED" | "IMPORT_COMPLETE" | "IMPORT_IN_PROGRESS" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" | "EXPORT_FAILED" | "EXPORT_COMPLETE" | "EXPORT_IN_PROGRESS" | "EXPORT_ROLLBACK_IN_PROGRESS" | "EXPORT_ROLLBACK_FAILED" | "EXPORT_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") attr_accessor resource_status_reason: ::String attr_accessor description: ::String attr_accessor metadata: ::String attr_accessor drift_information: Types::StackResourceDriftInformation attr_accessor module_info: Types::ModuleInfo SENSITIVE: [] end class StackResourceDrift attr_accessor stack_id: ::String attr_accessor logical_resource_id: ::String attr_accessor physical_resource_id: ::String attr_accessor physical_resource_id_context: ::Array[Types::PhysicalResourceIdContextKeyValuePair] attr_accessor resource_type: ::String attr_accessor expected_properties: ::String attr_accessor actual_properties: ::String attr_accessor property_differences: ::Array[Types::PropertyDifference] attr_accessor stack_resource_drift_status: ("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN") attr_accessor timestamp: ::Time attr_accessor module_info: Types::ModuleInfo attr_accessor drift_status_reason: ::String SENSITIVE: [] end class StackResourceDriftInformation attr_accessor stack_resource_drift_status: ("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN") attr_accessor last_check_timestamp: ::Time SENSITIVE: [] end class StackResourceDriftInformationSummary attr_accessor stack_resource_drift_status: ("IN_SYNC" | "MODIFIED" | "DELETED" | "NOT_CHECKED" | "UNKNOWN") attr_accessor last_check_timestamp: ::Time SENSITIVE: [] end class StackResourceSummary attr_accessor logical_resource_id: ::String attr_accessor physical_resource_id: ::String attr_accessor resource_type: ::String attr_accessor last_updated_timestamp: ::Time attr_accessor resource_status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "DELETE_SKIPPED" | "UPDATE_IN_PROGRESS" | "UPDATE_FAILED" | "UPDATE_COMPLETE" | "IMPORT_FAILED" | "IMPORT_COMPLETE" | "IMPORT_IN_PROGRESS" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE" | "EXPORT_FAILED" | "EXPORT_COMPLETE" | "EXPORT_IN_PROGRESS" | "EXPORT_ROLLBACK_IN_PROGRESS" | "EXPORT_ROLLBACK_FAILED" | "EXPORT_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "UPDATE_ROLLBACK_FAILED" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_COMPLETE" | "ROLLBACK_FAILED") attr_accessor resource_status_reason: ::String attr_accessor drift_information: Types::StackResourceDriftInformationSummary attr_accessor module_info: Types::ModuleInfo SENSITIVE: [] end class StackSet attr_accessor stack_set_name: ::String attr_accessor stack_set_id: ::String attr_accessor description: ::String attr_accessor status: ("ACTIVE" | "DELETED") attr_accessor template_body: ::String attr_accessor parameters: ::Array[Types::Parameter] attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor tags: ::Array[Types::Tag] attr_accessor stack_set_arn: ::String attr_accessor administration_role_arn: ::String attr_accessor execution_role_name: ::String attr_accessor stack_set_drift_detection_details: Types::StackSetDriftDetectionDetails attr_accessor auto_deployment: Types::AutoDeployment attr_accessor permission_model: ("SERVICE_MANAGED" | "SELF_MANAGED") attr_accessor organizational_unit_ids: ::Array[::String] attr_accessor managed_execution: Types::ManagedExecution attr_accessor regions: ::Array[::String] SENSITIVE: [] end class StackSetAutoDeploymentTargetSummary attr_accessor organizational_unit_id: ::String attr_accessor regions: ::Array[::String] SENSITIVE: [] end class StackSetDriftDetectionDetails attr_accessor drift_status: ("DRIFTED" | "IN_SYNC" | "NOT_CHECKED") attr_accessor drift_detection_status: ("COMPLETED" | "FAILED" | "PARTIAL_SUCCESS" | "IN_PROGRESS" | "STOPPED") attr_accessor last_drift_check_timestamp: ::Time attr_accessor total_stack_instances_count: ::Integer attr_accessor drifted_stack_instances_count: ::Integer attr_accessor in_sync_stack_instances_count: ::Integer attr_accessor in_progress_stack_instances_count: ::Integer attr_accessor failed_stack_instances_count: ::Integer SENSITIVE: [] end class StackSetNotEmptyException < Aws::EmptyStructure end class StackSetNotFoundException < Aws::EmptyStructure end class StackSetOperation attr_accessor operation_id: ::String attr_accessor stack_set_id: ::String attr_accessor action: ("CREATE" | "UPDATE" | "DELETE" | "DETECT_DRIFT") attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "STOPPING" | "STOPPED" | "QUEUED") attr_accessor operation_preferences: Types::StackSetOperationPreferences attr_accessor retain_stacks: bool attr_accessor administration_role_arn: ::String attr_accessor execution_role_name: ::String attr_accessor creation_timestamp: ::Time attr_accessor end_timestamp: ::Time attr_accessor deployment_targets: Types::DeploymentTargets attr_accessor stack_set_drift_detection_details: Types::StackSetDriftDetectionDetails attr_accessor status_reason: ::String attr_accessor status_details: Types::StackSetOperationStatusDetails SENSITIVE: [] end class StackSetOperationPreferences attr_accessor region_concurrency_type: ("SEQUENTIAL" | "PARALLEL") attr_accessor region_order: ::Array[::String] attr_accessor failure_tolerance_count: ::Integer attr_accessor failure_tolerance_percentage: ::Integer attr_accessor max_concurrent_count: ::Integer attr_accessor max_concurrent_percentage: ::Integer attr_accessor concurrency_mode: ("STRICT_FAILURE_TOLERANCE" | "SOFT_FAILURE_TOLERANCE") SENSITIVE: [] end class StackSetOperationResultSummary attr_accessor account: ::String attr_accessor region: ::String attr_accessor status: ("PENDING" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED") attr_accessor status_reason: ::String attr_accessor account_gate_result: Types::AccountGateResult attr_accessor organizational_unit_id: ::String SENSITIVE: [] end class StackSetOperationStatusDetails attr_accessor failed_stack_instances_count: ::Integer SENSITIVE: [] end class StackSetOperationSummary attr_accessor operation_id: ::String attr_accessor action: ("CREATE" | "UPDATE" | "DELETE" | "DETECT_DRIFT") attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "STOPPING" | "STOPPED" | "QUEUED") attr_accessor creation_timestamp: ::Time attr_accessor end_timestamp: ::Time attr_accessor status_reason: ::String attr_accessor status_details: Types::StackSetOperationStatusDetails attr_accessor operation_preferences: Types::StackSetOperationPreferences SENSITIVE: [] end class StackSetSummary attr_accessor stack_set_name: ::String attr_accessor stack_set_id: ::String attr_accessor description: ::String attr_accessor status: ("ACTIVE" | "DELETED") attr_accessor auto_deployment: Types::AutoDeployment attr_accessor permission_model: ("SERVICE_MANAGED" | "SELF_MANAGED") attr_accessor drift_status: ("DRIFTED" | "IN_SYNC" | "UNKNOWN" | "NOT_CHECKED") attr_accessor last_drift_check_timestamp: ::Time attr_accessor managed_execution: Types::ManagedExecution SENSITIVE: [] end class StackSummary attr_accessor stack_id: ::String attr_accessor stack_name: ::String attr_accessor template_description: ::String attr_accessor creation_time: ::Time attr_accessor last_updated_time: ::Time attr_accessor deletion_time: ::Time attr_accessor stack_status: ("CREATE_IN_PROGRESS" | "CREATE_FAILED" | "CREATE_COMPLETE" | "ROLLBACK_IN_PROGRESS" | "ROLLBACK_FAILED" | "ROLLBACK_COMPLETE" | "DELETE_IN_PROGRESS" | "DELETE_FAILED" | "DELETE_COMPLETE" | "UPDATE_IN_PROGRESS" | "UPDATE_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_COMPLETE" | "UPDATE_FAILED" | "UPDATE_ROLLBACK_IN_PROGRESS" | "UPDATE_ROLLBACK_FAILED" | "UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS" | "UPDATE_ROLLBACK_COMPLETE" | "REVIEW_IN_PROGRESS" | "IMPORT_IN_PROGRESS" | "IMPORT_COMPLETE" | "IMPORT_ROLLBACK_IN_PROGRESS" | "IMPORT_ROLLBACK_FAILED" | "IMPORT_ROLLBACK_COMPLETE") attr_accessor stack_status_reason: ::String attr_accessor parent_id: ::String attr_accessor root_id: ::String attr_accessor drift_information: Types::StackDriftInformationSummary SENSITIVE: [] end class StaleRequestException < Aws::EmptyStructure end class StartResourceScanInput attr_accessor client_request_token: ::String attr_accessor scan_filters: ::Array[Types::ScanFilter] SENSITIVE: [] end class StartResourceScanOutput attr_accessor resource_scan_id: ::String SENSITIVE: [] end class StopStackSetOperationInput attr_accessor stack_set_name: ::String attr_accessor operation_id: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class StopStackSetOperationOutput < Aws::EmptyStructure end class Tag attr_accessor key: ::String attr_accessor value: ::String SENSITIVE: [] end class TemplateConfiguration attr_accessor deletion_policy: ("DELETE" | "RETAIN") attr_accessor update_replace_policy: ("DELETE" | "RETAIN") SENSITIVE: [] end class TemplateParameter attr_accessor parameter_key: ::String attr_accessor default_value: ::String attr_accessor no_echo: bool attr_accessor description: ::String SENSITIVE: [] end class TemplateProgress attr_accessor resources_succeeded: ::Integer attr_accessor resources_failed: ::Integer attr_accessor resources_processing: ::Integer attr_accessor resources_pending: ::Integer SENSITIVE: [] end class TemplateSummary attr_accessor generated_template_id: ::String attr_accessor generated_template_name: ::String attr_accessor status: ("CREATE_PENDING" | "UPDATE_PENDING" | "DELETE_PENDING" | "CREATE_IN_PROGRESS" | "UPDATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "FAILED" | "COMPLETE") attr_accessor status_reason: ::String attr_accessor creation_time: ::Time attr_accessor last_updated_time: ::Time attr_accessor number_of_resources: ::Integer SENSITIVE: [] end class TemplateSummaryConfig attr_accessor treat_unrecognized_resource_types_as_warnings: bool SENSITIVE: [] end class TestTypeInput attr_accessor arn: ::String attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor version_id: ::String attr_accessor log_delivery_bucket: ::String SENSITIVE: [] end class TestTypeOutput attr_accessor type_version_arn: ::String SENSITIVE: [] end class TokenAlreadyExistsException < Aws::EmptyStructure end class TypeConfigurationDetails attr_accessor arn: ::String attr_accessor alias: ::String attr_accessor configuration: ::String attr_accessor last_updated: ::Time attr_accessor type_arn: ::String attr_accessor type_name: ::String attr_accessor is_default_configuration: bool SENSITIVE: [] end class TypeConfigurationIdentifier attr_accessor type_arn: ::String attr_accessor type_configuration_alias: ::String attr_accessor type_configuration_arn: ::String attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String SENSITIVE: [] end class TypeConfigurationNotFoundException < Aws::EmptyStructure end class TypeFilters attr_accessor category: ("REGISTERED" | "ACTIVATED" | "THIRD_PARTY" | "AWS_TYPES") attr_accessor publisher_id: ::String attr_accessor type_name_prefix: ::String SENSITIVE: [] end class TypeNotFoundException < Aws::EmptyStructure end class TypeSummary attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor default_version_id: ::String attr_accessor type_arn: ::String attr_accessor last_updated: ::Time attr_accessor description: ::String attr_accessor publisher_id: ::String attr_accessor original_type_name: ::String attr_accessor public_version_number: ::String attr_accessor latest_public_version: ::String attr_accessor publisher_identity: ("AWS_Marketplace" | "GitHub" | "Bitbucket") attr_accessor publisher_name: ::String attr_accessor is_activated: bool SENSITIVE: [] end class TypeVersionSummary attr_accessor type: ("RESOURCE" | "MODULE" | "HOOK") attr_accessor type_name: ::String attr_accessor version_id: ::String attr_accessor is_default_version: bool attr_accessor arn: ::String attr_accessor time_created: ::Time attr_accessor description: ::String attr_accessor public_version_number: ::String SENSITIVE: [] end class UpdateGeneratedTemplateInput attr_accessor generated_template_name: ::String attr_accessor new_generated_template_name: ::String attr_accessor add_resources: ::Array[Types::ResourceDefinition] attr_accessor remove_resources: ::Array[::String] attr_accessor refresh_all_resources: bool attr_accessor template_configuration: Types::TemplateConfiguration SENSITIVE: [] end class UpdateGeneratedTemplateOutput attr_accessor generated_template_id: ::String SENSITIVE: [] end class UpdateStackInput attr_accessor stack_name: ::String attr_accessor template_body: ::String attr_accessor template_url: ::String attr_accessor use_previous_template: bool attr_accessor stack_policy_during_update_body: ::String attr_accessor stack_policy_during_update_url: ::String attr_accessor parameters: ::Array[Types::Parameter] attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor resource_types: ::Array[::String] attr_accessor role_arn: ::String attr_accessor rollback_configuration: Types::RollbackConfiguration attr_accessor stack_policy_body: ::String attr_accessor stack_policy_url: ::String attr_accessor notification_arns: ::Array[::String] attr_accessor tags: ::Array[Types::Tag] attr_accessor disable_rollback: bool attr_accessor client_request_token: ::String attr_accessor retain_except_on_create: bool SENSITIVE: [] end class UpdateStackInstancesInput attr_accessor stack_set_name: ::String attr_accessor accounts: ::Array[::String] attr_accessor deployment_targets: Types::DeploymentTargets attr_accessor regions: ::Array[::String] attr_accessor parameter_overrides: ::Array[Types::Parameter] attr_accessor operation_preferences: Types::StackSetOperationPreferences attr_accessor operation_id: ::String attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") SENSITIVE: [] end class UpdateStackInstancesOutput attr_accessor operation_id: ::String SENSITIVE: [] end class UpdateStackOutput attr_accessor stack_id: ::String SENSITIVE: [] end class UpdateStackSetInput attr_accessor stack_set_name: ::String attr_accessor description: ::String attr_accessor template_body: ::String attr_accessor template_url: ::String attr_accessor use_previous_template: bool attr_accessor parameters: ::Array[Types::Parameter] attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor tags: ::Array[Types::Tag] attr_accessor operation_preferences: Types::StackSetOperationPreferences attr_accessor administration_role_arn: ::String attr_accessor execution_role_name: ::String attr_accessor deployment_targets: Types::DeploymentTargets attr_accessor permission_model: ("SERVICE_MANAGED" | "SELF_MANAGED") attr_accessor auto_deployment: Types::AutoDeployment attr_accessor operation_id: ::String attr_accessor accounts: ::Array[::String] attr_accessor regions: ::Array[::String] attr_accessor call_as: ("SELF" | "DELEGATED_ADMIN") attr_accessor managed_execution: Types::ManagedExecution SENSITIVE: [] end class UpdateStackSetOutput attr_accessor operation_id: ::String SENSITIVE: [] end class UpdateTerminationProtectionInput attr_accessor enable_termination_protection: bool attr_accessor stack_name: ::String SENSITIVE: [] end class UpdateTerminationProtectionOutput attr_accessor stack_id: ::String SENSITIVE: [] end class ValidateTemplateInput attr_accessor template_body: ::String attr_accessor template_url: ::String SENSITIVE: [] end class ValidateTemplateOutput attr_accessor parameters: ::Array[Types::TemplateParameter] attr_accessor description: ::String attr_accessor capabilities: ::Array[("CAPABILITY_IAM" | "CAPABILITY_NAMED_IAM" | "CAPABILITY_AUTO_EXPAND")] attr_accessor capabilities_reason: ::String attr_accessor declared_transforms: ::Array[::String] SENSITIVE: [] end class WarningDetail attr_accessor type: ("MUTUALLY_EXCLUSIVE_PROPERTIES" | "UNSUPPORTED_PROPERTIES" | "MUTUALLY_EXCLUSIVE_TYPES" | "EXCLUDED_PROPERTIES" | "EXCLUDED_RESOURCES") attr_accessor properties: ::Array[Types::WarningProperty] SENSITIVE: [] end class WarningProperty attr_accessor property_path: ::String attr_accessor required: bool attr_accessor description: ::String SENSITIVE: [] end class Warnings attr_accessor unrecognized_resource_types: ::Array[::String] SENSITIVE: [] end end end aws-sdk-cloudformation-1.143.0/CHANGELOG.md0000644000004100000410000005632615077233060020134 0ustar www-datawww-dataUnreleased Changes ------------------ 1.143.0 (2025-10-22) ------------------ * Feature - Update endpoint ruleset parameters casing 1.142.0 (2025-10-21) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.141.0 (2025-10-02) ------------------ * Feature - Add new warning type 'EXCLUDED_RESOURCES' 1.140.0 (2025-09-04) ------------------ * Feature - ListHookResults API now supports retrieving invocation results for all CloudFormation Hooks (previously limited to create change set and Cloud Control operations) with new optional parameters for filtering by Hook status and ARN. 1.139.0 (2025-08-26) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.138.0 (2025-08-25) ------------------ * Feature - Remove incorrect endpoint tests 1.137.0 (2025-08-04) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.136.0 (2025-07-31) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.135.0 (2025-07-21) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.134.0 (2025-06-30) ------------------ * Feature - Added support for UNKNOWN drift status. 1.133.0 (2025-06-05) ------------------ * Feature - Add new warning type 'EXCLUDED_PROPERTIES' 1.132.0 (2025-06-02) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.131.0 (2025-05-12) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.130.0 (2025-05-01) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.129.0 (2025-03-27) ------------------ * Feature - Adding support for the new parameter "ScanFilters" in the CloudFormation StartResourceScan API. When this parameter is included, the StartResourceScan API will initiate a scan limited to the resource types specified by the parameter. 1.128.0 (2025-03-04) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.127.0 (2025-02-18) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.126.0 (2025-02-06) ------------------ * Feature - We added 5 new stack refactoring APIs: CreateStackRefactor, ExecuteStackRefactor, ListStackRefactors, DescribeStackRefactor, ListStackRefactorActions. 1.125.0 (2025-01-15) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.124.0 (2024-11-18) ------------------ * Feature - This release adds a new API, ListHookResults, that allows retrieving CloudFormation Hooks invocation results for hooks invoked during a create change set operation or Cloud Control API operation 1.123.0 (2024-11-06) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.122.0 (2024-10-18) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.121.0 (2024-10-15) ------------------ * Feature - Documentation update for AWS CloudFormation API Reference. 1.120.0 (2024-09-24) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.119.0 (2024-09-23) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.118.0 (2024-09-20) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.117.0 (2024-09-11) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.116.0 (2024-09-10) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.115.0 (2024-09-03) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.114.0 (2024-07-02) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.113.0 (2024-06-28) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.112.0 (2024-06-25) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.111.0 (2024-06-24) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.110.0 (2024-06-05) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.109.0 (2024-05-22) ------------------ * Feature - Added DeletionMode FORCE_DELETE_STACK for deleting a stack that is stuck in DELETE_FAILED state due to resource deletion failure. 1.108.0 (2024-05-13) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.107.0 (2024-04-25) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.106.0 (2024-04-16) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.105.0 (2024-04-12) ------------------ * Feature - Adding support for the new parameter "IncludePropertyValues" in the CloudFormation DescribeChangeSet API. When this parameter is included, the DescribeChangeSet response will include more detailed information such as before and after values for the resource properties that will change. 1.104.0 (2024-04-03) ------------------ * Feature - This release would return a new field - PolicyAction in cloudformation's existed DescribeChangeSetResponse, showing actions we are going to apply on the physical resource (e.g., Delete, Retain) according to the user's template 1.103.0 (2024-03-19) ------------------ * Feature - Documentation update, March 2024. Corrects some formatting. 1.102.0 (2024-03-18) ------------------ * Feature - This release supports for a new API ListStackSetAutoDeploymentTargets, which provider auto-deployment configuration as a describable resource. Customers can now view the specific combinations of regions and OUs that are being auto-deployed. 1.101.0 (2024-03-12) ------------------ * Feature - CloudFormation documentation update for March, 2024 1.100.0 (2024-03-04) ------------------ * Feature - Add DetailedStatus field to DescribeStackEvents and DescribeStacks APIs 1.99.0 (2024-01-31) ------------------ * Feature - CloudFormation IaC generator allows you to scan existing resources in your account and select resources to generate a template for a new or existing CloudFormation stack. 1.98.0 (2024-01-26) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.97.0 (2023-12-05) ------------------ * Feature - Documentation update, December 2023 1.96.0 (2023-12-04) ------------------ * Feature - Including UPDATE_* states as a success status for CreateStack waiter. 1.95.0 (2023-11-28) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.94.0 (2023-11-22) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.93.0 (2023-11-17) ------------------ * Feature - This release adds a new flag ImportExistingResources to CreateChangeSet. Specify this parameter on a CREATE- or UPDATE-type change set to import existing resources with custom names instead of recreating them. 1.92.0 (2023-11-09) ------------------ * Feature - Added new ConcurrencyMode feature for AWS CloudFormation StackSets for faster deployments to target accounts. 1.91.0 (2023-10-16) ------------------ * Feature - SDK and documentation updates for UpdateReplacePolicy 1.90.0 (2023-09-27) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.89.0 (2023-09-14) ------------------ * Feature - Documentation updates for AWS CloudFormation 1.88.0 (2023-07-28) ------------------ * Feature - This SDK release is for the feature launch of AWS CloudFormation RetainExceptOnCreate. It adds a new parameter retainExceptOnCreate in the following APIs: CreateStack, UpdateStack, RollbackStack, ExecuteChangeSet. 1.87.0 (2023-07-24) ------------------ * Feature - This release supports filtering by DRIFT_STATUS for existing API ListStackInstances and adds support for a new API ListStackInstanceResourceDrifts. Customers can now view resource drift information from their StackSet management accounts. 1.86.0 (2023-07-19) ------------------ * Feature - SDK and documentation updates for GetTemplateSummary API (unrecognized resources) 1.85.0 (2023-07-11) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.84.0 (2023-07-06) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.83.0 (2023-06-28) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.82.0 (2023-06-19) ------------------ * Feature - Specify desired CloudFormation behavior in the event of ChangeSet execution failure using the CreateChangeSet OnStackFailure parameter 1.81.0 (2023-06-15) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.80.0 (2023-06-07) ------------------ * Feature - AWS CloudFormation StackSets is updating the deployment experience for all stackset operations to skip suspended AWS accounts during deployments. StackSets will skip target AWS accounts that are suspended and set the Detailed Status of the corresponding stack instances as SKIPPED_SUSPENDED_ACCOUNT 1.79.0 (2023-06-05) ------------------ * Feature - AWS CloudFormation StackSets provides customers with three new APIs to activate, deactivate, and describe AWS Organizations trusted access which is needed to get started with service-managed StackSets. 1.78.0 (2023-05-31) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.77.0 (2023-04-06) ------------------ * Feature - Including UPDATE_COMPLETE as a failed status for DeleteStack waiter. 1.76.0 (2023-01-30) ------------------ * Feature - This feature provides a method of obtaining which regions a stackset has stack instances deployed in. 1.75.0 (2023-01-25) ------------------ * Feature - Enabled FIPS aws-us-gov endpoints in SDK. 1.74.0 (2023-01-18) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. * Issue - Replace runtime endpoint resolution approach with generated ruby code. 1.73.0 (2022-11-16) ------------------ * Feature - Added UnsupportedTarget HandlerErrorCode for use with CFN Resource Hooks 1.72.0 (2022-10-28) ------------------ * Feature - This release adds more fields to improves visibility of AWS CloudFormation StackSets information in following APIs: ListStackInstances, DescribeStackInstance, ListStackSetOperationResults, ListStackSetOperations, DescribeStackSetOperation. 1.71.0 (2022-10-25) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.70.0 (2022-07-06) ------------------ * Feature - My AWS Service (placeholder) - Add a new feature Account-level Targeting for StackSet operation 1.69.0 (2022-05-25) ------------------ * Feature - Add a new parameter statusReason to DescribeStackSetOperation output for additional details 1.68.0 (2022-02-24) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.67.0 (2022-02-10) ------------------ * Feature - This SDK release adds AWS CloudFormation Hooks HandlerErrorCodes 1.66.0 (2022-02-09) ------------------ * Feature - This SDK release is for the feature launch of AWS CloudFormation Hooks. 1.65.0 (2022-02-03) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.64.0 (2021-12-21) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.63.0 (2021-11-30) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.62.0 (2021-11-22) ------------------ * Feature - This release include SDK changes for the feature launch of Stack Import to Service Managed StackSet. 1.61.0 (2021-11-19) ------------------ * Feature - The StackSets ManagedExecution feature will allow concurrency for non-conflicting StackSet operations and queuing the StackSet operations that conflict at a given time for later execution. 1.60.0 (2021-11-04) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.59.0 (2021-10-18) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.58.0 (2021-09-10) ------------------ * Feature - Doc only update for CloudFormation that fixes several customer-reported issues. 1.57.0 (2021-09-01) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.56.0 (2021-08-30) ------------------ * Feature - AWS CloudFormation allows you to iteratively develop your applications when failures are encountered without rolling back successfully provisioned resources. By specifying stack failure options, you can troubleshoot resources in a CREATE_FAILED or UPDATE_FAILED status. 1.55.0 (2021-07-30) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.54.0 (2021-07-28) ------------------ * Feature - SDK update to support Importing existing Stacks to new/existing Self Managed StackSet - Stack Import feature. 1.53.0 (2021-06-21) ------------------ * Feature - CloudFormation registry service now supports 3rd party public type sharing 1.52.0 (2021-04-28) ------------------ * Feature - Add CallAs parameter to GetTemplateSummary to enable use with StackSets delegated administrator integration 1.51.0 (2021-04-21) ------------------ * Feature - Added support for creating and updating stack sets with self-managed permissions from templates that reference macros. 1.50.0 (2021-03-31) ------------------ * Feature - 1. Added a new parameter "RegionConcurrencyType" in OperationPreferences. 2. Changed the name of "AccountUrl" to "AccountsUrl" in "DeploymentTargets" parameter. 1.49.0 (2021-03-10) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.48.0 (2021-02-18) ------------------ * Feature - Adding the 'callAs' parameter to all CloudFormation StackSets APIs except getTemplateSummary to support creating and managing service-managed StackSets with AWS Organizations Delegated Administrators 1.47.0 (2021-02-02) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.46.0 (2020-11-24) ------------------ * Feature - Adds support for the new Modules feature for CloudFormation. A module encapsulates one or more resources and their respective configurations for reuse across your organization. 1.45.0 (2020-11-18) ------------------ * Feature - This release adds ChangeSets support for Nested Stacks. ChangeSets offer a preview of how proposed changes to a stack might impact existing resources or create new ones. 1.44.0 (2020-09-30) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.43.0 (2020-09-15) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.42.0 (2020-08-25) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.41.0 (2020-07-02) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.40.0 (2020-06-26) ------------------ * Feature - ListStackInstances and DescribeStackInstance now return a new `StackInstanceStatus` object that contains `DetailedStatus` values: a disambiguation of the more generic `Status` value. ListStackInstances output can now be filtered on `DetailedStatus` using the new `Filters` parameter. 1.39.0 (2020-06-23) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.38.0 (2020-06-12) ------------------ * Feature - The following parameters now return the organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets: the OrganizationalUnitIds parameter on StackSet and the OrganizationalUnitId parameter on StackInstance, StackInstanceSummary, and StackSetOperationResultSummary 1.37.1 (2020-06-11) ------------------ * Issue - Republish previous version with correct dependency on `aws-sdk-core`. 1.37.0 (2020-06-10) ------------------ * Issue - This version has been yanked. (#2327). * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.36.0 (2020-05-28) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.35.0 (2020-05-15) ------------------ * Feature - This release adds support for the following features: 1. DescribeType and ListTypeVersions APIs now output a field IsDefaultVersion, indicating if a version is the default version for its type; 2. Add StackRollbackComplete waiter feature to wait until stack status is UPDATE_ROLLBACK_COMPLETE; 3. Add paginators in DescribeAccountLimits, ListChangeSets, ListStackInstances, ListStackSetOperationResults, ListStackSetOperations, ListStackSets APIs. 1.34.0 (2020-05-07) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.33.0 (2020-04-20) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.32.0 (2020-04-08) ------------------ * Feature - The OrganizationalUnitIds parameter on StackSet and the OrganizationalUnitId parameter on StackInstance, StackInstanceSummary, and StackSetOperationResultSummary are now reserved for internal use. No data is returned for this parameter. 1.31.0 (2020-03-09) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.30.0 (2020-02-11) ------------------ * Feature - This release of AWS CloudFormation StackSets allows you to centrally manage deployments to all the accounts in your organization or specific organizational units (OUs) in AWS Organizations. You will also be able to enable automatic deployments to any new accounts added to your organization or OUs. The permissions needed to deploy across accounts will automatically be taken care of by the StackSets service. 1.29.0 (2019-11-19) ------------------ * Feature - This release of AWS CloudFormation StackSets enables users to detect drift on a stack set and the stack instances that belong to that stack set. 1.28.0 (2019-11-18) ------------------ * Feature - This release introduces APIs for the CloudFormation Registry, a new service to submit and discover resource providers with which you can manage third-party resources natively in CloudFormation. 1.27.0 (2019-11-11) ------------------ * Feature - The Resource Import feature enables customers to import existing AWS resources into new or existing CloudFormation Stacks. 1.26.0 (2019-10-23) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.25.0 (2019-07-25) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.24.0 (2019-07-01) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.23.0 (2019-06-17) ------------------ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details. 1.22.0 (2019-05-21) ------------------ * Feature - API update. 1.21.0 (2019-05-15) ------------------ * Feature - API update. 1.20.0 (2019-05-14) ------------------ * Feature - API update. 1.19.0 (2019-04-24) ------------------ * Feature - API update. 1.18.0 (2019-03-22) ------------------ * Feature - API update. 1.17.0 (2019-03-21) ------------------ * Feature - API update. 1.16.0 (2019-03-18) ------------------ * Feature - API update. 1.15.0 (2019-03-14) ------------------ * Feature - API update. 1.14.0 (2018-12-14) ------------------ * Feature - API update. 1.13.0 (2018-11-20) ------------------ * Feature - API update. 1.12.0 (2018-11-19) ------------------ * Feature - API update. 1.11.1 (2018-11-16) ------------------ * Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery. 1.11.0 (2018-11-12) ------------------ * Feature - API update. 1.10.0 (2018-10-24) ------------------ * Feature - API update. 1.9.0 (2018-10-23) ------------------ * Feature - API update. 1.8.0 (2018-09-06) ------------------ * Feature - Adds code paths and plugins for future SDK instrumentation and telemetry. 1.7.0 (2018-09-05) ------------------ * Feature - API update. 1.6.0 (2018-06-26) ------------------ * Feature - API update. 1.5.0 (2018-05-21) ------------------ * Feature - API update. 1.4.0 (2018-03-29) ------------------ * Feature - API update. 1.3.0 (2017-11-22) ------------------ * Feature - API update. 1.2.0 (2017-09-26) ------------------ * Feature - API update. 1.1.0 (2017-09-14) ------------------ * Feature - API update. * Issue - Update `aws-sdk-cloudformation` gemspec metadata. 1.0.0 (2017-08-29) ------------------ 1.0.0.rc13 (2017-08-25) ------------------ * Feature - API update. 1.0.0.rc12 (2017-08-15) ------------------ * Feature - API update. 1.0.0.rc11 (2017-08-01) ------------------ * Feature - API update. 1.0.0.rc10 (2017-07-25) ------------------ * Feature - API update. 1.0.0.rc9 (2017-07-13) ------------------ * Feature - API update. 1.0.0.rc8 (2017-07-06) ------------------ * Feature - API update. 1.0.0.rc7 (2017-06-29) ------------------ * Feature - API update. 1.0.0.rc6 (2017-05-23) ------------------ * Feature - API update. 1.0.0.rc5 (2017-05-09) ------------------ * Feature - API update. 1.0.0.rc4 (2017-05-09) ------------------ * Feature - API update. * Issue - Fix resource model load path 1.0.0.rc3 (2017-05-05) ------------------ * Feature - API update. 1.0.0.rc2 (2017-04-21) ------------------ * Feature - API update. 1.0.0.rc1 (2016-12-05) ------------------ * Feature - Initial preview release of the `aws-sdk-cloudformation` gem.