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 |
Describes the available option groups.
This operation returns paginated results.
Synopsis
- data DescribeOptionGroups = DescribeOptionGroups' {
- filters :: Maybe [Filter]
- engineName :: Maybe Text
- majorEngineVersion :: Maybe Text
- marker :: Maybe Text
- maxRecords :: Maybe Int
- optionGroupName :: Maybe Text
- newDescribeOptionGroups :: DescribeOptionGroups
- describeOptionGroups_filters :: Lens' DescribeOptionGroups (Maybe [Filter])
- describeOptionGroups_engineName :: Lens' DescribeOptionGroups (Maybe Text)
- describeOptionGroups_majorEngineVersion :: Lens' DescribeOptionGroups (Maybe Text)
- describeOptionGroups_marker :: Lens' DescribeOptionGroups (Maybe Text)
- describeOptionGroups_maxRecords :: Lens' DescribeOptionGroups (Maybe Int)
- describeOptionGroups_optionGroupName :: Lens' DescribeOptionGroups (Maybe Text)
- data DescribeOptionGroupsResponse = DescribeOptionGroupsResponse' {
- marker :: Maybe Text
- optionGroupsList :: Maybe [OptionGroup]
- httpStatus :: Int
- newDescribeOptionGroupsResponse :: Int -> DescribeOptionGroupsResponse
- describeOptionGroupsResponse_marker :: Lens' DescribeOptionGroupsResponse (Maybe Text)
- describeOptionGroupsResponse_optionGroupsList :: Lens' DescribeOptionGroupsResponse (Maybe [OptionGroup])
- describeOptionGroupsResponse_httpStatus :: Lens' DescribeOptionGroupsResponse Int
Creating a Request
data DescribeOptionGroups Source #
See: newDescribeOptionGroups
smart constructor.
DescribeOptionGroups' | |
|
Instances
newDescribeOptionGroups :: DescribeOptionGroups Source #
Create a value of DescribeOptionGroups
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:filters:DescribeOptionGroups'
, describeOptionGroups_filters
- This parameter isn't currently supported.
$sel:engineName:DescribeOptionGroups'
, describeOptionGroups_engineName
- Filters the list of option groups to only include groups associated with
a specific database engine.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
$sel:majorEngineVersion:DescribeOptionGroups'
, describeOptionGroups_majorEngineVersion
- Filters the list of option groups to only include groups associated with
a specific database engine version. If specified, then EngineName must
also be specified.
$sel:marker:DescribeOptionGroups'
, describeOptionGroups_marker
- An optional pagination token provided by a previous DescribeOptionGroups
request. If this parameter is specified, the response includes only
records beyond the marker, up to the value specified by MaxRecords
.
$sel:maxRecords:DescribeOptionGroups'
, describeOptionGroups_maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
called a marker is included in the response so that you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
$sel:optionGroupName:DescribeOptionGroups'
, describeOptionGroups_optionGroupName
- The name of the option group to describe. Can't be supplied together
with EngineName or MajorEngineVersion.
Request Lenses
describeOptionGroups_filters :: Lens' DescribeOptionGroups (Maybe [Filter]) Source #
This parameter isn't currently supported.
describeOptionGroups_engineName :: Lens' DescribeOptionGroups (Maybe Text) Source #
Filters the list of option groups to only include groups associated with a specific database engine.
Valid Values:
mariadb
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
describeOptionGroups_majorEngineVersion :: Lens' DescribeOptionGroups (Maybe Text) Source #
Filters the list of option groups to only include groups associated with a specific database engine version. If specified, then EngineName must also be specified.
describeOptionGroups_marker :: Lens' DescribeOptionGroups (Maybe Text) Source #
An optional pagination token provided by a previous DescribeOptionGroups
request. If this parameter is specified, the response includes only
records beyond the marker, up to the value specified by MaxRecords
.
describeOptionGroups_maxRecords :: Lens' DescribeOptionGroups (Maybe Int) Source #
The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
called a marker is included in the response so that you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
describeOptionGroups_optionGroupName :: Lens' DescribeOptionGroups (Maybe Text) Source #
The name of the option group to describe. Can't be supplied together with EngineName or MajorEngineVersion.
Destructuring the Response
data DescribeOptionGroupsResponse Source #
List of option groups.
See: newDescribeOptionGroupsResponse
smart constructor.
DescribeOptionGroupsResponse' | |
|
Instances
newDescribeOptionGroupsResponse Source #
Create a value of DescribeOptionGroupsResponse
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:marker:DescribeOptionGroups'
, describeOptionGroupsResponse_marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
$sel:optionGroupsList:DescribeOptionGroupsResponse'
, describeOptionGroupsResponse_optionGroupsList
- List of option groups.
$sel:httpStatus:DescribeOptionGroupsResponse'
, describeOptionGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
describeOptionGroupsResponse_marker :: Lens' DescribeOptionGroupsResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
describeOptionGroupsResponse_optionGroupsList :: Lens' DescribeOptionGroupsResponse (Maybe [OptionGroup]) Source #
List of option groups.
describeOptionGroupsResponse_httpStatus :: Lens' DescribeOptionGroupsResponse Int Source #
The response's http status code.