libZSservicesZSamazonka-fmsZSamazonka-fms
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.FMS.GetProtocolsList

Description

Returns information about the specified Firewall Manager protocols list.

Synopsis

Creating a Request

data GetProtocolsList Source #

See: newGetProtocolsList smart constructor.

Constructors

GetProtocolsList' 

Fields

  • defaultList :: Maybe Bool

    Specifies whether the list to retrieve is a default list owned by Firewall Manager.

  • listId :: Text

    The ID of the Firewall Manager protocols list that you want the details for.

Instances

Instances details
Eq GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Read GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Show GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Generic GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Associated Types

type Rep GetProtocolsList :: Type -> Type #

NFData GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Methods

rnf :: GetProtocolsList -> () #

Hashable GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

ToJSON GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

AWSRequest GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Associated Types

type AWSResponse GetProtocolsList #

ToHeaders GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

ToPath GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

ToQuery GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

type Rep GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

type Rep GetProtocolsList = D1 ('MetaData "GetProtocolsList" "Amazonka.FMS.GetProtocolsList" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "GetProtocolsList'" 'PrefixI 'True) (S1 ('MetaSel ('Just "defaultList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "listId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetProtocolsList Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

newGetProtocolsList Source #

Create a value of GetProtocolsList 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:defaultList:GetProtocolsList', getProtocolsList_defaultList - Specifies whether the list to retrieve is a default list owned by Firewall Manager.

$sel:listId:GetProtocolsList', getProtocolsList_listId - The ID of the Firewall Manager protocols list that you want the details for.

Request Lenses

getProtocolsList_defaultList :: Lens' GetProtocolsList (Maybe Bool) Source #

Specifies whether the list to retrieve is a default list owned by Firewall Manager.

getProtocolsList_listId :: Lens' GetProtocolsList Text Source #

The ID of the Firewall Manager protocols list that you want the details for.

Destructuring the Response

data GetProtocolsListResponse Source #

See: newGetProtocolsListResponse smart constructor.

Constructors

GetProtocolsListResponse' 

Fields

Instances

Instances details
Eq GetProtocolsListResponse Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Read GetProtocolsListResponse Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Show GetProtocolsListResponse Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Generic GetProtocolsListResponse Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

Associated Types

type Rep GetProtocolsListResponse :: Type -> Type #

NFData GetProtocolsListResponse Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

type Rep GetProtocolsListResponse Source # 
Instance details

Defined in Amazonka.FMS.GetProtocolsList

type Rep GetProtocolsListResponse = D1 ('MetaData "GetProtocolsListResponse" "Amazonka.FMS.GetProtocolsList" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "GetProtocolsListResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protocolsList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProtocolsListData)) :*: (S1 ('MetaSel ('Just "protocolsListArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetProtocolsListResponse Source #

Create a value of GetProtocolsListResponse 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:protocolsList:GetProtocolsListResponse', getProtocolsListResponse_protocolsList - Information about the specified Firewall Manager protocols list.

$sel:protocolsListArn:GetProtocolsListResponse', getProtocolsListResponse_protocolsListArn - The Amazon Resource Name (ARN) of the specified protocols list.

$sel:httpStatus:GetProtocolsListResponse', getProtocolsListResponse_httpStatus - The response's http status code.

Response Lenses

getProtocolsListResponse_protocolsList :: Lens' GetProtocolsListResponse (Maybe ProtocolsListData) Source #

Information about the specified Firewall Manager protocols list.

getProtocolsListResponse_protocolsListArn :: Lens' GetProtocolsListResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the specified protocols list.