aws-sdk-backup 1.80.0 → 1.82.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.
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::Backup::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,193 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :cancel_legal_hold
74
- Aws::Backup::Endpoints::CancelLegalHold.build(context)
75
- when :create_backup_plan
76
- Aws::Backup::Endpoints::CreateBackupPlan.build(context)
77
- when :create_backup_selection
78
- Aws::Backup::Endpoints::CreateBackupSelection.build(context)
79
- when :create_backup_vault
80
- Aws::Backup::Endpoints::CreateBackupVault.build(context)
81
- when :create_framework
82
- Aws::Backup::Endpoints::CreateFramework.build(context)
83
- when :create_legal_hold
84
- Aws::Backup::Endpoints::CreateLegalHold.build(context)
85
- when :create_logically_air_gapped_backup_vault
86
- Aws::Backup::Endpoints::CreateLogicallyAirGappedBackupVault.build(context)
87
- when :create_report_plan
88
- Aws::Backup::Endpoints::CreateReportPlan.build(context)
89
- when :create_restore_testing_plan
90
- Aws::Backup::Endpoints::CreateRestoreTestingPlan.build(context)
91
- when :create_restore_testing_selection
92
- Aws::Backup::Endpoints::CreateRestoreTestingSelection.build(context)
93
- when :delete_backup_plan
94
- Aws::Backup::Endpoints::DeleteBackupPlan.build(context)
95
- when :delete_backup_selection
96
- Aws::Backup::Endpoints::DeleteBackupSelection.build(context)
97
- when :delete_backup_vault
98
- Aws::Backup::Endpoints::DeleteBackupVault.build(context)
99
- when :delete_backup_vault_access_policy
100
- Aws::Backup::Endpoints::DeleteBackupVaultAccessPolicy.build(context)
101
- when :delete_backup_vault_lock_configuration
102
- Aws::Backup::Endpoints::DeleteBackupVaultLockConfiguration.build(context)
103
- when :delete_backup_vault_notifications
104
- Aws::Backup::Endpoints::DeleteBackupVaultNotifications.build(context)
105
- when :delete_framework
106
- Aws::Backup::Endpoints::DeleteFramework.build(context)
107
- when :delete_recovery_point
108
- Aws::Backup::Endpoints::DeleteRecoveryPoint.build(context)
109
- when :delete_report_plan
110
- Aws::Backup::Endpoints::DeleteReportPlan.build(context)
111
- when :delete_restore_testing_plan
112
- Aws::Backup::Endpoints::DeleteRestoreTestingPlan.build(context)
113
- when :delete_restore_testing_selection
114
- Aws::Backup::Endpoints::DeleteRestoreTestingSelection.build(context)
115
- when :describe_backup_job
116
- Aws::Backup::Endpoints::DescribeBackupJob.build(context)
117
- when :describe_backup_vault
118
- Aws::Backup::Endpoints::DescribeBackupVault.build(context)
119
- when :describe_copy_job
120
- Aws::Backup::Endpoints::DescribeCopyJob.build(context)
121
- when :describe_framework
122
- Aws::Backup::Endpoints::DescribeFramework.build(context)
123
- when :describe_global_settings
124
- Aws::Backup::Endpoints::DescribeGlobalSettings.build(context)
125
- when :describe_protected_resource
126
- Aws::Backup::Endpoints::DescribeProtectedResource.build(context)
127
- when :describe_recovery_point
128
- Aws::Backup::Endpoints::DescribeRecoveryPoint.build(context)
129
- when :describe_region_settings
130
- Aws::Backup::Endpoints::DescribeRegionSettings.build(context)
131
- when :describe_report_job
132
- Aws::Backup::Endpoints::DescribeReportJob.build(context)
133
- when :describe_report_plan
134
- Aws::Backup::Endpoints::DescribeReportPlan.build(context)
135
- when :describe_restore_job
136
- Aws::Backup::Endpoints::DescribeRestoreJob.build(context)
137
- when :disassociate_recovery_point
138
- Aws::Backup::Endpoints::DisassociateRecoveryPoint.build(context)
139
- when :disassociate_recovery_point_from_parent
140
- Aws::Backup::Endpoints::DisassociateRecoveryPointFromParent.build(context)
141
- when :export_backup_plan_template
142
- Aws::Backup::Endpoints::ExportBackupPlanTemplate.build(context)
143
- when :get_backup_plan
144
- Aws::Backup::Endpoints::GetBackupPlan.build(context)
145
- when :get_backup_plan_from_json
146
- Aws::Backup::Endpoints::GetBackupPlanFromJSON.build(context)
147
- when :get_backup_plan_from_template
148
- Aws::Backup::Endpoints::GetBackupPlanFromTemplate.build(context)
149
- when :get_backup_selection
150
- Aws::Backup::Endpoints::GetBackupSelection.build(context)
151
- when :get_backup_vault_access_policy
152
- Aws::Backup::Endpoints::GetBackupVaultAccessPolicy.build(context)
153
- when :get_backup_vault_notifications
154
- Aws::Backup::Endpoints::GetBackupVaultNotifications.build(context)
155
- when :get_legal_hold
156
- Aws::Backup::Endpoints::GetLegalHold.build(context)
157
- when :get_recovery_point_restore_metadata
158
- Aws::Backup::Endpoints::GetRecoveryPointRestoreMetadata.build(context)
159
- when :get_restore_job_metadata
160
- Aws::Backup::Endpoints::GetRestoreJobMetadata.build(context)
161
- when :get_restore_testing_inferred_metadata
162
- Aws::Backup::Endpoints::GetRestoreTestingInferredMetadata.build(context)
163
- when :get_restore_testing_plan
164
- Aws::Backup::Endpoints::GetRestoreTestingPlan.build(context)
165
- when :get_restore_testing_selection
166
- Aws::Backup::Endpoints::GetRestoreTestingSelection.build(context)
167
- when :get_supported_resource_types
168
- Aws::Backup::Endpoints::GetSupportedResourceTypes.build(context)
169
- when :list_backup_job_summaries
170
- Aws::Backup::Endpoints::ListBackupJobSummaries.build(context)
171
- when :list_backup_jobs
172
- Aws::Backup::Endpoints::ListBackupJobs.build(context)
173
- when :list_backup_plan_templates
174
- Aws::Backup::Endpoints::ListBackupPlanTemplates.build(context)
175
- when :list_backup_plan_versions
176
- Aws::Backup::Endpoints::ListBackupPlanVersions.build(context)
177
- when :list_backup_plans
178
- Aws::Backup::Endpoints::ListBackupPlans.build(context)
179
- when :list_backup_selections
180
- Aws::Backup::Endpoints::ListBackupSelections.build(context)
181
- when :list_backup_vaults
182
- Aws::Backup::Endpoints::ListBackupVaults.build(context)
183
- when :list_copy_job_summaries
184
- Aws::Backup::Endpoints::ListCopyJobSummaries.build(context)
185
- when :list_copy_jobs
186
- Aws::Backup::Endpoints::ListCopyJobs.build(context)
187
- when :list_frameworks
188
- Aws::Backup::Endpoints::ListFrameworks.build(context)
189
- when :list_legal_holds
190
- Aws::Backup::Endpoints::ListLegalHolds.build(context)
191
- when :list_protected_resources
192
- Aws::Backup::Endpoints::ListProtectedResources.build(context)
193
- when :list_protected_resources_by_backup_vault
194
- Aws::Backup::Endpoints::ListProtectedResourcesByBackupVault.build(context)
195
- when :list_recovery_points_by_backup_vault
196
- Aws::Backup::Endpoints::ListRecoveryPointsByBackupVault.build(context)
197
- when :list_recovery_points_by_legal_hold
198
- Aws::Backup::Endpoints::ListRecoveryPointsByLegalHold.build(context)
199
- when :list_recovery_points_by_resource
200
- Aws::Backup::Endpoints::ListRecoveryPointsByResource.build(context)
201
- when :list_report_jobs
202
- Aws::Backup::Endpoints::ListReportJobs.build(context)
203
- when :list_report_plans
204
- Aws::Backup::Endpoints::ListReportPlans.build(context)
205
- when :list_restore_job_summaries
206
- Aws::Backup::Endpoints::ListRestoreJobSummaries.build(context)
207
- when :list_restore_jobs
208
- Aws::Backup::Endpoints::ListRestoreJobs.build(context)
209
- when :list_restore_jobs_by_protected_resource
210
- Aws::Backup::Endpoints::ListRestoreJobsByProtectedResource.build(context)
211
- when :list_restore_testing_plans
212
- Aws::Backup::Endpoints::ListRestoreTestingPlans.build(context)
213
- when :list_restore_testing_selections
214
- Aws::Backup::Endpoints::ListRestoreTestingSelections.build(context)
215
- when :list_tags
216
- Aws::Backup::Endpoints::ListTags.build(context)
217
- when :put_backup_vault_access_policy
218
- Aws::Backup::Endpoints::PutBackupVaultAccessPolicy.build(context)
219
- when :put_backup_vault_lock_configuration
220
- Aws::Backup::Endpoints::PutBackupVaultLockConfiguration.build(context)
221
- when :put_backup_vault_notifications
222
- Aws::Backup::Endpoints::PutBackupVaultNotifications.build(context)
223
- when :put_restore_validation_result
224
- Aws::Backup::Endpoints::PutRestoreValidationResult.build(context)
225
- when :start_backup_job
226
- Aws::Backup::Endpoints::StartBackupJob.build(context)
227
- when :start_copy_job
228
- Aws::Backup::Endpoints::StartCopyJob.build(context)
229
- when :start_report_job
230
- Aws::Backup::Endpoints::StartReportJob.build(context)
231
- when :start_restore_job
232
- Aws::Backup::Endpoints::StartRestoreJob.build(context)
233
- when :stop_backup_job
234
- Aws::Backup::Endpoints::StopBackupJob.build(context)
235
- when :tag_resource
236
- Aws::Backup::Endpoints::TagResource.build(context)
237
- when :untag_resource
238
- Aws::Backup::Endpoints::UntagResource.build(context)
239
- when :update_backup_plan
240
- Aws::Backup::Endpoints::UpdateBackupPlan.build(context)
241
- when :update_framework
242
- Aws::Backup::Endpoints::UpdateFramework.build(context)
243
- when :update_global_settings
244
- Aws::Backup::Endpoints::UpdateGlobalSettings.build(context)
245
- when :update_recovery_point_lifecycle
246
- Aws::Backup::Endpoints::UpdateRecoveryPointLifecycle.build(context)
247
- when :update_region_settings
248
- Aws::Backup::Endpoints::UpdateRegionSettings.build(context)
249
- when :update_report_plan
250
- Aws::Backup::Endpoints::UpdateReportPlan.build(context)
251
- when :update_restore_testing_plan
252
- Aws::Backup::Endpoints::UpdateRestoreTestingPlan.build(context)
253
- when :update_restore_testing_selection
254
- Aws::Backup::Endpoints::UpdateRestoreTestingSelection.build(context)
255
- end
256
- end
257
70
  end
258
71
 
259
72
  def add_handlers(handlers, _config)
@@ -778,8 +778,8 @@ module Aws::Backup
778
778
  #
779
779
  # @!attribute [rw] list_of_tags
780
780
  # The conditions that you define to assign resources to your backup
781
- # plans using tags. For example, `"StringEquals": \{ "ConditionKey":
782
- # "backup", "ConditionValue": "daily"\}`.
781
+ # plans using tags. For example, `"StringEquals": { "ConditionKey":
782
+ # "backup", "ConditionValue": "daily"}`.
783
783
  #
784
784
  # `ListOfTags` supports only `StringEquals`. Condition operators are
785
785
  # case sensitive.
@@ -800,8 +800,8 @@ module Aws::Backup
800
800
  #
801
801
  # @!attribute [rw] conditions
802
802
  # The conditions that you define to assign resources to your backup
803
- # plans using tags. For example, `"StringEquals": \{ "ConditionKey":
804
- # "aws:ResourceTag/backup", "ConditionValue": "daily" \}`.
803
+ # plans using tags. For example, `"StringEquals": { "ConditionKey":
804
+ # "aws:ResourceTag/backup", "ConditionValue": "daily" }`.
805
805
  #
806
806
  # `Conditions` supports `StringEquals`, `StringLike`,
807
807
  # `StringNotEquals`, and `StringNotLike`. Condition operators are case
@@ -1248,7 +1248,7 @@ module Aws::Backup
1248
1248
  # empty string when included in a CloudFormation template).
1249
1249
  #
1250
1250
  # The structure to assign a tag is:
1251
- # `[\{"Key":"string","Value":"string"\}]`.
1251
+ # `[{"Key":"string","Value":"string"}]`.
1252
1252
  # @return [Hash<String,String>]
1253
1253
  #
1254
1254
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ControlScope AWS API Documentation
@@ -4262,8 +4262,7 @@ module Aws::Backup
4262
4262
  #
4263
4263
  # Length Constraints: Minimum length of 1. Maximum length of 128.
4264
4264
  #
4265
- # Pattern:
4266
- # `^(?![aA]\{1\}[wW]\{1\}[sS]\{1\}:)([\p\{L\}\p\{Z\}\p\{N\}_.:/=+\-@]+)$`
4265
+ # Pattern: `^(?![aA]{1}[wW]{1}[sS]{1}:)([\p{L}\p{Z}\p{N}_.:/=+\-@]+)$`
4267
4266
  # @return [String]
4268
4267
  #
4269
4268
  # @!attribute [rw] value
@@ -4271,7 +4270,7 @@ module Aws::Backup
4271
4270
  #
4272
4271
  # Length Constraints: Maximum length of 256.
4273
4272
  #
4274
- # Pattern: `^([\p\{L\}\p\{Z\}\p\{N\}_.:/=+\-@]*)$`
4273
+ # Pattern: `^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$`
4275
4274
  # @return [String]
4276
4275
  #
4277
4276
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/KeyValue AWS API Documentation
@@ -7665,8 +7664,8 @@ module Aws::Backup
7665
7664
  #
7666
7665
  # @!attribute [rw] protected_resource_conditions
7667
7666
  # If you have included the wildcard in ProtectedResourceArns, you can
7668
- # include resource conditions, such as `ProtectedResourceConditions:
7669
- # \{ StringEquals: [\{ key: "XXXX", value: "YYYY" \}]`.
7667
+ # include resource conditions, such as `ProtectedResourceConditions: {
7668
+ # StringEquals: [{ key: "XXXX", value: "YYYY" }]`.
7670
7669
  # @return [Types::ProtectedResourceConditions]
7671
7670
  #
7672
7671
  # @!attribute [rw] protected_resource_type
@@ -8397,7 +8396,7 @@ module Aws::Backup
8397
8396
  # Key-value pairs that are used to help organize your resources. You
8398
8397
  # can assign your own metadata to the resources you create. For
8399
8398
  # clarity, this is the structure to assign tags:
8400
- # `[\{"Key":"string","Value":"string"\}]`.
8399
+ # `[{"Key":"string","Value":"string"}]`.
8401
8400
  # @return [Hash<String,String>]
8402
8401
  #
8403
8402
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TagResourceInput AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::Backup
54
54
  autoload :EndpointProvider, 'aws-sdk-backup/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-backup/endpoints'
56
56
 
57
- GEM_VERSION = '1.80.0'
57
+ GEM_VERSION = '1.82.0'
58
58
 
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.80.0
4
+ version: 1.82.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement