Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
(Discontinued) Lists all the S3 resources associated with Amazon Macie
Classic. If memberAccountId
isn't specified, the action lists the S3
resources associated with Macie Classic for the current Macie Classic
administrator account. If memberAccountId
is specified, the action
lists the S3 resources associated with Macie Classic for the specified
member account.
This operation returns paginated results.
Synopsis
- data ListS3Resources = ListS3Resources' {
- maxResults :: Maybe Int
- memberAccountId :: Maybe Text
- nextToken :: Maybe Text
- newListS3Resources :: ListS3Resources
- listS3Resources_maxResults :: Lens' ListS3Resources (Maybe Int)
- listS3Resources_memberAccountId :: Lens' ListS3Resources (Maybe Text)
- listS3Resources_nextToken :: Lens' ListS3Resources (Maybe Text)
- data ListS3ResourcesResponse = ListS3ResourcesResponse' {}
- newListS3ResourcesResponse :: Int -> ListS3ResourcesResponse
- listS3ResourcesResponse_nextToken :: Lens' ListS3ResourcesResponse (Maybe Text)
- listS3ResourcesResponse_s3Resources :: Lens' ListS3ResourcesResponse (Maybe [S3ResourceClassification])
- listS3ResourcesResponse_httpStatus :: Lens' ListS3ResourcesResponse Int
Creating a Request
data ListS3Resources Source #
See: newListS3Resources
smart constructor.
ListS3Resources' | |
|
Instances
newListS3Resources :: ListS3Resources Source #
Create a value of ListS3Resources
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:maxResults:ListS3Resources'
, listS3Resources_maxResults
- (Discontinued) Use this parameter to indicate the maximum number of
items that you want in the response. The default value is 250.
$sel:memberAccountId:ListS3Resources'
, listS3Resources_memberAccountId
- (Discontinued) The Amazon Macie Classic member account ID whose
associated S3 resources you want to list.
ListS3Resources
, listS3Resources_nextToken
- (Discontinued) Use this parameter when paginating results. Set its value
to null on your first call to the ListS3Resources
action. Subsequent
calls to the action fill nextToken
in the request with the value of
nextToken
from the previous response to continue listing data.
Request Lenses
listS3Resources_maxResults :: Lens' ListS3Resources (Maybe Int) Source #
(Discontinued) Use this parameter to indicate the maximum number of items that you want in the response. The default value is 250.
listS3Resources_memberAccountId :: Lens' ListS3Resources (Maybe Text) Source #
(Discontinued) The Amazon Macie Classic member account ID whose associated S3 resources you want to list.
listS3Resources_nextToken :: Lens' ListS3Resources (Maybe Text) Source #
(Discontinued) Use this parameter when paginating results. Set its value
to null on your first call to the ListS3Resources
action. Subsequent
calls to the action fill nextToken
in the request with the value of
nextToken
from the previous response to continue listing data.
Destructuring the Response
data ListS3ResourcesResponse Source #
See: newListS3ResourcesResponse
smart constructor.
ListS3ResourcesResponse' | |
|
Instances
newListS3ResourcesResponse Source #
Create a value of ListS3ResourcesResponse
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:
ListS3Resources
, listS3ResourcesResponse_nextToken
- (Discontinued) When a response is generated, if there is more data to be
listed, this parameter is present in the response and contains the value
to use for the nextToken
parameter in a subsequent pagination request.
If there is no more data to be listed, this parameter is set to null.
$sel:s3Resources:ListS3ResourcesResponse'
, listS3ResourcesResponse_s3Resources
- (Discontinued) A list of the associated S3 resources returned by the
action.
$sel:httpStatus:ListS3ResourcesResponse'
, listS3ResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listS3ResourcesResponse_nextToken :: Lens' ListS3ResourcesResponse (Maybe Text) Source #
(Discontinued) When a response is generated, if there is more data to be
listed, this parameter is present in the response and contains the value
to use for the nextToken
parameter in a subsequent pagination request.
If there is no more data to be listed, this parameter is set to null.
listS3ResourcesResponse_s3Resources :: Lens' ListS3ResourcesResponse (Maybe [S3ResourceClassification]) Source #
(Discontinued) A list of the associated S3 resources returned by the action.
listS3ResourcesResponse_httpStatus :: Lens' ListS3ResourcesResponse Int Source #
The response's http status code.