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

Description

Creates a provisioning artifact (also known as a version) for the specified product.

You cannot create a provisioning artifact for a product that was shared with you.

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 CreateProvisioningArtifact Source #

See: newCreateProvisioningArtifact smart constructor.

Constructors

CreateProvisioningArtifact' 

Fields

Instances

Instances details
Eq CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Read CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Show CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Generic CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Associated Types

type Rep CreateProvisioningArtifact :: Type -> Type #

NFData CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Hashable CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

ToJSON CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

AWSRequest CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

ToHeaders CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

ToPath CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

ToQuery CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

type Rep CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

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

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

newCreateProvisioningArtifact Source #

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

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

$sel:productId:CreateProvisioningArtifact', createProvisioningArtifact_productId - The product identifier.

$sel:parameters:CreateProvisioningArtifact', createProvisioningArtifact_parameters - The configuration for the provisioning artifact.

$sel:idempotencyToken:CreateProvisioningArtifact', createProvisioningArtifact_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

createProvisioningArtifact_acceptLanguage :: Lens' CreateProvisioningArtifact (Maybe Text) Source #

The language code.

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

createProvisioningArtifact_idempotencyToken :: Lens' CreateProvisioningArtifact 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 CreateProvisioningArtifactResponse Source #

Constructors

CreateProvisioningArtifactResponse' 

Fields

  • status :: Maybe RequestStatus

    The status of the current request.

  • info :: Maybe (HashMap Text Text)

    Specify the template source with one of the following options, but not both. Keys accepted: [ LoadTemplateFromURL, ImportFromPhysicalId ].

    The URL of the CloudFormation template in Amazon S3, in JSON format.

    LoadTemplateFromURL

    Use the URL of the CloudFormation template in Amazon S3 in JSON format.

    ImportFromPhysicalId

    Use the physical id of the resource that contains the template; currently supports CloudFormation stack ARN.

  • provisioningArtifactDetail :: Maybe ProvisioningArtifactDetail

    Information about the provisioning artifact.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Read CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Show CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Generic CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Associated Types

type Rep CreateProvisioningArtifactResponse :: Type -> Type #

NFData CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

type Rep CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

type Rep CreateProvisioningArtifactResponse = D1 ('MetaData "CreateProvisioningArtifactResponse" "Amazonka.ServiceCatalog.CreateProvisioningArtifact" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "CreateProvisioningArtifactResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequestStatus)) :*: S1 ('MetaSel ('Just "info") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "provisioningArtifactDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisioningArtifactDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateProvisioningArtifactResponse Source #

Create a value of CreateProvisioningArtifactResponse 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:status:CreateProvisioningArtifactResponse', createProvisioningArtifactResponse_status - The status of the current request.

$sel:info:CreateProvisioningArtifactResponse', createProvisioningArtifactResponse_info - Specify the template source with one of the following options, but not both. Keys accepted: [ LoadTemplateFromURL, ImportFromPhysicalId ].

The URL of the CloudFormation template in Amazon S3, in JSON format.

LoadTemplateFromURL

Use the URL of the CloudFormation template in Amazon S3 in JSON format.

ImportFromPhysicalId

Use the physical id of the resource that contains the template; currently supports CloudFormation stack ARN.

$sel:provisioningArtifactDetail:CreateProvisioningArtifactResponse', createProvisioningArtifactResponse_provisioningArtifactDetail - Information about the provisioning artifact.

$sel:httpStatus:CreateProvisioningArtifactResponse', createProvisioningArtifactResponse_httpStatus - The response's http status code.

Response Lenses

createProvisioningArtifactResponse_info :: Lens' CreateProvisioningArtifactResponse (Maybe (HashMap Text Text)) Source #

Specify the template source with one of the following options, but not both. Keys accepted: [ LoadTemplateFromURL, ImportFromPhysicalId ].

The URL of the CloudFormation template in Amazon S3, in JSON format.

LoadTemplateFromURL

Use the URL of the CloudFormation template in Amazon S3 in JSON format.

ImportFromPhysicalId

Use the physical id of the resource that contains the template; currently supports CloudFormation stack ARN.