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

Description

Lists all related-item resources associated with a Systems Manager OpsCenter OpsItem. OpsCenter is a capability of Amazon Web Services Systems Manager.

This operation returns paginated results.

Synopsis

Creating a Request

data ListOpsItemRelatedItems Source #

See: newListOpsItemRelatedItems smart constructor.

Constructors

ListOpsItemRelatedItems' 

Fields

  • opsItemId :: Maybe Text

    The ID of the OpsItem for which you want to list all related-item resources.

  • filters :: Maybe [OpsItemRelatedItemsFilter]

    One or more OpsItem filters. Use a filter to return a more specific list of results.

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

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Read ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Show ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Generic ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Associated Types

type Rep ListOpsItemRelatedItems :: Type -> Type #

NFData ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Methods

rnf :: ListOpsItemRelatedItems -> () #

Hashable ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

ToJSON ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

AWSPager ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

AWSRequest ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

ToHeaders ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

ToPath ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

ToQuery ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

type Rep ListOpsItemRelatedItems Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

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

Defined in Amazonka.SSM.ListOpsItemRelatedItems

newListOpsItemRelatedItems :: ListOpsItemRelatedItems Source #

Create a value of ListOpsItemRelatedItems 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:opsItemId:ListOpsItemRelatedItems', listOpsItemRelatedItems_opsItemId - The ID of the OpsItem for which you want to list all related-item resources.

$sel:filters:ListOpsItemRelatedItems', listOpsItemRelatedItems_filters - One or more OpsItem filters. Use a filter to return a more specific list of results.

$sel:nextToken:ListOpsItemRelatedItems', listOpsItemRelatedItems_nextToken - The token for the next set of items to return. (You received this token from a previous call.)

$sel:maxResults:ListOpsItemRelatedItems', listOpsItemRelatedItems_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

listOpsItemRelatedItems_opsItemId :: Lens' ListOpsItemRelatedItems (Maybe Text) Source #

The ID of the OpsItem for which you want to list all related-item resources.

listOpsItemRelatedItems_filters :: Lens' ListOpsItemRelatedItems (Maybe [OpsItemRelatedItemsFilter]) Source #

One or more OpsItem filters. Use a filter to return a more specific list of results.

listOpsItemRelatedItems_nextToken :: Lens' ListOpsItemRelatedItems (Maybe Text) Source #

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

listOpsItemRelatedItems_maxResults :: Lens' ListOpsItemRelatedItems (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 ListOpsItemRelatedItemsResponse Source #

See: newListOpsItemRelatedItemsResponse smart constructor.

Constructors

ListOpsItemRelatedItemsResponse' 

Fields

Instances

Instances details
Eq ListOpsItemRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Read ListOpsItemRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Show ListOpsItemRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Generic ListOpsItemRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

Associated Types

type Rep ListOpsItemRelatedItemsResponse :: Type -> Type #

NFData ListOpsItemRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

type Rep ListOpsItemRelatedItemsResponse Source # 
Instance details

Defined in Amazonka.SSM.ListOpsItemRelatedItems

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

newListOpsItemRelatedItemsResponse Source #

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

$sel:summaries:ListOpsItemRelatedItemsResponse', listOpsItemRelatedItemsResponse_summaries - A list of related-item resources for the specified OpsItem.

$sel:httpStatus:ListOpsItemRelatedItemsResponse', listOpsItemRelatedItemsResponse_httpStatus - The response's http status code.

Response Lenses

listOpsItemRelatedItemsResponse_nextToken :: Lens' ListOpsItemRelatedItemsResponse (Maybe Text) Source #

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