| 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.DeleteTheme
Description
Deletes a theme.
Synopsis
- data DeleteTheme = DeleteTheme' {
- versionNumber :: Maybe Natural
- awsAccountId :: Text
- themeId :: Text
- newDeleteTheme :: Text -> Text -> DeleteTheme
- deleteTheme_versionNumber :: Lens' DeleteTheme (Maybe Natural)
- deleteTheme_awsAccountId :: Lens' DeleteTheme Text
- deleteTheme_themeId :: Lens' DeleteTheme Text
- data DeleteThemeResponse = DeleteThemeResponse' {}
- newDeleteThemeResponse :: Int -> DeleteThemeResponse
- deleteThemeResponse_arn :: Lens' DeleteThemeResponse (Maybe Text)
- deleteThemeResponse_requestId :: Lens' DeleteThemeResponse (Maybe Text)
- deleteThemeResponse_themeId :: Lens' DeleteThemeResponse (Maybe Text)
- deleteThemeResponse_status :: Lens' DeleteThemeResponse Int
Creating a Request
data DeleteTheme Source #
See: newDeleteTheme smart constructor.
Constructors
| DeleteTheme' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteTheme |
Create a value of DeleteTheme 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:
DeleteTheme, deleteTheme_versionNumber - The version of the theme that you want to delete.
Note: If you don't provide a version number, you're using this
call to DeleteTheme to delete all versions of the theme.
DeleteTheme, deleteTheme_awsAccountId - The ID of the Amazon Web Services account that contains the theme that
you're deleting.
DeleteTheme, deleteTheme_themeId - An ID for the theme that you want to delete.
Request Lenses
deleteTheme_versionNumber :: Lens' DeleteTheme (Maybe Natural) Source #
The version of the theme that you want to delete.
Note: If you don't provide a version number, you're using this
call to DeleteTheme to delete all versions of the theme.
deleteTheme_awsAccountId :: Lens' DeleteTheme Text Source #
The ID of the Amazon Web Services account that contains the theme that you're deleting.
deleteTheme_themeId :: Lens' DeleteTheme Text Source #
An ID for the theme that you want to delete.
Destructuring the Response
data DeleteThemeResponse Source #
See: newDeleteThemeResponse smart constructor.
Constructors
| DeleteThemeResponse' | |
Instances
newDeleteThemeResponse Source #
Arguments
| :: Int | |
| -> DeleteThemeResponse |
Create a value of DeleteThemeResponse 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:
DeleteThemeResponse, deleteThemeResponse_arn - The Amazon Resource Name (ARN) of the resource.
$sel:requestId:DeleteThemeResponse', deleteThemeResponse_requestId - The Amazon Web Services request ID for this operation.
DeleteTheme, deleteThemeResponse_themeId - An ID for the theme.
DeleteThemeResponse, deleteThemeResponse_status - The HTTP status of the request.
Response Lenses
deleteThemeResponse_arn :: Lens' DeleteThemeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource.
deleteThemeResponse_requestId :: Lens' DeleteThemeResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteThemeResponse_themeId :: Lens' DeleteThemeResponse (Maybe Text) Source #
An ID for the theme.
deleteThemeResponse_status :: Lens' DeleteThemeResponse Int Source #
The HTTP status of the request.