| 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 |
Network.AWS.SSM.DescribeMaintenanceWindows
Description
Retrieves the Maintenance Windows in an AWS account.
Synopsis
- describeMaintenanceWindows :: DescribeMaintenanceWindows
- data DescribeMaintenanceWindows
- dmwFilters :: Lens' DescribeMaintenanceWindows [MaintenanceWindowFilter]
- dmwNextToken :: Lens' DescribeMaintenanceWindows (Maybe Text)
- dmwMaxResults :: Lens' DescribeMaintenanceWindows (Maybe Natural)
- describeMaintenanceWindowsResponse :: Int -> DescribeMaintenanceWindowsResponse
- data DescribeMaintenanceWindowsResponse
- dmwsrsWindowIdentities :: Lens' DescribeMaintenanceWindowsResponse [MaintenanceWindowIdentity]
- dmwsrsNextToken :: Lens' DescribeMaintenanceWindowsResponse (Maybe Text)
- dmwsrsResponseStatus :: Lens' DescribeMaintenanceWindowsResponse Int
Creating a Request
describeMaintenanceWindows :: DescribeMaintenanceWindows Source #
Creates a value of DescribeMaintenanceWindows with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmwFilters- Optional filters used to narrow down the scope of the returned Maintenance Windows. Supported filter keys are Name and Enabled.dmwNextToken- The token for the next set of items to return. (You received this token from a previous call.)dmwMaxResults- 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.
data DescribeMaintenanceWindows Source #
See: describeMaintenanceWindows smart constructor.
Instances
Request Lenses
dmwFilters :: Lens' DescribeMaintenanceWindows [MaintenanceWindowFilter] Source #
Optional filters used to narrow down the scope of the returned Maintenance Windows. Supported filter keys are Name and Enabled.
dmwNextToken :: Lens' DescribeMaintenanceWindows (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
dmwMaxResults :: Lens' DescribeMaintenanceWindows (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.
Destructuring the Response
describeMaintenanceWindowsResponse Source #
Arguments
| :: Int | |
| -> DescribeMaintenanceWindowsResponse |
Creates a value of DescribeMaintenanceWindowsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmwsrsWindowIdentities- Information about the Maintenance Windows.dmwsrsNextToken- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.dmwsrsResponseStatus- -- | The response status code.
data DescribeMaintenanceWindowsResponse Source #
See: describeMaintenanceWindowsResponse smart constructor.
Instances
Response Lenses
dmwsrsWindowIdentities :: Lens' DescribeMaintenanceWindowsResponse [MaintenanceWindowIdentity] Source #
Information about the Maintenance Windows.
dmwsrsNextToken :: Lens' DescribeMaintenanceWindowsResponse (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.
dmwsrsResponseStatus :: Lens' DescribeMaintenanceWindowsResponse Int Source #
- - | The response status code.