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 |
Gets the default retention policy details for the specified organization.
Synopsis
- data GetDefaultRetentionPolicy = GetDefaultRetentionPolicy' {}
- newGetDefaultRetentionPolicy :: Text -> GetDefaultRetentionPolicy
- getDefaultRetentionPolicy_organizationId :: Lens' GetDefaultRetentionPolicy Text
- data GetDefaultRetentionPolicyResponse = GetDefaultRetentionPolicyResponse' {
- name :: Maybe Text
- id :: Maybe Text
- folderConfigurations :: Maybe [FolderConfiguration]
- description :: Maybe Text
- httpStatus :: Int
- newGetDefaultRetentionPolicyResponse :: Int -> GetDefaultRetentionPolicyResponse
- getDefaultRetentionPolicyResponse_name :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
- getDefaultRetentionPolicyResponse_id :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
- getDefaultRetentionPolicyResponse_folderConfigurations :: Lens' GetDefaultRetentionPolicyResponse (Maybe [FolderConfiguration])
- getDefaultRetentionPolicyResponse_description :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text)
- getDefaultRetentionPolicyResponse_httpStatus :: Lens' GetDefaultRetentionPolicyResponse Int
Creating a Request
data GetDefaultRetentionPolicy Source #
See: newGetDefaultRetentionPolicy
smart constructor.
GetDefaultRetentionPolicy' | |
|
Instances
newGetDefaultRetentionPolicy Source #
Create a value of GetDefaultRetentionPolicy
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:organizationId:GetDefaultRetentionPolicy'
, getDefaultRetentionPolicy_organizationId
- The organization ID.
Request Lenses
getDefaultRetentionPolicy_organizationId :: Lens' GetDefaultRetentionPolicy Text Source #
The organization ID.
Destructuring the Response
data GetDefaultRetentionPolicyResponse Source #
See: newGetDefaultRetentionPolicyResponse
smart constructor.
GetDefaultRetentionPolicyResponse' | |
|
Instances
newGetDefaultRetentionPolicyResponse Source #
Create a value of GetDefaultRetentionPolicyResponse
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:name:GetDefaultRetentionPolicyResponse'
, getDefaultRetentionPolicyResponse_name
- The retention policy name.
$sel:id:GetDefaultRetentionPolicyResponse'
, getDefaultRetentionPolicyResponse_id
- The retention policy ID.
$sel:folderConfigurations:GetDefaultRetentionPolicyResponse'
, getDefaultRetentionPolicyResponse_folderConfigurations
- The retention policy folder configurations.
$sel:description:GetDefaultRetentionPolicyResponse'
, getDefaultRetentionPolicyResponse_description
- The retention policy description.
$sel:httpStatus:GetDefaultRetentionPolicyResponse'
, getDefaultRetentionPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
getDefaultRetentionPolicyResponse_name :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text) Source #
The retention policy name.
getDefaultRetentionPolicyResponse_id :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text) Source #
The retention policy ID.
getDefaultRetentionPolicyResponse_folderConfigurations :: Lens' GetDefaultRetentionPolicyResponse (Maybe [FolderConfiguration]) Source #
The retention policy folder configurations.
getDefaultRetentionPolicyResponse_description :: Lens' GetDefaultRetentionPolicyResponse (Maybe Text) Source #
The retention policy description.
getDefaultRetentionPolicyResponse_httpStatus :: Lens' GetDefaultRetentionPolicyResponse Int Source #
The response's http status code.