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 |
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 on requirements for registering as a public extension publisher, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.
Synopsis
- data RegisterPublisher = RegisterPublisher' {}
- newRegisterPublisher :: RegisterPublisher
- registerPublisher_connectionArn :: Lens' RegisterPublisher (Maybe Text)
- registerPublisher_acceptTermsAndConditions :: Lens' RegisterPublisher (Maybe Bool)
- data RegisterPublisherResponse = RegisterPublisherResponse' {
- publisherId :: Maybe Text
- httpStatus :: Int
- newRegisterPublisherResponse :: Int -> RegisterPublisherResponse
- registerPublisherResponse_publisherId :: Lens' RegisterPublisherResponse (Maybe Text)
- registerPublisherResponse_httpStatus :: Lens' RegisterPublisherResponse Int
Creating a Request
data RegisterPublisher Source #
See: newRegisterPublisher
smart constructor.
RegisterPublisher' | |
|
Instances
newRegisterPublisher :: RegisterPublisher Source #
Create a value of RegisterPublisher
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:connectionArn:RegisterPublisher'
, registerPublisher_connectionArn
- If you are using a Bitbucket or GitHub account for identity
verification, the Amazon Resource Name (ARN) for your connection to that
account.
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.
$sel:acceptTermsAndConditions:RegisterPublisher'
, registerPublisher_acceptTermsAndConditions
- Whether you accept the
Terms and Conditions
for publishing extensions in the CloudFormation registry. You must
accept the terms and conditions in order to register to publish public
extensions to the CloudFormation registry.
The default is false
.
Request Lenses
registerPublisher_connectionArn :: Lens' RegisterPublisher (Maybe Text) Source #
If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.
registerPublisher_acceptTermsAndConditions :: Lens' RegisterPublisher (Maybe Bool) Source #
Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.
The default is false
.
Destructuring the Response
data RegisterPublisherResponse Source #
See: newRegisterPublisherResponse
smart constructor.
RegisterPublisherResponse' | |
|
Instances
newRegisterPublisherResponse Source #
Create a value of RegisterPublisherResponse
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:publisherId:RegisterPublisherResponse'
, registerPublisherResponse_publisherId
- The ID assigned this account by CloudFormation for publishing
extensions.
$sel:httpStatus:RegisterPublisherResponse'
, registerPublisherResponse_httpStatus
- The response's http status code.
Response Lenses
registerPublisherResponse_publisherId :: Lens' RegisterPublisherResponse (Maybe Text) Source #
The ID assigned this account by CloudFormation for publishing extensions.
registerPublisherResponse_httpStatus :: Lens' RegisterPublisherResponse Int Source #
The response's http status code.