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

Description

Marks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations.

To deregister an entire extension, you must individually deregister all active versions of that extension. If an extension has only a single active version, deregistering that version results in the extension itself being deregistered and marked as deprecated in the registry.

You cannot deregister the default version of an extension if there are other active version of that extension. If you do deregister the default version of an extension, the textensionype itself is deregistered as well and marked as deprecated.

To view the deprecation status of an extension or extension version, use DescribeType.

Synopsis

Creating a Request

data DeregisterType Source #

See: newDeregisterType smart constructor.

Constructors

DeregisterType' 

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.

    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 DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Read DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Show DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Generic DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Associated Types

type Rep DeregisterType :: Type -> Type #

NFData DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Methods

rnf :: DeregisterType -> () #

Hashable DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

AWSRequest DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Associated Types

type AWSResponse DeregisterType #

ToHeaders DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

ToPath DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

ToQuery DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

type Rep DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

type Rep DeregisterType = D1 ('MetaData "DeregisterType" "Amazonka.CloudFormation.DeregisterType" "libZSservicesZSamazonka-cloudformationZSamazonka-cloudformation" 'False) (C1 ('MetaCons "DeregisterType'" '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 DeregisterType Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

newDeregisterType :: DeregisterType Source #

Create a value of DeregisterType 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:DeregisterType', deregisterType_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:DeregisterType', deregisterType_typeName - The name of the extension.

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

$sel:arn:DeregisterType', deregisterType_arn - The Amazon Resource Name (ARN) of the extension.

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

$sel:type':DeregisterType', deregisterType_type - The kind of extension.

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

Request Lenses

deregisterType_versionId :: Lens' DeregisterType (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.

deregisterType_typeName :: Lens' DeregisterType (Maybe Text) Source #

The name of the extension.

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

deregisterType_arn :: Lens' DeregisterType (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension.

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

deregisterType_type :: Lens' DeregisterType (Maybe RegistryType) Source #

The kind of extension.

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

Destructuring the Response

data DeregisterTypeResponse Source #

See: newDeregisterTypeResponse smart constructor.

Constructors

DeregisterTypeResponse' 

Fields

Instances

Instances details
Eq DeregisterTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Read DeregisterTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Show DeregisterTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Generic DeregisterTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Associated Types

type Rep DeregisterTypeResponse :: Type -> Type #

NFData DeregisterTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

Methods

rnf :: DeregisterTypeResponse -> () #

type Rep DeregisterTypeResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.DeregisterType

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

newDeregisterTypeResponse Source #

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

Response Lenses