| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.QuickSight.DeleteTemplateAlias
Description
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_aliasName :: Lens' DeleteTemplateAliasResponse (Maybe Text)
- deleteTemplateAliasResponse_arn :: Lens' DeleteTemplateAliasResponse (Maybe Text)
- deleteTemplateAliasResponse_requestId :: Lens' DeleteTemplateAliasResponse (Maybe Text)
- deleteTemplateAliasResponse_templateId :: Lens' DeleteTemplateAliasResponse (Maybe Text)
- deleteTemplateAliasResponse_status :: Lens' DeleteTemplateAliasResponse Int
Creating a Request
data DeleteTemplateAlias Source #
See: newDeleteTemplateAlias smart constructor.
Constructors
| DeleteTemplateAlias' | |
Fields
| |
Instances
newDeleteTemplateAlias Source #
Arguments
| :: 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:
DeleteTemplateAlias, deleteTemplateAlias_awsAccountId - The ID of the Amazon Web Services account that contains the item to
delete.
DeleteTemplateAlias, deleteTemplateAlias_templateId - The ID for the template that the specified alias is for.
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.
Constructors
| DeleteTemplateAliasResponse' | |
Fields
| |
Instances
newDeleteTemplateAliasResponse Source #
Arguments
| :: Int | |
| -> DeleteTemplateAliasResponse |
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:
DeleteTemplateAlias, deleteTemplateAliasResponse_aliasName - The name for the template alias.
DeleteTemplateAliasResponse, deleteTemplateAliasResponse_arn - The Amazon Resource Name (ARN) of the template you want to delete.
$sel:requestId:DeleteTemplateAliasResponse', deleteTemplateAliasResponse_requestId - The Amazon Web Services request ID for this operation.
DeleteTemplateAlias, deleteTemplateAliasResponse_templateId - An ID for the template associated with the deletion.
DeleteTemplateAliasResponse, deleteTemplateAliasResponse_status - The HTTP status of the request.
Response Lenses
deleteTemplateAliasResponse_aliasName :: Lens' DeleteTemplateAliasResponse (Maybe Text) Source #
The name for the template alias.
deleteTemplateAliasResponse_arn :: Lens' DeleteTemplateAliasResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the template you want to delete.
deleteTemplateAliasResponse_requestId :: Lens' DeleteTemplateAliasResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteTemplateAliasResponse_templateId :: Lens' DeleteTemplateAliasResponse (Maybe Text) Source #
An ID for the template associated with the deletion.
deleteTemplateAliasResponse_status :: Lens' DeleteTemplateAliasResponse Int Source #
The HTTP status of the request.