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 |
Creates a provisioning claim.
Requires permission to access the CreateProvisioningClaim action.
Synopsis
- data CreateProvisioningClaim = CreateProvisioningClaim' {
- templateName :: Text
- newCreateProvisioningClaim :: Text -> CreateProvisioningClaim
- createProvisioningClaim_templateName :: Lens' CreateProvisioningClaim Text
- data CreateProvisioningClaimResponse = CreateProvisioningClaimResponse' {}
- newCreateProvisioningClaimResponse :: Int -> CreateProvisioningClaimResponse
- createProvisioningClaimResponse_keyPair :: Lens' CreateProvisioningClaimResponse (Maybe KeyPair)
- createProvisioningClaimResponse_certificatePem :: Lens' CreateProvisioningClaimResponse (Maybe Text)
- createProvisioningClaimResponse_certificateId :: Lens' CreateProvisioningClaimResponse (Maybe Text)
- createProvisioningClaimResponse_expiration :: Lens' CreateProvisioningClaimResponse (Maybe UTCTime)
- createProvisioningClaimResponse_httpStatus :: Lens' CreateProvisioningClaimResponse Int
Creating a Request
data CreateProvisioningClaim Source #
See: newCreateProvisioningClaim
smart constructor.
CreateProvisioningClaim' | |
|
Instances
newCreateProvisioningClaim Source #
Create a value of CreateProvisioningClaim
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:templateName:CreateProvisioningClaim'
, createProvisioningClaim_templateName
- The name of the provisioning template to use.
Request Lenses
createProvisioningClaim_templateName :: Lens' CreateProvisioningClaim Text Source #
The name of the provisioning template to use.
Destructuring the Response
data CreateProvisioningClaimResponse Source #
See: newCreateProvisioningClaimResponse
smart constructor.
CreateProvisioningClaimResponse' | |
|
Instances
newCreateProvisioningClaimResponse Source #
Create a value of CreateProvisioningClaimResponse
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:keyPair:CreateProvisioningClaimResponse'
, createProvisioningClaimResponse_keyPair
- The provisioning claim key pair.
$sel:certificatePem:CreateProvisioningClaimResponse'
, createProvisioningClaimResponse_certificatePem
- The provisioning claim certificate.
$sel:certificateId:CreateProvisioningClaimResponse'
, createProvisioningClaimResponse_certificateId
- The ID of the certificate.
$sel:expiration:CreateProvisioningClaimResponse'
, createProvisioningClaimResponse_expiration
- The provisioning claim expiration time.
$sel:httpStatus:CreateProvisioningClaimResponse'
, createProvisioningClaimResponse_httpStatus
- The response's http status code.
Response Lenses
createProvisioningClaimResponse_keyPair :: Lens' CreateProvisioningClaimResponse (Maybe KeyPair) Source #
The provisioning claim key pair.
createProvisioningClaimResponse_certificatePem :: Lens' CreateProvisioningClaimResponse (Maybe Text) Source #
The provisioning claim certificate.
createProvisioningClaimResponse_certificateId :: Lens' CreateProvisioningClaimResponse (Maybe Text) Source #
The ID of the certificate.
createProvisioningClaimResponse_expiration :: Lens' CreateProvisioningClaimResponse (Maybe UTCTime) Source #
The provisioning claim expiration time.
createProvisioningClaimResponse_httpStatus :: Lens' CreateProvisioningClaimResponse Int Source #
The response's http status code.