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 |
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 in the CloudFormation CLI User Guide.
To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher.
Synopsis
- data PublishType = PublishType' {}
- newPublishType :: PublishType
- publishType_arn :: Lens' PublishType (Maybe Text)
- publishType_publicVersionNumber :: Lens' PublishType (Maybe Text)
- publishType_type :: Lens' PublishType (Maybe ThirdPartyType)
- publishType_typeName :: Lens' PublishType (Maybe Text)
- data PublishTypeResponse = PublishTypeResponse' {
- publicTypeArn :: Maybe Text
- httpStatus :: Int
- newPublishTypeResponse :: Int -> PublishTypeResponse
- publishTypeResponse_publicTypeArn :: Lens' PublishTypeResponse (Maybe Text)
- publishTypeResponse_httpStatus :: Lens' PublishTypeResponse Int
Creating a Request
data PublishType Source #
See: newPublishType
smart constructor.
PublishType' | |
|
Instances
newPublishType :: PublishType Source #
Create a value of PublishType
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:
PublishType
, publishType_arn
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
PublishType
, publishType_publicVersionNumber
- The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCH
For more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type.
CloudFormation automatically sets the first version number to be
1.0.0
.
PublishType
, publishType_type
- The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
PublishType
, publishType_typeName
- The name of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
Request Lenses
publishType_arn :: Lens' PublishType (Maybe Text) Source #
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
publishType_publicVersionNumber :: Lens' PublishType (Maybe Text) Source #
The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCH
For more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type.
CloudFormation automatically sets the first version number to be
1.0.0
.
publishType_type :: Lens' PublishType (Maybe ThirdPartyType) Source #
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
publishType_typeName :: Lens' PublishType (Maybe Text) Source #
The name of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
Destructuring the Response
data PublishTypeResponse Source #
See: newPublishTypeResponse
smart constructor.
PublishTypeResponse' | |
|
Instances
newPublishTypeResponse Source #
Create a value of PublishTypeResponse
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:publicTypeArn:PublishTypeResponse'
, publishTypeResponse_publicTypeArn
- The Amazon Resource Name (ARN) assigned to the public extension upon
publication.
$sel:httpStatus:PublishTypeResponse'
, publishTypeResponse_httpStatus
- The response's http status code.
Response Lenses
publishTypeResponse_publicTypeArn :: Lens' PublishTypeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) assigned to the public extension upon publication.
publishTypeResponse_httpStatus :: Lens' PublishTypeResponse Int Source #
The response's http status code.