Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data ImportAsProvisionedProduct = ImportAsProvisionedProduct' {}
- newImportAsProvisionedProduct :: Text -> Text -> Text -> Text -> Text -> ImportAsProvisionedProduct
- importAsProvisionedProduct_acceptLanguage :: Lens' ImportAsProvisionedProduct (Maybe Text)
- importAsProvisionedProduct_productId :: Lens' ImportAsProvisionedProduct Text
- importAsProvisionedProduct_provisioningArtifactId :: Lens' ImportAsProvisionedProduct Text
- importAsProvisionedProduct_provisionedProductName :: Lens' ImportAsProvisionedProduct Text
- importAsProvisionedProduct_physicalId :: Lens' ImportAsProvisionedProduct Text
- importAsProvisionedProduct_idempotencyToken :: Lens' ImportAsProvisionedProduct Text
- data ImportAsProvisionedProductResponse = ImportAsProvisionedProductResponse' {}
- newImportAsProvisionedProductResponse :: Int -> ImportAsProvisionedProductResponse
- importAsProvisionedProductResponse_recordDetail :: Lens' ImportAsProvisionedProductResponse (Maybe RecordDetail)
- importAsProvisionedProductResponse_httpStatus :: Lens' ImportAsProvisionedProductResponse Int
Creating a Request
data ImportAsProvisionedProduct Source #
See: newImportAsProvisionedProduct
smart constructor.
ImportAsProvisionedProduct' | |
|
Instances
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
- Japanesezh
- 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
- Japanesezh
- Chinese
importAsProvisionedProduct_productId :: Lens' ImportAsProvisionedProduct Text Source #
The product identifier.
importAsProvisionedProduct_provisioningArtifactId :: Lens' ImportAsProvisionedProduct Text Source #
The identifier of the provisioning artifact.
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 #
See: newImportAsProvisionedProductResponse
smart constructor.
ImportAsProvisionedProductResponse' | |
|
Instances
Eq ImportAsProvisionedProductResponse Source # | |
Read ImportAsProvisionedProductResponse Source # | |
Show ImportAsProvisionedProductResponse Source # | |
Generic ImportAsProvisionedProductResponse Source # | |
NFData ImportAsProvisionedProductResponse Source # | |
Defined in Amazonka.ServiceCatalog.ImportAsProvisionedProduct rnf :: ImportAsProvisionedProductResponse -> () # | |
type Rep ImportAsProvisionedProductResponse Source # | |
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
importAsProvisionedProductResponse_recordDetail :: Lens' ImportAsProvisionedProductResponse (Maybe RecordDetail) Source #
Undocumented member.
importAsProvisionedProductResponse_httpStatus :: Lens' ImportAsProvisionedProductResponse Int Source #
The response's http status code.