| Copyright | (c) 2013-2017 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 |
| Language | Haskell2010 |
Network.AWS.ServiceCatalog.CreateProvisioningArtifact
Description
Create a new provisioning artifact for the specified product. This operation does not work with a product that has been shared with you.
- createProvisioningArtifact :: Text -> ProvisioningArtifactProperties -> Text -> CreateProvisioningArtifact
- data CreateProvisioningArtifact
- cpaAcceptLanguage :: Lens' CreateProvisioningArtifact (Maybe Text)
- cpaProductId :: Lens' CreateProvisioningArtifact Text
- cpaParameters :: Lens' CreateProvisioningArtifact ProvisioningArtifactProperties
- cpaIdempotencyToken :: Lens' CreateProvisioningArtifact Text
- createProvisioningArtifactResponse :: Int -> CreateProvisioningArtifactResponse
- data CreateProvisioningArtifactResponse
- cparsStatus :: Lens' CreateProvisioningArtifactResponse (Maybe RequestStatus)
- cparsInfo :: Lens' CreateProvisioningArtifactResponse (HashMap Text Text)
- cparsProvisioningArtifactDetail :: Lens' CreateProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail)
- cparsResponseStatus :: Lens' CreateProvisioningArtifactResponse Int
Creating a Request
createProvisioningArtifact Source #
Arguments
| :: Text | |
| -> ProvisioningArtifactProperties | |
| -> Text | |
| -> CreateProvisioningArtifact |
Creates a value of CreateProvisioningArtifact with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpaAcceptLanguage- The language code. *en- English (default) *jp- Japanese *zh- ChinesecpaProductId- The product identifier.cpaParameters- The parameters to use when creating the new provisioning artifact.cpaIdempotencyToken- A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.
data CreateProvisioningArtifact Source #
See: createProvisioningArtifact smart constructor.
Instances
Request Lenses
cpaAcceptLanguage :: Lens' CreateProvisioningArtifact (Maybe Text) Source #
The language code. * en - English (default) * jp - Japanese * zh - Chinese
cpaProductId :: Lens' CreateProvisioningArtifact Text Source #
The product identifier.
cpaParameters :: Lens' CreateProvisioningArtifact ProvisioningArtifactProperties Source #
The parameters to use when creating the new provisioning artifact.
cpaIdempotencyToken :: Lens' CreateProvisioningArtifact Text Source #
A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.
Destructuring the Response
createProvisioningArtifactResponse Source #
Arguments
| :: Int | |
| -> CreateProvisioningArtifactResponse |
Creates a value of CreateProvisioningArtifactResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cparsStatus- The status of the current request.cparsInfo- Additional information about the creation request for the provisioning artifact.cparsProvisioningArtifactDetail- The resulting detailed provisioning artifact information.cparsResponseStatus- -- | The response status code.
data CreateProvisioningArtifactResponse Source #
See: createProvisioningArtifactResponse smart constructor.
Instances
Response Lenses
cparsStatus :: Lens' CreateProvisioningArtifactResponse (Maybe RequestStatus) Source #
The status of the current request.
cparsInfo :: Lens' CreateProvisioningArtifactResponse (HashMap Text Text) Source #
Additional information about the creation request for the provisioning artifact.
cparsProvisioningArtifactDetail :: Lens' CreateProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail) Source #
The resulting detailed provisioning artifact information.
cparsResponseStatus :: Lens' CreateProvisioningArtifactResponse Int Source #
- - | The response status code.