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

Description

Requests the import of a resource as a Service Catalog provisioned product that is associated to a Service Catalog product and provisioning artifact. Once imported, all supported Service Catalog governance actions are supported on the provisioned product.

Resource import only supports CloudFormation stack ARNs. CloudFormation StackSets and non-root nested stacks are not supported.

The CloudFormation stack must have one of the following statuses to be imported: CREATE_COMPLETE, UPDATE_COMPLETE, UPDATE_ROLLBACK_COMPLETE, IMPORT_COMPLETE, IMPORT_ROLLBACK_COMPLETE.

Import of the resource requires that the CloudFormation stack template matches the associated Service Catalog product provisioning artifact.

The user or role that performs this operation must have the cloudformation:GetTemplate and cloudformation:DescribeStacks IAM policy permissions.

Synopsis

Creating a Request

data ImportAsProvisionedProduct Source #

See: newImportAsProvisionedProduct smart constructor.

Constructors

ImportAsProvisionedProduct' 

Fields

  • acceptLanguage :: Maybe Text

    The language code.

    • en - English (default)
    • jp - Japanese
    • zh - Chinese
  • productId :: Text

    The product identifier.

  • provisioningArtifactId :: Text

    The identifier of the provisioning artifact.

  • provisionedProductName :: Text

    The user-friendly name of the provisioned product. The value must be unique for the AWS account. The name cannot be updated after the product is provisioned.

  • physicalId :: Text

    The unique identifier of the resource to be imported. It only currently supports CloudFormation stack IDs.

  • idempotencyToken :: Text

    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.

Instances

Instances details
Eq ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Read ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Show ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Generic ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Associated Types

type Rep ImportAsProvisionedProduct :: Type -> Type #

NFData ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Hashable ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

ToJSON ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

AWSRequest ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

ToHeaders ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

ToPath ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

ToQuery ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

type Rep ImportAsProvisionedProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

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

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

newImportAsProvisionedProduct Source #

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

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

$sel:productId:ImportAsProvisionedProduct', importAsProvisionedProduct_productId - The product identifier.

$sel:provisioningArtifactId:ImportAsProvisionedProduct', importAsProvisionedProduct_provisioningArtifactId - The identifier of the provisioning artifact.

$sel:provisionedProductName:ImportAsProvisionedProduct', importAsProvisionedProduct_provisionedProductName - The user-friendly name of the provisioned product. The value must be unique for the AWS account. The name cannot be updated after the product is provisioned.

$sel:physicalId:ImportAsProvisionedProduct', importAsProvisionedProduct_physicalId - The unique identifier of the resource to be imported. It only currently supports CloudFormation stack IDs.

$sel:idempotencyToken:ImportAsProvisionedProduct', importAsProvisionedProduct_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

importAsProvisionedProduct_acceptLanguage :: Lens' ImportAsProvisionedProduct (Maybe Text) Source #

The language code.

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

importAsProvisionedProduct_provisionedProductName :: Lens' ImportAsProvisionedProduct Text Source #

The user-friendly name of the provisioned product. The value must be unique for the AWS account. The name cannot be updated after the product is provisioned.

importAsProvisionedProduct_physicalId :: Lens' ImportAsProvisionedProduct Text Source #

The unique identifier of the resource to be imported. It only currently supports CloudFormation stack IDs.

importAsProvisionedProduct_idempotencyToken :: Lens' ImportAsProvisionedProduct 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 ImportAsProvisionedProductResponse Source #

Constructors

ImportAsProvisionedProductResponse' 

Fields

Instances

Instances details
Eq ImportAsProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Read ImportAsProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Show ImportAsProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Generic ImportAsProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

Associated Types

type Rep ImportAsProvisionedProductResponse :: Type -> Type #

NFData ImportAsProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

type Rep ImportAsProvisionedProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct

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

newImportAsProvisionedProductResponse Source #

Create a value of ImportAsProvisionedProductResponse 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:ImportAsProvisionedProductResponse', importAsProvisionedProductResponse_recordDetail - Undocumented member.

$sel:httpStatus:ImportAsProvisionedProductResponse', importAsProvisionedProductResponse_httpStatus - The response's http status code.

Response Lenses