aws-sdk-docdbelastic 1.25.0 → 1.27.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25526be07c828d63391039e8ef0e384f55711e67c428705a2e08563e25d0c180
4
- data.tar.gz: 8d0804e49746febdecd491715b2324c096b5920bb6b258c7ac0ac40029149ea2
3
+ metadata.gz: 980ea5655bd149b50ed47cf2dc67bfbb1609e04d8d0cd25117ad8e4bfe006353
4
+ data.tar.gz: 234792248eb9bcf66141e57667516ad05b9073b13cc839e5fb41812f6774b11d
5
5
  SHA512:
6
- metadata.gz: 121659f319a596a3dc5bd2387cf8995685748f98856404e88383cf829f0d86eba69f91a7298cf7a49f36d05b1e8e4f56557a22ffc705ebc42315246857244b22
7
- data.tar.gz: b3d71a6d63b20c7488565417fa8654ddc58a22309487a4c9d71d23016884ea35bf1b1b705857fb1c7ea66932ebe91a3915fee135f6b0cc1091e69013b79d6668
6
+ metadata.gz: 83372c5c29d44dae39cce25ad8b8942b51a38596d92e724ab1238b2e5917a1b13bb69f2ff0ad9de253953b69717d44451c7ca7789f06e1e2ba158b7c21af01ac
7
+ data.tar.gz: 12f61b1ee4b292212a9fa77cd08535ad63a9a0934d2cd42d719508faf14ce7a8659233d03157d95a14240b914939822f60d635036eb4d951ccc89cd76e17fdee
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.27.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.26.0 (2024-11-01)
10
+ ------------------
11
+
12
+ * Feature - Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction
13
+
4
14
  1.25.0 (2024-10-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.27.0
@@ -257,11 +257,34 @@ module Aws::DocDBElastic
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -447,6 +470,68 @@ module Aws::DocDBElastic
447
470
 
448
471
  # @!group API Operations
449
472
 
473
+ # The type of pending maintenance action to be applied to the resource.
474
+ #
475
+ # @option params [required, String] :apply_action
476
+ # The pending maintenance action to apply to the resource.
477
+ #
478
+ # Valid actions are:
479
+ #
480
+ # * `ENGINE_UPDATE `
481
+ #
482
+ # * `ENGINE_UPGRADE`
483
+ #
484
+ # * `SECURITY_UPDATE`
485
+ #
486
+ # * `OS_UPDATE`
487
+ #
488
+ # * `MASTER_USER_PASSWORD_UPDATE`
489
+ #
490
+ # @option params [String] :apply_on
491
+ # A specific date to apply the pending maintenance action. Required if
492
+ # opt-in-type is `APPLY_ON`. Format: `yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm`
493
+ #
494
+ # @option params [required, String] :opt_in_type
495
+ # A value that specifies the type of opt-in request, or undoes an opt-in
496
+ # request. An opt-in request of type `IMMEDIATE` can't be undone.
497
+ #
498
+ # @option params [required, String] :resource_arn
499
+ # The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to
500
+ # which the pending maintenance action applies.
501
+ #
502
+ # @return [Types::ApplyPendingMaintenanceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
503
+ #
504
+ # * {Types::ApplyPendingMaintenanceActionOutput#resource_pending_maintenance_action #resource_pending_maintenance_action} => Types::ResourcePendingMaintenanceAction
505
+ #
506
+ # @example Request syntax with placeholder values
507
+ #
508
+ # resp = client.apply_pending_maintenance_action({
509
+ # apply_action: "InputString", # required
510
+ # apply_on: "InputString",
511
+ # opt_in_type: "IMMEDIATE", # required, accepts IMMEDIATE, NEXT_MAINTENANCE, APPLY_ON, UNDO_OPT_IN
512
+ # resource_arn: "InputString", # required
513
+ # })
514
+ #
515
+ # @example Response structure
516
+ #
517
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details #=> Array
518
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].action #=> String
519
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].auto_applied_after_date #=> String
520
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].current_apply_date #=> String
521
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].description #=> String
522
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].forced_apply_date #=> String
523
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].opt_in_status #=> String
524
+ # resp.resource_pending_maintenance_action.resource_arn #=> String
525
+ #
526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ApplyPendingMaintenanceAction AWS API Documentation
527
+ #
528
+ # @overload apply_pending_maintenance_action(params = {})
529
+ # @param [Hash] params ({})
530
+ def apply_pending_maintenance_action(params = {}, options = {})
531
+ req = build_request(:apply_pending_maintenance_action, params)
532
+ req.send_request(options)
533
+ end
534
+
450
535
  # Copies a snapshot of an elastic cluster.
451
536
  #
452
537
  # @option params [Boolean] :copy_tags
@@ -524,7 +609,7 @@ module Aws::DocDBElastic
524
609
  # resp.snapshot.snapshot_creation_time #=> String
525
610
  # resp.snapshot.snapshot_name #=> String
526
611
  # resp.snapshot.snapshot_type #=> String, one of "MANUAL", "AUTOMATED"
527
- # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
612
+ # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
528
613
  # resp.snapshot.subnet_ids #=> Array
529
614
  # resp.snapshot.subnet_ids[0] #=> String
530
615
  # resp.snapshot.vpc_security_group_ids #=> Array
@@ -690,8 +775,8 @@ module Aws::DocDBElastic
690
775
  # resp.cluster.shards #=> Array
691
776
  # resp.cluster.shards[0].create_time #=> String
692
777
  # resp.cluster.shards[0].shard_id #=> String
693
- # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
694
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
778
+ # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
779
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
695
780
  # resp.cluster.subnet_ids #=> Array
696
781
  # resp.cluster.subnet_ids[0] #=> String
697
782
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -742,7 +827,7 @@ module Aws::DocDBElastic
742
827
  # resp.snapshot.snapshot_creation_time #=> String
743
828
  # resp.snapshot.snapshot_name #=> String
744
829
  # resp.snapshot.snapshot_type #=> String, one of "MANUAL", "AUTOMATED"
745
- # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
830
+ # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
746
831
  # resp.snapshot.subnet_ids #=> Array
747
832
  # resp.snapshot.subnet_ids[0] #=> String
748
833
  # resp.snapshot.vpc_security_group_ids #=> Array
@@ -790,8 +875,8 @@ module Aws::DocDBElastic
790
875
  # resp.cluster.shards #=> Array
791
876
  # resp.cluster.shards[0].create_time #=> String
792
877
  # resp.cluster.shards[0].shard_id #=> String
793
- # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
794
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
878
+ # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
879
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
795
880
  # resp.cluster.subnet_ids #=> Array
796
881
  # resp.cluster.subnet_ids[0] #=> String
797
882
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -832,7 +917,7 @@ module Aws::DocDBElastic
832
917
  # resp.snapshot.snapshot_creation_time #=> String
833
918
  # resp.snapshot.snapshot_name #=> String
834
919
  # resp.snapshot.snapshot_type #=> String, one of "MANUAL", "AUTOMATED"
835
- # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
920
+ # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
836
921
  # resp.snapshot.subnet_ids #=> Array
837
922
  # resp.snapshot.subnet_ids[0] #=> String
838
923
  # resp.snapshot.vpc_security_group_ids #=> Array
@@ -880,8 +965,8 @@ module Aws::DocDBElastic
880
965
  # resp.cluster.shards #=> Array
881
966
  # resp.cluster.shards[0].create_time #=> String
882
967
  # resp.cluster.shards[0].shard_id #=> String
883
- # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
884
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
968
+ # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
969
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
885
970
  # resp.cluster.subnet_ids #=> Array
886
971
  # resp.cluster.subnet_ids[0] #=> String
887
972
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -921,7 +1006,7 @@ module Aws::DocDBElastic
921
1006
  # resp.snapshot.snapshot_creation_time #=> String
922
1007
  # resp.snapshot.snapshot_name #=> String
923
1008
  # resp.snapshot.snapshot_type #=> String, one of "MANUAL", "AUTOMATED"
924
- # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1009
+ # resp.snapshot.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
925
1010
  # resp.snapshot.subnet_ids #=> Array
926
1011
  # resp.snapshot.subnet_ids[0] #=> String
927
1012
  # resp.snapshot.vpc_security_group_ids #=> Array
@@ -936,6 +1021,42 @@ module Aws::DocDBElastic
936
1021
  req.send_request(options)
937
1022
  end
938
1023
 
1024
+ # Retrieves all maintenance actions that are pending.
1025
+ #
1026
+ # @option params [required, String] :resource_arn
1027
+ # Retrieves pending maintenance actions for a specific Amazon Resource
1028
+ # Name (ARN).
1029
+ #
1030
+ # @return [Types::GetPendingMaintenanceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1031
+ #
1032
+ # * {Types::GetPendingMaintenanceActionOutput#resource_pending_maintenance_action #resource_pending_maintenance_action} => Types::ResourcePendingMaintenanceAction
1033
+ #
1034
+ # @example Request syntax with placeholder values
1035
+ #
1036
+ # resp = client.get_pending_maintenance_action({
1037
+ # resource_arn: "InputString", # required
1038
+ # })
1039
+ #
1040
+ # @example Response structure
1041
+ #
1042
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details #=> Array
1043
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].action #=> String
1044
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].auto_applied_after_date #=> String
1045
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].current_apply_date #=> String
1046
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].description #=> String
1047
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].forced_apply_date #=> String
1048
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].opt_in_status #=> String
1049
+ # resp.resource_pending_maintenance_action.resource_arn #=> String
1050
+ #
1051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/GetPendingMaintenanceAction AWS API Documentation
1052
+ #
1053
+ # @overload get_pending_maintenance_action(params = {})
1054
+ # @param [Hash] params ({})
1055
+ def get_pending_maintenance_action(params = {}, options = {})
1056
+ req = build_request(:get_pending_maintenance_action, params)
1057
+ req.send_request(options)
1058
+ end
1059
+
939
1060
  # Returns information about snapshots for a specified elastic cluster.
940
1061
  #
941
1062
  # @option params [String] :cluster_arn
@@ -987,7 +1108,7 @@ module Aws::DocDBElastic
987
1108
  # resp.snapshots[0].snapshot_arn #=> String
988
1109
  # resp.snapshots[0].snapshot_creation_time #=> String
989
1110
  # resp.snapshots[0].snapshot_name #=> String
990
- # resp.snapshots[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1111
+ # resp.snapshots[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
991
1112
  #
992
1113
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListClusterSnapshots AWS API Documentation
993
1114
  #
@@ -1032,7 +1153,7 @@ module Aws::DocDBElastic
1032
1153
  # resp.clusters #=> Array
1033
1154
  # resp.clusters[0].cluster_arn #=> String
1034
1155
  # resp.clusters[0].cluster_name #=> String
1035
- # resp.clusters[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1156
+ # resp.clusters[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1036
1157
  # resp.next_token #=> String
1037
1158
  #
1038
1159
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListClusters AWS API Documentation
@@ -1044,6 +1165,55 @@ module Aws::DocDBElastic
1044
1165
  req.send_request(options)
1045
1166
  end
1046
1167
 
1168
+ # Retrieves a list of all maintenance actions that are pending.
1169
+ #
1170
+ # @option params [Integer] :max_results
1171
+ # The maximum number of results to include in the response. If more
1172
+ # records exist than the specified `maxResults` value, a pagination
1173
+ # token (marker) is included in the response so that the remaining
1174
+ # results can be retrieved.
1175
+ #
1176
+ # @option params [String] :next_token
1177
+ # An optional pagination token provided by a previous request. If this
1178
+ # parameter is specified, the response includes only records beyond the
1179
+ # marker, up to the value specified by `maxResults`.
1180
+ #
1181
+ # @return [Types::ListPendingMaintenanceActionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1182
+ #
1183
+ # * {Types::ListPendingMaintenanceActionsOutput#next_token #next_token} => String
1184
+ # * {Types::ListPendingMaintenanceActionsOutput#resource_pending_maintenance_actions #resource_pending_maintenance_actions} => Array<Types::ResourcePendingMaintenanceAction>
1185
+ #
1186
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1187
+ #
1188
+ # @example Request syntax with placeholder values
1189
+ #
1190
+ # resp = client.list_pending_maintenance_actions({
1191
+ # max_results: 1,
1192
+ # next_token: "PaginationToken",
1193
+ # })
1194
+ #
1195
+ # @example Response structure
1196
+ #
1197
+ # resp.next_token #=> String
1198
+ # resp.resource_pending_maintenance_actions #=> Array
1199
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details #=> Array
1200
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].action #=> String
1201
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].auto_applied_after_date #=> String
1202
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].current_apply_date #=> String
1203
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].description #=> String
1204
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].forced_apply_date #=> String
1205
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].opt_in_status #=> String
1206
+ # resp.resource_pending_maintenance_actions[0].resource_arn #=> String
1207
+ #
1208
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListPendingMaintenanceActions AWS API Documentation
1209
+ #
1210
+ # @overload list_pending_maintenance_actions(params = {})
1211
+ # @param [Hash] params ({})
1212
+ def list_pending_maintenance_actions(params = {}, options = {})
1213
+ req = build_request(:list_pending_maintenance_actions, params)
1214
+ req.send_request(options)
1215
+ end
1216
+
1047
1217
  # Lists all tags on a elastic cluster resource
1048
1218
  #
1049
1219
  # @option params [required, String] :resource_arn
@@ -1152,8 +1322,8 @@ module Aws::DocDBElastic
1152
1322
  # resp.cluster.shards #=> Array
1153
1323
  # resp.cluster.shards[0].create_time #=> String
1154
1324
  # resp.cluster.shards[0].shard_id #=> String
1155
- # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1156
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1325
+ # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1326
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1157
1327
  # resp.cluster.subnet_ids #=> Array
1158
1328
  # resp.cluster.subnet_ids[0] #=> String
1159
1329
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -1202,8 +1372,8 @@ module Aws::DocDBElastic
1202
1372
  # resp.cluster.shards #=> Array
1203
1373
  # resp.cluster.shards[0].create_time #=> String
1204
1374
  # resp.cluster.shards[0].shard_id #=> String
1205
- # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1206
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1375
+ # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1376
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1207
1377
  # resp.cluster.subnet_ids #=> Array
1208
1378
  # resp.cluster.subnet_ids[0] #=> String
1209
1379
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -1252,8 +1422,8 @@ module Aws::DocDBElastic
1252
1422
  # resp.cluster.shards #=> Array
1253
1423
  # resp.cluster.shards[0].create_time #=> String
1254
1424
  # resp.cluster.shards[0].shard_id #=> String
1255
- # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1256
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1425
+ # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1426
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1257
1427
  # resp.cluster.subnet_ids #=> Array
1258
1428
  # resp.cluster.subnet_ids[0] #=> String
1259
1429
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -1428,8 +1598,8 @@ module Aws::DocDBElastic
1428
1598
  # resp.cluster.shards #=> Array
1429
1599
  # resp.cluster.shards[0].create_time #=> String
1430
1600
  # resp.cluster.shards[0].shard_id #=> String
1431
- # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1432
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED"
1601
+ # resp.cluster.shards[0].status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1602
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "VPC_ENDPOINT_LIMIT_EXCEEDED", "IP_ADDRESS_LIMIT_EXCEEDED", "INVALID_SECURITY_GROUP_ID", "INVALID_SUBNET_ID", "INACCESSIBLE_ENCRYPTION_CREDS", "INACCESSIBLE_SECRET_ARN", "INACCESSIBLE_VPC_ENDPOINT", "INCOMPATIBLE_NETWORK", "MERGING", "MODIFYING", "SPLITTING", "COPYING", "STARTING", "STOPPING", "STOPPED", "MAINTENANCE", "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE"
1433
1603
  # resp.cluster.subnet_ids #=> Array
1434
1604
  # resp.cluster.subnet_ids[0] #=> String
1435
1605
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -1462,7 +1632,7 @@ module Aws::DocDBElastic
1462
1632
  tracer: tracer
1463
1633
  )
1464
1634
  context[:gem_name] = 'aws-sdk-docdbelastic'
1465
- context[:gem_version] = '1.25.0'
1635
+ context[:gem_version] = '1.27.0'
1466
1636
  Seahorse::Client::Request.new(handlers, context)
1467
1637
  end
1468
1638
 
@@ -15,6 +15,8 @@ module Aws::DocDBElastic
15
15
  include Seahorse::Model
16
16
 
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ ApplyPendingMaintenanceActionInput = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionInput')
19
+ ApplyPendingMaintenanceActionOutput = Shapes::StructureShape.new(name: 'ApplyPendingMaintenanceActionOutput')
18
20
  Arn = Shapes::StringShape.new(name: 'Arn')
19
21
  Auth = Shapes::StringShape.new(name: 'Auth')
20
22
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -41,6 +43,9 @@ module Aws::DocDBElastic
41
43
  GetClusterOutput = Shapes::StructureShape.new(name: 'GetClusterOutput')
42
44
  GetClusterSnapshotInput = Shapes::StructureShape.new(name: 'GetClusterSnapshotInput')
43
45
  GetClusterSnapshotOutput = Shapes::StructureShape.new(name: 'GetClusterSnapshotOutput')
46
+ GetPendingMaintenanceActionInput = Shapes::StructureShape.new(name: 'GetPendingMaintenanceActionInput')
47
+ GetPendingMaintenanceActionOutput = Shapes::StructureShape.new(name: 'GetPendingMaintenanceActionOutput')
48
+ InputString = Shapes::StringShape.new(name: 'InputString')
44
49
  Integer = Shapes::IntegerShape.new(name: 'Integer')
45
50
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
46
51
  ListClusterSnapshotsInput = Shapes::StructureShape.new(name: 'ListClusterSnapshotsInput')
@@ -49,11 +54,19 @@ module Aws::DocDBElastic
49
54
  ListClustersInput = Shapes::StructureShape.new(name: 'ListClustersInput')
50
55
  ListClustersInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListClustersInputMaxResultsInteger')
51
56
  ListClustersOutput = Shapes::StructureShape.new(name: 'ListClustersOutput')
57
+ ListPendingMaintenanceActionsInput = Shapes::StructureShape.new(name: 'ListPendingMaintenanceActionsInput')
58
+ ListPendingMaintenanceActionsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListPendingMaintenanceActionsInputMaxResultsInteger')
59
+ ListPendingMaintenanceActionsOutput = Shapes::StructureShape.new(name: 'ListPendingMaintenanceActionsOutput')
52
60
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
53
61
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
62
+ OptInType = Shapes::StringShape.new(name: 'OptInType')
54
63
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
55
64
  Password = Shapes::StringShape.new(name: 'Password')
65
+ PendingMaintenanceActionDetails = Shapes::StructureShape.new(name: 'PendingMaintenanceActionDetails')
66
+ PendingMaintenanceActionDetailsList = Shapes::ListShape.new(name: 'PendingMaintenanceActionDetailsList')
56
67
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
68
+ ResourcePendingMaintenanceAction = Shapes::StructureShape.new(name: 'ResourcePendingMaintenanceAction')
69
+ ResourcePendingMaintenanceActionList = Shapes::ListShape.new(name: 'ResourcePendingMaintenanceActionList')
57
70
  RestoreClusterFromSnapshotInput = Shapes::StructureShape.new(name: 'RestoreClusterFromSnapshotInput')
58
71
  RestoreClusterFromSnapshotOutput = Shapes::StructureShape.new(name: 'RestoreClusterFromSnapshotOutput')
59
72
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -86,6 +99,15 @@ module Aws::DocDBElastic
86
99
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
87
100
  AccessDeniedException.struct_class = Types::AccessDeniedException
88
101
 
102
+ ApplyPendingMaintenanceActionInput.add_member(:apply_action, Shapes::ShapeRef.new(shape: InputString, required: true, location_name: "applyAction"))
103
+ ApplyPendingMaintenanceActionInput.add_member(:apply_on, Shapes::ShapeRef.new(shape: InputString, location_name: "applyOn"))
104
+ ApplyPendingMaintenanceActionInput.add_member(:opt_in_type, Shapes::ShapeRef.new(shape: OptInType, required: true, location_name: "optInType"))
105
+ ApplyPendingMaintenanceActionInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: InputString, required: true, location_name: "resourceArn"))
106
+ ApplyPendingMaintenanceActionInput.struct_class = Types::ApplyPendingMaintenanceActionInput
107
+
108
+ ApplyPendingMaintenanceActionOutput.add_member(:resource_pending_maintenance_action, Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceAction, required: true, location_name: "resourcePendingMaintenanceAction"))
109
+ ApplyPendingMaintenanceActionOutput.struct_class = Types::ApplyPendingMaintenanceActionOutput
110
+
89
111
  Cluster.add_member(:admin_user_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "adminUserName"))
90
112
  Cluster.add_member(:auth_type, Shapes::ShapeRef.new(shape: Auth, required: true, location_name: "authType"))
91
113
  Cluster.add_member(:backup_retention_period, Shapes::ShapeRef.new(shape: Integer, location_name: "backupRetentionPeriod"))
@@ -201,6 +223,12 @@ module Aws::DocDBElastic
201
223
  GetClusterSnapshotOutput.add_member(:snapshot, Shapes::ShapeRef.new(shape: ClusterSnapshot, required: true, location_name: "snapshot"))
202
224
  GetClusterSnapshotOutput.struct_class = Types::GetClusterSnapshotOutput
203
225
 
226
+ GetPendingMaintenanceActionInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: InputString, required: true, location: "uri", location_name: "resourceArn"))
227
+ GetPendingMaintenanceActionInput.struct_class = Types::GetPendingMaintenanceActionInput
228
+
229
+ GetPendingMaintenanceActionOutput.add_member(:resource_pending_maintenance_action, Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceAction, required: true, location_name: "resourcePendingMaintenanceAction"))
230
+ GetPendingMaintenanceActionOutput.struct_class = Types::GetPendingMaintenanceActionOutput
231
+
204
232
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
205
233
  InternalServerException.struct_class = Types::InternalServerException
206
234
 
@@ -222,17 +250,41 @@ module Aws::DocDBElastic
222
250
  ListClustersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
223
251
  ListClustersOutput.struct_class = Types::ListClustersOutput
224
252
 
253
+ ListPendingMaintenanceActionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPendingMaintenanceActionsInputMaxResultsInteger, location: "querystring", location_name: "maxResults"))
254
+ ListPendingMaintenanceActionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
255
+ ListPendingMaintenanceActionsInput.struct_class = Types::ListPendingMaintenanceActionsInput
256
+
257
+ ListPendingMaintenanceActionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
258
+ ListPendingMaintenanceActionsOutput.add_member(:resource_pending_maintenance_actions, Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceActionList, required: true, location_name: "resourcePendingMaintenanceActions"))
259
+ ListPendingMaintenanceActionsOutput.struct_class = Types::ListPendingMaintenanceActionsOutput
260
+
225
261
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
226
262
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
227
263
 
228
264
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
229
265
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
230
266
 
267
+ PendingMaintenanceActionDetails.add_member(:action, Shapes::ShapeRef.new(shape: String, required: true, location_name: "action"))
268
+ PendingMaintenanceActionDetails.add_member(:auto_applied_after_date, Shapes::ShapeRef.new(shape: String, location_name: "autoAppliedAfterDate"))
269
+ PendingMaintenanceActionDetails.add_member(:current_apply_date, Shapes::ShapeRef.new(shape: String, location_name: "currentApplyDate"))
270
+ PendingMaintenanceActionDetails.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
271
+ PendingMaintenanceActionDetails.add_member(:forced_apply_date, Shapes::ShapeRef.new(shape: String, location_name: "forcedApplyDate"))
272
+ PendingMaintenanceActionDetails.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: String, location_name: "optInStatus"))
273
+ PendingMaintenanceActionDetails.struct_class = Types::PendingMaintenanceActionDetails
274
+
275
+ PendingMaintenanceActionDetailsList.member = Shapes::ShapeRef.new(shape: PendingMaintenanceActionDetails)
276
+
231
277
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
232
278
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
233
279
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
234
280
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
235
281
 
282
+ ResourcePendingMaintenanceAction.add_member(:pending_maintenance_action_details, Shapes::ShapeRef.new(shape: PendingMaintenanceActionDetailsList, location_name: "pendingMaintenanceActionDetails"))
283
+ ResourcePendingMaintenanceAction.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "resourceArn"))
284
+ ResourcePendingMaintenanceAction.struct_class = Types::ResourcePendingMaintenanceAction
285
+
286
+ ResourcePendingMaintenanceActionList.member = Shapes::ShapeRef.new(shape: ResourcePendingMaintenanceAction)
287
+
236
288
  RestoreClusterFromSnapshotInput.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "clusterName"))
237
289
  RestoreClusterFromSnapshotInput.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
238
290
  RestoreClusterFromSnapshotInput.add_member(:shard_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "shardCapacity"))
@@ -327,9 +379,11 @@ module Aws::DocDBElastic
327
379
 
328
380
  api.metadata = {
329
381
  "apiVersion" => "2022-11-28",
382
+ "auth" => ["aws.auth#sigv4"],
330
383
  "endpointPrefix" => "docdb-elastic",
331
384
  "jsonVersion" => "1.1",
332
385
  "protocol" => "rest-json",
386
+ "protocols" => ["rest-json"],
333
387
  "serviceAbbreviation" => "DocDB Elastic",
334
388
  "serviceFullName" => "Amazon DocumentDB Elastic Clusters",
335
389
  "serviceId" => "DocDB Elastic",
@@ -338,6 +392,20 @@ module Aws::DocDBElastic
338
392
  "uid" => "docdb-elastic-2022-11-28",
339
393
  }
340
394
 
395
+ api.add_operation(:apply_pending_maintenance_action, Seahorse::Model::Operation.new.tap do |o|
396
+ o.name = "ApplyPendingMaintenanceAction"
397
+ o.http_method = "POST"
398
+ o.http_request_uri = "/pending-action"
399
+ o.input = Shapes::ShapeRef.new(shape: ApplyPendingMaintenanceActionInput)
400
+ o.output = Shapes::ShapeRef.new(shape: ApplyPendingMaintenanceActionOutput)
401
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
402
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
403
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
404
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
405
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
406
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
407
+ end)
408
+
341
409
  api.add_operation(:copy_cluster_snapshot, Seahorse::Model::Operation.new.tap do |o|
342
410
  o.name = "CopyClusterSnapshot"
343
411
  o.http_method = "POST"
@@ -436,6 +504,20 @@ module Aws::DocDBElastic
436
504
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
437
505
  end)
438
506
 
507
+ api.add_operation(:get_pending_maintenance_action, Seahorse::Model::Operation.new.tap do |o|
508
+ o.name = "GetPendingMaintenanceAction"
509
+ o.http_method = "GET"
510
+ o.http_request_uri = "/pending-action/{resourceArn}"
511
+ o.input = Shapes::ShapeRef.new(shape: GetPendingMaintenanceActionInput)
512
+ o.output = Shapes::ShapeRef.new(shape: GetPendingMaintenanceActionOutput)
513
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
514
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
515
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
516
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
517
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
518
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
519
+ end)
520
+
439
521
  api.add_operation(:list_cluster_snapshots, Seahorse::Model::Operation.new.tap do |o|
440
522
  o.name = "ListClusterSnapshots"
441
523
  o.http_method = "GET"
@@ -472,6 +554,24 @@ module Aws::DocDBElastic
472
554
  )
473
555
  end)
474
556
 
557
+ api.add_operation(:list_pending_maintenance_actions, Seahorse::Model::Operation.new.tap do |o|
558
+ o.name = "ListPendingMaintenanceActions"
559
+ o.http_method = "GET"
560
+ o.http_request_uri = "/pending-actions"
561
+ o.input = Shapes::ShapeRef.new(shape: ListPendingMaintenanceActionsInput)
562
+ o.output = Shapes::ShapeRef.new(shape: ListPendingMaintenanceActionsOutput)
563
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
564
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
565
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
566
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
567
+ o[:pager] = Aws::Pager.new(
568
+ limit_key: "max_results",
569
+ tokens: {
570
+ "next_token" => "next_token"
571
+ }
572
+ )
573
+ end)
574
+
475
575
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
476
576
  o.name = "ListTagsForResource"
477
577
  o.http_method = "GET"
@@ -25,6 +25,62 @@ module Aws::DocDBElastic
25
25
  include Aws::Structure
26
26
  end
27
27
 
28
+ # @!attribute [rw] apply_action
29
+ # The pending maintenance action to apply to the resource.
30
+ #
31
+ # Valid actions are:
32
+ #
33
+ # * `ENGINE_UPDATE `
34
+ #
35
+ # * `ENGINE_UPGRADE`
36
+ #
37
+ # * `SECURITY_UPDATE`
38
+ #
39
+ # * `OS_UPDATE`
40
+ #
41
+ # * `MASTER_USER_PASSWORD_UPDATE`
42
+ # @return [String]
43
+ #
44
+ # @!attribute [rw] apply_on
45
+ # A specific date to apply the pending maintenance action. Required if
46
+ # opt-in-type is `APPLY_ON`. Format: `yyyy/MM/dd HH:mm-yyyy/MM/dd
47
+ # HH:mm`
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] opt_in_type
51
+ # A value that specifies the type of opt-in request, or undoes an
52
+ # opt-in request. An opt-in request of type `IMMEDIATE` can't be
53
+ # undone.
54
+ # @return [String]
55
+ #
56
+ # @!attribute [rw] resource_arn
57
+ # The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to
58
+ # which the pending maintenance action applies.
59
+ # @return [String]
60
+ #
61
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ApplyPendingMaintenanceActionInput AWS API Documentation
62
+ #
63
+ class ApplyPendingMaintenanceActionInput < Struct.new(
64
+ :apply_action,
65
+ :apply_on,
66
+ :opt_in_type,
67
+ :resource_arn)
68
+ SENSITIVE = []
69
+ include Aws::Structure
70
+ end
71
+
72
+ # @!attribute [rw] resource_pending_maintenance_action
73
+ # The output of the pending maintenance action being applied.
74
+ # @return [Types::ResourcePendingMaintenanceAction]
75
+ #
76
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ApplyPendingMaintenanceActionOutput AWS API Documentation
77
+ #
78
+ class ApplyPendingMaintenanceActionOutput < Struct.new(
79
+ :resource_pending_maintenance_action)
80
+ SENSITIVE = []
81
+ include Aws::Structure
82
+ end
83
+
28
84
  # Returns information about a specific elastic cluster.
29
85
  #
30
86
  # @!attribute [rw] admin_user_name
@@ -659,6 +715,32 @@ module Aws::DocDBElastic
659
715
  include Aws::Structure
660
716
  end
661
717
 
718
+ # @!attribute [rw] resource_arn
719
+ # Retrieves pending maintenance actions for a specific Amazon Resource
720
+ # Name (ARN).
721
+ # @return [String]
722
+ #
723
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/GetPendingMaintenanceActionInput AWS API Documentation
724
+ #
725
+ class GetPendingMaintenanceActionInput < Struct.new(
726
+ :resource_arn)
727
+ SENSITIVE = []
728
+ include Aws::Structure
729
+ end
730
+
731
+ # @!attribute [rw] resource_pending_maintenance_action
732
+ # Provides information about a pending maintenance action for a
733
+ # resource.
734
+ # @return [Types::ResourcePendingMaintenanceAction]
735
+ #
736
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/GetPendingMaintenanceActionOutput AWS API Documentation
737
+ #
738
+ class GetPendingMaintenanceActionOutput < Struct.new(
739
+ :resource_pending_maintenance_action)
740
+ SENSITIVE = []
741
+ include Aws::Structure
742
+ end
743
+
662
744
  # There was an internal server error.
663
745
  #
664
746
  # @!attribute [rw] message
@@ -779,6 +861,48 @@ module Aws::DocDBElastic
779
861
  include Aws::Structure
780
862
  end
781
863
 
864
+ # @!attribute [rw] max_results
865
+ # The maximum number of results to include in the response. If more
866
+ # records exist than the specified `maxResults` value, a pagination
867
+ # token (marker) is included in the response so that the remaining
868
+ # results can be retrieved.
869
+ # @return [Integer]
870
+ #
871
+ # @!attribute [rw] next_token
872
+ # An optional pagination token provided by a previous request. If this
873
+ # parameter is specified, the response includes only records beyond
874
+ # the marker, up to the value specified by `maxResults`.
875
+ # @return [String]
876
+ #
877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListPendingMaintenanceActionsInput AWS API Documentation
878
+ #
879
+ class ListPendingMaintenanceActionsInput < Struct.new(
880
+ :max_results,
881
+ :next_token)
882
+ SENSITIVE = []
883
+ include Aws::Structure
884
+ end
885
+
886
+ # @!attribute [rw] next_token
887
+ # An optional pagination token provided by a previous request. If this
888
+ # parameter is displayed, the responses will include only records
889
+ # beyond the marker, up to the value specified by `maxResults`.
890
+ # @return [String]
891
+ #
892
+ # @!attribute [rw] resource_pending_maintenance_actions
893
+ # Provides information about a pending maintenance action for a
894
+ # resource.
895
+ # @return [Array<Types::ResourcePendingMaintenanceAction>]
896
+ #
897
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListPendingMaintenanceActionsOutput AWS API Documentation
898
+ #
899
+ class ListPendingMaintenanceActionsOutput < Struct.new(
900
+ :next_token,
901
+ :resource_pending_maintenance_actions)
902
+ SENSITIVE = []
903
+ include Aws::Structure
904
+ end
905
+
782
906
  # @!attribute [rw] resource_arn
783
907
  # The ARN identifier of the elastic cluster resource.
784
908
  # @return [String]
@@ -803,6 +927,54 @@ module Aws::DocDBElastic
803
927
  include Aws::Structure
804
928
  end
805
929
 
930
+ # Retrieves the details of maintenance actions that are pending.
931
+ #
932
+ # @!attribute [rw] action
933
+ # Displays the specific action of a pending maintenance action.
934
+ # @return [String]
935
+ #
936
+ # @!attribute [rw] auto_applied_after_date
937
+ # Displays the date of the maintenance window when the action is
938
+ # applied. The maintenance action is applied to the resource during
939
+ # its first maintenance window after this date. If this date is
940
+ # specified, any `NEXT_MAINTENANCE` `optInType` requests are ignored.
941
+ # @return [String]
942
+ #
943
+ # @!attribute [rw] current_apply_date
944
+ # Displays the effective date when the pending maintenance action is
945
+ # applied to the resource.
946
+ # @return [String]
947
+ #
948
+ # @!attribute [rw] description
949
+ # Displays a description providing more detail about the maintenance
950
+ # action.
951
+ # @return [String]
952
+ #
953
+ # @!attribute [rw] forced_apply_date
954
+ # Displays the date when the maintenance action is automatically
955
+ # applied. The maintenance action is applied to the resource on this
956
+ # date regardless of the maintenance window for the resource. If this
957
+ # date is specified, any `IMMEDIATE` `optInType` requests are ignored.
958
+ # @return [String]
959
+ #
960
+ # @!attribute [rw] opt_in_status
961
+ # Displays the type of `optInType` request that has been received for
962
+ # the resource.
963
+ # @return [String]
964
+ #
965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/PendingMaintenanceActionDetails AWS API Documentation
966
+ #
967
+ class PendingMaintenanceActionDetails < Struct.new(
968
+ :action,
969
+ :auto_applied_after_date,
970
+ :current_apply_date,
971
+ :description,
972
+ :forced_apply_date,
973
+ :opt_in_status)
974
+ SENSITIVE = []
975
+ include Aws::Structure
976
+ end
977
+
806
978
  # The specified resource could not be located.
807
979
  #
808
980
  # @!attribute [rw] message
@@ -827,6 +999,28 @@ module Aws::DocDBElastic
827
999
  include Aws::Structure
828
1000
  end
829
1001
 
1002
+ # Provides information about a pending maintenance action for a
1003
+ # resource.
1004
+ #
1005
+ # @!attribute [rw] pending_maintenance_action_details
1006
+ # Provides information about a pending maintenance action for a
1007
+ # resource.
1008
+ # @return [Array<Types::PendingMaintenanceActionDetails>]
1009
+ #
1010
+ # @!attribute [rw] resource_arn
1011
+ # The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to
1012
+ # which the pending maintenance action applies.
1013
+ # @return [String]
1014
+ #
1015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ResourcePendingMaintenanceAction AWS API Documentation
1016
+ #
1017
+ class ResourcePendingMaintenanceAction < Struct.new(
1018
+ :pending_maintenance_action_details,
1019
+ :resource_arn)
1020
+ SENSITIVE = []
1021
+ include Aws::Structure
1022
+ end
1023
+
830
1024
  # @!attribute [rw] cluster_name
831
1025
  # The name of the elastic cluster.
832
1026
  # @return [String]
@@ -23,7 +23,7 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:docdbelastic)
23
23
  # structure.
24
24
  #
25
25
  # doc_db_elastic = Aws::DocDBElastic::Client.new
26
- # resp = doc_db_elastic.copy_cluster_snapshot(params)
26
+ # resp = doc_db_elastic.apply_pending_maintenance_action(params)
27
27
  #
28
28
  # See {Client} for more information.
29
29
  #
@@ -54,7 +54,7 @@ module Aws::DocDBElastic
54
54
  autoload :EndpointProvider, 'aws-sdk-docdbelastic/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-docdbelastic/endpoints'
56
56
 
57
- GEM_VERSION = '1.25.0'
57
+ GEM_VERSION = '1.27.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -75,6 +77,19 @@ module Aws
75
77
  | (?Hash[Symbol, untyped]) -> instance
76
78
 
77
79
 
80
+ interface _ApplyPendingMaintenanceActionResponseSuccess
81
+ include ::Seahorse::Client::_ResponseSuccess[Types::ApplyPendingMaintenanceActionOutput]
82
+ def resource_pending_maintenance_action: () -> Types::ResourcePendingMaintenanceAction
83
+ end
84
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#apply_pending_maintenance_action-instance_method
85
+ def apply_pending_maintenance_action: (
86
+ apply_action: ::String,
87
+ ?apply_on: ::String,
88
+ opt_in_type: ("IMMEDIATE" | "NEXT_MAINTENANCE" | "APPLY_ON" | "UNDO_OPT_IN"),
89
+ resource_arn: ::String
90
+ ) -> _ApplyPendingMaintenanceActionResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ApplyPendingMaintenanceActionResponseSuccess
92
+
78
93
  interface _CopyClusterSnapshotResponseSuccess
79
94
  include ::Seahorse::Client::_ResponseSuccess[Types::CopyClusterSnapshotOutput]
80
95
  def snapshot: () -> Types::ClusterSnapshot
@@ -165,6 +180,16 @@ module Aws
165
180
  ) -> _GetClusterSnapshotResponseSuccess
166
181
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClusterSnapshotResponseSuccess
167
182
 
183
+ interface _GetPendingMaintenanceActionResponseSuccess
184
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPendingMaintenanceActionOutput]
185
+ def resource_pending_maintenance_action: () -> Types::ResourcePendingMaintenanceAction
186
+ end
187
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#get_pending_maintenance_action-instance_method
188
+ def get_pending_maintenance_action: (
189
+ resource_arn: ::String
190
+ ) -> _GetPendingMaintenanceActionResponseSuccess
191
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPendingMaintenanceActionResponseSuccess
192
+
168
193
  interface _ListClusterSnapshotsResponseSuccess
169
194
  include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterSnapshotsOutput]
170
195
  def next_token: () -> ::String
@@ -191,6 +216,18 @@ module Aws
191
216
  ) -> _ListClustersResponseSuccess
192
217
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClustersResponseSuccess
193
218
 
219
+ interface _ListPendingMaintenanceActionsResponseSuccess
220
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPendingMaintenanceActionsOutput]
221
+ def next_token: () -> ::String
222
+ def resource_pending_maintenance_actions: () -> ::Array[Types::ResourcePendingMaintenanceAction]
223
+ end
224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#list_pending_maintenance_actions-instance_method
225
+ def list_pending_maintenance_actions: (
226
+ ?max_results: ::Integer,
227
+ ?next_token: ::String
228
+ ) -> _ListPendingMaintenanceActionsResponseSuccess
229
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPendingMaintenanceActionsResponseSuccess
230
+
194
231
  interface _ListTagsForResourceResponseSuccess
195
232
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
196
233
  def tags: () -> ::Hash[::String, ::String]
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -13,6 +13,19 @@ module Aws::DocDBElastic
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class ApplyPendingMaintenanceActionInput
17
+ attr_accessor apply_action: ::String
18
+ attr_accessor apply_on: ::String
19
+ attr_accessor opt_in_type: ("IMMEDIATE" | "NEXT_MAINTENANCE" | "APPLY_ON" | "UNDO_OPT_IN")
20
+ attr_accessor resource_arn: ::String
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class ApplyPendingMaintenanceActionOutput
25
+ attr_accessor resource_pending_maintenance_action: Types::ResourcePendingMaintenanceAction
26
+ SENSITIVE: []
27
+ end
28
+
16
29
  class Cluster
17
30
  attr_accessor admin_user_name: ::String
18
31
  attr_accessor auth_type: ("PLAIN_TEXT" | "SECRET_ARN")
@@ -28,7 +41,7 @@ module Aws::DocDBElastic
28
41
  attr_accessor shard_count: ::Integer
29
42
  attr_accessor shard_instance_count: ::Integer
30
43
  attr_accessor shards: ::Array[Types::Shard]
31
- attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
44
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE")
32
45
  attr_accessor subnet_ids: ::Array[::String]
33
46
  attr_accessor vpc_security_group_ids: ::Array[::String]
34
47
  SENSITIVE: []
@@ -37,7 +50,7 @@ module Aws::DocDBElastic
37
50
  class ClusterInList
38
51
  attr_accessor cluster_arn: ::String
39
52
  attr_accessor cluster_name: ::String
40
- attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
53
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE")
41
54
  SENSITIVE: []
42
55
  end
43
56
 
@@ -50,7 +63,7 @@ module Aws::DocDBElastic
50
63
  attr_accessor snapshot_creation_time: ::String
51
64
  attr_accessor snapshot_name: ::String
52
65
  attr_accessor snapshot_type: ("MANUAL" | "AUTOMATED")
53
- attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
66
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE")
54
67
  attr_accessor subnet_ids: ::Array[::String]
55
68
  attr_accessor vpc_security_group_ids: ::Array[::String]
56
69
  SENSITIVE: []
@@ -61,7 +74,7 @@ module Aws::DocDBElastic
61
74
  attr_accessor snapshot_arn: ::String
62
75
  attr_accessor snapshot_creation_time: ::String
63
76
  attr_accessor snapshot_name: ::String
64
- attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
77
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE")
65
78
  SENSITIVE: []
66
79
  end
67
80
 
@@ -162,6 +175,16 @@ module Aws::DocDBElastic
162
175
  SENSITIVE: []
163
176
  end
164
177
 
178
+ class GetPendingMaintenanceActionInput
179
+ attr_accessor resource_arn: ::String
180
+ SENSITIVE: []
181
+ end
182
+
183
+ class GetPendingMaintenanceActionOutput
184
+ attr_accessor resource_pending_maintenance_action: Types::ResourcePendingMaintenanceAction
185
+ SENSITIVE: []
186
+ end
187
+
165
188
  class InternalServerException
166
189
  attr_accessor message: ::String
167
190
  SENSITIVE: []
@@ -193,6 +216,18 @@ module Aws::DocDBElastic
193
216
  SENSITIVE: []
194
217
  end
195
218
 
219
+ class ListPendingMaintenanceActionsInput
220
+ attr_accessor max_results: ::Integer
221
+ attr_accessor next_token: ::String
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class ListPendingMaintenanceActionsOutput
226
+ attr_accessor next_token: ::String
227
+ attr_accessor resource_pending_maintenance_actions: ::Array[Types::ResourcePendingMaintenanceAction]
228
+ SENSITIVE: []
229
+ end
230
+
196
231
  class ListTagsForResourceRequest
197
232
  attr_accessor resource_arn: ::String
198
233
  SENSITIVE: []
@@ -203,6 +238,16 @@ module Aws::DocDBElastic
203
238
  SENSITIVE: []
204
239
  end
205
240
 
241
+ class PendingMaintenanceActionDetails
242
+ attr_accessor action: ::String
243
+ attr_accessor auto_applied_after_date: ::String
244
+ attr_accessor current_apply_date: ::String
245
+ attr_accessor description: ::String
246
+ attr_accessor forced_apply_date: ::String
247
+ attr_accessor opt_in_status: ::String
248
+ SENSITIVE: []
249
+ end
250
+
206
251
  class ResourceNotFoundException
207
252
  attr_accessor message: ::String
208
253
  attr_accessor resource_id: ::String
@@ -210,6 +255,12 @@ module Aws::DocDBElastic
210
255
  SENSITIVE: []
211
256
  end
212
257
 
258
+ class ResourcePendingMaintenanceAction
259
+ attr_accessor pending_maintenance_action_details: ::Array[Types::PendingMaintenanceActionDetails]
260
+ attr_accessor resource_arn: ::String
261
+ SENSITIVE: []
262
+ end
263
+
213
264
  class RestoreClusterFromSnapshotInput
214
265
  attr_accessor cluster_name: ::String
215
266
  attr_accessor kms_key_id: ::String
@@ -235,7 +286,7 @@ module Aws::DocDBElastic
235
286
  class Shard
236
287
  attr_accessor create_time: ::String
237
288
  attr_accessor shard_id: ::String
238
- attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED")
289
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "VPC_ENDPOINT_LIMIT_EXCEEDED" | "IP_ADDRESS_LIMIT_EXCEEDED" | "INVALID_SECURITY_GROUP_ID" | "INVALID_SUBNET_ID" | "INACCESSIBLE_ENCRYPTION_CREDS" | "INACCESSIBLE_SECRET_ARN" | "INACCESSIBLE_VPC_ENDPOINT" | "INCOMPATIBLE_NETWORK" | "MERGING" | "MODIFYING" | "SPLITTING" | "COPYING" | "STARTING" | "STOPPING" | "STOPPED" | "MAINTENANCE" | "INACCESSIBLE_ENCRYPTION_CREDENTIALS_RECOVERABLE")
239
290
  SENSITIVE: []
240
291
  end
241
292
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-docdbelastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.27.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-10-18 00:00:00.000000000 Z
11
+ date: 2025-01-15 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.210.0
22
+ version: 3.216.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,21 +29,21 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for Amazon DocumentDB Elastic Clusters (DocDB Elastic).
48
48
  This gem is part of the AWS SDK for Ruby.
49
49
  email: