| 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.Proton.ListEnvironmentAccountConnections
Description
View a list of environment account connections.
For more information, see Environment account connections in the Proton User guide.
This operation returns paginated results.
Synopsis
- data ListEnvironmentAccountConnections = ListEnvironmentAccountConnections' {}
- newListEnvironmentAccountConnections :: EnvironmentAccountConnectionRequesterAccountType -> ListEnvironmentAccountConnections
- listEnvironmentAccountConnections_environmentName :: Lens' ListEnvironmentAccountConnections (Maybe Text)
- listEnvironmentAccountConnections_maxResults :: Lens' ListEnvironmentAccountConnections (Maybe Natural)
- listEnvironmentAccountConnections_nextToken :: Lens' ListEnvironmentAccountConnections (Maybe Text)
- listEnvironmentAccountConnections_statuses :: Lens' ListEnvironmentAccountConnections (Maybe [EnvironmentAccountConnectionStatus])
- listEnvironmentAccountConnections_requestedBy :: Lens' ListEnvironmentAccountConnections EnvironmentAccountConnectionRequesterAccountType
- data ListEnvironmentAccountConnectionsResponse = ListEnvironmentAccountConnectionsResponse' {}
- newListEnvironmentAccountConnectionsResponse :: Int -> ListEnvironmentAccountConnectionsResponse
- listEnvironmentAccountConnectionsResponse_nextToken :: Lens' ListEnvironmentAccountConnectionsResponse (Maybe Text)
- listEnvironmentAccountConnectionsResponse_httpStatus :: Lens' ListEnvironmentAccountConnectionsResponse Int
- listEnvironmentAccountConnectionsResponse_environmentAccountConnections :: Lens' ListEnvironmentAccountConnectionsResponse [EnvironmentAccountConnectionSummary]
Creating a Request
data ListEnvironmentAccountConnections Source #
See: newListEnvironmentAccountConnections smart constructor.
Constructors
| ListEnvironmentAccountConnections' | |
Fields
| |
Instances
newListEnvironmentAccountConnections Source #
Create a value of ListEnvironmentAccountConnections 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:
ListEnvironmentAccountConnections, listEnvironmentAccountConnections_environmentName - The environment name that's associated with each listed environment
account connection.
$sel:maxResults:ListEnvironmentAccountConnections', listEnvironmentAccountConnections_maxResults - The maximum number of environment account connections to list.
ListEnvironmentAccountConnections, listEnvironmentAccountConnections_nextToken - A token that indicates the location of the next environment account
connection in the array of environment account connections, after the
list of environment account connections that was previously requested.
$sel:statuses:ListEnvironmentAccountConnections', listEnvironmentAccountConnections_statuses - The status details for each listed environment account connection.
$sel:requestedBy:ListEnvironmentAccountConnections', listEnvironmentAccountConnections_requestedBy - The type of account making the ListEnvironmentAccountConnections
request.
Request Lenses
listEnvironmentAccountConnections_environmentName :: Lens' ListEnvironmentAccountConnections (Maybe Text) Source #
The environment name that's associated with each listed environment account connection.
listEnvironmentAccountConnections_maxResults :: Lens' ListEnvironmentAccountConnections (Maybe Natural) Source #
The maximum number of environment account connections to list.
listEnvironmentAccountConnections_nextToken :: Lens' ListEnvironmentAccountConnections (Maybe Text) Source #
A token that indicates the location of the next environment account connection in the array of environment account connections, after the list of environment account connections that was previously requested.
listEnvironmentAccountConnections_statuses :: Lens' ListEnvironmentAccountConnections (Maybe [EnvironmentAccountConnectionStatus]) Source #
The status details for each listed environment account connection.
listEnvironmentAccountConnections_requestedBy :: Lens' ListEnvironmentAccountConnections EnvironmentAccountConnectionRequesterAccountType Source #
The type of account making the ListEnvironmentAccountConnections
request.
Destructuring the Response
data ListEnvironmentAccountConnectionsResponse Source #
See: newListEnvironmentAccountConnectionsResponse smart constructor.
Constructors
| ListEnvironmentAccountConnectionsResponse' | |
Fields
| |
Instances
newListEnvironmentAccountConnectionsResponse Source #
Arguments
| :: Int | |
| -> ListEnvironmentAccountConnectionsResponse |
Create a value of ListEnvironmentAccountConnectionsResponse 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:
ListEnvironmentAccountConnections, listEnvironmentAccountConnectionsResponse_nextToken - A token that indicates the location of the next environment account
connection in the array of environment account connections, after the
current requested list of environment account connections.
$sel:httpStatus:ListEnvironmentAccountConnectionsResponse', listEnvironmentAccountConnectionsResponse_httpStatus - The response's http status code.
$sel:environmentAccountConnections:ListEnvironmentAccountConnectionsResponse', listEnvironmentAccountConnectionsResponse_environmentAccountConnections - An array of environment account connections with details that's
returned by Proton.
Response Lenses
listEnvironmentAccountConnectionsResponse_nextToken :: Lens' ListEnvironmentAccountConnectionsResponse (Maybe Text) Source #
A token that indicates the location of the next environment account connection in the array of environment account connections, after the current requested list of environment account connections.
listEnvironmentAccountConnectionsResponse_httpStatus :: Lens' ListEnvironmentAccountConnectionsResponse Int Source #
The response's http status code.
listEnvironmentAccountConnectionsResponse_environmentAccountConnections :: Lens' ListEnvironmentAccountConnectionsResponse [EnvironmentAccountConnectionSummary] Source #
An array of environment account connections with details that's returned by Proton.