# frozen_string_literal: true # WARNING ABOUT GENERATED CODE # # This file is generated. See the contributing guide for more information: # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md # # WARNING ABOUT GENERATED CODE module Aws::DLM # @api private module ClientApi include Seahorse::Model Action = Shapes::StructureShape.new(name: 'Action') ActionList = Shapes::ListShape.new(name: 'ActionList') ActionName = Shapes::StringShape.new(name: 'ActionName') ArchiveRetainRule = Shapes::StructureShape.new(name: 'ArchiveRetainRule') ArchiveRule = Shapes::StructureShape.new(name: 'ArchiveRule') AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone') AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList') AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId') CmkArn = Shapes::StringShape.new(name: 'CmkArn') CopyTags = Shapes::BooleanShape.new(name: 'CopyTags') CopyTagsNullable = Shapes::BooleanShape.new(name: 'CopyTagsNullable') Count = Shapes::IntegerShape.new(name: 'Count') CreateInterval = Shapes::IntegerShape.new(name: 'CreateInterval') CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest') CreateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyResponse') CreateRule = Shapes::StructureShape.new(name: 'CreateRule') CronExpression = Shapes::StringShape.new(name: 'CronExpression') CrossRegionCopyAction = Shapes::StructureShape.new(name: 'CrossRegionCopyAction') CrossRegionCopyActionList = Shapes::ListShape.new(name: 'CrossRegionCopyActionList') CrossRegionCopyDeprecateRule = Shapes::StructureShape.new(name: 'CrossRegionCopyDeprecateRule') CrossRegionCopyRetainRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRetainRule') CrossRegionCopyRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRule') CrossRegionCopyRules = Shapes::ListShape.new(name: 'CrossRegionCopyRules') CrossRegionCopyTarget = Shapes::StructureShape.new(name: 'CrossRegionCopyTarget') CrossRegionCopyTargetList = Shapes::ListShape.new(name: 'CrossRegionCopyTargetList') DefaultPoliciesTypeValues = Shapes::StringShape.new(name: 'DefaultPoliciesTypeValues') DefaultPolicy = Shapes::BooleanShape.new(name: 'DefaultPolicy') DefaultPolicyTypeValues = Shapes::StringShape.new(name: 'DefaultPolicyTypeValues') DeleteLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyRequest') DeleteLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyResponse') DeprecateRule = Shapes::StructureShape.new(name: 'DeprecateRule') DescriptionRegex = Shapes::StringShape.new(name: 'DescriptionRegex') Encrypted = Shapes::BooleanShape.new(name: 'Encrypted') EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration') ErrorCode = Shapes::StringShape.new(name: 'ErrorCode') ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage') EventParameters = Shapes::StructureShape.new(name: 'EventParameters') EventSource = Shapes::StructureShape.new(name: 'EventSource') EventSourceValues = Shapes::StringShape.new(name: 'EventSourceValues') EventTypeValues = Shapes::StringShape.new(name: 'EventTypeValues') ExcludeBootVolume = Shapes::BooleanShape.new(name: 'ExcludeBootVolume') ExcludeBootVolumes = Shapes::BooleanShape.new(name: 'ExcludeBootVolumes') ExcludeDataVolumeTagList = Shapes::ListShape.new(name: 'ExcludeDataVolumeTagList') ExcludeTagsList = Shapes::ListShape.new(name: 'ExcludeTagsList') ExcludeVolumeTypesList = Shapes::ListShape.new(name: 'ExcludeVolumeTypesList') Exclusions = Shapes::StructureShape.new(name: 'Exclusions') ExecuteOperationOnScriptFailure = Shapes::BooleanShape.new(name: 'ExecuteOperationOnScriptFailure') ExecutionHandler = Shapes::StringShape.new(name: 'ExecutionHandler') ExecutionHandlerServiceValues = Shapes::StringShape.new(name: 'ExecutionHandlerServiceValues') ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn') ExtendDeletion = Shapes::BooleanShape.new(name: 'ExtendDeletion') FastRestoreRule = Shapes::StructureShape.new(name: 'FastRestoreRule') GetLifecyclePoliciesRequest = Shapes::StructureShape.new(name: 'GetLifecyclePoliciesRequest') GetLifecyclePoliciesResponse = Shapes::StructureShape.new(name: 'GetLifecyclePoliciesResponse') GetLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'GetLifecyclePolicyRequest') GetLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'GetLifecyclePolicyResponse') GettablePolicyStateValues = Shapes::StringShape.new(name: 'GettablePolicyStateValues') InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException') Interval = Shapes::IntegerShape.new(name: 'Interval') IntervalUnitValues = Shapes::StringShape.new(name: 'IntervalUnitValues') InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException') LifecyclePolicy = Shapes::StructureShape.new(name: 'LifecyclePolicy') LifecyclePolicySummary = Shapes::StructureShape.new(name: 'LifecyclePolicySummary') LifecyclePolicySummaryList = Shapes::ListShape.new(name: 'LifecyclePolicySummaryList') LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException') ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest') ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse') LocationValues = Shapes::StringShape.new(name: 'LocationValues') NoReboot = Shapes::BooleanShape.new(name: 'NoReboot') Parameter = Shapes::StringShape.new(name: 'Parameter') ParameterList = Shapes::ListShape.new(name: 'ParameterList') Parameters = Shapes::StructureShape.new(name: 'Parameters') PolicyArn = Shapes::StringShape.new(name: 'PolicyArn') PolicyDescription = Shapes::StringShape.new(name: 'PolicyDescription') PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails') PolicyId = Shapes::StringShape.new(name: 'PolicyId') PolicyIdList = Shapes::ListShape.new(name: 'PolicyIdList') PolicyLanguageValues = Shapes::StringShape.new(name: 'PolicyLanguageValues') PolicyTypeValues = Shapes::StringShape.new(name: 'PolicyTypeValues') ResourceLocationList = Shapes::ListShape.new(name: 'ResourceLocationList') ResourceLocationValues = Shapes::StringShape.new(name: 'ResourceLocationValues') ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') ResourceTypeValues = Shapes::StringShape.new(name: 'ResourceTypeValues') ResourceTypeValuesList = Shapes::ListShape.new(name: 'ResourceTypeValuesList') RetainInterval = Shapes::IntegerShape.new(name: 'RetainInterval') RetainRule = Shapes::StructureShape.new(name: 'RetainRule') RetentionArchiveTier = Shapes::StructureShape.new(name: 'RetentionArchiveTier') RetentionIntervalUnitValues = Shapes::StringShape.new(name: 'RetentionIntervalUnitValues') Schedule = Shapes::StructureShape.new(name: 'Schedule') ScheduleList = Shapes::ListShape.new(name: 'ScheduleList') ScheduleName = Shapes::StringShape.new(name: 'ScheduleName') Script = Shapes::StructureShape.new(name: 'Script') ScriptExecutionTimeout = Shapes::IntegerShape.new(name: 'ScriptExecutionTimeout') ScriptMaximumRetryCount = Shapes::IntegerShape.new(name: 'ScriptMaximumRetryCount') ScriptsList = Shapes::ListShape.new(name: 'ScriptsList') SettablePolicyStateValues = Shapes::StringShape.new(name: 'SettablePolicyStateValues') ShareRule = Shapes::StructureShape.new(name: 'ShareRule') ShareRules = Shapes::ListShape.new(name: 'ShareRules') ShareTargetAccountList = Shapes::ListShape.new(name: 'ShareTargetAccountList') SnapshotOwnerList = Shapes::ListShape.new(name: 'SnapshotOwnerList') StageValues = Shapes::StringShape.new(name: 'StageValues') StagesList = Shapes::ListShape.new(name: 'StagesList') StandardTierRetainRuleCount = Shapes::IntegerShape.new(name: 'StandardTierRetainRuleCount') StandardTierRetainRuleInterval = Shapes::IntegerShape.new(name: 'StandardTierRetainRuleInterval') StatusMessage = Shapes::StringShape.new(name: 'StatusMessage') String = Shapes::StringShape.new(name: 'String') Tag = Shapes::StructureShape.new(name: 'Tag') TagFilter = Shapes::StringShape.new(name: 'TagFilter') TagKey = Shapes::StringShape.new(name: 'TagKey') TagKeyList = Shapes::ListShape.new(name: 'TagKeyList') TagMap = Shapes::MapShape.new(name: 'TagMap') TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest') TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse') TagValue = Shapes::StringShape.new(name: 'TagValue') TagsToAddFilterList = Shapes::ListShape.new(name: 'TagsToAddFilterList') TagsToAddList = Shapes::ListShape.new(name: 'TagsToAddList') Target = Shapes::StringShape.new(name: 'Target') TargetRegion = Shapes::StringShape.new(name: 'TargetRegion') TargetTagList = Shapes::ListShape.new(name: 'TargetTagList') TargetTagsFilterList = Shapes::ListShape.new(name: 'TargetTagsFilterList') Time = Shapes::StringShape.new(name: 'Time') TimesList = Shapes::ListShape.new(name: 'TimesList') Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601") UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest') UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse') UpdateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'UpdateLifecyclePolicyRequest') UpdateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'UpdateLifecyclePolicyResponse') VariableTagsList = Shapes::ListShape.new(name: 'VariableTagsList') VolumeTypeValues = Shapes::StringShape.new(name: 'VolumeTypeValues') Action.add_member(:name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "Name")) Action.add_member(:cross_region_copy, Shapes::ShapeRef.new(shape: CrossRegionCopyActionList, required: true, location_name: "CrossRegionCopy")) Action.struct_class = Types::Action ActionList.member = Shapes::ShapeRef.new(shape: Action) ArchiveRetainRule.add_member(:retention_archive_tier, Shapes::ShapeRef.new(shape: RetentionArchiveTier, required: true, location_name: "RetentionArchiveTier")) ArchiveRetainRule.struct_class = Types::ArchiveRetainRule ArchiveRule.add_member(:retain_rule, Shapes::ShapeRef.new(shape: ArchiveRetainRule, required: true, location_name: "RetainRule")) ArchiveRule.struct_class = Types::ArchiveRule AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone) CreateLifecyclePolicyRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn")) CreateLifecyclePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, required: true, location_name: "Description")) CreateLifecyclePolicyRequest.add_member(:state, Shapes::ShapeRef.new(shape: SettablePolicyStateValues, required: true, location_name: "State")) CreateLifecyclePolicyRequest.add_member(:policy_details, Shapes::ShapeRef.new(shape: PolicyDetails, location_name: "PolicyDetails")) CreateLifecyclePolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) CreateLifecyclePolicyRequest.add_member(:default_policy, Shapes::ShapeRef.new(shape: DefaultPolicyTypeValues, location_name: "DefaultPolicy")) CreateLifecyclePolicyRequest.add_member(:create_interval, Shapes::ShapeRef.new(shape: CreateInterval, location_name: "CreateInterval")) CreateLifecyclePolicyRequest.add_member(:retain_interval, Shapes::ShapeRef.new(shape: RetainInterval, location_name: "RetainInterval")) CreateLifecyclePolicyRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags")) CreateLifecyclePolicyRequest.add_member(:extend_deletion, Shapes::ShapeRef.new(shape: ExtendDeletion, location_name: "ExtendDeletion")) CreateLifecyclePolicyRequest.add_member(:cross_region_copy_targets, Shapes::ShapeRef.new(shape: CrossRegionCopyTargetList, location_name: "CrossRegionCopyTargets")) CreateLifecyclePolicyRequest.add_member(:exclusions, Shapes::ShapeRef.new(shape: Exclusions, location_name: "Exclusions")) CreateLifecyclePolicyRequest.struct_class = Types::CreateLifecyclePolicyRequest CreateLifecyclePolicyResponse.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId")) CreateLifecyclePolicyResponse.struct_class = Types::CreateLifecyclePolicyResponse CreateRule.add_member(:location, Shapes::ShapeRef.new(shape: LocationValues, location_name: "Location")) CreateRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval")) CreateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: IntervalUnitValues, location_name: "IntervalUnit")) CreateRule.add_member(:times, Shapes::ShapeRef.new(shape: TimesList, location_name: "Times")) CreateRule.add_member(:cron_expression, Shapes::ShapeRef.new(shape: CronExpression, location_name: "CronExpression")) CreateRule.add_member(:scripts, Shapes::ShapeRef.new(shape: ScriptsList, location_name: "Scripts")) CreateRule.struct_class = Types::CreateRule CrossRegionCopyAction.add_member(:target, Shapes::ShapeRef.new(shape: Target, required: true, location_name: "Target")) CrossRegionCopyAction.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, required: true, location_name: "EncryptionConfiguration")) CrossRegionCopyAction.add_member(:retain_rule, Shapes::ShapeRef.new(shape: CrossRegionCopyRetainRule, location_name: "RetainRule")) CrossRegionCopyAction.struct_class = Types::CrossRegionCopyAction CrossRegionCopyActionList.member = Shapes::ShapeRef.new(shape: CrossRegionCopyAction) CrossRegionCopyDeprecateRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval")) CrossRegionCopyDeprecateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit")) CrossRegionCopyDeprecateRule.struct_class = Types::CrossRegionCopyDeprecateRule CrossRegionCopyRetainRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval")) CrossRegionCopyRetainRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit")) CrossRegionCopyRetainRule.struct_class = Types::CrossRegionCopyRetainRule CrossRegionCopyRule.add_member(:target_region, Shapes::ShapeRef.new(shape: TargetRegion, location_name: "TargetRegion")) CrossRegionCopyRule.add_member(:target, Shapes::ShapeRef.new(shape: Target, location_name: "Target")) CrossRegionCopyRule.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, required: true, location_name: "Encrypted")) CrossRegionCopyRule.add_member(:cmk_arn, Shapes::ShapeRef.new(shape: CmkArn, location_name: "CmkArn")) CrossRegionCopyRule.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags")) CrossRegionCopyRule.add_member(:retain_rule, Shapes::ShapeRef.new(shape: CrossRegionCopyRetainRule, location_name: "RetainRule")) CrossRegionCopyRule.add_member(:deprecate_rule, Shapes::ShapeRef.new(shape: CrossRegionCopyDeprecateRule, location_name: "DeprecateRule")) CrossRegionCopyRule.struct_class = Types::CrossRegionCopyRule CrossRegionCopyRules.member = Shapes::ShapeRef.new(shape: CrossRegionCopyRule) CrossRegionCopyTarget.add_member(:target_region, Shapes::ShapeRef.new(shape: TargetRegion, location_name: "TargetRegion")) CrossRegionCopyTarget.struct_class = Types::CrossRegionCopyTarget CrossRegionCopyTargetList.member = Shapes::ShapeRef.new(shape: CrossRegionCopyTarget) DeleteLifecyclePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location: "uri", location_name: "policyId")) DeleteLifecyclePolicyRequest.struct_class = Types::DeleteLifecyclePolicyRequest DeleteLifecyclePolicyResponse.struct_class = Types::DeleteLifecyclePolicyResponse DeprecateRule.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "Count")) DeprecateRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval")) DeprecateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit")) DeprecateRule.struct_class = Types::DeprecateRule EncryptionConfiguration.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, required: true, location_name: "Encrypted")) EncryptionConfiguration.add_member(:cmk_arn, Shapes::ShapeRef.new(shape: CmkArn, location_name: "CmkArn")) EncryptionConfiguration.struct_class = Types::EncryptionConfiguration EventParameters.add_member(:event_type, Shapes::ShapeRef.new(shape: EventTypeValues, required: true, location_name: "EventType")) EventParameters.add_member(:snapshot_owner, Shapes::ShapeRef.new(shape: SnapshotOwnerList, required: true, location_name: "SnapshotOwner")) EventParameters.add_member(:description_regex, Shapes::ShapeRef.new(shape: DescriptionRegex, required: true, location_name: "DescriptionRegex")) EventParameters.struct_class = Types::EventParameters EventSource.add_member(:type, Shapes::ShapeRef.new(shape: EventSourceValues, required: true, location_name: "Type")) EventSource.add_member(:parameters, Shapes::ShapeRef.new(shape: EventParameters, location_name: "Parameters")) EventSource.struct_class = Types::EventSource ExcludeDataVolumeTagList.member = Shapes::ShapeRef.new(shape: Tag) ExcludeTagsList.member = Shapes::ShapeRef.new(shape: Tag) ExcludeVolumeTypesList.member = Shapes::ShapeRef.new(shape: VolumeTypeValues) Exclusions.add_member(:exclude_boot_volumes, Shapes::ShapeRef.new(shape: ExcludeBootVolumes, location_name: "ExcludeBootVolumes")) Exclusions.add_member(:exclude_volume_types, Shapes::ShapeRef.new(shape: ExcludeVolumeTypesList, location_name: "ExcludeVolumeTypes")) Exclusions.add_member(:exclude_tags, Shapes::ShapeRef.new(shape: ExcludeTagsList, location_name: "ExcludeTags")) Exclusions.struct_class = Types::Exclusions FastRestoreRule.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "Count")) FastRestoreRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval")) FastRestoreRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit")) FastRestoreRule.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZoneList, required: true, location_name: "AvailabilityZones")) FastRestoreRule.struct_class = Types::FastRestoreRule GetLifecyclePoliciesRequest.add_member(:policy_ids, Shapes::ShapeRef.new(shape: PolicyIdList, location: "querystring", location_name: "policyIds")) GetLifecyclePoliciesRequest.add_member(:state, Shapes::ShapeRef.new(shape: GettablePolicyStateValues, location: "querystring", location_name: "state")) GetLifecyclePoliciesRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeValuesList, location: "querystring", location_name: "resourceTypes")) GetLifecyclePoliciesRequest.add_member(:target_tags, Shapes::ShapeRef.new(shape: TargetTagsFilterList, location: "querystring", location_name: "targetTags")) GetLifecyclePoliciesRequest.add_member(:tags_to_add, Shapes::ShapeRef.new(shape: TagsToAddFilterList, location: "querystring", location_name: "tagsToAdd")) GetLifecyclePoliciesRequest.add_member(:default_policy_type, Shapes::ShapeRef.new(shape: DefaultPoliciesTypeValues, location: "querystring", location_name: "defaultPolicyType")) GetLifecyclePoliciesRequest.struct_class = Types::GetLifecyclePoliciesRequest GetLifecyclePoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: LifecyclePolicySummaryList, location_name: "Policies")) GetLifecyclePoliciesResponse.struct_class = Types::GetLifecyclePoliciesResponse GetLifecyclePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location: "uri", location_name: "policyId")) GetLifecyclePolicyRequest.struct_class = Types::GetLifecyclePolicyRequest GetLifecyclePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: LifecyclePolicy, location_name: "Policy")) GetLifecyclePolicyResponse.struct_class = Types::GetLifecyclePolicyResponse InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) InternalServerException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code")) InternalServerException.struct_class = Types::InternalServerException InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) InvalidRequestException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code")) InvalidRequestException.add_member(:required_parameters, Shapes::ShapeRef.new(shape: ParameterList, location_name: "RequiredParameters")) InvalidRequestException.add_member(:mutually_exclusive_parameters, Shapes::ShapeRef.new(shape: ParameterList, location_name: "MutuallyExclusiveParameters")) InvalidRequestException.struct_class = Types::InvalidRequestException LifecyclePolicy.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId")) LifecyclePolicy.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description")) LifecyclePolicy.add_member(:state, Shapes::ShapeRef.new(shape: GettablePolicyStateValues, location_name: "State")) LifecyclePolicy.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage")) LifecyclePolicy.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, location_name: "ExecutionRoleArn")) LifecyclePolicy.add_member(:date_created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateCreated")) LifecyclePolicy.add_member(:date_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DateModified")) LifecyclePolicy.add_member(:policy_details, Shapes::ShapeRef.new(shape: PolicyDetails, location_name: "PolicyDetails")) LifecyclePolicy.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) LifecyclePolicy.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "PolicyArn")) LifecyclePolicy.add_member(:default_policy, Shapes::ShapeRef.new(shape: DefaultPolicy, location_name: "DefaultPolicy")) LifecyclePolicy.struct_class = Types::LifecyclePolicy LifecyclePolicySummary.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId")) LifecyclePolicySummary.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description")) LifecyclePolicySummary.add_member(:state, Shapes::ShapeRef.new(shape: GettablePolicyStateValues, location_name: "State")) LifecyclePolicySummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) LifecyclePolicySummary.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyTypeValues, location_name: "PolicyType")) LifecyclePolicySummary.add_member(:default_policy, Shapes::ShapeRef.new(shape: DefaultPolicy, location_name: "DefaultPolicy")) LifecyclePolicySummary.struct_class = Types::LifecyclePolicySummary LifecyclePolicySummaryList.member = Shapes::ShapeRef.new(shape: LifecyclePolicySummary) LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) LimitExceededException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code")) LimitExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType")) LimitExceededException.struct_class = Types::LimitExceededException ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyArn, required: true, location: "uri", location_name: "resourceArn")) ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags")) ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse ParameterList.member = Shapes::ShapeRef.new(shape: Parameter) Parameters.add_member(:exclude_boot_volume, Shapes::ShapeRef.new(shape: ExcludeBootVolume, location_name: "ExcludeBootVolume")) Parameters.add_member(:no_reboot, Shapes::ShapeRef.new(shape: NoReboot, location_name: "NoReboot")) Parameters.add_member(:exclude_data_volume_tags, Shapes::ShapeRef.new(shape: ExcludeDataVolumeTagList, location_name: "ExcludeDataVolumeTags")) Parameters.struct_class = Types::Parameters PolicyDetails.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyTypeValues, location_name: "PolicyType")) PolicyDetails.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeValuesList, location_name: "ResourceTypes")) PolicyDetails.add_member(:resource_locations, Shapes::ShapeRef.new(shape: ResourceLocationList, location_name: "ResourceLocations")) PolicyDetails.add_member(:target_tags, Shapes::ShapeRef.new(shape: TargetTagList, location_name: "TargetTags")) PolicyDetails.add_member(:schedules, Shapes::ShapeRef.new(shape: ScheduleList, location_name: "Schedules")) PolicyDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters")) PolicyDetails.add_member(:event_source, Shapes::ShapeRef.new(shape: EventSource, location_name: "EventSource")) PolicyDetails.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "Actions")) PolicyDetails.add_member(:policy_language, Shapes::ShapeRef.new(shape: PolicyLanguageValues, location_name: "PolicyLanguage")) PolicyDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceTypeValues, location_name: "ResourceType")) PolicyDetails.add_member(:create_interval, Shapes::ShapeRef.new(shape: CreateInterval, location_name: "CreateInterval")) PolicyDetails.add_member(:retain_interval, Shapes::ShapeRef.new(shape: RetainInterval, location_name: "RetainInterval")) PolicyDetails.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags")) PolicyDetails.add_member(:cross_region_copy_targets, Shapes::ShapeRef.new(shape: CrossRegionCopyTargetList, location_name: "CrossRegionCopyTargets")) PolicyDetails.add_member(:extend_deletion, Shapes::ShapeRef.new(shape: ExtendDeletion, location_name: "ExtendDeletion")) PolicyDetails.add_member(:exclusions, Shapes::ShapeRef.new(shape: Exclusions, location_name: "Exclusions")) PolicyDetails.struct_class = Types::PolicyDetails PolicyIdList.member = Shapes::ShapeRef.new(shape: PolicyId) ResourceLocationList.member = Shapes::ShapeRef.new(shape: ResourceLocationValues) ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message")) ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code")) ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType")) ResourceNotFoundException.add_member(:resource_ids, Shapes::ShapeRef.new(shape: PolicyIdList, location_name: "ResourceIds")) ResourceNotFoundException.struct_class = Types::ResourceNotFoundException ResourceTypeValuesList.member = Shapes::ShapeRef.new(shape: ResourceTypeValues) RetainRule.add_member(:count, Shapes::ShapeRef.new(shape: StandardTierRetainRuleCount, location_name: "Count")) RetainRule.add_member(:interval, Shapes::ShapeRef.new(shape: StandardTierRetainRuleInterval, location_name: "Interval")) RetainRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit")) RetainRule.struct_class = Types::RetainRule RetentionArchiveTier.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "Count")) RetentionArchiveTier.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval")) RetentionArchiveTier.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit")) RetentionArchiveTier.struct_class = Types::RetentionArchiveTier Schedule.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleName, location_name: "Name")) Schedule.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTags, location_name: "CopyTags")) Schedule.add_member(:tags_to_add, Shapes::ShapeRef.new(shape: TagsToAddList, location_name: "TagsToAdd")) Schedule.add_member(:variable_tags, Shapes::ShapeRef.new(shape: VariableTagsList, location_name: "VariableTags")) Schedule.add_member(:create_rule, Shapes::ShapeRef.new(shape: CreateRule, location_name: "CreateRule")) Schedule.add_member(:retain_rule, Shapes::ShapeRef.new(shape: RetainRule, location_name: "RetainRule")) Schedule.add_member(:fast_restore_rule, Shapes::ShapeRef.new(shape: FastRestoreRule, location_name: "FastRestoreRule")) Schedule.add_member(:cross_region_copy_rules, Shapes::ShapeRef.new(shape: CrossRegionCopyRules, location_name: "CrossRegionCopyRules")) Schedule.add_member(:share_rules, Shapes::ShapeRef.new(shape: ShareRules, location_name: "ShareRules")) Schedule.add_member(:deprecate_rule, Shapes::ShapeRef.new(shape: DeprecateRule, location_name: "DeprecateRule")) Schedule.add_member(:archive_rule, Shapes::ShapeRef.new(shape: ArchiveRule, location_name: "ArchiveRule")) Schedule.struct_class = Types::Schedule ScheduleList.member = Shapes::ShapeRef.new(shape: Schedule) Script.add_member(:stages, Shapes::ShapeRef.new(shape: StagesList, location_name: "Stages")) Script.add_member(:execution_handler_service, Shapes::ShapeRef.new(shape: ExecutionHandlerServiceValues, location_name: "ExecutionHandlerService")) Script.add_member(:execution_handler, Shapes::ShapeRef.new(shape: ExecutionHandler, required: true, location_name: "ExecutionHandler")) Script.add_member(:execute_operation_on_script_failure, Shapes::ShapeRef.new(shape: ExecuteOperationOnScriptFailure, location_name: "ExecuteOperationOnScriptFailure")) Script.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: ScriptExecutionTimeout, location_name: "ExecutionTimeout")) Script.add_member(:maximum_retry_count, Shapes::ShapeRef.new(shape: ScriptMaximumRetryCount, location_name: "MaximumRetryCount")) Script.struct_class = Types::Script ScriptsList.member = Shapes::ShapeRef.new(shape: Script) ShareRule.add_member(:target_accounts, Shapes::ShapeRef.new(shape: ShareTargetAccountList, required: true, location_name: "TargetAccounts")) ShareRule.add_member(:unshare_interval, Shapes::ShapeRef.new(shape: Interval, location_name: "UnshareInterval")) ShareRule.add_member(:unshare_interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "UnshareIntervalUnit")) ShareRule.struct_class = Types::ShareRule ShareRules.member = Shapes::ShapeRef.new(shape: ShareRule) ShareTargetAccountList.member = Shapes::ShapeRef.new(shape: AwsAccountId) SnapshotOwnerList.member = Shapes::ShapeRef.new(shape: AwsAccountId) StagesList.member = Shapes::ShapeRef.new(shape: StageValues) Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Key")) Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value")) Tag.struct_class = Types::Tag TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey) TagMap.key = Shapes::ShapeRef.new(shape: TagKey) TagMap.value = Shapes::ShapeRef.new(shape: TagValue) TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyArn, required: true, location: "uri", location_name: "resourceArn")) TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags")) TagResourceRequest.struct_class = Types::TagResourceRequest TagResourceResponse.struct_class = Types::TagResourceResponse TagsToAddFilterList.member = Shapes::ShapeRef.new(shape: TagFilter) TagsToAddList.member = Shapes::ShapeRef.new(shape: Tag) TargetTagList.member = Shapes::ShapeRef.new(shape: Tag) TargetTagsFilterList.member = Shapes::ShapeRef.new(shape: TagFilter) TimesList.member = Shapes::ShapeRef.new(shape: Time) UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyArn, required: true, location: "uri", location_name: "resourceArn")) UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys")) UntagResourceRequest.struct_class = Types::UntagResourceRequest UntagResourceResponse.struct_class = Types::UntagResourceResponse UpdateLifecyclePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location: "uri", location_name: "policyId")) UpdateLifecyclePolicyRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, location_name: "ExecutionRoleArn")) UpdateLifecyclePolicyRequest.add_member(:state, Shapes::ShapeRef.new(shape: SettablePolicyStateValues, location_name: "State")) UpdateLifecyclePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description")) UpdateLifecyclePolicyRequest.add_member(:policy_details, Shapes::ShapeRef.new(shape: PolicyDetails, location_name: "PolicyDetails")) UpdateLifecyclePolicyRequest.add_member(:create_interval, Shapes::ShapeRef.new(shape: CreateInterval, location_name: "CreateInterval")) UpdateLifecyclePolicyRequest.add_member(:retain_interval, Shapes::ShapeRef.new(shape: RetainInterval, location_name: "RetainInterval")) UpdateLifecyclePolicyRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags")) UpdateLifecyclePolicyRequest.add_member(:extend_deletion, Shapes::ShapeRef.new(shape: ExtendDeletion, location_name: "ExtendDeletion")) UpdateLifecyclePolicyRequest.add_member(:cross_region_copy_targets, Shapes::ShapeRef.new(shape: CrossRegionCopyTargetList, location_name: "CrossRegionCopyTargets")) UpdateLifecyclePolicyRequest.add_member(:exclusions, Shapes::ShapeRef.new(shape: Exclusions, location_name: "Exclusions")) UpdateLifecyclePolicyRequest.struct_class = Types::UpdateLifecyclePolicyRequest UpdateLifecyclePolicyResponse.struct_class = Types::UpdateLifecyclePolicyResponse VariableTagsList.member = Shapes::ShapeRef.new(shape: Tag) # @api private API = Seahorse::Model::Api.new.tap do |api| api.version = "2018-01-12" api.metadata = { "apiVersion" => "2018-01-12", "auth" => ["aws.auth#sigv4"], "endpointPrefix" => "dlm", "jsonVersion" => "1.1", "protocol" => "rest-json", "protocols" => ["rest-json"], "serviceAbbreviation" => "Amazon DLM", "serviceFullName" => "Amazon Data Lifecycle Manager", "serviceId" => "DLM", "signatureVersion" => "v4", "signingName" => "dlm", "uid" => "dlm-2018-01-12", } api.add_operation(:create_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o| o.name = "CreateLifecyclePolicy" o.http_method = "POST" o.http_request_uri = "/policies" o.input = Shapes::ShapeRef.new(shape: CreateLifecyclePolicyRequest) o.output = Shapes::ShapeRef.new(shape: CreateLifecyclePolicyResponse) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) end) api.add_operation(:delete_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o| o.name = "DeleteLifecyclePolicy" o.http_method = "DELETE" o.http_request_uri = "/policies/{policyId}" o.input = Shapes::ShapeRef.new(shape: DeleteLifecyclePolicyRequest) o.output = Shapes::ShapeRef.new(shape: DeleteLifecyclePolicyResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) api.add_operation(:get_lifecycle_policies, Seahorse::Model::Operation.new.tap do |o| o.name = "GetLifecyclePolicies" o.http_method = "GET" o.http_request_uri = "/policies" o.input = Shapes::ShapeRef.new(shape: GetLifecyclePoliciesRequest) o.output = Shapes::ShapeRef.new(shape: GetLifecyclePoliciesResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) api.add_operation(:get_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o| o.name = "GetLifecyclePolicy" o.http_method = "GET" o.http_request_uri = "/policies/{policyId}" o.input = Shapes::ShapeRef.new(shape: GetLifecyclePolicyRequest) o.output = Shapes::ShapeRef.new(shape: GetLifecyclePolicyResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "ListTagsForResource" o.http_method = "GET" o.http_request_uri = "/tags/{resourceArn}" o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest) o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "TagResource" o.http_method = "POST" o.http_request_uri = "/tags/{resourceArn}" o.input = Shapes::ShapeRef.new(shape: TagResourceRequest) o.output = Shapes::ShapeRef.new(shape: TagResourceResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "UntagResource" o.http_method = "DELETE" o.http_request_uri = "/tags/{resourceArn}" o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest) o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) end) api.add_operation(:update_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateLifecyclePolicy" o.http_method = "PATCH" o.http_request_uri = "/policies/{policyId}" o.input = Shapes::ShapeRef.new(shape: UpdateLifecyclePolicyRequest) o.output = Shapes::ShapeRef.new(shape: UpdateLifecyclePolicyResponse) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) o.errors << Shapes::ShapeRef.new(shape: InternalServerException) o.errors << Shapes::ShapeRef.new(shape: LimitExceededException) end) end end end