amazonka-rbin-2.0: Amazon Recycle Bin SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RBin

Description

Derived from API version 2021-06-15 of the AWS service descriptions, licensed under Apache 2.0.

This is the Recycle Bin API Reference. This documentation provides descriptions and syntax for each of the actions and data types in Recycle Bin.

Recycle Bin is a resource recovery feature that enables you to restore accidentally deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are deleted, they are retained in the Recycle Bin for a time period that you specify.

You can restore a resource from the Recycle Bin at any time before its retention period expires. After you restore a resource from the Recycle Bin, the resource is removed from the Recycle Bin, and you can then use it in the same way you use any other resource of that type in your account. If the retention period expires and the resource is not restored, the resource is permanently deleted from the Recycle Bin and is no longer available for recovery. For more information about Recycle Bin, see Recycle Bin in the Amazon Elastic Compute Cloud User Guide.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2021-06-15 of the Amazon Recycle Bin SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by RBin.

ConflictException

_ConflictException :: AsError a => Fold a ServiceError Source #

The specified retention rule lock request can't be completed.

InternalServerException

_InternalServerException :: AsError a => Fold a ServiceError Source #

The service could not respond to the request due to an internal problem.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The specified resource was not found.

ServiceQuotaExceededException

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

The request would cause a service quota for the number of tags per resource to be exceeded.

ValidationException

_ValidationException :: AsError a => Fold a ServiceError Source #

One or more of the parameters in the request is not valid.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

CreateRule

data CreateRule Source #

See: newCreateRule smart constructor.

Instances

Instances details
ToJSON CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

ToHeaders CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Methods

toHeaders :: CreateRule -> [Header] #

ToPath CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

ToQuery CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

AWSRequest CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Associated Types

type AWSResponse CreateRule #

Generic CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Associated Types

type Rep CreateRule :: Type -> Type #

Read CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Show CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

NFData CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Methods

rnf :: CreateRule -> () #

Eq CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Hashable CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

type AWSResponse CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

type Rep CreateRule Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

newCreateRule Source #

Create a value of CreateRule 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:

CreateRule, createRule_description - The retention rule description.

CreateRule, createRule_lockConfiguration - Information about the retention rule lock configuration.

CreateRule, createRule_resourceTags - Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.

You can add the same tag key and value pair to a maximum or five retention rules.

To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.

CreateRule, createRule_tags - Information about the tags to assign to the retention rule.

CreateRule, createRule_retentionPeriod - Information about the retention period for which the retention rule is to retain resources.

CreateRule, createRule_resourceType - The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify EBS_SNAPSHOT. To retain EBS-backed AMIs, specify EC2_IMAGE.

data CreateRuleResponse Source #

See: newCreateRuleResponse smart constructor.

Instances

Instances details
Generic CreateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Associated Types

type Rep CreateRuleResponse :: Type -> Type #

Read CreateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Show CreateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

NFData CreateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

Methods

rnf :: CreateRuleResponse -> () #

Eq CreateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

type Rep CreateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.CreateRule

newCreateRuleResponse Source #

Create a value of CreateRuleResponse 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:

CreateRule, createRuleResponse_description - The retention rule description.

CreateRuleResponse, createRuleResponse_identifier - The unique ID of the retention rule.

CreateRule, createRuleResponse_lockConfiguration - Information about the retention rule lock configuration.

CreateRuleResponse, createRuleResponse_lockState - The lock state for the retention rule.

  • locked - The retention rule is locked and can't be modified or deleted.
  • pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.
  • unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.
  • null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.

CreateRule, createRuleResponse_resourceTags - Information about the resource tags used to identify resources that are retained by the retention rule.

CreateRule, createRuleResponse_resourceType - The resource type retained by the retention rule.

CreateRule, createRuleResponse_retentionPeriod - Undocumented member.

$sel:status:CreateRuleResponse', createRuleResponse_status - The state of the retention rule. Only retention rules that are in the available state retain resources.

CreateRule, createRuleResponse_tags - Information about the tags assigned to the retention rule.

$sel:httpStatus:CreateRuleResponse', createRuleResponse_httpStatus - The response's http status code.

DeleteRule

data DeleteRule Source #

See: newDeleteRule smart constructor.

Constructors

DeleteRule' Text 

Instances

Instances details
ToHeaders DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Methods

toHeaders :: DeleteRule -> [Header] #

ToPath DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

ToQuery DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

AWSRequest DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Associated Types

type AWSResponse DeleteRule #

Generic DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Associated Types

type Rep DeleteRule :: Type -> Type #

Read DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Show DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

NFData DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Methods

rnf :: DeleteRule -> () #

Eq DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Hashable DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

type AWSResponse DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

type Rep DeleteRule Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

type Rep DeleteRule = D1 ('MetaData "DeleteRule" "Amazonka.RBin.DeleteRule" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "DeleteRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteRule Source #

Arguments

:: Text

DeleteRule

-> DeleteRule 

Create a value of DeleteRule 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:

DeleteRule, deleteRule_identifier - The unique ID of the retention rule.

data DeleteRuleResponse Source #

See: newDeleteRuleResponse smart constructor.

Constructors

DeleteRuleResponse' Int 

Instances

Instances details
Generic DeleteRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Associated Types

type Rep DeleteRuleResponse :: Type -> Type #

Read DeleteRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Show DeleteRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

NFData DeleteRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

Methods

rnf :: DeleteRuleResponse -> () #

Eq DeleteRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

type Rep DeleteRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.DeleteRule

type Rep DeleteRuleResponse = D1 ('MetaData "DeleteRuleResponse" "Amazonka.RBin.DeleteRule" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "DeleteRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteRuleResponse Source #

Create a value of DeleteRuleResponse 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:httpStatus:DeleteRuleResponse', deleteRuleResponse_httpStatus - The response's http status code.

GetRule

data GetRule Source #

See: newGetRule smart constructor.

Constructors

GetRule' Text 

Instances

Instances details
ToHeaders GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Methods

toHeaders :: GetRule -> [Header] #

ToPath GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Methods

toPath :: GetRule -> ByteString #

ToQuery GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

AWSRequest GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Associated Types

type AWSResponse GetRule #

Generic GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Associated Types

type Rep GetRule :: Type -> Type #

Methods

from :: GetRule -> Rep GetRule x #

to :: Rep GetRule x -> GetRule #

Read GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Show GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

NFData GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Methods

rnf :: GetRule -> () #

Eq GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Methods

(==) :: GetRule -> GetRule -> Bool #

(/=) :: GetRule -> GetRule -> Bool #

Hashable GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Methods

hashWithSalt :: Int -> GetRule -> Int #

hash :: GetRule -> Int #

type AWSResponse GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

type Rep GetRule Source # 
Instance details

Defined in Amazonka.RBin.GetRule

type Rep GetRule = D1 ('MetaData "GetRule" "Amazonka.RBin.GetRule" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "GetRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetRule Source #

Arguments

:: Text

GetRule

-> GetRule 

Create a value of GetRule 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:

GetRule, getRule_identifier - The unique ID of the retention rule.

data GetRuleResponse Source #

See: newGetRuleResponse smart constructor.

Instances

Instances details
Generic GetRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Associated Types

type Rep GetRuleResponse :: Type -> Type #

Read GetRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Show GetRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.GetRule

NFData GetRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.GetRule

Methods

rnf :: GetRuleResponse -> () #

Eq GetRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.GetRule

type Rep GetRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.GetRule

newGetRuleResponse Source #

Create a value of GetRuleResponse 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:

GetRuleResponse, getRuleResponse_description - The retention rule description.

GetRule, getRuleResponse_identifier - The unique ID of the retention rule.

$sel:lockConfiguration:GetRuleResponse', getRuleResponse_lockConfiguration - Information about the retention rule lock configuration.

$sel:lockEndTime:GetRuleResponse', getRuleResponse_lockEndTime - The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.

GetRuleResponse, getRuleResponse_lockState - The lock state for the retention rule.

  • locked - The retention rule is locked and can't be modified or deleted.
  • pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.
  • unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.
  • null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.

$sel:resourceTags:GetRuleResponse', getRuleResponse_resourceTags - Information about the resource tags used to identify resources that are retained by the retention rule.

$sel:resourceType:GetRuleResponse', getRuleResponse_resourceType - The resource type retained by the retention rule.

GetRuleResponse, getRuleResponse_retentionPeriod - Information about the retention period for which the retention rule is to retain resources.

$sel:status:GetRuleResponse', getRuleResponse_status - The state of the retention rule. Only retention rules that are in the available state retain resources.

$sel:httpStatus:GetRuleResponse', getRuleResponse_httpStatus - The response's http status code.

ListRules (Paginated)

data ListRules Source #

See: newListRules smart constructor.

Instances

Instances details
ToJSON ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

ToHeaders ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Methods

toHeaders :: ListRules -> [Header] #

ToPath ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

ToQuery ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

AWSPager ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

AWSRequest ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Associated Types

type AWSResponse ListRules #

Generic ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Associated Types

type Rep ListRules :: Type -> Type #

Read ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Show ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

NFData ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Methods

rnf :: ListRules -> () #

Eq ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Hashable ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

type AWSResponse ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

type Rep ListRules Source # 
Instance details

Defined in Amazonka.RBin.ListRules

newListRules Source #

Create a value of ListRules 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:

ListRules, listRules_lockState - The lock state of the retention rules to list. Only retention rules with the specified lock state are returned.

$sel:maxResults:ListRules', listRules_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned NextToken value.

ListRules, listRules_nextToken - The token for the next page of results.

$sel:resourceTags:ListRules', listRules_resourceTags - Information about the resource tags used to identify resources that are retained by the retention rule.

$sel:resourceType:ListRules', listRules_resourceType - The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To list retention rules that retain snapshots, specify EBS_SNAPSHOT. To list retention rules that retain EBS-backed AMIs, specify EC2_IMAGE.

data ListRulesResponse Source #

See: newListRulesResponse smart constructor.

Instances

Instances details
Generic ListRulesResponse Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Associated Types

type Rep ListRulesResponse :: Type -> Type #

Read ListRulesResponse Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Show ListRulesResponse Source # 
Instance details

Defined in Amazonka.RBin.ListRules

NFData ListRulesResponse Source # 
Instance details

Defined in Amazonka.RBin.ListRules

Methods

rnf :: ListRulesResponse -> () #

Eq ListRulesResponse Source # 
Instance details

Defined in Amazonka.RBin.ListRules

type Rep ListRulesResponse Source # 
Instance details

Defined in Amazonka.RBin.ListRules

type Rep ListRulesResponse = D1 ('MetaData "ListRulesResponse" "Amazonka.RBin.ListRules" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "ListRulesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RuleSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListRulesResponse Source #

Create a value of ListRulesResponse 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:

ListRules, listRulesResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:rules:ListRulesResponse', listRulesResponse_rules - Information about the retention rules.

$sel:httpStatus:ListRulesResponse', listRulesResponse_httpStatus - The response's http status code.

ListTagsForResource

data ListTagsForResource Source #

See: newListTagsForResource smart constructor.

Instances

Instances details
ToHeaders ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

ToPath ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

ToQuery ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

AWSRequest ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

Associated Types

type AWSResponse ListTagsForResource #

Generic ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

Associated Types

type Rep ListTagsForResource :: Type -> Type #

Read ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

Show ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

NFData ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

Methods

rnf :: ListTagsForResource -> () #

Eq ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

Hashable ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

type AWSResponse ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

type Rep ListTagsForResource Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

type Rep ListTagsForResource = D1 ('MetaData "ListTagsForResource" "Amazonka.RBin.ListTagsForResource" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "ListTagsForResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newListTagsForResource Source #

Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The Amazon Resource Name (ARN) of the retention rule.

data ListTagsForResourceResponse Source #

See: newListTagsForResourceResponse smart constructor.

Instances

Instances details
Generic ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

Associated Types

type Rep ListTagsForResourceResponse :: Type -> Type #

Read ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

Show ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

NFData ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

Eq ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

type Rep ListTagsForResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.ListTagsForResource

type Rep ListTagsForResourceResponse = D1 ('MetaData "ListTagsForResourceResponse" "Amazonka.RBin.ListTagsForResource" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "ListTagsForResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newListTagsForResourceResponse Source #

Create a value of ListTagsForResourceResponse 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:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - Information about the tags assigned to the retention rule.

$sel:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.

LockRule

data LockRule Source #

See: newLockRule smart constructor.

Instances

Instances details
ToJSON LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

ToHeaders LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Methods

toHeaders :: LockRule -> [Header] #

ToPath LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

ToQuery LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

AWSRequest LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Associated Types

type AWSResponse LockRule #

Generic LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Associated Types

type Rep LockRule :: Type -> Type #

Methods

from :: LockRule -> Rep LockRule x #

to :: Rep LockRule x -> LockRule #

Read LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Show LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

NFData LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Methods

rnf :: LockRule -> () #

Eq LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Hashable LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Methods

hashWithSalt :: Int -> LockRule -> Int #

hash :: LockRule -> Int #

type AWSResponse LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

type Rep LockRule Source # 
Instance details

Defined in Amazonka.RBin.LockRule

type Rep LockRule = D1 ('MetaData "LockRule" "Amazonka.RBin.LockRule" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "LockRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lockConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LockConfiguration)))

newLockRule Source #

Create a value of LockRule 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:

LockRule, lockRule_identifier - The unique ID of the retention rule.

LockRule, lockRule_lockConfiguration - Information about the retention rule lock configuration.

data LockRuleResponse Source #

See: newLockRuleResponse smart constructor.

Instances

Instances details
Generic LockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Associated Types

type Rep LockRuleResponse :: Type -> Type #

Read LockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Show LockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.LockRule

NFData LockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.LockRule

Methods

rnf :: LockRuleResponse -> () #

Eq LockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.LockRule

type Rep LockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.LockRule

newLockRuleResponse Source #

Create a value of LockRuleResponse 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:

LockRuleResponse, lockRuleResponse_description - The retention rule description.

LockRule, lockRuleResponse_identifier - The unique ID of the retention rule.

LockRule, lockRuleResponse_lockConfiguration - Information about the retention rule lock configuration.

LockRuleResponse, lockRuleResponse_lockState - The lock state for the retention rule.

  • locked - The retention rule is locked and can't be modified or deleted.
  • pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.
  • unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.
  • null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.

$sel:resourceTags:LockRuleResponse', lockRuleResponse_resourceTags - Information about the resource tags used to identify resources that are retained by the retention rule.

$sel:resourceType:LockRuleResponse', lockRuleResponse_resourceType - The resource type retained by the retention rule.

LockRuleResponse, lockRuleResponse_retentionPeriod - Undocumented member.

$sel:status:LockRuleResponse', lockRuleResponse_status - The state of the retention rule. Only retention rules that are in the available state retain resources.

$sel:httpStatus:LockRuleResponse', lockRuleResponse_httpStatus - The response's http status code.

TagResource

data TagResource Source #

See: newTagResource smart constructor.

Constructors

TagResource' Text [Tag] 

Instances

Instances details
ToJSON TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

ToHeaders TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Methods

toHeaders :: TagResource -> [Header] #

ToPath TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

ToQuery TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

AWSRequest TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Associated Types

type AWSResponse TagResource #

Generic TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Associated Types

type Rep TagResource :: Type -> Type #

Read TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Show TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

NFData TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Methods

rnf :: TagResource -> () #

Eq TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Hashable TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

type AWSResponse TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

type Rep TagResource Source # 
Instance details

Defined in Amazonka.RBin.TagResource

type Rep TagResource = D1 ('MetaData "TagResource" "Amazonka.RBin.TagResource" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "TagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Tag])))

newTagResource Source #

Create a value of TagResource 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:resourceArn:TagResource', tagResource_resourceArn - The Amazon Resource Name (ARN) of the retention rule.

$sel:tags:TagResource', tagResource_tags - Information about the tags to assign to the retention rule.

data TagResourceResponse Source #

See: newTagResourceResponse smart constructor.

Instances

Instances details
Generic TagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Associated Types

type Rep TagResourceResponse :: Type -> Type #

Read TagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Show TagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.TagResource

NFData TagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.TagResource

Methods

rnf :: TagResourceResponse -> () #

Eq TagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.TagResource

type Rep TagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.TagResource

type Rep TagResourceResponse = D1 ('MetaData "TagResourceResponse" "Amazonka.RBin.TagResource" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "TagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newTagResourceResponse Source #

Create a value of TagResourceResponse 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:httpStatus:TagResourceResponse', tagResourceResponse_httpStatus - The response's http status code.

UnlockRule

data UnlockRule Source #

See: newUnlockRule smart constructor.

Constructors

UnlockRule' Text 

Instances

Instances details
ToJSON UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

ToHeaders UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Methods

toHeaders :: UnlockRule -> [Header] #

ToPath UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

ToQuery UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

AWSRequest UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Associated Types

type AWSResponse UnlockRule #

Generic UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Associated Types

type Rep UnlockRule :: Type -> Type #

Read UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Show UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

NFData UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Methods

rnf :: UnlockRule -> () #

Eq UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Hashable UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

type AWSResponse UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

type Rep UnlockRule Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

type Rep UnlockRule = D1 ('MetaData "UnlockRule" "Amazonka.RBin.UnlockRule" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "UnlockRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUnlockRule Source #

Arguments

:: Text

UnlockRule

-> UnlockRule 

Create a value of UnlockRule 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:

UnlockRule, unlockRule_identifier - The unique ID of the retention rule.

data UnlockRuleResponse Source #

See: newUnlockRuleResponse smart constructor.

Instances

Instances details
Generic UnlockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Associated Types

type Rep UnlockRuleResponse :: Type -> Type #

Read UnlockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Show UnlockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

NFData UnlockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

Methods

rnf :: UnlockRuleResponse -> () #

Eq UnlockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

type Rep UnlockRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UnlockRule

newUnlockRuleResponse Source #

Create a value of UnlockRuleResponse 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:

UnlockRuleResponse, unlockRuleResponse_description - The retention rule description.

UnlockRule, unlockRuleResponse_identifier - The unique ID of the retention rule.

$sel:lockConfiguration:UnlockRuleResponse', unlockRuleResponse_lockConfiguration - Information about the retention rule lock configuration.

$sel:lockEndTime:UnlockRuleResponse', unlockRuleResponse_lockEndTime - The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.

UnlockRuleResponse, unlockRuleResponse_lockState - The lock state for the retention rule.

  • locked - The retention rule is locked and can't be modified or deleted.
  • pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.
  • unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.
  • null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.

$sel:resourceTags:UnlockRuleResponse', unlockRuleResponse_resourceTags - Information about the resource tags used to identify resources that are retained by the retention rule.

$sel:resourceType:UnlockRuleResponse', unlockRuleResponse_resourceType - The resource type retained by the retention rule.

UnlockRuleResponse, unlockRuleResponse_retentionPeriod - Undocumented member.

$sel:status:UnlockRuleResponse', unlockRuleResponse_status - The state of the retention rule. Only retention rules that are in the available state retain resources.

$sel:httpStatus:UnlockRuleResponse', unlockRuleResponse_httpStatus - The response's http status code.

UntagResource

data UntagResource Source #

See: newUntagResource smart constructor.

Constructors

UntagResource' Text [Text] 

Instances

Instances details
ToHeaders UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

ToPath UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

ToQuery UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

AWSRequest UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

Associated Types

type AWSResponse UntagResource #

Generic UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

Associated Types

type Rep UntagResource :: Type -> Type #

Read UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

Show UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

NFData UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

Methods

rnf :: UntagResource -> () #

Eq UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

Hashable UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

type AWSResponse UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

type Rep UntagResource Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

type Rep UntagResource = D1 ('MetaData "UntagResource" "Amazonka.RBin.UntagResource" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "UntagResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tagKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newUntagResource Source #

Create a value of UntagResource 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:resourceArn:UntagResource', untagResource_resourceArn - The Amazon Resource Name (ARN) of the retention rule.

$sel:tagKeys:UntagResource', untagResource_tagKeys - The tag keys of the tags to unassign. All tags that have the specified tag key are unassigned.

data UntagResourceResponse Source #

See: newUntagResourceResponse smart constructor.

Instances

Instances details
Generic UntagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

Associated Types

type Rep UntagResourceResponse :: Type -> Type #

Read UntagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

Show UntagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

NFData UntagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

Methods

rnf :: UntagResourceResponse -> () #

Eq UntagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

type Rep UntagResourceResponse Source # 
Instance details

Defined in Amazonka.RBin.UntagResource

type Rep UntagResourceResponse = D1 ('MetaData "UntagResourceResponse" "Amazonka.RBin.UntagResource" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "UntagResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUntagResourceResponse Source #

Create a value of UntagResourceResponse 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:httpStatus:UntagResourceResponse', untagResourceResponse_httpStatus - The response's http status code.

UpdateRule

data UpdateRule Source #

See: newUpdateRule smart constructor.

Instances

Instances details
ToJSON UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

ToHeaders UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Methods

toHeaders :: UpdateRule -> [Header] #

ToPath UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

ToQuery UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

AWSRequest UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Associated Types

type AWSResponse UpdateRule #

Generic UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Associated Types

type Rep UpdateRule :: Type -> Type #

Read UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Show UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

NFData UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Methods

rnf :: UpdateRule -> () #

Eq UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Hashable UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

type AWSResponse UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

type Rep UpdateRule Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

type Rep UpdateRule = D1 ('MetaData "UpdateRule" "Amazonka.RBin.UpdateRule" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "UpdateRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceTag]))) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: (S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionPeriod)) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateRule Source #

Arguments

:: Text

UpdateRule

-> UpdateRule 

Create a value of UpdateRule 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:

UpdateRule, updateRule_description - The retention rule description.

UpdateRule, updateRule_resourceTags - Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.

You can add the same tag key and value pair to a maximum or five retention rules.

To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged.

UpdateRule, updateRule_resourceType - This parameter is currently not supported. You can't update a retention rule's resource type after creation.

UpdateRule, updateRule_retentionPeriod - Information about the retention period for which the retention rule is to retain resources.

UpdateRule, updateRule_identifier - The unique ID of the retention rule.

data UpdateRuleResponse Source #

See: newUpdateRuleResponse smart constructor.

Instances

Instances details
Generic UpdateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Associated Types

type Rep UpdateRuleResponse :: Type -> Type #

Read UpdateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Show UpdateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

NFData UpdateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

Methods

rnf :: UpdateRuleResponse -> () #

Eq UpdateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

type Rep UpdateRuleResponse Source # 
Instance details

Defined in Amazonka.RBin.UpdateRule

newUpdateRuleResponse Source #

Create a value of UpdateRuleResponse 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:

UpdateRule, updateRuleResponse_description - The retention rule description.

UpdateRule, updateRuleResponse_identifier - The unique ID of the retention rule.

$sel:lockEndTime:UpdateRuleResponse', updateRuleResponse_lockEndTime - The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period.

UpdateRuleResponse, updateRuleResponse_lockState - The lock state for the retention rule.

  • locked - The retention rule is locked and can't be modified or deleted.
  • pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.
  • unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.
  • null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.

UpdateRule, updateRuleResponse_resourceTags - Information about the resource tags used to identify resources that are retained by the retention rule.

UpdateRule, updateRuleResponse_resourceType - The resource type retained by the retention rule.

UpdateRule, updateRuleResponse_retentionPeriod - Undocumented member.

$sel:status:UpdateRuleResponse', updateRuleResponse_status - The state of the retention rule. Only retention rules that are in the available state retain resources.

$sel:httpStatus:UpdateRuleResponse', updateRuleResponse_httpStatus - The response's http status code.

Types

LockState

newtype LockState Source #

Constructors

LockState' 

Fields

Bundled Patterns

pattern LockState_Locked :: LockState 
pattern LockState_Pending_unlock :: LockState 
pattern LockState_Unlocked :: LockState 

Instances

Instances details
FromJSON LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

FromJSONKey LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

ToJSON LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

ToJSONKey LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

ToByteString LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

Methods

toBS :: LockState -> ByteString #

ToHeader LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

ToLog LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

ToQuery LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

FromText LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

ToText LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

Methods

toText :: LockState -> Text #

FromXML LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

ToXML LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

Methods

toXML :: LockState -> XML #

Generic LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

Associated Types

type Rep LockState :: Type -> Type #

Read LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

Show LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

NFData LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

Methods

rnf :: LockState -> () #

Eq LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

Ord LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

Hashable LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

type Rep LockState Source # 
Instance details

Defined in Amazonka.RBin.Types.LockState

type Rep LockState = D1 ('MetaData "LockState" "Amazonka.RBin.Types.LockState" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'True) (C1 ('MetaCons "LockState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLockState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceType

newtype ResourceType Source #

Constructors

ResourceType' 

Instances

Instances details
FromJSON ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

FromJSONKey ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

ToJSON ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

ToJSONKey ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

ToByteString ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

ToHeader ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

ToLog ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

ToQuery ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

FromText ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

ToText ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

Methods

toText :: ResourceType -> Text #

FromXML ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

ToXML ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

Methods

toXML :: ResourceType -> XML #

Generic ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

Associated Types

type Rep ResourceType :: Type -> Type #

Read ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

Show ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

NFData ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

Methods

rnf :: ResourceType -> () #

Eq ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

Ord ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

Hashable ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

type Rep ResourceType Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceType

type Rep ResourceType = D1 ('MetaData "ResourceType" "Amazonka.RBin.Types.ResourceType" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'True) (C1 ('MetaCons "ResourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RetentionPeriodUnit

newtype RetentionPeriodUnit Source #

Bundled Patterns

pattern RetentionPeriodUnit_DAYS :: RetentionPeriodUnit 

Instances

Instances details
FromJSON RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

FromJSONKey RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

ToJSON RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

ToJSONKey RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

ToByteString RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

ToHeader RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

ToLog RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

ToQuery RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

FromText RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

ToText RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

FromXML RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

ToXML RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

Generic RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

Associated Types

type Rep RetentionPeriodUnit :: Type -> Type #

Read RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

Show RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

NFData RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

Methods

rnf :: RetentionPeriodUnit -> () #

Eq RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

Ord RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

Hashable RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

type Rep RetentionPeriodUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriodUnit

type Rep RetentionPeriodUnit = D1 ('MetaData "RetentionPeriodUnit" "Amazonka.RBin.Types.RetentionPeriodUnit" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'True) (C1 ('MetaCons "RetentionPeriodUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRetentionPeriodUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RuleStatus

newtype RuleStatus Source #

Constructors

RuleStatus' 

Fields

Bundled Patterns

pattern RuleStatus_Available :: RuleStatus 
pattern RuleStatus_Pending :: RuleStatus 

Instances

Instances details
FromJSON RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

FromJSONKey RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

ToJSON RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

ToJSONKey RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

ToByteString RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

ToHeader RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

ToLog RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

ToQuery RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

FromText RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

ToText RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

Methods

toText :: RuleStatus -> Text #

FromXML RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

ToXML RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

Methods

toXML :: RuleStatus -> XML #

Generic RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

Associated Types

type Rep RuleStatus :: Type -> Type #

Read RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

Show RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

NFData RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

Methods

rnf :: RuleStatus -> () #

Eq RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

Ord RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

Hashable RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

type Rep RuleStatus Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleStatus

type Rep RuleStatus = D1 ('MetaData "RuleStatus" "Amazonka.RBin.Types.RuleStatus" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'True) (C1 ('MetaCons "RuleStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRuleStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

UnlockDelayUnit

newtype UnlockDelayUnit Source #

Constructors

UnlockDelayUnit' 

Bundled Patterns

pattern UnlockDelayUnit_DAYS :: UnlockDelayUnit 

Instances

Instances details
FromJSON UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

FromJSONKey UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

ToJSON UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

ToJSONKey UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

ToByteString UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

ToHeader UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

ToLog UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

ToQuery UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

FromText UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

ToText UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

FromXML UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

ToXML UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

Methods

toXML :: UnlockDelayUnit -> XML #

Generic UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

Associated Types

type Rep UnlockDelayUnit :: Type -> Type #

Read UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

Show UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

NFData UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

Methods

rnf :: UnlockDelayUnit -> () #

Eq UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

Ord UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

Hashable UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

type Rep UnlockDelayUnit Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelayUnit

type Rep UnlockDelayUnit = D1 ('MetaData "UnlockDelayUnit" "Amazonka.RBin.Types.UnlockDelayUnit" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'True) (C1 ('MetaCons "UnlockDelayUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromUnlockDelayUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LockConfiguration

data LockConfiguration Source #

Information about a retention rule lock configuration.

See: newLockConfiguration smart constructor.

Instances

Instances details
FromJSON LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

ToJSON LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

Generic LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

Associated Types

type Rep LockConfiguration :: Type -> Type #

Read LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

Show LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

NFData LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

Methods

rnf :: LockConfiguration -> () #

Eq LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

Hashable LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

type Rep LockConfiguration Source # 
Instance details

Defined in Amazonka.RBin.Types.LockConfiguration

type Rep LockConfiguration = D1 ('MetaData "LockConfiguration" "Amazonka.RBin.Types.LockConfiguration" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "LockConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unlockDelay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UnlockDelay)))

newLockConfiguration Source #

Create a value of LockConfiguration 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:unlockDelay:LockConfiguration', lockConfiguration_unlockDelay - Information about the retention rule unlock delay.

ResourceTag

data ResourceTag Source #

Information about the resource tags used to identify resources that are retained by the retention rule.

See: newResourceTag smart constructor.

Constructors

ResourceTag' (Maybe Text) Text 

Instances

Instances details
FromJSON ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

ToJSON ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

Generic ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

Associated Types

type Rep ResourceTag :: Type -> Type #

Read ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

Show ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

NFData ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

Methods

rnf :: ResourceTag -> () #

Eq ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

Hashable ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

type Rep ResourceTag Source # 
Instance details

Defined in Amazonka.RBin.Types.ResourceTag

type Rep ResourceTag = D1 ('MetaData "ResourceTag" "Amazonka.RBin.Types.ResourceTag" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "ResourceTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceTagValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceTagKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newResourceTag Source #

Create a value of ResourceTag 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:resourceTagValue:ResourceTag', resourceTag_resourceTagValue - The tag value.

$sel:resourceTagKey:ResourceTag', resourceTag_resourceTagKey - The tag key.

RetentionPeriod

data RetentionPeriod Source #

Information about the retention period for which the retention rule is to retain resources.

See: newRetentionPeriod smart constructor.

Instances

Instances details
FromJSON RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

ToJSON RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

Generic RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

Associated Types

type Rep RetentionPeriod :: Type -> Type #

Read RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

Show RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

NFData RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

Methods

rnf :: RetentionPeriod -> () #

Eq RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

Hashable RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

type Rep RetentionPeriod Source # 
Instance details

Defined in Amazonka.RBin.Types.RetentionPeriod

type Rep RetentionPeriod = D1 ('MetaData "RetentionPeriod" "Amazonka.RBin.Types.RetentionPeriod" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "RetentionPeriod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "retentionPeriodValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "retentionPeriodUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RetentionPeriodUnit)))

newRetentionPeriod Source #

Create a value of RetentionPeriod 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:retentionPeriodValue:RetentionPeriod', retentionPeriod_retentionPeriodValue - The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.

$sel:retentionPeriodUnit:RetentionPeriod', retentionPeriod_retentionPeriodUnit - The unit of time in which the retention period is measured. Currently, only DAYS is supported.

RuleSummary

data RuleSummary Source #

Information about a Recycle Bin retention rule.

See: newRuleSummary smart constructor.

Instances

Instances details
FromJSON RuleSummary Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleSummary

Generic RuleSummary Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleSummary

Associated Types

type Rep RuleSummary :: Type -> Type #

Read RuleSummary Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleSummary

Show RuleSummary Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleSummary

NFData RuleSummary Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleSummary

Methods

rnf :: RuleSummary -> () #

Eq RuleSummary Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleSummary

Hashable RuleSummary Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleSummary

type Rep RuleSummary Source # 
Instance details

Defined in Amazonka.RBin.Types.RuleSummary

type Rep RuleSummary = D1 ('MetaData "RuleSummary" "Amazonka.RBin.Types.RuleSummary" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "RuleSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lockState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LockState)) :*: S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionPeriod)))))

newRuleSummary :: RuleSummary Source #

Create a value of RuleSummary 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:description:RuleSummary', ruleSummary_description - The retention rule description.

$sel:identifier:RuleSummary', ruleSummary_identifier - The unique ID of the retention rule.

$sel:lockState:RuleSummary', ruleSummary_lockState - The lock state for the retention rule.

  • locked - The retention rule is locked and can't be modified or deleted.
  • pending_unlock - The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.
  • unlocked - The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.
  • null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null.

$sel:retentionPeriod:RuleSummary', ruleSummary_retentionPeriod - Information about the retention period for which the retention rule is to retain resources.

Tag

data Tag Source #

Information about the tags to assign to the retention rule.

See: newTag smart constructor.

Constructors

Tag' Text Text 

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.RBin.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.RBin.Types.Tag" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag 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:key:Tag', tag_key - The tag key.

$sel:value:Tag', tag_value - The tag value.

UnlockDelay

data UnlockDelay Source #

Information about the retention rule unlock delay. The unlock delay is the period after which a retention rule can be modified or edited after it has been unlocked by a user with the required permissions. The retention rule can't be modified or deleted during the unlock delay.

See: newUnlockDelay smart constructor.

Instances

Instances details
FromJSON UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

ToJSON UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

Generic UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

Associated Types

type Rep UnlockDelay :: Type -> Type #

Read UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

Show UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

NFData UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

Methods

rnf :: UnlockDelay -> () #

Eq UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

Hashable UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

type Rep UnlockDelay Source # 
Instance details

Defined in Amazonka.RBin.Types.UnlockDelay

type Rep UnlockDelay = D1 ('MetaData "UnlockDelay" "Amazonka.RBin.Types.UnlockDelay" "amazonka-rbin-2.0-683M7qr6PFTBsVsY3OL2az" 'False) (C1 ('MetaCons "UnlockDelay'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unlockDelayValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "unlockDelayUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UnlockDelayUnit)))

newUnlockDelay Source #

Create a value of UnlockDelay 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:unlockDelayValue:UnlockDelay', unlockDelay_unlockDelayValue - The unlock delay period, measured in the unit specified for UnlockDelayUnit.

$sel:unlockDelayUnit:UnlockDelay', unlockDelay_unlockDelayUnit - The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.