libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents
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.SSMIncidents.GetResourcePolicies

Description

Retrieves the resource policies attached to the specified response plan.

This operation returns paginated results.

Synopsis

Creating a Request

data GetResourcePolicies Source #

See: newGetResourcePolicies smart constructor.

Constructors

GetResourcePolicies' 

Fields

  • nextToken :: Maybe Text

    The pagination token to continue to the next page of results.

  • maxResults :: Maybe Natural

    The maximum number of resource policies to display per page of results.

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the response plan with the attached resource policy.

Instances

Instances details
Eq GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Read GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Show GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Generic GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Associated Types

type Rep GetResourcePolicies :: Type -> Type #

NFData GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Methods

rnf :: GetResourcePolicies -> () #

Hashable GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

ToJSON GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

AWSPager GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

AWSRequest GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Associated Types

type AWSResponse GetResourcePolicies #

ToHeaders GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

ToPath GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

ToQuery GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

type Rep GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

type Rep GetResourcePolicies = D1 ('MetaData "GetResourcePolicies" "Amazonka.SSMIncidents.GetResourcePolicies" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "GetResourcePolicies'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetResourcePolicies Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

newGetResourcePolicies Source #

Create a value of GetResourcePolicies 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:GetResourcePolicies', getResourcePolicies_nextToken - The pagination token to continue to the next page of results.

$sel:maxResults:GetResourcePolicies', getResourcePolicies_maxResults - The maximum number of resource policies to display per page of results.

$sel:resourceArn:GetResourcePolicies', getResourcePolicies_resourceArn - The Amazon Resource Name (ARN) of the response plan with the attached resource policy.

Request Lenses

getResourcePolicies_nextToken :: Lens' GetResourcePolicies (Maybe Text) Source #

The pagination token to continue to the next page of results.

getResourcePolicies_maxResults :: Lens' GetResourcePolicies (Maybe Natural) Source #

The maximum number of resource policies to display per page of results.

getResourcePolicies_resourceArn :: Lens' GetResourcePolicies Text Source #

The Amazon Resource Name (ARN) of the response plan with the attached resource policy.

Destructuring the Response

data GetResourcePoliciesResponse Source #

See: newGetResourcePoliciesResponse smart constructor.

Constructors

GetResourcePoliciesResponse' 

Fields

Instances

Instances details
Eq GetResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Read GetResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Show GetResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Generic GetResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

Associated Types

type Rep GetResourcePoliciesResponse :: Type -> Type #

NFData GetResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

type Rep GetResourcePoliciesResponse Source # 
Instance details

Defined in Amazonka.SSMIncidents.GetResourcePolicies

type Rep GetResourcePoliciesResponse = D1 ('MetaData "GetResourcePoliciesResponse" "Amazonka.SSMIncidents.GetResourcePolicies" "libZSservicesZSamazonka-ssm-incidentsZSamazonka-ssm-incidents" 'False) (C1 ('MetaCons "GetResourcePoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "resourcePolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ResourcePolicy]))))

newGetResourcePoliciesResponse Source #

Create a value of GetResourcePoliciesResponse 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:GetResourcePolicies', getResourcePoliciesResponse_nextToken - The pagination token to continue to the next page of results.

$sel:httpStatus:GetResourcePoliciesResponse', getResourcePoliciesResponse_httpStatus - The response's http status code.

$sel:resourcePolicies:GetResourcePoliciesResponse', getResourcePoliciesResponse_resourcePolicies - Details about the resource policy attached to the response plan.

Response Lenses

getResourcePoliciesResponse_nextToken :: Lens' GetResourcePoliciesResponse (Maybe Text) Source #

The pagination token to continue to the next page of results.

getResourcePoliciesResponse_resourcePolicies :: Lens' GetResourcePoliciesResponse [ResourcePolicy] Source #

Details about the resource policy attached to the response plan.