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 |
View a list of environment account connections.
For more information, see Environment account connections in the AWS Proton Administrator guide.
This operation returns paginated results.
Synopsis
- data ListEnvironmentAccountConnections = ListEnvironmentAccountConnections' {}
- newListEnvironmentAccountConnections :: EnvironmentAccountConnectionRequesterAccountType -> ListEnvironmentAccountConnections
- listEnvironmentAccountConnections_nextToken :: Lens' ListEnvironmentAccountConnections (Maybe Text)
- listEnvironmentAccountConnections_environmentName :: Lens' ListEnvironmentAccountConnections (Maybe Text)
- listEnvironmentAccountConnections_statuses :: Lens' ListEnvironmentAccountConnections (Maybe [EnvironmentAccountConnectionStatus])
- listEnvironmentAccountConnections_maxResults :: Lens' ListEnvironmentAccountConnections (Maybe Natural)
- 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.
ListEnvironmentAccountConnections' | |
|
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:
$sel:nextToken:ListEnvironmentAccountConnections'
, listEnvironmentAccountConnections_nextToken
- A token to indicate 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:environmentName:ListEnvironmentAccountConnections'
, listEnvironmentAccountConnections_environmentName
- The environment name that's associated with each listed environment
account connection.
$sel:statuses:ListEnvironmentAccountConnections'
, listEnvironmentAccountConnections_statuses
- The status details for each listed environment account connection.
$sel:maxResults:ListEnvironmentAccountConnections'
, listEnvironmentAccountConnections_maxResults
- The maximum number of environment account connections to list.
$sel:requestedBy:ListEnvironmentAccountConnections'
, listEnvironmentAccountConnections_requestedBy
- The type of account making the ListEnvironmentAccountConnections
request.
Request Lenses
listEnvironmentAccountConnections_nextToken :: Lens' ListEnvironmentAccountConnections (Maybe Text) Source #
A token to indicate 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_environmentName :: Lens' ListEnvironmentAccountConnections (Maybe Text) Source #
The environment name that's associated with each listed environment account connection.
listEnvironmentAccountConnections_statuses :: Lens' ListEnvironmentAccountConnections (Maybe [EnvironmentAccountConnectionStatus]) Source #
The status details for each listed environment account connection.
listEnvironmentAccountConnections_maxResults :: Lens' ListEnvironmentAccountConnections (Maybe Natural) Source #
The maximum number of environment account connections to list.
listEnvironmentAccountConnections_requestedBy :: Lens' ListEnvironmentAccountConnections EnvironmentAccountConnectionRequesterAccountType Source #
The type of account making the ListEnvironmentAccountConnections
request.
Destructuring the Response
data ListEnvironmentAccountConnectionsResponse Source #
See: newListEnvironmentAccountConnectionsResponse
smart constructor.
ListEnvironmentAccountConnectionsResponse' | |
|
Instances
newListEnvironmentAccountConnectionsResponse Source #
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:
$sel:nextToken:ListEnvironmentAccountConnections'
, listEnvironmentAccountConnectionsResponse_nextToken
- A token to indicate 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 AWS Proton.
Response Lenses
listEnvironmentAccountConnectionsResponse_nextToken :: Lens' ListEnvironmentAccountConnectionsResponse (Maybe Text) Source #
A token to indicate 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 AWS Proton.