Type definitions#
Auto-generated documentation for DLM type annotations stubs module types-boto3-dlm.
EventParametersUnionTypeDef#
# EventParametersUnionTypeDef definition
EventParametersUnionTypeDef = Union[
EventParametersTypeDef, # (1)
EventParametersOutputTypeDef, # (2)
]
FastRestoreRuleUnionTypeDef#
# FastRestoreRuleUnionTypeDef definition
FastRestoreRuleUnionTypeDef = Union[
FastRestoreRuleTypeDef, # (1)
FastRestoreRuleOutputTypeDef, # (2)
]
ScriptUnionTypeDef#
# ScriptUnionTypeDef definition
ScriptUnionTypeDef = Union[
ScriptTypeDef, # (1)
ScriptOutputTypeDef, # (2)
]
- See ScriptTypeDef
- See ScriptOutputTypeDef
ShareRuleUnionTypeDef#
# ShareRuleUnionTypeDef definition
ShareRuleUnionTypeDef = Union[
ShareRuleTypeDef, # (1)
ShareRuleOutputTypeDef, # (2)
]
ExclusionsUnionTypeDef#
# ExclusionsUnionTypeDef definition
ExclusionsUnionTypeDef = Union[
ExclusionsTypeDef, # (1)
ExclusionsOutputTypeDef, # (2)
]
ParametersUnionTypeDef#
# ParametersUnionTypeDef definition
ParametersUnionTypeDef = Union[
ParametersTypeDef, # (1)
ParametersOutputTypeDef, # (2)
]
ActionUnionTypeDef#
# ActionUnionTypeDef definition
ActionUnionTypeDef = Union[
ActionTypeDef, # (1)
ActionOutputTypeDef, # (2)
]
- See ActionTypeDef
- See ActionOutputTypeDef
EventSourceUnionTypeDef#
# EventSourceUnionTypeDef definition
EventSourceUnionTypeDef = Union[
EventSourceTypeDef, # (1)
EventSourceOutputTypeDef, # (2)
]
CreateRuleUnionTypeDef#
# CreateRuleUnionTypeDef definition
CreateRuleUnionTypeDef = Union[
CreateRuleTypeDef, # (1)
CreateRuleOutputTypeDef, # (2)
]
ScheduleUnionTypeDef#
# ScheduleUnionTypeDef definition
ScheduleUnionTypeDef = Union[
ScheduleTypeDef, # (1)
ScheduleOutputTypeDef, # (2)
]
- See ScheduleTypeDef
- See ScheduleOutputTypeDef
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],
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)
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],
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)
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)
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)
- See TagTypeDef
ParametersOutputTypeDef#
# ParametersOutputTypeDef definition
class ParametersOutputTypeDef(TypedDict):
ExcludeBootVolume: NotRequired[bool],
NoReboot: NotRequired[bool],
ExcludeDataVolumeTags: NotRequired[list[TagTypeDef]], # (1)
- See TagTypeDef
ParametersTypeDef#
# ParametersTypeDef definition
class ParametersTypeDef(TypedDict):
ExcludeBootVolume: NotRequired[bool],
NoReboot: NotRequired[bool],
ExcludeDataVolumeTags: NotRequired[Sequence[TagTypeDef]], # (1)
- See TagTypeDef
GetLifecyclePoliciesResponseTypeDef#
# GetLifecyclePoliciesResponseTypeDef definition
class GetLifecyclePoliciesResponseTypeDef(TypedDict):
Policies: list[LifecyclePolicySummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ArchiveRuleTypeDef#
# ArchiveRuleTypeDef definition
class ArchiveRuleTypeDef(TypedDict):
RetainRule: ArchiveRetainRuleTypeDef, # (1)
ActionOutputTypeDef#
# ActionOutputTypeDef definition
class ActionOutputTypeDef(TypedDict):
Name: str,
CrossRegionCopy: list[CrossRegionCopyActionTypeDef], # (1)
ActionTypeDef#
# ActionTypeDef definition
class ActionTypeDef(TypedDict):
Name: str,
CrossRegionCopy: Sequence[CrossRegionCopyActionTypeDef], # (1)
EventSourceTypeDef#
# EventSourceTypeDef definition
class EventSourceTypeDef(TypedDict):
Type: EventSourceValuesType, # (1)
Parameters: NotRequired[EventParametersUnionTypeDef], # (2)
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[ScriptUnionTypeDef]], # (3)
ScheduleOutputTypeDef#
# ScheduleOutputTypeDef definition
class ScheduleOutputTypeDef(TypedDict):
Name: NotRequired[str],
CopyTags: NotRequired[bool],
TagsToAdd: NotRequired[list[TagTypeDef]], # (1)
VariableTags: NotRequired[list[TagTypeDef]], # (1)
CreateRule: NotRequired[CreateRuleOutputTypeDef], # (3)
RetainRule: NotRequired[RetainRuleTypeDef], # (4)
FastRestoreRule: NotRequired[FastRestoreRuleOutputTypeDef], # (5)
CrossRegionCopyRules: NotRequired[list[CrossRegionCopyRuleTypeDef]], # (6)
ShareRules: NotRequired[list[ShareRuleOutputTypeDef]], # (7)
DeprecateRule: NotRequired[DeprecateRuleTypeDef], # (8)
ArchiveRule: NotRequired[ArchiveRuleTypeDef], # (9)
- See TagTypeDef
- See TagTypeDef
- See CreateRuleOutputTypeDef
- See RetainRuleTypeDef
- See FastRestoreRuleOutputTypeDef
- See CrossRegionCopyRuleTypeDef
- See ShareRuleOutputTypeDef
- See DeprecateRuleTypeDef
- See ArchiveRuleTypeDef
PolicyDetailsOutputTypeDef#
# PolicyDetailsOutputTypeDef definition
class PolicyDetailsOutputTypeDef(TypedDict):
PolicyType: NotRequired[PolicyTypeValuesType], # (1)
ResourceTypes: NotRequired[list[ResourceTypeValuesType]], # (2)
ResourceLocations: NotRequired[list[ResourceLocationValuesType]], # (3)
TargetTags: NotRequired[list[TagTypeDef]], # (4)
Schedules: NotRequired[list[ScheduleOutputTypeDef]], # (5)
Parameters: NotRequired[ParametersOutputTypeDef], # (6)
EventSource: NotRequired[EventSourceOutputTypeDef], # (7)
Actions: NotRequired[list[ActionOutputTypeDef]], # (8)
PolicyLanguage: NotRequired[PolicyLanguageValuesType], # (9)
ResourceType: NotRequired[ResourceTypeValuesType], # (10)
CreateInterval: NotRequired[int],
RetainInterval: NotRequired[int],
CopyTags: NotRequired[bool],
CrossRegionCopyTargets: NotRequired[list[CrossRegionCopyTargetTypeDef]], # (11)
ExtendDeletion: NotRequired[bool],
Exclusions: NotRequired[ExclusionsOutputTypeDef], # (12)
- See PolicyTypeValuesType
- See ResourceTypeValuesType
- See ResourceLocationValuesType
- See TagTypeDef
- See ScheduleOutputTypeDef
- See ParametersOutputTypeDef
- See EventSourceOutputTypeDef
- See ActionOutputTypeDef
- See PolicyLanguageValuesType
- See ResourceTypeValuesType
- See CrossRegionCopyTargetTypeDef
- See ExclusionsOutputTypeDef
ScheduleTypeDef#
# ScheduleTypeDef definition
class ScheduleTypeDef(TypedDict):
Name: NotRequired[str],
CopyTags: NotRequired[bool],
TagsToAdd: NotRequired[Sequence[TagTypeDef]], # (1)
VariableTags: NotRequired[Sequence[TagTypeDef]], # (1)
CreateRule: NotRequired[CreateRuleUnionTypeDef], # (3)
RetainRule: NotRequired[RetainRuleTypeDef], # (4)
FastRestoreRule: NotRequired[FastRestoreRuleUnionTypeDef], # (5)
CrossRegionCopyRules: NotRequired[Sequence[CrossRegionCopyRuleTypeDef]], # (6)
ShareRules: NotRequired[Sequence[ShareRuleUnionTypeDef]], # (7)
DeprecateRule: NotRequired[DeprecateRuleTypeDef], # (8)
ArchiveRule: NotRequired[ArchiveRuleTypeDef], # (9)
- See TagTypeDef
- See TagTypeDef
- See CreateRuleTypeDef CreateRuleOutputTypeDef
- See RetainRuleTypeDef
- See FastRestoreRuleTypeDef FastRestoreRuleOutputTypeDef
- See CrossRegionCopyRuleTypeDef
- See ShareRuleTypeDef ShareRuleOutputTypeDef
- See DeprecateRuleTypeDef
- See ArchiveRuleTypeDef
LifecyclePolicyTypeDef#
# LifecyclePolicyTypeDef definition
class LifecyclePolicyTypeDef(TypedDict):
PolicyId: NotRequired[str],
Description: NotRequired[str],
State: NotRequired[GettablePolicyStateValuesType], # (1)
StatusMessage: NotRequired[str],
ExecutionRoleArn: NotRequired[str],
DateCreated: NotRequired[datetime],
DateModified: NotRequired[datetime],
PolicyDetails: NotRequired[PolicyDetailsOutputTypeDef], # (2)
Tags: NotRequired[dict[str, str]],
PolicyArn: NotRequired[str],
DefaultPolicy: NotRequired[bool],
GetLifecyclePolicyResponseTypeDef#
# GetLifecyclePolicyResponseTypeDef definition
class GetLifecyclePolicyResponseTypeDef(TypedDict):
Policy: LifecyclePolicyTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PolicyDetailsTypeDef#
# PolicyDetailsTypeDef definition
class PolicyDetailsTypeDef(TypedDict):
PolicyType: NotRequired[PolicyTypeValuesType], # (1)
ResourceTypes: NotRequired[Sequence[ResourceTypeValuesType]], # (2)
ResourceLocations: NotRequired[Sequence[ResourceLocationValuesType]], # (3)
TargetTags: NotRequired[Sequence[TagTypeDef]], # (4)
Schedules: NotRequired[Sequence[ScheduleUnionTypeDef]], # (5)
Parameters: NotRequired[ParametersUnionTypeDef], # (6)
EventSource: NotRequired[EventSourceUnionTypeDef], # (7)
Actions: NotRequired[Sequence[ActionUnionTypeDef]], # (8)
PolicyLanguage: NotRequired[PolicyLanguageValuesType], # (9)
ResourceType: NotRequired[ResourceTypeValuesType], # (10)
CreateInterval: NotRequired[int],
RetainInterval: NotRequired[int],
CopyTags: NotRequired[bool],
CrossRegionCopyTargets: NotRequired[Sequence[CrossRegionCopyTargetTypeDef]], # (11)
ExtendDeletion: NotRequired[bool],
Exclusions: NotRequired[ExclusionsUnionTypeDef], # (12)
- See PolicyTypeValuesType
- See ResourceTypeValuesType
- See ResourceLocationValuesType
- See TagTypeDef
- See ScheduleTypeDef ScheduleOutputTypeDef
- See ParametersTypeDef ParametersOutputTypeDef
- See EventSourceTypeDef EventSourceOutputTypeDef
- See ActionTypeDef ActionOutputTypeDef
- See PolicyLanguageValuesType
- See ResourceTypeValuesType
- See CrossRegionCopyTargetTypeDef
- See ExclusionsTypeDef ExclusionsOutputTypeDef
CreateLifecyclePolicyRequestRequestTypeDef#
# CreateLifecyclePolicyRequestRequestTypeDef definition
class CreateLifecyclePolicyRequestRequestTypeDef(TypedDict):
ExecutionRoleArn: str,
Description: str,
State: SettablePolicyStateValuesType, # (1)
PolicyDetails: NotRequired[PolicyDetailsTypeDef], # (2)
Tags: NotRequired[Mapping[str, str]],
DefaultPolicy: NotRequired[DefaultPolicyTypeValuesType], # (3)
CreateInterval: NotRequired[int],
RetainInterval: NotRequired[int],
CopyTags: NotRequired[bool],
ExtendDeletion: NotRequired[bool],
CrossRegionCopyTargets: NotRequired[Sequence[CrossRegionCopyTargetTypeDef]], # (4)
Exclusions: NotRequired[ExclusionsTypeDef], # (5)
- See SettablePolicyStateValuesType
- See PolicyDetailsTypeDef
- See DefaultPolicyTypeValuesType
- See CrossRegionCopyTargetTypeDef
- See ExclusionsTypeDef
UpdateLifecyclePolicyRequestRequestTypeDef#
# UpdateLifecyclePolicyRequestRequestTypeDef definition
class UpdateLifecyclePolicyRequestRequestTypeDef(TypedDict):
PolicyId: str,
ExecutionRoleArn: NotRequired[str],
State: NotRequired[SettablePolicyStateValuesType], # (1)
Description: NotRequired[str],
PolicyDetails: NotRequired[PolicyDetailsTypeDef], # (2)
CreateInterval: NotRequired[int],
RetainInterval: NotRequired[int],
CopyTags: NotRequired[bool],
ExtendDeletion: NotRequired[bool],
CrossRegionCopyTargets: NotRequired[Sequence[CrossRegionCopyTargetTypeDef]], # (3)
Exclusions: NotRequired[ExclusionsTypeDef], # (4)