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.SetTypeDefaultVersion

Description

Specify the default version of an extension. The default version of an extension will be used in CloudFormation operations.

Synopsis

Creating a Request

data SetTypeDefaultVersion Source #

See: newSetTypeDefaultVersion smart constructor.

Constructors

SetTypeDefaultVersion' 

Fields

  • versionId :: Maybe Text

    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.

  • typeName :: Maybe Text

    The name of the extension.

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

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the extension for which you want version summary information.

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

  • type' :: Maybe RegistryType

    The kind of extension.

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

Instances

Instances details
Eq SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Read SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Show SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Generic SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Associated Types

type Rep SetTypeDefaultVersion :: Type -> Type #

NFData SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Methods

rnf :: SetTypeDefaultVersion -> () #

Hashable SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

AWSRequest SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Associated Types

type AWSResponse SetTypeDefaultVersion #

ToHeaders SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

ToPath SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

ToQuery SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

type Rep SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

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

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

newSetTypeDefaultVersion :: SetTypeDefaultVersion Source #

Create a value of SetTypeDefaultVersion 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:SetTypeDefaultVersion', setTypeDefaultVersion_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.

$sel:typeName:SetTypeDefaultVersion', setTypeDefaultVersion_typeName - The name of the extension.

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

$sel:arn:SetTypeDefaultVersion', setTypeDefaultVersion_arn - The Amazon Resource Name (ARN) of the extension for which you want version summary information.

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

$sel:type':SetTypeDefaultVersion', setTypeDefaultVersion_type - The kind of extension.

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

Request Lenses

setTypeDefaultVersion_versionId :: Lens' SetTypeDefaultVersion (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.

setTypeDefaultVersion_typeName :: Lens' SetTypeDefaultVersion (Maybe Text) Source #

The name of the extension.

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

setTypeDefaultVersion_arn :: Lens' SetTypeDefaultVersion (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension for which you want version summary information.

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

setTypeDefaultVersion_type :: Lens' SetTypeDefaultVersion (Maybe RegistryType) Source #

The kind of extension.

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

Destructuring the Response

data SetTypeDefaultVersionResponse Source #

See: newSetTypeDefaultVersionResponse smart constructor.

Constructors

SetTypeDefaultVersionResponse' 

Fields

Instances

Instances details
Eq SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Read SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Show SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Generic SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Associated Types

type Rep SetTypeDefaultVersionResponse :: Type -> Type #

NFData SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

type Rep SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

type Rep SetTypeDefaultVersionResponse = D1 ('MetaData "SetTypeDefaultVersionResponse" "Amazonka.CloudFormation.SetTypeDefaultVersion" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "SetTypeDefaultVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSetTypeDefaultVersionResponse Source #

Create a value of SetTypeDefaultVersionResponse 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:httpStatus:SetTypeDefaultVersionResponse', setTypeDefaultVersionResponse_httpStatus - The response's http status code.

Response Lenses