1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DescribeType`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`r#type(RegistryType)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::type) / [`set_type(Option<RegistryType>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::set_type): <p>The kind of extension.</p> <p>Conditional: You must specify either <code>TypeName</code> and <code>Type</code>, or <code>Arn</code>.</p>
/// - [`type_name(impl Into<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::type_name) / [`set_type_name(Option<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::set_type_name): <p>The name of the extension.</p> <p>Conditional: You must specify either <code>TypeName</code> and <code>Type</code>, or <code>Arn</code>.</p>
/// - [`arn(impl Into<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::set_arn): <p>The Amazon Resource Name (ARN) of the extension.</p> <p>Conditional: You must specify either <code>TypeName</code> and <code>Type</code>, or <code>Arn</code>.</p>
/// - [`version_id(impl Into<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::set_version_id): <p>The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.</p> <p>If you specify a <code>VersionId</code>, <code>DescribeType</code> returns information about that specific extension version. Otherwise, it returns information about the default extension version.</p>
/// - [`publisher_id(impl Into<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::publisher_id) / [`set_publisher_id(Option<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::set_publisher_id): <p>The publisher ID of the extension publisher.</p> <p>Extensions provided by Amazon Web Services are not assigned a publisher ID.</p>
/// - [`public_version_number(impl Into<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::public_version_number) / [`set_public_version_number(Option<String>)`](crate::operation::describe_type::builders::DescribeTypeFluentBuilder::set_public_version_number): <p>The version number of a public third-party extension.</p>
/// - On success, responds with [`DescribeTypeOutput`](crate::operation::describe_type::DescribeTypeOutput) with field(s):
/// - [`arn(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::arn): <p>The Amazon Resource Name (ARN) of the extension.</p>
/// - [`r#type(Option<RegistryType>)`](crate::operation::describe_type::DescribeTypeOutput::type): <p>The kind of extension.</p>
/// - [`type_name(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::type_name): <p>The name of the extension.</p> <p>If the extension is a public third-party type you have activated with a type name alias, CloudFormation returns the type name alias. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.</p>
/// - [`default_version_id(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::default_version_id): <p>The ID of the default version of the extension. The default version is used when the extension version isn't specified.</p> <p>This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon Web Services and published by third parties, CloudFormation returns <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p> <p>To set the default version of an extension, use <code>SetTypeDefaultVersion</code>.</p>
/// - [`is_default_version(Option<bool>)`](crate::operation::describe_type::DescribeTypeOutput::is_default_version): <p>Whether the specified extension version is set as the default version.</p> <p>This applies only to private extensions you have registered in your account, and extensions published by Amazon Web Services. For public third-party extensions, whether they are activated in your account, CloudFormation returns <code>null</code>.</p>
/// - [`type_tests_status(Option<TypeTestsStatus>)`](crate::operation::describe_type::DescribeTypeOutput::type_tests_status): <p>The contract test status of the registered extension version. To return the extension test status of a specific extension version, you must specify <code>VersionId</code>.</p> <p>This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.</p> <ul> <li> <p> <code>PASSED</code>: The extension has passed all its contract tests.</p> <p>An extension must have a test status of <code>PASSED</code> before it can be published. For more information, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-publish.html">Publishing extensions to make them available for public use</a> in the <i>CloudFormation Command Line Interface User Guide</i>.</p> </li> <li> <p> <code>FAILED</code>: The extension has failed one or more contract tests.</p> </li> <li> <p> <code>IN_PROGRESS</code>: Contract tests are currently being performed on the extension.</p> </li> <li> <p> <code>NOT_TESTED</code>: Contract tests haven't been performed on the extension.</p> </li> </ul>
/// - [`type_tests_status_description(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::type_tests_status_description): <p>The description of the test status. To return the extension test status of a specific extension version, you must specify <code>VersionId</code>.</p> <p>This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.</p>
/// - [`description(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::description): <p>The description of the extension.</p>
/// - [`schema(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::schema): <p>The schema that defines the extension.</p> <p>For more information about extension schemas, see <a href="https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html">Resource Provider Schema</a> in the <i>CloudFormation CLI User Guide</i>.</p>
/// - [`provisioning_type(Option<ProvisioningType>)`](crate::operation::describe_type::DescribeTypeOutput::provisioning_type): <p>For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.</p> <p>Valid values include:</p> <ul> <li> <p> <code>FULLY_MUTABLE</code>: The resource type includes an update handler to process updates to the type during stack update operations.</p> </li> <li> <p> <code>IMMUTABLE</code>: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations.</p> </li> <li> <p> <code>NON_PROVISIONABLE</code>: The resource type doesn't include all the following handlers, and therefore can't actually be provisioned.</p> <ul> <li> <p>create</p> </li> <li> <p>read</p> </li> <li> <p>delete</p> </li> </ul> </li> </ul>
/// - [`deprecated_status(Option<DeprecatedStatus>)`](crate::operation::describe_type::DescribeTypeOutput::deprecated_status): <p>The deprecation status of the extension version.</p> <p>Valid values include:</p> <ul> <li> <p> <code>LIVE</code>: The extension is activated or registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.</p> </li> <li> <p> <code>DEPRECATED</code>: The extension has been deactivated or deregistered and can no longer be used in CloudFormation operations.</p> </li> </ul> <p>For public third-party extensions, CloudFormation returns <code>null</code>.</p>
/// - [`logging_config(Option<LoggingConfig>)`](crate::operation::describe_type::DescribeTypeOutput::logging_config): <p>Contains logging configuration information for private extensions. This applies only to private extensions you have registered in your account. For public extensions, both those provided by Amazon Web Services and published by third parties, CloudFormation returns <code>null</code>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p>
/// - [`required_activated_types(Option<Vec<RequiredActivatedType>>)`](crate::operation::describe_type::DescribeTypeOutput::required_activated_types): <p>For extensions that are modules, the public third-party extensions that must be activated in your account in order for the module itself to be activated.</p>
/// - [`execution_role_arn(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::execution_role_arn): <p>The Amazon Resource Name (ARN) of the IAM execution role used to register the extension. This applies only to private extensions you have registered in your account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p> <p>If the registered extension calls any Amazon Web Services APIs, you must create an <i> <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html">IAM execution role</a> </i> that includes the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your extension with the appropriate credentials.</p>
/// - [`visibility(Option<Visibility>)`](crate::operation::describe_type::DescribeTypeOutput::visibility): <p>The scope at which the extension is visible and usable in CloudFormation operations.</p> <p>Valid values include:</p> <ul> <li> <p> <code>PRIVATE</code>: The extension is only visible and usable within the account in which it is registered. CloudFormation marks any extensions you register as <code>PRIVATE</code>.</p> </li> <li> <p> <code>PUBLIC</code>: The extension is publicly visible and usable within any Amazon Web Services account.</p> </li> </ul>
/// - [`source_url(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::source_url): <p>The URL of the source code for the extension.</p>
/// - [`documentation_url(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::documentation_url): <p>The URL of a page providing detailed documentation for this extension.</p>
/// - [`last_updated(Option<DateTime>)`](crate::operation::describe_type::DescribeTypeOutput::last_updated): <p>When the specified extension version was registered. This applies only to:</p> <ul> <li> <p>Private extensions you have registered in your account. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterType.html">RegisterType</a>.</p> </li> <li> <p>Public extensions you have activated in your account with auto-update specified. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ActivateType.html">ActivateType</a>.</p> </li> </ul>
/// - [`time_created(Option<DateTime>)`](crate::operation::describe_type::DescribeTypeOutput::time_created): <p>When the specified private extension version was registered or activated in your account.</p>
/// - [`configuration_schema(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::configuration_schema): <p>A JSON string that represent the current configuration data for the extension in this account and Region.</p> <p>To set the configuration data for an extension, use <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_SetTypeConfiguration.html">SetTypeConfiguration</a>. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-register.html#registry-set-configuration">Configuring extensions at the account level</a> in the <i>CloudFormation User Guide</i>.</p>
/// - [`publisher_id(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::publisher_id): <p>The publisher ID of the extension publisher.</p> <p>This applies only to public third-party extensions. For private registered extensions, and extensions provided by Amazon Web Services, CloudFormation returns <code>null</code>.</p>
/// - [`original_type_name(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::original_type_name): <p>For public extensions that have been activated for this account and Region, the type name of the public extension.</p> <p>If you specified a <code>TypeNameAlias</code> when enabling the extension in this account and Region, CloudFormation treats that alias as the extension's type name within the account and Region, not the type name of the public extension. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable-alias">Specifying aliases to refer to extensions</a> in the <i>CloudFormation User Guide</i>.</p>
/// - [`original_type_arn(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::original_type_arn): <p>For public extensions that have been activated for this account and Region, the Amazon Resource Name (ARN) of the public extension.</p>
/// - [`public_version_number(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::public_version_number): <p>The version number of a public third-party extension.</p> <p>This applies only if you specify a public extension you have activated in your account, or specify a public extension without specifying a version. For all other extensions, CloudFormation returns <code>null</code>.</p>
/// - [`latest_public_version(Option<String>)`](crate::operation::describe_type::DescribeTypeOutput::latest_public_version): <p>The latest version of a public extension <i>that is available</i> for use.</p> <p>This only applies if you specify a public extension, and you don't specify a version. For all other requests, CloudFormation returns <code>null</code>.</p>
/// - [`is_activated(Option<bool>)`](crate::operation::describe_type::DescribeTypeOutput::is_activated): <p>Whether the extension is activated in the account and Region.</p> <p>This only applies to public third-party extensions. For all other extensions, CloudFormation returns <code>null</code>.</p>
/// - [`auto_update(Option<bool>)`](crate::operation::describe_type::DescribeTypeOutput::auto_update): <p>Whether CloudFormation automatically updates the extension in this account and Region when a new <i>minor</i> version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry-public.html#registry-public-enable">Activating public extensions for use in your account</a> in the <i>CloudFormation User Guide</i>.</p>
/// - On failure, responds with [`SdkError<DescribeTypeError>`](crate::operation::describe_type::DescribeTypeError)
pub fn describe_type(&self) -> crate::operation::describe_type::builders::DescribeTypeFluentBuilder {
crate::operation::describe_type::builders::DescribeTypeFluentBuilder::new(self.handle.clone())
}
}