Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
This data type contains key-value pairs that identify various Amazon resources.
See: newScope
smart constructor.
Instances
Eq Scope Source # | |
Read Scope Source # | |
Show Scope Source # | |
Generic Scope Source # | |
NFData Scope Source # | |
Defined in Amazonka.Inspector.Types.Scope | |
Hashable Scope Source # | |
Defined in Amazonka.Inspector.Types.Scope | |
FromJSON Scope Source # | |
type Rep Scope Source # | |
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)))) |
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.