Type definitions#
Index > RecycleBin > Type definitions
Auto-generated documentation for RecycleBin type annotations stubs module mypy-boto3-rbin.
ResourceTagTypeDef#
# ResourceTagTypeDef definition
class ResourceTagTypeDef(TypedDict):
ResourceTagKey: str,
ResourceTagValue: NotRequired[str],
RetentionPeriodTypeDef#
# RetentionPeriodTypeDef definition
class RetentionPeriodTypeDef(TypedDict):
RetentionPeriodValue: int,
RetentionPeriodUnit: RetentionPeriodUnitType, # (1)
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeleteRuleRequestRequestTypeDef#
# DeleteRuleRequestRequestTypeDef definition
class DeleteRuleRequestRequestTypeDef(TypedDict):
Identifier: str,
GetRuleRequestRequestTypeDef#
# GetRuleRequestRequestTypeDef definition
class GetRuleRequestRequestTypeDef(TypedDict):
Identifier: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
UnlockDelayTypeDef#
# UnlockDelayTypeDef definition
class UnlockDelayTypeDef(TypedDict):
UnlockDelayValue: int,
UnlockDelayUnit: UnlockDelayUnitType, # (1)
UnlockRuleRequestRequestTypeDef#
# UnlockRuleRequestRequestTypeDef definition
class UnlockRuleRequestRequestTypeDef(TypedDict):
Identifier: str,
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
ListRulesRequestRequestTypeDef#
# ListRulesRequestRequestTypeDef definition
class ListRulesRequestRequestTypeDef(TypedDict):
ResourceType: ResourceTypeType, # (1)
MaxResults: NotRequired[int],
NextToken: NotRequired[str],
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
LockState: NotRequired[LockStateType], # (3)
ExcludeResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
- See ResourceTypeType
- See ResourceTagTypeDef
- See LockStateType
- See ResourceTagTypeDef
RuleSummaryTypeDef#
# RuleSummaryTypeDef definition
class RuleSummaryTypeDef(TypedDict):
Identifier: NotRequired[str],
Description: NotRequired[str],
RetentionPeriod: NotRequired[RetentionPeriodTypeDef], # (1)
LockState: NotRequired[LockStateType], # (2)
RuleArn: NotRequired[str],
- See RetentionPeriodTypeDef
- See LockStateType
UpdateRuleRequestRequestTypeDef#
# UpdateRuleRequestRequestTypeDef definition
class UpdateRuleRequestRequestTypeDef(TypedDict):
Identifier: str,
RetentionPeriod: NotRequired[RetentionPeriodTypeDef], # (1)
Description: NotRequired[str],
ResourceType: NotRequired[ResourceTypeType], # (2)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (3)
ExcludeResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (3)
- See RetentionPeriodTypeDef
- See ResourceTypeType
- See ResourceTagTypeDef
- See ResourceTagTypeDef
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: list[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
UpdateRuleResponseTypeDef#
# UpdateRuleResponseTypeDef definition
class UpdateRuleResponseTypeDef(TypedDict):
Identifier: str,
RetentionPeriod: RetentionPeriodTypeDef, # (1)
Description: str,
ResourceType: ResourceTypeType, # (2)
ResourceTags: list[ResourceTagTypeDef], # (3)
Status: RuleStatusType, # (4)
LockState: LockStateType, # (5)
LockEndTime: datetime,
RuleArn: str,
ExcludeResourceTags: list[ResourceTagTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (7)
- See RetentionPeriodTypeDef
- See ResourceTypeType
- See ResourceTagTypeDef
- See RuleStatusType
- See LockStateType
- See ResourceTagTypeDef
- See ResponseMetadataTypeDef
ListRulesRequestPaginateTypeDef#
# ListRulesRequestPaginateTypeDef definition
class ListRulesRequestPaginateTypeDef(TypedDict):
ResourceType: ResourceTypeType, # (1)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
LockState: NotRequired[LockStateType], # (3)
ExcludeResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (5)
- See ResourceTypeType
- See ResourceTagTypeDef
- See LockStateType
- See ResourceTagTypeDef
- See PaginatorConfigTypeDef
LockConfigurationTypeDef#
# LockConfigurationTypeDef definition
class LockConfigurationTypeDef(TypedDict):
UnlockDelay: UnlockDelayTypeDef, # (1)
ListRulesResponseTypeDef#
# ListRulesResponseTypeDef definition
class ListRulesResponseTypeDef(TypedDict):
Rules: list[RuleSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
CreateRuleRequestRequestTypeDef#
# CreateRuleRequestRequestTypeDef definition
class CreateRuleRequestRequestTypeDef(TypedDict):
RetentionPeriod: RetentionPeriodTypeDef, # (1)
ResourceType: ResourceTypeType, # (2)
Description: NotRequired[str],
Tags: NotRequired[Sequence[TagTypeDef]], # (3)
ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (4)
LockConfiguration: NotRequired[LockConfigurationTypeDef], # (5)
ExcludeResourceTags: NotRequired[Sequence[ResourceTagTypeDef]], # (4)
- See RetentionPeriodTypeDef
- See ResourceTypeType
- See TagTypeDef
- See ResourceTagTypeDef
- See LockConfigurationTypeDef
- See ResourceTagTypeDef
CreateRuleResponseTypeDef#
# CreateRuleResponseTypeDef definition
class CreateRuleResponseTypeDef(TypedDict):
Identifier: str,
RetentionPeriod: RetentionPeriodTypeDef, # (1)
Description: str,
Tags: list[TagTypeDef], # (2)
ResourceType: ResourceTypeType, # (3)
ResourceTags: list[ResourceTagTypeDef], # (4)
Status: RuleStatusType, # (5)
LockConfiguration: LockConfigurationTypeDef, # (6)
LockState: LockStateType, # (7)
RuleArn: str,
ExcludeResourceTags: list[ResourceTagTypeDef], # (4)
ResponseMetadata: ResponseMetadataTypeDef, # (9)
- See RetentionPeriodTypeDef
- See TagTypeDef
- See ResourceTypeType
- See ResourceTagTypeDef
- See RuleStatusType
- See LockConfigurationTypeDef
- See LockStateType
- See ResourceTagTypeDef
- See ResponseMetadataTypeDef
GetRuleResponseTypeDef#
# GetRuleResponseTypeDef definition
class GetRuleResponseTypeDef(TypedDict):
Identifier: str,
Description: str,
ResourceType: ResourceTypeType, # (1)
RetentionPeriod: RetentionPeriodTypeDef, # (2)
ResourceTags: list[ResourceTagTypeDef], # (3)
Status: RuleStatusType, # (4)
LockConfiguration: LockConfigurationTypeDef, # (5)
LockState: LockStateType, # (6)
LockEndTime: datetime,
RuleArn: str,
ExcludeResourceTags: list[ResourceTagTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (8)
- See ResourceTypeType
- See RetentionPeriodTypeDef
- See ResourceTagTypeDef
- See RuleStatusType
- See LockConfigurationTypeDef
- See LockStateType
- See ResourceTagTypeDef
- See ResponseMetadataTypeDef
LockRuleRequestRequestTypeDef#
# LockRuleRequestRequestTypeDef definition
class LockRuleRequestRequestTypeDef(TypedDict):
Identifier: str,
LockConfiguration: LockConfigurationTypeDef, # (1)
LockRuleResponseTypeDef#
# LockRuleResponseTypeDef definition
class LockRuleResponseTypeDef(TypedDict):
Identifier: str,
Description: str,
ResourceType: ResourceTypeType, # (1)
RetentionPeriod: RetentionPeriodTypeDef, # (2)
ResourceTags: list[ResourceTagTypeDef], # (3)
Status: RuleStatusType, # (4)
LockConfiguration: LockConfigurationTypeDef, # (5)
LockState: LockStateType, # (6)
RuleArn: str,
ExcludeResourceTags: list[ResourceTagTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (8)
- See ResourceTypeType
- See RetentionPeriodTypeDef
- See ResourceTagTypeDef
- See RuleStatusType
- See LockConfigurationTypeDef
- See LockStateType
- See ResourceTagTypeDef
- See ResponseMetadataTypeDef
UnlockRuleResponseTypeDef#
# UnlockRuleResponseTypeDef definition
class UnlockRuleResponseTypeDef(TypedDict):
Identifier: str,
Description: str,
ResourceType: ResourceTypeType, # (1)
RetentionPeriod: RetentionPeriodTypeDef, # (2)
ResourceTags: list[ResourceTagTypeDef], # (3)
Status: RuleStatusType, # (4)
LockConfiguration: LockConfigurationTypeDef, # (5)
LockState: LockStateType, # (6)
LockEndTime: datetime,
RuleArn: str,
ExcludeResourceTags: list[ResourceTagTypeDef], # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (8)
- See ResourceTypeType
- See RetentionPeriodTypeDef
- See ResourceTagTypeDef
- See RuleStatusType
- See LockConfigurationTypeDef
- See LockStateType
- See ResourceTagTypeDef
- See ResponseMetadataTypeDef