Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Lists the targets registered with the Maintenance Window.
Synopsis
- describeMaintenanceWindowTargets :: Text -> DescribeMaintenanceWindowTargets
- data DescribeMaintenanceWindowTargets
- dmwtFilters :: Lens' DescribeMaintenanceWindowTargets [MaintenanceWindowFilter]
- dmwtNextToken :: Lens' DescribeMaintenanceWindowTargets (Maybe Text)
- dmwtMaxResults :: Lens' DescribeMaintenanceWindowTargets (Maybe Natural)
- dmwtWindowId :: Lens' DescribeMaintenanceWindowTargets Text
- describeMaintenanceWindowTargetsResponse :: Int -> DescribeMaintenanceWindowTargetsResponse
- data DescribeMaintenanceWindowTargetsResponse
- dmwtrsNextToken :: Lens' DescribeMaintenanceWindowTargetsResponse (Maybe Text)
- dmwtrsTargets :: Lens' DescribeMaintenanceWindowTargetsResponse [MaintenanceWindowTarget]
- dmwtrsResponseStatus :: Lens' DescribeMaintenanceWindowTargetsResponse Int
Creating a Request
describeMaintenanceWindowTargets Source #
Creates a value of DescribeMaintenanceWindowTargets
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmwtFilters
- 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.dmwtNextToken
- The token for the next set of items to return. (You received this token from a previous call.)dmwtMaxResults
- 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.dmwtWindowId
- The ID of the Maintenance Window whose targets should be retrieved.
data DescribeMaintenanceWindowTargets Source #
See: describeMaintenanceWindowTargets
smart constructor.
Instances
Request Lenses
dmwtFilters :: Lens' DescribeMaintenanceWindowTargets [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.
dmwtNextToken :: Lens' DescribeMaintenanceWindowTargets (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dmwtMaxResults :: 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.
dmwtWindowId :: Lens' DescribeMaintenanceWindowTargets Text Source #
The ID of the Maintenance Window whose targets should be retrieved.
Destructuring the Response
describeMaintenanceWindowTargetsResponse Source #
Creates a value of DescribeMaintenanceWindowTargetsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmwtrsNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.dmwtrsTargets
- Information about the targets in the Maintenance Window.dmwtrsResponseStatus
- -- | The response status code.
data DescribeMaintenanceWindowTargetsResponse Source #
See: describeMaintenanceWindowTargetsResponse
smart constructor.
Instances
Response Lenses
dmwtrsNextToken :: 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.
dmwtrsTargets :: Lens' DescribeMaintenanceWindowTargetsResponse [MaintenanceWindowTarget] Source #
Information about the targets in the Maintenance Window.
dmwtrsResponseStatus :: Lens' DescribeMaintenanceWindowTargetsResponse Int Source #
- - | The response status code.