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 |
Describes the updates of a directory for a particular update type.
This operation returns paginated results.
Synopsis
- data DescribeUpdateDirectory = DescribeUpdateDirectory' {
- nextToken :: Maybe Text
- regionName :: Maybe Text
- directoryId :: Text
- updateType :: UpdateType
- newDescribeUpdateDirectory :: Text -> UpdateType -> DescribeUpdateDirectory
- describeUpdateDirectory_nextToken :: Lens' DescribeUpdateDirectory (Maybe Text)
- describeUpdateDirectory_regionName :: Lens' DescribeUpdateDirectory (Maybe Text)
- describeUpdateDirectory_directoryId :: Lens' DescribeUpdateDirectory Text
- describeUpdateDirectory_updateType :: Lens' DescribeUpdateDirectory UpdateType
- data DescribeUpdateDirectoryResponse = DescribeUpdateDirectoryResponse' {}
- newDescribeUpdateDirectoryResponse :: Int -> DescribeUpdateDirectoryResponse
- describeUpdateDirectoryResponse_nextToken :: Lens' DescribeUpdateDirectoryResponse (Maybe Text)
- describeUpdateDirectoryResponse_updateActivities :: Lens' DescribeUpdateDirectoryResponse (Maybe [UpdateInfoEntry])
- describeUpdateDirectoryResponse_httpStatus :: Lens' DescribeUpdateDirectoryResponse Int
Creating a Request
data DescribeUpdateDirectory Source #
See: newDescribeUpdateDirectory
smart constructor.
DescribeUpdateDirectory' | |
|
Instances
newDescribeUpdateDirectory Source #
Create a value of DescribeUpdateDirectory
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:
DescribeUpdateDirectory
, describeUpdateDirectory_nextToken
- The DescribeUpdateDirectoryResult
. NextToken value from a previous
call to DescribeUpdateDirectory. Pass null if this is the first call.
DescribeUpdateDirectory
, describeUpdateDirectory_regionName
- The name of the Region.
DescribeUpdateDirectory
, describeUpdateDirectory_directoryId
- The unique identifier of the directory.
$sel:updateType:DescribeUpdateDirectory'
, describeUpdateDirectory_updateType
- The type of updates you want to describe for the directory.
Request Lenses
describeUpdateDirectory_nextToken :: Lens' DescribeUpdateDirectory (Maybe Text) Source #
The DescribeUpdateDirectoryResult
. NextToken value from a previous
call to DescribeUpdateDirectory. Pass null if this is the first call.
describeUpdateDirectory_regionName :: Lens' DescribeUpdateDirectory (Maybe Text) Source #
The name of the Region.
describeUpdateDirectory_directoryId :: Lens' DescribeUpdateDirectory Text Source #
The unique identifier of the directory.
describeUpdateDirectory_updateType :: Lens' DescribeUpdateDirectory UpdateType Source #
The type of updates you want to describe for the directory.
Destructuring the Response
data DescribeUpdateDirectoryResponse Source #
See: newDescribeUpdateDirectoryResponse
smart constructor.
DescribeUpdateDirectoryResponse' | |
|
Instances
newDescribeUpdateDirectoryResponse Source #
Create a value of DescribeUpdateDirectoryResponse
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:
DescribeUpdateDirectory
, describeUpdateDirectoryResponse_nextToken
- If not null, more results are available. Pass this value for the
NextToken
parameter.
$sel:updateActivities:DescribeUpdateDirectoryResponse'
, describeUpdateDirectoryResponse_updateActivities
- The list of update activities on a directory for the requested update
type.
$sel:httpStatus:DescribeUpdateDirectoryResponse'
, describeUpdateDirectoryResponse_httpStatus
- The response's http status code.
Response Lenses
describeUpdateDirectoryResponse_nextToken :: Lens' DescribeUpdateDirectoryResponse (Maybe Text) Source #
If not null, more results are available. Pass this value for the
NextToken
parameter.
describeUpdateDirectoryResponse_updateActivities :: Lens' DescribeUpdateDirectoryResponse (Maybe [UpdateInfoEntry]) Source #
The list of update activities on a directory for the requested update type.
describeUpdateDirectoryResponse_httpStatus :: Lens' DescribeUpdateDirectoryResponse Int Source #
The response's http status code.