Skip to main content

lib/aws/generated/cloud_formation.ex

# WARNING: DO NOT EDIT, AUTO-GENERATED CODE!
# See https://github.com/aws-beam/aws-codegen for more details.

defmodule AWS.CloudFormation do
  @moduledoc """
  CloudFormation

  CloudFormation allows you to create and manage Amazon Web Services
  infrastructure deployments predictably and
  repeatedly.

  You can use CloudFormation to leverage Amazon Web Services products, such as
  Amazon Elastic Compute Cloud, Amazon Elastic Block Store,
  Amazon Simple Notification Service, Elastic Load Balancing, and Amazon EC2 Auto
  Scaling to build highly reliable, highly scalable, cost-effective
  applications without creating or configuring the underlying Amazon Web Services
  infrastructure.

  With CloudFormation, you declare all your resources and dependencies in a
  template file. The
  template defines a collection of resources as a single unit called a stack.
  CloudFormation creates
  and deletes all member resources of the stack together and manages all
  dependencies between
  the resources for you.

  For more information about CloudFormation, see the [CloudFormation product page](http://aws.amazon.com/cloudformation/).

  CloudFormation makes use of other Amazon Web Services products. If you need
  additional technical information
  about a specific Amazon Web Services product, you can find the product's
  technical documentation at [docs.aws.amazon.com](https://docs.aws.amazon.com/).
  """

  alias AWS.Client
  alias AWS.Request

  @typedoc """

  ## Example:
      
      parameter() :: %{
        "ParameterKey" => String.t() | atom(),
        "ParameterValue" => String.t() | atom(),
        "ResolvedValue" => String.t() | atom(),
        "UsePreviousValue" => boolean()
      }
      
  """
  @type parameter() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_resource_scan_input() :: %{
        required("ResourceScanId") => String.t() | atom()
      }
      
  """
  @type describe_resource_scan_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_instance_summary() :: %{
        "Account" => String.t() | atom(),
        "DriftStatus" => list(any()),
        "LastDriftCheckTimestamp" => non_neg_integer(),
        "LastOperationId" => String.t() | atom(),
        "OrganizationalUnitId" => String.t() | atom(),
        "Region" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackInstanceStatus" => stack_instance_comprehensive_status(),
        "StackSetId" => String.t() | atom(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type stack_instance_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_instances_input() :: %{
        optional("CallAs") => list(any()),
        optional("Filters") => list(stack_instance_filter()),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("StackInstanceAccount") => String.t() | atom(),
        optional("StackInstanceRegion") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type list_stack_instances_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_resource_scan_resources_input() :: %{
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("ResourceIdentifier") => String.t() | atom(),
        optional("ResourceTypePrefix") => String.t() | atom(),
        optional("TagKey") => String.t() | atom(),
        optional("TagValue") => String.t() | atom(),
        required("ResourceScanId") => String.t() | atom()
      }
      
  """
  @type list_resource_scan_resources_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      deactivate_type_output() :: %{}
      
  """
  @type deactivate_type_output() :: %{}

  @typedoc """

  ## Example:
      
      create_stack_output() :: %{
        "OperationId" => String.t() | atom(),
        "StackId" => String.t() | atom()
      }
      
  """
  @type create_stack_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      invalid_operation_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type invalid_operation_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      annotation() :: %{
        "AnnotationName" => String.t() | atom(),
        "RemediationLink" => String.t() | atom(),
        "RemediationMessage" => String.t() | atom(),
        "SeverityLevel" => list(any()),
        "Status" => list(any()),
        "StatusMessage" => String.t() | atom()
      }
      
  """
  @type annotation() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_drift_detection_status_output() :: %{
        "DetectionStatus" => list(any()),
        "DetectionStatusReason" => String.t() | atom(),
        "DriftedStackResourceCount" => integer(),
        "StackDriftDetectionId" => String.t() | atom(),
        "StackDriftStatus" => list(any()),
        "StackId" => String.t() | atom(),
        "Timestamp" => non_neg_integer()
      }
      
  """
  @type describe_stack_drift_detection_status_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      hook_target() :: %{
        "Action" => list(any()),
        "TargetId" => String.t() | atom(),
        "TargetType" => list(any()),
        "TargetTypeName" => String.t() | atom()
      }
      
  """
  @type hook_target() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      change_set_hook_target_details() :: %{
        "ResourceTargetDetails" => change_set_hook_resource_target_details(),
        "TargetType" => list(any())
      }
      
  """
  @type change_set_hook_target_details() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      type_configuration_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type type_configuration_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_instance() :: %{
        "Account" => String.t() | atom(),
        "DriftStatus" => list(any()),
        "LastDriftCheckTimestamp" => non_neg_integer(),
        "LastOperationId" => String.t() | atom(),
        "OrganizationalUnitId" => String.t() | atom(),
        "ParameterOverrides" => list(parameter()),
        "Region" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackInstanceStatus" => stack_instance_comprehensive_status(),
        "StackSetId" => String.t() | atom(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type stack_instance() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      set_type_default_version_input() :: %{
        optional("Arn") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeName") => String.t() | atom(),
        optional("VersionId") => String.t() | atom()
      }
      
  """
  @type set_type_default_version_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_generated_template_input() :: %{
        required("GeneratedTemplateName") => String.t() | atom()
      }
      
  """
  @type describe_generated_template_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_type_registrations_input() :: %{
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("RegistrationStatusFilter") => list(any()),
        optional("Type") => list(any()),
        optional("TypeArn") => String.t() | atom(),
        optional("TypeName") => String.t() | atom()
      }
      
  """
  @type list_type_registrations_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stacks_input() :: %{
        optional("NextToken") => String.t() | atom(),
        optional("StackName") => String.t() | atom()
      }
      
  """
  @type describe_stacks_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_set_auto_deployment_targets_output() :: %{
        "NextToken" => String.t() | atom(),
        "Summaries" => list(stack_set_auto_deployment_target_summary())
      }
      
  """
  @type list_stack_set_auto_deployment_targets_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_resource_input() :: %{
        required("LogicalResourceId") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type describe_stack_resource_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      concurrent_resources_limit_exceeded_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type concurrent_resources_limit_exceeded_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_resources_output() :: %{
        "NextToken" => String.t() | atom(),
        "StackResourceSummaries" => list(stack_resource_summary())
      }
      
  """
  @type list_stack_resources_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      import_stacks_to_stack_set_output() :: %{
        "OperationId" => String.t() | atom()
      }
      
  """
  @type import_stacks_to_stack_set_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      deactivate_type_input() :: %{
        optional("Arn") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeName") => String.t() | atom()
      }
      
  """
  @type deactivate_type_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      record_handler_progress_output() :: %{}
      
  """
  @type record_handler_progress_output() :: %{}

  @typedoc """

  ## Example:
      
      start_resource_scan_output() :: %{
        "ResourceScanId" => String.t() | atom()
      }
      
  """
  @type start_resource_scan_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_refactor_summary() :: %{
        "Description" => String.t() | atom(),
        "ExecutionStatus" => list(any()),
        "ExecutionStatusReason" => String.t() | atom(),
        "StackRefactorId" => String.t() | atom(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type stack_refactor_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_instance_output() :: %{
        "StackInstance" => stack_instance()
      }
      
  """
  @type describe_stack_instance_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      insufficient_capabilities_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type insufficient_capabilities_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      token_already_exists_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type token_already_exists_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_drift_detection_details() :: %{
        "DriftDetectionStatus" => list(any()),
        "DriftStatus" => list(any()),
        "DriftedStackInstancesCount" => integer(),
        "FailedStackInstancesCount" => integer(),
        "InProgressStackInstancesCount" => integer(),
        "InSyncStackInstancesCount" => integer(),
        "LastDriftCheckTimestamp" => non_neg_integer(),
        "TotalStackInstancesCount" => integer()
      }
      
  """
  @type stack_set_drift_detection_details() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_refactor_actions_output() :: %{
        "NextToken" => String.t() | atom(),
        "StackRefactorActions" => list(stack_refactor_action())
      }
      
  """
  @type list_stack_refactor_actions_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_identifier_summary() :: %{
        "LogicalResourceIds" => list(String.t() | atom()),
        "ResourceIdentifiers" => list(String.t() | atom()),
        "ResourceType" => String.t() | atom()
      }
      
  """
  @type resource_identifier_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      scan_filter() :: %{
        "Types" => list(String.t() | atom())
      }
      
  """
  @type scan_filter() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      delete_stack_set_input() :: %{
        optional("CallAs") => list(any()),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type delete_stack_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      estimate_template_cost_output() :: %{
        "Url" => String.t() | atom()
      }
      
  """
  @type estimate_template_cost_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_change_set_output() :: %{
        "Capabilities" => list(list(any())()),
        "ChangeSetId" => String.t() | atom(),
        "ChangeSetName" => String.t() | atom(),
        "Changes" => list(change()),
        "CreationTime" => non_neg_integer(),
        "DeploymentMode" => list(any()),
        "Description" => String.t() | atom(),
        "ExecutionStatus" => list(any()),
        "ImportExistingResources" => boolean(),
        "IncludeNestedStacks" => boolean(),
        "NextToken" => String.t() | atom(),
        "NotificationARNs" => list(String.t() | atom()),
        "OnStackFailure" => list(any()),
        "Parameters" => list(parameter()),
        "ParentChangeSetId" => String.t() | atom(),
        "RollbackConfiguration" => rollback_configuration(),
        "RootChangeSetId" => String.t() | atom(),
        "StackDriftStatus" => list(any()),
        "StackId" => String.t() | atom(),
        "StackName" => String.t() | atom(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom(),
        "Tags" => list(tag())
      }
      
  """
  @type describe_change_set_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_refactor_action() :: %{
        "Action" => list(any()),
        "Description" => String.t() | atom(),
        "Detection" => list(any()),
        "DetectionReason" => String.t() | atom(),
        "Entity" => list(any()),
        "PhysicalResourceId" => String.t() | atom(),
        "ResourceIdentifier" => String.t() | atom(),
        "ResourceMapping" => resource_mapping(),
        "TagResources" => list(tag()),
        "UntagResources" => list(String.t() | atom())
      }
      
  """
  @type stack_refactor_action() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      detect_stack_resource_drift_input() :: %{
        required("LogicalResourceId") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type detect_stack_resource_drift_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_mapping() :: %{
        "Destination" => resource_location(),
        "Source" => resource_location()
      }
      
  """
  @type resource_mapping() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      deactivate_organizations_access_output() :: %{}
      
  """
  @type deactivate_organizations_access_output() :: %{}

  @typedoc """

  ## Example:
      
      list_types_output() :: %{
        "NextToken" => String.t() | atom(),
        "TypeSummaries" => list(type_summary())
      }
      
  """
  @type list_types_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_resource_scan_resources_output() :: %{
        "NextToken" => String.t() | atom(),
        "Resources" => list(scanned_resource())
      }
      
  """
  @type list_resource_scan_resources_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_type_versions_input() :: %{
        optional("Arn") => String.t() | atom(),
        optional("DeprecatedStatus") => list(any()),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("PublisherId") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeName") => String.t() | atom()
      }
      
  """
  @type list_type_versions_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_refactors_input() :: %{
        optional("ExecutionStatusFilter") => list(list(any())()),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom()
      }
      
  """
  @type list_stack_refactors_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      hook_result_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type hook_result_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_hook_results_output() :: %{
        "HookResults" => list(hook_result_summary()),
        "NextToken" => String.t() | atom(),
        "TargetId" => String.t() | atom(),
        "TargetType" => list(any())
      }
      
  """
  @type list_hook_results_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      event_filter() :: %{
        "FailedEvents" => boolean()
      }
      
  """
  @type event_filter() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_publisher_input() :: %{
        optional("PublisherId") => String.t() | atom()
      }
      
  """
  @type describe_publisher_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      template_configuration() :: %{
        "DeletionPolicy" => list(any()),
        "UpdateReplacePolicy" => list(any())
      }
      
  """
  @type template_configuration() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_generated_template_input() :: %{
        optional("AddResources") => list(resource_definition()),
        optional("NewGeneratedTemplateName") => String.t() | atom(),
        optional("RefreshAllResources") => boolean(),
        optional("RemoveResources") => list(String.t() | atom()),
        optional("TemplateConfiguration") => template_configuration(),
        required("GeneratedTemplateName") => String.t() | atom()
      }
      
  """
  @type update_generated_template_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      physical_resource_id_context_key_value_pair() :: %{
        "Key" => String.t() | atom(),
        "Value" => String.t() | atom()
      }
      
  """
  @type physical_resource_id_context_key_value_pair() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      live_resource_drift() :: %{
        "ActualValue" => String.t() | atom(),
        "DriftDetectionTimestamp" => non_neg_integer(),
        "PreviousValue" => String.t() | atom()
      }
      
  """
  @type live_resource_drift() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      scanned_resource_identifier() :: %{
        "ResourceIdentifier" => map(),
        "ResourceType" => String.t() | atom()
      }
      
  """
  @type scanned_resource_identifier() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stacks_input() :: %{
        optional("NextToken") => String.t() | atom(),
        optional("StackStatusFilter") => list(list(any())())
      }
      
  """
  @type list_stacks_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      tag() :: %{
        "Key" => String.t() | atom(),
        "Value" => String.t() | atom()
      }
      
  """
  @type tag() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      execute_change_set_output() :: %{}
      
  """
  @type execute_change_set_output() :: %{}

  @typedoc """

  ## Example:
      
      account_gate_result() :: %{
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type account_gate_result() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_resource_scan_related_resources_input() :: %{
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        required("ResourceScanId") => String.t() | atom(),
        required("Resources") => list(scanned_resource_identifier())
      }
      
  """
  @type list_resource_scan_related_resources_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      set_type_configuration_output() :: %{
        "ConfigurationArn" => String.t() | atom()
      }
      
  """
  @type set_type_configuration_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      validate_template_input() :: %{
        optional("TemplateBody") => String.t() | atom(),
        optional("TemplateURL") => String.t() | atom()
      }
      
  """
  @type validate_template_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      detect_stack_set_drift_output() :: %{
        "OperationId" => String.t() | atom()
      }
      
  """
  @type detect_stack_set_drift_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_resources_output() :: %{
        "StackResources" => list(stack_resource())
      }
      
  """
  @type describe_stack_resources_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_refactor_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type stack_refactor_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_organizations_access_input() :: %{
        optional("CallAs") => list(any())
      }
      
  """
  @type describe_organizations_access_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_operation_summary() :: %{
        "Action" => list(any()),
        "CreationTimestamp" => non_neg_integer(),
        "EndTimestamp" => non_neg_integer(),
        "OperationId" => String.t() | atom(),
        "OperationPreferences" => stack_set_operation_preferences(),
        "Status" => list(any()),
        "StatusDetails" => stack_set_operation_status_details(),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type stack_set_operation_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      invalid_change_set_status_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type invalid_change_set_status_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_change() :: %{
        "Action" => list(any()),
        "AfterContext" => String.t() | atom(),
        "BeforeContext" => String.t() | atom(),
        "ChangeSetId" => String.t() | atom(),
        "Details" => list(resource_change_detail()),
        "LogicalResourceId" => String.t() | atom(),
        "ModuleInfo" => module_info(),
        "PhysicalResourceId" => String.t() | atom(),
        "PolicyAction" => list(any()),
        "PreviousDeploymentContext" => String.t() | atom(),
        "Replacement" => list(any()),
        "ResourceDriftIgnoredAttributes" => list(resource_drift_ignored_attribute()),
        "ResourceDriftStatus" => list(any()),
        "ResourceType" => String.t() | atom(),
        "Scope" => list(list(any())())
      }
      
  """
  @type resource_change() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      limit_exceeded_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type limit_exceeded_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      continue_update_rollback_output() :: %{}
      
  """
  @type continue_update_rollback_output() :: %{}

  @typedoc """

  ## Example:
      
      describe_stack_events_input() :: %{
        optional("NextToken") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type describe_stack_events_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      warnings() :: %{
        "UnrecognizedResourceTypes" => list(String.t() | atom())
      }
      
  """
  @type warnings() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      operation_event() :: %{
        "ClientRequestToken" => String.t() | atom(),
        "DetailedStatus" => list(any()),
        "EndTime" => non_neg_integer(),
        "EventId" => String.t() | atom(),
        "EventType" => list(any()),
        "HookFailureMode" => list(any()),
        "HookInvocationPoint" => list(any()),
        "HookStatus" => list(any()),
        "HookStatusReason" => String.t() | atom(),
        "HookType" => String.t() | atom(),
        "LogicalResourceId" => String.t() | atom(),
        "OperationId" => String.t() | atom(),
        "OperationStatus" => list(any()),
        "OperationType" => list(any()),
        "PhysicalResourceId" => String.t() | atom(),
        "ResourceProperties" => String.t() | atom(),
        "ResourceStatus" => list(any()),
        "ResourceStatusReason" => String.t() | atom(),
        "ResourceType" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StartTime" => non_neg_integer(),
        "Timestamp" => non_neg_integer(),
        "ValidationFailureMode" => list(any()),
        "ValidationName" => String.t() | atom(),
        "ValidationPath" => String.t() | atom(),
        "ValidationStatus" => list(any()),
        "ValidationStatusReason" => String.t() | atom()
      }
      
  """
  @type operation_event() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_drift_information_summary() :: %{
        "LastCheckTimestamp" => non_neg_integer(),
        "StackDriftStatus" => list(any())
      }
      
  """
  @type stack_drift_information_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      operation_in_progress_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type operation_in_progress_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      deactivate_organizations_access_input() :: %{}
      
  """
  @type deactivate_organizations_access_input() :: %{}

  @typedoc """

  ## Example:
      
      list_exports_input() :: %{
        optional("NextToken") => String.t() | atom()
      }
      
  """
  @type list_exports_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_resources_input() :: %{
        optional("LogicalResourceId") => String.t() | atom(),
        optional("PhysicalResourceId") => String.t() | atom(),
        optional("StackName") => String.t() | atom()
      }
      
  """
  @type describe_stack_resources_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      type_version_summary() :: %{
        "Arn" => String.t() | atom(),
        "Description" => String.t() | atom(),
        "IsDefaultVersion" => boolean(),
        "PublicVersionNumber" => String.t() | atom(),
        "TimeCreated" => non_neg_integer(),
        "Type" => list(any()),
        "TypeName" => String.t() | atom(),
        "VersionId" => String.t() | atom()
      }
      
  """
  @type type_version_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      c_f_n_registry_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type c_f_n_registry_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      signal_resource_input() :: %{
        required("LogicalResourceId") => String.t() | atom(),
        required("StackName") => String.t() | atom(),
        required("Status") => list(any()),
        required("UniqueId") => String.t() | atom()
      }
      
  """
  @type signal_resource_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_set_operations_output() :: %{
        "NextToken" => String.t() | atom(),
        "Summaries" => list(stack_set_operation_summary())
      }
      
  """
  @type list_stack_set_operations_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_summary() :: %{
        "AutoDeployment" => auto_deployment(),
        "Description" => String.t() | atom(),
        "DriftStatus" => list(any()),
        "LastDriftCheckTimestamp" => non_neg_integer(),
        "ManagedExecution" => managed_execution(),
        "PermissionModel" => list(any()),
        "StackSetId" => String.t() | atom(),
        "StackSetName" => String.t() | atom(),
        "Status" => list(any())
      }
      
  """
  @type stack_set_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_target_definition() :: %{
        "AfterValue" => String.t() | atom(),
        "AfterValueFrom" => list(any()),
        "Attribute" => list(any()),
        "AttributeChangeType" => list(any()),
        "BeforeValue" => String.t() | atom(),
        "BeforeValueFrom" => list(any()),
        "Drift" => live_resource_drift(),
        "Name" => String.t() | atom(),
        "Path" => String.t() | atom(),
        "RequiresRecreation" => list(any())
      }
      
  """
  @type resource_target_definition() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_auto_deployment_target_summary() :: %{
        "OrganizationalUnitId" => String.t() | atom(),
        "Regions" => list(String.t() | atom())
      }
      
  """
  @type stack_set_auto_deployment_target_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      deregister_type_output() :: %{}
      
  """
  @type deregister_type_output() :: %{}

  @typedoc """

  ## Example:
      
      list_stack_set_auto_deployment_targets_input() :: %{
        optional("CallAs") => list(any()),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type list_stack_set_auto_deployment_targets_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_scan_in_progress_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type resource_scan_in_progress_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      set_type_default_version_output() :: %{}
      
  """
  @type set_type_default_version_output() :: %{}

  @typedoc """

  ## Example:
      
      update_stack_set_input() :: %{
        optional("Accounts") => list(String.t() | atom()),
        optional("AdministrationRoleARN") => String.t() | atom(),
        optional("AutoDeployment") => auto_deployment(),
        optional("CallAs") => list(any()),
        optional("Capabilities") => list(list(any())()),
        optional("DeploymentTargets") => deployment_targets(),
        optional("Description") => String.t() | atom(),
        optional("ExecutionRoleName") => String.t() | atom(),
        optional("ManagedExecution") => managed_execution(),
        optional("OperationId") => String.t() | atom(),
        optional("OperationPreferences") => stack_set_operation_preferences(),
        optional("Parameters") => list(parameter()),
        optional("PermissionModel") => list(any()),
        optional("Regions") => list(String.t() | atom()),
        optional("Tags") => list(tag()),
        optional("TemplateBody") => String.t() | atom(),
        optional("TemplateURL") => String.t() | atom(),
        optional("UsePreviousTemplate") => boolean(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type update_stack_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_change_set_input() :: %{
        optional("Capabilities") => list(list(any())()),
        optional("ChangeSetType") => list(any()),
        optional("ClientToken") => String.t() | atom(),
        optional("DeploymentMode") => list(any()),
        optional("Description") => String.t() | atom(),
        optional("ImportExistingResources") => boolean(),
        optional("IncludeNestedStacks") => boolean(),
        optional("NotificationARNs") => list(String.t() | atom()),
        optional("OnStackFailure") => list(any()),
        optional("Parameters") => list(parameter()),
        optional("ResourceTypes") => list(String.t() | atom()),
        optional("ResourcesToImport") => list(resource_to_import()),
        optional("RoleARN") => String.t() | atom(),
        optional("RollbackConfiguration") => rollback_configuration(),
        optional("Tags") => list(tag()),
        optional("TemplateBody") => String.t() | atom(),
        optional("TemplateURL") => String.t() | atom(),
        optional("UsePreviousTemplate") => boolean(),
        required("ChangeSetName") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type create_change_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      type_configuration_identifier() :: %{
        "Type" => list(any()),
        "TypeArn" => String.t() | atom(),
        "TypeConfigurationAlias" => String.t() | atom(),
        "TypeConfigurationArn" => String.t() | atom(),
        "TypeName" => String.t() | atom()
      }
      
  """
  @type type_configuration_identifier() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      batch_describe_type_configurations_output() :: %{
        "Errors" => list(batch_describe_type_configurations_error()),
        "TypeConfigurations" => list(type_configuration_details()),
        "UnprocessedTypeConfigurations" => list(type_configuration_identifier())
      }
      
  """
  @type batch_describe_type_configurations_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      name_already_exists_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type name_already_exists_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_stack_set_output() :: %{
        "StackSetId" => String.t() | atom()
      }
      
  """
  @type create_stack_set_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stop_stack_set_operation_input() :: %{
        optional("CallAs") => list(any()),
        required("OperationId") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type stop_stack_set_operation_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      test_type_input() :: %{
        optional("Arn") => String.t() | atom(),
        optional("LogDeliveryBucket") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeName") => String.t() | atom(),
        optional("VersionId") => String.t() | atom()
      }
      
  """
  @type test_type_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_resource() :: %{
        "Description" => String.t() | atom(),
        "DriftInformation" => stack_resource_drift_information(),
        "LogicalResourceId" => String.t() | atom(),
        "ModuleInfo" => module_info(),
        "PhysicalResourceId" => String.t() | atom(),
        "ResourceStatus" => list(any()),
        "ResourceStatusReason" => String.t() | atom(),
        "ResourceType" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackName" => String.t() | atom(),
        "Timestamp" => non_neg_integer()
      }
      
  """
  @type stack_resource() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_stack_policy_input() :: %{
        required("StackName") => String.t() | atom()
      }
      
  """
  @type get_stack_policy_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      publish_type_output() :: %{
        "PublicTypeArn" => String.t() | atom()
      }
      
  """
  @type publish_type_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_resource_drifts_input() :: %{
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("StackResourceDriftStatusFilters") => list(list(any())()),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type describe_stack_resource_drifts_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_stack_instances_input() :: %{
        optional("Accounts") => list(String.t() | atom()),
        optional("CallAs") => list(any()),
        optional("DeploymentTargets") => deployment_targets(),
        optional("OperationId") => String.t() | atom(),
        optional("OperationPreferences") => stack_set_operation_preferences(),
        optional("ParameterOverrides") => list(parameter()),
        required("Regions") => list(String.t() | atom()),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type update_stack_instances_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      deregister_type_input() :: %{
        optional("Arn") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeName") => String.t() | atom(),
        optional("VersionId") => String.t() | atom()
      }
      
  """
  @type deregister_type_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      register_type_input() :: %{
        optional("ClientRequestToken") => String.t() | atom(),
        optional("ExecutionRoleArn") => String.t() | atom(),
        optional("LoggingConfig") => logging_config(),
        optional("Type") => list(any()),
        required("SchemaHandlerPackage") => String.t() | atom(),
        required("TypeName") => String.t() | atom()
      }
      
  """
  @type register_type_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      managed_execution() :: %{
        "Active" => boolean()
      }
      
  """
  @type managed_execution() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      rollback_trigger() :: %{
        "Arn" => String.t() | atom(),
        "Type" => String.t() | atom()
      }
      
  """
  @type rollback_trigger() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_event() :: %{
        "ClientRequestToken" => String.t() | atom(),
        "DetailedStatus" => list(any()),
        "EventId" => String.t() | atom(),
        "HookFailureMode" => list(any()),
        "HookInvocationId" => String.t() | atom(),
        "HookInvocationPoint" => list(any()),
        "HookStatus" => list(any()),
        "HookStatusReason" => String.t() | atom(),
        "HookType" => String.t() | atom(),
        "LogicalResourceId" => String.t() | atom(),
        "OperationId" => String.t() | atom(),
        "PhysicalResourceId" => String.t() | atom(),
        "ResourceProperties" => String.t() | atom(),
        "ResourceStatus" => list(any()),
        "ResourceStatusReason" => String.t() | atom(),
        "ResourceType" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackName" => String.t() | atom(),
        "Timestamp" => non_neg_integer()
      }
      
  """
  @type stack_event() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_drift_ignored_attribute() :: %{
        "Path" => String.t() | atom(),
        "Reason" => list(any())
      }
      
  """
  @type resource_drift_ignored_attribute() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      change_set_hook_resource_target_details() :: %{
        "LogicalResourceId" => String.t() | atom(),
        "ResourceAction" => list(any()),
        "ResourceType" => String.t() | atom()
      }
      
  """
  @type change_set_hook_resource_target_details() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_resource_summary() :: %{
        "DriftInformation" => stack_resource_drift_information_summary(),
        "LastUpdatedTimestamp" => non_neg_integer(),
        "LogicalResourceId" => String.t() | atom(),
        "ModuleInfo" => module_info(),
        "PhysicalResourceId" => String.t() | atom(),
        "ResourceStatus" => list(any()),
        "ResourceStatusReason" => String.t() | atom(),
        "ResourceType" => String.t() | atom()
      }
      
  """
  @type stack_resource_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_refactor_actions_input() :: %{
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        required("StackRefactorId") => String.t() | atom()
      }
      
  """
  @type list_stack_refactor_actions_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      activate_type_input() :: %{
        optional("AutoUpdate") => boolean(),
        optional("ExecutionRoleArn") => String.t() | atom(),
        optional("LoggingConfig") => logging_config(),
        optional("MajorVersion") => float(),
        optional("PublicTypeArn") => String.t() | atom(),
        optional("PublisherId") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeName") => String.t() | atom(),
        optional("TypeNameAlias") => String.t() | atom(),
        optional("VersionBump") => list(any())
      }
      
  """
  @type activate_type_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      output() :: %{
        "Description" => String.t() | atom(),
        "ExportName" => String.t() | atom(),
        "OutputKey" => String.t() | atom(),
        "OutputValue" => String.t() | atom()
      }
      
  """
  @type output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_generated_template_output() :: %{
        "CreationTime" => non_neg_integer(),
        "GeneratedTemplateId" => String.t() | atom(),
        "GeneratedTemplateName" => String.t() | atom(),
        "LastUpdatedTime" => non_neg_integer(),
        "Progress" => template_progress(),
        "Resources" => list(resource_detail()),
        "StackId" => String.t() | atom(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom(),
        "TemplateConfiguration" => template_configuration(),
        "TotalWarnings" => integer()
      }
      
  """
  @type describe_generated_template_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      detect_stack_set_drift_input() :: %{
        optional("CallAs") => list(any()),
        optional("OperationId") => String.t() | atom(),
        optional("OperationPreferences") => stack_set_operation_preferences(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type detect_stack_set_drift_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_resource_drift_information() :: %{
        "LastCheckTimestamp" => non_neg_integer(),
        "StackResourceDriftStatus" => list(any())
      }
      
  """
  @type stack_resource_drift_information() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_change_detail() :: %{
        "CausingEntity" => String.t() | atom(),
        "ChangeSource" => list(any()),
        "Evaluation" => list(any()),
        "Target" => resource_target_definition()
      }
      
  """
  @type resource_change_detail() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_refactors_output() :: %{
        "NextToken" => String.t() | atom(),
        "StackRefactorSummaries" => list(stack_refactor_summary())
      }
      
  """
  @type list_stack_refactors_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      property_difference() :: %{
        "ActualValue" => String.t() | atom(),
        "DifferenceType" => list(any()),
        "ExpectedValue" => String.t() | atom(),
        "PropertyPath" => String.t() | atom()
      }
      
  """
  @type property_difference() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stale_request_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type stale_request_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_resource_scan_output() :: %{
        "EndTime" => non_neg_integer(),
        "PercentageCompleted" => float(),
        "ResourceScanId" => String.t() | atom(),
        "ResourceTypes" => list(String.t() | atom()),
        "ResourcesRead" => integer(),
        "ResourcesScanned" => integer(),
        "ScanFilters" => list(scan_filter()),
        "StartTime" => non_neg_integer(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type describe_resource_scan_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_account_limits_output() :: %{
        "AccountLimits" => list(account_limit()),
        "NextToken" => String.t() | atom()
      }
      
  """
  @type describe_account_limits_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_stack_input() :: %{
        optional("Capabilities") => list(list(any())()),
        optional("ClientRequestToken") => String.t() | atom(),
        optional("DisableRollback") => boolean(),
        optional("EnableTerminationProtection") => boolean(),
        optional("NotificationARNs") => list(String.t() | atom()),
        optional("OnFailure") => list(any()),
        optional("Parameters") => list(parameter()),
        optional("ResourceTypes") => list(String.t() | atom()),
        optional("RetainExceptOnCreate") => boolean(),
        optional("RoleARN") => String.t() | atom(),
        optional("RollbackConfiguration") => rollback_configuration(),
        optional("StackPolicyBody") => String.t() | atom(),
        optional("StackPolicyURL") => String.t() | atom(),
        optional("Tags") => list(tag()),
        optional("TemplateBody") => String.t() | atom(),
        optional("TemplateURL") => String.t() | atom(),
        optional("TimeoutInMinutes") => integer(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type create_stack_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_publisher_output() :: %{
        "IdentityProvider" => list(any()),
        "PublisherId" => String.t() | atom(),
        "PublisherProfile" => String.t() | atom(),
        "PublisherStatus" => list(any())
      }
      
  """
  @type describe_publisher_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_generated_template_output() :: %{
        "Status" => list(any()),
        "TemplateBody" => String.t() | atom()
      }
      
  """
  @type get_generated_template_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_generated_template_input() :: %{
        optional("Resources") => list(resource_definition()),
        optional("StackName") => String.t() | atom(),
        optional("TemplateConfiguration") => template_configuration(),
        required("GeneratedTemplateName") => String.t() | atom()
      }
      
  """
  @type create_generated_template_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_types_input() :: %{
        optional("DeprecatedStatus") => list(any()),
        optional("Filters") => type_filters(),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("ProvisioningType") => list(any()),
        optional("Type") => list(any()),
        optional("Visibility") => list(any())
      }
      
  """
  @type list_types_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      type_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type type_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      operation_result_filter() :: %{
        "Name" => list(any()),
        "Values" => String.t() | atom()
      }
      
  """
  @type operation_result_filter() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_to_import() :: %{
        "LogicalResourceId" => String.t() | atom(),
        "ResourceIdentifier" => map(),
        "ResourceType" => String.t() | atom()
      }
      
  """
  @type resource_to_import() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_type_versions_output() :: %{
        "NextToken" => String.t() | atom(),
        "TypeVersionSummaries" => list(type_version_summary())
      }
      
  """
  @type list_type_versions_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      already_exists_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type already_exists_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      logging_config() :: %{
        "LogGroupName" => String.t() | atom(),
        "LogRoleArn" => String.t() | atom()
      }
      
  """
  @type logging_config() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      export() :: %{
        "ExportingStackId" => String.t() | atom(),
        "Name" => String.t() | atom(),
        "Value" => String.t() | atom()
      }
      
  """
  @type export() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      account_limit() :: %{
        "Name" => String.t() | atom(),
        "Value" => integer()
      }
      
  """
  @type account_limit() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      execute_stack_refactor_input() :: %{
        required("StackRefactorId") => String.t() | atom()
      }
      
  """
  @type execute_stack_refactor_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_events_output() :: %{
        "NextToken" => String.t() | atom(),
        "StackEvents" => list(stack_event())
      }
      
  """
  @type describe_stack_events_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_account_limits_input() :: %{
        optional("NextToken") => String.t() | atom()
      }
      
  """
  @type describe_account_limits_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_set_operation_results_input() :: %{
        optional("CallAs") => list(any()),
        optional("Filters") => list(operation_result_filter()),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        required("OperationId") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type list_stack_set_operation_results_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      delete_stack_set_output() :: %{}
      
  """
  @type delete_stack_set_output() :: %{}

  @typedoc """

  ## Example:
      
      template_summary() :: %{
        "CreationTime" => non_neg_integer(),
        "GeneratedTemplateId" => String.t() | atom(),
        "GeneratedTemplateName" => String.t() | atom(),
        "LastUpdatedTime" => non_neg_integer(),
        "NumberOfResources" => integer(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type template_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_instances_output() :: %{
        "NextToken" => String.t() | atom(),
        "Summaries" => list(stack_instance_summary())
      }
      
  """
  @type list_stack_instances_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      import_stacks_to_stack_set_input() :: %{
        optional("CallAs") => list(any()),
        optional("OperationId") => String.t() | atom(),
        optional("OperationPreferences") => stack_set_operation_preferences(),
        optional("OrganizationalUnitIds") => list(String.t() | atom()),
        optional("StackIds") => list(String.t() | atom()),
        optional("StackIdsUrl") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type import_stacks_to_stack_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_definition() :: %{
        "LogicalResourceId" => String.t() | atom(),
        "ResourceIdentifier" => map(),
        "ResourceType" => String.t() | atom()
      }
      
  """
  @type resource_definition() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      scanned_resource() :: %{
        "ManagedByStack" => boolean(),
        "ResourceIdentifier" => map(),
        "ResourceType" => String.t() | atom()
      }
      
  """
  @type scanned_resource() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_operation_result_summary() :: %{
        "Account" => String.t() | atom(),
        "AccountGateResult" => account_gate_result(),
        "OrganizationalUnitId" => String.t() | atom(),
        "Region" => String.t() | atom(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type stack_set_operation_result_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_type_registration_output() :: %{
        "Description" => String.t() | atom(),
        "ProgressStatus" => list(any()),
        "TypeArn" => String.t() | atom(),
        "TypeVersionArn" => String.t() | atom()
      }
      
  """
  @type describe_type_registration_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_set_operation_results_output() :: %{
        "NextToken" => String.t() | atom(),
        "Summaries" => list(stack_set_operation_result_summary())
      }
      
  """
  @type list_stack_set_operation_results_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      operation_id_already_exists_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type operation_id_already_exists_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stop_stack_set_operation_output() :: %{}
      
  """
  @type stop_stack_set_operation_output() :: %{}

  @typedoc """

  ## Example:
      
      list_imports_input() :: %{
        optional("NextToken") => String.t() | atom(),
        required("ExportName") => String.t() | atom()
      }
      
  """
  @type list_imports_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stacks_output() :: %{
        "NextToken" => String.t() | atom(),
        "Stacks" => list(stack())
      }
      
  """
  @type describe_stacks_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_change_set_input() :: %{
        optional("IncludePropertyValues") => boolean(),
        optional("NextToken") => String.t() | atom(),
        optional("StackName") => String.t() | atom(),
        required("ChangeSetName") => String.t() | atom()
      }
      
  """
  @type describe_change_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_scan_summary() :: %{
        "EndTime" => non_neg_integer(),
        "PercentageCompleted" => float(),
        "ResourceScanId" => String.t() | atom(),
        "ScanType" => list(any()),
        "StartTime" => non_neg_integer(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type resource_scan_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_instance_input() :: %{
        optional("CallAs") => list(any()),
        required("StackInstanceAccount") => String.t() | atom(),
        required("StackInstanceRegion") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type describe_stack_instance_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_exports_output() :: %{
        "Exports" => list(export()),
        "NextToken" => String.t() | atom()
      }
      
  """
  @type list_exports_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_stack_set_input() :: %{
        optional("AdministrationRoleARN") => String.t() | atom(),
        optional("AutoDeployment") => auto_deployment(),
        optional("CallAs") => list(any()),
        optional("Capabilities") => list(list(any())()),
        optional("ClientRequestToken") => String.t() | atom(),
        optional("Description") => String.t() | atom(),
        optional("ExecutionRoleName") => String.t() | atom(),
        optional("ManagedExecution") => managed_execution(),
        optional("Parameters") => list(parameter()),
        optional("PermissionModel") => list(any()),
        optional("StackId") => String.t() | atom(),
        optional("Tags") => list(tag()),
        optional("TemplateBody") => String.t() | atom(),
        optional("TemplateURL") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type create_stack_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      module_info() :: %{
        "LogicalIdHierarchy" => String.t() | atom(),
        "TypeHierarchy" => String.t() | atom()
      }
      
  """
  @type module_info() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      publish_type_input() :: %{
        optional("Arn") => String.t() | atom(),
        optional("PublicVersionNumber") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeName") => String.t() | atom()
      }
      
  """
  @type publish_type_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_stack_output() :: %{
        "OperationId" => String.t() | atom(),
        "StackId" => String.t() | atom()
      }
      
  """
  @type update_stack_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_template_summary_output() :: %{
        "Capabilities" => list(list(any())()),
        "CapabilitiesReason" => String.t() | atom(),
        "DeclaredTransforms" => list(String.t() | atom()),
        "Description" => String.t() | atom(),
        "Metadata" => String.t() | atom(),
        "Parameters" => list(parameter_declaration()),
        "ResourceIdentifierSummaries" => list(resource_identifier_summary()),
        "ResourceTypes" => list(String.t() | atom()),
        "Version" => String.t() | atom(),
        "Warnings" => warnings()
      }
      
  """
  @type get_template_summary_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_stack_set_output() :: %{
        "OperationId" => String.t() | atom()
      }
      
  """
  @type update_stack_set_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type stack_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_imports_output() :: %{
        "Imports" => list(String.t() | atom()),
        "NextToken" => String.t() | atom()
      }
      
  """
  @type list_imports_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      parameter_declaration() :: %{
        "DefaultValue" => String.t() | atom(),
        "Description" => String.t() | atom(),
        "NoEcho" => boolean(),
        "ParameterConstraints" => parameter_constraints(),
        "ParameterKey" => String.t() | atom(),
        "ParameterType" => String.t() | atom()
      }
      
  """
  @type parameter_declaration() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      rollback_stack_output() :: %{
        "OperationId" => String.t() | atom(),
        "StackId" => String.t() | atom()
      }
      
  """
  @type rollback_stack_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_stack_instances_input() :: %{
        optional("Accounts") => list(String.t() | atom()),
        optional("CallAs") => list(any()),
        optional("DeploymentTargets") => deployment_targets(),
        optional("OperationId") => String.t() | atom(),
        optional("OperationPreferences") => stack_set_operation_preferences(),
        optional("ParameterOverrides") => list(parameter()),
        required("Regions") => list(String.t() | atom()),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type create_stack_instances_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_set_operation_input() :: %{
        optional("CallAs") => list(any()),
        required("OperationId") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type describe_stack_set_operation_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      activate_type_output() :: %{
        "Arn" => String.t() | atom()
      }
      
  """
  @type activate_type_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      delete_stack_instances_output() :: %{
        "OperationId" => String.t() | atom()
      }
      
  """
  @type delete_stack_instances_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      activate_organizations_access_output() :: %{}
      
  """
  @type activate_organizations_access_output() :: %{}

  @typedoc """

  ## Example:
      
      resource_location() :: %{
        "LogicalResourceId" => String.t() | atom(),
        "StackName" => String.t() | atom()
      }
      
  """
  @type resource_location() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type stack_set_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      register_publisher_input() :: %{
        optional("AcceptTermsAndConditions") => boolean(),
        optional("ConnectionArn") => String.t() | atom()
      }
      
  """
  @type register_publisher_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_change_set_output() :: %{
        "Id" => String.t() | atom(),
        "StackId" => String.t() | atom()
      }
      
  """
  @type create_change_set_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      invalid_state_transition_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type invalid_state_transition_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_not_empty_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type stack_set_not_empty_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_scan_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type resource_scan_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_resource_output() :: %{
        "StackResourceDetail" => stack_resource_detail()
      }
      
  """
  @type describe_stack_resource_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_change_set_hooks_input() :: %{
        optional("LogicalResourceId") => String.t() | atom(),
        optional("NextToken") => String.t() | atom(),
        optional("StackName") => String.t() | atom(),
        required("ChangeSetName") => String.t() | atom()
      }
      
  """
  @type describe_change_set_hooks_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      warning_property() :: %{
        "Description" => String.t() | atom(),
        "PropertyPath" => String.t() | atom(),
        "Required" => boolean()
      }
      
  """
  @type warning_property() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack() :: %{
        "Capabilities" => list(list(any())()),
        "ChangeSetId" => String.t() | atom(),
        "CreationTime" => non_neg_integer(),
        "DeletionMode" => list(any()),
        "DeletionTime" => non_neg_integer(),
        "Description" => String.t() | atom(),
        "DetailedStatus" => list(any()),
        "DisableRollback" => boolean(),
        "DriftInformation" => stack_drift_information(),
        "EnableTerminationProtection" => boolean(),
        "LastOperations" => list(operation_entry()),
        "LastUpdatedTime" => non_neg_integer(),
        "NotificationARNs" => list(String.t() | atom()),
        "Outputs" => list(output()),
        "Parameters" => list(parameter()),
        "ParentId" => String.t() | atom(),
        "RetainExceptOnCreate" => boolean(),
        "RoleARN" => String.t() | atom(),
        "RollbackConfiguration" => rollback_configuration(),
        "RootId" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackName" => String.t() | atom(),
        "StackStatus" => list(any()),
        "StackStatusReason" => String.t() | atom(),
        "Tags" => list(tag()),
        "TimeoutInMinutes" => integer()
      }
      
  """
  @type stack() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      record_handler_progress_input() :: %{
        optional("ClientRequestToken") => String.t() | atom(),
        optional("CurrentOperationStatus") => list(any()),
        optional("ErrorCode") => list(any()),
        optional("ResourceModel") => String.t() | atom(),
        optional("StatusMessage") => String.t() | atom(),
        required("BearerToken") => String.t() | atom(),
        required("OperationStatus") => list(any())
      }
      
  """
  @type record_handler_progress_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      delete_change_set_input() :: %{
        optional("StackName") => String.t() | atom(),
        required("ChangeSetName") => String.t() | atom()
      }
      
  """
  @type delete_change_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_detail() :: %{
        "LogicalResourceId" => String.t() | atom(),
        "ResourceIdentifier" => map(),
        "ResourceStatus" => list(any()),
        "ResourceStatusReason" => String.t() | atom(),
        "ResourceType" => String.t() | atom(),
        "Warnings" => list(warning_detail())
      }
      
  """
  @type resource_detail() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_change_sets_output() :: %{
        "NextToken" => String.t() | atom(),
        "Summaries" => list(change_set_summary())
      }
      
  """
  @type list_change_sets_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_events_output() :: %{
        "NextToken" => String.t() | atom(),
        "OperationEvents" => list(operation_event())
      }
      
  """
  @type describe_events_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_resource_scan_related_resources_output() :: %{
        "NextToken" => String.t() | atom(),
        "RelatedResources" => list(scanned_resource())
      }
      
  """
  @type list_resource_scan_related_resources_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_resource_detail() :: %{
        "Description" => String.t() | atom(),
        "DriftInformation" => stack_resource_drift_information(),
        "LastUpdatedTimestamp" => non_neg_integer(),
        "LogicalResourceId" => String.t() | atom(),
        "Metadata" => String.t() | atom(),
        "ModuleInfo" => module_info(),
        "PhysicalResourceId" => String.t() | atom(),
        "ResourceStatus" => list(any()),
        "ResourceStatusReason" => String.t() | atom(),
        "ResourceType" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackName" => String.t() | atom()
      }
      
  """
  @type stack_resource_detail() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_set_operation_output() :: %{
        "StackSetOperation" => stack_set_operation()
      }
      
  """
  @type describe_stack_set_operation_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      register_type_output() :: %{
        "RegistrationToken" => String.t() | atom()
      }
      
  """
  @type register_type_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_stack_refactor_output() :: %{
        "StackRefactorId" => String.t() | atom()
      }
      
  """
  @type create_stack_refactor_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      auto_deployment() :: %{
        "DependsOn" => list(String.t() | atom()),
        "Enabled" => boolean(),
        "RetainStacksOnAccountRemoval" => boolean()
      }
      
  """
  @type auto_deployment() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_stack_refactor_input() :: %{
        optional("Description") => String.t() | atom(),
        optional("EnableStackCreation") => boolean(),
        optional("ResourceMappings") => list(resource_mapping()),
        required("StackDefinitions") => list(stack_definition())
      }
      
  """
  @type create_stack_refactor_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_resource_scans_input() :: %{
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("ScanTypeFilter") => list(any())
      }
      
  """
  @type list_resource_scans_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      created_but_modified_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type created_but_modified_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      detect_stack_drift_input() :: %{
        optional("LogicalResourceIds") => list(String.t() | atom()),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type detect_stack_drift_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_generated_templates_input() :: %{
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom()
      }
      
  """
  @type list_generated_templates_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      operation_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type operation_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_generated_templates_output() :: %{
        "NextToken" => String.t() | atom(),
        "Summaries" => list(template_summary())
      }
      
  """
  @type list_generated_templates_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set() :: %{
        "AdministrationRoleARN" => String.t() | atom(),
        "AutoDeployment" => auto_deployment(),
        "Capabilities" => list(list(any())()),
        "Description" => String.t() | atom(),
        "ExecutionRoleName" => String.t() | atom(),
        "ManagedExecution" => managed_execution(),
        "OrganizationalUnitIds" => list(String.t() | atom()),
        "Parameters" => list(parameter()),
        "PermissionModel" => list(any()),
        "Regions" => list(String.t() | atom()),
        "StackSetARN" => String.t() | atom(),
        "StackSetDriftDetectionDetails" => stack_set_drift_detection_details(),
        "StackSetId" => String.t() | atom(),
        "StackSetName" => String.t() | atom(),
        "Status" => list(any()),
        "Tags" => list(tag()),
        "TemplateBody" => String.t() | atom()
      }
      
  """
  @type stack_set() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      validate_template_output() :: %{
        "Capabilities" => list(list(any())()),
        "CapabilitiesReason" => String.t() | atom(),
        "DeclaredTransforms" => list(String.t() | atom()),
        "Description" => String.t() | atom(),
        "Parameters" => list(template_parameter())
      }
      
  """
  @type validate_template_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_instance_resource_drifts_output() :: %{
        "NextToken" => String.t() | atom(),
        "Summaries" => list(stack_instance_resource_drifts_summary())
      }
      
  """
  @type list_stack_instance_resource_drifts_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      parameter_constraints() :: %{
        "AllowedValues" => list(String.t() | atom())
      }
      
  """
  @type parameter_constraints() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_refactor_output() :: %{
        "Description" => String.t() | atom(),
        "ExecutionStatus" => list(any()),
        "ExecutionStatusReason" => String.t() | atom(),
        "StackIds" => list(String.t() | atom()),
        "StackRefactorId" => String.t() | atom(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type describe_stack_refactor_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_operation() :: %{
        "Action" => list(any()),
        "AdministrationRoleARN" => String.t() | atom(),
        "CreationTimestamp" => non_neg_integer(),
        "DeploymentTargets" => deployment_targets(),
        "EndTimestamp" => non_neg_integer(),
        "ExecutionRoleName" => String.t() | atom(),
        "OperationId" => String.t() | atom(),
        "OperationPreferences" => stack_set_operation_preferences(),
        "RetainStacks" => boolean(),
        "StackSetDriftDetectionDetails" => stack_set_drift_detection_details(),
        "StackSetId" => String.t() | atom(),
        "Status" => list(any()),
        "StatusDetails" => stack_set_operation_status_details(),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type stack_set_operation() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      register_publisher_output() :: %{
        "PublisherId" => String.t() | atom()
      }
      
  """
  @type register_publisher_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_operation_status_details() :: %{
        "FailedStackInstancesCount" => integer()
      }
      
  """
  @type stack_set_operation_status_details() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_change_sets_input() :: %{
        optional("NextToken") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type list_change_sets_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      operation_status_check_failed_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type operation_status_check_failed_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      warning_detail() :: %{
        "Properties" => list(warning_property()),
        "Type" => list(any())
      }
      
  """
  @type warning_detail() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_instance_resource_drifts_input() :: %{
        optional("CallAs") => list(any()),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("StackInstanceResourceDriftStatuses") => list(list(any())()),
        required("OperationId") => String.t() | atom(),
        required("StackInstanceAccount") => String.t() | atom(),
        required("StackInstanceRegion") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type list_stack_instance_resource_drifts_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      set_stack_policy_input() :: %{
        optional("StackPolicyBody") => String.t() | atom(),
        optional("StackPolicyURL") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type set_stack_policy_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      resource_scan_limit_exceeded_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type resource_scan_limit_exceeded_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_template_input() :: %{
        optional("ChangeSetName") => String.t() | atom(),
        optional("StackName") => String.t() | atom(),
        optional("TemplateStage") => list(any())
      }
      
  """
  @type get_template_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_events_input() :: %{
        optional("ChangeSetName") => String.t() | atom(),
        optional("Filters") => event_filter(),
        optional("NextToken") => String.t() | atom(),
        optional("OperationId") => String.t() | atom(),
        optional("StackName") => String.t() | atom()
      }
      
  """
  @type describe_events_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      template_progress() :: %{
        "ResourcesFailed" => integer(),
        "ResourcesPending" => integer(),
        "ResourcesProcessing" => integer(),
        "ResourcesSucceeded" => integer()
      }
      
  """
  @type template_progress() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      type_filters() :: %{
        "Category" => list(any()),
        "PublisherId" => String.t() | atom(),
        "TypeNamePrefix" => String.t() | atom()
      }
      
  """
  @type type_filters() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_set_operations_input() :: %{
        optional("CallAs") => list(any()),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type list_stack_set_operations_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_resource_scans_output() :: %{
        "NextToken" => String.t() | atom(),
        "ResourceScanSummaries" => list(resource_scan_summary())
      }
      
  """
  @type list_resource_scans_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      estimate_template_cost_input() :: %{
        optional("Parameters") => list(parameter()),
        optional("TemplateBody") => String.t() | atom(),
        optional("TemplateURL") => String.t() | atom()
      }
      
  """
  @type estimate_template_cost_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      rollback_configuration() :: %{
        "MonitoringTimeInMinutes" => integer(),
        "RollbackTriggers" => list(rollback_trigger())
      }
      
  """
  @type rollback_configuration() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_template_output() :: %{
        "StagesAvailable" => list(list(any())()),
        "TemplateBody" => String.t() | atom()
      }
      
  """
  @type get_template_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_drift_detection_status_input() :: %{
        required("StackDriftDetectionId") => String.t() | atom()
      }
      
  """
  @type describe_stack_drift_detection_status_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      test_type_output() :: %{
        "TypeVersionArn" => String.t() | atom()
      }
      
  """
  @type test_type_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_refactor_input() :: %{
        required("StackRefactorId") => String.t() | atom()
      }
      
  """
  @type describe_stack_refactor_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      operation_entry() :: %{
        "OperationId" => String.t() | atom(),
        "OperationType" => list(any())
      }
      
  """
  @type operation_entry() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      template_summary_config() :: %{
        "TreatUnrecognizedResourceTypesAsWarnings" => boolean()
      }
      
  """
  @type template_summary_config() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_set_operation_preferences() :: %{
        "ConcurrencyMode" => list(any()),
        "FailureToleranceCount" => integer(),
        "FailureTolerancePercentage" => integer(),
        "MaxConcurrentCount" => integer(),
        "MaxConcurrentPercentage" => integer(),
        "RegionConcurrencyType" => list(any()),
        "RegionOrder" => list(String.t() | atom())
      }
      
  """
  @type stack_set_operation_preferences() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      deployment_targets() :: %{
        "AccountFilterType" => list(any()),
        "Accounts" => list(String.t() | atom()),
        "AccountsUrl" => String.t() | atom(),
        "OrganizationalUnitIds" => list(String.t() | atom())
      }
      
  """
  @type deployment_targets() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      batch_describe_type_configurations_input() :: %{
        required("TypeConfigurationIdentifiers") => list(type_configuration_identifier())
      }
      
  """
  @type batch_describe_type_configurations_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      type_configuration_details() :: %{
        "Alias" => String.t() | atom(),
        "Arn" => String.t() | atom(),
        "Configuration" => String.t() | atom(),
        "IsDefaultConfiguration" => boolean(),
        "LastUpdated" => non_neg_integer(),
        "TypeArn" => String.t() | atom(),
        "TypeName" => String.t() | atom()
      }
      
  """
  @type type_configuration_details() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_hook_results_input() :: %{
        optional("NextToken") => String.t() | atom(),
        optional("Status") => list(any()),
        optional("TargetId") => String.t() | atom(),
        optional("TargetType") => list(any()),
        optional("TypeArn") => String.t() | atom()
      }
      
  """
  @type list_hook_results_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_resource_drift() :: %{
        "ActualProperties" => String.t() | atom(),
        "DriftStatusReason" => String.t() | atom(),
        "ExpectedProperties" => String.t() | atom(),
        "LogicalResourceId" => String.t() | atom(),
        "ModuleInfo" => module_info(),
        "PhysicalResourceId" => String.t() | atom(),
        "PhysicalResourceIdContext" => list(physical_resource_id_context_key_value_pair()),
        "PropertyDifferences" => list(property_difference()),
        "ResourceType" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackResourceDriftStatus" => list(any()),
        "Timestamp" => non_neg_integer()
      }
      
  """
  @type stack_resource_drift() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_type_registration_input() :: %{
        required("RegistrationToken") => String.t() | atom()
      }
      
  """
  @type describe_type_registration_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      delete_stack_input() :: %{
        optional("ClientRequestToken") => String.t() | atom(),
        optional("DeletionMode") => list(any()),
        optional("RetainResources") => list(String.t() | atom()),
        optional("RoleARN") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type delete_stack_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stacks_output() :: %{
        "NextToken" => String.t() | atom(),
        "StackSummaries" => list(stack_summary())
      }
      
  """
  @type list_stacks_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_instance_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type stack_instance_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      batch_describe_type_configurations_error() :: %{
        "ErrorCode" => String.t() | atom(),
        "ErrorMessage" => String.t() | atom(),
        "TypeConfigurationIdentifier" => type_configuration_identifier()
      }
      
  """
  @type batch_describe_type_configurations_error() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_generated_template_input() :: %{
        optional("Format") => list(any()),
        required("GeneratedTemplateName") => String.t() | atom()
      }
      
  """
  @type get_generated_template_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_definition() :: %{
        "StackName" => String.t() | atom(),
        "TemplateBody" => String.t() | atom(),
        "TemplateURL" => String.t() | atom()
      }
      
  """
  @type stack_definition() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      generated_template_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type generated_template_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_resource_drifts_output() :: %{
        "NextToken" => String.t() | atom(),
        "StackResourceDrifts" => list(stack_resource_drift())
      }
      
  """
  @type describe_stack_resource_drifts_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_drift_information() :: %{
        "LastCheckTimestamp" => non_neg_integer(),
        "StackDriftStatus" => list(any())
      }
      
  """
  @type stack_drift_information() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_type_registrations_output() :: %{
        "NextToken" => String.t() | atom(),
        "RegistrationTokenList" => list(String.t() | atom())
      }
      
  """
  @type list_type_registrations_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_stack_instances_output() :: %{
        "OperationId" => String.t() | atom()
      }
      
  """
  @type create_stack_instances_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_hook_result_input() :: %{
        optional("HookResultId") => String.t() | atom()
      }
      
  """
  @type get_hook_result_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      create_generated_template_output() :: %{
        "GeneratedTemplateId" => String.t() | atom()
      }
      
  """
  @type create_generated_template_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_instance_resource_drifts_summary() :: %{
        "LogicalResourceId" => String.t() | atom(),
        "PhysicalResourceId" => String.t() | atom(),
        "PhysicalResourceIdContext" => list(physical_resource_id_context_key_value_pair()),
        "PropertyDifferences" => list(property_difference()),
        "ResourceType" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackResourceDriftStatus" => list(any()),
        "Timestamp" => non_neg_integer()
      }
      
  """
  @type stack_instance_resource_drifts_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      change_set_summary() :: %{
        "ChangeSetId" => String.t() | atom(),
        "ChangeSetName" => String.t() | atom(),
        "CreationTime" => non_neg_integer(),
        "Description" => String.t() | atom(),
        "ExecutionStatus" => list(any()),
        "ImportExistingResources" => boolean(),
        "IncludeNestedStacks" => boolean(),
        "ParentChangeSetId" => String.t() | atom(),
        "RootChangeSetId" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackName" => String.t() | atom(),
        "Status" => list(any()),
        "StatusReason" => String.t() | atom()
      }
      
  """
  @type change_set_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_set_input() :: %{
        optional("CallAs") => list(any()),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type describe_stack_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_stack_instances_output() :: %{
        "OperationId" => String.t() | atom()
      }
      
  """
  @type update_stack_instances_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_stack_policy_output() :: %{
        "StackPolicyBody" => String.t() | atom()
      }
      
  """
  @type get_stack_policy_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      hook_result_summary() :: %{
        "FailureMode" => list(any()),
        "HookExecutionTarget" => String.t() | atom(),
        "HookResultId" => String.t() | atom(),
        "HookStatusReason" => String.t() | atom(),
        "InvocationPoint" => list(any()),
        "InvokedAt" => non_neg_integer(),
        "Status" => list(any()),
        "TargetId" => String.t() | atom(),
        "TargetType" => list(any()),
        "TypeArn" => String.t() | atom(),
        "TypeConfigurationVersionId" => String.t() | atom(),
        "TypeName" => String.t() | atom(),
        "TypeVersionId" => String.t() | atom()
      }
      
  """
  @type hook_result_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_summary() :: %{
        "CreationTime" => non_neg_integer(),
        "DeletionTime" => non_neg_integer(),
        "DriftInformation" => stack_drift_information_summary(),
        "LastOperations" => list(operation_entry()),
        "LastUpdatedTime" => non_neg_integer(),
        "ParentId" => String.t() | atom(),
        "RootId" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackName" => String.t() | atom(),
        "StackStatus" => list(any()),
        "StackStatusReason" => String.t() | atom(),
        "TemplateDescription" => String.t() | atom()
      }
      
  """
  @type stack_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_sets_output() :: %{
        "NextToken" => String.t() | atom(),
        "Summaries" => list(stack_set_summary())
      }
      
  """
  @type list_stack_sets_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      detect_stack_drift_output() :: %{
        "StackDriftDetectionId" => String.t() | atom()
      }
      
  """
  @type detect_stack_drift_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_resource_drift_information_summary() :: %{
        "LastCheckTimestamp" => non_neg_integer(),
        "StackResourceDriftStatus" => list(any())
      }
      
  """
  @type stack_resource_drift_information_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      rollback_stack_input() :: %{
        optional("ClientRequestToken") => String.t() | atom(),
        optional("RetainExceptOnCreate") => boolean(),
        optional("RoleARN") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type rollback_stack_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      delete_generated_template_input() :: %{
        required("GeneratedTemplateName") => String.t() | atom()
      }
      
  """
  @type delete_generated_template_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_hook_result_output() :: %{
        "Annotations" => list(annotation()),
        "FailureMode" => list(any()),
        "HookResultId" => String.t() | atom(),
        "HookStatusReason" => String.t() | atom(),
        "InvocationPoint" => list(any()),
        "InvokedAt" => non_neg_integer(),
        "OriginalTypeName" => String.t() | atom(),
        "Status" => list(any()),
        "Target" => hook_target(),
        "TypeArn" => String.t() | atom(),
        "TypeConfigurationVersionId" => String.t() | atom(),
        "TypeName" => String.t() | atom(),
        "TypeVersionId" => String.t() | atom()
      }
      
  """
  @type get_hook_result_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_sets_input() :: %{
        optional("CallAs") => list(any()),
        optional("MaxResults") => integer(),
        optional("NextToken") => String.t() | atom(),
        optional("Status") => list(any())
      }
      
  """
  @type list_stack_sets_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      execute_change_set_input() :: %{
        optional("ClientRequestToken") => String.t() | atom(),
        optional("DisableRollback") => boolean(),
        optional("RetainExceptOnCreate") => boolean(),
        optional("StackName") => String.t() | atom(),
        required("ChangeSetName") => String.t() | atom()
      }
      
  """
  @type execute_change_set_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      activate_organizations_access_input() :: %{}
      
  """
  @type activate_organizations_access_input() :: %{}

  @typedoc """

  ## Example:
      
      type_summary() :: %{
        "DefaultVersionId" => String.t() | atom(),
        "Description" => String.t() | atom(),
        "IsActivated" => boolean(),
        "LastUpdated" => non_neg_integer(),
        "LatestPublicVersion" => String.t() | atom(),
        "OriginalTypeName" => String.t() | atom(),
        "PublicVersionNumber" => String.t() | atom(),
        "PublisherId" => String.t() | atom(),
        "PublisherIdentity" => list(any()),
        "PublisherName" => String.t() | atom(),
        "Type" => list(any()),
        "TypeArn" => String.t() | atom(),
        "TypeName" => String.t() | atom()
      }
      
  """
  @type type_summary() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_instance_comprehensive_status() :: %{
        "DetailedStatus" => list(any())
      }
      
  """
  @type stack_instance_comprehensive_status() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_termination_protection_output() :: %{
        "StackId" => String.t() | atom()
      }
      
  """
  @type update_termination_protection_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_generated_template_output() :: %{
        "GeneratedTemplateId" => String.t() | atom()
      }
      
  """
  @type update_generated_template_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      stack_instance_filter() :: %{
        "Name" => list(any()),
        "Values" => String.t() | atom()
      }
      
  """
  @type stack_instance_filter() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_stack_set_output() :: %{
        "StackSet" => stack_set()
      }
      
  """
  @type describe_stack_set_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_change_set_hooks_output() :: %{
        "ChangeSetId" => String.t() | atom(),
        "ChangeSetName" => String.t() | atom(),
        "Hooks" => list(change_set_hook()),
        "NextToken" => String.t() | atom(),
        "StackId" => String.t() | atom(),
        "StackName" => String.t() | atom(),
        "Status" => list(any())
      }
      
  """
  @type describe_change_set_hooks_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      delete_change_set_output() :: %{}
      
  """
  @type delete_change_set_output() :: %{}

  @typedoc """

  ## Example:
      
      describe_type_output() :: %{
        "Arn" => String.t() | atom(),
        "AutoUpdate" => boolean(),
        "ConfigurationSchema" => String.t() | atom(),
        "DefaultVersionId" => String.t() | atom(),
        "DeprecatedStatus" => list(any()),
        "Description" => String.t() | atom(),
        "DocumentationUrl" => String.t() | atom(),
        "ExecutionRoleArn" => String.t() | atom(),
        "IsActivated" => boolean(),
        "IsDefaultVersion" => boolean(),
        "LastUpdated" => non_neg_integer(),
        "LatestPublicVersion" => String.t() | atom(),
        "LoggingConfig" => logging_config(),
        "OriginalTypeArn" => String.t() | atom(),
        "OriginalTypeName" => String.t() | atom(),
        "ProvisioningType" => list(any()),
        "PublicVersionNumber" => String.t() | atom(),
        "PublisherId" => String.t() | atom(),
        "RequiredActivatedTypes" => list(required_activated_type()),
        "Schema" => String.t() | atom(),
        "SourceUrl" => String.t() | atom(),
        "TimeCreated" => non_neg_integer(),
        "Type" => list(any()),
        "TypeName" => String.t() | atom(),
        "TypeTestsStatus" => list(any()),
        "TypeTestsStatusDescription" => String.t() | atom(),
        "Visibility" => list(any())
      }
      
  """
  @type describe_type_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      required_activated_type() :: %{
        "OriginalTypeName" => String.t() | atom(),
        "PublisherId" => String.t() | atom(),
        "SupportedMajorVersions" => list(integer()),
        "TypeNameAlias" => String.t() | atom()
      }
      
  """
  @type required_activated_type() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      change_set_hook() :: %{
        "FailureMode" => list(any()),
        "InvocationPoint" => list(any()),
        "TargetDetails" => change_set_hook_target_details(),
        "TypeConfigurationVersionId" => String.t() | atom(),
        "TypeName" => String.t() | atom(),
        "TypeVersionId" => String.t() | atom()
      }
      
  """
  @type change_set_hook() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      cancel_update_stack_input() :: %{
        optional("ClientRequestToken") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type cancel_update_stack_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      start_resource_scan_input() :: %{
        optional("ClientRequestToken") => String.t() | atom(),
        optional("ScanFilters") => list(scan_filter())
      }
      
  """
  @type start_resource_scan_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      list_stack_resources_input() :: %{
        optional("NextToken") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type list_stack_resources_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      continue_update_rollback_input() :: %{
        optional("ClientRequestToken") => String.t() | atom(),
        optional("ResourcesToSkip") => list(String.t() | atom()),
        optional("RoleARN") => String.t() | atom(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type continue_update_rollback_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_stack_input() :: %{
        optional("Capabilities") => list(list(any())()),
        optional("ClientRequestToken") => String.t() | atom(),
        optional("DisableRollback") => boolean(),
        optional("NotificationARNs") => list(String.t() | atom()),
        optional("Parameters") => list(parameter()),
        optional("ResourceTypes") => list(String.t() | atom()),
        optional("RetainExceptOnCreate") => boolean(),
        optional("RoleARN") => String.t() | atom(),
        optional("RollbackConfiguration") => rollback_configuration(),
        optional("StackPolicyBody") => String.t() | atom(),
        optional("StackPolicyDuringUpdateBody") => String.t() | atom(),
        optional("StackPolicyDuringUpdateURL") => String.t() | atom(),
        optional("StackPolicyURL") => String.t() | atom(),
        optional("Tags") => list(tag()),
        optional("TemplateBody") => String.t() | atom(),
        optional("TemplateURL") => String.t() | atom(),
        optional("UsePreviousTemplate") => boolean(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type update_stack_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      get_template_summary_input() :: %{
        optional("CallAs") => list(any()),
        optional("StackName") => String.t() | atom(),
        optional("StackSetName") => String.t() | atom(),
        optional("TemplateBody") => String.t() | atom(),
        optional("TemplateSummaryConfig") => template_summary_config(),
        optional("TemplateURL") => String.t() | atom()
      }
      
  """
  @type get_template_summary_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      delete_stack_instances_input() :: %{
        optional("Accounts") => list(String.t() | atom()),
        optional("CallAs") => list(any()),
        optional("DeploymentTargets") => deployment_targets(),
        optional("OperationId") => String.t() | atom(),
        optional("OperationPreferences") => stack_set_operation_preferences(),
        required("Regions") => list(String.t() | atom()),
        required("RetainStacks") => boolean(),
        required("StackSetName") => String.t() | atom()
      }
      
  """
  @type delete_stack_instances_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      change_set_not_found_exception() :: %{
        "Message" => String.t() | atom()
      }
      
  """
  @type change_set_not_found_exception() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      set_type_configuration_input() :: %{
        optional("ConfigurationAlias") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeArn") => String.t() | atom(),
        optional("TypeName") => String.t() | atom(),
        required("Configuration") => String.t() | atom()
      }
      
  """
  @type set_type_configuration_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      detect_stack_resource_drift_output() :: %{
        "StackResourceDrift" => stack_resource_drift()
      }
      
  """
  @type detect_stack_resource_drift_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_organizations_access_output() :: %{
        "Status" => list(any())
      }
      
  """
  @type describe_organizations_access_output() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      change() :: %{
        "HookInvocationCount" => integer(),
        "ResourceChange" => resource_change(),
        "Type" => list(any())
      }
      
  """
  @type change() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      template_parameter() :: %{
        "DefaultValue" => String.t() | atom(),
        "Description" => String.t() | atom(),
        "NoEcho" => boolean(),
        "ParameterKey" => String.t() | atom()
      }
      
  """
  @type template_parameter() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      describe_type_input() :: %{
        optional("Arn") => String.t() | atom(),
        optional("PublicVersionNumber") => String.t() | atom(),
        optional("PublisherId") => String.t() | atom(),
        optional("Type") => list(any()),
        optional("TypeName") => String.t() | atom(),
        optional("VersionId") => String.t() | atom()
      }
      
  """
  @type describe_type_input() :: %{(String.t() | atom()) => any()}

  @typedoc """

  ## Example:
      
      update_termination_protection_input() :: %{
        required("EnableTerminationProtection") => boolean(),
        required("StackName") => String.t() | atom()
      }
      
  """
  @type update_termination_protection_input() :: %{(String.t() | atom()) => any()}

  @type activate_organizations_access_errors() ::
          operation_not_found_exception() | invalid_operation_exception()

  @type activate_type_errors() :: type_not_found_exception() | c_f_n_registry_exception()

  @type batch_describe_type_configurations_errors() ::
          c_f_n_registry_exception() | type_configuration_not_found_exception()

  @type cancel_update_stack_errors() :: token_already_exists_exception()

  @type continue_update_rollback_errors() :: token_already_exists_exception()

  @type create_change_set_errors() ::
          already_exists_exception()
          | limit_exceeded_exception()
          | insufficient_capabilities_exception()

  @type create_generated_template_errors() ::
          already_exists_exception()
          | limit_exceeded_exception()
          | concurrent_resources_limit_exceeded_exception()

  @type create_stack_errors() ::
          already_exists_exception()
          | limit_exceeded_exception()
          | token_already_exists_exception()
          | insufficient_capabilities_exception()

  @type create_stack_instances_errors() ::
          stack_set_not_found_exception()
          | operation_id_already_exists_exception()
          | stale_request_exception()
          | operation_in_progress_exception()
          | limit_exceeded_exception()
          | invalid_operation_exception()

  @type create_stack_set_errors() ::
          created_but_modified_exception()
          | name_already_exists_exception()
          | limit_exceeded_exception()

  @type deactivate_organizations_access_errors() ::
          operation_not_found_exception() | invalid_operation_exception()

  @type deactivate_type_errors() :: type_not_found_exception() | c_f_n_registry_exception()

  @type delete_change_set_errors() :: invalid_change_set_status_exception()

  @type delete_generated_template_errors() ::
          generated_template_not_found_exception()
          | concurrent_resources_limit_exceeded_exception()

  @type delete_stack_errors() :: token_already_exists_exception()

  @type delete_stack_instances_errors() ::
          stack_set_not_found_exception()
          | operation_id_already_exists_exception()
          | stale_request_exception()
          | operation_in_progress_exception()
          | invalid_operation_exception()

  @type delete_stack_set_errors() ::
          stack_set_not_empty_exception() | operation_in_progress_exception()

  @type deregister_type_errors() :: type_not_found_exception() | c_f_n_registry_exception()

  @type describe_change_set_errors() :: change_set_not_found_exception()

  @type describe_change_set_hooks_errors() :: change_set_not_found_exception()

  @type describe_generated_template_errors() :: generated_template_not_found_exception()

  @type describe_organizations_access_errors() ::
          operation_not_found_exception() | invalid_operation_exception()

  @type describe_publisher_errors() :: c_f_n_registry_exception()

  @type describe_resource_scan_errors() :: resource_scan_not_found_exception()

  @type describe_stack_instance_errors() ::
          stack_instance_not_found_exception() | stack_set_not_found_exception()

  @type describe_stack_refactor_errors() :: stack_refactor_not_found_exception()

  @type describe_stack_set_errors() :: stack_set_not_found_exception()

  @type describe_stack_set_operation_errors() ::
          operation_not_found_exception() | stack_set_not_found_exception()

  @type describe_type_errors() :: type_not_found_exception() | c_f_n_registry_exception()

  @type describe_type_registration_errors() :: c_f_n_registry_exception()

  @type detect_stack_set_drift_errors() ::
          stack_set_not_found_exception()
          | operation_in_progress_exception()
          | invalid_operation_exception()

  @type execute_change_set_errors() ::
          change_set_not_found_exception()
          | invalid_change_set_status_exception()
          | token_already_exists_exception()
          | insufficient_capabilities_exception()

  @type get_generated_template_errors() :: generated_template_not_found_exception()

  @type get_hook_result_errors() :: hook_result_not_found_exception()

  @type get_template_errors() :: change_set_not_found_exception()

  @type get_template_summary_errors() :: stack_set_not_found_exception()

  @type import_stacks_to_stack_set_errors() ::
          stack_set_not_found_exception()
          | stack_not_found_exception()
          | operation_id_already_exists_exception()
          | stale_request_exception()
          | operation_in_progress_exception()
          | limit_exceeded_exception()
          | invalid_operation_exception()

  @type list_hook_results_errors() :: hook_result_not_found_exception()

  @type list_resource_scan_related_resources_errors() ::
          resource_scan_not_found_exception() | resource_scan_in_progress_exception()

  @type list_resource_scan_resources_errors() ::
          resource_scan_not_found_exception() | resource_scan_in_progress_exception()

  @type list_stack_instance_resource_drifts_errors() ::
          stack_instance_not_found_exception()
          | operation_not_found_exception()
          | stack_set_not_found_exception()

  @type list_stack_instances_errors() :: stack_set_not_found_exception()

  @type list_stack_set_auto_deployment_targets_errors() :: stack_set_not_found_exception()

  @type list_stack_set_operation_results_errors() ::
          operation_not_found_exception() | stack_set_not_found_exception()

  @type list_stack_set_operations_errors() :: stack_set_not_found_exception()

  @type list_type_registrations_errors() :: c_f_n_registry_exception()

  @type list_type_versions_errors() :: c_f_n_registry_exception()

  @type list_types_errors() :: c_f_n_registry_exception()

  @type publish_type_errors() :: type_not_found_exception() | c_f_n_registry_exception()

  @type record_handler_progress_errors() ::
          operation_status_check_failed_exception() | invalid_state_transition_exception()

  @type register_publisher_errors() :: c_f_n_registry_exception()

  @type register_type_errors() :: c_f_n_registry_exception()

  @type rollback_stack_errors() :: token_already_exists_exception()

  @type set_type_configuration_errors() :: type_not_found_exception() | c_f_n_registry_exception()

  @type set_type_default_version_errors() ::
          type_not_found_exception() | c_f_n_registry_exception()

  @type start_resource_scan_errors() ::
          resource_scan_limit_exceeded_exception() | resource_scan_in_progress_exception()

  @type stop_stack_set_operation_errors() ::
          operation_not_found_exception()
          | stack_set_not_found_exception()
          | invalid_operation_exception()

  @type test_type_errors() :: type_not_found_exception() | c_f_n_registry_exception()

  @type update_generated_template_errors() ::
          generated_template_not_found_exception()
          | already_exists_exception()
          | limit_exceeded_exception()

  @type update_stack_errors() ::
          token_already_exists_exception() | insufficient_capabilities_exception()

  @type update_stack_instances_errors() ::
          stack_instance_not_found_exception()
          | stack_set_not_found_exception()
          | operation_id_already_exists_exception()
          | stale_request_exception()
          | operation_in_progress_exception()
          | invalid_operation_exception()

  @type update_stack_set_errors() ::
          stack_instance_not_found_exception()
          | stack_set_not_found_exception()
          | operation_id_already_exists_exception()
          | stale_request_exception()
          | operation_in_progress_exception()
          | invalid_operation_exception()

  def metadata do
    %{
      api_version: "2010-05-15",
      content_type: "application/x-www-form-urlencoded",
      credential_scope: nil,
      endpoint_prefix: "cloudformation",
      global?: false,
      hostname: nil,
      protocol: "query",
      service_id: "CloudFormation",
      signature_version: "v4",
      signing_name: "cloudformation",
      target_prefix: "CloudFormation"
    }
  end

  @doc """
  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.
  """
  @spec activate_organizations_access(map(), activate_organizations_access_input(), list()) ::
          {:ok, activate_organizations_access_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, activate_organizations_access_errors()}
  def activate_organizations_access(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ActivateOrganizationsAccess", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html) to set specific properties for the extension.

  To see which extensions have been activated, use
  [ListTypes](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListTypes.html).
  To see
  configuration details for an extension, use
  [DescribeType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html).   For more information, see [Activate a
  third-party public extension in your
  account](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public-activate-extension.html)
  in the
  *CloudFormation User Guide*. For information about creating Hooks, see the
  [CloudFormation Hooks User Guide](https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html).
  """
  @spec activate_type(map(), activate_type_input(), list()) ::
          {:ok, activate_type_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, activate_type_errors()}
  def activate_type(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ActivateType", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html)
  in the
  *CloudFormation User Guide*.
  """
  @spec batch_describe_type_configurations(
          map(),
          batch_describe_type_configurations_input(),
          list()
        ) ::
          {:ok, batch_describe_type_configurations_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, batch_describe_type_configurations_errors()}
  def batch_describe_type_configurations(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "BatchDescribeTypeConfigurations", input, options)
  end

  @doc """
  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.
  """
  @spec cancel_update_stack(map(), cancel_update_stack_input(), list()) ::
          {:ok, nil, any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, cancel_update_stack_errors()}
  def cancel_update_stack(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "CancelUpdateStack", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-continueupdaterollback.html)
  in the *CloudFormation User Guide*. For
  information for troubleshooting a failed update rollback, see [Update rollback failed](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/troubleshooting.html#troubleshooting-errors-update-rollback-failed).
  """
  @spec continue_update_rollback(map(), continue_update_rollback_input(), list()) ::
          {:ok, continue_update_rollback_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, continue_update_rollback_errors()}
  def continue_update_rollback(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ContinueUpdateRollback", input, options)
  end

  @doc """
  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`.
  """
  @spec create_change_set(map(), create_change_set_input(), list()) ::
          {:ok, create_change_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, create_change_set_errors()}
  def create_change_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "CreateChangeSet", input, options)
  end

  @doc """
  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.
  """
  @spec create_generated_template(map(), create_generated_template_input(), list()) ::
          {:ok, create_generated_template_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, create_generated_template_errors()}
  def create_generated_template(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "CreateGeneratedTemplate", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html)
  in the
  *CloudFormation User Guide*.
  """
  @spec create_stack(map(), create_stack_input(), list()) ::
          {:ok, create_stack_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, create_stack_errors()}
  def create_stack(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "CreateStack", input, options)
  end

  @doc """
  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.
  """
  @spec create_stack_instances(map(), create_stack_instances_input(), list()) ::
          {:ok, create_stack_instances_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, create_stack_instances_errors()}
  def create_stack_instances(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "CreateStackInstances", input, options)
  end

  @doc """
  Creates a refactor across multiple stacks, with the list of stacks and resources
  that are
  affected.
  """
  @spec create_stack_refactor(map(), create_stack_refactor_input(), list()) ::
          {:ok, create_stack_refactor_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def create_stack_refactor(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "CreateStackRefactor", input, options)
  end

  @doc """
  Creates a StackSet.
  """
  @spec create_stack_set(map(), create_stack_set_input(), list()) ::
          {:ok, create_stack_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, create_stack_set_errors()}
  def create_stack_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "CreateStackSet", input, options)
  end

  @doc """
  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.
  """
  @spec deactivate_organizations_access(map(), deactivate_organizations_access_input(), list()) ::
          {:ok, deactivate_organizations_access_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, deactivate_organizations_access_errors()}
  def deactivate_organizations_access(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DeactivateOrganizationsAccess", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html).   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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListTypes.html).
  """
  @spec deactivate_type(map(), deactivate_type_input(), list()) ::
          {:ok, deactivate_type_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, deactivate_type_errors()}
  def deactivate_type(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DeactivateType", input, options)
  end

  @doc """
  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`.
  """
  @spec delete_change_set(map(), delete_change_set_input(), list()) ::
          {:ok, delete_change_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, delete_change_set_errors()}
  def delete_change_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DeleteChangeSet", input, options)
  end

  @doc """
  Deleted a generated template.
  """
  @spec delete_generated_template(map(), delete_generated_template_input(), list()) ::
          {:ok, nil, any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, delete_generated_template_errors()}
  def delete_generated_template(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DeleteGeneratedTemplate", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-delete-stack.html)
  in the *CloudFormation User Guide*.
  """
  @spec delete_stack(map(), delete_stack_input(), list()) ::
          {:ok, nil, any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, delete_stack_errors()}
  def delete_stack(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DeleteStack", input, options)
  end

  @doc """
  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.
  """
  @spec delete_stack_instances(map(), delete_stack_instances_input(), list()) ::
          {:ok, delete_stack_instances_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, delete_stack_instances_errors()}
  def delete_stack_instances(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DeleteStackInstances", input, options)
  end

  @doc """
  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`.
  """
  @spec delete_stack_set(map(), delete_stack_set_input(), list()) ::
          {:ok, delete_stack_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, delete_stack_set_errors()}
  def delete_stack_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DeleteStackSet", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html).   For more information, see [Remove
  third-party private extensions from your
  account](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-private-deregister-extension.html)
  in the
  *CloudFormation User Guide*.
  """
  @spec deregister_type(map(), deregister_type_input(), list()) ::
          {:ok, deregister_type_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, deregister_type_errors()}
  def deregister_type(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DeregisterType", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html)
  in the *CloudFormation User Guide*.
  """
  @spec describe_account_limits(map(), describe_account_limits_input(), list()) ::
          {:ok, describe_account_limits_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def describe_account_limits(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeAccountLimits", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-changesets.html)
  in the
  *CloudFormation User Guide*.
  """
  @spec describe_change_set(map(), describe_change_set_input(), list()) ::
          {:ok, describe_change_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_change_set_errors()}
  def describe_change_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeChangeSet", input, options)
  end

  @doc """
  Returns Hook-related information for the change set and a list of changes that
  CloudFormation makes when you run the change set.
  """
  @spec describe_change_set_hooks(map(), describe_change_set_hooks_input(), list()) ::
          {:ok, describe_change_set_hooks_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_change_set_hooks_errors()}
  def describe_change_set_hooks(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeChangeSetHooks", input, options)
  end

  @doc """
  Returns CloudFormation events based on flexible query criteria.

  Groups events by operation ID,
  enabling you to focus on individual stack operations during deployment.

  An operation is any action performed on a stack, including stack lifecycle
  actions
  (Create, Update, Delete, Rollback), change set creation, nested stack creation,
  and automatic
  rollbacks triggered by failures. Each operation has a unique identifier
  (Operation ID) and
  represents a discrete change attempt on the stack.

  Returns different types of events including:

    *

  **Progress events** - Status updates during stack operation
  execution.

    *

  **Validation errors** - Failures from CloudFormation Early
  Validations.

    *

  **Provisioning errors** - Resource creation and update
  failures.

    *

  **Hook invocation errors** - Failures from CloudFormation
  Hook during stack operations.

  One of `ChangeSetName`, `OperationId` or `StackName`
  must be specified as input.
  """
  @spec describe_events(map(), describe_events_input(), list()) ::
          {:ok, describe_events_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def describe_events(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeEvents", input, options)
  end

  @doc """
  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.
  """
  @spec describe_generated_template(map(), describe_generated_template_input(), list()) ::
          {:ok, describe_generated_template_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_generated_template_errors()}
  def describe_generated_template(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeGeneratedTemplate", input, options)
  end

  @doc """
  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.
  """
  @spec describe_organizations_access(map(), describe_organizations_access_input(), list()) ::
          {:ok, describe_organizations_access_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_organizations_access_errors()}
  def describe_organizations_access(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeOrganizationsAccess", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html) 

    *

  [Publishing extensions
  to make them available for public
  use](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html)
  in the
  *CloudFormation Command Line Interface (CLI) User Guide*
  """
  @spec describe_publisher(map(), describe_publisher_input(), list()) ::
          {:ok, describe_publisher_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_publisher_errors()}
  def describe_publisher(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribePublisher", input, options)
  end

  @doc """
  Describes details of a resource scan.
  """
  @spec describe_resource_scan(map(), describe_resource_scan_input(), list()) ::
          {:ok, describe_resource_scan_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_resource_scan_errors()}
  def describe_resource_scan(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeResourceScan", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html).

  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.
  """
  @spec describe_stack_drift_detection_status(
          map(),
          describe_stack_drift_detection_status_input(),
          list()
        ) ::
          {:ok, describe_stack_drift_detection_status_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def describe_stack_drift_detection_status(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackDriftDetectionStatus", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html)
  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).
  """
  @spec describe_stack_events(map(), describe_stack_events_input(), list()) ::
          {:ok, describe_stack_events_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def describe_stack_events(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackEvents", input, options)
  end

  @doc """
  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`.
  """
  @spec describe_stack_instance(map(), describe_stack_instance_input(), list()) ::
          {:ok, describe_stack_instance_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_stack_instance_errors()}
  def describe_stack_instance(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackInstance", input, options)
  end

  @doc """
  Describes the stack refactor status.
  """
  @spec describe_stack_refactor(map(), describe_stack_refactor_input(), list()) ::
          {:ok, describe_stack_refactor_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_stack_refactor_errors()}
  def describe_stack_refactor(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackRefactor", input, options)
  end

  @doc """
  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.
  """
  @spec describe_stack_resource(map(), describe_stack_resource_input(), list()) ::
          {:ok, describe_stack_resource_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def describe_stack_resource(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackResource", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html).

  Use `DetectStackResourceDrift` to detect drift on individual resources, or
  `DetectStackDrift` to detect drift on all supported resources for a given
  stack.
  """
  @spec describe_stack_resource_drifts(map(), describe_stack_resource_drifts_input(), list()) ::
          {:ok, describe_stack_resource_drifts_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def describe_stack_resource_drifts(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackResourceDrifts", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/).

  A `ValidationError` is returned if you specify both `StackName`
  and `PhysicalResourceId` in the same request.
  """
  @spec describe_stack_resources(map(), describe_stack_resources_input(), list()) ::
          {:ok, describe_stack_resources_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def describe_stack_resources(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackResources", input, options)
  end

  @doc """
  Returns the description of the specified StackSet.

  This API provides *strongly consistent* reads meaning it will always
  return the most up-to-date data.
  """
  @spec describe_stack_set(map(), describe_stack_set_input(), list()) ::
          {:ok, describe_stack_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_stack_set_errors()}
  def describe_stack_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackSet", input, options)
  end

  @doc """
  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.
  """
  @spec describe_stack_set_operation(map(), describe_stack_set_operation_input(), list()) ::
          {:ok, describe_stack_set_operation_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_stack_set_operation_errors()}
  def describe_stack_set_operation(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStackSetOperation", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stack-resource-configuration-complete.html)
  in the
  *CloudFormation User Guide*.

  If the stack doesn't exist, a `ValidationError` is returned.
  """
  @spec describe_stacks(map(), describe_stacks_input(), list()) ::
          {:ok, describe_stacks_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def describe_stacks(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeStacks", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html)
  in the
  *CloudFormation User Guide*.
  """
  @spec describe_type(map(), describe_type_input(), list()) ::
          {:ok, describe_type_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_type_errors()}
  def describe_type(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeType", input, options)
  end

  @doc """
  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.
  """
  @spec describe_type_registration(map(), describe_type_registration_input(), list()) ::
          {:ok, describe_type_registration_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, describe_type_registration_errors()}
  def describe_type_registration(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DescribeTypeRegistration", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html).

  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html).

  `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.
  """
  @spec detect_stack_drift(map(), detect_stack_drift_input(), list()) ::
          {:ok, detect_stack_drift_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def detect_stack_drift(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DetectStackDrift", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html).

  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html).
  """
  @spec detect_stack_resource_drift(map(), detect_stack_resource_drift_input(), list()) ::
          {:ok, detect_stack_resource_drift_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def detect_stack_resource_drift(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DetectStackResourceDrift", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html).

  `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`.
  """
  @spec detect_stack_set_drift(map(), detect_stack_set_drift_input(), list()) ::
          {:ok, detect_stack_set_drift_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, detect_stack_set_drift_errors()}
  def detect_stack_set_drift(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "DetectStackSetDrift", input, options)
  end

  @doc """
  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.
  """
  @spec estimate_template_cost(map(), estimate_template_cost_input(), list()) ::
          {:ok, estimate_template_cost_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def estimate_template_cost(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "EstimateTemplateCost", input, options)
  end

  @doc """
  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`.
  """
  @spec execute_change_set(map(), execute_change_set_input(), list()) ::
          {:ok, execute_change_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, execute_change_set_errors()}
  def execute_change_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ExecuteChangeSet", input, options)
  end

  @doc """
  Executes the stack refactor operation.
  """
  @spec execute_stack_refactor(map(), execute_stack_refactor_input(), list()) ::
          {:ok, nil, any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def execute_stack_refactor(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ExecuteStackRefactor", input, options)
  end

  @doc """
  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.
  """
  @spec get_generated_template(map(), get_generated_template_input(), list()) ::
          {:ok, get_generated_template_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, get_generated_template_errors()}
  def get_generated_template(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "GetGeneratedTemplate", input, options)
  end

  @doc """
  Retrieves detailed information and remediation guidance for a Hook invocation
  result.

  If the Hook uses a KMS key to encrypt annotations, callers of the
  `GetHookResult` operation must have `kms:Decrypt` permissions. For
  more information, see [KMS key policy and permissions for encrypting CloudFormation Hooks results at
  rest](https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-kms-key-policy.html)
  in the
  *CloudFormation Hooks User Guide*.
  """
  @spec get_hook_result(map(), get_hook_result_input(), list()) ::
          {:ok, get_hook_result_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, get_hook_result_errors()}
  def get_hook_result(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "GetHookResult", input, options)
  end

  @doc """
  Returns the stack policy for a specified stack.

  If a stack doesn't have a policy, a null
  value is returned.
  """
  @spec get_stack_policy(map(), get_stack_policy_input(), list()) ::
          {:ok, get_stack_policy_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def get_stack_policy(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "GetStackPolicy", input, options)
  end

  @doc """
  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.
  """
  @spec get_template(map(), get_template_input(), list()) ::
          {:ok, get_template_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, get_template_errors()}
  def get_template(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "GetTemplate", input, options)
  end

  @doc """
  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.
  """
  @spec get_template_summary(map(), get_template_summary_input(), list()) ::
          {:ok, get_template_summary_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, get_template_summary_errors()}
  def get_template_summary(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "GetTemplateSummary", input, options)
  end

  @doc """
  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.
  """
  @spec import_stacks_to_stack_set(map(), import_stacks_to_stack_set_input(), list()) ::
          {:ok, import_stacks_to_stack_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, import_stacks_to_stack_set_errors()}
  def import_stacks_to_stack_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ImportStacksToStackSet", input, options)
  end

  @doc """
  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.
  """
  @spec list_change_sets(map(), list_change_sets_input(), list()) ::
          {:ok, list_change_sets_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_change_sets(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListChangeSets", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-importvalue.html)
  function.

  For more information, see [Get exported outputs from a deployed CloudFormation
  stack](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-exports.html).
  """
  @spec list_exports(map(), list_exports_input(), list()) ::
          {:ok, list_exports_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_exports(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListExports", input, options)
  end

  @doc """
  Lists your generated templates in this Region.
  """
  @spec list_generated_templates(map(), list_generated_templates_input(), list()) ::
          {:ok, list_generated_templates_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_generated_templates(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListGeneratedTemplates", input, options)
  end

  @doc """
  Returns summaries of invoked Hooks.

  For more information, see [View invocation summaries for CloudFormation
  Hooks](https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-view-invocations.html)
  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.
  """
  @spec list_hook_results(map(), list_hook_results_input(), list()) ::
          {:ok, list_hook_results_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_hook_results_errors()}
  def list_hook_results(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListHookResults", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/intrinsic-function-reference-importvalue.html)
  function.
  """
  @spec list_imports(map(), list_imports_input(), list()) ::
          {:ok, list_imports_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_imports(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListImports", input, options)
  end

  @doc """
  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.
  """
  @spec list_resource_scan_related_resources(
          map(),
          list_resource_scan_related_resources_input(),
          list()
        ) ::
          {:ok, list_resource_scan_related_resources_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_resource_scan_related_resources_errors()}
  def list_resource_scan_related_resources(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListResourceScanRelatedResources", input, options)
  end

  @doc """
  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.
  """
  @spec list_resource_scan_resources(map(), list_resource_scan_resources_input(), list()) ::
          {:ok, list_resource_scan_resources_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_resource_scan_resources_errors()}
  def list_resource_scan_resources(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListResourceScanResources", input, options)
  end

  @doc """
  List the resource scans from newest to oldest.

  By default it will return up to 10 resource
  scans.
  """
  @spec list_resource_scans(map(), list_resource_scans_input(), list()) ::
          {:ok, list_resource_scans_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_resource_scans(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListResourceScans", input, options)
  end

  @doc """
  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.
  """
  @spec list_stack_instance_resource_drifts(
          map(),
          list_stack_instance_resource_drifts_input(),
          list()
        ) ::
          {:ok, list_stack_instance_resource_drifts_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_stack_instance_resource_drifts_errors()}
  def list_stack_instance_resource_drifts(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackInstanceResourceDrifts", input, options)
  end

  @doc """
  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.
  """
  @spec list_stack_instances(map(), list_stack_instances_input(), list()) ::
          {:ok, list_stack_instances_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_stack_instances_errors()}
  def list_stack_instances(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackInstances", input, options)
  end

  @doc """
  Lists the stack refactor actions that will be taken after calling the
  `ExecuteStackRefactor` action.
  """
  @spec list_stack_refactor_actions(map(), list_stack_refactor_actions_input(), list()) ::
          {:ok, list_stack_refactor_actions_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_stack_refactor_actions(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackRefactorActions", input, options)
  end

  @doc """
  Lists all account stack refactor operations and their statuses.
  """
  @spec list_stack_refactors(map(), list_stack_refactors_input(), list()) ::
          {:ok, list_stack_refactors_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_stack_refactors(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackRefactors", input, options)
  end

  @doc """
  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.
  """
  @spec list_stack_resources(map(), list_stack_resources_input(), list()) ::
          {:ok, list_stack_resources_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_stack_resources(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackResources", input, options)
  end

  @doc """
  Returns summary information about deployment targets for a StackSet.
  """
  @spec list_stack_set_auto_deployment_targets(
          map(),
          list_stack_set_auto_deployment_targets_input(),
          list()
        ) ::
          {:ok, list_stack_set_auto_deployment_targets_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_stack_set_auto_deployment_targets_errors()}
  def list_stack_set_auto_deployment_targets(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackSetAutoDeploymentTargets", input, options)
  end

  @doc """
  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.
  """
  @spec list_stack_set_operation_results(map(), list_stack_set_operation_results_input(), list()) ::
          {:ok, list_stack_set_operation_results_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_stack_set_operation_results_errors()}
  def list_stack_set_operation_results(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackSetOperationResults", input, options)
  end

  @doc """
  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.
  """
  @spec list_stack_set_operations(map(), list_stack_set_operations_input(), list()) ::
          {:ok, list_stack_set_operations_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_stack_set_operations_errors()}
  def list_stack_set_operations(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackSetOperations", input, options)
  end

  @doc """
  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.
  """
  @spec list_stack_sets(map(), list_stack_sets_input(), list()) ::
          {:ok, list_stack_sets_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_stack_sets(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStackSets", input, options)
  end

  @doc """
  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).
  """
  @spec list_stacks(map(), list_stacks_input(), list()) ::
          {:ok, list_stacks_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def list_stacks(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListStacks", input, options)
  end

  @doc """
  Returns a list of registration tokens for the specified extension(s).
  """
  @spec list_type_registrations(map(), list_type_registrations_input(), list()) ::
          {:ok, list_type_registrations_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_type_registrations_errors()}
  def list_type_registrations(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListTypeRegistrations", input, options)
  end

  @doc """
  Returns summary information about the versions of an extension.
  """
  @spec list_type_versions(map(), list_type_versions_input(), list()) ::
          {:ok, list_type_versions_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_type_versions_errors()}
  def list_type_versions(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListTypeVersions", input, options)
  end

  @doc """
  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.
  """
  @spec list_types(map(), list_types_input(), list()) ::
          {:ok, list_types_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, list_types_errors()}
  def list_types(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ListTypes", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html)
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html).
  """
  @spec publish_type(map(), publish_type_input(), list()) ::
          {:ok, publish_type_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, publish_type_errors()}
  def publish_type(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "PublishType", input, options)
  end

  @doc """
  Reports progress of a resource handler to CloudFormation.

  Reserved for use by the [CloudFormation CLI](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html).
  Don't use this API in your code.
  """
  @spec record_handler_progress(map(), record_handler_progress_input(), list()) ::
          {:ok, record_handler_progress_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, record_handler_progress_errors()}
  def record_handler_progress(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "RecordHandlerProgress", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-prereqs)
  in the
  *CloudFormation Command Line Interface (CLI) User Guide*.
  """
  @spec register_publisher(map(), register_publisher_input(), list()) ::
          {:ok, register_publisher_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, register_publisher_errors()}
  def register_publisher(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "RegisterPublisher", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-types.html)
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DeregisterType.html) 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html)
  to specify configuration properties for the extension. For
  more information, see [Edit configuration data for extensions in your
  account](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html)
  in the
  *CloudFormation User Guide*.
  """
  @spec register_type(map(), register_type_input(), list()) ::
          {:ok, register_type_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, register_type_errors()}
  def register_type(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "RegisterType", input, options)
  end

  @doc """
  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`
  """
  @spec rollback_stack(map(), rollback_stack_input(), list()) ::
          {:ok, rollback_stack_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, rollback_stack_errors()}
  def rollback_stack(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "RollbackStack", input, options)
  end

  @doc """
  Sets a stack policy for a specified stack.
  """
  @spec set_stack_policy(map(), set_stack_policy_input(), list()) ::
          {:ok, nil, any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def set_stack_policy(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "SetStackPolicy", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-set-configuration.html)
  in the
  *CloudFormation User Guide*.

  To view the current configuration data for an extension, refer to the
  `ConfigurationSchema` element of
  [DescribeType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html). 
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/dynamic-references.html)
  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](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-model.html#resource-type-howto-configuration)
  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](https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/what-is-cloudformation-hooks.html).
  """
  @spec set_type_configuration(map(), set_type_configuration_input(), list()) ::
          {:ok, set_type_configuration_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, set_type_configuration_errors()}
  def set_type_configuration(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "SetTypeConfiguration", input, options)
  end

  @doc """
  Specify the default version of an extension.

  The default version of an extension will be
  used in CloudFormation operations.
  """
  @spec set_type_default_version(map(), set_type_default_version_input(), list()) ::
          {:ok, set_type_default_version_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, set_type_default_version_errors()}
  def set_type_default_version(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "SetTypeDefaultVersion", input, options)
  end

  @doc """
  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.
  """
  @spec signal_resource(map(), signal_resource_input(), list()) ::
          {:ok, nil, any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def signal_resource(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "SignalResource", input, options)
  end

  @doc """
  Starts a scan of the resources in this account in this Region.

  You can the status of a
  scan using the `ListResourceScans` API action.
  """
  @spec start_resource_scan(map(), start_resource_scan_input(), list()) ::
          {:ok, start_resource_scan_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, start_resource_scan_errors()}
  def start_resource_scan(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "StartResourceScan", input, options)
  end

  @doc """
  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.
  """
  @spec stop_stack_set_operation(map(), stop_stack_set_operation_input(), list()) ::
          {:ok, stop_stack_set_operation_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, stop_stack_set_operation_errors()}
  def stop_stack_set_operation(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "StopStackSetOperation", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-testing)
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html).   Once you've initiated testing on an extension using `TestType`, you can pass
  the returned `TypeVersionArn` into
  [DescribeType](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeType.html)
  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](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html)
  in the
  *CloudFormation Command Line Interface (CLI) User Guide*.
  """
  @spec test_type(map(), test_type_input(), list()) ::
          {:ok, test_type_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, test_type_errors()}
  def test_type(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "TestType", input, options)
  end

  @doc """
  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.
  """
  @spec update_generated_template(map(), update_generated_template_input(), list()) ::
          {:ok, update_generated_template_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, update_generated_template_errors()}
  def update_generated_template(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "UpdateGeneratedTemplate", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacks.html)
  in the
  *CloudFormation User Guide*.
  """
  @spec update_stack(map(), update_stack_input(), list()) ::
          {:ok, update_stack_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, update_stack_errors()}
  def update_stack(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "UpdateStack", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateStackInstances.html).   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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html)
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStackSet.html)
  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.
  """
  @spec update_stack_instances(map(), update_stack_instances_input(), list()) ::
          {:ok, update_stack_instances_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, update_stack_instances_errors()}
  def update_stack_instances(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "UpdateStackInstances", input, options)
  end

  @doc """
  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.
  """
  @spec update_stack_set(map(), update_stack_set_input(), list()) ::
          {:ok, update_stack_set_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
          | {:error, update_stack_set_errors()}
  def update_stack_set(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "UpdateStackSet", input, options)
  end

  @doc """
  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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-protect-stacks.html)
  in the *CloudFormation User Guide*.

  For [nested stacks](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-nested-stacks.html),
  termination protection is set on the root stack and can't be changed directly on
  the nested
  stack.
  """
  @spec update_termination_protection(map(), update_termination_protection_input(), list()) ::
          {:ok, update_termination_protection_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def update_termination_protection(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "UpdateTerminationProtection", input, options)
  end

  @doc """
  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.
  """
  @spec validate_template(map(), validate_template_input(), list()) ::
          {:ok, validate_template_output(), any()}
          | {:error, {:unexpected_response, any()}}
          | {:error, term()}
  def validate_template(%Client{} = client, input, options \\ []) do
    meta =
      metadata()

    Request.request_post(client, meta, "ValidateTemplate", input, options)
  end
end