| 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 |
Amazonka.CloudDirectory.ListObjectChildren
Description
Returns a paginated list of child objects that are associated with a given object.
Synopsis
- data ListObjectChildren = ListObjectChildren' {}
- newListObjectChildren :: Text -> ObjectReference -> ListObjectChildren
- listObjectChildren_consistencyLevel :: Lens' ListObjectChildren (Maybe ConsistencyLevel)
- listObjectChildren_nextToken :: Lens' ListObjectChildren (Maybe Text)
- listObjectChildren_maxResults :: Lens' ListObjectChildren (Maybe Natural)
- listObjectChildren_directoryArn :: Lens' ListObjectChildren Text
- listObjectChildren_objectReference :: Lens' ListObjectChildren ObjectReference
- data ListObjectChildrenResponse = ListObjectChildrenResponse' {}
- newListObjectChildrenResponse :: Int -> ListObjectChildrenResponse
- listObjectChildrenResponse_children :: Lens' ListObjectChildrenResponse (Maybe (HashMap Text Text))
- listObjectChildrenResponse_nextToken :: Lens' ListObjectChildrenResponse (Maybe Text)
- listObjectChildrenResponse_httpStatus :: Lens' ListObjectChildrenResponse Int
Creating a Request
data ListObjectChildren Source #
See: newListObjectChildren smart constructor.
Constructors
| ListObjectChildren' | |
Fields
| |
Instances
newListObjectChildren Source #
Arguments
| :: Text | |
| -> ObjectReference | |
| -> ListObjectChildren |
Create a value of ListObjectChildren 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:consistencyLevel:ListObjectChildren', listObjectChildren_consistencyLevel - Represents the manner and timing in which the successful write or update
of an object is reflected in a subsequent read operation of that same
object.
$sel:nextToken:ListObjectChildren', listObjectChildren_nextToken - The pagination token.
$sel:maxResults:ListObjectChildren', listObjectChildren_maxResults - The maximum number of items to be retrieved in a single call. This is an
approximate number.
$sel:directoryArn:ListObjectChildren', listObjectChildren_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory
where the object resides. For more information, see arns.
$sel:objectReference:ListObjectChildren', listObjectChildren_objectReference - The reference that identifies the object for which child objects are
being listed.
Request Lenses
listObjectChildren_consistencyLevel :: Lens' ListObjectChildren (Maybe ConsistencyLevel) Source #
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
listObjectChildren_nextToken :: Lens' ListObjectChildren (Maybe Text) Source #
The pagination token.
listObjectChildren_maxResults :: Lens' ListObjectChildren (Maybe Natural) Source #
The maximum number of items to be retrieved in a single call. This is an approximate number.
listObjectChildren_directoryArn :: Lens' ListObjectChildren Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
listObjectChildren_objectReference :: Lens' ListObjectChildren ObjectReference Source #
The reference that identifies the object for which child objects are being listed.
Destructuring the Response
data ListObjectChildrenResponse Source #
See: newListObjectChildrenResponse smart constructor.
Constructors
| ListObjectChildrenResponse' | |
Instances
newListObjectChildrenResponse Source #
Create a value of ListObjectChildrenResponse 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:children:ListObjectChildrenResponse', listObjectChildrenResponse_children - Children structure, which is a map with key as the LinkName and
ObjectIdentifier as the value.
$sel:nextToken:ListObjectChildren', listObjectChildrenResponse_nextToken - The pagination token.
$sel:httpStatus:ListObjectChildrenResponse', listObjectChildrenResponse_httpStatus - The response's http status code.
Response Lenses
listObjectChildrenResponse_children :: Lens' ListObjectChildrenResponse (Maybe (HashMap Text Text)) Source #
Children structure, which is a map with key as the LinkName and
ObjectIdentifier as the value.
listObjectChildrenResponse_nextToken :: Lens' ListObjectChildrenResponse (Maybe Text) Source #
The pagination token.
listObjectChildrenResponse_httpStatus :: Lens' ListObjectChildrenResponse Int Source #
The response's http status code.