libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.DescribeMaintenanceWindows

Description

Retrieves the maintenance windows in an Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeMaintenanceWindows Source #

See: newDescribeMaintenanceWindows smart constructor.

Constructors

DescribeMaintenanceWindows' 

Fields

  • filters :: Maybe [MaintenanceWindowFilter]

    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.

  • nextToken :: Maybe Text

    The token for the next set of items to return. (You received this token from a previous call.)

  • maxResults :: Maybe Natural

    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.

Instances

Instances details
Eq DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

Read DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

Show DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

Generic DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

Associated Types

type Rep DescribeMaintenanceWindows :: Type -> Type #

NFData DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

Hashable DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

ToJSON DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

AWSPager DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

AWSRequest DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

ToHeaders DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

ToPath DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

ToQuery DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

type Rep DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

type Rep DescribeMaintenanceWindows = D1 ('MetaData "DescribeMaintenanceWindows" "Amazonka.SSM.DescribeMaintenanceWindows" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DescribeMaintenanceWindows'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MaintenanceWindowFilter])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse DescribeMaintenanceWindows Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

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:

$sel:filters: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:nextToken:DescribeMaintenanceWindows', describeMaintenanceWindows_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$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.

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_nextToken :: Lens' DescribeMaintenanceWindows (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

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.

Destructuring the Response

data DescribeMaintenanceWindowsResponse Source #

Constructors

DescribeMaintenanceWindowsResponse' 

Fields

Instances

Instances details
Eq DescribeMaintenanceWindowsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

Show DescribeMaintenanceWindowsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

Generic DescribeMaintenanceWindowsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

Associated Types

type Rep DescribeMaintenanceWindowsResponse :: Type -> Type #

NFData DescribeMaintenanceWindowsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

type Rep DescribeMaintenanceWindowsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeMaintenanceWindows

type Rep DescribeMaintenanceWindowsResponse = D1 ('MetaData "DescribeMaintenanceWindowsResponse" "Amazonka.SSM.DescribeMaintenanceWindows" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DescribeMaintenanceWindowsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "windowIdentities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MaintenanceWindowIdentity])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeMaintenanceWindowsResponse Source #

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:

$sel:windowIdentities:DescribeMaintenanceWindowsResponse', describeMaintenanceWindowsResponse_windowIdentities - Information about the maintenance windows.

$sel:nextToken: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: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.