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 |
Retrieves information about the maintenance window targets or tasks that a managed node is associated with.
This operation returns paginated results.
Synopsis
- data DescribeMaintenanceWindowsForTarget = DescribeMaintenanceWindowsForTarget' {}
- newDescribeMaintenanceWindowsForTarget :: MaintenanceWindowResourceType -> DescribeMaintenanceWindowsForTarget
- describeMaintenanceWindowsForTarget_maxResults :: Lens' DescribeMaintenanceWindowsForTarget (Maybe Natural)
- describeMaintenanceWindowsForTarget_nextToken :: Lens' DescribeMaintenanceWindowsForTarget (Maybe Text)
- describeMaintenanceWindowsForTarget_targets :: Lens' DescribeMaintenanceWindowsForTarget [Target]
- describeMaintenanceWindowsForTarget_resourceType :: Lens' DescribeMaintenanceWindowsForTarget MaintenanceWindowResourceType
- data DescribeMaintenanceWindowsForTargetResponse = DescribeMaintenanceWindowsForTargetResponse' {}
- newDescribeMaintenanceWindowsForTargetResponse :: Int -> DescribeMaintenanceWindowsForTargetResponse
- describeMaintenanceWindowsForTargetResponse_nextToken :: Lens' DescribeMaintenanceWindowsForTargetResponse (Maybe Text)
- describeMaintenanceWindowsForTargetResponse_windowIdentities :: Lens' DescribeMaintenanceWindowsForTargetResponse (Maybe [MaintenanceWindowIdentityForTarget])
- describeMaintenanceWindowsForTargetResponse_httpStatus :: Lens' DescribeMaintenanceWindowsForTargetResponse Int
Creating a Request
data DescribeMaintenanceWindowsForTarget Source #
See: newDescribeMaintenanceWindowsForTarget
smart constructor.
DescribeMaintenanceWindowsForTarget' | |
|
Instances
newDescribeMaintenanceWindowsForTarget Source #
Create a value of DescribeMaintenanceWindowsForTarget
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:maxResults:DescribeMaintenanceWindowsForTarget'
, describeMaintenanceWindowsForTarget_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.
DescribeMaintenanceWindowsForTarget
, describeMaintenanceWindowsForTarget_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
DescribeMaintenanceWindowsForTarget
, describeMaintenanceWindowsForTarget_targets
- The managed node ID or key-value pair to retrieve information about.
DescribeMaintenanceWindowsForTarget
, describeMaintenanceWindowsForTarget_resourceType
- The type of resource you want to retrieve information about. For
example, INSTANCE
.
Request Lenses
describeMaintenanceWindowsForTarget_maxResults :: Lens' DescribeMaintenanceWindowsForTarget (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.
describeMaintenanceWindowsForTarget_nextToken :: Lens' DescribeMaintenanceWindowsForTarget (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeMaintenanceWindowsForTarget_targets :: Lens' DescribeMaintenanceWindowsForTarget [Target] Source #
The managed node ID or key-value pair to retrieve information about.
describeMaintenanceWindowsForTarget_resourceType :: Lens' DescribeMaintenanceWindowsForTarget MaintenanceWindowResourceType Source #
The type of resource you want to retrieve information about. For
example, INSTANCE
.
Destructuring the Response
data DescribeMaintenanceWindowsForTargetResponse Source #
See: newDescribeMaintenanceWindowsForTargetResponse
smart constructor.
DescribeMaintenanceWindowsForTargetResponse' | |
|
Instances
newDescribeMaintenanceWindowsForTargetResponse Source #
:: Int |
|
-> DescribeMaintenanceWindowsForTargetResponse |
Create a value of DescribeMaintenanceWindowsForTargetResponse
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:
DescribeMaintenanceWindowsForTarget
, describeMaintenanceWindowsForTargetResponse_nextToken
- The token for the next set of items to return. (You use this token in
the next call.)
$sel:windowIdentities:DescribeMaintenanceWindowsForTargetResponse'
, describeMaintenanceWindowsForTargetResponse_windowIdentities
- Information about the maintenance window targets and tasks a managed
node is associated with.
$sel:httpStatus:DescribeMaintenanceWindowsForTargetResponse'
, describeMaintenanceWindowsForTargetResponse_httpStatus
- The response's http status code.
Response Lenses
describeMaintenanceWindowsForTargetResponse_nextToken :: Lens' DescribeMaintenanceWindowsForTargetResponse (Maybe Text) Source #
The token for the next set of items to return. (You use this token in the next call.)
describeMaintenanceWindowsForTargetResponse_windowIdentities :: Lens' DescribeMaintenanceWindowsForTargetResponse (Maybe [MaintenanceWindowIdentityForTarget]) Source #
Information about the maintenance window targets and tasks a managed node is associated with.
describeMaintenanceWindowsForTargetResponse_httpStatus :: Lens' DescribeMaintenanceWindowsForTargetResponse Int Source #
The response's http status code.