aws-sdk-backup 1.82.0 → 1.83.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cea51e2e4d820735232e5342eec8fd0324a696147ca301ac18b492abe0266cc4
4
- data.tar.gz: 8052dfea0c39a3c2ca7d1f878ff128fd8fa23b65861296d580b3be345c2cf497
3
+ metadata.gz: 58fddb547713b036b9429d581923bcc616ada42b7a0bdddd69660c322c70151a
4
+ data.tar.gz: 508f0b093112cef8f6ef2fd693872394576ea608bf36d5bf73ba0b8b9b5fa028
5
5
  SHA512:
6
- metadata.gz: efca17858d02be7ee8116673008977b10470c63cc931a1426d8bc6cb21c1213094f752f9a6e09ce62983443e1e175479cdd97f5cc35f5ada6f0fec31dc5a0c7f
7
- data.tar.gz: 712636f2075b8612d8ca7d3da04b50819ff0353c17229ce182f19b7b85d5ac000504785f152f5ef4ebf32609c4b1768fe469944f37040049fc08d61712978341
6
+ metadata.gz: ad8a123af03acce1be9bde22221f76b20877c596cc3d9453d2df02d788087628abf1aa8baa5208edf12b8169013ffc8ffe846dd110508760471e0b760cc4c984
7
+ data.tar.gz: ccfa8c8128d4f562f1b1d5c7afeb34165a50135740feb5b144b63923b42931600953311cc11e6f675f6a109f690d19ce9776818d3c688ca7037eb92671acc067
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.83.0 (2024-12-17)
5
+ ------------------
6
+
7
+ * Feature - Add Support for Backup Indexing
8
+
4
9
  1.82.0 (2024-11-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.82.0
1
+ 1.83.0
@@ -541,6 +541,11 @@ module Aws::Backup
541
541
  # ],
542
542
  # enable_continuous_backup: false,
543
543
  # schedule_expression_timezone: "Timezone",
544
+ # index_actions: [
545
+ # {
546
+ # resource_types: ["ResourceType"],
547
+ # },
548
+ # ],
544
549
  # },
545
550
  # ],
546
551
  # advanced_backup_settings: [
@@ -1900,6 +1905,8 @@ module Aws::Backup
1900
1905
  # * {Types::DescribeRecoveryPointOutput#is_parent #is_parent} => Boolean
1901
1906
  # * {Types::DescribeRecoveryPointOutput#resource_name #resource_name} => String
1902
1907
  # * {Types::DescribeRecoveryPointOutput#vault_type #vault_type} => String
1908
+ # * {Types::DescribeRecoveryPointOutput#index_status #index_status} => String
1909
+ # * {Types::DescribeRecoveryPointOutput#index_status_message #index_status_message} => String
1903
1910
  #
1904
1911
  # @example Request syntax with placeholder values
1905
1912
  #
@@ -1941,6 +1948,8 @@ module Aws::Backup
1941
1948
  # resp.is_parent #=> Boolean
1942
1949
  # resp.resource_name #=> String
1943
1950
  # resp.vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
1951
+ # resp.index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
1952
+ # resp.index_status_message #=> String
1944
1953
  #
1945
1954
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPoint AWS API Documentation
1946
1955
  #
@@ -2279,6 +2288,9 @@ module Aws::Backup
2279
2288
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
2280
2289
  # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
2281
2290
  # resp.backup_plan.rules[0].schedule_expression_timezone #=> String
2291
+ # resp.backup_plan.rules[0].index_actions #=> Array
2292
+ # resp.backup_plan.rules[0].index_actions[0].resource_types #=> Array
2293
+ # resp.backup_plan.rules[0].index_actions[0].resource_types[0] #=> String
2282
2294
  # resp.backup_plan.advanced_backup_settings #=> Array
2283
2295
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
2284
2296
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -2341,6 +2353,9 @@ module Aws::Backup
2341
2353
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
2342
2354
  # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
2343
2355
  # resp.backup_plan.rules[0].schedule_expression_timezone #=> String
2356
+ # resp.backup_plan.rules[0].index_actions #=> Array
2357
+ # resp.backup_plan.rules[0].index_actions[0].resource_types #=> Array
2358
+ # resp.backup_plan.rules[0].index_actions[0].resource_types[0] #=> String
2344
2359
  # resp.backup_plan.advanced_backup_settings #=> Array
2345
2360
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
2346
2361
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -2392,6 +2407,9 @@ module Aws::Backup
2392
2407
  # resp.backup_plan_document.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
2393
2408
  # resp.backup_plan_document.rules[0].enable_continuous_backup #=> Boolean
2394
2409
  # resp.backup_plan_document.rules[0].schedule_expression_timezone #=> String
2410
+ # resp.backup_plan_document.rules[0].index_actions #=> Array
2411
+ # resp.backup_plan_document.rules[0].index_actions[0].resource_types #=> Array
2412
+ # resp.backup_plan_document.rules[0].index_actions[0].resource_types[0] #=> String
2395
2413
  # resp.backup_plan_document.advanced_backup_settings #=> Array
2396
2414
  # resp.backup_plan_document.advanced_backup_settings[0].resource_type #=> String
2397
2415
  # resp.backup_plan_document.advanced_backup_settings[0].backup_options #=> Hash
@@ -2593,6 +2611,60 @@ module Aws::Backup
2593
2611
  req.send_request(options)
2594
2612
  end
2595
2613
 
2614
+ # This operation returns the metadata and details specific to the backup
2615
+ # index associated with the specified recovery point.
2616
+ #
2617
+ # @option params [required, String] :backup_vault_name
2618
+ # The name of a logical container where backups are stored. Backup
2619
+ # vaults are identified by names that are unique to the account used to
2620
+ # create them and the Region where they are created.
2621
+ #
2622
+ # Accepted characters include lowercase letters, numbers, and hyphens.
2623
+ #
2624
+ # @option params [required, String] :recovery_point_arn
2625
+ # An ARN that uniquely identifies a recovery point; for example,
2626
+ # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
2627
+ #
2628
+ # @return [Types::GetRecoveryPointIndexDetailsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2629
+ #
2630
+ # * {Types::GetRecoveryPointIndexDetailsOutput#recovery_point_arn #recovery_point_arn} => String
2631
+ # * {Types::GetRecoveryPointIndexDetailsOutput#backup_vault_arn #backup_vault_arn} => String
2632
+ # * {Types::GetRecoveryPointIndexDetailsOutput#source_resource_arn #source_resource_arn} => String
2633
+ # * {Types::GetRecoveryPointIndexDetailsOutput#index_creation_date #index_creation_date} => Time
2634
+ # * {Types::GetRecoveryPointIndexDetailsOutput#index_deletion_date #index_deletion_date} => Time
2635
+ # * {Types::GetRecoveryPointIndexDetailsOutput#index_completion_date #index_completion_date} => Time
2636
+ # * {Types::GetRecoveryPointIndexDetailsOutput#index_status #index_status} => String
2637
+ # * {Types::GetRecoveryPointIndexDetailsOutput#index_status_message #index_status_message} => String
2638
+ # * {Types::GetRecoveryPointIndexDetailsOutput#total_items_indexed #total_items_indexed} => Integer
2639
+ #
2640
+ # @example Request syntax with placeholder values
2641
+ #
2642
+ # resp = client.get_recovery_point_index_details({
2643
+ # backup_vault_name: "BackupVaultName", # required
2644
+ # recovery_point_arn: "ARN", # required
2645
+ # })
2646
+ #
2647
+ # @example Response structure
2648
+ #
2649
+ # resp.recovery_point_arn #=> String
2650
+ # resp.backup_vault_arn #=> String
2651
+ # resp.source_resource_arn #=> String
2652
+ # resp.index_creation_date #=> Time
2653
+ # resp.index_deletion_date #=> Time
2654
+ # resp.index_completion_date #=> Time
2655
+ # resp.index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
2656
+ # resp.index_status_message #=> String
2657
+ # resp.total_items_indexed #=> Integer
2658
+ #
2659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRecoveryPointIndexDetails AWS API Documentation
2660
+ #
2661
+ # @overload get_recovery_point_index_details(params = {})
2662
+ # @param [Hash] params ({})
2663
+ def get_recovery_point_index_details(params = {}, options = {})
2664
+ req = build_request(:get_recovery_point_index_details, params)
2665
+ req.send_request(options)
2666
+ end
2667
+
2596
2668
  # Returns a set of metadata key-value pairs that were used to create the
2597
2669
  # backup.
2598
2670
  #
@@ -3756,6 +3828,95 @@ module Aws::Backup
3756
3828
  req.send_request(options)
3757
3829
  end
3758
3830
 
3831
+ # This operation returns a list of recovery points that have an
3832
+ # associated index, belonging to the specified account.
3833
+ #
3834
+ # Optional parameters you can include are: MaxResults; NextToken;
3835
+ # SourceResourceArns; CreatedBefore; CreatedAfter; and ResourceType.
3836
+ #
3837
+ # @option params [String] :next_token
3838
+ # The next item following a partial list of returned recovery points.
3839
+ #
3840
+ # For example, if a request is made to return `MaxResults` number of
3841
+ # indexed recovery points, `NextToken` allows you to return more items
3842
+ # in your list starting at the location pointed to by the next token.
3843
+ #
3844
+ # @option params [Integer] :max_results
3845
+ # The maximum number of resource list items to be returned.
3846
+ #
3847
+ # @option params [String] :source_resource_arn
3848
+ # A string of the Amazon Resource Name (ARN) that uniquely identifies
3849
+ # the source resource.
3850
+ #
3851
+ # @option params [Time,DateTime,Date,Integer,String] :created_before
3852
+ # Returns only indexed recovery points that were created before the
3853
+ # specified date.
3854
+ #
3855
+ # @option params [Time,DateTime,Date,Integer,String] :created_after
3856
+ # Returns only indexed recovery points that were created after the
3857
+ # specified date.
3858
+ #
3859
+ # @option params [String] :resource_type
3860
+ # Returns a list of indexed recovery points for the specified resource
3861
+ # type(s).
3862
+ #
3863
+ # Accepted values include:
3864
+ #
3865
+ # * `EBS` for Amazon Elastic Block Store
3866
+ #
3867
+ # * `S3` for Amazon Simple Storage Service (Amazon S3)
3868
+ #
3869
+ # @option params [String] :index_status
3870
+ # Include this parameter to filter the returned list by the indicated
3871
+ # statuses.
3872
+ #
3873
+ # Accepted values: `PENDING` \| `ACTIVE` \| `FAILED` \| `DELETING`
3874
+ #
3875
+ # A recovery point with an index that has the status of `ACTIVE` can be
3876
+ # included in a search.
3877
+ #
3878
+ # @return [Types::ListIndexedRecoveryPointsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3879
+ #
3880
+ # * {Types::ListIndexedRecoveryPointsOutput#indexed_recovery_points #indexed_recovery_points} => Array<Types::IndexedRecoveryPoint>
3881
+ # * {Types::ListIndexedRecoveryPointsOutput#next_token #next_token} => String
3882
+ #
3883
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3884
+ #
3885
+ # @example Request syntax with placeholder values
3886
+ #
3887
+ # resp = client.list_indexed_recovery_points({
3888
+ # next_token: "string",
3889
+ # max_results: 1,
3890
+ # source_resource_arn: "ARN",
3891
+ # created_before: Time.now,
3892
+ # created_after: Time.now,
3893
+ # resource_type: "ResourceType",
3894
+ # index_status: "PENDING", # accepts PENDING, ACTIVE, FAILED, DELETING
3895
+ # })
3896
+ #
3897
+ # @example Response structure
3898
+ #
3899
+ # resp.indexed_recovery_points #=> Array
3900
+ # resp.indexed_recovery_points[0].recovery_point_arn #=> String
3901
+ # resp.indexed_recovery_points[0].source_resource_arn #=> String
3902
+ # resp.indexed_recovery_points[0].iam_role_arn #=> String
3903
+ # resp.indexed_recovery_points[0].backup_creation_date #=> Time
3904
+ # resp.indexed_recovery_points[0].resource_type #=> String
3905
+ # resp.indexed_recovery_points[0].index_creation_date #=> Time
3906
+ # resp.indexed_recovery_points[0].index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
3907
+ # resp.indexed_recovery_points[0].index_status_message #=> String
3908
+ # resp.indexed_recovery_points[0].backup_vault_arn #=> String
3909
+ # resp.next_token #=> String
3910
+ #
3911
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListIndexedRecoveryPoints AWS API Documentation
3912
+ #
3913
+ # @overload list_indexed_recovery_points(params = {})
3914
+ # @param [Hash] params ({})
3915
+ def list_indexed_recovery_points(params = {}, options = {})
3916
+ req = build_request(:list_indexed_recovery_points, params)
3917
+ req.send_request(options)
3918
+ end
3919
+
3759
3920
  # This action returns metadata about active and previous legal holds.
3760
3921
  #
3761
3922
  # @option params [String] :next_token
@@ -4041,6 +4202,8 @@ module Aws::Backup
4041
4202
  # resp.recovery_points[0].is_parent #=> Boolean
4042
4203
  # resp.recovery_points[0].resource_name #=> String
4043
4204
  # resp.recovery_points[0].vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
4205
+ # resp.recovery_points[0].index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
4206
+ # resp.recovery_points[0].index_status_message #=> String
4044
4207
  #
4045
4208
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByBackupVault AWS API Documentation
4046
4209
  #
@@ -4166,6 +4329,8 @@ module Aws::Backup
4166
4329
  # resp.recovery_points[0].parent_recovery_point_arn #=> String
4167
4330
  # resp.recovery_points[0].resource_name #=> String
4168
4331
  # resp.recovery_points[0].vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
4332
+ # resp.recovery_points[0].index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
4333
+ # resp.recovery_points[0].index_status_message #=> String
4169
4334
  #
4170
4335
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByResource AWS API Documentation
4171
4336
  #
@@ -5090,6 +5255,23 @@ module Aws::Backup
5090
5255
  # `"WindowsVSS""disabled"` to create a regular backup. The `WindowsVSS`
5091
5256
  # option is not enabled by default.
5092
5257
  #
5258
+ # @option params [String] :index
5259
+ # Include this parameter to enable index creation if your backup job has
5260
+ # a resource type that supports backup indexes.
5261
+ #
5262
+ # Resource types that support backup indexes include:
5263
+ #
5264
+ # * `EBS` for Amazon Elastic Block Store
5265
+ #
5266
+ # * `S3` for Amazon Simple Storage Service (Amazon S3)
5267
+ #
5268
+ # Index can have 1 of 2 possible values, either `ENABLED` or `DISABLED`.
5269
+ #
5270
+ # To create a backup index for an eligible `ACTIVE` recovery point that
5271
+ # does not yet have a backup index, set value to `ENABLED`.
5272
+ #
5273
+ # To delete a backup index, set value to `DISABLED`.
5274
+ #
5093
5275
  # @return [Types::StartBackupJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5094
5276
  #
5095
5277
  # * {Types::StartBackupJobOutput#backup_job_id #backup_job_id} => String
@@ -5117,6 +5299,7 @@ module Aws::Backup
5117
5299
  # backup_options: {
5118
5300
  # "BackupOptionKey" => "BackupOptionValue",
5119
5301
  # },
5302
+ # index: "ENABLED", # accepts ENABLED, DISABLED
5120
5303
  # })
5121
5304
  #
5122
5305
  # @example Response structure
@@ -5567,6 +5750,11 @@ module Aws::Backup
5567
5750
  # ],
5568
5751
  # enable_continuous_backup: false,
5569
5752
  # schedule_expression_timezone: "Timezone",
5753
+ # index_actions: [
5754
+ # {
5755
+ # resource_types: ["ResourceType"],
5756
+ # },
5757
+ # ],
5570
5758
  # },
5571
5759
  # ],
5572
5760
  # advanced_backup_settings: [
@@ -5700,6 +5888,66 @@ module Aws::Backup
5700
5888
  req.send_request(options)
5701
5889
  end
5702
5890
 
5891
+ # This operation updates the settings of a recovery point index.
5892
+ #
5893
+ # Required: BackupVaultName, RecoveryPointArn, and IAMRoleArn
5894
+ #
5895
+ # @option params [required, String] :backup_vault_name
5896
+ # The name of a logical container where backups are stored. Backup
5897
+ # vaults are identified by names that are unique to the account used to
5898
+ # create them and the Region where they are created.
5899
+ #
5900
+ # Accepted characters include lowercase letters, numbers, and hyphens.
5901
+ #
5902
+ # @option params [required, String] :recovery_point_arn
5903
+ # An ARN that uniquely identifies a recovery point; for example,
5904
+ # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
5905
+ #
5906
+ # @option params [String] :iam_role_arn
5907
+ # This specifies the IAM role ARN used for this operation.
5908
+ #
5909
+ # For example, arn:aws:iam::123456789012:role/S3Access
5910
+ #
5911
+ # @option params [required, String] :index
5912
+ # Index can have 1 of 2 possible values, either `ENABLED` or `DISABLED`.
5913
+ #
5914
+ # To create a backup index for an eligible `ACTIVE` recovery point that
5915
+ # does not yet have a backup index, set value to `ENABLED`.
5916
+ #
5917
+ # To delete a backup index, set value to `DISABLED`.
5918
+ #
5919
+ # @return [Types::UpdateRecoveryPointIndexSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5920
+ #
5921
+ # * {Types::UpdateRecoveryPointIndexSettingsOutput#backup_vault_name #backup_vault_name} => String
5922
+ # * {Types::UpdateRecoveryPointIndexSettingsOutput#recovery_point_arn #recovery_point_arn} => String
5923
+ # * {Types::UpdateRecoveryPointIndexSettingsOutput#index_status #index_status} => String
5924
+ # * {Types::UpdateRecoveryPointIndexSettingsOutput#index #index} => String
5925
+ #
5926
+ # @example Request syntax with placeholder values
5927
+ #
5928
+ # resp = client.update_recovery_point_index_settings({
5929
+ # backup_vault_name: "BackupVaultName", # required
5930
+ # recovery_point_arn: "ARN", # required
5931
+ # iam_role_arn: "IAMRoleArn",
5932
+ # index: "ENABLED", # required, accepts ENABLED, DISABLED
5933
+ # })
5934
+ #
5935
+ # @example Response structure
5936
+ #
5937
+ # resp.backup_vault_name #=> String
5938
+ # resp.recovery_point_arn #=> String
5939
+ # resp.index_status #=> String, one of "PENDING", "ACTIVE", "FAILED", "DELETING"
5940
+ # resp.index #=> String, one of "ENABLED", "DISABLED"
5941
+ #
5942
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRecoveryPointIndexSettings AWS API Documentation
5943
+ #
5944
+ # @overload update_recovery_point_index_settings(params = {})
5945
+ # @param [Hash] params ({})
5946
+ def update_recovery_point_index_settings(params = {}, options = {})
5947
+ req = build_request(:update_recovery_point_index_settings, params)
5948
+ req.send_request(options)
5949
+ end
5950
+
5703
5951
  # Sets the transition lifecycle of a recovery point.
5704
5952
  #
5705
5953
  # The lifecycle defines when a protected resource is transitioned to
@@ -6070,7 +6318,7 @@ module Aws::Backup
6070
6318
  tracer: tracer
6071
6319
  )
6072
6320
  context[:gem_name] = 'aws-sdk-backup'
6073
- context[:gem_version] = '1.82.0'
6321
+ context[:gem_version] = '1.83.0'
6074
6322
  Seahorse::Client::Request.new(handlers, context)
6075
6323
  end
6076
6324
 
@@ -158,6 +158,8 @@ module Aws::Backup
158
158
  GetBackupVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetBackupVaultNotificationsOutput')
159
159
  GetLegalHoldInput = Shapes::StructureShape.new(name: 'GetLegalHoldInput')
160
160
  GetLegalHoldOutput = Shapes::StructureShape.new(name: 'GetLegalHoldOutput')
161
+ GetRecoveryPointIndexDetailsInput = Shapes::StructureShape.new(name: 'GetRecoveryPointIndexDetailsInput')
162
+ GetRecoveryPointIndexDetailsOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointIndexDetailsOutput')
161
163
  GetRecoveryPointRestoreMetadataInput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataInput')
162
164
  GetRecoveryPointRestoreMetadataOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataOutput')
163
165
  GetRestoreJobMetadataInput = Shapes::StructureShape.new(name: 'GetRestoreJobMetadataInput')
@@ -174,6 +176,12 @@ module Aws::Backup
174
176
  GlobalSettingsValue = Shapes::StringShape.new(name: 'GlobalSettingsValue')
175
177
  IAMPolicy = Shapes::StringShape.new(name: 'IAMPolicy')
176
178
  IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
179
+ Index = Shapes::StringShape.new(name: 'Index')
180
+ IndexAction = Shapes::StructureShape.new(name: 'IndexAction')
181
+ IndexActions = Shapes::ListShape.new(name: 'IndexActions')
182
+ IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
183
+ IndexedRecoveryPoint = Shapes::StructureShape.new(name: 'IndexedRecoveryPoint')
184
+ IndexedRecoveryPointList = Shapes::ListShape.new(name: 'IndexedRecoveryPointList')
177
185
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
178
186
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
179
187
  InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
@@ -205,6 +213,8 @@ module Aws::Backup
205
213
  ListCopyJobsOutput = Shapes::StructureShape.new(name: 'ListCopyJobsOutput')
206
214
  ListFrameworksInput = Shapes::StructureShape.new(name: 'ListFrameworksInput')
207
215
  ListFrameworksOutput = Shapes::StructureShape.new(name: 'ListFrameworksOutput')
216
+ ListIndexedRecoveryPointsInput = Shapes::StructureShape.new(name: 'ListIndexedRecoveryPointsInput')
217
+ ListIndexedRecoveryPointsOutput = Shapes::StructureShape.new(name: 'ListIndexedRecoveryPointsOutput')
208
218
  ListLegalHoldsInput = Shapes::StructureShape.new(name: 'ListLegalHoldsInput')
209
219
  ListLegalHoldsOutput = Shapes::StructureShape.new(name: 'ListLegalHoldsOutput')
210
220
  ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
@@ -331,6 +341,8 @@ module Aws::Backup
331
341
  UpdateFrameworkInput = Shapes::StructureShape.new(name: 'UpdateFrameworkInput')
332
342
  UpdateFrameworkOutput = Shapes::StructureShape.new(name: 'UpdateFrameworkOutput')
333
343
  UpdateGlobalSettingsInput = Shapes::StructureShape.new(name: 'UpdateGlobalSettingsInput')
344
+ UpdateRecoveryPointIndexSettingsInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointIndexSettingsInput')
345
+ UpdateRecoveryPointIndexSettingsOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointIndexSettingsOutput')
334
346
  UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
335
347
  UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
336
348
  UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
@@ -455,6 +467,7 @@ module Aws::Backup
455
467
  BackupRule.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
456
468
  BackupRule.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
457
469
  BackupRule.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "ScheduleExpressionTimezone"))
470
+ BackupRule.add_member(:index_actions, Shapes::ShapeRef.new(shape: IndexActions, location_name: "IndexActions"))
458
471
  BackupRule.struct_class = Types::BackupRule
459
472
 
460
473
  BackupRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
@@ -467,6 +480,7 @@ module Aws::Backup
467
480
  BackupRuleInput.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
468
481
  BackupRuleInput.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
469
482
  BackupRuleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "ScheduleExpressionTimezone"))
483
+ BackupRuleInput.add_member(:index_actions, Shapes::ShapeRef.new(shape: IndexActions, location_name: "IndexActions"))
470
484
  BackupRuleInput.struct_class = Types::BackupRuleInput
471
485
 
472
486
  BackupRules.member = Shapes::ShapeRef.new(shape: BackupRule)
@@ -880,6 +894,8 @@ module Aws::Backup
880
894
  DescribeRecoveryPointOutput.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
881
895
  DescribeRecoveryPointOutput.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
882
896
  DescribeRecoveryPointOutput.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
897
+ DescribeRecoveryPointOutput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
898
+ DescribeRecoveryPointOutput.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
883
899
  DescribeRecoveryPointOutput.struct_class = Types::DescribeRecoveryPointOutput
884
900
 
885
901
  DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
@@ -1027,6 +1043,21 @@ module Aws::Backup
1027
1043
  GetLegalHoldOutput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
1028
1044
  GetLegalHoldOutput.struct_class = Types::GetLegalHoldOutput
1029
1045
 
1046
+ GetRecoveryPointIndexDetailsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
1047
+ GetRecoveryPointIndexDetailsInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
1048
+ GetRecoveryPointIndexDetailsInput.struct_class = Types::GetRecoveryPointIndexDetailsInput
1049
+
1050
+ GetRecoveryPointIndexDetailsOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
1051
+ GetRecoveryPointIndexDetailsOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
1052
+ GetRecoveryPointIndexDetailsOutput.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceResourceArn"))
1053
+ GetRecoveryPointIndexDetailsOutput.add_member(:index_creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "IndexCreationDate"))
1054
+ GetRecoveryPointIndexDetailsOutput.add_member(:index_deletion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "IndexDeletionDate"))
1055
+ GetRecoveryPointIndexDetailsOutput.add_member(:index_completion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "IndexCompletionDate"))
1056
+ GetRecoveryPointIndexDetailsOutput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
1057
+ GetRecoveryPointIndexDetailsOutput.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
1058
+ GetRecoveryPointIndexDetailsOutput.add_member(:total_items_indexed, Shapes::ShapeRef.new(shape: Long, location_name: "TotalItemsIndexed"))
1059
+ GetRecoveryPointIndexDetailsOutput.struct_class = Types::GetRecoveryPointIndexDetailsOutput
1060
+
1030
1061
  GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
1031
1062
  GetRecoveryPointRestoreMetadataInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
1032
1063
  GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
@@ -1072,6 +1103,24 @@ module Aws::Backup
1072
1103
  GlobalSettings.key = Shapes::ShapeRef.new(shape: GlobalSettingsName)
1073
1104
  GlobalSettings.value = Shapes::ShapeRef.new(shape: GlobalSettingsValue)
1074
1105
 
1106
+ IndexAction.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
1107
+ IndexAction.struct_class = Types::IndexAction
1108
+
1109
+ IndexActions.member = Shapes::ShapeRef.new(shape: IndexAction)
1110
+
1111
+ IndexedRecoveryPoint.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
1112
+ IndexedRecoveryPoint.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceResourceArn"))
1113
+ IndexedRecoveryPoint.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "IamRoleArn"))
1114
+ IndexedRecoveryPoint.add_member(:backup_creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "BackupCreationDate"))
1115
+ IndexedRecoveryPoint.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
1116
+ IndexedRecoveryPoint.add_member(:index_creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "IndexCreationDate"))
1117
+ IndexedRecoveryPoint.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
1118
+ IndexedRecoveryPoint.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
1119
+ IndexedRecoveryPoint.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
1120
+ IndexedRecoveryPoint.struct_class = Types::IndexedRecoveryPoint
1121
+
1122
+ IndexedRecoveryPointList.member = Shapes::ShapeRef.new(shape: IndexedRecoveryPoint)
1123
+
1075
1124
  InvalidParameterValueException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
1076
1125
  InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
1077
1126
  InvalidParameterValueException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
@@ -1237,6 +1286,19 @@ module Aws::Backup
1237
1286
  ListFrameworksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
1238
1287
  ListFrameworksOutput.struct_class = Types::ListFrameworksOutput
1239
1288
 
1289
+ ListIndexedRecoveryPointsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1290
+ ListIndexedRecoveryPointsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1291
+ ListIndexedRecoveryPointsInput.add_member(:source_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "sourceResourceArn"))
1292
+ ListIndexedRecoveryPointsInput.add_member(:created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
1293
+ ListIndexedRecoveryPointsInput.add_member(:created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
1294
+ ListIndexedRecoveryPointsInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
1295
+ ListIndexedRecoveryPointsInput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location: "querystring", location_name: "indexStatus"))
1296
+ ListIndexedRecoveryPointsInput.struct_class = Types::ListIndexedRecoveryPointsInput
1297
+
1298
+ ListIndexedRecoveryPointsOutput.add_member(:indexed_recovery_points, Shapes::ShapeRef.new(shape: IndexedRecoveryPointList, location_name: "IndexedRecoveryPoints"))
1299
+ ListIndexedRecoveryPointsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
1300
+ ListIndexedRecoveryPointsOutput.struct_class = Types::ListIndexedRecoveryPointsOutput
1301
+
1240
1302
  ListLegalHoldsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1241
1303
  ListLegalHoldsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1242
1304
  ListLegalHoldsInput.struct_class = Types::ListLegalHoldsInput
@@ -1453,6 +1515,8 @@ module Aws::Backup
1453
1515
  RecoveryPointByBackupVault.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
1454
1516
  RecoveryPointByBackupVault.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
1455
1517
  RecoveryPointByBackupVault.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
1518
+ RecoveryPointByBackupVault.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
1519
+ RecoveryPointByBackupVault.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
1456
1520
  RecoveryPointByBackupVault.struct_class = Types::RecoveryPointByBackupVault
1457
1521
 
1458
1522
  RecoveryPointByBackupVaultList.member = Shapes::ShapeRef.new(shape: RecoveryPointByBackupVault)
@@ -1468,6 +1532,8 @@ module Aws::Backup
1468
1532
  RecoveryPointByResource.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
1469
1533
  RecoveryPointByResource.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
1470
1534
  RecoveryPointByResource.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
1535
+ RecoveryPointByResource.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
1536
+ RecoveryPointByResource.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
1471
1537
  RecoveryPointByResource.struct_class = Types::RecoveryPointByResource
1472
1538
 
1473
1539
  RecoveryPointByResourceList.member = Shapes::ShapeRef.new(shape: RecoveryPointByResource)
@@ -1692,6 +1758,7 @@ module Aws::Backup
1692
1758
  StartBackupJobInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
1693
1759
  StartBackupJobInput.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
1694
1760
  StartBackupJobInput.add_member(:backup_options, Shapes::ShapeRef.new(shape: BackupOptions, location_name: "BackupOptions"))
1761
+ StartBackupJobInput.add_member(:index, Shapes::ShapeRef.new(shape: Index, location_name: "Index"))
1695
1762
  StartBackupJobInput.struct_class = Types::StartBackupJobInput
1696
1763
 
1697
1764
  StartBackupJobOutput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
@@ -1772,6 +1839,18 @@ module Aws::Backup
1772
1839
  UpdateGlobalSettingsInput.add_member(:global_settings, Shapes::ShapeRef.new(shape: GlobalSettings, location_name: "GlobalSettings"))
1773
1840
  UpdateGlobalSettingsInput.struct_class = Types::UpdateGlobalSettingsInput
1774
1841
 
1842
+ UpdateRecoveryPointIndexSettingsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
1843
+ UpdateRecoveryPointIndexSettingsInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
1844
+ UpdateRecoveryPointIndexSettingsInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
1845
+ UpdateRecoveryPointIndexSettingsInput.add_member(:index, Shapes::ShapeRef.new(shape: Index, required: true, location_name: "Index"))
1846
+ UpdateRecoveryPointIndexSettingsInput.struct_class = Types::UpdateRecoveryPointIndexSettingsInput
1847
+
1848
+ UpdateRecoveryPointIndexSettingsOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
1849
+ UpdateRecoveryPointIndexSettingsOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
1850
+ UpdateRecoveryPointIndexSettingsOutput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
1851
+ UpdateRecoveryPointIndexSettingsOutput.add_member(:index, Shapes::ShapeRef.new(shape: Index, location_name: "Index"))
1852
+ UpdateRecoveryPointIndexSettingsOutput.struct_class = Types::UpdateRecoveryPointIndexSettingsOutput
1853
+
1775
1854
  UpdateRecoveryPointLifecycleInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
1776
1855
  UpdateRecoveryPointLifecycleInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
1777
1856
  UpdateRecoveryPointLifecycleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
@@ -2366,6 +2445,18 @@ module Aws::Backup
2366
2445
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2367
2446
  end)
2368
2447
 
2448
+ api.add_operation(:get_recovery_point_index_details, Seahorse::Model::Operation.new.tap do |o|
2449
+ o.name = "GetRecoveryPointIndexDetails"
2450
+ o.http_method = "GET"
2451
+ o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/index"
2452
+ o.input = Shapes::ShapeRef.new(shape: GetRecoveryPointIndexDetailsInput)
2453
+ o.output = Shapes::ShapeRef.new(shape: GetRecoveryPointIndexDetailsOutput)
2454
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
2455
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2456
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2457
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2458
+ end)
2459
+
2369
2460
  api.add_operation(:get_recovery_point_restore_metadata, Seahorse::Model::Operation.new.tap do |o|
2370
2461
  o.name = "GetRecoveryPointRestoreMetadata"
2371
2462
  o.http_method = "GET"
@@ -2601,6 +2692,23 @@ module Aws::Backup
2601
2692
  )
2602
2693
  end)
2603
2694
 
2695
+ api.add_operation(:list_indexed_recovery_points, Seahorse::Model::Operation.new.tap do |o|
2696
+ o.name = "ListIndexedRecoveryPoints"
2697
+ o.http_method = "GET"
2698
+ o.http_request_uri = "/indexes/recovery-point/"
2699
+ o.input = Shapes::ShapeRef.new(shape: ListIndexedRecoveryPointsInput)
2700
+ o.output = Shapes::ShapeRef.new(shape: ListIndexedRecoveryPointsOutput)
2701
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2702
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2703
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2704
+ o[:pager] = Aws::Pager.new(
2705
+ limit_key: "max_results",
2706
+ tokens: {
2707
+ "next_token" => "next_token"
2708
+ }
2709
+ )
2710
+ end)
2711
+
2604
2712
  api.add_operation(:list_legal_holds, Seahorse::Model::Operation.new.tap do |o|
2605
2713
  o.name = "ListLegalHolds"
2606
2714
  o.http_method = "GET"
@@ -3019,6 +3127,19 @@ module Aws::Backup
3019
3127
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3020
3128
  end)
3021
3129
 
3130
+ api.add_operation(:update_recovery_point_index_settings, Seahorse::Model::Operation.new.tap do |o|
3131
+ o.name = "UpdateRecoveryPointIndexSettings"
3132
+ o.http_method = "POST"
3133
+ o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/index"
3134
+ o.input = Shapes::ShapeRef.new(shape: UpdateRecoveryPointIndexSettingsInput)
3135
+ o.output = Shapes::ShapeRef.new(shape: UpdateRecoveryPointIndexSettingsOutput)
3136
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
3137
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3138
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3139
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3140
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3141
+ end)
3142
+
3022
3143
  api.add_operation(:update_recovery_point_lifecycle, Seahorse::Model::Operation.new.tap do |o|
3023
3144
  o.name = "UpdateRecoveryPointLifecycle"
3024
3145
  o.http_method = "POST"