libZSservicesZSamazonka-inspectorZSamazonka-inspector
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.Inspector.DescribeCrossAccountAccessRole

Description

Describes the IAM role that enables Amazon Inspector to access your AWS account.

Synopsis

Creating a Request

data DescribeCrossAccountAccessRole Source #

See: newDescribeCrossAccountAccessRole smart constructor.

Instances

Instances details
Eq DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

Read DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

Show DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

Generic DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

Associated Types

type Rep DescribeCrossAccountAccessRole :: Type -> Type #

NFData DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

Hashable DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

ToJSON DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

AWSRequest DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

ToHeaders DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

ToPath DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

ToQuery DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

type Rep DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

type Rep DescribeCrossAccountAccessRole = D1 ('MetaData "DescribeCrossAccountAccessRole" "Amazonka.Inspector.DescribeCrossAccountAccessRole" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "DescribeCrossAccountAccessRole'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DescribeCrossAccountAccessRole Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

newDescribeCrossAccountAccessRole :: DescribeCrossAccountAccessRole Source #

Create a value of DescribeCrossAccountAccessRole with all optional fields omitted.

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

Destructuring the Response

data DescribeCrossAccountAccessRoleResponse Source #

Constructors

DescribeCrossAccountAccessRoleResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • roleArn :: Text

    The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.

  • valid :: Bool

    A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.

  • registeredAt :: POSIX

    The date when the cross-account access role was registered.

Instances

Instances details
Eq DescribeCrossAccountAccessRoleResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

Read DescribeCrossAccountAccessRoleResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

Show DescribeCrossAccountAccessRoleResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

Generic DescribeCrossAccountAccessRoleResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

NFData DescribeCrossAccountAccessRoleResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

type Rep DescribeCrossAccountAccessRoleResponse Source # 
Instance details

Defined in Amazonka.Inspector.DescribeCrossAccountAccessRole

type Rep DescribeCrossAccountAccessRoleResponse = D1 ('MetaData "DescribeCrossAccountAccessRoleResponse" "Amazonka.Inspector.DescribeCrossAccountAccessRole" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "DescribeCrossAccountAccessRoleResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "valid") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "registeredAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newDescribeCrossAccountAccessRoleResponse Source #

Create a value of DescribeCrossAccountAccessRoleResponse 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:httpStatus:DescribeCrossAccountAccessRoleResponse', describeCrossAccountAccessRoleResponse_httpStatus - The response's http status code.

$sel:roleArn:DescribeCrossAccountAccessRoleResponse', describeCrossAccountAccessRoleResponse_roleArn - The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.

$sel:valid:DescribeCrossAccountAccessRoleResponse', describeCrossAccountAccessRoleResponse_valid - A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.

$sel:registeredAt:DescribeCrossAccountAccessRoleResponse', describeCrossAccountAccessRoleResponse_registeredAt - The date when the cross-account access role was registered.

Response Lenses

describeCrossAccountAccessRoleResponse_roleArn :: Lens' DescribeCrossAccountAccessRoleResponse Text Source #

The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.

describeCrossAccountAccessRoleResponse_valid :: Lens' DescribeCrossAccountAccessRoleResponse Bool Source #

A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.