| 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.SSM.DescribeMaintenanceWindows
Description
Retrieves the maintenance windows in an Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data DescribeMaintenanceWindows = DescribeMaintenanceWindows' {}
- newDescribeMaintenanceWindows :: DescribeMaintenanceWindows
- describeMaintenanceWindows_filters :: Lens' DescribeMaintenanceWindows (Maybe [MaintenanceWindowFilter])
- describeMaintenanceWindows_maxResults :: Lens' DescribeMaintenanceWindows (Maybe Natural)
- describeMaintenanceWindows_nextToken :: Lens' DescribeMaintenanceWindows (Maybe Text)
- data DescribeMaintenanceWindowsResponse = DescribeMaintenanceWindowsResponse' {}
- newDescribeMaintenanceWindowsResponse :: Int -> DescribeMaintenanceWindowsResponse
- describeMaintenanceWindowsResponse_nextToken :: Lens' DescribeMaintenanceWindowsResponse (Maybe Text)
- describeMaintenanceWindowsResponse_windowIdentities :: Lens' DescribeMaintenanceWindowsResponse (Maybe [MaintenanceWindowIdentity])
- describeMaintenanceWindowsResponse_httpStatus :: Lens' DescribeMaintenanceWindowsResponse Int
Creating a Request
data DescribeMaintenanceWindows Source #
See: newDescribeMaintenanceWindows smart constructor.
Constructors
| DescribeMaintenanceWindows' | |
Fields
| |
Instances
newDescribeMaintenanceWindows :: DescribeMaintenanceWindows Source #
Create a value of DescribeMaintenanceWindows 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:
DescribeMaintenanceWindows, describeMaintenanceWindows_filters - Optional filters used to narrow down the scope of the returned
maintenance windows. Supported filter keys are Name and Enabled. For
example, Name=MyMaintenanceWindow and Enabled=True.
$sel:maxResults:DescribeMaintenanceWindows', describeMaintenanceWindows_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.
DescribeMaintenanceWindows, describeMaintenanceWindows_nextToken - The token for the next set of items to return. (You received this token
from a previous call.)
Request Lenses
describeMaintenanceWindows_filters :: Lens' DescribeMaintenanceWindows (Maybe [MaintenanceWindowFilter]) Source #
Optional filters used to narrow down the scope of the returned
maintenance windows. Supported filter keys are Name and Enabled. For
example, Name=MyMaintenanceWindow and Enabled=True.
describeMaintenanceWindows_maxResults :: 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.
describeMaintenanceWindows_nextToken :: Lens' DescribeMaintenanceWindows (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
Destructuring the Response
data DescribeMaintenanceWindowsResponse Source #
See: newDescribeMaintenanceWindowsResponse smart constructor.
Constructors
| DescribeMaintenanceWindowsResponse' | |
Fields
| |
Instances
newDescribeMaintenanceWindowsResponse Source #
Arguments
| :: Int | |
| -> DescribeMaintenanceWindowsResponse |
Create a value of DescribeMaintenanceWindowsResponse 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:
DescribeMaintenanceWindows, describeMaintenanceWindowsResponse_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:windowIdentities:DescribeMaintenanceWindowsResponse', describeMaintenanceWindowsResponse_windowIdentities - Information about the maintenance windows.
$sel:httpStatus:DescribeMaintenanceWindowsResponse', describeMaintenanceWindowsResponse_httpStatus - The response's http status code.
Response Lenses
describeMaintenanceWindowsResponse_nextToken :: 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.
describeMaintenanceWindowsResponse_windowIdentities :: Lens' DescribeMaintenanceWindowsResponse (Maybe [MaintenanceWindowIdentity]) Source #
Information about the maintenance windows.
describeMaintenanceWindowsResponse_httpStatus :: Lens' DescribeMaintenanceWindowsResponse Int Source #
The response's http status code.