libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog
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.ServiceCatalog.TerminateProvisionedProduct

Description

Terminates the specified provisioned product.

This operation does not delete any records associated with the provisioned product.

You can check the status of this request using DescribeRecord.

Synopsis

Creating a Request

data TerminateProvisionedProduct Source #

See: newTerminateProvisionedProduct smart constructor.

Constructors

TerminateProvisionedProduct' 

Fields

  • provisionedProductName :: Maybe Text

    The name of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.

  • retainPhysicalResources :: Maybe Bool

    When this boolean parameter is set to true, the TerminateProvisionedProduct API deletes the Service Catalog provisioned product. However, it does not remove the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is false.

  • acceptLanguage :: Maybe Text

    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
  • ignoreErrors :: Maybe Bool

    If set to true, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources.

  • provisionedProductId :: Maybe Text

    The identifier of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.

  • terminateToken :: Text

    An idempotency token that uniquely identifies the termination request. This token is only valid during the termination process. After the provisioned product is terminated, subsequent requests to terminate the same provisioned product always return ResourceNotFound.

Instances

Instances details
Eq TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

Read TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

Show TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

Generic TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

Associated Types

type Rep TerminateProvisionedProduct :: Type -> Type #

NFData TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

Hashable TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

ToJSON TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

AWSRequest TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

ToHeaders TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

ToPath TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

ToQuery TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

type Rep TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

type Rep TerminateProvisionedProduct = D1 ('MetaData "TerminateProvisionedProduct" "Amazonka.ServiceCatalog.TerminateProvisionedProduct" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "TerminateProvisionedProduct'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "provisionedProductName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "retainPhysicalResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "ignoreErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "provisionedProductId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "terminateToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse TerminateProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

newTerminateProvisionedProduct Source #

Create a value of TerminateProvisionedProduct 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:provisionedProductName:TerminateProvisionedProduct', terminateProvisionedProduct_provisionedProductName - The name of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.

$sel:retainPhysicalResources:TerminateProvisionedProduct', terminateProvisionedProduct_retainPhysicalResources - When this boolean parameter is set to true, the TerminateProvisionedProduct API deletes the Service Catalog provisioned product. However, it does not remove the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is false.

$sel:acceptLanguage:TerminateProvisionedProduct', terminateProvisionedProduct_acceptLanguage - The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

$sel:ignoreErrors:TerminateProvisionedProduct', terminateProvisionedProduct_ignoreErrors - If set to true, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources.

$sel:provisionedProductId:TerminateProvisionedProduct', terminateProvisionedProduct_provisionedProductId - The identifier of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.

$sel:terminateToken:TerminateProvisionedProduct', terminateProvisionedProduct_terminateToken - An idempotency token that uniquely identifies the termination request. This token is only valid during the termination process. After the provisioned product is terminated, subsequent requests to terminate the same provisioned product always return ResourceNotFound.

Request Lenses

terminateProvisionedProduct_provisionedProductName :: Lens' TerminateProvisionedProduct (Maybe Text) Source #

The name of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.

terminateProvisionedProduct_retainPhysicalResources :: Lens' TerminateProvisionedProduct (Maybe Bool) Source #

When this boolean parameter is set to true, the TerminateProvisionedProduct API deletes the Service Catalog provisioned product. However, it does not remove the CloudFormation stack, stack set, or the underlying resources of the deleted provisioned product. The default value is false.

terminateProvisionedProduct_acceptLanguage :: Lens' TerminateProvisionedProduct (Maybe Text) Source #

The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

terminateProvisionedProduct_ignoreErrors :: Lens' TerminateProvisionedProduct (Maybe Bool) Source #

If set to true, AWS Service Catalog stops managing the specified provisioned product even if it cannot delete the underlying resources.

terminateProvisionedProduct_provisionedProductId :: Lens' TerminateProvisionedProduct (Maybe Text) Source #

The identifier of the provisioned product. You cannot specify both ProvisionedProductName and ProvisionedProductId.

terminateProvisionedProduct_terminateToken :: Lens' TerminateProvisionedProduct Text Source #

An idempotency token that uniquely identifies the termination request. This token is only valid during the termination process. After the provisioned product is terminated, subsequent requests to terminate the same provisioned product always return ResourceNotFound.

Destructuring the Response

data TerminateProvisionedProductResponse Source #

Constructors

TerminateProvisionedProductResponse' 

Fields

Instances

Instances details
Eq TerminateProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

Read TerminateProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

Show TerminateProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

Generic TerminateProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

NFData TerminateProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

type Rep TerminateProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.TerminateProvisionedProduct

type Rep TerminateProvisionedProductResponse = D1 ('MetaData "TerminateProvisionedProductResponse" "Amazonka.ServiceCatalog.TerminateProvisionedProduct" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "TerminateProvisionedProductResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recordDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecordDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTerminateProvisionedProductResponse Source #

Create a value of TerminateProvisionedProductResponse 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:recordDetail:TerminateProvisionedProductResponse', terminateProvisionedProductResponse_recordDetail - Information about the result of this request.

$sel:httpStatus:TerminateProvisionedProductResponse', terminateProvisionedProductResponse_httpStatus - The response's http status code.

Response Lenses