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 version of the theme that the specified theme alias points to. If you provide a specific alias, you delete the version of the theme that the alias points to.
Synopsis
- data DeleteThemeAlias = DeleteThemeAlias' {}
- newDeleteThemeAlias :: Text -> Text -> Text -> DeleteThemeAlias
- deleteThemeAlias_awsAccountId :: Lens' DeleteThemeAlias Text
- deleteThemeAlias_themeId :: Lens' DeleteThemeAlias Text
- deleteThemeAlias_aliasName :: Lens' DeleteThemeAlias Text
- data DeleteThemeAliasResponse = DeleteThemeAliasResponse' {}
- newDeleteThemeAliasResponse :: Int -> DeleteThemeAliasResponse
- deleteThemeAliasResponse_requestId :: Lens' DeleteThemeAliasResponse (Maybe Text)
- deleteThemeAliasResponse_themeId :: Lens' DeleteThemeAliasResponse (Maybe Text)
- deleteThemeAliasResponse_arn :: Lens' DeleteThemeAliasResponse (Maybe Text)
- deleteThemeAliasResponse_aliasName :: Lens' DeleteThemeAliasResponse (Maybe Text)
- deleteThemeAliasResponse_status :: Lens' DeleteThemeAliasResponse Int
Creating a Request
data DeleteThemeAlias Source #
See: newDeleteThemeAlias
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> DeleteThemeAlias |
Create a value of DeleteThemeAlias
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:DeleteThemeAlias'
, deleteThemeAlias_awsAccountId
- The ID of the Amazon Web Services account that contains the theme alias
to delete.
$sel:themeId:DeleteThemeAlias'
, deleteThemeAlias_themeId
- The ID for the theme that the specified alias is for.
$sel:aliasName:DeleteThemeAlias'
, deleteThemeAlias_aliasName
- The unique name for the theme alias to delete.
Request Lenses
deleteThemeAlias_awsAccountId :: Lens' DeleteThemeAlias Text Source #
The ID of the Amazon Web Services account that contains the theme alias to delete.
deleteThemeAlias_themeId :: Lens' DeleteThemeAlias Text Source #
The ID for the theme that the specified alias is for.
deleteThemeAlias_aliasName :: Lens' DeleteThemeAlias Text Source #
The unique name for the theme alias to delete.
Destructuring the Response
data DeleteThemeAliasResponse Source #
See: newDeleteThemeAliasResponse
smart constructor.
DeleteThemeAliasResponse' | |
|
Instances
newDeleteThemeAliasResponse Source #
Create a value of DeleteThemeAliasResponse
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:DeleteThemeAliasResponse'
, deleteThemeAliasResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:themeId:DeleteThemeAlias'
, deleteThemeAliasResponse_themeId
- An ID for the theme associated with the deletion.
$sel:arn:DeleteThemeAliasResponse'
, deleteThemeAliasResponse_arn
- The Amazon Resource Name (ARN) of the theme resource using the deleted
alias.
$sel:aliasName:DeleteThemeAlias'
, deleteThemeAliasResponse_aliasName
- The name for the theme alias.
$sel:status:DeleteThemeAliasResponse'
, deleteThemeAliasResponse_status
- The HTTP status of the request.
Response Lenses
deleteThemeAliasResponse_requestId :: Lens' DeleteThemeAliasResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteThemeAliasResponse_themeId :: Lens' DeleteThemeAliasResponse (Maybe Text) Source #
An ID for the theme associated with the deletion.
deleteThemeAliasResponse_arn :: Lens' DeleteThemeAliasResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the theme resource using the deleted alias.
deleteThemeAliasResponse_aliasName :: Lens' DeleteThemeAliasResponse (Maybe Text) Source #
The name for the theme alias.
deleteThemeAliasResponse_status :: Lens' DeleteThemeAliasResponse Int Source #
The HTTP status of the request.