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 |
Retrieves information about the configurable settings for the specified directory.
Synopsis
- data DescribeSettings = DescribeSettings' {}
- newDescribeSettings :: Text -> DescribeSettings
- describeSettings_nextToken :: Lens' DescribeSettings (Maybe Text)
- describeSettings_status :: Lens' DescribeSettings (Maybe DirectoryConfigurationStatus)
- describeSettings_directoryId :: Lens' DescribeSettings Text
- data DescribeSettingsResponse = DescribeSettingsResponse' {
- directoryId :: Maybe Text
- nextToken :: Maybe Text
- settingEntries :: Maybe [SettingEntry]
- httpStatus :: Int
- newDescribeSettingsResponse :: Int -> DescribeSettingsResponse
- describeSettingsResponse_directoryId :: Lens' DescribeSettingsResponse (Maybe Text)
- describeSettingsResponse_nextToken :: Lens' DescribeSettingsResponse (Maybe Text)
- describeSettingsResponse_settingEntries :: Lens' DescribeSettingsResponse (Maybe [SettingEntry])
- describeSettingsResponse_httpStatus :: Lens' DescribeSettingsResponse Int
Creating a Request
data DescribeSettings Source #
See: newDescribeSettings
smart constructor.
DescribeSettings' | |
|
Instances
Create a value of DescribeSettings
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:
DescribeSettings
, describeSettings_nextToken
- The DescribeSettingsResult.NextToken
value from a previous call to
DescribeSettings. Pass null if this is the first call.
DescribeSettings
, describeSettings_status
- The status of the directory settings for which to retrieve information.
DescribeSettings
, describeSettings_directoryId
- The identifier of the directory for which to retrieve information.
Request Lenses
describeSettings_nextToken :: Lens' DescribeSettings (Maybe Text) Source #
The DescribeSettingsResult.NextToken
value from a previous call to
DescribeSettings. Pass null if this is the first call.
describeSettings_status :: Lens' DescribeSettings (Maybe DirectoryConfigurationStatus) Source #
The status of the directory settings for which to retrieve information.
describeSettings_directoryId :: Lens' DescribeSettings Text Source #
The identifier of the directory for which to retrieve information.
Destructuring the Response
data DescribeSettingsResponse Source #
See: newDescribeSettingsResponse
smart constructor.
DescribeSettingsResponse' | |
|
Instances
newDescribeSettingsResponse Source #
Create a value of DescribeSettingsResponse
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:
DescribeSettings
, describeSettingsResponse_directoryId
- The identifier of the directory.
DescribeSettings
, describeSettingsResponse_nextToken
- If not null, token that indicates that more results are available. Pass
this value for the NextToken
parameter in a subsequent call to
DescribeSettings
to retrieve the next set of items.
$sel:settingEntries:DescribeSettingsResponse'
, describeSettingsResponse_settingEntries
- The list of SettingEntry objects that were retrieved.
It is possible that this list contains less than the number of items
specified in the Limit
member of the request. This occurs if there are
less than the requested number of items left to retrieve, or if the
limitations of the operation have been exceeded.
$sel:httpStatus:DescribeSettingsResponse'
, describeSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
describeSettingsResponse_directoryId :: Lens' DescribeSettingsResponse (Maybe Text) Source #
The identifier of the directory.
describeSettingsResponse_nextToken :: Lens' DescribeSettingsResponse (Maybe Text) Source #
If not null, token that indicates that more results are available. Pass
this value for the NextToken
parameter in a subsequent call to
DescribeSettings
to retrieve the next set of items.
describeSettingsResponse_settingEntries :: Lens' DescribeSettingsResponse (Maybe [SettingEntry]) Source #
The list of SettingEntry objects that were retrieved.
It is possible that this list contains less than the number of items
specified in the Limit
member of the request. This occurs if there are
less than the requested number of items left to retrieve, or if the
limitations of the operation have been exceeded.
describeSettingsResponse_httpStatus :: Lens' DescribeSettingsResponse Int Source #
The response's http status code.