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

Description

Returns the Organizations account that is associated with Firewall Manager as the Firewall Manager administrator.

Synopsis

Creating a Request

data GetAdminAccount Source #

See: newGetAdminAccount smart constructor.

Constructors

GetAdminAccount' 

Instances

Instances details
Eq GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Read GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Show GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Generic GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Associated Types

type Rep GetAdminAccount :: Type -> Type #

NFData GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Methods

rnf :: GetAdminAccount -> () #

Hashable GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

ToJSON GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

AWSRequest GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Associated Types

type AWSResponse GetAdminAccount #

ToHeaders GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

ToPath GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

ToQuery GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

type Rep GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

type Rep GetAdminAccount = D1 ('MetaData "GetAdminAccount" "Amazonka.FMS.GetAdminAccount" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "GetAdminAccount'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetAdminAccount Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

newGetAdminAccount :: GetAdminAccount Source #

Create a value of GetAdminAccount with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetAdminAccountResponse Source #

See: newGetAdminAccountResponse smart constructor.

Constructors

GetAdminAccountResponse' 

Fields

Instances

Instances details
Eq GetAdminAccountResponse Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Read GetAdminAccountResponse Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Show GetAdminAccountResponse Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Generic GetAdminAccountResponse Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Associated Types

type Rep GetAdminAccountResponse :: Type -> Type #

NFData GetAdminAccountResponse Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

Methods

rnf :: GetAdminAccountResponse -> () #

type Rep GetAdminAccountResponse Source # 
Instance details

Defined in Amazonka.FMS.GetAdminAccount

type Rep GetAdminAccountResponse = D1 ('MetaData "GetAdminAccountResponse" "Amazonka.FMS.GetAdminAccount" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "GetAdminAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "adminAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccountRoleStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAdminAccountResponse Source #

Create a value of GetAdminAccountResponse 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:adminAccount:GetAdminAccountResponse', getAdminAccountResponse_adminAccount - The Amazon Web Services account that is set as the Firewall Manager administrator.

$sel:roleStatus:GetAdminAccountResponse', getAdminAccountResponse_roleStatus - The status of the Amazon Web Services account that you set as the Firewall Manager administrator.

$sel:httpStatus:GetAdminAccountResponse', getAdminAccountResponse_httpStatus - The response's http status code.

Response Lenses

getAdminAccountResponse_adminAccount :: Lens' GetAdminAccountResponse (Maybe Text) Source #

The Amazon Web Services account that is set as the Firewall Manager administrator.

getAdminAccountResponse_roleStatus :: Lens' GetAdminAccountResponse (Maybe AccountRoleStatus) Source #

The status of the Amazon Web Services account that you set as the Firewall Manager administrator.