libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.Types.RoleUsageType

Description

 
Synopsis

Documentation

data RoleUsageType Source #

An object that contains details about how a service-linked role is used, if that information is returned by the service.

This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.

See: newRoleUsageType smart constructor.

Constructors

RoleUsageType' 

Fields

  • resources :: Maybe [Text]

    The name of the resource that is using the service-linked role.

  • region :: Maybe Text

    The name of the Region where the service-linked role is being used.

Instances

Instances details
Eq RoleUsageType Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleUsageType

Read RoleUsageType Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleUsageType

Show RoleUsageType Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleUsageType

Generic RoleUsageType Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleUsageType

Associated Types

type Rep RoleUsageType :: Type -> Type #

NFData RoleUsageType Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleUsageType

Methods

rnf :: RoleUsageType -> () #

Hashable RoleUsageType Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleUsageType

FromXML RoleUsageType Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleUsageType

type Rep RoleUsageType Source # 
Instance details

Defined in Amazonka.IAM.Types.RoleUsageType

type Rep RoleUsageType = D1 ('MetaData "RoleUsageType" "Amazonka.IAM.Types.RoleUsageType" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "RoleUsageType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newRoleUsageType :: RoleUsageType Source #

Create a value of RoleUsageType 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:resources:RoleUsageType', roleUsageType_resources - The name of the resource that is using the service-linked role.

$sel:region:RoleUsageType', roleUsageType_region - The name of the Region where the service-linked role is being used.

roleUsageType_resources :: Lens' RoleUsageType (Maybe [Text]) Source #

The name of the resource that is using the service-linked role.

roleUsageType_region :: Lens' RoleUsageType (Maybe Text) Source #

The name of the Region where the service-linked role is being used.