Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns detailed information about an extension that has been registered.
If you specify a VersionId
, DescribeType
returns information about
that specific extension version. Otherwise, it returns information about
the default extension version.
Synopsis
- data DescribeType = DescribeType' {}
- newDescribeType :: DescribeType
- describeType_arn :: Lens' DescribeType (Maybe Text)
- describeType_publicVersionNumber :: Lens' DescribeType (Maybe Text)
- describeType_publisherId :: Lens' DescribeType (Maybe Text)
- describeType_type :: Lens' DescribeType (Maybe RegistryType)
- describeType_typeName :: Lens' DescribeType (Maybe Text)
- describeType_versionId :: Lens' DescribeType (Maybe Text)
- data DescribeTypeResponse = DescribeTypeResponse' {
- arn :: Maybe Text
- autoUpdate :: Maybe Bool
- configurationSchema :: Maybe Text
- defaultVersionId :: Maybe Text
- deprecatedStatus :: Maybe DeprecatedStatus
- description :: Maybe Text
- documentationUrl :: Maybe Text
- executionRoleArn :: Maybe Text
- isActivated :: Maybe Bool
- isDefaultVersion :: Maybe Bool
- lastUpdated :: Maybe ISO8601
- latestPublicVersion :: Maybe Text
- loggingConfig :: Maybe LoggingConfig
- originalTypeArn :: Maybe Text
- originalTypeName :: Maybe Text
- provisioningType :: Maybe ProvisioningType
- publicVersionNumber :: Maybe Text
- publisherId :: Maybe Text
- requiredActivatedTypes :: Maybe [RequiredActivatedType]
- schema :: Maybe Text
- sourceUrl :: Maybe Text
- timeCreated :: Maybe ISO8601
- type' :: Maybe RegistryType
- typeName :: Maybe Text
- typeTestsStatus :: Maybe TypeTestsStatus
- typeTestsStatusDescription :: Maybe Text
- visibility :: Maybe Visibility
- httpStatus :: Int
- newDescribeTypeResponse :: Int -> DescribeTypeResponse
- describeTypeResponse_arn :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_autoUpdate :: Lens' DescribeTypeResponse (Maybe Bool)
- describeTypeResponse_configurationSchema :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_defaultVersionId :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_deprecatedStatus :: Lens' DescribeTypeResponse (Maybe DeprecatedStatus)
- describeTypeResponse_description :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_documentationUrl :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_executionRoleArn :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_isActivated :: Lens' DescribeTypeResponse (Maybe Bool)
- describeTypeResponse_isDefaultVersion :: Lens' DescribeTypeResponse (Maybe Bool)
- describeTypeResponse_lastUpdated :: Lens' DescribeTypeResponse (Maybe UTCTime)
- describeTypeResponse_latestPublicVersion :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_loggingConfig :: Lens' DescribeTypeResponse (Maybe LoggingConfig)
- describeTypeResponse_originalTypeArn :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_originalTypeName :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_provisioningType :: Lens' DescribeTypeResponse (Maybe ProvisioningType)
- describeTypeResponse_publicVersionNumber :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_publisherId :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_requiredActivatedTypes :: Lens' DescribeTypeResponse (Maybe [RequiredActivatedType])
- describeTypeResponse_schema :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_sourceUrl :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_timeCreated :: Lens' DescribeTypeResponse (Maybe UTCTime)
- describeTypeResponse_type :: Lens' DescribeTypeResponse (Maybe RegistryType)
- describeTypeResponse_typeName :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_typeTestsStatus :: Lens' DescribeTypeResponse (Maybe TypeTestsStatus)
- describeTypeResponse_typeTestsStatusDescription :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_visibility :: Lens' DescribeTypeResponse (Maybe Visibility)
- describeTypeResponse_httpStatus :: Lens' DescribeTypeResponse Int
Creating a Request
data DescribeType Source #
See: newDescribeType
smart constructor.
DescribeType' | |
|
Instances
newDescribeType :: DescribeType Source #
Create a value of DescribeType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeType
, describeType_arn
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
DescribeType
, describeType_publicVersionNumber
- The version number of a public third-party extension.
DescribeType
, describeType_publisherId
- The publisher ID of the extension publisher.
Extensions provided by Amazon Web Services are not assigned a publisher ID.
DescribeType
, describeType_type
- The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
DescribeType
, describeType_typeName
- The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
DescribeType
, describeType_versionId
- The ID of a specific version of the extension. The version ID is the
value at the end of the Amazon Resource Name (ARN) assigned to the
extension version when it is registered.
If you specify a VersionId
, DescribeType
returns information about
that specific extension version. Otherwise, it returns information about
the default extension version.
Request Lenses
describeType_arn :: Lens' DescribeType (Maybe Text) Source #
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
describeType_publicVersionNumber :: Lens' DescribeType (Maybe Text) Source #
The version number of a public third-party extension.
describeType_publisherId :: Lens' DescribeType (Maybe Text) Source #
The publisher ID of the extension publisher.
Extensions provided by Amazon Web Services are not assigned a publisher ID.
describeType_type :: Lens' DescribeType (Maybe RegistryType) Source #
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
describeType_typeName :: Lens' DescribeType (Maybe Text) Source #
The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
describeType_versionId :: Lens' DescribeType (Maybe Text) Source #
The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
If you specify a VersionId
, DescribeType
returns information about
that specific extension version. Otherwise, it returns information about
the default extension version.
Destructuring the Response
data DescribeTypeResponse Source #
See: newDescribeTypeResponse
smart constructor.
DescribeTypeResponse' | |
|
Instances
newDescribeTypeResponse Source #
Create a value of DescribeTypeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeType
, describeTypeResponse_arn
- The Amazon Resource Name (ARN) of the extension.
$sel:autoUpdate:DescribeTypeResponse'
, describeTypeResponse_autoUpdate
- Whether CloudFormation automatically updates the extension in this
account and region when a new minor version is published by the
extension publisher. Major versions released by the publisher must be
manually updated. For more information, see
Activating public extensions for use in your account
in the CloudFormation User Guide.
$sel:configurationSchema:DescribeTypeResponse'
, describeTypeResponse_configurationSchema
- A JSON string that represent the current configuration data for the
extension in this account and region.
To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.
DescribeTypeResponse
, describeTypeResponse_defaultVersionId
- The ID of the default version of the extension. The default version is
used when the extension version isn't specified.
This applies only to private extensions you have registered in your
account. For public extensions, both those provided by Amazon Web
Services and published by third parties, CloudFormation returns null
.
For more information, see
RegisterType.
To set the default version of an extension, use
SetTypeDefaultVersion
.
$sel:deprecatedStatus:DescribeTypeResponse'
, describeTypeResponse_deprecatedStatus
- The deprecation status of the extension version.
Valid values include:
LIVE
: The extension is activated or registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.DEPRECATED
: The extension has been deactivated or deregistered and can no longer be used in CloudFormation operations.
For public third-party extensions, CloudFormation returns null
.
DescribeTypeResponse
, describeTypeResponse_description
- The description of the extension.
$sel:documentationUrl:DescribeTypeResponse'
, describeTypeResponse_documentationUrl
- The URL of a page providing detailed documentation for this extension.
$sel:executionRoleArn:DescribeTypeResponse'
, describeTypeResponse_executionRoleArn
- The Amazon Resource Name (ARN) of the IAM execution role used to
register the extension. This applies only to private extensions you have
registered in your account. For more information, see
RegisterType.
If the registered extension calls any Amazon Web Services APIs, you must create an <https:docs.aws.amazon.comIAMlatestUserGuideid_roles.html IAM execution role> that includes the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your extension with the appropriate credentials.
DescribeTypeResponse
, describeTypeResponse_isActivated
- Whether the extension is activated in the account and region.
This only applies to public third-party extensions. For all other
extensions, CloudFormation returns null
.
DescribeTypeResponse
, describeTypeResponse_isDefaultVersion
- Whether the specified extension version is set as the default version.
This applies only to private extensions you have registered in your
account, and extensions published by Amazon Web Services. For public
third-party extensions, whether they are activated in your account,
CloudFormation returns null
.
DescribeTypeResponse
, describeTypeResponse_lastUpdated
- When the specified extension version was registered. This applies only
to:
- Private extensions you have registered in your account. For more information, see RegisterType.
- Public extensions you have activated in your account with auto-update specified. For more information, see ActivateType.
DescribeTypeResponse
, describeTypeResponse_latestPublicVersion
- The latest version of a public extension that is available for use.
This only applies if you specify a public extension, and you don't
specify a version. For all other requests, CloudFormation returns
null
.
$sel:loggingConfig:DescribeTypeResponse'
, describeTypeResponse_loggingConfig
- Contains logging configuration information for private extensions. This
applies only to private extensions you have registered in your account.
For public extensions, both those provided by Amazon Web Services and
published by third parties, CloudFormation returns null
. For more
information, see
RegisterType.
$sel:originalTypeArn:DescribeTypeResponse'
, describeTypeResponse_originalTypeArn
- For public extensions that have been activated for this account and
region, the Amazon Resource Name (ARN) of the public extension.
DescribeTypeResponse
, describeTypeResponse_originalTypeName
- For public extensions that have been activated for this account and
region, the type name of the public extension.
If you specified a TypeNameAlias
when enabling the extension in this
account and region, CloudFormation treats that alias as the extension's
type name within the account and region, not the type name of the public
extension. For more information, see
Specifying aliases to refer to extensions
in the CloudFormation User Guide.
$sel:provisioningType:DescribeTypeResponse'
, describeTypeResponse_provisioningType
- For resource type extensions, the provisioning behavior of the resource
type. CloudFormation determines the provisioning type during
registration, based on the types of handlers in the schema handler
package submitted.
Valid values include:
FULLY_MUTABLE
: The resource type includes an update handler to process updates to the type during stack update operations.IMMUTABLE
: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations.NON_PROVISIONABLE
: The resource type doesn't include all the following handlers, and therefore can't actually be provisioned.- create
- read
- delete
DescribeType
, describeTypeResponse_publicVersionNumber
- The version number of a public third-party extension.
This applies only if you specify a public extension you have activated
in your account, or specify a public extension without specifying a
version. For all other extensions, CloudFormation returns null
.
DescribeType
, describeTypeResponse_publisherId
- The publisher ID of the extension publisher.
This applies only to public third-party extensions. For private
registered extensions, and extensions provided by Amazon Web Services,
CloudFormation returns null
.
$sel:requiredActivatedTypes:DescribeTypeResponse'
, describeTypeResponse_requiredActivatedTypes
- 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.
$sel:schema:DescribeTypeResponse'
, describeTypeResponse_schema
- The schema that defines the extension.
For more information about extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.
$sel:sourceUrl:DescribeTypeResponse'
, describeTypeResponse_sourceUrl
- The URL of the source code for the extension.
DescribeTypeResponse
, describeTypeResponse_timeCreated
- When the specified private extension version was registered or activated
in your account.
DescribeType
, describeTypeResponse_type
- The kind of extension.
DescribeType
, describeTypeResponse_typeName
- The name of the extension.
If the extension is a public third-party type you have activated with a type name alias, CloudFormation returns the type name alias. For more information, see ActivateType.
$sel:typeTestsStatus:DescribeTypeResponse'
, describeTypeResponse_typeTestsStatus
- The contract test status of the registered extension version. To return
the extension test status of a specific extension version, you must
specify VersionId
.
This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.
PASSED
: The extension has passed all its contract tests.An extension must have a test status of
PASSED
before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.FAILED
: The extension has failed one or more contract tests.IN_PROGRESS
: Contract tests are currently being performed on the extension.NOT_TESTED
: Contract tests haven't been performed on the extension.
$sel:typeTestsStatusDescription:DescribeTypeResponse'
, describeTypeResponse_typeTestsStatusDescription
- The description of the test status. To return the extension test status
of a specific extension version, you must specify VersionId
.
This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.
$sel:visibility:DescribeTypeResponse'
, describeTypeResponse_visibility
- The scope at which the extension is visible and usable in CloudFormation
operations.
Valid values include:
PRIVATE
: The extension is only visible and usable within the account in which it is registered. CloudFormation marks any extensions you register asPRIVATE
.PUBLIC
: The extension is publicly visible and usable within any Amazon Web Services account.
$sel:httpStatus:DescribeTypeResponse'
, describeTypeResponse_httpStatus
- The response's http status code.
Response Lenses
describeTypeResponse_arn :: Lens' DescribeTypeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the extension.
describeTypeResponse_autoUpdate :: Lens' DescribeTypeResponse (Maybe Bool) Source #
Whether CloudFormation automatically updates the extension in this account and region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. For more information, see Activating public extensions for use in your account in the CloudFormation User Guide.
describeTypeResponse_configurationSchema :: Lens' DescribeTypeResponse (Maybe Text) Source #
A JSON string that represent the current configuration data for the extension in this account and region.
To set the configuration data for an extension, use SetTypeConfiguration. For more information, see Configuring extensions at the account level in the CloudFormation User Guide.
describeTypeResponse_defaultVersionId :: Lens' DescribeTypeResponse (Maybe Text) Source #
The ID of the default version of the extension. The default version is used when the extension version isn't specified.
This applies only to private extensions you have registered in your
account. For public extensions, both those provided by Amazon Web
Services and published by third parties, CloudFormation returns null
.
For more information, see
RegisterType.
To set the default version of an extension, use
SetTypeDefaultVersion
.
describeTypeResponse_deprecatedStatus :: Lens' DescribeTypeResponse (Maybe DeprecatedStatus) Source #
The deprecation status of the extension version.
Valid values include:
LIVE
: The extension is activated or registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.DEPRECATED
: The extension has been deactivated or deregistered and can no longer be used in CloudFormation operations.
For public third-party extensions, CloudFormation returns null
.
describeTypeResponse_description :: Lens' DescribeTypeResponse (Maybe Text) Source #
The description of the extension.
describeTypeResponse_documentationUrl :: Lens' DescribeTypeResponse (Maybe Text) Source #
The URL of a page providing detailed documentation for this extension.
describeTypeResponse_executionRoleArn :: Lens' DescribeTypeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAM execution role used to register the extension. This applies only to private extensions you have registered in your account. For more information, see RegisterType.
If the registered extension calls any Amazon Web Services APIs, you must create an <https:docs.aws.amazon.comIAMlatestUserGuideid_roles.html IAM execution role> that includes the necessary permissions to call those Amazon Web Services APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your extension with the appropriate credentials.
describeTypeResponse_isActivated :: Lens' DescribeTypeResponse (Maybe Bool) Source #
Whether the extension is activated in the account and region.
This only applies to public third-party extensions. For all other
extensions, CloudFormation returns null
.
describeTypeResponse_isDefaultVersion :: Lens' DescribeTypeResponse (Maybe Bool) Source #
Whether the specified extension version is set as the default version.
This applies only to private extensions you have registered in your
account, and extensions published by Amazon Web Services. For public
third-party extensions, whether they are activated in your account,
CloudFormation returns null
.
describeTypeResponse_lastUpdated :: Lens' DescribeTypeResponse (Maybe UTCTime) Source #
When the specified extension version was registered. This applies only to:
- Private extensions you have registered in your account. For more information, see RegisterType.
- Public extensions you have activated in your account with auto-update specified. For more information, see ActivateType.
describeTypeResponse_latestPublicVersion :: Lens' DescribeTypeResponse (Maybe Text) Source #
The latest version of a public extension that is available for use.
This only applies if you specify a public extension, and you don't
specify a version. For all other requests, CloudFormation returns
null
.
describeTypeResponse_loggingConfig :: Lens' DescribeTypeResponse (Maybe LoggingConfig) Source #
Contains logging configuration information for private extensions. This
applies only to private extensions you have registered in your account.
For public extensions, both those provided by Amazon Web Services and
published by third parties, CloudFormation returns null
. For more
information, see
RegisterType.
describeTypeResponse_originalTypeArn :: Lens' DescribeTypeResponse (Maybe Text) Source #
For public extensions that have been activated for this account and region, the Amazon Resource Name (ARN) of the public extension.
describeTypeResponse_originalTypeName :: Lens' DescribeTypeResponse (Maybe Text) Source #
For public extensions that have been activated for this account and region, the type name of the public extension.
If you specified a TypeNameAlias
when enabling the extension in this
account and region, CloudFormation treats that alias as the extension's
type name within the account and region, not the type name of the public
extension. For more information, see
Specifying aliases to refer to extensions
in the CloudFormation User Guide.
describeTypeResponse_provisioningType :: Lens' DescribeTypeResponse (Maybe ProvisioningType) Source #
For resource type extensions, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
Valid values include:
FULLY_MUTABLE
: The resource type includes an update handler to process updates to the type during stack update operations.IMMUTABLE
: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations.NON_PROVISIONABLE
: The resource type doesn't include all the following handlers, and therefore can't actually be provisioned.- create
- read
- delete
describeTypeResponse_publicVersionNumber :: Lens' DescribeTypeResponse (Maybe Text) Source #
The version number of a public third-party extension.
This applies only if you specify a public extension you have activated
in your account, or specify a public extension without specifying a
version. For all other extensions, CloudFormation returns null
.
describeTypeResponse_publisherId :: Lens' DescribeTypeResponse (Maybe Text) Source #
The publisher ID of the extension publisher.
This applies only to public third-party extensions. For private
registered extensions, and extensions provided by Amazon Web Services,
CloudFormation returns null
.
describeTypeResponse_requiredActivatedTypes :: Lens' DescribeTypeResponse (Maybe [RequiredActivatedType]) Source #
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.
describeTypeResponse_schema :: Lens' DescribeTypeResponse (Maybe Text) Source #
The schema that defines the extension.
For more information about extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.
describeTypeResponse_sourceUrl :: Lens' DescribeTypeResponse (Maybe Text) Source #
The URL of the source code for the extension.
describeTypeResponse_timeCreated :: Lens' DescribeTypeResponse (Maybe UTCTime) Source #
When the specified private extension version was registered or activated in your account.
describeTypeResponse_type :: Lens' DescribeTypeResponse (Maybe RegistryType) Source #
The kind of extension.
describeTypeResponse_typeName :: Lens' DescribeTypeResponse (Maybe Text) Source #
The name of the extension.
If the extension is a public third-party type you have activated with a type name alias, CloudFormation returns the type name alias. For more information, see ActivateType.
describeTypeResponse_typeTestsStatus :: Lens' DescribeTypeResponse (Maybe TypeTestsStatus) Source #
The contract test status of the registered extension version. To return
the extension test status of a specific extension version, you must
specify VersionId
.
This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.
PASSED
: The extension has passed all its contract tests.An extension must have a test status of
PASSED
before it can be published. For more information, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface User Guide.FAILED
: The extension has failed one or more contract tests.IN_PROGRESS
: Contract tests are currently being performed on the extension.NOT_TESTED
: Contract tests haven't been performed on the extension.
describeTypeResponse_typeTestsStatusDescription :: Lens' DescribeTypeResponse (Maybe Text) Source #
The description of the test status. To return the extension test status
of a specific extension version, you must specify VersionId
.
This applies only to registered private extension versions. CloudFormation doesn't return this information for public extensions, whether they are activated in your account.
describeTypeResponse_visibility :: Lens' DescribeTypeResponse (Maybe Visibility) Source #
The scope at which the extension is visible and usable in CloudFormation operations.
Valid values include:
PRIVATE
: The extension is only visible and usable within the account in which it is registered. CloudFormation marks any extensions you register asPRIVATE
.PUBLIC
: The extension is publicly visible and usable within any Amazon Web Services account.
describeTypeResponse_httpStatus :: Lens' DescribeTypeResponse Int Source #
The response's http status code.