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 resource permissions for a data source.
Synopsis
- data DescribeDataSourcePermissions = DescribeDataSourcePermissions' {
- awsAccountId :: Text
- dataSourceId :: Text
- newDescribeDataSourcePermissions :: Text -> Text -> DescribeDataSourcePermissions
- describeDataSourcePermissions_awsAccountId :: Lens' DescribeDataSourcePermissions Text
- describeDataSourcePermissions_dataSourceId :: Lens' DescribeDataSourcePermissions Text
- data DescribeDataSourcePermissionsResponse = DescribeDataSourcePermissionsResponse' {}
- newDescribeDataSourcePermissionsResponse :: Int -> DescribeDataSourcePermissionsResponse
- describeDataSourcePermissionsResponse_requestId :: Lens' DescribeDataSourcePermissionsResponse (Maybe Text)
- describeDataSourcePermissionsResponse_dataSourceId :: Lens' DescribeDataSourcePermissionsResponse (Maybe Text)
- describeDataSourcePermissionsResponse_dataSourceArn :: Lens' DescribeDataSourcePermissionsResponse (Maybe Text)
- describeDataSourcePermissionsResponse_permissions :: Lens' DescribeDataSourcePermissionsResponse (Maybe (NonEmpty ResourcePermission))
- describeDataSourcePermissionsResponse_status :: Lens' DescribeDataSourcePermissionsResponse Int
Creating a Request
data DescribeDataSourcePermissions Source #
See: newDescribeDataSourcePermissions
smart constructor.
DescribeDataSourcePermissions' | |
|
Instances
newDescribeDataSourcePermissions Source #
Create a value of DescribeDataSourcePermissions
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:DescribeDataSourcePermissions'
, describeDataSourcePermissions_awsAccountId
- The Amazon Web Services account ID.
$sel:dataSourceId:DescribeDataSourcePermissions'
, describeDataSourcePermissions_dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services
Region for each Amazon Web Services account.
Request Lenses
describeDataSourcePermissions_awsAccountId :: Lens' DescribeDataSourcePermissions Text Source #
The Amazon Web Services account ID.
describeDataSourcePermissions_dataSourceId :: Lens' DescribeDataSourcePermissions Text Source #
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
Destructuring the Response
data DescribeDataSourcePermissionsResponse Source #
See: newDescribeDataSourcePermissionsResponse
smart constructor.
DescribeDataSourcePermissionsResponse' | |
|
Instances
newDescribeDataSourcePermissionsResponse Source #
Create a value of DescribeDataSourcePermissionsResponse
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:DescribeDataSourcePermissionsResponse'
, describeDataSourcePermissionsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:dataSourceId:DescribeDataSourcePermissions'
, describeDataSourcePermissionsResponse_dataSourceId
- The ID of the data source. This ID is unique per Amazon Web Services
Region for each Amazon Web Services account.
$sel:dataSourceArn:DescribeDataSourcePermissionsResponse'
, describeDataSourcePermissionsResponse_dataSourceArn
- The Amazon Resource Name (ARN) of the data source.
$sel:permissions:DescribeDataSourcePermissionsResponse'
, describeDataSourcePermissionsResponse_permissions
- A list of resource permissions on the data source.
$sel:status:DescribeDataSourcePermissionsResponse'
, describeDataSourcePermissionsResponse_status
- The HTTP status of the request.
Response Lenses
describeDataSourcePermissionsResponse_requestId :: Lens' DescribeDataSourcePermissionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
describeDataSourcePermissionsResponse_dataSourceId :: Lens' DescribeDataSourcePermissionsResponse (Maybe Text) Source #
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
describeDataSourcePermissionsResponse_dataSourceArn :: Lens' DescribeDataSourcePermissionsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the data source.
describeDataSourcePermissionsResponse_permissions :: Lens' DescribeDataSourcePermissionsResponse (Maybe (NonEmpty ResourcePermission)) Source #
A list of resource permissions on the data source.
describeDataSourcePermissionsResponse_status :: Lens' DescribeDataSourcePermissionsResponse Int Source #
The HTTP status of the request.