libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts
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.SSMContacts.GetContactPolicy

Description

Retrieves the resource policies attached to the specified contact or escalation plan.

Synopsis

Creating a Request

data GetContactPolicy Source #

See: newGetContactPolicy smart constructor.

Constructors

GetContactPolicy' 

Fields

  • contactArn :: Text

    The Amazon Resource Name (ARN) of the contact or escalation plan.

Instances

Instances details
Eq GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Read GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Show GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Generic GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Associated Types

type Rep GetContactPolicy :: Type -> Type #

NFData GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Methods

rnf :: GetContactPolicy -> () #

Hashable GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

ToJSON GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

AWSRequest GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Associated Types

type AWSResponse GetContactPolicy #

ToHeaders GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

ToPath GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

ToQuery GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

type Rep GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

type Rep GetContactPolicy = D1 ('MetaData "GetContactPolicy" "Amazonka.SSMContacts.GetContactPolicy" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "GetContactPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetContactPolicy Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

newGetContactPolicy Source #

Create a value of GetContactPolicy 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:contactArn:GetContactPolicy', getContactPolicy_contactArn - The Amazon Resource Name (ARN) of the contact or escalation plan.

Request Lenses

getContactPolicy_contactArn :: Lens' GetContactPolicy Text Source #

The Amazon Resource Name (ARN) of the contact or escalation plan.

Destructuring the Response

data GetContactPolicyResponse Source #

See: newGetContactPolicyResponse smart constructor.

Constructors

GetContactPolicyResponse' 

Fields

Instances

Instances details
Eq GetContactPolicyResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Read GetContactPolicyResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Show GetContactPolicyResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Generic GetContactPolicyResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

Associated Types

type Rep GetContactPolicyResponse :: Type -> Type #

NFData GetContactPolicyResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

type Rep GetContactPolicyResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactPolicy

type Rep GetContactPolicyResponse = D1 ('MetaData "GetContactPolicyResponse" "Amazonka.SSMContacts.GetContactPolicy" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "GetContactPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetContactPolicyResponse Source #

Create a value of GetContactPolicyResponse 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:contactArn:GetContactPolicy', getContactPolicyResponse_contactArn - The ARN of the contact or escalation plan.

$sel:policy:GetContactPolicyResponse', getContactPolicyResponse_policy - Details about the resource policy attached to the contact or escalation plan.

$sel:httpStatus:GetContactPolicyResponse', getContactPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getContactPolicyResponse_policy :: Lens' GetContactPolicyResponse (Maybe Text) Source #

Details about the resource policy attached to the contact or escalation plan.