Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_versionId :: Lens' DescribeType (Maybe Text)
- describeType_typeName :: Lens' DescribeType (Maybe Text)
- describeType_arn :: Lens' DescribeType (Maybe Text)
- describeType_publicVersionNumber :: Lens' DescribeType (Maybe Text)
- describeType_type :: Lens' DescribeType (Maybe RegistryType)
- describeType_publisherId :: Lens' DescribeType (Maybe Text)
- data DescribeTypeResponse = DescribeTypeResponse' {
- typeTestsStatusDescription :: Maybe Text
- lastUpdated :: Maybe ISO8601
- typeName :: Maybe Text
- arn :: Maybe Text
- publicVersionNumber :: Maybe Text
- executionRoleArn :: Maybe Text
- autoUpdate :: Maybe Bool
- originalTypeName :: Maybe Text
- visibility :: Maybe Visibility
- schema :: Maybe Text
- originalTypeArn :: Maybe Text
- defaultVersionId :: Maybe Text
- isActivated :: Maybe Bool
- requiredActivatedTypes :: Maybe [RequiredActivatedType]
- deprecatedStatus :: Maybe DeprecatedStatus
- timeCreated :: Maybe ISO8601
- type' :: Maybe RegistryType
- latestPublicVersion :: Maybe Text
- publisherId :: Maybe Text
- isDefaultVersion :: Maybe Bool
- description :: Maybe Text
- sourceUrl :: Maybe Text
- documentationUrl :: Maybe Text
- configurationSchema :: Maybe Text
- provisioningType :: Maybe ProvisioningType
- typeTestsStatus :: Maybe TypeTestsStatus
- loggingConfig :: Maybe LoggingConfig
- httpStatus :: Int
- newDescribeTypeResponse :: Int -> DescribeTypeResponse
- describeTypeResponse_typeTestsStatusDescription :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_lastUpdated :: Lens' DescribeTypeResponse (Maybe UTCTime)
- describeTypeResponse_typeName :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_arn :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_publicVersionNumber :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_executionRoleArn :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_autoUpdate :: Lens' DescribeTypeResponse (Maybe Bool)
- describeTypeResponse_originalTypeName :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_visibility :: Lens' DescribeTypeResponse (Maybe Visibility)
- describeTypeResponse_schema :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_originalTypeArn :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_defaultVersionId :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_isActivated :: Lens' DescribeTypeResponse (Maybe Bool)
- describeTypeResponse_requiredActivatedTypes :: Lens' DescribeTypeResponse (Maybe [RequiredActivatedType])
- describeTypeResponse_deprecatedStatus :: Lens' DescribeTypeResponse (Maybe DeprecatedStatus)
- describeTypeResponse_timeCreated :: Lens' DescribeTypeResponse (Maybe UTCTime)
- describeTypeResponse_type :: Lens' DescribeTypeResponse (Maybe RegistryType)
- describeTypeResponse_latestPublicVersion :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_publisherId :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_isDefaultVersion :: Lens' DescribeTypeResponse (Maybe Bool)
- describeTypeResponse_description :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_sourceUrl :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_documentationUrl :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_configurationSchema :: Lens' DescribeTypeResponse (Maybe Text)
- describeTypeResponse_provisioningType :: Lens' DescribeTypeResponse (Maybe ProvisioningType)
- describeTypeResponse_typeTestsStatus :: Lens' DescribeTypeResponse (Maybe TypeTestsStatus)
- describeTypeResponse_loggingConfig :: Lens' DescribeTypeResponse (Maybe LoggingConfig)
- 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:
$sel:versionId: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.
$sel:typeName:DescribeType'
, describeType_typeName
- The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
$sel:arn:DescribeType'
, describeType_arn
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
$sel:publicVersionNumber:DescribeType'
, describeType_publicVersionNumber
- The version number of a public third-party extension.
$sel:type':DescribeType'
, describeType_type
- The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
$sel:publisherId:DescribeType'
, describeType_publisherId
- The publisher ID of the extension publisher.
Extensions provided by Amazon are not assigned a publisher ID.
Request Lenses
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.
describeType_typeName :: Lens' DescribeType (Maybe Text) Source #
The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
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_type :: Lens' DescribeType (Maybe RegistryType) Source #
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
describeType_publisherId :: Lens' DescribeType (Maybe Text) Source #
The publisher ID of the extension publisher.
Extensions provided by Amazon are not assigned a publisher ID.
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:
$sel:typeTestsStatusDescription:DescribeTypeResponse'
, describeTypeResponse_typeTestsStatusDescription
- The description of the test status. To return the extension test status
of a specifc extension version, you must specify VersionId
.
This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not they are activated in your account.
$sel:lastUpdated: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.
$sel:typeName: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:arn:DescribeType'
, describeTypeResponse_arn
- The Amazon Resource Name (ARN) of the extension.
$sel:publicVersionNumber: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
.
$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.
$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:originalTypeName: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: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 publically visible and usable within any Amazon account.
$sel:schema:DescribeTypeResponse'
, describeTypeResponse_schema
- The schema that defines the extension.
For more information on extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.
$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.
$sel:defaultVersionId:DescribeTypeResponse'
, describeTypeResponse_defaultVersionId
- The ID of the default version of the extension. The default version is
used when the extension version is not specified.
This applies only to private extensions you have registered in your
account. For public extensions, both those provided by Amazon and
published by third parties, CloudFormation returns null
. For more
information, see
RegisterType.
To set the default version of an extension, use
SetTypeDefaultVersion
.
$sel:isActivated:DescribeTypeResponse'
, describeTypeResponse_isActivated
- Whether or not the extension is activated in the account and region.
This only applies to public third-party extensions. For all other
extensions, 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: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
.
$sel:timeCreated:DescribeTypeResponse'
, describeTypeResponse_timeCreated
- When the specified private extension version was registered or activated
in your account.
$sel:type':DescribeType'
, describeTypeResponse_type
- The kind of extension.
$sel:latestPublicVersion: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 do not
specify a version. For all other requests, CloudFormation returns
null
.
$sel:publisherId: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, CloudFormation
returns null
.
$sel:isDefaultVersion: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. For public third-party
extensions, whether or not they are activated in your account,
CloudFormation returns null
.
$sel:description:DescribeTypeResponse'
, describeTypeResponse_description
- The description of the extension.
$sel:sourceUrl:DescribeTypeResponse'
, describeTypeResponse_sourceUrl
- The URL of the source code for the extension.
$sel:documentationUrl:DescribeTypeResponse'
, describeTypeResponse_documentationUrl
- The URL of a page providing detailed documentation for this extension.
$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.
$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 does not include an update handler, so the type cannot be updated and must instead be replaced during stack update operations.NON_PROVISIONABLE
: The resource type does not include all of the following handlers, and therefore cannot actually be provisioned.- create
- read
- delete
$sel:typeTestsStatus:DescribeTypeResponse'
, describeTypeResponse_typeTestsStatus
- The contract test status of the registered extension version. To return
the extension test status of a specifc extension version, you must
specify VersionId
.
This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not 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 have not been performed on the extension.
$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 and published by
third parties, CloudFormation returns null
. For more information, see
RegisterType.
$sel:httpStatus:DescribeTypeResponse'
, describeTypeResponse_httpStatus
- The response's http status code.
Response Lenses
describeTypeResponse_typeTestsStatusDescription :: Lens' DescribeTypeResponse (Maybe Text) Source #
The description of the test status. To return the extension test status
of a specifc extension version, you must specify VersionId
.
This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not they are activated in your account.
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_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_arn :: Lens' DescribeTypeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the extension.
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_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_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_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_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 publically visible and usable within any Amazon account.
describeTypeResponse_schema :: Lens' DescribeTypeResponse (Maybe Text) Source #
The schema that defines the extension.
For more information on extension schemas, see Resource Provider Schema in the CloudFormation CLI User Guide.
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_defaultVersionId :: Lens' DescribeTypeResponse (Maybe Text) Source #
The ID of the default version of the extension. The default version is used when the extension version is not specified.
This applies only to private extensions you have registered in your
account. For public extensions, both those provided by Amazon and
published by third parties, CloudFormation returns null
. For more
information, see
RegisterType.
To set the default version of an extension, use
SetTypeDefaultVersion
.
describeTypeResponse_isActivated :: Lens' DescribeTypeResponse (Maybe Bool) Source #
Whether or not 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_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_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_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_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 do not
specify a version. For all other requests, 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, 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. For public third-party
extensions, whether or not they are activated in your account,
CloudFormation returns null
.
describeTypeResponse_description :: Lens' DescribeTypeResponse (Maybe Text) Source #
The description of the extension.
describeTypeResponse_sourceUrl :: Lens' DescribeTypeResponse (Maybe Text) Source #
The URL of the source code for the extension.
describeTypeResponse_documentationUrl :: Lens' DescribeTypeResponse (Maybe Text) Source #
The URL of a page providing detailed documentation for this extension.
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_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 does not include an update handler, so the type cannot be updated and must instead be replaced during stack update operations.NON_PROVISIONABLE
: The resource type does not include all of the following handlers, and therefore cannot actually be provisioned.- create
- read
- delete
describeTypeResponse_typeTestsStatus :: Lens' DescribeTypeResponse (Maybe TypeTestsStatus) Source #
The contract test status of the registered extension version. To return
the extension test status of a specifc extension version, you must
specify VersionId
.
This applies only to registered private extension versions. CloudFormation does not return this information for public extensions, whether or not 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 have not been performed on the extension.
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 and published by
third parties, CloudFormation returns null
. For more information, see
RegisterType.
describeTypeResponse_httpStatus :: Lens' DescribeTypeResponse Int Source #
The response's http status code.