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

Description

List details about a specific contact channel.

Synopsis

Creating a Request

data GetContactChannel Source #

See: newGetContactChannel smart constructor.

Constructors

GetContactChannel' 

Fields

  • contactChannelId :: Text

    The Amazon Resource Name (ARN) of the contact channel you want information about.

Instances

Instances details
Eq GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Read GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Show GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Generic GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Associated Types

type Rep GetContactChannel :: Type -> Type #

NFData GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Methods

rnf :: GetContactChannel -> () #

Hashable GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

ToJSON GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

AWSRequest GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Associated Types

type AWSResponse GetContactChannel #

ToHeaders GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

ToPath GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

ToQuery GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

type Rep GetContactChannel Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

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

Defined in Amazonka.SSMContacts.GetContactChannel

newGetContactChannel Source #

Create a value of GetContactChannel 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:contactChannelId:GetContactChannel', getContactChannel_contactChannelId - The Amazon Resource Name (ARN) of the contact channel you want information about.

Request Lenses

getContactChannel_contactChannelId :: Lens' GetContactChannel Text Source #

The Amazon Resource Name (ARN) of the contact channel you want information about.

Destructuring the Response

data GetContactChannelResponse Source #

See: newGetContactChannelResponse smart constructor.

Constructors

GetContactChannelResponse' 

Fields

Instances

Instances details
Eq GetContactChannelResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Read GetContactChannelResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Show GetContactChannelResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Generic GetContactChannelResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

Associated Types

type Rep GetContactChannelResponse :: Type -> Type #

NFData GetContactChannelResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

type Rep GetContactChannelResponse Source # 
Instance details

Defined in Amazonka.SSMContacts.GetContactChannel

type Rep GetContactChannelResponse = D1 ('MetaData "GetContactChannelResponse" "Amazonka.SSMContacts.GetContactChannel" "libZSservicesZSamazonka-ssm-contactsZSamazonka-ssm-contacts" 'False) (C1 ('MetaCons "GetContactChannelResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activationStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ActivationStatus)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "contactArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "contactChannelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChannelType) :*: S1 ('MetaSel ('Just "deliveryAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContactChannelAddress)))))

newGetContactChannelResponse Source #

Create a value of GetContactChannelResponse 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:activationStatus:GetContactChannelResponse', getContactChannelResponse_activationStatus - A Boolean value indicating if the contact channel has been activated or not.

$sel:httpStatus:GetContactChannelResponse', getContactChannelResponse_httpStatus - The response's http status code.

$sel:contactArn:GetContactChannelResponse', getContactChannelResponse_contactArn - The ARN of the contact that the channel belongs to.

$sel:contactChannelArn:GetContactChannelResponse', getContactChannelResponse_contactChannelArn - The ARN of the contact channel.

$sel:name:GetContactChannelResponse', getContactChannelResponse_name - The name of the contact channel

$sel:type':GetContactChannelResponse', getContactChannelResponse_type - The type of contact channel. The type is SMS, VOICE, or EMAIL.

$sel:deliveryAddress:GetContactChannelResponse', getContactChannelResponse_deliveryAddress - The details that Incident Manager uses when trying to engage the contact channel.

Response Lenses

getContactChannelResponse_activationStatus :: Lens' GetContactChannelResponse (Maybe ActivationStatus) Source #

A Boolean value indicating if the contact channel has been activated or not.

getContactChannelResponse_contactArn :: Lens' GetContactChannelResponse Text Source #

The ARN of the contact that the channel belongs to.

getContactChannelResponse_type :: Lens' GetContactChannelResponse ChannelType Source #

The type of contact channel. The type is SMS, VOICE, or EMAIL.

getContactChannelResponse_deliveryAddress :: Lens' GetContactChannelResponse ContactChannelAddress Source #

The details that Incident Manager uses when trying to engage the contact channel.