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 |
Deletes the item that the specified template alias points to. If you provide a specific alias, you delete the version of the template that the alias points to.
Synopsis
- data DeleteTemplateAlias = DeleteTemplateAlias' {
- awsAccountId :: Text
- templateId :: Text
- aliasName :: Text
- newDeleteTemplateAlias :: Text -> Text -> Text -> DeleteTemplateAlias
- deleteTemplateAlias_awsAccountId :: Lens' DeleteTemplateAlias Text
- deleteTemplateAlias_templateId :: Lens' DeleteTemplateAlias Text
- deleteTemplateAlias_aliasName :: Lens' DeleteTemplateAlias Text
- data DeleteTemplateAliasResponse = DeleteTemplateAliasResponse' {}
- newDeleteTemplateAliasResponse :: Int -> DeleteTemplateAliasResponse
- deleteTemplateAliasResponse_requestId :: Lens' DeleteTemplateAliasResponse (Maybe Text)
- deleteTemplateAliasResponse_arn :: Lens' DeleteTemplateAliasResponse (Maybe Text)
- deleteTemplateAliasResponse_templateId :: Lens' DeleteTemplateAliasResponse (Maybe Text)
- deleteTemplateAliasResponse_aliasName :: Lens' DeleteTemplateAliasResponse (Maybe Text)
- deleteTemplateAliasResponse_status :: Lens' DeleteTemplateAliasResponse Int
Creating a Request
data DeleteTemplateAlias Source #
See: newDeleteTemplateAlias
smart constructor.
DeleteTemplateAlias' | |
|
Instances
newDeleteTemplateAlias Source #
:: Text | |
-> Text | |
-> Text | |
-> DeleteTemplateAlias |
Create a value of DeleteTemplateAlias
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:awsAccountId:DeleteTemplateAlias'
, deleteTemplateAlias_awsAccountId
- The ID of the Amazon Web Services account that contains the item to
delete.
$sel:templateId:DeleteTemplateAlias'
, deleteTemplateAlias_templateId
- The ID for the template that the specified alias is for.
$sel:aliasName:DeleteTemplateAlias'
, deleteTemplateAlias_aliasName
- The name for the template alias. To delete a specific alias, you delete
the version that the alias points to. You can specify the alias name, or
specify the latest version of the template by providing the keyword
$LATEST
in the AliasName
parameter.
Request Lenses
deleteTemplateAlias_awsAccountId :: Lens' DeleteTemplateAlias Text Source #
The ID of the Amazon Web Services account that contains the item to delete.
deleteTemplateAlias_templateId :: Lens' DeleteTemplateAlias Text Source #
The ID for the template that the specified alias is for.
deleteTemplateAlias_aliasName :: Lens' DeleteTemplateAlias Text Source #
The name for the template alias. To delete a specific alias, you delete
the version that the alias points to. You can specify the alias name, or
specify the latest version of the template by providing the keyword
$LATEST
in the AliasName
parameter.
Destructuring the Response
data DeleteTemplateAliasResponse Source #
See: newDeleteTemplateAliasResponse
smart constructor.
DeleteTemplateAliasResponse' | |
|
Instances
newDeleteTemplateAliasResponse Source #
Create a value of DeleteTemplateAliasResponse
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:requestId:DeleteTemplateAliasResponse'
, deleteTemplateAliasResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:arn:DeleteTemplateAliasResponse'
, deleteTemplateAliasResponse_arn
- The Amazon Resource Name (ARN) of the template you want to delete.
$sel:templateId:DeleteTemplateAlias'
, deleteTemplateAliasResponse_templateId
- An ID for the template associated with the deletion.
$sel:aliasName:DeleteTemplateAlias'
, deleteTemplateAliasResponse_aliasName
- The name for the template alias.
$sel:status:DeleteTemplateAliasResponse'
, deleteTemplateAliasResponse_status
- The HTTP status of the request.
Response Lenses
deleteTemplateAliasResponse_requestId :: Lens' DeleteTemplateAliasResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteTemplateAliasResponse_arn :: Lens' DeleteTemplateAliasResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the template you want to delete.
deleteTemplateAliasResponse_templateId :: Lens' DeleteTemplateAliasResponse (Maybe Text) Source #
An ID for the template associated with the deletion.
deleteTemplateAliasResponse_aliasName :: Lens' DeleteTemplateAliasResponse (Maybe Text) Source #
The name for the template alias.
deleteTemplateAliasResponse_status :: Lens' DeleteTemplateAliasResponse Int Source #
The HTTP status of the request.