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 |
Create a list of the Outposts for your AWS account. Add filters to your
request to return a more specific list of results. Use filters to match
an Outpost lifecycle status, Availibility Zone (us-east-1a
), and AZ ID
(use1-az1
).
If you specify multiple filters, the filters are joined with an AND
,
and the request returns only results that match all of the specified
filters.
Synopsis
- data ListOutposts = ListOutposts' {}
- newListOutposts :: ListOutposts
- listOutposts_availabilityZoneFilter :: Lens' ListOutposts (Maybe (NonEmpty Text))
- listOutposts_lifeCycleStatusFilter :: Lens' ListOutposts (Maybe (NonEmpty Text))
- listOutposts_nextToken :: Lens' ListOutposts (Maybe Text)
- listOutposts_availabilityZoneIdFilter :: Lens' ListOutposts (Maybe (NonEmpty Text))
- listOutposts_maxResults :: Lens' ListOutposts (Maybe Natural)
- data ListOutpostsResponse = ListOutpostsResponse' {}
- newListOutpostsResponse :: Int -> ListOutpostsResponse
- listOutpostsResponse_nextToken :: Lens' ListOutpostsResponse (Maybe Text)
- listOutpostsResponse_outposts :: Lens' ListOutpostsResponse (Maybe [Outpost])
- listOutpostsResponse_httpStatus :: Lens' ListOutpostsResponse Int
Creating a Request
data ListOutposts Source #
See: newListOutposts
smart constructor.
ListOutposts' | |
|
Instances
newListOutposts :: ListOutposts Source #
Create a value of ListOutposts
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:availabilityZoneFilter:ListOutposts'
, listOutposts_availabilityZoneFilter
- A filter for the Availibility Zone (us-east-1a
) of the Outpost.
Filter values are case sensitive. If you specify multiple values for a
filter, the values are joined with an OR
, and the request returns all
results that match any of the specified values.
$sel:lifeCycleStatusFilter:ListOutposts'
, listOutposts_lifeCycleStatusFilter
- A filter for the lifecycle status of the Outpost.
Filter values are case sensitive. If you specify multiple values for a
filter, the values are joined with an OR
, and the request returns all
results that match any of the specified values.
$sel:nextToken:ListOutposts'
, listOutposts_nextToken
- Undocumented member.
$sel:availabilityZoneIdFilter:ListOutposts'
, listOutposts_availabilityZoneIdFilter
- A filter for the AZ IDs (use1-az1
) of the Outpost.
Filter values are case sensitive. If you specify multiple values for a
filter, the values are joined with an OR
, and the request returns all
results that match any of the specified values.
$sel:maxResults:ListOutposts'
, listOutposts_maxResults
- Undocumented member.
Request Lenses
listOutposts_availabilityZoneFilter :: Lens' ListOutposts (Maybe (NonEmpty Text)) Source #
A filter for the Availibility Zone (us-east-1a
) of the Outpost.
Filter values are case sensitive. If you specify multiple values for a
filter, the values are joined with an OR
, and the request returns all
results that match any of the specified values.
listOutposts_lifeCycleStatusFilter :: Lens' ListOutposts (Maybe (NonEmpty Text)) Source #
A filter for the lifecycle status of the Outpost.
Filter values are case sensitive. If you specify multiple values for a
filter, the values are joined with an OR
, and the request returns all
results that match any of the specified values.
listOutposts_nextToken :: Lens' ListOutposts (Maybe Text) Source #
Undocumented member.
listOutposts_availabilityZoneIdFilter :: Lens' ListOutposts (Maybe (NonEmpty Text)) Source #
A filter for the AZ IDs (use1-az1
) of the Outpost.
Filter values are case sensitive. If you specify multiple values for a
filter, the values are joined with an OR
, and the request returns all
results that match any of the specified values.
listOutposts_maxResults :: Lens' ListOutposts (Maybe Natural) Source #
Undocumented member.
Destructuring the Response
data ListOutpostsResponse Source #
See: newListOutpostsResponse
smart constructor.
Instances
newListOutpostsResponse Source #
Create a value of ListOutpostsResponse
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:ListOutposts'
, listOutpostsResponse_nextToken
- Undocumented member.
$sel:outposts:ListOutpostsResponse'
, listOutpostsResponse_outposts
- Undocumented member.
$sel:httpStatus:ListOutpostsResponse'
, listOutpostsResponse_httpStatus
- The response's http status code.
Response Lenses
listOutpostsResponse_nextToken :: Lens' ListOutpostsResponse (Maybe Text) Source #
Undocumented member.
listOutpostsResponse_outposts :: Lens' ListOutpostsResponse (Maybe [Outpost]) Source #
Undocumented member.
listOutpostsResponse_httpStatus :: Lens' ListOutpostsResponse Int Source #
The response's http status code.