libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFormation.PublishType

Description

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 on 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

Creating a Request

data PublishType Source #

See: newPublishType smart constructor.

Constructors

PublishType' 

Fields

  • typeName :: Maybe Text

    The name of the extension.

    Conditional: You must specify Arn, or TypeName and Type.

  • arn :: Maybe Text

    The Amazon Resource Number (ARN) of the extension.

    Conditional: You must specify Arn, or TypeName and Type.

  • publicVersionNumber :: Maybe Text

    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 do not specify a version number, CloudFormation increments the version number by one minor version release.

    The first time you publish a type, CloudFormation sets the version number to 1.0.0, regardless of the value you specify.

  • type' :: Maybe ThirdPartyType

    The type of the extension.

    Conditional: You must specify Arn, or TypeName and Type.

Instances

Instances details
Eq PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Read PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Show PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Generic PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Associated Types

type Rep PublishType :: Type -> Type #

NFData PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Methods

rnf :: PublishType -> () #

Hashable PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

AWSRequest PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Associated Types

type AWSResponse PublishType #

ToHeaders PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Methods

toHeaders :: PublishType -> [Header] #

ToPath PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

ToQuery PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

type Rep PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

type Rep PublishType = D1 ('MetaData "PublishType" "Amazonka.CloudFormation.PublishType" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "PublishType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "publicVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThirdPartyType)))))
type AWSResponse PublishType Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

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:

$sel:typeName:PublishType', publishType_typeName - The name of the extension.

Conditional: You must specify Arn, or TypeName and Type.

$sel:arn:PublishType', publishType_arn - The Amazon Resource Number (ARN) of the extension.

Conditional: You must specify Arn, or TypeName and Type.

$sel:publicVersionNumber: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 do not specify a version number, CloudFormation increments the version number by one minor version release.

The first time you publish a type, CloudFormation sets the version number to 1.0.0, regardless of the value you specify.

$sel:type':PublishType', publishType_type - The type of the extension.

Conditional: You must specify Arn, or TypeName and Type.

Request Lenses

publishType_typeName :: Lens' PublishType (Maybe Text) Source #

The name of the extension.

Conditional: You must specify Arn, or TypeName and Type.

publishType_arn :: Lens' PublishType (Maybe Text) Source #

The Amazon Resource Number (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 do not specify a version number, CloudFormation increments the version number by one minor version release.

The first time you publish a type, CloudFormation sets the version number to 1.0.0, regardless of the value you specify.

publishType_type :: Lens' PublishType (Maybe ThirdPartyType) Source #

The type of the extension.

Conditional: You must specify Arn, or TypeName and Type.

Destructuring the Response

data PublishTypeResponse Source #

See: newPublishTypeResponse smart constructor.

Constructors

PublishTypeResponse' 

Fields

Instances

Instances details
Eq PublishTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Read PublishTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Show PublishTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Generic PublishTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Associated Types

type Rep PublishTypeResponse :: Type -> Type #

NFData PublishTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

Methods

rnf :: PublishTypeResponse -> () #

type Rep PublishTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.PublishType

type Rep PublishTypeResponse = D1 ('MetaData "PublishTypeResponse" "Amazonka.CloudFormation.PublishType" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "PublishTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "publicTypeArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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 Number (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 Number (ARN) assigned to the public extension upon publication.