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.Types.Scope

Description

 
Synopsis

Documentation

data Scope Source #

This data type contains key-value pairs that identify various Amazon resources.

See: newScope smart constructor.

Constructors

Scope' 

Fields

Instances

Instances details
Eq Scope Source # 
Instance details

Defined in Amazonka.Inspector.Types.Scope

Methods

(==) :: Scope -> Scope -> Bool #

(/=) :: Scope -> Scope -> Bool #

Read Scope Source # 
Instance details

Defined in Amazonka.Inspector.Types.Scope

Show Scope Source # 
Instance details

Defined in Amazonka.Inspector.Types.Scope

Methods

showsPrec :: Int -> Scope -> ShowS #

show :: Scope -> String #

showList :: [Scope] -> ShowS #

Generic Scope Source # 
Instance details

Defined in Amazonka.Inspector.Types.Scope

Associated Types

type Rep Scope :: Type -> Type #

Methods

from :: Scope -> Rep Scope x #

to :: Rep Scope x -> Scope #

NFData Scope Source # 
Instance details

Defined in Amazonka.Inspector.Types.Scope

Methods

rnf :: Scope -> () #

Hashable Scope Source # 
Instance details

Defined in Amazonka.Inspector.Types.Scope

Methods

hashWithSalt :: Int -> Scope -> Int #

hash :: Scope -> Int #

FromJSON Scope Source # 
Instance details

Defined in Amazonka.Inspector.Types.Scope

type Rep Scope Source # 
Instance details

Defined in Amazonka.Inspector.Types.Scope

type Rep Scope = D1 ('MetaData "Scope" "Amazonka.Inspector.Types.Scope" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "Scope'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScopeType))))

newScope :: Scope Source #

Create a value of Scope 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:value:Scope', scope_value - The resource identifier for the specified scope type.

$sel:key:Scope', scope_key - The type of the scope.

scope_value :: Lens' Scope (Maybe Text) Source #

The resource identifier for the specified scope type.

scope_key :: Lens' Scope (Maybe ScopeType) Source #

The type of the scope.