aws-sdk-dlm 1.62.0 → 1.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,7 @@ module Aws::DLM
25
25
  CopyTags = Shapes::BooleanShape.new(name: 'CopyTags')
26
26
  CopyTagsNullable = Shapes::BooleanShape.new(name: 'CopyTagsNullable')
27
27
  Count = Shapes::IntegerShape.new(name: 'Count')
28
+ CreateInterval = Shapes::IntegerShape.new(name: 'CreateInterval')
28
29
  CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest')
29
30
  CreateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyResponse')
30
31
  CreateRule = Shapes::StructureShape.new(name: 'CreateRule')
@@ -35,6 +36,11 @@ module Aws::DLM
35
36
  CrossRegionCopyRetainRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRetainRule')
36
37
  CrossRegionCopyRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRule')
37
38
  CrossRegionCopyRules = Shapes::ListShape.new(name: 'CrossRegionCopyRules')
39
+ CrossRegionCopyTarget = Shapes::StructureShape.new(name: 'CrossRegionCopyTarget')
40
+ CrossRegionCopyTargetList = Shapes::ListShape.new(name: 'CrossRegionCopyTargetList')
41
+ DefaultPoliciesTypeValues = Shapes::StringShape.new(name: 'DefaultPoliciesTypeValues')
42
+ DefaultPolicy = Shapes::BooleanShape.new(name: 'DefaultPolicy')
43
+ DefaultPolicyTypeValues = Shapes::StringShape.new(name: 'DefaultPolicyTypeValues')
38
44
  DeleteLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyRequest')
39
45
  DeleteLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyResponse')
40
46
  DeprecateRule = Shapes::StructureShape.new(name: 'DeprecateRule')
@@ -48,8 +54,16 @@ module Aws::DLM
48
54
  EventSourceValues = Shapes::StringShape.new(name: 'EventSourceValues')
49
55
  EventTypeValues = Shapes::StringShape.new(name: 'EventTypeValues')
50
56
  ExcludeBootVolume = Shapes::BooleanShape.new(name: 'ExcludeBootVolume')
57
+ ExcludeBootVolumes = Shapes::BooleanShape.new(name: 'ExcludeBootVolumes')
51
58
  ExcludeDataVolumeTagList = Shapes::ListShape.new(name: 'ExcludeDataVolumeTagList')
59
+ ExcludeTagsList = Shapes::ListShape.new(name: 'ExcludeTagsList')
60
+ ExcludeVolumeTypesList = Shapes::ListShape.new(name: 'ExcludeVolumeTypesList')
61
+ Exclusions = Shapes::StructureShape.new(name: 'Exclusions')
62
+ ExecuteOperationOnScriptFailure = Shapes::BooleanShape.new(name: 'ExecuteOperationOnScriptFailure')
63
+ ExecutionHandler = Shapes::StringShape.new(name: 'ExecutionHandler')
64
+ ExecutionHandlerServiceValues = Shapes::StringShape.new(name: 'ExecutionHandlerServiceValues')
52
65
  ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
66
+ ExtendDeletion = Shapes::BooleanShape.new(name: 'ExtendDeletion')
53
67
  FastRestoreRule = Shapes::StructureShape.new(name: 'FastRestoreRule')
54
68
  GetLifecyclePoliciesRequest = Shapes::StructureShape.new(name: 'GetLifecyclePoliciesRequest')
55
69
  GetLifecyclePoliciesResponse = Shapes::StructureShape.new(name: 'GetLifecyclePoliciesResponse')
@@ -76,23 +90,31 @@ module Aws::DLM
76
90
  PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails')
77
91
  PolicyId = Shapes::StringShape.new(name: 'PolicyId')
78
92
  PolicyIdList = Shapes::ListShape.new(name: 'PolicyIdList')
93
+ PolicyLanguageValues = Shapes::StringShape.new(name: 'PolicyLanguageValues')
79
94
  PolicyTypeValues = Shapes::StringShape.new(name: 'PolicyTypeValues')
80
95
  ResourceLocationList = Shapes::ListShape.new(name: 'ResourceLocationList')
81
96
  ResourceLocationValues = Shapes::StringShape.new(name: 'ResourceLocationValues')
82
97
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
83
98
  ResourceTypeValues = Shapes::StringShape.new(name: 'ResourceTypeValues')
84
99
  ResourceTypeValuesList = Shapes::ListShape.new(name: 'ResourceTypeValuesList')
100
+ RetainInterval = Shapes::IntegerShape.new(name: 'RetainInterval')
85
101
  RetainRule = Shapes::StructureShape.new(name: 'RetainRule')
86
102
  RetentionArchiveTier = Shapes::StructureShape.new(name: 'RetentionArchiveTier')
87
103
  RetentionIntervalUnitValues = Shapes::StringShape.new(name: 'RetentionIntervalUnitValues')
88
104
  Schedule = Shapes::StructureShape.new(name: 'Schedule')
89
105
  ScheduleList = Shapes::ListShape.new(name: 'ScheduleList')
90
106
  ScheduleName = Shapes::StringShape.new(name: 'ScheduleName')
107
+ Script = Shapes::StructureShape.new(name: 'Script')
108
+ ScriptExecutionTimeout = Shapes::IntegerShape.new(name: 'ScriptExecutionTimeout')
109
+ ScriptMaximumRetryCount = Shapes::IntegerShape.new(name: 'ScriptMaximumRetryCount')
110
+ ScriptsList = Shapes::ListShape.new(name: 'ScriptsList')
91
111
  SettablePolicyStateValues = Shapes::StringShape.new(name: 'SettablePolicyStateValues')
92
112
  ShareRule = Shapes::StructureShape.new(name: 'ShareRule')
93
113
  ShareRules = Shapes::ListShape.new(name: 'ShareRules')
94
114
  ShareTargetAccountList = Shapes::ListShape.new(name: 'ShareTargetAccountList')
95
115
  SnapshotOwnerList = Shapes::ListShape.new(name: 'SnapshotOwnerList')
116
+ StageValues = Shapes::StringShape.new(name: 'StageValues')
117
+ StagesList = Shapes::ListShape.new(name: 'StagesList')
96
118
  StandardTierRetainRuleCount = Shapes::IntegerShape.new(name: 'StandardTierRetainRuleCount')
97
119
  StandardTierRetainRuleInterval = Shapes::IntegerShape.new(name: 'StandardTierRetainRuleInterval')
98
120
  StatusMessage = Shapes::StringShape.new(name: 'StatusMessage')
@@ -119,6 +141,7 @@ module Aws::DLM
119
141
  UpdateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'UpdateLifecyclePolicyRequest')
120
142
  UpdateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'UpdateLifecyclePolicyResponse')
121
143
  VariableTagsList = Shapes::ListShape.new(name: 'VariableTagsList')
144
+ VolumeTypeValues = Shapes::StringShape.new(name: 'VolumeTypeValues')
122
145
 
123
146
  Action.add_member(:name, Shapes::ShapeRef.new(shape: ActionName, required: true, location_name: "Name"))
124
147
  Action.add_member(:cross_region_copy, Shapes::ShapeRef.new(shape: CrossRegionCopyActionList, required: true, location_name: "CrossRegionCopy"))
@@ -137,8 +160,15 @@ module Aws::DLM
137
160
  CreateLifecyclePolicyRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
138
161
  CreateLifecyclePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, required: true, location_name: "Description"))
139
162
  CreateLifecyclePolicyRequest.add_member(:state, Shapes::ShapeRef.new(shape: SettablePolicyStateValues, required: true, location_name: "State"))
140
- CreateLifecyclePolicyRequest.add_member(:policy_details, Shapes::ShapeRef.new(shape: PolicyDetails, required: true, location_name: "PolicyDetails"))
163
+ CreateLifecyclePolicyRequest.add_member(:policy_details, Shapes::ShapeRef.new(shape: PolicyDetails, location_name: "PolicyDetails"))
141
164
  CreateLifecyclePolicyRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
165
+ CreateLifecyclePolicyRequest.add_member(:default_policy, Shapes::ShapeRef.new(shape: DefaultPolicyTypeValues, location_name: "DefaultPolicy"))
166
+ CreateLifecyclePolicyRequest.add_member(:create_interval, Shapes::ShapeRef.new(shape: CreateInterval, location_name: "CreateInterval"))
167
+ CreateLifecyclePolicyRequest.add_member(:retain_interval, Shapes::ShapeRef.new(shape: RetainInterval, location_name: "RetainInterval"))
168
+ CreateLifecyclePolicyRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags"))
169
+ CreateLifecyclePolicyRequest.add_member(:extend_deletion, Shapes::ShapeRef.new(shape: ExtendDeletion, location_name: "ExtendDeletion"))
170
+ CreateLifecyclePolicyRequest.add_member(:cross_region_copy_targets, Shapes::ShapeRef.new(shape: CrossRegionCopyTargetList, location_name: "CrossRegionCopyTargets"))
171
+ CreateLifecyclePolicyRequest.add_member(:exclusions, Shapes::ShapeRef.new(shape: Exclusions, location_name: "Exclusions"))
142
172
  CreateLifecyclePolicyRequest.struct_class = Types::CreateLifecyclePolicyRequest
143
173
 
144
174
  CreateLifecyclePolicyResponse.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
@@ -149,6 +179,7 @@ module Aws::DLM
149
179
  CreateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: IntervalUnitValues, location_name: "IntervalUnit"))
150
180
  CreateRule.add_member(:times, Shapes::ShapeRef.new(shape: TimesList, location_name: "Times"))
151
181
  CreateRule.add_member(:cron_expression, Shapes::ShapeRef.new(shape: CronExpression, location_name: "CronExpression"))
182
+ CreateRule.add_member(:scripts, Shapes::ShapeRef.new(shape: ScriptsList, location_name: "Scripts"))
152
183
  CreateRule.struct_class = Types::CreateRule
153
184
 
154
185
  CrossRegionCopyAction.add_member(:target, Shapes::ShapeRef.new(shape: Target, required: true, location_name: "Target"))
@@ -177,6 +208,11 @@ module Aws::DLM
177
208
 
178
209
  CrossRegionCopyRules.member = Shapes::ShapeRef.new(shape: CrossRegionCopyRule)
179
210
 
211
+ CrossRegionCopyTarget.add_member(:target_region, Shapes::ShapeRef.new(shape: TargetRegion, location_name: "TargetRegion"))
212
+ CrossRegionCopyTarget.struct_class = Types::CrossRegionCopyTarget
213
+
214
+ CrossRegionCopyTargetList.member = Shapes::ShapeRef.new(shape: CrossRegionCopyTarget)
215
+
180
216
  DeleteLifecyclePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location: "uri", location_name: "policyId"))
181
217
  DeleteLifecyclePolicyRequest.struct_class = Types::DeleteLifecyclePolicyRequest
182
218
 
@@ -202,6 +238,15 @@ module Aws::DLM
202
238
 
203
239
  ExcludeDataVolumeTagList.member = Shapes::ShapeRef.new(shape: Tag)
204
240
 
241
+ ExcludeTagsList.member = Shapes::ShapeRef.new(shape: Tag)
242
+
243
+ ExcludeVolumeTypesList.member = Shapes::ShapeRef.new(shape: VolumeTypeValues)
244
+
245
+ Exclusions.add_member(:exclude_boot_volumes, Shapes::ShapeRef.new(shape: ExcludeBootVolumes, location_name: "ExcludeBootVolumes"))
246
+ Exclusions.add_member(:exclude_volume_types, Shapes::ShapeRef.new(shape: ExcludeVolumeTypesList, location_name: "ExcludeVolumeTypes"))
247
+ Exclusions.add_member(:exclude_tags, Shapes::ShapeRef.new(shape: ExcludeTagsList, location_name: "ExcludeTags"))
248
+ Exclusions.struct_class = Types::Exclusions
249
+
205
250
  FastRestoreRule.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "Count"))
206
251
  FastRestoreRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
207
252
  FastRestoreRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit"))
@@ -213,6 +258,7 @@ module Aws::DLM
213
258
  GetLifecyclePoliciesRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeValuesList, location: "querystring", location_name: "resourceTypes"))
214
259
  GetLifecyclePoliciesRequest.add_member(:target_tags, Shapes::ShapeRef.new(shape: TargetTagsFilterList, location: "querystring", location_name: "targetTags"))
215
260
  GetLifecyclePoliciesRequest.add_member(:tags_to_add, Shapes::ShapeRef.new(shape: TagsToAddFilterList, location: "querystring", location_name: "tagsToAdd"))
261
+ GetLifecyclePoliciesRequest.add_member(:default_policy_type, Shapes::ShapeRef.new(shape: DefaultPoliciesTypeValues, location: "querystring", location_name: "defaultPolicyType"))
216
262
  GetLifecyclePoliciesRequest.struct_class = Types::GetLifecyclePoliciesRequest
217
263
 
218
264
  GetLifecyclePoliciesResponse.add_member(:policies, Shapes::ShapeRef.new(shape: LifecyclePolicySummaryList, location_name: "Policies"))
@@ -244,6 +290,7 @@ module Aws::DLM
244
290
  LifecyclePolicy.add_member(:policy_details, Shapes::ShapeRef.new(shape: PolicyDetails, location_name: "PolicyDetails"))
245
291
  LifecyclePolicy.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
246
292
  LifecyclePolicy.add_member(:policy_arn, Shapes::ShapeRef.new(shape: PolicyArn, location_name: "PolicyArn"))
293
+ LifecyclePolicy.add_member(:default_policy, Shapes::ShapeRef.new(shape: DefaultPolicy, location_name: "DefaultPolicy"))
247
294
  LifecyclePolicy.struct_class = Types::LifecyclePolicy
248
295
 
249
296
  LifecyclePolicySummary.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
@@ -251,6 +298,7 @@ module Aws::DLM
251
298
  LifecyclePolicySummary.add_member(:state, Shapes::ShapeRef.new(shape: GettablePolicyStateValues, location_name: "State"))
252
299
  LifecyclePolicySummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
253
300
  LifecyclePolicySummary.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyTypeValues, location_name: "PolicyType"))
301
+ LifecyclePolicySummary.add_member(:default_policy, Shapes::ShapeRef.new(shape: DefaultPolicy, location_name: "DefaultPolicy"))
254
302
  LifecyclePolicySummary.struct_class = Types::LifecyclePolicySummary
255
303
 
256
304
  LifecyclePolicySummaryList.member = Shapes::ShapeRef.new(shape: LifecyclePolicySummary)
@@ -281,6 +329,14 @@ module Aws::DLM
281
329
  PolicyDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters"))
282
330
  PolicyDetails.add_member(:event_source, Shapes::ShapeRef.new(shape: EventSource, location_name: "EventSource"))
283
331
  PolicyDetails.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "Actions"))
332
+ PolicyDetails.add_member(:policy_language, Shapes::ShapeRef.new(shape: PolicyLanguageValues, location_name: "PolicyLanguage"))
333
+ PolicyDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceTypeValues, location_name: "ResourceType"))
334
+ PolicyDetails.add_member(:create_interval, Shapes::ShapeRef.new(shape: CreateInterval, location_name: "CreateInterval"))
335
+ PolicyDetails.add_member(:retain_interval, Shapes::ShapeRef.new(shape: RetainInterval, location_name: "RetainInterval"))
336
+ PolicyDetails.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags"))
337
+ PolicyDetails.add_member(:cross_region_copy_targets, Shapes::ShapeRef.new(shape: CrossRegionCopyTargetList, location_name: "CrossRegionCopyTargets"))
338
+ PolicyDetails.add_member(:extend_deletion, Shapes::ShapeRef.new(shape: ExtendDeletion, location_name: "ExtendDeletion"))
339
+ PolicyDetails.add_member(:exclusions, Shapes::ShapeRef.new(shape: Exclusions, location_name: "Exclusions"))
284
340
  PolicyDetails.struct_class = Types::PolicyDetails
285
341
 
286
342
  PolicyIdList.member = Shapes::ShapeRef.new(shape: PolicyId)
@@ -320,6 +376,16 @@ module Aws::DLM
320
376
 
321
377
  ScheduleList.member = Shapes::ShapeRef.new(shape: Schedule)
322
378
 
379
+ Script.add_member(:stages, Shapes::ShapeRef.new(shape: StagesList, location_name: "Stages"))
380
+ Script.add_member(:execution_handler_service, Shapes::ShapeRef.new(shape: ExecutionHandlerServiceValues, location_name: "ExecutionHandlerService"))
381
+ Script.add_member(:execution_handler, Shapes::ShapeRef.new(shape: ExecutionHandler, required: true, location_name: "ExecutionHandler"))
382
+ Script.add_member(:execute_operation_on_script_failure, Shapes::ShapeRef.new(shape: ExecuteOperationOnScriptFailure, location_name: "ExecuteOperationOnScriptFailure"))
383
+ Script.add_member(:execution_timeout, Shapes::ShapeRef.new(shape: ScriptExecutionTimeout, location_name: "ExecutionTimeout"))
384
+ Script.add_member(:maximum_retry_count, Shapes::ShapeRef.new(shape: ScriptMaximumRetryCount, location_name: "MaximumRetryCount"))
385
+ Script.struct_class = Types::Script
386
+
387
+ ScriptsList.member = Shapes::ShapeRef.new(shape: Script)
388
+
323
389
  ShareRule.add_member(:target_accounts, Shapes::ShapeRef.new(shape: ShareTargetAccountList, required: true, location_name: "TargetAccounts"))
324
390
  ShareRule.add_member(:unshare_interval, Shapes::ShapeRef.new(shape: Interval, location_name: "UnshareInterval"))
325
391
  ShareRule.add_member(:unshare_interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "UnshareIntervalUnit"))
@@ -331,6 +397,8 @@ module Aws::DLM
331
397
 
332
398
  SnapshotOwnerList.member = Shapes::ShapeRef.new(shape: AwsAccountId)
333
399
 
400
+ StagesList.member = Shapes::ShapeRef.new(shape: StageValues)
401
+
334
402
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Key"))
335
403
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
336
404
  Tag.struct_class = Types::Tag
@@ -367,6 +435,12 @@ module Aws::DLM
367
435
  UpdateLifecyclePolicyRequest.add_member(:state, Shapes::ShapeRef.new(shape: SettablePolicyStateValues, location_name: "State"))
368
436
  UpdateLifecyclePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description"))
369
437
  UpdateLifecyclePolicyRequest.add_member(:policy_details, Shapes::ShapeRef.new(shape: PolicyDetails, location_name: "PolicyDetails"))
438
+ UpdateLifecyclePolicyRequest.add_member(:create_interval, Shapes::ShapeRef.new(shape: CreateInterval, location_name: "CreateInterval"))
439
+ UpdateLifecyclePolicyRequest.add_member(:retain_interval, Shapes::ShapeRef.new(shape: RetainInterval, location_name: "RetainInterval"))
440
+ UpdateLifecyclePolicyRequest.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags"))
441
+ UpdateLifecyclePolicyRequest.add_member(:extend_deletion, Shapes::ShapeRef.new(shape: ExtendDeletion, location_name: "ExtendDeletion"))
442
+ UpdateLifecyclePolicyRequest.add_member(:cross_region_copy_targets, Shapes::ShapeRef.new(shape: CrossRegionCopyTargetList, location_name: "CrossRegionCopyTargets"))
443
+ UpdateLifecyclePolicyRequest.add_member(:exclusions, Shapes::ShapeRef.new(shape: Exclusions, location_name: "Exclusions"))
370
444
  UpdateLifecyclePolicyRequest.struct_class = Types::UpdateLifecyclePolicyRequest
371
445
 
372
446
  UpdateLifecyclePolicyResponse.struct_class = Types::UpdateLifecyclePolicyResponse
@@ -406,7 +480,7 @@ module Aws::DLM
406
480
  api.add_operation(:delete_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
407
481
  o.name = "DeleteLifecyclePolicy"
408
482
  o.http_method = "DELETE"
409
- o.http_request_uri = "/policies/{policyId}/"
483
+ o.http_request_uri = "/policies/{policyId}"
410
484
  o.input = Shapes::ShapeRef.new(shape: DeleteLifecyclePolicyRequest)
411
485
  o.output = Shapes::ShapeRef.new(shape: DeleteLifecyclePolicyResponse)
412
486
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
@@ -429,7 +503,7 @@ module Aws::DLM
429
503
  api.add_operation(:get_lifecycle_policy, Seahorse::Model::Operation.new.tap do |o|
430
504
  o.name = "GetLifecyclePolicy"
431
505
  o.http_method = "GET"
432
- o.http_request_uri = "/policies/{policyId}/"
506
+ o.http_request_uri = "/policies/{policyId}"
433
507
  o.input = Shapes::ShapeRef.new(shape: GetLifecyclePolicyRequest)
434
508
  o.output = Shapes::ShapeRef.new(shape: GetLifecyclePolicyResponse)
435
509
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
@@ -32,8 +32,8 @@ module Aws::DLM
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://dlm.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://dlm-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})