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
- data ResourceMetadata = ResourceMetadata' {}
- newResourceMetadata :: ResourceMetadata
- resourceMetadata_versionId :: Lens' ResourceMetadata (Maybe Text)
- resourceMetadata_owner :: Lens' ResourceMetadata (Maybe UserMetadata)
- resourceMetadata_name :: Lens' ResourceMetadata (Maybe Text)
- resourceMetadata_id :: Lens' ResourceMetadata (Maybe Text)
- resourceMetadata_type :: Lens' ResourceMetadata (Maybe ResourceType)
- resourceMetadata_originalName :: Lens' ResourceMetadata (Maybe Text)
- resourceMetadata_parentId :: Lens' ResourceMetadata (Maybe Text)
Documentation
data ResourceMetadata Source #
Describes the metadata of a resource.
See: newResourceMetadata
smart constructor.
ResourceMetadata' | |
|
Instances
newResourceMetadata :: ResourceMetadata Source #
Create a value of ResourceMetadata
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:versionId:ResourceMetadata'
, resourceMetadata_versionId
- The version ID of the resource. This is an optional field and is filled
for action on document version.
$sel:owner:ResourceMetadata'
, resourceMetadata_owner
- The owner of the resource.
$sel:name:ResourceMetadata'
, resourceMetadata_name
- The name of the resource.
$sel:id:ResourceMetadata'
, resourceMetadata_id
- The ID of the resource.
$sel:type':ResourceMetadata'
, resourceMetadata_type
- The type of resource.
$sel:originalName:ResourceMetadata'
, resourceMetadata_originalName
- The original name of the resource before a rename operation.
$sel:parentId:ResourceMetadata'
, resourceMetadata_parentId
- The parent ID of the resource before a rename operation.
resourceMetadata_versionId :: Lens' ResourceMetadata (Maybe Text) Source #
The version ID of the resource. This is an optional field and is filled for action on document version.
resourceMetadata_owner :: Lens' ResourceMetadata (Maybe UserMetadata) Source #
The owner of the resource.
resourceMetadata_name :: Lens' ResourceMetadata (Maybe Text) Source #
The name of the resource.
resourceMetadata_id :: Lens' ResourceMetadata (Maybe Text) Source #
The ID of the resource.
resourceMetadata_type :: Lens' ResourceMetadata (Maybe ResourceType) Source #
The type of resource.
resourceMetadata_originalName :: Lens' ResourceMetadata (Maybe Text) Source #
The original name of the resource before a rename operation.
resourceMetadata_parentId :: Lens' ResourceMetadata (Maybe Text) Source #
The parent ID of the resource before a rename operation.