| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Config.Types.ResourceKey
Description
Synopsis
Documentation
data ResourceKey Source #
The details that identify a resource within Config, including the resource type and resource ID.
See: newResourceKey smart constructor.
Constructors
| ResourceKey' | |
Fields
| |
Instances
Arguments
| :: ResourceType | |
| -> Text | |
| -> ResourceKey |
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).