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

Description

Deletes the specified product.

You cannot delete a product if it was shared with you or is associated with a portfolio.

A delegated admin is authorized to invoke this command.

Synopsis

Creating a Request

data DeleteProduct Source #

See: newDeleteProduct smart constructor.

Constructors

DeleteProduct' 

Fields

Instances

Instances details
Eq DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Read DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Show DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Generic DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Associated Types

type Rep DeleteProduct :: Type -> Type #

NFData DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Methods

rnf :: DeleteProduct -> () #

Hashable DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

ToJSON DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

AWSRequest DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Associated Types

type AWSResponse DeleteProduct #

ToHeaders DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

ToPath DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

ToQuery DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

type Rep DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

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

Defined in Amazonka.ServiceCatalog.DeleteProduct

newDeleteProduct Source #

Create a value of DeleteProduct 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:acceptLanguage:DeleteProduct', deleteProduct_acceptLanguage - The language code.

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

$sel:id:DeleteProduct', deleteProduct_id - The product identifier.

Request Lenses

deleteProduct_acceptLanguage :: Lens' DeleteProduct (Maybe Text) Source #

The language code.

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

deleteProduct_id :: Lens' DeleteProduct Text Source #

The product identifier.

Destructuring the Response

data DeleteProductResponse Source #

See: newDeleteProductResponse smart constructor.

Constructors

DeleteProductResponse' 

Fields

Instances

Instances details
Eq DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Read DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Show DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Generic DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Associated Types

type Rep DeleteProductResponse :: Type -> Type #

NFData DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Methods

rnf :: DeleteProductResponse -> () #

type Rep DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

type Rep DeleteProductResponse = D1 ('MetaData "DeleteProductResponse" "Amazonka.ServiceCatalog.DeleteProduct" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DeleteProductResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteProductResponse Source #

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

Response Lenses