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

Description

Provisions the specified product.

A provisioned product is a resourced instance of a product. For example, provisioning a product based on a CloudFormation template launches a CloudFormation stack and its underlying resources. You can check the status of this request using DescribeRecord.

If the request contains a tag key with an empty list of values, there is a tag conflict for that key. Do not include conflicted keys as tags, or this causes the error "Parameter validation failed: Missing required parameter in Tags[N]:Value".

Synopsis

Creating a Request

data ProvisionProduct Source #

See: newProvisionProduct smart constructor.

Constructors

ProvisionProduct' 

Fields

Instances

Instances details
Eq ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Read ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Show ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Generic ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Associated Types

type Rep ProvisionProduct :: Type -> Type #

NFData ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Methods

rnf :: ProvisionProduct -> () #

Hashable ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

ToJSON ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

AWSRequest ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Associated Types

type AWSResponse ProvisionProduct #

ToHeaders ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

ToPath ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

ToQuery ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

type Rep ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

type Rep ProvisionProduct = D1 ('MetaData "ProvisionProduct" "Amazonka.ServiceCatalog.ProvisionProduct" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "ProvisionProduct'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "productName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "provisioningArtifactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "provisioningArtifactName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "notificationArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "pathName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "pathId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "provisioningParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProvisioningParameter])) :*: S1 ('MetaSel ('Just "productId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "provisioningPreferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisioningPreferences))) :*: (S1 ('MetaSel ('Just "provisionedProductName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "provisionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse ProvisionProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

newProvisionProduct Source #

Create a value of ProvisionProduct 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:productName:ProvisionProduct', provisionProduct_productName - The name of the product. You must provide the name or ID, but not both.

$sel:provisioningArtifactId:ProvisionProduct', provisionProduct_provisioningArtifactId - The identifier of the provisioning artifact. You must provide the name or ID, but not both.

$sel:provisioningArtifactName:ProvisionProduct', provisionProduct_provisioningArtifactName - The name of the provisioning artifact. You must provide the name or ID, but not both.

$sel:notificationArns:ProvisionProduct', provisionProduct_notificationArns - Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.

$sel:pathName:ProvisionProduct', provisionProduct_pathName - The name of the path. You must provide the name or ID, but not both.

$sel:acceptLanguage:ProvisionProduct', provisionProduct_acceptLanguage - The language code.

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

$sel:pathId:ProvisionProduct', provisionProduct_pathId - The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

$sel:provisioningParameters:ProvisionProduct', provisionProduct_provisioningParameters - Parameters specified by the administrator that are required for provisioning the product.

$sel:productId:ProvisionProduct', provisionProduct_productId - The product identifier. You must provide the name or ID, but not both.

$sel:tags:ProvisionProduct', provisionProduct_tags - One or more tags.

$sel:provisioningPreferences:ProvisionProduct', provisionProduct_provisioningPreferences - An object that contains information about the provisioning preferences for a stack set.

$sel:provisionedProductName:ProvisionProduct', provisionProduct_provisionedProductName - A user-friendly name for the provisioned product. This value must be unique for the AWS account and cannot be updated after the product is provisioned.

$sel:provisionToken:ProvisionProduct', provisionProduct_provisionToken - An idempotency token that uniquely identifies the provisioning request.

Request Lenses

provisionProduct_productName :: Lens' ProvisionProduct (Maybe Text) Source #

The name of the product. You must provide the name or ID, but not both.

provisionProduct_provisioningArtifactId :: Lens' ProvisionProduct (Maybe Text) Source #

The identifier of the provisioning artifact. You must provide the name or ID, but not both.

provisionProduct_provisioningArtifactName :: Lens' ProvisionProduct (Maybe Text) Source #

The name of the provisioning artifact. You must provide the name or ID, but not both.

provisionProduct_notificationArns :: Lens' ProvisionProduct (Maybe [Text]) Source #

Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events.

provisionProduct_pathName :: Lens' ProvisionProduct (Maybe Text) Source #

The name of the path. You must provide the name or ID, but not both.

provisionProduct_acceptLanguage :: Lens' ProvisionProduct (Maybe Text) Source #

The language code.

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

provisionProduct_pathId :: Lens' ProvisionProduct (Maybe Text) Source #

The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths. You must provide the name or ID, but not both.

provisionProduct_provisioningParameters :: Lens' ProvisionProduct (Maybe [ProvisioningParameter]) Source #

Parameters specified by the administrator that are required for provisioning the product.

provisionProduct_productId :: Lens' ProvisionProduct (Maybe Text) Source #

The product identifier. You must provide the name or ID, but not both.

provisionProduct_provisioningPreferences :: Lens' ProvisionProduct (Maybe ProvisioningPreferences) Source #

An object that contains information about the provisioning preferences for a stack set.

provisionProduct_provisionedProductName :: Lens' ProvisionProduct Text Source #

A user-friendly name for the provisioned product. This value must be unique for the AWS account and cannot be updated after the product is provisioned.

provisionProduct_provisionToken :: Lens' ProvisionProduct Text Source #

An idempotency token that uniquely identifies the provisioning request.

Destructuring the Response

data ProvisionProductResponse Source #

See: newProvisionProductResponse smart constructor.

Constructors

ProvisionProductResponse' 

Fields

Instances

Instances details
Eq ProvisionProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Read ProvisionProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Show ProvisionProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Generic ProvisionProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

Associated Types

type Rep ProvisionProductResponse :: Type -> Type #

NFData ProvisionProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

type Rep ProvisionProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ProvisionProduct

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

newProvisionProductResponse Source #

Create a value of ProvisionProductResponse 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:ProvisionProductResponse', provisionProductResponse_recordDetail - Information about the result of provisioning the product.

$sel:httpStatus:ProvisionProductResponse', provisionProductResponse_httpStatus - The response's http status code.

Response Lenses

provisionProductResponse_recordDetail :: Lens' ProvisionProductResponse (Maybe RecordDetail) Source #

Information about the result of provisioning the product.