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 |
Describes a theme.
Synopsis
- data DescribeTheme = DescribeTheme' {
- aliasName :: Maybe Text
- versionNumber :: Maybe Natural
- awsAccountId :: Text
- themeId :: Text
- newDescribeTheme :: Text -> Text -> DescribeTheme
- describeTheme_aliasName :: Lens' DescribeTheme (Maybe Text)
- describeTheme_versionNumber :: Lens' DescribeTheme (Maybe Natural)
- describeTheme_awsAccountId :: Lens' DescribeTheme Text
- describeTheme_themeId :: Lens' DescribeTheme Text
- data DescribeThemeResponse = DescribeThemeResponse' {}
- newDescribeThemeResponse :: Int -> DescribeThemeResponse
- describeThemeResponse_requestId :: Lens' DescribeThemeResponse (Maybe Text)
- describeThemeResponse_theme :: Lens' DescribeThemeResponse (Maybe Theme)
- describeThemeResponse_status :: Lens' DescribeThemeResponse Int
Creating a Request
data DescribeTheme Source #
See: newDescribeTheme
smart constructor.
DescribeTheme' | |
|
Instances
Create a value of DescribeTheme
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:aliasName:DescribeTheme'
, describeTheme_aliasName
- The alias of the theme that you want to describe. If you name a specific
alias, you describe the version that the alias points to. You can
specify the latest version of the theme by providing the keyword
$LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply to themes.
$sel:versionNumber:DescribeTheme'
, describeTheme_versionNumber
- The version number for the version to describe. If a VersionNumber
parameter value isn't provided, the latest version of the theme is
described.
$sel:awsAccountId:DescribeTheme'
, describeTheme_awsAccountId
- The ID of the Amazon Web Services account that contains the theme that
you're describing.
$sel:themeId:DescribeTheme'
, describeTheme_themeId
- The ID for the theme.
Request Lenses
describeTheme_aliasName :: Lens' DescribeTheme (Maybe Text) Source #
The alias of the theme that you want to describe. If you name a specific
alias, you describe the version that the alias points to. You can
specify the latest version of the theme by providing the keyword
$LATEST
in the AliasName
parameter. The keyword $PUBLISHED
doesn't apply to themes.
describeTheme_versionNumber :: Lens' DescribeTheme (Maybe Natural) Source #
The version number for the version to describe. If a VersionNumber
parameter value isn't provided, the latest version of the theme is
described.
describeTheme_awsAccountId :: Lens' DescribeTheme Text Source #
The ID of the Amazon Web Services account that contains the theme that you're describing.
describeTheme_themeId :: Lens' DescribeTheme Text Source #
The ID for the theme.
Destructuring the Response
data DescribeThemeResponse Source #
See: newDescribeThemeResponse
smart constructor.
Instances
newDescribeThemeResponse Source #
Create a value of DescribeThemeResponse
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:DescribeThemeResponse'
, describeThemeResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:theme:DescribeThemeResponse'
, describeThemeResponse_theme
- The information about the theme that you are describing.
$sel:status:DescribeThemeResponse'
, describeThemeResponse_status
- The HTTP status of the request.
Response Lenses
describeThemeResponse_requestId :: Lens' DescribeThemeResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeThemeResponse_theme :: Lens' DescribeThemeResponse (Maybe Theme) Source #
The information about the theme that you are describing.
describeThemeResponse_status :: Lens' DescribeThemeResponse Int Source #
The HTTP status of the request.