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 new version of a fleet provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
Synopsis
- data CreateProvisioningTemplateVersion = CreateProvisioningTemplateVersion' {}
- newCreateProvisioningTemplateVersion :: Text -> Text -> CreateProvisioningTemplateVersion
- createProvisioningTemplateVersion_setAsDefault :: Lens' CreateProvisioningTemplateVersion (Maybe Bool)
- createProvisioningTemplateVersion_templateName :: Lens' CreateProvisioningTemplateVersion Text
- createProvisioningTemplateVersion_templateBody :: Lens' CreateProvisioningTemplateVersion Text
- data CreateProvisioningTemplateVersionResponse = CreateProvisioningTemplateVersionResponse' {
- versionId :: Maybe Int
- templateName :: Maybe Text
- templateArn :: Maybe Text
- isDefaultVersion :: Maybe Bool
- httpStatus :: Int
- newCreateProvisioningTemplateVersionResponse :: Int -> CreateProvisioningTemplateVersionResponse
- createProvisioningTemplateVersionResponse_versionId :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Int)
- createProvisioningTemplateVersionResponse_templateName :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Text)
- createProvisioningTemplateVersionResponse_templateArn :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Text)
- createProvisioningTemplateVersionResponse_isDefaultVersion :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Bool)
- createProvisioningTemplateVersionResponse_httpStatus :: Lens' CreateProvisioningTemplateVersionResponse Int
Creating a Request
data CreateProvisioningTemplateVersion Source #
See: newCreateProvisioningTemplateVersion
smart constructor.
CreateProvisioningTemplateVersion' | |
|
Instances
newCreateProvisioningTemplateVersion Source #
Create a value of CreateProvisioningTemplateVersion
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:setAsDefault:CreateProvisioningTemplateVersion'
, createProvisioningTemplateVersion_setAsDefault
- Sets a fleet provision template version as the default version.
$sel:templateName:CreateProvisioningTemplateVersion'
, createProvisioningTemplateVersion_templateName
- The name of the fleet provisioning template.
$sel:templateBody:CreateProvisioningTemplateVersion'
, createProvisioningTemplateVersion_templateBody
- The JSON formatted contents of the fleet provisioning template.
Request Lenses
createProvisioningTemplateVersion_setAsDefault :: Lens' CreateProvisioningTemplateVersion (Maybe Bool) Source #
Sets a fleet provision template version as the default version.
createProvisioningTemplateVersion_templateName :: Lens' CreateProvisioningTemplateVersion Text Source #
The name of the fleet provisioning template.
createProvisioningTemplateVersion_templateBody :: Lens' CreateProvisioningTemplateVersion Text Source #
The JSON formatted contents of the fleet provisioning template.
Destructuring the Response
data CreateProvisioningTemplateVersionResponse Source #
See: newCreateProvisioningTemplateVersionResponse
smart constructor.
CreateProvisioningTemplateVersionResponse' | |
|
Instances
newCreateProvisioningTemplateVersionResponse Source #
Create a value of CreateProvisioningTemplateVersionResponse
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:versionId:CreateProvisioningTemplateVersionResponse'
, createProvisioningTemplateVersionResponse_versionId
- The version of the fleet provisioning template.
$sel:templateName:CreateProvisioningTemplateVersion'
, createProvisioningTemplateVersionResponse_templateName
- The name of the fleet provisioning template.
$sel:templateArn:CreateProvisioningTemplateVersionResponse'
, createProvisioningTemplateVersionResponse_templateArn
- The ARN that identifies the provisioning template.
$sel:isDefaultVersion:CreateProvisioningTemplateVersionResponse'
, createProvisioningTemplateVersionResponse_isDefaultVersion
- True if the fleet provisioning template version is the default version,
otherwise false.
$sel:httpStatus:CreateProvisioningTemplateVersionResponse'
, createProvisioningTemplateVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createProvisioningTemplateVersionResponse_versionId :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Int) Source #
The version of the fleet provisioning template.
createProvisioningTemplateVersionResponse_templateName :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Text) Source #
The name of the fleet provisioning template.
createProvisioningTemplateVersionResponse_templateArn :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Text) Source #
The ARN that identifies the provisioning template.
createProvisioningTemplateVersionResponse_isDefaultVersion :: Lens' CreateProvisioningTemplateVersionResponse (Maybe Bool) Source #
True if the fleet provisioning template version is the default version, otherwise false.
createProvisioningTemplateVersionResponse_httpStatus :: Lens' CreateProvisioningTemplateVersionResponse Int Source #
The response's http status code.