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 |
Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account.
Currently, Config supports only one retention configuration per region in your account.
This operation returns paginated results.
Synopsis
- data DescribeRetentionConfigurations = DescribeRetentionConfigurations' {}
- newDescribeRetentionConfigurations :: DescribeRetentionConfigurations
- describeRetentionConfigurations_retentionConfigurationNames :: Lens' DescribeRetentionConfigurations (Maybe [Text])
- describeRetentionConfigurations_nextToken :: Lens' DescribeRetentionConfigurations (Maybe Text)
- data DescribeRetentionConfigurationsResponse = DescribeRetentionConfigurationsResponse' {}
- newDescribeRetentionConfigurationsResponse :: Int -> DescribeRetentionConfigurationsResponse
- describeRetentionConfigurationsResponse_retentionConfigurations :: Lens' DescribeRetentionConfigurationsResponse (Maybe [RetentionConfiguration])
- describeRetentionConfigurationsResponse_nextToken :: Lens' DescribeRetentionConfigurationsResponse (Maybe Text)
- describeRetentionConfigurationsResponse_httpStatus :: Lens' DescribeRetentionConfigurationsResponse Int
Creating a Request
data DescribeRetentionConfigurations Source #
See: newDescribeRetentionConfigurations
smart constructor.
DescribeRetentionConfigurations' | |
|
Instances
newDescribeRetentionConfigurations :: DescribeRetentionConfigurations Source #
Create a value of DescribeRetentionConfigurations
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:retentionConfigurationNames:DescribeRetentionConfigurations'
, describeRetentionConfigurations_retentionConfigurationNames
- A list of names of retention configurations for which you want details.
If you do not specify a name, Config returns details for all the
retention configurations for that account.
Currently, Config supports only one retention configuration per region in your account.
$sel:nextToken:DescribeRetentionConfigurations'
, describeRetentionConfigurations_nextToken
- The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
Request Lenses
describeRetentionConfigurations_retentionConfigurationNames :: Lens' DescribeRetentionConfigurations (Maybe [Text]) Source #
A list of names of retention configurations for which you want details. If you do not specify a name, Config returns details for all the retention configurations for that account.
Currently, Config supports only one retention configuration per region in your account.
describeRetentionConfigurations_nextToken :: Lens' DescribeRetentionConfigurations (Maybe Text) Source #
The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
Destructuring the Response
data DescribeRetentionConfigurationsResponse Source #
See: newDescribeRetentionConfigurationsResponse
smart constructor.
DescribeRetentionConfigurationsResponse' | |
|
Instances
newDescribeRetentionConfigurationsResponse Source #
Create a value of DescribeRetentionConfigurationsResponse
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:retentionConfigurations:DescribeRetentionConfigurationsResponse'
, describeRetentionConfigurationsResponse_retentionConfigurations
- Returns a retention configuration object.
$sel:nextToken:DescribeRetentionConfigurations'
, describeRetentionConfigurationsResponse_nextToken
- The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
$sel:httpStatus:DescribeRetentionConfigurationsResponse'
, describeRetentionConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
describeRetentionConfigurationsResponse_retentionConfigurations :: Lens' DescribeRetentionConfigurationsResponse (Maybe [RetentionConfiguration]) Source #
Returns a retention configuration object.
describeRetentionConfigurationsResponse_nextToken :: Lens' DescribeRetentionConfigurationsResponse (Maybe Text) Source #
The nextToken
string returned on a previous page that you use to get
the next page of results in a paginated response.
describeRetentionConfigurationsResponse_httpStatus :: Lens' DescribeRetentionConfigurationsResponse Int Source #
The response's http status code.