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

AWSRequest 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 #

Read CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Show CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

NFData CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Eq CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Hashable CreateProvisioningArtifact Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

type AWSResponse 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" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" '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))))

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

CreateProvisioningArtifact, createProvisioningArtifact_productId - The product identifier.

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

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

  • info :: Maybe (HashMap Text Text)

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

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

    LoadTemplateFromURL

    Use the URL of the CloudFormation template in Amazon S3 or GitHub 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.

  • status :: Maybe RequestStatus

    The status of the current request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Associated Types

type Rep CreateProvisioningArtifactResponse :: Type -> Type #

Read CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Show CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

NFData CreateProvisioningArtifactResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.CreateProvisioningArtifact

Eq 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" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "CreateProvisioningArtifactResponse'" 'PrefixI 'True) ((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 "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequestStatus)) :*: 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:

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

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

LoadTemplateFromURL

Use the URL of the CloudFormation template in Amazon S3 or GitHub 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.

CreateProvisioningArtifactResponse, createProvisioningArtifactResponse_status - The status of the current request.

$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 ].

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

LoadTemplateFromURL

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

ImportFromPhysicalId

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