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

Description

Creates a product.

A delegated admin is authorized to invoke this command.

The user or role that performs this operation must have the cloudformation:GetTemplate IAM policy permission. This policy permission is required when using the ImportFromPhysicalId template source in the information data section.

Synopsis

Creating a Request

data CreateProduct Source #

See: newCreateProduct smart constructor.

Constructors

CreateProduct' 

Fields

Instances

Instances details
Eq CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Read CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Show CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Generic CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Associated Types

type Rep CreateProduct :: Type -> Type #

NFData CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Methods

rnf :: CreateProduct -> () #

Hashable CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

ToJSON CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

AWSRequest CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Associated Types

type AWSResponse CreateProduct #

ToHeaders CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

ToPath CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

ToQuery CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

type Rep CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

type Rep CreateProduct = D1 ('MetaData "CreateProduct" "Amazonka.ServiceCatalog.CreateProduct" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "CreateProduct'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "supportUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "distributor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "supportEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))) :*: ((S1 ('MetaSel ('Just "supportDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "owner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "productType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProductType) :*: (S1 ('MetaSel ('Just "provisioningArtifactParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProvisioningArtifactProperties) :*: S1 ('MetaSel ('Just "idempotencyToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

newCreateProduct Source #

Create a value of CreateProduct 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:supportUrl:CreateProduct', createProduct_supportUrl - The contact URL for product support.

^https?:\/\// / is the pattern used to validate SupportUrl.

$sel:distributor:CreateProduct', createProduct_distributor - The distributor of the product.

$sel:acceptLanguage:CreateProduct', createProduct_acceptLanguage - The language code.

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

$sel:supportEmail:CreateProduct', createProduct_supportEmail - The contact email for product support.

$sel:description:CreateProduct', createProduct_description - The description of the product.

$sel:tags:CreateProduct', createProduct_tags - One or more tags.

$sel:supportDescription:CreateProduct', createProduct_supportDescription - The support information about the product.

$sel:name:CreateProduct', createProduct_name - The name of the product.

$sel:owner:CreateProduct', createProduct_owner - The owner of the product.

$sel:productType:CreateProduct', createProduct_productType - The type of product.

$sel:provisioningArtifactParameters:CreateProduct', createProduct_provisioningArtifactParameters - The configuration of the provisioning artifact.

$sel:idempotencyToken:CreateProduct', createProduct_idempotencyToken - A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

Request Lenses

createProduct_supportUrl :: Lens' CreateProduct (Maybe Text) Source #

The contact URL for product support.

^https?:\/\// / is the pattern used to validate SupportUrl.

createProduct_distributor :: Lens' CreateProduct (Maybe Text) Source #

The distributor of the product.

createProduct_acceptLanguage :: Lens' CreateProduct (Maybe Text) Source #

The language code.

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

createProduct_supportEmail :: Lens' CreateProduct (Maybe Text) Source #

The contact email for product support.

createProduct_description :: Lens' CreateProduct (Maybe Text) Source #

The description of the product.

createProduct_supportDescription :: Lens' CreateProduct (Maybe Text) Source #

The support information about the product.

createProduct_name :: Lens' CreateProduct Text Source #

The name of the product.

createProduct_owner :: Lens' CreateProduct Text Source #

The owner of the product.

createProduct_idempotencyToken :: Lens' CreateProduct Text Source #

A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.

Destructuring the Response

data CreateProductResponse Source #

See: newCreateProductResponse smart constructor.

Constructors

CreateProductResponse' 

Fields

Instances

Instances details
Eq CreateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Read CreateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Show CreateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Generic CreateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Associated Types

type Rep CreateProductResponse :: Type -> Type #

NFData CreateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

Methods

rnf :: CreateProductResponse -> () #

type Rep CreateProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProduct

type Rep CreateProductResponse = D1 ('MetaData "CreateProductResponse" "Amazonka.ServiceCatalog.CreateProduct" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "CreateProductResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "productViewDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProductViewDetail)) :*: S1 ('MetaSel ('Just "provisioningArtifactDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisioningArtifactDetail))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateProductResponse Source #

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

$sel:provisioningArtifactDetail:CreateProductResponse', createProductResponse_provisioningArtifactDetail - Information about the provisioning artifact.

$sel:tags:CreateProduct', createProductResponse_tags - Information about the tags associated with the product.

$sel:httpStatus:CreateProductResponse', createProductResponse_httpStatus - The response's http status code.

Response Lenses

createProductResponse_tags :: Lens' CreateProductResponse (Maybe [Tag]) Source #

Information about the tags associated with the product.