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 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_requestId :: Lens' DeleteThemeResponse (Maybe Text)
- deleteThemeResponse_themeId :: Lens' DeleteThemeResponse (Maybe Text)
- deleteThemeResponse_arn :: Lens' DeleteThemeResponse (Maybe Text)
- deleteThemeResponse_status :: Lens' DeleteThemeResponse Int
Creating a Request
data DeleteTheme Source #
See: newDeleteTheme
smart constructor.
DeleteTheme' | |
|
Instances
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:
$sel:versionNumber: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.
$sel:awsAccountId:DeleteTheme'
, deleteTheme_awsAccountId
- The ID of the Amazon Web Services account that contains the theme that
you're deleting.
$sel:themeId: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.
Instances
newDeleteThemeResponse Source #
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:
$sel:requestId:DeleteThemeResponse'
, deleteThemeResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:themeId:DeleteTheme'
, deleteThemeResponse_themeId
- An ID for the theme.
$sel:arn:DeleteThemeResponse'
, deleteThemeResponse_arn
- The Amazon Resource Name (ARN) of the resource.
$sel:status:DeleteThemeResponse'
, deleteThemeResponse_status
- The HTTP status of the request.
Response Lenses
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_arn :: Lens' DeleteThemeResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the resource.
deleteThemeResponse_status :: Lens' DeleteThemeResponse Int Source #
The HTTP status of the request.