aws-sdk-docdbelastic 1.25.0 → 1.26.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: 25526be07c828d63391039e8ef0e384f55711e67c428705a2e08563e25d0c180
4
- data.tar.gz: 8d0804e49746febdecd491715b2324c096b5920bb6b258c7ac0ac40029149ea2
3
+ metadata.gz: d56e655baec8e51548dc99df4bc7e412286d10b9473a50dc2c4e0a7bb9836a17
4
+ data.tar.gz: 52cf8cd9d49a828d9dcf601d8448529d9756c903218fdc9f37c8b6a095394762
5
5
  SHA512:
6
- metadata.gz: 121659f319a596a3dc5bd2387cf8995685748f98856404e88383cf829f0d86eba69f91a7298cf7a49f36d05b1e8e4f56557a22ffc705ebc42315246857244b22
7
- data.tar.gz: b3d71a6d63b20c7488565417fa8654ddc58a22309487a4c9d71d23016884ea35bf1b1b705857fb1c7ea66932ebe91a3915fee135f6b0cc1091e69013b79d6668
6
+ metadata.gz: 4aa7291dd32e5f43f58fbec7f3d9600c1771f524ece2abcfe2fa06d92e9628a844e05d3531a899b35c781e80661b2be1e2c3967ba5fe206cf9795d4ef7e762c0
7
+ data.tar.gz: 1677439ab683b8abcdb9345f00324f68ce390207053615a7d3234d60c7e1b0d14bbe2d3e5120909e30dd527bbde5586c4ee4f2d431d5ec6756df53996e0901b3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2024-11-01)
5
+ ------------------
6
+
7
+ * Feature - Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction
8
+
4
9
  1.25.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -447,6 +447,68 @@ module Aws::DocDBElastic
447
447
 
448
448
  # @!group API Operations
449
449
 
450
+ # The type of pending maintenance action to be applied to the resource.
451
+ #
452
+ # @option params [required, String] :apply_action
453
+ # The pending maintenance action to apply to the resource.
454
+ #
455
+ # Valid actions are:
456
+ #
457
+ # * `ENGINE_UPDATE `
458
+ #
459
+ # * `ENGINE_UPGRADE`
460
+ #
461
+ # * `SECURITY_UPDATE`
462
+ #
463
+ # * `OS_UPDATE`
464
+ #
465
+ # * `MASTER_USER_PASSWORD_UPDATE`
466
+ #
467
+ # @option params [String] :apply_on
468
+ # A specific date to apply the pending maintenance action. Required if
469
+ # opt-in-type is `APPLY_ON`. Format: `yyyy/MM/dd HH:mm-yyyy/MM/dd HH:mm`
470
+ #
471
+ # @option params [required, String] :opt_in_type
472
+ # A value that specifies the type of opt-in request, or undoes an opt-in
473
+ # request. An opt-in request of type `IMMEDIATE` can't be undone.
474
+ #
475
+ # @option params [required, String] :resource_arn
476
+ # The Amazon DocumentDB Amazon Resource Name (ARN) of the resource to
477
+ # which the pending maintenance action applies.
478
+ #
479
+ # @return [Types::ApplyPendingMaintenanceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
480
+ #
481
+ # * {Types::ApplyPendingMaintenanceActionOutput#resource_pending_maintenance_action #resource_pending_maintenance_action} => Types::ResourcePendingMaintenanceAction
482
+ #
483
+ # @example Request syntax with placeholder values
484
+ #
485
+ # resp = client.apply_pending_maintenance_action({
486
+ # apply_action: "InputString", # required
487
+ # apply_on: "InputString",
488
+ # opt_in_type: "IMMEDIATE", # required, accepts IMMEDIATE, NEXT_MAINTENANCE, APPLY_ON, UNDO_OPT_IN
489
+ # resource_arn: "InputString", # required
490
+ # })
491
+ #
492
+ # @example Response structure
493
+ #
494
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details #=> Array
495
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].action #=> String
496
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].auto_applied_after_date #=> String
497
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].current_apply_date #=> String
498
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].description #=> String
499
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].forced_apply_date #=> String
500
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].opt_in_status #=> String
501
+ # resp.resource_pending_maintenance_action.resource_arn #=> String
502
+ #
503
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ApplyPendingMaintenanceAction AWS API Documentation
504
+ #
505
+ # @overload apply_pending_maintenance_action(params = {})
506
+ # @param [Hash] params ({})
507
+ def apply_pending_maintenance_action(params = {}, options = {})
508
+ req = build_request(:apply_pending_maintenance_action, params)
509
+ req.send_request(options)
510
+ end
511
+
450
512
  # Copies a snapshot of an elastic cluster.
451
513
  #
452
514
  # @option params [Boolean] :copy_tags
@@ -524,7 +586,7 @@ module Aws::DocDBElastic
524
586
  # resp.snapshot.snapshot_creation_time #=> String
525
587
  # resp.snapshot.snapshot_name #=> String
526
588
  # 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"
589
+ # 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
590
  # resp.snapshot.subnet_ids #=> Array
529
591
  # resp.snapshot.subnet_ids[0] #=> String
530
592
  # resp.snapshot.vpc_security_group_ids #=> Array
@@ -690,8 +752,8 @@ module Aws::DocDBElastic
690
752
  # resp.cluster.shards #=> Array
691
753
  # resp.cluster.shards[0].create_time #=> String
692
754
  # 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"
755
+ # 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"
756
+ # 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
757
  # resp.cluster.subnet_ids #=> Array
696
758
  # resp.cluster.subnet_ids[0] #=> String
697
759
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -742,7 +804,7 @@ module Aws::DocDBElastic
742
804
  # resp.snapshot.snapshot_creation_time #=> String
743
805
  # resp.snapshot.snapshot_name #=> String
744
806
  # 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"
807
+ # 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
808
  # resp.snapshot.subnet_ids #=> Array
747
809
  # resp.snapshot.subnet_ids[0] #=> String
748
810
  # resp.snapshot.vpc_security_group_ids #=> Array
@@ -790,8 +852,8 @@ module Aws::DocDBElastic
790
852
  # resp.cluster.shards #=> Array
791
853
  # resp.cluster.shards[0].create_time #=> String
792
854
  # 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"
855
+ # 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"
856
+ # 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
857
  # resp.cluster.subnet_ids #=> Array
796
858
  # resp.cluster.subnet_ids[0] #=> String
797
859
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -832,7 +894,7 @@ module Aws::DocDBElastic
832
894
  # resp.snapshot.snapshot_creation_time #=> String
833
895
  # resp.snapshot.snapshot_name #=> String
834
896
  # 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"
897
+ # 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
898
  # resp.snapshot.subnet_ids #=> Array
837
899
  # resp.snapshot.subnet_ids[0] #=> String
838
900
  # resp.snapshot.vpc_security_group_ids #=> Array
@@ -880,8 +942,8 @@ module Aws::DocDBElastic
880
942
  # resp.cluster.shards #=> Array
881
943
  # resp.cluster.shards[0].create_time #=> String
882
944
  # 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"
945
+ # 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"
946
+ # 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
947
  # resp.cluster.subnet_ids #=> Array
886
948
  # resp.cluster.subnet_ids[0] #=> String
887
949
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -921,7 +983,7 @@ module Aws::DocDBElastic
921
983
  # resp.snapshot.snapshot_creation_time #=> String
922
984
  # resp.snapshot.snapshot_name #=> String
923
985
  # 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"
986
+ # 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
987
  # resp.snapshot.subnet_ids #=> Array
926
988
  # resp.snapshot.subnet_ids[0] #=> String
927
989
  # resp.snapshot.vpc_security_group_ids #=> Array
@@ -936,6 +998,42 @@ module Aws::DocDBElastic
936
998
  req.send_request(options)
937
999
  end
938
1000
 
1001
+ # Retrieves all maintenance actions that are pending.
1002
+ #
1003
+ # @option params [required, String] :resource_arn
1004
+ # Retrieves pending maintenance actions for a specific Amazon Resource
1005
+ # Name (ARN).
1006
+ #
1007
+ # @return [Types::GetPendingMaintenanceActionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1008
+ #
1009
+ # * {Types::GetPendingMaintenanceActionOutput#resource_pending_maintenance_action #resource_pending_maintenance_action} => Types::ResourcePendingMaintenanceAction
1010
+ #
1011
+ # @example Request syntax with placeholder values
1012
+ #
1013
+ # resp = client.get_pending_maintenance_action({
1014
+ # resource_arn: "InputString", # required
1015
+ # })
1016
+ #
1017
+ # @example Response structure
1018
+ #
1019
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details #=> Array
1020
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].action #=> String
1021
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].auto_applied_after_date #=> String
1022
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].current_apply_date #=> String
1023
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].description #=> String
1024
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].forced_apply_date #=> String
1025
+ # resp.resource_pending_maintenance_action.pending_maintenance_action_details[0].opt_in_status #=> String
1026
+ # resp.resource_pending_maintenance_action.resource_arn #=> String
1027
+ #
1028
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/GetPendingMaintenanceAction AWS API Documentation
1029
+ #
1030
+ # @overload get_pending_maintenance_action(params = {})
1031
+ # @param [Hash] params ({})
1032
+ def get_pending_maintenance_action(params = {}, options = {})
1033
+ req = build_request(:get_pending_maintenance_action, params)
1034
+ req.send_request(options)
1035
+ end
1036
+
939
1037
  # Returns information about snapshots for a specified elastic cluster.
940
1038
  #
941
1039
  # @option params [String] :cluster_arn
@@ -987,7 +1085,7 @@ module Aws::DocDBElastic
987
1085
  # resp.snapshots[0].snapshot_arn #=> String
988
1086
  # resp.snapshots[0].snapshot_creation_time #=> String
989
1087
  # 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"
1088
+ # 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
1089
  #
992
1090
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListClusterSnapshots AWS API Documentation
993
1091
  #
@@ -1032,7 +1130,7 @@ module Aws::DocDBElastic
1032
1130
  # resp.clusters #=> Array
1033
1131
  # resp.clusters[0].cluster_arn #=> String
1034
1132
  # 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"
1133
+ # 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
1134
  # resp.next_token #=> String
1037
1135
  #
1038
1136
  # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListClusters AWS API Documentation
@@ -1044,6 +1142,55 @@ module Aws::DocDBElastic
1044
1142
  req.send_request(options)
1045
1143
  end
1046
1144
 
1145
+ # Retrieves a list of all maintenance actions that are pending.
1146
+ #
1147
+ # @option params [Integer] :max_results
1148
+ # The maximum number of results to include in the response. If more
1149
+ # records exist than the specified `maxResults` value, a pagination
1150
+ # token (marker) is included in the response so that the remaining
1151
+ # results can be retrieved.
1152
+ #
1153
+ # @option params [String] :next_token
1154
+ # An optional pagination token provided by a previous request. If this
1155
+ # parameter is specified, the response includes only records beyond the
1156
+ # marker, up to the value specified by `maxResults`.
1157
+ #
1158
+ # @return [Types::ListPendingMaintenanceActionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1159
+ #
1160
+ # * {Types::ListPendingMaintenanceActionsOutput#next_token #next_token} => String
1161
+ # * {Types::ListPendingMaintenanceActionsOutput#resource_pending_maintenance_actions #resource_pending_maintenance_actions} => Array<Types::ResourcePendingMaintenanceAction>
1162
+ #
1163
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1164
+ #
1165
+ # @example Request syntax with placeholder values
1166
+ #
1167
+ # resp = client.list_pending_maintenance_actions({
1168
+ # max_results: 1,
1169
+ # next_token: "PaginationToken",
1170
+ # })
1171
+ #
1172
+ # @example Response structure
1173
+ #
1174
+ # resp.next_token #=> String
1175
+ # resp.resource_pending_maintenance_actions #=> Array
1176
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details #=> Array
1177
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].action #=> String
1178
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].auto_applied_after_date #=> String
1179
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].current_apply_date #=> String
1180
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].description #=> String
1181
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].forced_apply_date #=> String
1182
+ # resp.resource_pending_maintenance_actions[0].pending_maintenance_action_details[0].opt_in_status #=> String
1183
+ # resp.resource_pending_maintenance_actions[0].resource_arn #=> String
1184
+ #
1185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/docdb-elastic-2022-11-28/ListPendingMaintenanceActions AWS API Documentation
1186
+ #
1187
+ # @overload list_pending_maintenance_actions(params = {})
1188
+ # @param [Hash] params ({})
1189
+ def list_pending_maintenance_actions(params = {}, options = {})
1190
+ req = build_request(:list_pending_maintenance_actions, params)
1191
+ req.send_request(options)
1192
+ end
1193
+
1047
1194
  # Lists all tags on a elastic cluster resource
1048
1195
  #
1049
1196
  # @option params [required, String] :resource_arn
@@ -1152,8 +1299,8 @@ module Aws::DocDBElastic
1152
1299
  # resp.cluster.shards #=> Array
1153
1300
  # resp.cluster.shards[0].create_time #=> String
1154
1301
  # 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"
1302
+ # 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"
1303
+ # 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
1304
  # resp.cluster.subnet_ids #=> Array
1158
1305
  # resp.cluster.subnet_ids[0] #=> String
1159
1306
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -1202,8 +1349,8 @@ module Aws::DocDBElastic
1202
1349
  # resp.cluster.shards #=> Array
1203
1350
  # resp.cluster.shards[0].create_time #=> String
1204
1351
  # 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"
1352
+ # 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"
1353
+ # 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
1354
  # resp.cluster.subnet_ids #=> Array
1208
1355
  # resp.cluster.subnet_ids[0] #=> String
1209
1356
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -1252,8 +1399,8 @@ module Aws::DocDBElastic
1252
1399
  # resp.cluster.shards #=> Array
1253
1400
  # resp.cluster.shards[0].create_time #=> String
1254
1401
  # 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"
1402
+ # 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"
1403
+ # 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
1404
  # resp.cluster.subnet_ids #=> Array
1258
1405
  # resp.cluster.subnet_ids[0] #=> String
1259
1406
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -1428,8 +1575,8 @@ module Aws::DocDBElastic
1428
1575
  # resp.cluster.shards #=> Array
1429
1576
  # resp.cluster.shards[0].create_time #=> String
1430
1577
  # 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"
1578
+ # 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"
1579
+ # 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
1580
  # resp.cluster.subnet_ids #=> Array
1434
1581
  # resp.cluster.subnet_ids[0] #=> String
1435
1582
  # resp.cluster.vpc_security_group_ids #=> Array
@@ -1462,7 +1609,7 @@ module Aws::DocDBElastic
1462
1609
  tracer: tracer
1463
1610
  )
1464
1611
  context[:gem_name] = 'aws-sdk-docdbelastic'
1465
- context[:gem_version] = '1.25.0'
1612
+ context[:gem_version] = '1.26.0'
1466
1613
  Seahorse::Client::Request.new(handlers, context)
1467
1614
  end
1468
1615
 
@@ -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.26.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -75,6 +75,19 @@ module Aws
75
75
  | (?Hash[Symbol, untyped]) -> instance
76
76
 
77
77
 
78
+ interface _ApplyPendingMaintenanceActionResponseSuccess
79
+ include ::Seahorse::Client::_ResponseSuccess[Types::ApplyPendingMaintenanceActionOutput]
80
+ def resource_pending_maintenance_action: () -> Types::ResourcePendingMaintenanceAction
81
+ end
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#apply_pending_maintenance_action-instance_method
83
+ def apply_pending_maintenance_action: (
84
+ apply_action: ::String,
85
+ ?apply_on: ::String,
86
+ opt_in_type: ("IMMEDIATE" | "NEXT_MAINTENANCE" | "APPLY_ON" | "UNDO_OPT_IN"),
87
+ resource_arn: ::String
88
+ ) -> _ApplyPendingMaintenanceActionResponseSuccess
89
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ApplyPendingMaintenanceActionResponseSuccess
90
+
78
91
  interface _CopyClusterSnapshotResponseSuccess
79
92
  include ::Seahorse::Client::_ResponseSuccess[Types::CopyClusterSnapshotOutput]
80
93
  def snapshot: () -> Types::ClusterSnapshot
@@ -165,6 +178,16 @@ module Aws
165
178
  ) -> _GetClusterSnapshotResponseSuccess
166
179
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClusterSnapshotResponseSuccess
167
180
 
181
+ interface _GetPendingMaintenanceActionResponseSuccess
182
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPendingMaintenanceActionOutput]
183
+ def resource_pending_maintenance_action: () -> Types::ResourcePendingMaintenanceAction
184
+ end
185
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#get_pending_maintenance_action-instance_method
186
+ def get_pending_maintenance_action: (
187
+ resource_arn: ::String
188
+ ) -> _GetPendingMaintenanceActionResponseSuccess
189
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPendingMaintenanceActionResponseSuccess
190
+
168
191
  interface _ListClusterSnapshotsResponseSuccess
169
192
  include ::Seahorse::Client::_ResponseSuccess[Types::ListClusterSnapshotsOutput]
170
193
  def next_token: () -> ::String
@@ -191,6 +214,18 @@ module Aws
191
214
  ) -> _ListClustersResponseSuccess
192
215
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClustersResponseSuccess
193
216
 
217
+ interface _ListPendingMaintenanceActionsResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPendingMaintenanceActionsOutput]
219
+ def next_token: () -> ::String
220
+ def resource_pending_maintenance_actions: () -> ::Array[Types::ResourcePendingMaintenanceAction]
221
+ end
222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DocDBElastic/Client.html#list_pending_maintenance_actions-instance_method
223
+ def list_pending_maintenance_actions: (
224
+ ?max_results: ::Integer,
225
+ ?next_token: ::String
226
+ ) -> _ListPendingMaintenanceActionsResponseSuccess
227
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPendingMaintenanceActionsResponseSuccess
228
+
194
229
  interface _ListTagsForResourceResponseSuccess
195
230
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
196
231
  def tags: () -> ::Hash[::String, ::String]
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.26.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: 2024-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -36,14 +36,14 @@ dependencies:
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: