| 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 |
Amazonka.S3Outposts.ListSharedEndpoints
Description
Lists all endpoints associated with an Outpost that has been shared by Amazon Web Services Resource Access Manager (RAM).
Related actions include:
This operation returns paginated results.
Synopsis
- data ListSharedEndpoints = ListSharedEndpoints' {}
- newListSharedEndpoints :: Text -> ListSharedEndpoints
- listSharedEndpoints_maxResults :: Lens' ListSharedEndpoints (Maybe Natural)
- listSharedEndpoints_nextToken :: Lens' ListSharedEndpoints (Maybe Text)
- listSharedEndpoints_outpostId :: Lens' ListSharedEndpoints Text
- data ListSharedEndpointsResponse = ListSharedEndpointsResponse' {}
- newListSharedEndpointsResponse :: Int -> ListSharedEndpointsResponse
- listSharedEndpointsResponse_endpoints :: Lens' ListSharedEndpointsResponse (Maybe [Endpoint])
- listSharedEndpointsResponse_nextToken :: Lens' ListSharedEndpointsResponse (Maybe Text)
- listSharedEndpointsResponse_httpStatus :: Lens' ListSharedEndpointsResponse Int
Creating a Request
data ListSharedEndpoints Source #
See: newListSharedEndpoints smart constructor.
Constructors
| ListSharedEndpoints' | |
Fields
| |
Instances
newListSharedEndpoints Source #
Arguments
| :: Text | |
| -> ListSharedEndpoints |
Create a value of ListSharedEndpoints 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:ListSharedEndpoints', listSharedEndpoints_maxResults - The maximum number of endpoints that will be returned in the response.
ListSharedEndpoints, listSharedEndpoints_nextToken - If a previous response from this operation included a NextToken value,
you can provide that value here to retrieve the next page of results.
$sel:outpostId:ListSharedEndpoints', listSharedEndpoints_outpostId - The ID of the Amazon Web Services Outpost.
Request Lenses
listSharedEndpoints_maxResults :: Lens' ListSharedEndpoints (Maybe Natural) Source #
The maximum number of endpoints that will be returned in the response.
listSharedEndpoints_nextToken :: Lens' ListSharedEndpoints (Maybe Text) Source #
If a previous response from this operation included a NextToken value,
you can provide that value here to retrieve the next page of results.
listSharedEndpoints_outpostId :: Lens' ListSharedEndpoints Text Source #
The ID of the Amazon Web Services Outpost.
Destructuring the Response
data ListSharedEndpointsResponse Source #
See: newListSharedEndpointsResponse smart constructor.
Constructors
| ListSharedEndpointsResponse' | |
Fields
| |
Instances
newListSharedEndpointsResponse Source #
Create a value of ListSharedEndpointsResponse 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:endpoints:ListSharedEndpointsResponse', listSharedEndpointsResponse_endpoints - The list of endpoints associated with the specified Outpost that have
been shared by Amazon Web Services Resource Access Manager (RAM).
ListSharedEndpoints, listSharedEndpointsResponse_nextToken - If the number of endpoints associated with the specified Outpost exceeds
MaxResults, you can include this value in subsequent calls to this
operation to retrieve more results.
$sel:httpStatus:ListSharedEndpointsResponse', listSharedEndpointsResponse_httpStatus - The response's http status code.
Response Lenses
listSharedEndpointsResponse_endpoints :: Lens' ListSharedEndpointsResponse (Maybe [Endpoint]) Source #
The list of endpoints associated with the specified Outpost that have been shared by Amazon Web Services Resource Access Manager (RAM).
listSharedEndpointsResponse_nextToken :: Lens' ListSharedEndpointsResponse (Maybe Text) Source #
If the number of endpoints associated with the specified Outpost exceeds
MaxResults, you can include this value in subsequent calls to this
operation to retrieve more results.
listSharedEndpointsResponse_httpStatus :: Lens' ListSharedEndpointsResponse Int Source #
The response's http status code.