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

Description

Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list of OpsItems. For more information, see Getting started with OpsCenter in the Amazon Web Services Systems Manager User Guide.

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and remediate operational issues impacting the performance and health of their Amazon Web Services resources. For more information, see OpsCenter in the Amazon Web Services Systems Manager User Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeOpsItems Source #

See: newDescribeOpsItems smart constructor.

Constructors

DescribeOpsItems' 

Fields

  • opsItemFilters :: Maybe [OpsItemFilter]

    One or more filters to limit the response.

    • Key: CreatedTime

      Operations: GreaterThan, LessThan

    • Key: LastModifiedBy

      Operations: Contains, Equals

    • Key: LastModifiedTime

      Operations: GreaterThan, LessThan

    • Key: Priority

      Operations: Equals

    • Key: Source

      Operations: Contains, Equals

    • Key: Status

      Operations: Equals

    • Key: Title*

      Operations: Equals,Contains

    • Key: OperationalData**

      Operations: Equals

    • Key: OperationalDataKey

      Operations: Equals

    • Key: OperationalDataValue

      Operations: Equals, Contains

    • Key: OpsItemId

      Operations: Equals

    • Key: ResourceId

      Operations: Contains

    • Key: AutomationId

      Operations: Equals

    • The Equals operator for Title matches the first 100 characters. If you specify more than 100 characters, they system returns an error that the filter value exceeds the length limit.
    • *If you filter the response by using the OperationalData operator, specify a key-value pair by using the following JSON format: {"key":"key_name","value":"a_value"}
  • nextToken :: Maybe Text

    A token to start the list. Use this token to get the next set of results.

  • 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 DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Read DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Show DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Generic DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Associated Types

type Rep DescribeOpsItems :: Type -> Type #

NFData DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Methods

rnf :: DescribeOpsItems -> () #

Hashable DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

ToJSON DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

AWSPager DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

AWSRequest DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Associated Types

type AWSResponse DescribeOpsItems #

ToHeaders DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

ToPath DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

ToQuery DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

type Rep DescribeOpsItems Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

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

Defined in Amazonka.SSM.DescribeOpsItems

newDescribeOpsItems :: DescribeOpsItems Source #

Create a value of DescribeOpsItems 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:opsItemFilters:DescribeOpsItems', describeOpsItems_opsItemFilters - One or more filters to limit the response.

  • Key: CreatedTime

    Operations: GreaterThan, LessThan

  • Key: LastModifiedBy

    Operations: Contains, Equals

  • Key: LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: Priority

    Operations: Equals

  • Key: Source

    Operations: Contains, Equals

  • Key: Status

    Operations: Equals

  • Key: Title*

    Operations: Equals,Contains

  • Key: OperationalData**

    Operations: Equals

  • Key: OperationalDataKey

    Operations: Equals

  • Key: OperationalDataValue

    Operations: Equals, Contains

  • Key: OpsItemId

    Operations: Equals

  • Key: ResourceId

    Operations: Contains

  • Key: AutomationId

    Operations: Equals

  • The Equals operator for Title matches the first 100 characters. If you specify more than 100 characters, they system returns an error that the filter value exceeds the length limit.
  • *If you filter the response by using the OperationalData operator, specify a key-value pair by using the following JSON format: {"key":"key_name","value":"a_value"}

$sel:nextToken:DescribeOpsItems', describeOpsItems_nextToken - A token to start the list. Use this token to get the next set of results.

$sel:maxResults:DescribeOpsItems', describeOpsItems_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

describeOpsItems_opsItemFilters :: Lens' DescribeOpsItems (Maybe [OpsItemFilter]) Source #

One or more filters to limit the response.

  • Key: CreatedTime

    Operations: GreaterThan, LessThan

  • Key: LastModifiedBy

    Operations: Contains, Equals

  • Key: LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: Priority

    Operations: Equals

  • Key: Source

    Operations: Contains, Equals

  • Key: Status

    Operations: Equals

  • Key: Title*

    Operations: Equals,Contains

  • Key: OperationalData**

    Operations: Equals

  • Key: OperationalDataKey

    Operations: Equals

  • Key: OperationalDataValue

    Operations: Equals, Contains

  • Key: OpsItemId

    Operations: Equals

  • Key: ResourceId

    Operations: Contains

  • Key: AutomationId

    Operations: Equals

  • The Equals operator for Title matches the first 100 characters. If you specify more than 100 characters, they system returns an error that the filter value exceeds the length limit.
  • *If you filter the response by using the OperationalData operator, specify a key-value pair by using the following JSON format: {"key":"key_name","value":"a_value"}

describeOpsItems_nextToken :: Lens' DescribeOpsItems (Maybe Text) Source #

A token to start the list. Use this token to get the next set of results.

describeOpsItems_maxResults :: Lens' DescribeOpsItems (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 DescribeOpsItemsResponse Source #

See: newDescribeOpsItemsResponse smart constructor.

Constructors

DescribeOpsItemsResponse' 

Fields

Instances

Instances details
Eq DescribeOpsItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Read DescribeOpsItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Show DescribeOpsItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Generic DescribeOpsItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

Associated Types

type Rep DescribeOpsItemsResponse :: Type -> Type #

NFData DescribeOpsItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

type Rep DescribeOpsItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.DescribeOpsItems

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

newDescribeOpsItemsResponse Source #

Create a value of DescribeOpsItemsResponse 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:nextToken:DescribeOpsItems', describeOpsItemsResponse_nextToken - The token for the next set of items to return. Use this token to get the next set of results.

$sel:opsItemSummaries:DescribeOpsItemsResponse', describeOpsItemsResponse_opsItemSummaries - A list of OpsItems.

$sel:httpStatus:DescribeOpsItemsResponse', describeOpsItemsResponse_httpStatus - The response's http status code.

Response Lenses

describeOpsItemsResponse_nextToken :: Lens' DescribeOpsItemsResponse (Maybe Text) Source #

The token for the next set of items to return. Use this token to get the next set of results.