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

Description

Deactivates a public extension that was previously activated in this account and region.

Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions aren't automatically updated if a new version of the extension is released.

Synopsis

Creating a Request

data DeactivateType Source #

See: newDeactivateType smart constructor.

Constructors

DeactivateType' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) for the extension, in this account and region.

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

  • type' :: Maybe ThirdPartyType

    The extension type.

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

  • typeName :: Maybe Text

    The type name of the extension, in this account and region. If you specified a type name alias when enabling the extension, use the type name alias.

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

Instances

Instances details
ToHeaders DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

ToPath DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

ToQuery DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

AWSRequest DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

Associated Types

type AWSResponse DeactivateType #

Generic DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

Associated Types

type Rep DeactivateType :: Type -> Type #

Read DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

Show DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

NFData DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

Methods

rnf :: DeactivateType -> () #

Eq DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

Hashable DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

type AWSResponse DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

type Rep DeactivateType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

type Rep DeactivateType = D1 ('MetaData "DeactivateType" "Amazonka.CloudFormation.DeactivateType" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "DeactivateType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ThirdPartyType)) :*: S1 ('MetaSel ('Just "typeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDeactivateType :: DeactivateType Source #

Create a value of DeactivateType 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:

DeactivateType, deactivateType_arn - The Amazon Resource Name (ARN) for the extension, in this account and region.

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

DeactivateType, deactivateType_type - The extension type.

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

DeactivateType, deactivateType_typeName - The type name of the extension, in this account and region. If you specified a type name alias when enabling the extension, use the type name alias.

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

Request Lenses

deactivateType_arn :: Lens' DeactivateType (Maybe Text) Source #

The Amazon Resource Name (ARN) for the extension, in this account and region.

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

deactivateType_type :: Lens' DeactivateType (Maybe ThirdPartyType) Source #

The extension type.

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

deactivateType_typeName :: Lens' DeactivateType (Maybe Text) Source #

The type name of the extension, in this account and region. If you specified a type name alias when enabling the extension, use the type name alias.

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

Destructuring the Response

data DeactivateTypeResponse Source #

See: newDeactivateTypeResponse smart constructor.

Constructors

DeactivateTypeResponse' 

Fields

Instances

Instances details
Generic DeactivateTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

Associated Types

type Rep DeactivateTypeResponse :: Type -> Type #

Read DeactivateTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

Show DeactivateTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

NFData DeactivateTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

Methods

rnf :: DeactivateTypeResponse -> () #

Eq DeactivateTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

type Rep DeactivateTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeactivateType

type Rep DeactivateTypeResponse = D1 ('MetaData "DeactivateTypeResponse" "Amazonka.CloudFormation.DeactivateType" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "DeactivateTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeactivateTypeResponse Source #

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

Response Lenses