Skip to content

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)
  1. See RetentionPeriodUnitType

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)
  1. See UnlockDelayUnitType

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)
  1. See ResourceTypeType
  2. See ResourceTagTypeDef
  3. See LockStateType
  4. 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],
  1. See RetentionPeriodTypeDef
  2. 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)
  1. See RetentionPeriodTypeDef
  2. See ResourceTypeType
  3. See ResourceTagTypeDef
  4. See ResourceTagTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. 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)
  1. See RetentionPeriodTypeDef
  2. See ResourceTypeType
  3. See ResourceTagTypeDef
  4. See RuleStatusType
  5. See LockStateType
  6. See ResourceTagTypeDef
  7. See ResponseMetadataTypeDef

ListRulesRequestListRulesPaginateTypeDef#

# ListRulesRequestListRulesPaginateTypeDef definition

class ListRulesRequestListRulesPaginateTypeDef(TypedDict):
    ResourceType: ResourceTypeType,  # (1)
    ResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (2)
    LockState: NotRequired[LockStateType],  # (3)
    ExcludeResourceTags: NotRequired[Sequence[ResourceTagTypeDef]],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (5)
  1. See ResourceTypeType
  2. See ResourceTagTypeDef
  3. See LockStateType
  4. See ResourceTagTypeDef
  5. See PaginatorConfigTypeDef

LockConfigurationTypeDef#

# LockConfigurationTypeDef definition

class LockConfigurationTypeDef(TypedDict):
    UnlockDelay: UnlockDelayTypeDef,  # (1)
  1. See UnlockDelayTypeDef

ListRulesResponseTypeDef#

# ListRulesResponseTypeDef definition

class ListRulesResponseTypeDef(TypedDict):
    Rules: List[RuleSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See RuleSummaryTypeDef
  2. See ResponseMetadataTypeDef

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)
  1. See RetentionPeriodTypeDef
  2. See ResourceTypeType
  3. See TagTypeDef
  4. See ResourceTagTypeDef
  5. See LockConfigurationTypeDef
  6. 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)
  1. See RetentionPeriodTypeDef
  2. See TagTypeDef
  3. See ResourceTypeType
  4. See ResourceTagTypeDef
  5. See RuleStatusType
  6. See LockConfigurationTypeDef
  7. See LockStateType
  8. See ResourceTagTypeDef
  9. 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)
  1. See ResourceTypeType
  2. See RetentionPeriodTypeDef
  3. See ResourceTagTypeDef
  4. See RuleStatusType
  5. See LockConfigurationTypeDef
  6. See LockStateType
  7. See ResourceTagTypeDef
  8. See ResponseMetadataTypeDef

LockRuleRequestRequestTypeDef#

# LockRuleRequestRequestTypeDef definition

class LockRuleRequestRequestTypeDef(TypedDict):
    Identifier: str,
    LockConfiguration: LockConfigurationTypeDef,  # (1)
  1. See LockConfigurationTypeDef

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)
  1. See ResourceTypeType
  2. See RetentionPeriodTypeDef
  3. See ResourceTagTypeDef
  4. See RuleStatusType
  5. See LockConfigurationTypeDef
  6. See LockStateType
  7. See ResourceTagTypeDef
  8. 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)
  1. See ResourceTypeType
  2. See RetentionPeriodTypeDef
  3. See ResourceTagTypeDef
  4. See RuleStatusType
  5. See LockConfigurationTypeDef
  6. See LockStateType
  7. See ResourceTagTypeDef
  8. See ResponseMetadataTypeDef