aws-sdk-docdbelastic 1.24.0 → 1.26.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: ae316de0b0e3c336f8b8215e97fa221b16fb80ee750e65ea7381017350796aed
4
- data.tar.gz: 85b38ce7d0da8b421b0e81843d53b544622e08bc1a5f2ac05521932828ff87ab
3
+ metadata.gz: d56e655baec8e51548dc99df4bc7e412286d10b9473a50dc2c4e0a7bb9836a17
4
+ data.tar.gz: 52cf8cd9d49a828d9dcf601d8448529d9756c903218fdc9f37c8b6a095394762
5
5
  SHA512:
6
- metadata.gz: 77c8e7e8457b2d0cb6a7b2bedd7a27a9ade7b8a8474c28e8326a0076b4374438b6670e4363814aad9cd5e1a2f7d1ccd1d34794479f9f0db6909f3f47a852c816
7
- data.tar.gz: ed0e6a81ef4056c960a4fad6ed9e4c333951bdf35f509875b39c52c40cde92e593f0054b219c36d6d76a69ad6a243ed8ee5d5daaf6867c45c0fb7b4b08142576
6
+ metadata.gz: 4aa7291dd32e5f43f58fbec7f3d9600c1771f524ece2abcfe2fa06d92e9628a844e05d3531a899b35c781e80661b2be1e2c3967ba5fe206cf9795d4ef7e762c0
7
+ data.tar.gz: 1677439ab683b8abcdb9345f00324f68ce390207053615a7d3234d60c7e1b0d14bbe2d3e5120909e30dd527bbde5586c4ee4f2d431d5ec6756df53996e0901b3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.25.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.24.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.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.24.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"
@@ -52,15 +52,18 @@ module Aws::DocDBElastic
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end