Copyright | (c) 2013-2018 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 |
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.
Synopsis
- 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 #
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 configuration for the provisioning artifact.cpaIdempotencyToken
- 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.
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 configuration for the provisioning artifact.
cpaIdempotencyToken :: 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
createProvisioningArtifactResponse Source #
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
- The URL of the CloudFormation template in Amazon S3, in JSON format.cparsProvisioningArtifactDetail
- Information about the provisioning artifact.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 #
The URL of the CloudFormation template in Amazon S3, in JSON format.
cparsProvisioningArtifactDetail :: Lens' CreateProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail) Source #
Information about the provisioning artifact.
cparsResponseStatus :: Lens' CreateProvisioningArtifactResponse Int Source #
- - | The response status code.