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 |
Provides the read and write permissions for an analysis.
Synopsis
- data DescribeAnalysisPermissions = DescribeAnalysisPermissions' {
- awsAccountId :: Text
- analysisId :: Text
- newDescribeAnalysisPermissions :: Text -> Text -> DescribeAnalysisPermissions
- describeAnalysisPermissions_awsAccountId :: Lens' DescribeAnalysisPermissions Text
- describeAnalysisPermissions_analysisId :: Lens' DescribeAnalysisPermissions Text
- data DescribeAnalysisPermissionsResponse = DescribeAnalysisPermissionsResponse' {
- requestId :: Maybe Text
- analysisId :: Maybe Text
- analysisArn :: Maybe Text
- permissions :: Maybe (NonEmpty ResourcePermission)
- status :: Int
- newDescribeAnalysisPermissionsResponse :: Int -> DescribeAnalysisPermissionsResponse
- describeAnalysisPermissionsResponse_requestId :: Lens' DescribeAnalysisPermissionsResponse (Maybe Text)
- describeAnalysisPermissionsResponse_analysisId :: Lens' DescribeAnalysisPermissionsResponse (Maybe Text)
- describeAnalysisPermissionsResponse_analysisArn :: Lens' DescribeAnalysisPermissionsResponse (Maybe Text)
- describeAnalysisPermissionsResponse_permissions :: Lens' DescribeAnalysisPermissionsResponse (Maybe (NonEmpty ResourcePermission))
- describeAnalysisPermissionsResponse_status :: Lens' DescribeAnalysisPermissionsResponse Int
Creating a Request
data DescribeAnalysisPermissions Source #
See: newDescribeAnalysisPermissions
smart constructor.
DescribeAnalysisPermissions' | |
|
Instances
newDescribeAnalysisPermissions Source #
:: Text | |
-> Text | |
-> DescribeAnalysisPermissions |
Create a value of DescribeAnalysisPermissions
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:DescribeAnalysisPermissions'
, describeAnalysisPermissions_awsAccountId
- The ID of the Amazon Web Services account that contains the analysis
whose permissions you're describing. You must be using the Amazon Web
Services account that the analysis is in.
$sel:analysisId:DescribeAnalysisPermissions'
, describeAnalysisPermissions_analysisId
- The ID of the analysis whose permissions you're describing. The ID is
part of the analysis URL.
Request Lenses
describeAnalysisPermissions_awsAccountId :: Lens' DescribeAnalysisPermissions Text Source #
The ID of the Amazon Web Services account that contains the analysis whose permissions you're describing. You must be using the Amazon Web Services account that the analysis is in.
describeAnalysisPermissions_analysisId :: Lens' DescribeAnalysisPermissions Text Source #
The ID of the analysis whose permissions you're describing. The ID is part of the analysis URL.
Destructuring the Response
data DescribeAnalysisPermissionsResponse Source #
See: newDescribeAnalysisPermissionsResponse
smart constructor.
DescribeAnalysisPermissionsResponse' | |
|
Instances
newDescribeAnalysisPermissionsResponse Source #
Create a value of DescribeAnalysisPermissionsResponse
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:DescribeAnalysisPermissionsResponse'
, describeAnalysisPermissionsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:analysisId:DescribeAnalysisPermissions'
, describeAnalysisPermissionsResponse_analysisId
- The ID of the analysis whose permissions you're describing.
$sel:analysisArn:DescribeAnalysisPermissionsResponse'
, describeAnalysisPermissionsResponse_analysisArn
- The Amazon Resource Name (ARN) of the analysis whose permissions you're
describing.
$sel:permissions:DescribeAnalysisPermissionsResponse'
, describeAnalysisPermissionsResponse_permissions
- A structure that describes the principals and the resource-level
permissions on an analysis.
$sel:status:DescribeAnalysisPermissionsResponse'
, describeAnalysisPermissionsResponse_status
- The HTTP status of the request.
Response Lenses
describeAnalysisPermissionsResponse_requestId :: Lens' DescribeAnalysisPermissionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeAnalysisPermissionsResponse_analysisId :: Lens' DescribeAnalysisPermissionsResponse (Maybe Text) Source #
The ID of the analysis whose permissions you're describing.
describeAnalysisPermissionsResponse_analysisArn :: Lens' DescribeAnalysisPermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
describeAnalysisPermissionsResponse_permissions :: Lens' DescribeAnalysisPermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
A structure that describes the principals and the resource-level permissions on an analysis.
describeAnalysisPermissionsResponse_status :: Lens' DescribeAnalysisPermissionsResponse Int Source #
The HTTP status of the request.