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 the read and write permissions for a theme.
Synopsis
- data DescribeThemePermissions = DescribeThemePermissions' {
- awsAccountId :: Text
- themeId :: Text
- newDescribeThemePermissions :: Text -> Text -> DescribeThemePermissions
- describeThemePermissions_awsAccountId :: Lens' DescribeThemePermissions Text
- describeThemePermissions_themeId :: Lens' DescribeThemePermissions Text
- data DescribeThemePermissionsResponse = DescribeThemePermissionsResponse' {}
- newDescribeThemePermissionsResponse :: Int -> DescribeThemePermissionsResponse
- describeThemePermissionsResponse_requestId :: Lens' DescribeThemePermissionsResponse (Maybe Text)
- describeThemePermissionsResponse_themeArn :: Lens' DescribeThemePermissionsResponse (Maybe Text)
- describeThemePermissionsResponse_themeId :: Lens' DescribeThemePermissionsResponse (Maybe Text)
- describeThemePermissionsResponse_permissions :: Lens' DescribeThemePermissionsResponse (Maybe (NonEmpty ResourcePermission))
- describeThemePermissionsResponse_status :: Lens' DescribeThemePermissionsResponse Int
Creating a Request
data DescribeThemePermissions Source #
See: newDescribeThemePermissions
smart constructor.
DescribeThemePermissions' | |
|
Instances
newDescribeThemePermissions Source #
:: Text | |
-> Text | |
-> DescribeThemePermissions |
Create a value of DescribeThemePermissions
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:DescribeThemePermissions'
, describeThemePermissions_awsAccountId
- The ID of the Amazon Web Services account that contains the theme that
you're describing.
$sel:themeId:DescribeThemePermissions'
, describeThemePermissions_themeId
- The ID for the theme that you want to describe permissions for.
Request Lenses
describeThemePermissions_awsAccountId :: Lens' DescribeThemePermissions Text Source #
The ID of the Amazon Web Services account that contains the theme that you're describing.
describeThemePermissions_themeId :: Lens' DescribeThemePermissions Text Source #
The ID for the theme that you want to describe permissions for.
Destructuring the Response
data DescribeThemePermissionsResponse Source #
See: newDescribeThemePermissionsResponse
smart constructor.
DescribeThemePermissionsResponse' | |
|
Instances
newDescribeThemePermissionsResponse Source #
Create a value of DescribeThemePermissionsResponse
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:DescribeThemePermissionsResponse'
, describeThemePermissionsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:themeArn:DescribeThemePermissionsResponse'
, describeThemePermissionsResponse_themeArn
- The Amazon Resource Name (ARN) of the theme.
$sel:themeId:DescribeThemePermissions'
, describeThemePermissionsResponse_themeId
- The ID for the theme.
$sel:permissions:DescribeThemePermissionsResponse'
, describeThemePermissionsResponse_permissions
- A list of resource permissions set on the theme.
$sel:status:DescribeThemePermissionsResponse'
, describeThemePermissionsResponse_status
- The HTTP status of the request.
Response Lenses
describeThemePermissionsResponse_requestId :: Lens' DescribeThemePermissionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeThemePermissionsResponse_themeArn :: Lens' DescribeThemePermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the theme.
describeThemePermissionsResponse_themeId :: Lens' DescribeThemePermissionsResponse (Maybe Text) Source #
The ID for the theme.
describeThemePermissionsResponse_permissions :: Lens' DescribeThemePermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
A list of resource permissions set on the theme.
describeThemePermissionsResponse_status :: Lens' DescribeThemePermissionsResponse Int Source #
The HTTP status of the request.