Type definitions#
Auto-generated documentation for DLM type annotations stubs module mypy-boto3-dlm.
ExclusionsUnionTypeDef#
# ExclusionsUnionTypeDef definition
ExclusionsUnionTypeDef = Union[
ExclusionsTypeDef, # (1)
ExclusionsOutputTypeDef, # (2)
]
PolicyDetailsUnionTypeDef#
# PolicyDetailsUnionTypeDef definition
PolicyDetailsUnionTypeDef = Union[
PolicyDetailsTypeDef, # (1)
PolicyDetailsOutputTypeDef, # (2)
]
RetentionArchiveTierTypeDef#
# RetentionArchiveTierTypeDef definition
class RetentionArchiveTierTypeDef(TypedDict):
Count: NotRequired[int],
Interval: NotRequired[int],
IntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
CrossRegionCopyTargetTypeDef#
# CrossRegionCopyTargetTypeDef definition
class CrossRegionCopyTargetTypeDef(TypedDict):
TargetRegion: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
ScriptOutputTypeDef#
# ScriptOutputTypeDef definition
class ScriptOutputTypeDef(TypedDict):
ExecutionHandler: str,
Stages: NotRequired[List[StageValuesType]], # (1)
ExecutionHandlerService: NotRequired[ExecutionHandlerServiceValuesType], # (2)
ExecuteOperationOnScriptFailure: NotRequired[bool],
ExecutionTimeout: NotRequired[int],
MaximumRetryCount: NotRequired[int],
ScriptTypeDef#
# ScriptTypeDef definition
class ScriptTypeDef(TypedDict):
ExecutionHandler: str,
Stages: NotRequired[Sequence[StageValuesType]], # (1)
ExecutionHandlerService: NotRequired[ExecutionHandlerServiceValuesType], # (2)
ExecuteOperationOnScriptFailure: NotRequired[bool],
ExecutionTimeout: NotRequired[int],
MaximumRetryCount: NotRequired[int],
CrossRegionCopyRetainRuleTypeDef#
# CrossRegionCopyRetainRuleTypeDef definition
class CrossRegionCopyRetainRuleTypeDef(TypedDict):
Interval: NotRequired[int],
IntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
EncryptionConfigurationTypeDef#
# EncryptionConfigurationTypeDef definition
class EncryptionConfigurationTypeDef(TypedDict):
Encrypted: bool,
CmkArn: NotRequired[str],
CrossRegionCopyDeprecateRuleTypeDef#
# CrossRegionCopyDeprecateRuleTypeDef definition
class CrossRegionCopyDeprecateRuleTypeDef(TypedDict):
Interval: NotRequired[int],
IntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
DeleteLifecyclePolicyRequestRequestTypeDef#
# DeleteLifecyclePolicyRequestRequestTypeDef definition
class DeleteLifecyclePolicyRequestRequestTypeDef(TypedDict):
PolicyId: str,
DeprecateRuleTypeDef#
# DeprecateRuleTypeDef definition
class DeprecateRuleTypeDef(TypedDict):
Count: NotRequired[int],
Interval: NotRequired[int],
IntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
EventParametersOutputTypeDef#
# EventParametersOutputTypeDef definition
class EventParametersOutputTypeDef(TypedDict):
EventType: EventTypeValuesType, # (1)
SnapshotOwner: List[str],
DescriptionRegex: str,
EventParametersTypeDef#
# EventParametersTypeDef definition
class EventParametersTypeDef(TypedDict):
EventType: EventTypeValuesType, # (1)
SnapshotOwner: Sequence[str],
DescriptionRegex: str,
TagTypeDef#
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: str,
Value: str,
FastRestoreRuleOutputTypeDef#
# FastRestoreRuleOutputTypeDef definition
class FastRestoreRuleOutputTypeDef(TypedDict):
AvailabilityZones: List[str],
Count: NotRequired[int],
Interval: NotRequired[int],
IntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
FastRestoreRuleTypeDef#
# FastRestoreRuleTypeDef definition
class FastRestoreRuleTypeDef(TypedDict):
AvailabilityZones: Sequence[str],
Count: NotRequired[int],
Interval: NotRequired[int],
IntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
GetLifecyclePoliciesRequestRequestTypeDef#
# GetLifecyclePoliciesRequestRequestTypeDef definition
class GetLifecyclePoliciesRequestRequestTypeDef(TypedDict):
PolicyIds: NotRequired[Sequence[str]],
State: NotRequired[GettablePolicyStateValuesType], # (1)
ResourceTypes: NotRequired[Sequence[ResourceTypeValuesType]], # (2)
TargetTags: NotRequired[Sequence[str]],
TagsToAdd: NotRequired[Sequence[str]],
DefaultPolicyType: NotRequired[DefaultPoliciesTypeValuesType], # (3)
LifecyclePolicySummaryTypeDef#
# LifecyclePolicySummaryTypeDef definition
class LifecyclePolicySummaryTypeDef(TypedDict):
PolicyId: NotRequired[str],
Description: NotRequired[str],
State: NotRequired[GettablePolicyStateValuesType], # (1)
Tags: NotRequired[Dict[str, str]],
PolicyType: NotRequired[PolicyTypeValuesType], # (2)
DefaultPolicy: NotRequired[bool],
GetLifecyclePolicyRequestRequestTypeDef#
# GetLifecyclePolicyRequestRequestTypeDef definition
class GetLifecyclePolicyRequestRequestTypeDef(TypedDict):
PolicyId: str,
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
RetainRuleTypeDef#
# RetainRuleTypeDef definition
class RetainRuleTypeDef(TypedDict):
Count: NotRequired[int],
Interval: NotRequired[int],
IntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
ShareRuleOutputTypeDef#
# ShareRuleOutputTypeDef definition
class ShareRuleOutputTypeDef(TypedDict):
TargetAccounts: List[str],
UnshareInterval: NotRequired[int],
UnshareIntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
ShareRuleTypeDef#
# ShareRuleTypeDef definition
class ShareRuleTypeDef(TypedDict):
TargetAccounts: Sequence[str],
UnshareInterval: NotRequired[int],
UnshareIntervalUnit: NotRequired[RetentionIntervalUnitValuesType], # (1)
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
ArchiveRetainRuleTypeDef#
# ArchiveRetainRuleTypeDef definition
class ArchiveRetainRuleTypeDef(TypedDict):
RetentionArchiveTier: RetentionArchiveTierTypeDef, # (1)
CreateLifecyclePolicyResponseTypeDef#
# CreateLifecyclePolicyResponseTypeDef definition
class CreateLifecyclePolicyResponseTypeDef(TypedDict):
PolicyId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
Tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateRuleOutputTypeDef#
# CreateRuleOutputTypeDef definition
class CreateRuleOutputTypeDef(TypedDict):
Location: NotRequired[LocationValuesType], # (1)
Interval: NotRequired[int],
IntervalUnit: NotRequired[IntervalUnitValuesType], # (2)
Times: NotRequired[List[str]],
CronExpression: NotRequired[str],
Scripts: NotRequired[List[ScriptOutputTypeDef]], # (3)
CreateRuleTypeDef#
# CreateRuleTypeDef definition
class CreateRuleTypeDef(TypedDict):
Location: NotRequired[LocationValuesType], # (1)
Interval: NotRequired[int],
IntervalUnit: NotRequired[IntervalUnitValuesType], # (2)
Times: NotRequired[Sequence[str]],
CronExpression: NotRequired[str],
Scripts: NotRequired[Sequence[ScriptTypeDef]], # (3)
- See LocationValuesType
- See IntervalUnitValuesType
- See ScriptTypeDef
CrossRegionCopyActionTypeDef#
# CrossRegionCopyActionTypeDef definition
class CrossRegionCopyActionTypeDef(TypedDict):
Target: str,
EncryptionConfiguration: EncryptionConfigurationTypeDef, # (1)
RetainRule: NotRequired[CrossRegionCopyRetainRuleTypeDef], # (2)
CrossRegionCopyRuleTypeDef#
# CrossRegionCopyRuleTypeDef definition
class CrossRegionCopyRuleTypeDef(TypedDict):
Encrypted: bool,
TargetRegion: NotRequired[str],
Target: NotRequired[str],
CmkArn: NotRequired[str],
CopyTags: NotRequired[bool],
RetainRule: NotRequired[CrossRegionCopyRetainRuleTypeDef], # (1)
DeprecateRule: NotRequired[CrossRegionCopyDeprecateRuleTypeDef], # (2)
EventSourceOutputTypeDef#
# EventSourceOutputTypeDef definition
class EventSourceOutputTypeDef(TypedDict):
Type: EventSourceValuesType, # (1)
Parameters: NotRequired[EventParametersOutputTypeDef], # (2)
EventSourceTypeDef#
# EventSourceTypeDef definition
class EventSourceTypeDef(TypedDict):
Type: EventSourceValuesType, # (1)
Parameters: NotRequired[EventParametersTypeDef], # (2)
ExclusionsOutputTypeDef#
# ExclusionsOutputTypeDef definition
class ExclusionsOutputTypeDef(TypedDict):
ExcludeBootVolumes: NotRequired[bool],
ExcludeVolumeTypes: NotRequired[List[str]],
ExcludeTags: NotRequired[List[TagTypeDef]], # (1)
- See TagTypeDef
ExclusionsTypeDef#
# ExclusionsTypeDef definition
class ExclusionsTypeDef(TypedDict):
ExcludeBootVolumes: NotRequired[bool],
ExcludeVolumeTypes: NotRequired[Sequence[str]],
ExcludeTags: NotRequired[Sequence[TagTypeDef]], # (1)