amazonka-cloudformation-2.0: Amazon CloudFormation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

  • typeName :: Maybe Text

    The name of the extension.

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

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

Instances

Instances details
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

AWSRequest SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Associated Types

type AWSResponse SetTypeDefaultVersion #

Generic SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Associated Types

type Rep SetTypeDefaultVersion :: Type -> Type #

Read SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Show SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

NFData SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Methods

rnf :: SetTypeDefaultVersion -> () #

Eq SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Hashable SetTypeDefaultVersion Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

type AWSResponse 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "SetTypeDefaultVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegistryType))) :*: (S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:

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.

SetTypeDefaultVersion, setTypeDefaultVersion_type - The kind of extension.

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

SetTypeDefaultVersion, setTypeDefaultVersion_typeName - The name of the extension.

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

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.

Request Lenses

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.

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

The name of the extension.

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

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.

Destructuring the Response

data SetTypeDefaultVersionResponse Source #

See: newSetTypeDefaultVersionResponse smart constructor.

Constructors

SetTypeDefaultVersionResponse' 

Fields

Instances

Instances details
Generic SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Associated Types

type Rep SetTypeDefaultVersionResponse :: Type -> Type #

Read SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Show SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

NFData SetTypeDefaultVersionResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.SetTypeDefaultVersion

Eq 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" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" '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