| 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.MigrationHubReFactorSpaces.ListEnvironmentVpcs
Description
Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the environment.
This operation returns paginated results.
Synopsis
- data ListEnvironmentVpcs = ListEnvironmentVpcs' {}
- newListEnvironmentVpcs :: Text -> ListEnvironmentVpcs
- listEnvironmentVpcs_maxResults :: Lens' ListEnvironmentVpcs (Maybe Natural)
- listEnvironmentVpcs_nextToken :: Lens' ListEnvironmentVpcs (Maybe Text)
- listEnvironmentVpcs_environmentIdentifier :: Lens' ListEnvironmentVpcs Text
- data ListEnvironmentVpcsResponse = ListEnvironmentVpcsResponse' {}
- newListEnvironmentVpcsResponse :: Int -> ListEnvironmentVpcsResponse
- listEnvironmentVpcsResponse_environmentVpcList :: Lens' ListEnvironmentVpcsResponse (Maybe [EnvironmentVpc])
- listEnvironmentVpcsResponse_nextToken :: Lens' ListEnvironmentVpcsResponse (Maybe Text)
- listEnvironmentVpcsResponse_httpStatus :: Lens' ListEnvironmentVpcsResponse Int
Creating a Request
data ListEnvironmentVpcs Source #
See: newListEnvironmentVpcs smart constructor.
Constructors
| ListEnvironmentVpcs' | |
Fields
| |
Instances
newListEnvironmentVpcs Source #
Create a value of ListEnvironmentVpcs 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:ListEnvironmentVpcs', listEnvironmentVpcs_maxResults - The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
ListEnvironmentVpcs, listEnvironmentVpcs_nextToken - The token for the next page of results.
$sel:environmentIdentifier:ListEnvironmentVpcs', listEnvironmentVpcs_environmentIdentifier - The ID of the environment.
Request Lenses
listEnvironmentVpcs_maxResults :: Lens' ListEnvironmentVpcs (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
listEnvironmentVpcs_nextToken :: Lens' ListEnvironmentVpcs (Maybe Text) Source #
The token for the next page of results.
listEnvironmentVpcs_environmentIdentifier :: Lens' ListEnvironmentVpcs Text Source #
The ID of the environment.
Destructuring the Response
data ListEnvironmentVpcsResponse Source #
See: newListEnvironmentVpcsResponse smart constructor.
Constructors
| ListEnvironmentVpcsResponse' | |
Fields
| |
Instances
newListEnvironmentVpcsResponse Source #
Create a value of ListEnvironmentVpcsResponse 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:environmentVpcList:ListEnvironmentVpcsResponse', listEnvironmentVpcsResponse_environmentVpcList - The list of EnvironmentVpc objects.
ListEnvironmentVpcs, listEnvironmentVpcsResponse_nextToken - The token for the next page of results.
$sel:httpStatus:ListEnvironmentVpcsResponse', listEnvironmentVpcsResponse_httpStatus - The response's http status code.
Response Lenses
listEnvironmentVpcsResponse_environmentVpcList :: Lens' ListEnvironmentVpcsResponse (Maybe [EnvironmentVpc]) Source #
The list of EnvironmentVpc objects.
listEnvironmentVpcsResponse_nextToken :: Lens' ListEnvironmentVpcsResponse (Maybe Text) Source #
The token for the next page of results.
listEnvironmentVpcsResponse_httpStatus :: Lens' ListEnvironmentVpcsResponse Int Source #
The response's http status code.