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 |
Synopsis
Documentation
data ResourceKey Source #
The details that identify a resource within Config, including the resource type and resource ID.
See: newResourceKey
smart constructor.
ResourceKey' | |
|
Instances
Create a value of ResourceKey
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:resourceType:ResourceKey'
, resourceKey_resourceType
- The resource type.
$sel:resourceId:ResourceKey'
, resourceKey_resourceId
- The ID of the resource (for example., sg-xxxxxx).
resourceKey_resourceType :: Lens' ResourceKey ResourceType Source #
The resource type.
resourceKey_resourceId :: Lens' ResourceKey Text Source #
The ID of the resource (for example., sg-xxxxxx).