amazonka-servicecatalog-2.0: Amazon Service Catalog 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.ServiceCatalog.UpdateProduct

Description

Updates the specified product.

Synopsis

Creating a Request

data UpdateProduct Source #

See: newUpdateProduct smart constructor.

Constructors

UpdateProduct' 

Fields

Instances

Instances details
ToJSON UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

ToHeaders UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

ToPath UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

ToQuery UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

AWSRequest UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

Associated Types

type AWSResponse UpdateProduct #

Generic UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

Associated Types

type Rep UpdateProduct :: Type -> Type #

Read UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

Show UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

NFData UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

Methods

rnf :: UpdateProduct -> () #

Eq UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

Hashable UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

type AWSResponse UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

type Rep UpdateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

type Rep UpdateProduct = D1 ('MetaData "UpdateProduct" "Amazonka.ServiceCatalog.UpdateProduct" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "UpdateProduct'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "addTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "distributor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "removeTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "sourceConnection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceConnection)) :*: S1 ('MetaSel ('Just "supportDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "supportEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "supportUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newUpdateProduct Source #

Create a value of UpdateProduct 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:UpdateProduct', updateProduct_acceptLanguage - The language code.

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

$sel:addTags:UpdateProduct', updateProduct_addTags - The tags to add to the product.

UpdateProduct, updateProduct_description - The updated description of the product.

UpdateProduct, updateProduct_distributor - The updated distributor of the product.

UpdateProduct, updateProduct_name - The updated product name.

UpdateProduct, updateProduct_owner - The updated owner of the product.

$sel:removeTags:UpdateProduct', updateProduct_removeTags - The tags to remove from the product.

UpdateProduct, updateProduct_sourceConnection - Specifies connection details for the updated product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The SourceConnection parameter consists of the following sub-fields.

  • Type
  • ConnectionParamters

UpdateProduct, updateProduct_supportDescription - The updated support description for the product.

UpdateProduct, updateProduct_supportEmail - The updated support email for the product.

UpdateProduct, updateProduct_supportUrl - The updated support URL for the product.

UpdateProduct, updateProduct_id - The product identifier.

Request Lenses

updateProduct_acceptLanguage :: Lens' UpdateProduct (Maybe Text) Source #

The language code.

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

updateProduct_addTags :: Lens' UpdateProduct (Maybe [Tag]) Source #

The tags to add to the product.

updateProduct_description :: Lens' UpdateProduct (Maybe Text) Source #

The updated description of the product.

updateProduct_distributor :: Lens' UpdateProduct (Maybe Text) Source #

The updated distributor of the product.

updateProduct_name :: Lens' UpdateProduct (Maybe Text) Source #

The updated product name.

updateProduct_owner :: Lens' UpdateProduct (Maybe Text) Source #

The updated owner of the product.

updateProduct_removeTags :: Lens' UpdateProduct (Maybe [Text]) Source #

The tags to remove from the product.

updateProduct_sourceConnection :: Lens' UpdateProduct (Maybe SourceConnection) Source #

Specifies connection details for the updated product and syncs the product to the connection source artifact. This automatically manages the product's artifacts based on changes to the source. The SourceConnection parameter consists of the following sub-fields.

  • Type
  • ConnectionParamters

updateProduct_supportDescription :: Lens' UpdateProduct (Maybe Text) Source #

The updated support description for the product.

updateProduct_supportEmail :: Lens' UpdateProduct (Maybe Text) Source #

The updated support email for the product.

updateProduct_supportUrl :: Lens' UpdateProduct (Maybe Text) Source #

The updated support URL for the product.

updateProduct_id :: Lens' UpdateProduct Text Source #

The product identifier.

Destructuring the Response

data UpdateProductResponse Source #

See: newUpdateProductResponse smart constructor.

Constructors

UpdateProductResponse' 

Fields

Instances

Instances details
Generic UpdateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

Associated Types

type Rep UpdateProductResponse :: Type -> Type #

Read UpdateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

Show UpdateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

NFData UpdateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

Methods

rnf :: UpdateProductResponse -> () #

Eq UpdateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

type Rep UpdateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.UpdateProduct

type Rep UpdateProductResponse = D1 ('MetaData "UpdateProductResponse" "Amazonka.ServiceCatalog.UpdateProduct" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "UpdateProductResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "productViewDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductViewDetail)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateProductResponse Source #

Create a value of UpdateProductResponse 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:productViewDetail:UpdateProductResponse', updateProductResponse_productViewDetail - Information about the product view.

UpdateProductResponse, updateProductResponse_tags - Information about the tags associated with the product.

$sel:httpStatus:UpdateProductResponse', updateProductResponse_httpStatus - The response's http status code.

Response Lenses

updateProductResponse_tags :: Lens' UpdateProductResponse (Maybe [Tag]) Source #

Information about the tags associated with the product.