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.
@@ -12,181 +12,9 @@ module Aws::DocDBElastic
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class CopyClusterSnapshot
16
- def self.build(context)
17
- Aws::DocDBElastic::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class CreateCluster
27
- def self.build(context)
28
- Aws::DocDBElastic::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class CreateClusterSnapshot
38
- def self.build(context)
39
- Aws::DocDBElastic::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class DeleteCluster
49
- def self.build(context)
50
- Aws::DocDBElastic::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class DeleteClusterSnapshot
60
- def self.build(context)
61
- Aws::DocDBElastic::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class GetCluster
71
- def self.build(context)
72
- Aws::DocDBElastic::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class GetClusterSnapshot
82
- def self.build(context)
83
- Aws::DocDBElastic::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class ListClusterSnapshots
93
- def self.build(context)
94
- Aws::DocDBElastic::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
15
 
103
- class ListClusters
104
- def self.build(context)
105
- Aws::DocDBElastic::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::DocDBElastic::EndpointParameters.create(context.config)
112
18
  end
113
-
114
- class ListTagsForResource
115
- def self.build(context)
116
- Aws::DocDBElastic::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class RestoreClusterFromSnapshot
126
- def self.build(context)
127
- Aws::DocDBElastic::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class StartCluster
137
- def self.build(context)
138
- Aws::DocDBElastic::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
-
147
- class StopCluster
148
- def self.build(context)
149
- Aws::DocDBElastic::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
156
- end
157
-
158
- class TagResource
159
- def self.build(context)
160
- Aws::DocDBElastic::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class UntagResource
170
- def self.build(context)
171
- Aws::DocDBElastic::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class UpdateCluster
181
- def self.build(context)
182
- Aws::DocDBElastic::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
19
  end
192
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::DocDBElastic::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,43 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :copy_cluster_snapshot
74
- Aws::DocDBElastic::Endpoints::CopyClusterSnapshot.build(context)
75
- when :create_cluster
76
- Aws::DocDBElastic::Endpoints::CreateCluster.build(context)
77
- when :create_cluster_snapshot
78
- Aws::DocDBElastic::Endpoints::CreateClusterSnapshot.build(context)
79
- when :delete_cluster
80
- Aws::DocDBElastic::Endpoints::DeleteCluster.build(context)
81
- when :delete_cluster_snapshot
82
- Aws::DocDBElastic::Endpoints::DeleteClusterSnapshot.build(context)
83
- when :get_cluster
84
- Aws::DocDBElastic::Endpoints::GetCluster.build(context)
85
- when :get_cluster_snapshot
86
- Aws::DocDBElastic::Endpoints::GetClusterSnapshot.build(context)
87
- when :list_cluster_snapshots
88
- Aws::DocDBElastic::Endpoints::ListClusterSnapshots.build(context)
89
- when :list_clusters
90
- Aws::DocDBElastic::Endpoints::ListClusters.build(context)
91
- when :list_tags_for_resource
92
- Aws::DocDBElastic::Endpoints::ListTagsForResource.build(context)
93
- when :restore_cluster_from_snapshot
94
- Aws::DocDBElastic::Endpoints::RestoreClusterFromSnapshot.build(context)
95
- when :start_cluster
96
- Aws::DocDBElastic::Endpoints::StartCluster.build(context)
97
- when :stop_cluster
98
- Aws::DocDBElastic::Endpoints::StopCluster.build(context)
99
- when :tag_resource
100
- Aws::DocDBElastic::Endpoints::TagResource.build(context)
101
- when :untag_resource
102
- Aws::DocDBElastic::Endpoints::UntagResource.build(context)
103
- when :update_cluster
104
- Aws::DocDBElastic::Endpoints::UpdateCluster.build(context)
105
- end
106
- end
107
70
  end
108
71
 
109
72
  def add_handlers(handlers, _config)
@@ -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.24.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