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 |
Lists the targets registered with the maintenance window.
This operation returns paginated results.
Synopsis
- data DescribeMaintenanceWindowTargets = DescribeMaintenanceWindowTargets' {}
- newDescribeMaintenanceWindowTargets :: Text -> DescribeMaintenanceWindowTargets
- describeMaintenanceWindowTargets_filters :: Lens' DescribeMaintenanceWindowTargets (Maybe [MaintenanceWindowFilter])
- describeMaintenanceWindowTargets_nextToken :: Lens' DescribeMaintenanceWindowTargets (Maybe Text)
- describeMaintenanceWindowTargets_maxResults :: Lens' DescribeMaintenanceWindowTargets (Maybe Natural)
- describeMaintenanceWindowTargets_windowId :: Lens' DescribeMaintenanceWindowTargets Text
- data DescribeMaintenanceWindowTargetsResponse = DescribeMaintenanceWindowTargetsResponse' {}
- newDescribeMaintenanceWindowTargetsResponse :: Int -> DescribeMaintenanceWindowTargetsResponse
- describeMaintenanceWindowTargetsResponse_nextToken :: Lens' DescribeMaintenanceWindowTargetsResponse (Maybe Text)
- describeMaintenanceWindowTargetsResponse_targets :: Lens' DescribeMaintenanceWindowTargetsResponse (Maybe [MaintenanceWindowTarget])
- describeMaintenanceWindowTargetsResponse_httpStatus :: Lens' DescribeMaintenanceWindowTargetsResponse Int
Creating a Request
data DescribeMaintenanceWindowTargets Source #
See: newDescribeMaintenanceWindowTargets
smart constructor.
DescribeMaintenanceWindowTargets' | |
|
Instances
newDescribeMaintenanceWindowTargets Source #
Create a value of DescribeMaintenanceWindowTargets
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:filters:DescribeMaintenanceWindowTargets'
, describeMaintenanceWindowTargets_filters
- Optional filters that can be used to narrow down the scope of the
returned window targets. The supported filter keys are Type
,
WindowTargetId
, and OwnerInformation
.
$sel:nextToken:DescribeMaintenanceWindowTargets'
, describeMaintenanceWindowTargets_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxResults:DescribeMaintenanceWindowTargets'
, describeMaintenanceWindowTargets_maxResults
- The maximum number of items to return for this call. The call also
returns a token that you can specify in a subsequent call to get the
next set of results.
$sel:windowId:DescribeMaintenanceWindowTargets'
, describeMaintenanceWindowTargets_windowId
- The ID of the maintenance window whose targets should be retrieved.
Request Lenses
describeMaintenanceWindowTargets_filters :: Lens' DescribeMaintenanceWindowTargets (Maybe [MaintenanceWindowFilter]) Source #
Optional filters that can be used to narrow down the scope of the
returned window targets. The supported filter keys are Type
,
WindowTargetId
, and OwnerInformation
.
describeMaintenanceWindowTargets_nextToken :: Lens' DescribeMaintenanceWindowTargets (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeMaintenanceWindowTargets_maxResults :: Lens' DescribeMaintenanceWindowTargets (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
describeMaintenanceWindowTargets_windowId :: Lens' DescribeMaintenanceWindowTargets Text Source #
The ID of the maintenance window whose targets should be retrieved.
Destructuring the Response
data DescribeMaintenanceWindowTargetsResponse Source #
See: newDescribeMaintenanceWindowTargetsResponse
smart constructor.
DescribeMaintenanceWindowTargetsResponse' | |
|
Instances
newDescribeMaintenanceWindowTargetsResponse Source #
Create a value of DescribeMaintenanceWindowTargetsResponse
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:DescribeMaintenanceWindowTargets'
, describeMaintenanceWindowTargetsResponse_nextToken
- The token to use when requesting the next set of items. If there are no
additional items to return, the string is empty.
$sel:targets:DescribeMaintenanceWindowTargetsResponse'
, describeMaintenanceWindowTargetsResponse_targets
- Information about the targets in the maintenance window.
$sel:httpStatus:DescribeMaintenanceWindowTargetsResponse'
, describeMaintenanceWindowTargetsResponse_httpStatus
- The response's http status code.
Response Lenses
describeMaintenanceWindowTargetsResponse_nextToken :: Lens' DescribeMaintenanceWindowTargetsResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
describeMaintenanceWindowTargetsResponse_targets :: Lens' DescribeMaintenanceWindowTargetsResponse (Maybe [MaintenanceWindowTarget]) Source #
Information about the targets in the maintenance window.
describeMaintenanceWindowTargetsResponse_httpStatus :: Lens' DescribeMaintenanceWindowTargetsResponse Int Source #
The response's http status code.