aws-sdk-backupexternal 1.0.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.
@@ -0,0 +1,61 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:backupexternal)
15
+
16
+ # This module provides support for AWS Backup External. This module is available in the
17
+ # `aws-sdk-backupexternal` gem.
18
+ #
19
+ # # Client
20
+ #
21
+ # The {Client} class provides one method for each API operation. Operation
22
+ # methods each accept a hash of request parameters and return a response
23
+ # structure.
24
+ #
25
+ # backup_external = Aws::BackupExternal::Client.new
26
+ # resp = backup_external.associate_disk(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from AWS Backup External are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::BackupExternal::Errors::ServiceError
38
+ # # rescues all AWS Backup External API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::BackupExternal
45
+ autoload :Types, 'aws-sdk-backupexternal/types'
46
+ autoload :ClientApi, 'aws-sdk-backupexternal/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-backupexternal/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-backupexternal/client'
51
+ autoload :Errors, 'aws-sdk-backupexternal/errors'
52
+ autoload :Resource, 'aws-sdk-backupexternal/resource'
53
+ autoload :EndpointParameters, 'aws-sdk-backupexternal/endpoint_parameters'
54
+ autoload :EndpointProvider, 'aws-sdk-backupexternal/endpoint_provider'
55
+ autoload :Endpoints, 'aws-sdk-backupexternal/endpoints'
56
+
57
+ GEM_VERSION = '1.0.0'
58
+
59
+ end
60
+
61
+ require_relative 'aws-sdk-backupexternal/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,583 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module BackupExternal
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
31
+ ?disable_host_prefix_injection: bool,
32
+ ?disable_request_compression: bool,
33
+ ?endpoint: String,
34
+ ?endpoint_cache_max_entries: Integer,
35
+ ?endpoint_cache_max_threads: Integer,
36
+ ?endpoint_cache_poll_interval: Integer,
37
+ ?endpoint_discovery: bool,
38
+ ?ignore_configured_endpoint_urls: bool,
39
+ ?log_formatter: untyped,
40
+ ?log_level: Symbol,
41
+ ?logger: untyped,
42
+ ?max_attempts: Integer,
43
+ ?profile: String,
44
+ ?request_checksum_calculation: String,
45
+ ?request_min_compression_size_bytes: Integer,
46
+ ?response_checksum_validation: String,
47
+ ?retry_backoff: Proc,
48
+ ?retry_base_delay: Float,
49
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
50
+ ?retry_limit: Integer,
51
+ ?retry_max_delay: Integer,
52
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
53
+ ?sdk_ua_app_id: String,
54
+ ?secret_access_key: String,
55
+ ?session_token: String,
56
+ ?sigv4a_signing_region_set: Array[String],
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> instance
79
+ | (?Hash[Symbol, untyped]) -> instance
80
+
81
+
82
+ interface _AssociateDiskResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateDiskOutput]
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#associate_disk-instance_method
86
+ def associate_disk: (
87
+ appliance_arn: ::String,
88
+ node_arn: ::String,
89
+ disk_identifier: ::String,
90
+ disk_type: ("DATA" | "METADATA")
91
+ ) -> _AssociateDiskResponseSuccess
92
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDiskResponseSuccess
93
+
94
+ interface _CreateApplianceResponseSuccess
95
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplianceOutput]
96
+ def appliance_arn: () -> ::String
97
+ def created_at: () -> ::Time
98
+ def image: () -> ::String
99
+ def aws_ova_image_root_certificate_download_url: () -> ::String
100
+ def activation_token: () -> ::String
101
+ def activation_token_expires_at: () -> ::Time
102
+ end
103
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#create_appliance-instance_method
104
+ def create_appliance: (
105
+ appliance_name: ::String,
106
+ environment_type: ("EC2" | "VMWARE"),
107
+ appliance_iam_role_arn: ::String,
108
+ node_fault_tolerance: ::Integer,
109
+ network_configuration: {
110
+ subnet_gateway: ::String,
111
+ subnet_mask: ::String,
112
+ dns_servers: Array[::String],
113
+ ntp_servers: Array[::String],
114
+ domain_name: ::String?,
115
+ search_domains: Array[::String]?
116
+ },
117
+ ?client_token: ::String,
118
+ ?tags: Hash[::String, ::String]
119
+ ) -> _CreateApplianceResponseSuccess
120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplianceResponseSuccess
121
+
122
+ interface _CreateResourceProviderResponseSuccess
123
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateResourceProviderOutput]
124
+ def arn: () -> ::String
125
+ end
126
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#create_resource_provider-instance_method
127
+ def create_resource_provider: (
128
+ appliance_arn: ::String,
129
+ ?client_token: ::String,
130
+ ?name: ::String,
131
+ provider_configuration: Params::resource_provider_configuration,
132
+ provider_type: ("MSSQL_SERVER" | "NAS_SHARE" | "ORACLEDB_SERVER" | "ORACLEDB_CLUSTER" | "SERVER_HOST" | "VMWARE_ESXI" | "VMWARE_VCENTER"),
133
+ ?secret_configuration_arn: ::String,
134
+ ?tags: Hash[::String, ::String],
135
+ target_configuration: Params::resource_target_configurations,
136
+ ?target_tags_on_create: Hash[::String, ::String],
137
+ ?target_tag_keys_to_sync: Array[::String],
138
+ ?auto_delete_not_found_targets_after_days: ::Integer
139
+ ) -> _CreateResourceProviderResponseSuccess
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceProviderResponseSuccess
141
+
142
+ interface _DeleteApplianceResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApplianceOutput]
144
+ def appliance_arn: () -> ::String
145
+ def appliance_management_status: () -> ("PENDING" | "AVAILABLE" | "DELETING" | "DELETED" | "UPDATING" | "DELETE_FAILED" | "DISCONNECTED" | "SUSPENDED")
146
+ end
147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#delete_appliance-instance_method
148
+ def delete_appliance: (
149
+ appliance_arn: ::String,
150
+ ?force: bool
151
+ ) -> _DeleteApplianceResponseSuccess
152
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApplianceResponseSuccess
153
+
154
+ interface _DeleteNodeResponseSuccess
155
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNodeOutput]
156
+ def appliance_arn: () -> ::String
157
+ def node_arn: () -> ::String
158
+ def node_management_status: () -> ("PENDING_VERIFICATION" | "PENDING_NODE_ADDITION" | "AVAILABLE" | "FAILED" | "UPDATING" | "DELETING" | "DELETED")
159
+ end
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#delete_node-instance_method
161
+ def delete_node: (
162
+ appliance_arn: ::String,
163
+ node_arn: ::String
164
+ ) -> _DeleteNodeResponseSuccess
165
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNodeResponseSuccess
166
+
167
+ interface _DeleteResourceProviderResponseSuccess
168
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourceProviderOutput]
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#delete_resource_provider-instance_method
171
+ def delete_resource_provider: (
172
+ arn: ::String
173
+ ) -> _DeleteResourceProviderResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourceProviderResponseSuccess
175
+
176
+ interface _DeleteResourceTargetResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourceTargetOutput]
178
+ end
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#delete_resource_target-instance_method
180
+ def delete_resource_target: (
181
+ arn: ::String
182
+ ) -> _DeleteResourceTargetResponseSuccess
183
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourceTargetResponseSuccess
184
+
185
+ interface _GetActivationCredentialsResponseSuccess
186
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetActivationCredentialsOutput]
187
+ def image: () -> ::String
188
+ def aws_ova_image_root_certificate_download_url: () -> ::String
189
+ def activation_token_expires_at: () -> ::Time
190
+ def activation_token: () -> ::String
191
+ end
192
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#get_activation_credentials-instance_method
193
+ def get_activation_credentials: (
194
+ appliance_arn: ::String
195
+ ) -> _GetActivationCredentialsResponseSuccess
196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetActivationCredentialsResponseSuccess
197
+
198
+ interface _GetAgentDownloadResponseSuccess
199
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentDownloadOutput]
200
+ def agent_download_url: () -> ::String
201
+ def agent_version: () -> ::String
202
+ def signing_certificate_download_url: () -> ::String
203
+ def agent_certificate_bundle_download_url: () -> ::String
204
+ end
205
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#get_agent_download-instance_method
206
+ def get_agent_download: (
207
+ appliance_arn: ::String,
208
+ platform: ("WINDOWS" | "LINUX_RPM" | "LINUX_SUSE_RPM" | "LINUX_DEB" | "LINUX_SCRIPT")
209
+ ) -> _GetAgentDownloadResponseSuccess
210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentDownloadResponseSuccess
211
+
212
+ interface _GetAgentUpgradeSettingsResponseSuccess
213
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentUpgradeSettingsOutput]
214
+ def enable_auto_upgrade: () -> bool
215
+ def start_hour_utc: () -> ::Integer
216
+ def end_hour_utc: () -> ::Integer
217
+ end
218
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#get_agent_upgrade_settings-instance_method
219
+ def get_agent_upgrade_settings: (
220
+ appliance_arn: ::String
221
+ ) -> _GetAgentUpgradeSettingsResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentUpgradeSettingsResponseSuccess
223
+
224
+ interface _GetApplianceResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplianceOutput]
226
+ def appliance_arn: () -> ::String
227
+ def appliance_name: () -> ::String
228
+ def environment_type: () -> ("EC2" | "VMWARE")
229
+ def appliance_iam_role_arn: () -> ::String
230
+ def node_fault_tolerance: () -> ::Integer
231
+ def network_configuration: () -> Types::ApplianceNetworkConfigurationForGetAppliance
232
+ def appliance_management_status: () -> ("PENDING" | "AVAILABLE" | "DELETING" | "DELETED" | "UPDATING" | "DELETE_FAILED" | "DISCONNECTED" | "SUSPENDED")
233
+ def appliance_operation_mode: () -> ("PENDING" | "RUNNING" | "PAUSED")
234
+ def health_status: () -> ("UNKNOWN" | "HEALTHY" | "WARNING" | "CRITICAL")
235
+ def notifications: () -> ::Array[Types::Notification]
236
+ def created_at: () -> ::Time
237
+ def deleted_at: () -> ::Time
238
+ def patched_at: () -> ::Time
239
+ def software_version: () -> ::String
240
+ def tags: () -> ::Hash[::String, ::String]
241
+ end
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#get_appliance-instance_method
243
+ def get_appliance: (
244
+ appliance_arn: ::String
245
+ ) -> _GetApplianceResponseSuccess
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplianceResponseSuccess
247
+
248
+ interface _GetApplianceSizingRecommendationResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplianceSizingRecommendationOutput]
250
+ def projections: () -> ::Array[Types::SizingProjection]
251
+ end
252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#get_appliance_sizing_recommendation-instance_method
253
+ def get_appliance_sizing_recommendation: (
254
+ workloads: Array[
255
+ {
256
+ initial_size_ti_b: ::Float,
257
+ change_rate_percent: ::Float,
258
+ annual_growth_rate_percent: ::Float,
259
+ completion_window_minutes: ::Integer?,
260
+ enable_copy_to_cloud: bool?,
261
+ backup_configuration: {
262
+ vmware_vm: Params::sizing_standard_backup_configuration?,
263
+ mssql_database: Params::sizing_database_backup_configuration?,
264
+ oracle_database: Params::sizing_database_backup_configuration?,
265
+ nas: {
266
+ data_profile: ("STANDARD" | "STRUCTURED" | "NON_DEDUPABLE"),
267
+ initial_file_count_in_millions: ::Float,
268
+ backup_rules: Array[
269
+ {
270
+ frequency: ::Integer?,
271
+ frequency_unit: ("HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS")?,
272
+ delete_after_days: ::Integer?,
273
+ enable_continuous_backup: bool?,
274
+ log_backup_frequency_in_minutes: ::Integer?
275
+ }
276
+ ]
277
+ }?,
278
+ physical_server: Params::sizing_standard_backup_configuration?
279
+ }
280
+ }
281
+ ],
282
+ projection_years: ::Integer,
283
+ ?node_fault_tolerance: ::Integer,
284
+ node_type: ("EC2" | "VMWARE")
285
+ ) -> _GetApplianceSizingRecommendationResponseSuccess
286
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplianceSizingRecommendationResponseSuccess
287
+
288
+ interface _GetNodeResponseSuccess
289
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetNodeOutput]
290
+ def appliance_arn: () -> ::String
291
+ def node_arn: () -> ::String
292
+ def ip_address: () -> ::String
293
+ def environment_type: () -> ("EC2" | "VMWARE")
294
+ def node_management_status: () -> ("PENDING_VERIFICATION" | "PENDING_NODE_ADDITION" | "AVAILABLE" | "FAILED" | "UPDATING" | "DELETING" | "DELETED")
295
+ def health_status: () -> ("UNKNOWN" | "HEALTHY" | "WARNING" | "CRITICAL")
296
+ def notifications: () -> ::Array[Types::Notification]
297
+ def created_at: () -> ::Time
298
+ def deleted_at: () -> ::Time
299
+ def software_version: () -> ::String
300
+ def tags: () -> ::Hash[::String, ::String]
301
+ end
302
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#get_node-instance_method
303
+ def get_node: (
304
+ appliance_arn: ::String,
305
+ node_arn: ::String
306
+ ) -> _GetNodeResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNodeResponseSuccess
308
+
309
+ interface _GetResourceProviderResponseSuccess
310
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceProviderOutput]
311
+ def agent_compliance_status: () -> ("NON_COMPLIANT" | "UP_TO_DATE" | "UPGRADE_AVAILABLE")
312
+ def agent_upgrade_status: () -> ("PENDING" | "RUNNING" | "COMPLETED" | "FAILED")
313
+ def agent_upgrade_status_message: () -> ::String
314
+ def agent_version_current: () -> ::String
315
+ def agent_version_latest: () -> ::String
316
+ def appliance_arn: () -> ::String
317
+ def arn: () -> ::String
318
+ def created_at: () -> ::Time
319
+ def last_sync_started_at: () -> ::Time
320
+ def last_sync_completed_at: () -> ::Time
321
+ def name: () -> ::String
322
+ def provider_configuration: () -> Types::ResourceProviderConfiguration
323
+ def provider_metadata: () -> Types::ResourceProviderMetadata
324
+ def provider_type: () -> ("MSSQL_SERVER" | "NAS_SHARE" | "ORACLEDB_SERVER" | "ORACLEDB_CLUSTER" | "SERVER_HOST" | "VMWARE_ESXI" | "VMWARE_VCENTER")
325
+ def secret_configuration_arn: () -> ::String
326
+ def status: () -> ("DELETING" | "DELETION_FAILED" | "MIGRATING" | "MIGRATION_FAILED" | "SYNCING" | "SYNC_COMPLETED" | "SYNC_FAILED")
327
+ def status_message: () -> ::String
328
+ def target_configuration: () -> Types::ResourceTargetConfigurations
329
+ def target_tags_on_create: () -> ::Hash[::String, ::String]
330
+ def target_tag_keys_to_sync: () -> ::Array[::String]
331
+ def auto_delete_not_found_targets_after_days: () -> ::Integer
332
+ def updated_at: () -> ::Time
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#get_resource_provider-instance_method
335
+ def get_resource_provider: (
336
+ arn: ::String
337
+ ) -> _GetResourceProviderResponseSuccess
338
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceProviderResponseSuccess
339
+
340
+ interface _GetResourceTargetResponseSuccess
341
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceTargetOutput]
342
+ def arn: () -> ::String
343
+ def created_at: () -> ::Time
344
+ def external_identifier: () -> ::String
345
+ def external_name: () -> ::String
346
+ def last_synced_at: () -> ::Time
347
+ def name: () -> ::String
348
+ def provider_arn: () -> ::String
349
+ def provider_type: () -> ("MSSQL_SERVER" | "NAS_SHARE" | "ORACLEDB_SERVER" | "ORACLEDB_CLUSTER" | "SERVER_HOST" | "VMWARE_ESXI" | "VMWARE_VCENTER")
350
+ def status: () -> ("AVAILABLE" | "UNAVAILABLE" | "NOT_FOUND" | "DELETING" | "MIGRATING")
351
+ def status_message: () -> ::String
352
+ def target_configuration: () -> Types::ResourceTargetConfiguration
353
+ def target_configuration_source: () -> ("PROVIDER" | "TARGET")
354
+ def target_metadata: () -> Types::ResourceTargetMetadata
355
+ def target_type: () -> ("MSSQL_DATABASE" | "NAS_FILESYSTEM" | "ORACLEDB_DATABASE" | "SERVER_FILESYSTEM" | "VMWARE_VM")
356
+ def updated_at: () -> ::Time
357
+ end
358
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#get_resource_target-instance_method
359
+ def get_resource_target: (
360
+ arn: ::String
361
+ ) -> _GetResourceTargetResponseSuccess
362
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceTargetResponseSuccess
363
+
364
+ interface _ListAppliancesResponseSuccess
365
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAppliancesOutput]
366
+ def appliances: () -> ::Array[Types::ApplianceListMember]
367
+ def next_token: () -> ::String
368
+ end
369
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#list_appliances-instance_method
370
+ def list_appliances: (
371
+ ?max_results: ::Integer,
372
+ ?next_token: ::String
373
+ ) -> _ListAppliancesResponseSuccess
374
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAppliancesResponseSuccess
375
+
376
+ interface _ListDisksResponseSuccess
377
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDisksOutput]
378
+ def disks: () -> ::Array[Types::ListDisksDiskSummary]
379
+ def next_token: () -> ::String
380
+ end
381
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#list_disks-instance_method
382
+ def list_disks: (
383
+ appliance_arn: ::String,
384
+ node_arn: ::String,
385
+ ?max_results: ::Integer,
386
+ ?next_token: ::String
387
+ ) -> _ListDisksResponseSuccess
388
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDisksResponseSuccess
389
+
390
+ interface _ListNodesResponseSuccess
391
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNodesOutput]
392
+ def nodes: () -> ::Array[Types::ApplianceNodeListMember]
393
+ def next_token: () -> ::String
394
+ end
395
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#list_nodes-instance_method
396
+ def list_nodes: (
397
+ appliance_arn: ::String,
398
+ ?max_results: ::Integer,
399
+ ?next_token: ::String
400
+ ) -> _ListNodesResponseSuccess
401
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNodesResponseSuccess
402
+
403
+ interface _ListResourceProvidersResponseSuccess
404
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceProvidersOutput]
405
+ def next_token: () -> ::String
406
+ def items: () -> ::Array[Types::ResourceProviderListItem]
407
+ end
408
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#list_resource_providers-instance_method
409
+ def list_resource_providers: (
410
+ ?appliance_arn: ::String,
411
+ ?max_results: ::Integer,
412
+ ?next_token: ::String,
413
+ ?resource_provider_type: ("MSSQL_SERVER" | "NAS_SHARE" | "ORACLEDB_SERVER" | "ORACLEDB_CLUSTER" | "SERVER_HOST" | "VMWARE_ESXI" | "VMWARE_VCENTER")
414
+ ) -> _ListResourceProvidersResponseSuccess
415
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceProvidersResponseSuccess
416
+
417
+ interface _ListResourceTargetsResponseSuccess
418
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceTargetsOutput]
419
+ def items: () -> ::Array[Types::ResourceTargetListItem]
420
+ def next_token: () -> ::String
421
+ end
422
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#list_resource_targets-instance_method
423
+ def list_resource_targets: (
424
+ ?max_results: ::Integer,
425
+ ?next_token: ::String,
426
+ ?resource_provider_arn: ::String,
427
+ ?resource_target_type: ("MSSQL_DATABASE" | "NAS_FILESYSTEM" | "ORACLEDB_DATABASE" | "SERVER_FILESYSTEM" | "VMWARE_VM")
428
+ ) -> _ListResourceTargetsResponseSuccess
429
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceTargetsResponseSuccess
430
+
431
+ interface _ListTagsResponseSuccess
432
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsOutput]
433
+ def tags: () -> ::Hash[::String, ::String]
434
+ end
435
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#list_tags-instance_method
436
+ def list_tags: (
437
+ resource_arn: ::String
438
+ ) -> _ListTagsResponseSuccess
439
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
440
+
441
+ interface _PutAgentUpgradeSettingsResponseSuccess
442
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAgentUpgradeSettingsOutput]
443
+ end
444
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#put_agent_upgrade_settings-instance_method
445
+ def put_agent_upgrade_settings: (
446
+ appliance_arn: ::String,
447
+ enable_auto_upgrade: bool,
448
+ ?start_hour_utc: ::Integer,
449
+ ?end_hour_utc: ::Integer
450
+ ) -> _PutAgentUpgradeSettingsResponseSuccess
451
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAgentUpgradeSettingsResponseSuccess
452
+
453
+ interface _StartResourceProviderAgentUpgradeResponseSuccess
454
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartResourceProviderAgentUpgradeOutput]
455
+ def upgrade_started_at: () -> ::Time
456
+ end
457
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#start_resource_provider_agent_upgrade-instance_method
458
+ def start_resource_provider_agent_upgrade: (
459
+ arn: ::String
460
+ ) -> _StartResourceProviderAgentUpgradeResponseSuccess
461
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartResourceProviderAgentUpgradeResponseSuccess
462
+
463
+ interface _StartResourceProviderMigrationResponseSuccess
464
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartResourceProviderMigrationOutput]
465
+ def migration_started_at: () -> ::Time
466
+ end
467
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#start_resource_provider_migration-instance_method
468
+ def start_resource_provider_migration: (
469
+ arn: ::String,
470
+ destination_appliance_arn: ::String
471
+ ) -> _StartResourceProviderMigrationResponseSuccess
472
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartResourceProviderMigrationResponseSuccess
473
+
474
+ interface _StartResourceProviderSyncResponseSuccess
475
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartResourceProviderSyncOutput]
476
+ def sync_started_at: () -> ::Time
477
+ end
478
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#start_resource_provider_sync-instance_method
479
+ def start_resource_provider_sync: (
480
+ arn: ::String
481
+ ) -> _StartResourceProviderSyncResponseSuccess
482
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartResourceProviderSyncResponseSuccess
483
+
484
+ interface _TagResourceResponseSuccess
485
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
486
+ end
487
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#tag_resource-instance_method
488
+ def tag_resource: (
489
+ resource_arn: ::String,
490
+ tags: Hash[::String, ::String]
491
+ ) -> _TagResourceResponseSuccess
492
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
493
+
494
+ interface _UntagResourceResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
496
+ end
497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#untag_resource-instance_method
498
+ def untag_resource: (
499
+ resource_arn: ::String,
500
+ tag_keys: Array[::String]
501
+ ) -> _UntagResourceResponseSuccess
502
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
503
+
504
+ interface _UpdateApplianceResponseSuccess
505
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplianceOutput]
506
+ def appliance_arn: () -> ::String
507
+ def appliance_name: () -> ::String
508
+ def appliance_operation_mode: () -> ("PENDING" | "RUNNING" | "PAUSED")
509
+ end
510
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#update_appliance-instance_method
511
+ def update_appliance: (
512
+ appliance_arn: ::String,
513
+ ?appliance_name: ::String,
514
+ ?appliance_iam_role_arn: ::String,
515
+ ?node_fault_tolerance: ::Integer,
516
+ ?network_configuration: {
517
+ domain_name: ::String?,
518
+ search_domains: Array[::String]?,
519
+ dns_servers: Array[::String]?,
520
+ ntp_servers: Array[::String]?
521
+ },
522
+ ?appliance_operation_mode: ("RUNNING" | "PAUSED")
523
+ ) -> _UpdateApplianceResponseSuccess
524
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplianceResponseSuccess
525
+
526
+ interface _UpdateResourceProviderResponseSuccess
527
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourceProviderOutput]
528
+ end
529
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#update_resource_provider-instance_method
530
+ def update_resource_provider: (
531
+ arn: ::String,
532
+ ?name: ::String,
533
+ ?provider_configuration: Params::resource_provider_configuration,
534
+ ?secret_configuration_arn: ::String,
535
+ ?target_configuration: Params::resource_target_configurations,
536
+ ?target_tags_on_create: Hash[::String, ::String],
537
+ ?target_tag_keys_to_sync: Array[::String],
538
+ ?auto_delete_not_found_targets_after_days: ::Integer
539
+ ) -> _UpdateResourceProviderResponseSuccess
540
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceProviderResponseSuccess
541
+
542
+ interface _UpdateResourceTargetResponseSuccess
543
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourceTargetOutput]
544
+ end
545
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#update_resource_target-instance_method
546
+ def update_resource_target: (
547
+ arn: ::String,
548
+ ?name: ::String,
549
+ ?target_configuration: {
550
+ mssql_database: {
551
+ full_backup_after_days: ::Integer,
552
+ full_backup_after_schedule_expression: ::String?,
553
+ backup_stream_count: ::Integer?,
554
+ is_copy_only_full: bool,
555
+ log_backup_frequency_in_minutes: ::Integer?
556
+ }?,
557
+ nas_filesystem: {
558
+ allow_unencrypted_data_transfer: bool
559
+ }?,
560
+ oracledb_database: Params::resource_target_configuration_for_oracledb_database?,
561
+ server_filesystem: Params::resource_target_configuration_for_server_filesystem?,
562
+ vmware_vm: {
563
+ backup_consistency: ("APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT" | "APP_CONSISTENT" | "CRASH_CONSISTENT")?
564
+ }?
565
+ },
566
+ ?target_configuration_source: ("PROVIDER" | "TARGET")
567
+ ) -> _UpdateResourceTargetResponseSuccess
568
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceTargetResponseSuccess
569
+
570
+ interface _VerifyNodesResponseSuccess
571
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyNodesOutput]
572
+ def verified_nodes: () -> ::Array[Types::VerifiedApplianceNodeListMember]
573
+ end
574
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Client.html#verify_nodes-instance_method
575
+ def verify_nodes: (
576
+ appliance_arn: ::String,
577
+ node_arns: Array[::String]
578
+ ) -> _VerifyNodesResponseSuccess
579
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyNodesResponseSuccess
580
+ end
581
+ end
582
+ end
583
+