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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-backupexternal/client.rb +2259 -0
- data/lib/aws-sdk-backupexternal/client_api.rb +1452 -0
- data/lib/aws-sdk-backupexternal/customizations.rb +0 -0
- data/lib/aws-sdk-backupexternal/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-backupexternal/endpoint_provider.rb +35 -0
- data/lib/aws-sdk-backupexternal/endpoints.rb +20 -0
- data/lib/aws-sdk-backupexternal/errors.rb +177 -0
- data/lib/aws-sdk-backupexternal/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-backupexternal/resource.rb +26 -0
- data/lib/aws-sdk-backupexternal/types.rb +3160 -0
- data/lib/aws-sdk-backupexternal.rb +61 -0
- data/sig/client.rbs +583 -0
- data/sig/errors.rbs +40 -0
- data/sig/params.rbs +114 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +954 -0
- metadata +96 -0
|
@@ -0,0 +1,2259 @@
|
|
|
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
|
+
require 'seahorse/client/plugins/content_length'
|
|
11
|
+
require 'aws-sdk-core/plugins/credentials_configuration'
|
|
12
|
+
require 'aws-sdk-core/plugins/logging'
|
|
13
|
+
require 'aws-sdk-core/plugins/param_converter'
|
|
14
|
+
require 'aws-sdk-core/plugins/param_validator'
|
|
15
|
+
require 'aws-sdk-core/plugins/user_agent'
|
|
16
|
+
require 'aws-sdk-core/plugins/helpful_socket_errors'
|
|
17
|
+
require 'aws-sdk-core/plugins/retry_errors'
|
|
18
|
+
require 'aws-sdk-core/plugins/global_configuration'
|
|
19
|
+
require 'aws-sdk-core/plugins/regional_endpoint'
|
|
20
|
+
require 'aws-sdk-core/plugins/endpoint_discovery'
|
|
21
|
+
require 'aws-sdk-core/plugins/endpoint_pattern'
|
|
22
|
+
require 'aws-sdk-core/plugins/response_paging'
|
|
23
|
+
require 'aws-sdk-core/plugins/stub_responses'
|
|
24
|
+
require 'aws-sdk-core/plugins/idempotency_token'
|
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id'
|
|
26
|
+
require 'aws-sdk-core/plugins/jsonvalue_converter'
|
|
27
|
+
require 'aws-sdk-core/plugins/client_metrics_plugin'
|
|
28
|
+
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
|
|
29
|
+
require 'aws-sdk-core/plugins/transfer_encoding'
|
|
30
|
+
require 'aws-sdk-core/plugins/http_checksum'
|
|
31
|
+
require 'aws-sdk-core/plugins/checksum_algorithm'
|
|
32
|
+
require 'aws-sdk-core/plugins/request_compression'
|
|
33
|
+
require 'aws-sdk-core/plugins/defaults_mode'
|
|
34
|
+
require 'aws-sdk-core/plugins/recursion_detection'
|
|
35
|
+
require 'aws-sdk-core/plugins/telemetry'
|
|
36
|
+
require 'aws-sdk-core/plugins/sign'
|
|
37
|
+
require 'aws-sdk-core/plugins/protocols/rest_json'
|
|
38
|
+
|
|
39
|
+
module Aws::BackupExternal
|
|
40
|
+
# An API client for BackupExternal. To construct a client, you need to configure a `:region` and `:credentials`.
|
|
41
|
+
#
|
|
42
|
+
# client = Aws::BackupExternal::Client.new(
|
|
43
|
+
# region: region_name,
|
|
44
|
+
# credentials: credentials,
|
|
45
|
+
# # ...
|
|
46
|
+
# )
|
|
47
|
+
#
|
|
48
|
+
# For details on configuring region and credentials see
|
|
49
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
|
50
|
+
#
|
|
51
|
+
# See {#initialize} for a full list of supported configuration options.
|
|
52
|
+
class Client < Seahorse::Client::Base
|
|
53
|
+
|
|
54
|
+
include Aws::ClientStubs
|
|
55
|
+
|
|
56
|
+
@identifier = :backupexternal
|
|
57
|
+
|
|
58
|
+
set_api(ClientApi::API)
|
|
59
|
+
|
|
60
|
+
add_plugin(Seahorse::Client::Plugins::ContentLength)
|
|
61
|
+
add_plugin(Aws::Plugins::CredentialsConfiguration)
|
|
62
|
+
add_plugin(Aws::Plugins::Logging)
|
|
63
|
+
add_plugin(Aws::Plugins::ParamConverter)
|
|
64
|
+
add_plugin(Aws::Plugins::ParamValidator)
|
|
65
|
+
add_plugin(Aws::Plugins::UserAgent)
|
|
66
|
+
add_plugin(Aws::Plugins::HelpfulSocketErrors)
|
|
67
|
+
add_plugin(Aws::Plugins::RetryErrors)
|
|
68
|
+
add_plugin(Aws::Plugins::GlobalConfiguration)
|
|
69
|
+
add_plugin(Aws::Plugins::RegionalEndpoint)
|
|
70
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
|
71
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
|
72
|
+
add_plugin(Aws::Plugins::ResponsePaging)
|
|
73
|
+
add_plugin(Aws::Plugins::StubResponses)
|
|
74
|
+
add_plugin(Aws::Plugins::IdempotencyToken)
|
|
75
|
+
add_plugin(Aws::Plugins::InvocationId)
|
|
76
|
+
add_plugin(Aws::Plugins::JsonvalueConverter)
|
|
77
|
+
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
|
78
|
+
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
|
79
|
+
add_plugin(Aws::Plugins::TransferEncoding)
|
|
80
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
|
81
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
|
82
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
|
83
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
|
84
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
|
85
|
+
add_plugin(Aws::Plugins::Telemetry)
|
|
86
|
+
add_plugin(Aws::Plugins::Sign)
|
|
87
|
+
add_plugin(Aws::Plugins::Protocols::RestJson)
|
|
88
|
+
add_plugin(Aws::BackupExternal::Plugins::Endpoints)
|
|
89
|
+
|
|
90
|
+
# @overload initialize(options)
|
|
91
|
+
# @param [Hash] options
|
|
92
|
+
#
|
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
|
95
|
+
# class name or an instance of a plugin class.
|
|
96
|
+
#
|
|
97
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
|
98
|
+
# Your AWS credentials used for authentication. This can be any class that includes and implements
|
|
99
|
+
# `Aws::CredentialProvider`, or instance of any one of the following classes:
|
|
100
|
+
#
|
|
101
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
|
102
|
+
# credentials.
|
|
103
|
+
#
|
|
104
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
|
105
|
+
# shared file, such as `~/.aws/config`.
|
|
106
|
+
#
|
|
107
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
|
108
|
+
#
|
|
109
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
|
110
|
+
# assume a role after providing credentials via the web.
|
|
111
|
+
#
|
|
112
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
|
113
|
+
# access token generated from `aws login`.
|
|
114
|
+
#
|
|
115
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
|
116
|
+
# process that outputs to stdout.
|
|
117
|
+
#
|
|
118
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
|
119
|
+
# from an EC2 IMDS on an EC2 instance.
|
|
120
|
+
#
|
|
121
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
|
122
|
+
# instances running in ECS.
|
|
123
|
+
#
|
|
124
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
|
125
|
+
# from the Cognito Identity service.
|
|
126
|
+
#
|
|
127
|
+
# When `:credentials` are not configured directly, the following locations will be searched for credentials:
|
|
128
|
+
#
|
|
129
|
+
# * `Aws.config[:credentials]`
|
|
130
|
+
#
|
|
131
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
|
132
|
+
# `:account_id` options.
|
|
133
|
+
#
|
|
134
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
|
135
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
|
136
|
+
#
|
|
137
|
+
# * `~/.aws/credentials`
|
|
138
|
+
#
|
|
139
|
+
# * `~/.aws/config`
|
|
140
|
+
#
|
|
141
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
|
|
142
|
+
# Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
|
143
|
+
# enable retries and extended timeouts. Instance profile credential fetching can be disabled by
|
|
144
|
+
# setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
|
|
145
|
+
#
|
|
146
|
+
# @option options [required, String] :region
|
|
147
|
+
# The AWS region to connect to. The configured `:region` is
|
|
148
|
+
# used to determine the service `:endpoint`. When not passed,
|
|
149
|
+
# a default `:region` is searched for in the following locations:
|
|
150
|
+
#
|
|
151
|
+
# * `Aws.config[:region]`
|
|
152
|
+
# * `ENV['AWS_REGION']`
|
|
153
|
+
# * `ENV['AMAZON_REGION']`
|
|
154
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
|
155
|
+
# * `~/.aws/credentials`
|
|
156
|
+
# * `~/.aws/config`
|
|
157
|
+
#
|
|
158
|
+
# @option options [String] :access_key_id
|
|
159
|
+
#
|
|
160
|
+
# @option options [String] :account_id
|
|
161
|
+
#
|
|
162
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
|
163
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
|
164
|
+
# the background every 60 secs (default). Defaults to `false`.
|
|
165
|
+
#
|
|
166
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
|
167
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
|
168
|
+
# until there is sufficent client side capacity to retry the request.
|
|
169
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
|
170
|
+
# not retry instead of sleeping.
|
|
171
|
+
#
|
|
172
|
+
# @option options [Array<String>] :auth_scheme_preference
|
|
173
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
|
174
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
|
175
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
|
176
|
+
#
|
|
177
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
|
178
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
|
179
|
+
# this client.
|
|
180
|
+
#
|
|
181
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
|
182
|
+
# Allows you to provide an identifier for this client which will be attached to
|
|
183
|
+
# all generated client side metrics. Defaults to an empty string.
|
|
184
|
+
#
|
|
185
|
+
# @option options [String] :client_side_monitoring_host ("127.0.0.1")
|
|
186
|
+
# Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
|
|
187
|
+
# side monitoring agent is running on, where client metrics will be published via UDP.
|
|
188
|
+
#
|
|
189
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
|
190
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
|
191
|
+
# agent is running on, where client metrics will be published via UDP.
|
|
192
|
+
#
|
|
193
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
|
194
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
|
195
|
+
# will use the Client Side Monitoring Agent Publisher.
|
|
196
|
+
#
|
|
197
|
+
# @option options [Boolean] :convert_params (true)
|
|
198
|
+
# When `true`, an attempt is made to coerce request parameters into
|
|
199
|
+
# the required types.
|
|
200
|
+
#
|
|
201
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
205
|
+
#
|
|
206
|
+
# @option options [String] :defaults_mode ("legacy")
|
|
207
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
208
|
+
# accepted modes and the configuration defaults that are included.
|
|
209
|
+
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
216
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
217
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
218
|
+
#
|
|
219
|
+
# @option options [Boolean] :disable_request_compression (false)
|
|
220
|
+
# When set to 'true' the request body will not be compressed
|
|
221
|
+
# for supported operations.
|
|
222
|
+
#
|
|
223
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
|
224
|
+
# Normally you should not configure the `:endpoint` option
|
|
225
|
+
# directly. This is normally constructed from the `:region`
|
|
226
|
+
# option. Configuring `:endpoint` is normally reserved for
|
|
227
|
+
# connecting to test or custom endpoints. The endpoint should
|
|
228
|
+
# be a URI formatted like:
|
|
229
|
+
#
|
|
230
|
+
# 'http://example.com'
|
|
231
|
+
# 'https://example.com'
|
|
232
|
+
# 'http://example.com:123'
|
|
233
|
+
#
|
|
234
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
|
235
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
|
236
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
|
237
|
+
#
|
|
238
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
|
239
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
|
240
|
+
#
|
|
241
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
|
242
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
|
243
|
+
# Use this option to config the time interval in seconds for making
|
|
244
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
|
245
|
+
#
|
|
246
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
|
247
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
|
248
|
+
#
|
|
249
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
|
250
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
|
251
|
+
# variables and the shared configuration file.
|
|
252
|
+
#
|
|
253
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
|
254
|
+
# The log formatter.
|
|
255
|
+
#
|
|
256
|
+
# @option options [Symbol] :log_level (:info)
|
|
257
|
+
# The log level to send messages to the `:logger` at.
|
|
258
|
+
#
|
|
259
|
+
# @option options [Logger] :logger
|
|
260
|
+
# The Logger instance to send log messages to. If this option
|
|
261
|
+
# is not set, logging will be disabled.
|
|
262
|
+
#
|
|
263
|
+
# @option options [Integer] :max_attempts (3)
|
|
264
|
+
# An integer representing the maximum number attempts that will be made for
|
|
265
|
+
# a single request, including the initial attempt. For example,
|
|
266
|
+
# setting this value to 5 will result in a request being retried up to
|
|
267
|
+
# 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
|
|
268
|
+
# except for DynamoDB and DynamoDB Streams, which default to 4.
|
|
269
|
+
#
|
|
270
|
+
# @option options [String] :profile ("default")
|
|
271
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
|
272
|
+
# When not specified, 'default' is used.
|
|
273
|
+
#
|
|
274
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
|
275
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
|
276
|
+
#
|
|
277
|
+
# * `when_supported` - (default) When set, a checksum will be
|
|
278
|
+
# calculated for all request payloads of operations modeled with the
|
|
279
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
|
280
|
+
# `requestAlgorithmMember` is modeled.
|
|
281
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
|
282
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
|
283
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
|
284
|
+
# is modeled and supplied.
|
|
285
|
+
#
|
|
286
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
|
287
|
+
# The minimum size in bytes that triggers compression for request
|
|
288
|
+
# bodies. The value must be non-negative integer value between 0
|
|
289
|
+
# and 10485780 bytes inclusive.
|
|
290
|
+
#
|
|
291
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
|
292
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
|
293
|
+
#
|
|
294
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
|
295
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
|
296
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
|
297
|
+
# are supported.
|
|
298
|
+
# * `when_required` - When set, checksum validation is not performed on
|
|
299
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
|
300
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
|
301
|
+
#
|
|
302
|
+
# @option options [Proc] :retry_backoff
|
|
303
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
|
304
|
+
# This option is only used in the `legacy` retry mode.
|
|
305
|
+
#
|
|
306
|
+
# @option options [Float] :retry_base_delay (0.3)
|
|
307
|
+
# The base delay in seconds used by the default backoff function. This option
|
|
308
|
+
# is only used in the `legacy` retry mode.
|
|
309
|
+
#
|
|
310
|
+
# @option options [Symbol] :retry_jitter (:none)
|
|
311
|
+
# A delay randomiser function used by the default backoff function.
|
|
312
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
|
313
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
|
314
|
+
# in the `legacy` retry mode.
|
|
315
|
+
#
|
|
316
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
|
317
|
+
#
|
|
318
|
+
# @option options [Integer] :retry_limit (3)
|
|
319
|
+
# The maximum number of times to retry failed requests. Only
|
|
320
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
|
321
|
+
# are retried. Generally, these are throttling errors, data
|
|
322
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
|
323
|
+
# endpoint discovery, and errors from expired credentials.
|
|
324
|
+
# This option is only used in the `legacy` retry mode.
|
|
325
|
+
#
|
|
326
|
+
# @option options [Integer] :retry_max_delay (0)
|
|
327
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
|
328
|
+
# used by the default backoff function. This option is only used in the
|
|
329
|
+
# `legacy` retry mode.
|
|
330
|
+
#
|
|
331
|
+
# @option options [String] :retry_mode ("standard")
|
|
332
|
+
# Specifies which retry algorithm to use. Values are:
|
|
333
|
+
#
|
|
334
|
+
# * `legacy` - The pre-existing retry behavior.
|
|
335
|
+
#
|
|
336
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
337
|
+
# This includes support for retry quotas, which limit the number of
|
|
338
|
+
# unsuccessful retries a client can make. This is the default value
|
|
339
|
+
# if no retry mode is provided.
|
|
340
|
+
#
|
|
341
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
342
|
+
# `standard` mode along with automatic client side throttling.
|
|
343
|
+
#
|
|
344
|
+
# @option options [String] :sdk_ua_app_id
|
|
345
|
+
# A unique and opaque application ID that is appended to the
|
|
346
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
|
347
|
+
# maximum length of 50. This variable is sourced from environment
|
|
348
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
|
349
|
+
#
|
|
350
|
+
# @option options [String] :secret_access_key
|
|
351
|
+
#
|
|
352
|
+
# @option options [String] :session_token
|
|
353
|
+
#
|
|
354
|
+
# @option options [Array] :sigv4a_signing_region_set
|
|
355
|
+
# A list of regions that should be signed with SigV4a signing. When
|
|
356
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
|
357
|
+
# in the following locations:
|
|
358
|
+
#
|
|
359
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
|
360
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
|
361
|
+
# * `~/.aws/config`
|
|
362
|
+
#
|
|
363
|
+
# @option options [Boolean] :stub_responses (false)
|
|
364
|
+
# Causes the client to return stubbed responses. By default
|
|
365
|
+
# fake responses are generated and returned. You can specify
|
|
366
|
+
# the response data to return or errors to raise by calling
|
|
367
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
|
368
|
+
#
|
|
369
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
370
|
+
# requests are made, and retries are disabled.
|
|
371
|
+
#
|
|
372
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
|
373
|
+
# Allows you to provide a telemetry provider, which is used to
|
|
374
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
|
375
|
+
# will not record or emit any telemetry data. The SDK supports the
|
|
376
|
+
# following telemetry providers:
|
|
377
|
+
#
|
|
378
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
|
379
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
|
380
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
|
381
|
+
#
|
|
382
|
+
# @option options [Aws::TokenProvider] :token_provider
|
|
383
|
+
# Your Bearer token used for authentication. This can be any class that includes and implements
|
|
384
|
+
# `Aws::TokenProvider`, or instance of any one of the following classes:
|
|
385
|
+
#
|
|
386
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
|
387
|
+
# tokens.
|
|
388
|
+
#
|
|
389
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
|
390
|
+
# access token generated from `aws login`.
|
|
391
|
+
#
|
|
392
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
|
393
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
|
394
|
+
#
|
|
395
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
396
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
397
|
+
# will be used if available.
|
|
398
|
+
#
|
|
399
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
400
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
401
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
402
|
+
# is set to `true`.
|
|
403
|
+
#
|
|
404
|
+
# @option options [Boolean] :validate_params (true)
|
|
405
|
+
# When `true`, request parameters are validated before
|
|
406
|
+
# sending the request.
|
|
407
|
+
#
|
|
408
|
+
# @option options [Aws::BackupExternal::EndpointProvider] :endpoint_provider
|
|
409
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
|
410
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
|
411
|
+
# `Aws::BackupExternal::EndpointParameters`.
|
|
412
|
+
#
|
|
413
|
+
# @option options [Float] :http_continue_timeout (1)
|
|
414
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
|
415
|
+
# request body. This option has no effect unless the request has "Expect"
|
|
416
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
|
417
|
+
# behaviour. This value can safely be set per request on the session.
|
|
418
|
+
#
|
|
419
|
+
# @option options [Float] :http_idle_timeout (5)
|
|
420
|
+
# The number of seconds a connection is allowed to sit idle before it
|
|
421
|
+
# is considered stale. Stale connections are closed and removed from the
|
|
422
|
+
# pool before making a request.
|
|
423
|
+
#
|
|
424
|
+
# @option options [Float] :http_open_timeout (15)
|
|
425
|
+
# The default number of seconds to wait for response data.
|
|
426
|
+
# This value can safely be set per-request on the session.
|
|
427
|
+
#
|
|
428
|
+
# @option options [URI::HTTP,String] :http_proxy
|
|
429
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
|
430
|
+
#
|
|
431
|
+
# @option options [Float] :http_read_timeout (60)
|
|
432
|
+
# The default number of seconds to wait for response data.
|
|
433
|
+
# This value can safely be set per-request on the session.
|
|
434
|
+
#
|
|
435
|
+
# @option options [Boolean] :http_wire_trace (false)
|
|
436
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
|
437
|
+
#
|
|
438
|
+
# @option options [Proc] :on_chunk_received
|
|
439
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
440
|
+
# of the response body is received. It provides three arguments: the chunk,
|
|
441
|
+
# the number of bytes received, and the total number of
|
|
442
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
|
443
|
+
#
|
|
444
|
+
# @option options [Proc] :on_chunk_sent
|
|
445
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
|
446
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
|
447
|
+
# the number of bytes read from the body, and the total number of
|
|
448
|
+
# bytes in the body.
|
|
449
|
+
#
|
|
450
|
+
# @option options [Boolean] :raise_response_errors (true)
|
|
451
|
+
# When `true`, response errors are raised.
|
|
452
|
+
#
|
|
453
|
+
# @option options [String] :ssl_ca_bundle
|
|
454
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
|
455
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
|
456
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
|
457
|
+
#
|
|
458
|
+
# @option options [String] :ssl_ca_directory
|
|
459
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
|
460
|
+
# authority files for verifying peer certificates. If you do
|
|
461
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
|
462
|
+
# default will be used if available.
|
|
463
|
+
#
|
|
464
|
+
# @option options [String] :ssl_ca_store
|
|
465
|
+
# Sets the X509::Store to verify peer certificate.
|
|
466
|
+
#
|
|
467
|
+
# @option options [OpenSSL::X509::Certificate] :ssl_cert
|
|
468
|
+
# Sets a client certificate when creating http connections.
|
|
469
|
+
#
|
|
470
|
+
# @option options [OpenSSL::PKey] :ssl_key
|
|
471
|
+
# Sets a client key when creating http connections.
|
|
472
|
+
#
|
|
473
|
+
# @option options [Float] :ssl_timeout
|
|
474
|
+
# Sets the SSL timeout in seconds
|
|
475
|
+
#
|
|
476
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
|
477
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
|
478
|
+
#
|
|
479
|
+
def initialize(*args)
|
|
480
|
+
super
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
# @!group API Operations
|
|
484
|
+
|
|
485
|
+
# Associates a disk with the specified appliance node for data or
|
|
486
|
+
# metadata storage.
|
|
487
|
+
#
|
|
488
|
+
# @option params [required, String] :appliance_arn
|
|
489
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
490
|
+
#
|
|
491
|
+
# @option params [required, String] :node_arn
|
|
492
|
+
# The Amazon Resource Name (ARN) of the appliance node.
|
|
493
|
+
#
|
|
494
|
+
# @option params [required, String] :disk_identifier
|
|
495
|
+
# The identifier of the disk attached to the appliance node.
|
|
496
|
+
#
|
|
497
|
+
# @option params [required, String] :disk_type
|
|
498
|
+
# The type of storage provided by the disk.
|
|
499
|
+
#
|
|
500
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
501
|
+
#
|
|
502
|
+
# @example Request syntax with placeholder values
|
|
503
|
+
#
|
|
504
|
+
# resp = client.associate_disk({
|
|
505
|
+
# appliance_arn: "ApplianceArn", # required
|
|
506
|
+
# node_arn: "NodeArn", # required
|
|
507
|
+
# disk_identifier: "String", # required
|
|
508
|
+
# disk_type: "DATA", # required, accepts DATA, METADATA
|
|
509
|
+
# })
|
|
510
|
+
#
|
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/AssociateDisk AWS API Documentation
|
|
512
|
+
#
|
|
513
|
+
# @overload associate_disk(params = {})
|
|
514
|
+
# @param [Hash] params ({})
|
|
515
|
+
def associate_disk(params = {}, options = {})
|
|
516
|
+
req = build_request(:associate_disk, params)
|
|
517
|
+
req.send_request(options)
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
# Creates an appliance with the specified network configuration and
|
|
521
|
+
# returns its activation information.
|
|
522
|
+
#
|
|
523
|
+
# @option params [required, String] :appliance_name
|
|
524
|
+
# The name of the appliance.
|
|
525
|
+
#
|
|
526
|
+
# @option params [required, String] :environment_type
|
|
527
|
+
# The environment in which the appliance runs.
|
|
528
|
+
#
|
|
529
|
+
# @option params [required, String] :appliance_iam_role_arn
|
|
530
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
|
531
|
+
# Management (IAM) role used by the appliance.
|
|
532
|
+
#
|
|
533
|
+
# @option params [required, Integer] :node_fault_tolerance
|
|
534
|
+
# The number of node failures that the appliance can tolerate.
|
|
535
|
+
#
|
|
536
|
+
# @option params [required, Types::ApplianceNetworkConfigurationForCreate] :network_configuration
|
|
537
|
+
# The network configuration of the appliance.
|
|
538
|
+
#
|
|
539
|
+
# @option params [String] :client_token
|
|
540
|
+
# A unique, case-sensitive identifier that you provide to ensure that
|
|
541
|
+
# the request is idempotent.
|
|
542
|
+
#
|
|
543
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
544
|
+
# not need to pass this option.**
|
|
545
|
+
#
|
|
546
|
+
# @option params [Hash<String,String>] :tags
|
|
547
|
+
# The tags to associate with the appliance.
|
|
548
|
+
#
|
|
549
|
+
# @return [Types::CreateApplianceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
550
|
+
#
|
|
551
|
+
# * {Types::CreateApplianceOutput#appliance_arn #appliance_arn} => String
|
|
552
|
+
# * {Types::CreateApplianceOutput#created_at #created_at} => Time
|
|
553
|
+
# * {Types::CreateApplianceOutput#image #image} => String
|
|
554
|
+
# * {Types::CreateApplianceOutput#aws_ova_image_root_certificate_download_url #aws_ova_image_root_certificate_download_url} => String
|
|
555
|
+
# * {Types::CreateApplianceOutput#activation_token #activation_token} => String
|
|
556
|
+
# * {Types::CreateApplianceOutput#activation_token_expires_at #activation_token_expires_at} => Time
|
|
557
|
+
#
|
|
558
|
+
# @example Request syntax with placeholder values
|
|
559
|
+
#
|
|
560
|
+
# resp = client.create_appliance({
|
|
561
|
+
# appliance_name: "String", # required
|
|
562
|
+
# environment_type: "EC2", # required, accepts EC2, VMWARE
|
|
563
|
+
# appliance_iam_role_arn: "RoleArn", # required
|
|
564
|
+
# node_fault_tolerance: 1, # required
|
|
565
|
+
# network_configuration: { # required
|
|
566
|
+
# subnet_gateway: "String", # required
|
|
567
|
+
# subnet_mask: "String", # required
|
|
568
|
+
# dns_servers: ["String"], # required
|
|
569
|
+
# ntp_servers: ["String"], # required
|
|
570
|
+
# domain_name: "String",
|
|
571
|
+
# search_domains: ["String"],
|
|
572
|
+
# },
|
|
573
|
+
# client_token: "ClientToken",
|
|
574
|
+
# tags: {
|
|
575
|
+
# "TagKey" => "TagValue",
|
|
576
|
+
# },
|
|
577
|
+
# })
|
|
578
|
+
#
|
|
579
|
+
# @example Response structure
|
|
580
|
+
#
|
|
581
|
+
# resp.appliance_arn #=> String
|
|
582
|
+
# resp.created_at #=> Time
|
|
583
|
+
# resp.image #=> String
|
|
584
|
+
# resp.aws_ova_image_root_certificate_download_url #=> String
|
|
585
|
+
# resp.activation_token #=> String
|
|
586
|
+
# resp.activation_token_expires_at #=> Time
|
|
587
|
+
#
|
|
588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/CreateAppliance AWS API Documentation
|
|
589
|
+
#
|
|
590
|
+
# @overload create_appliance(params = {})
|
|
591
|
+
# @param [Hash] params ({})
|
|
592
|
+
def create_appliance(params = {}, options = {})
|
|
593
|
+
req = build_request(:create_appliance, params)
|
|
594
|
+
req.send_request(options)
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
# Creates a resource provider on the specified appliance with
|
|
598
|
+
# configuration for the provider and its resource targets.
|
|
599
|
+
#
|
|
600
|
+
# @option params [required, String] :appliance_arn
|
|
601
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
602
|
+
#
|
|
603
|
+
# @option params [String] :client_token
|
|
604
|
+
# A unique, case-sensitive identifier that you provide to ensure that
|
|
605
|
+
# the request is idempotent.
|
|
606
|
+
#
|
|
607
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
608
|
+
# not need to pass this option.**
|
|
609
|
+
#
|
|
610
|
+
# @option params [String] :name
|
|
611
|
+
# The name of the resource provider.
|
|
612
|
+
#
|
|
613
|
+
# @option params [required, Types::ResourceProviderConfiguration] :provider_configuration
|
|
614
|
+
# The configuration of the resource provider.
|
|
615
|
+
#
|
|
616
|
+
# @option params [required, String] :provider_type
|
|
617
|
+
# The type of resource provider.
|
|
618
|
+
#
|
|
619
|
+
# @option params [String] :secret_configuration_arn
|
|
620
|
+
# The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used
|
|
621
|
+
# to access the resource provider.
|
|
622
|
+
#
|
|
623
|
+
# @option params [Hash<String,String>] :tags
|
|
624
|
+
# The tags to associate with the resource provider.
|
|
625
|
+
#
|
|
626
|
+
# @option params [required, Types::ResourceTargetConfigurations] :target_configuration
|
|
627
|
+
# The default backup configurations for the resource provider's
|
|
628
|
+
# resource targets, by target type.
|
|
629
|
+
#
|
|
630
|
+
# @option params [Hash<String,String>] :target_tags_on_create
|
|
631
|
+
# The tags to apply when the resource provider's resource targets are
|
|
632
|
+
# created.
|
|
633
|
+
#
|
|
634
|
+
# @option params [Array<String>] :target_tag_keys_to_sync
|
|
635
|
+
# The tag keys whose values are synchronized from external resources to
|
|
636
|
+
# their resource targets.
|
|
637
|
+
#
|
|
638
|
+
# @option params [Integer] :auto_delete_not_found_targets_after_days
|
|
639
|
+
# The number of days after which resource targets with a status of
|
|
640
|
+
# `NOT_FOUND` are automatically deleted.
|
|
641
|
+
#
|
|
642
|
+
# @return [Types::CreateResourceProviderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
643
|
+
#
|
|
644
|
+
# * {Types::CreateResourceProviderOutput#arn #arn} => String
|
|
645
|
+
#
|
|
646
|
+
# @example Request syntax with placeholder values
|
|
647
|
+
#
|
|
648
|
+
# resp = client.create_resource_provider({
|
|
649
|
+
# appliance_arn: "ApplianceArn", # required
|
|
650
|
+
# client_token: "ClientToken",
|
|
651
|
+
# name: "ResourceName",
|
|
652
|
+
# provider_configuration: { # required
|
|
653
|
+
# mssql_server: {
|
|
654
|
+
# endpoint: "Endpoint", # required
|
|
655
|
+
# },
|
|
656
|
+
# nas_share: {
|
|
657
|
+
# share_path: "ResourceProviderConfigurationForNasShareSharePathString", # required
|
|
658
|
+
# protocol: "NFS_3", # required, accepts NFS_3, NFS_4_1, SMB
|
|
659
|
+
# },
|
|
660
|
+
# oracledb_server: {
|
|
661
|
+
# endpoint: "Endpoint", # required
|
|
662
|
+
# },
|
|
663
|
+
# oracledb_cluster: {
|
|
664
|
+
# alternative_endpoint: "Endpoint",
|
|
665
|
+
# endpoint: "Endpoint", # required
|
|
666
|
+
# },
|
|
667
|
+
# server_host: {
|
|
668
|
+
# endpoint: "Endpoint", # required
|
|
669
|
+
# },
|
|
670
|
+
# vmware_esxi: {
|
|
671
|
+
# endpoint: "Endpoint", # required
|
|
672
|
+
# max_concurrent_streams_per_datastore: 1,
|
|
673
|
+
# min_free_datastore_space_for_backup_percentage: 1.0,
|
|
674
|
+
# min_free_datastore_space_for_backup_gb: 1.0,
|
|
675
|
+
# },
|
|
676
|
+
# vmware_vcenter: {
|
|
677
|
+
# endpoint: "Endpoint", # required
|
|
678
|
+
# max_concurrent_streams_per_datastore: 1,
|
|
679
|
+
# min_free_datastore_space_for_backup_percentage: 1.0,
|
|
680
|
+
# min_free_datastore_space_for_backup_gb: 1.0,
|
|
681
|
+
# max_concurrent_vm_backups: 1,
|
|
682
|
+
# },
|
|
683
|
+
# },
|
|
684
|
+
# provider_type: "MSSQL_SERVER", # required, accepts MSSQL_SERVER, NAS_SHARE, ORACLEDB_SERVER, ORACLEDB_CLUSTER, SERVER_HOST, VMWARE_ESXI, VMWARE_VCENTER
|
|
685
|
+
# secret_configuration_arn: "SecretConfigurationArn",
|
|
686
|
+
# tags: {
|
|
687
|
+
# "TagKey" => "TagValue",
|
|
688
|
+
# },
|
|
689
|
+
# target_configuration: { # required
|
|
690
|
+
# mssql_database: {
|
|
691
|
+
# full_backup_after_days: 1, # required
|
|
692
|
+
# full_backup_after_schedule_expression: "ResourceTargetConfigurationForMssqlDatabaseFullBackupAfterScheduleExpressionString",
|
|
693
|
+
# backup_stream_count: 1,
|
|
694
|
+
# is_copy_only_full: false, # required
|
|
695
|
+
# log_backup_frequency_in_minutes: 1,
|
|
696
|
+
# },
|
|
697
|
+
# nas_filesystem: {
|
|
698
|
+
# allow_unencrypted_data_transfer: false, # required
|
|
699
|
+
# },
|
|
700
|
+
# oracledb_database: {
|
|
701
|
+
# full_backup_after_days: 1, # required
|
|
702
|
+
# full_backup_after_schedule_expression: "ResourceTargetConfigurationForOracledbDatabaseFullBackupAfterScheduleExpressionString",
|
|
703
|
+
# backup_channel_count: 1,
|
|
704
|
+
# backup_node_host_name: "HostName",
|
|
705
|
+
# log_backup_frequency_in_minutes: 1,
|
|
706
|
+
# log_retention_on_host_in_hours: 1,
|
|
707
|
+
# },
|
|
708
|
+
# server_filesystem: {
|
|
709
|
+
# backup_consistency: "NON_CONSISTENT", # accepts NON_CONSISTENT, CRASH_CONSISTENT, CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT
|
|
710
|
+
# post_backup_script: {
|
|
711
|
+
# script_params: "StringMax256",
|
|
712
|
+
# script_path: "ServerFilesystemBackupScriptPath", # required
|
|
713
|
+
# timeout_in_minutes: 1,
|
|
714
|
+
# },
|
|
715
|
+
# pre_backup_script: {
|
|
716
|
+
# continue_backup_on_script_failure: false, # required
|
|
717
|
+
# script_params: "StringMax256",
|
|
718
|
+
# script_path: "ServerFilesystemBackupScriptPath", # required
|
|
719
|
+
# timeout_in_minutes: 1,
|
|
720
|
+
# },
|
|
721
|
+
# },
|
|
722
|
+
# vmware_vm: {
|
|
723
|
+
# backup_consistency: "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", # accepts APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT, APP_CONSISTENT, CRASH_CONSISTENT
|
|
724
|
+
# },
|
|
725
|
+
# },
|
|
726
|
+
# target_tags_on_create: {
|
|
727
|
+
# "TagKey" => "TagValue",
|
|
728
|
+
# },
|
|
729
|
+
# target_tag_keys_to_sync: ["ResourceTargetTagKeyToSync"],
|
|
730
|
+
# auto_delete_not_found_targets_after_days: 1,
|
|
731
|
+
# })
|
|
732
|
+
#
|
|
733
|
+
# @example Response structure
|
|
734
|
+
#
|
|
735
|
+
# resp.arn #=> String
|
|
736
|
+
#
|
|
737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/CreateResourceProvider AWS API Documentation
|
|
738
|
+
#
|
|
739
|
+
# @overload create_resource_provider(params = {})
|
|
740
|
+
# @param [Hash] params ({})
|
|
741
|
+
def create_resource_provider(params = {}, options = {})
|
|
742
|
+
req = build_request(:create_resource_provider, params)
|
|
743
|
+
req.send_request(options)
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
# Deletes the specified appliance.
|
|
747
|
+
#
|
|
748
|
+
# @option params [required, String] :appliance_arn
|
|
749
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
750
|
+
#
|
|
751
|
+
# @option params [Boolean] :force
|
|
752
|
+
# Specifies whether to delete the appliance without waiting for the
|
|
753
|
+
# appliance to confirm the deletion. You can force deletion only when
|
|
754
|
+
# the appliance management status is `DISCONNECTED` or `DELETE_FAILED`.
|
|
755
|
+
#
|
|
756
|
+
# @return [Types::DeleteApplianceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
757
|
+
#
|
|
758
|
+
# * {Types::DeleteApplianceOutput#appliance_arn #appliance_arn} => String
|
|
759
|
+
# * {Types::DeleteApplianceOutput#appliance_management_status #appliance_management_status} => String
|
|
760
|
+
#
|
|
761
|
+
# @example Request syntax with placeholder values
|
|
762
|
+
#
|
|
763
|
+
# resp = client.delete_appliance({
|
|
764
|
+
# appliance_arn: "ApplianceArn", # required
|
|
765
|
+
# force: false,
|
|
766
|
+
# })
|
|
767
|
+
#
|
|
768
|
+
# @example Response structure
|
|
769
|
+
#
|
|
770
|
+
# resp.appliance_arn #=> String
|
|
771
|
+
# resp.appliance_management_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "UPDATING", "DELETE_FAILED", "DISCONNECTED", "SUSPENDED"
|
|
772
|
+
#
|
|
773
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/DeleteAppliance AWS API Documentation
|
|
774
|
+
#
|
|
775
|
+
# @overload delete_appliance(params = {})
|
|
776
|
+
# @param [Hash] params ({})
|
|
777
|
+
def delete_appliance(params = {}, options = {})
|
|
778
|
+
req = build_request(:delete_appliance, params)
|
|
779
|
+
req.send_request(options)
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
# Deletes the specified node from an appliance.
|
|
783
|
+
#
|
|
784
|
+
# @option params [required, String] :appliance_arn
|
|
785
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
786
|
+
#
|
|
787
|
+
# @option params [required, String] :node_arn
|
|
788
|
+
# The Amazon Resource Name (ARN) of the appliance node.
|
|
789
|
+
#
|
|
790
|
+
# @return [Types::DeleteNodeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
791
|
+
#
|
|
792
|
+
# * {Types::DeleteNodeOutput#appliance_arn #appliance_arn} => String
|
|
793
|
+
# * {Types::DeleteNodeOutput#node_arn #node_arn} => String
|
|
794
|
+
# * {Types::DeleteNodeOutput#node_management_status #node_management_status} => String
|
|
795
|
+
#
|
|
796
|
+
# @example Request syntax with placeholder values
|
|
797
|
+
#
|
|
798
|
+
# resp = client.delete_node({
|
|
799
|
+
# appliance_arn: "ApplianceArn", # required
|
|
800
|
+
# node_arn: "NodeArn", # required
|
|
801
|
+
# })
|
|
802
|
+
#
|
|
803
|
+
# @example Response structure
|
|
804
|
+
#
|
|
805
|
+
# resp.appliance_arn #=> String
|
|
806
|
+
# resp.node_arn #=> String
|
|
807
|
+
# resp.node_management_status #=> String, one of "PENDING_VERIFICATION", "PENDING_NODE_ADDITION", "AVAILABLE", "FAILED", "UPDATING", "DELETING", "DELETED"
|
|
808
|
+
#
|
|
809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/DeleteNode AWS API Documentation
|
|
810
|
+
#
|
|
811
|
+
# @overload delete_node(params = {})
|
|
812
|
+
# @param [Hash] params ({})
|
|
813
|
+
def delete_node(params = {}, options = {})
|
|
814
|
+
req = build_request(:delete_node, params)
|
|
815
|
+
req.send_request(options)
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# Deletes the specified resource provider.
|
|
819
|
+
#
|
|
820
|
+
# @option params [required, String] :arn
|
|
821
|
+
# The Amazon Resource Name (ARN) of the resource provider.
|
|
822
|
+
#
|
|
823
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
824
|
+
#
|
|
825
|
+
# @example Request syntax with placeholder values
|
|
826
|
+
#
|
|
827
|
+
# resp = client.delete_resource_provider({
|
|
828
|
+
# arn: "ResourceProviderArn", # required
|
|
829
|
+
# })
|
|
830
|
+
#
|
|
831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/DeleteResourceProvider AWS API Documentation
|
|
832
|
+
#
|
|
833
|
+
# @overload delete_resource_provider(params = {})
|
|
834
|
+
# @param [Hash] params ({})
|
|
835
|
+
def delete_resource_provider(params = {}, options = {})
|
|
836
|
+
req = build_request(:delete_resource_provider, params)
|
|
837
|
+
req.send_request(options)
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
# Deletes the specified resource target.
|
|
841
|
+
#
|
|
842
|
+
# @option params [required, String] :arn
|
|
843
|
+
# The Amazon Resource Name (ARN) of the resource target.
|
|
844
|
+
#
|
|
845
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
846
|
+
#
|
|
847
|
+
# @example Request syntax with placeholder values
|
|
848
|
+
#
|
|
849
|
+
# resp = client.delete_resource_target({
|
|
850
|
+
# arn: "ResourceTargetArn", # required
|
|
851
|
+
# })
|
|
852
|
+
#
|
|
853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/DeleteResourceTarget AWS API Documentation
|
|
854
|
+
#
|
|
855
|
+
# @overload delete_resource_target(params = {})
|
|
856
|
+
# @param [Hash] params ({})
|
|
857
|
+
def delete_resource_target(params = {}, options = {})
|
|
858
|
+
req = build_request(:delete_resource_target, params)
|
|
859
|
+
req.send_request(options)
|
|
860
|
+
end
|
|
861
|
+
|
|
862
|
+
# Returns activation credentials and image information for the specified
|
|
863
|
+
# appliance.
|
|
864
|
+
#
|
|
865
|
+
# @option params [required, String] :appliance_arn
|
|
866
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
867
|
+
#
|
|
868
|
+
# @return [Types::GetActivationCredentialsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
869
|
+
#
|
|
870
|
+
# * {Types::GetActivationCredentialsOutput#image #image} => String
|
|
871
|
+
# * {Types::GetActivationCredentialsOutput#aws_ova_image_root_certificate_download_url #aws_ova_image_root_certificate_download_url} => String
|
|
872
|
+
# * {Types::GetActivationCredentialsOutput#activation_token_expires_at #activation_token_expires_at} => Time
|
|
873
|
+
# * {Types::GetActivationCredentialsOutput#activation_token #activation_token} => String
|
|
874
|
+
#
|
|
875
|
+
# @example Request syntax with placeholder values
|
|
876
|
+
#
|
|
877
|
+
# resp = client.get_activation_credentials({
|
|
878
|
+
# appliance_arn: "ApplianceArn", # required
|
|
879
|
+
# })
|
|
880
|
+
#
|
|
881
|
+
# @example Response structure
|
|
882
|
+
#
|
|
883
|
+
# resp.image #=> String
|
|
884
|
+
# resp.aws_ova_image_root_certificate_download_url #=> String
|
|
885
|
+
# resp.activation_token_expires_at #=> Time
|
|
886
|
+
# resp.activation_token #=> String
|
|
887
|
+
#
|
|
888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/GetActivationCredentials AWS API Documentation
|
|
889
|
+
#
|
|
890
|
+
# @overload get_activation_credentials(params = {})
|
|
891
|
+
# @param [Hash] params ({})
|
|
892
|
+
def get_activation_credentials(params = {}, options = {})
|
|
893
|
+
req = build_request(:get_activation_credentials, params)
|
|
894
|
+
req.send_request(options)
|
|
895
|
+
end
|
|
896
|
+
|
|
897
|
+
# Returns the agent installer download URL and version for the specified
|
|
898
|
+
# appliance and platform.
|
|
899
|
+
#
|
|
900
|
+
# @option params [required, String] :appliance_arn
|
|
901
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
902
|
+
#
|
|
903
|
+
# @option params [required, String] :platform
|
|
904
|
+
# The platform and installation format for the agent download.
|
|
905
|
+
#
|
|
906
|
+
# @return [Types::GetAgentDownloadOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
907
|
+
#
|
|
908
|
+
# * {Types::GetAgentDownloadOutput#agent_download_url #agent_download_url} => String
|
|
909
|
+
# * {Types::GetAgentDownloadOutput#agent_version #agent_version} => String
|
|
910
|
+
# * {Types::GetAgentDownloadOutput#signing_certificate_download_url #signing_certificate_download_url} => String
|
|
911
|
+
# * {Types::GetAgentDownloadOutput#agent_certificate_bundle_download_url #agent_certificate_bundle_download_url} => String
|
|
912
|
+
#
|
|
913
|
+
# @example Request syntax with placeholder values
|
|
914
|
+
#
|
|
915
|
+
# resp = client.get_agent_download({
|
|
916
|
+
# appliance_arn: "ApplianceArn", # required
|
|
917
|
+
# platform: "WINDOWS", # required, accepts WINDOWS, LINUX_RPM, LINUX_SUSE_RPM, LINUX_DEB, LINUX_SCRIPT
|
|
918
|
+
# })
|
|
919
|
+
#
|
|
920
|
+
# @example Response structure
|
|
921
|
+
#
|
|
922
|
+
# resp.agent_download_url #=> String
|
|
923
|
+
# resp.agent_version #=> String
|
|
924
|
+
# resp.signing_certificate_download_url #=> String
|
|
925
|
+
# resp.agent_certificate_bundle_download_url #=> String
|
|
926
|
+
#
|
|
927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/GetAgentDownload AWS API Documentation
|
|
928
|
+
#
|
|
929
|
+
# @overload get_agent_download(params = {})
|
|
930
|
+
# @param [Hash] params ({})
|
|
931
|
+
def get_agent_download(params = {}, options = {})
|
|
932
|
+
req = build_request(:get_agent_download, params)
|
|
933
|
+
req.send_request(options)
|
|
934
|
+
end
|
|
935
|
+
|
|
936
|
+
# Retrieves the current auto-upgrade settings for an appliance.
|
|
937
|
+
#
|
|
938
|
+
# @option params [required, String] :appliance_arn
|
|
939
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
940
|
+
#
|
|
941
|
+
# @return [Types::GetAgentUpgradeSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
942
|
+
#
|
|
943
|
+
# * {Types::GetAgentUpgradeSettingsOutput#enable_auto_upgrade #enable_auto_upgrade} => Boolean
|
|
944
|
+
# * {Types::GetAgentUpgradeSettingsOutput#start_hour_utc #start_hour_utc} => Integer
|
|
945
|
+
# * {Types::GetAgentUpgradeSettingsOutput#end_hour_utc #end_hour_utc} => Integer
|
|
946
|
+
#
|
|
947
|
+
# @example Request syntax with placeholder values
|
|
948
|
+
#
|
|
949
|
+
# resp = client.get_agent_upgrade_settings({
|
|
950
|
+
# appliance_arn: "ApplianceArn", # required
|
|
951
|
+
# })
|
|
952
|
+
#
|
|
953
|
+
# @example Response structure
|
|
954
|
+
#
|
|
955
|
+
# resp.enable_auto_upgrade #=> Boolean
|
|
956
|
+
# resp.start_hour_utc #=> Integer
|
|
957
|
+
# resp.end_hour_utc #=> Integer
|
|
958
|
+
#
|
|
959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/GetAgentUpgradeSettings AWS API Documentation
|
|
960
|
+
#
|
|
961
|
+
# @overload get_agent_upgrade_settings(params = {})
|
|
962
|
+
# @param [Hash] params ({})
|
|
963
|
+
def get_agent_upgrade_settings(params = {}, options = {})
|
|
964
|
+
req = build_request(:get_agent_upgrade_settings, params)
|
|
965
|
+
req.send_request(options)
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
# Returns the configuration and status of the specified appliance. To
|
|
969
|
+
# retrieve the nodes belonging to the appliance, use ListNodes.
|
|
970
|
+
#
|
|
971
|
+
# @option params [required, String] :appliance_arn
|
|
972
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
973
|
+
#
|
|
974
|
+
# @return [Types::GetApplianceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
975
|
+
#
|
|
976
|
+
# * {Types::GetApplianceOutput#appliance_arn #appliance_arn} => String
|
|
977
|
+
# * {Types::GetApplianceOutput#appliance_name #appliance_name} => String
|
|
978
|
+
# * {Types::GetApplianceOutput#environment_type #environment_type} => String
|
|
979
|
+
# * {Types::GetApplianceOutput#appliance_iam_role_arn #appliance_iam_role_arn} => String
|
|
980
|
+
# * {Types::GetApplianceOutput#node_fault_tolerance #node_fault_tolerance} => Integer
|
|
981
|
+
# * {Types::GetApplianceOutput#network_configuration #network_configuration} => Types::ApplianceNetworkConfigurationForGetAppliance
|
|
982
|
+
# * {Types::GetApplianceOutput#appliance_management_status #appliance_management_status} => String
|
|
983
|
+
# * {Types::GetApplianceOutput#appliance_operation_mode #appliance_operation_mode} => String
|
|
984
|
+
# * {Types::GetApplianceOutput#health_status #health_status} => String
|
|
985
|
+
# * {Types::GetApplianceOutput#notifications #notifications} => Array<Types::Notification>
|
|
986
|
+
# * {Types::GetApplianceOutput#created_at #created_at} => Time
|
|
987
|
+
# * {Types::GetApplianceOutput#deleted_at #deleted_at} => Time
|
|
988
|
+
# * {Types::GetApplianceOutput#patched_at #patched_at} => Time
|
|
989
|
+
# * {Types::GetApplianceOutput#software_version #software_version} => String
|
|
990
|
+
# * {Types::GetApplianceOutput#tags #tags} => Hash<String,String>
|
|
991
|
+
#
|
|
992
|
+
# @example Request syntax with placeholder values
|
|
993
|
+
#
|
|
994
|
+
# resp = client.get_appliance({
|
|
995
|
+
# appliance_arn: "ApplianceArn", # required
|
|
996
|
+
# })
|
|
997
|
+
#
|
|
998
|
+
# @example Response structure
|
|
999
|
+
#
|
|
1000
|
+
# resp.appliance_arn #=> String
|
|
1001
|
+
# resp.appliance_name #=> String
|
|
1002
|
+
# resp.environment_type #=> String, one of "EC2", "VMWARE"
|
|
1003
|
+
# resp.appliance_iam_role_arn #=> String
|
|
1004
|
+
# resp.node_fault_tolerance #=> Integer
|
|
1005
|
+
# resp.network_configuration.domain_name #=> String
|
|
1006
|
+
# resp.network_configuration.search_domains #=> Array
|
|
1007
|
+
# resp.network_configuration.search_domains[0] #=> String
|
|
1008
|
+
# resp.network_configuration.dns_servers #=> Array
|
|
1009
|
+
# resp.network_configuration.dns_servers[0] #=> String
|
|
1010
|
+
# resp.network_configuration.ntp_servers #=> Array
|
|
1011
|
+
# resp.network_configuration.ntp_servers[0] #=> String
|
|
1012
|
+
# resp.network_configuration.subnet_gateway #=> String
|
|
1013
|
+
# resp.network_configuration.subnet_mask #=> String
|
|
1014
|
+
# resp.appliance_management_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "UPDATING", "DELETE_FAILED", "DISCONNECTED", "SUSPENDED"
|
|
1015
|
+
# resp.appliance_operation_mode #=> String, one of "PENDING", "RUNNING", "PAUSED"
|
|
1016
|
+
# resp.health_status #=> String, one of "UNKNOWN", "HEALTHY", "WARNING", "CRITICAL"
|
|
1017
|
+
# resp.notifications #=> Array
|
|
1018
|
+
# resp.notifications[0].message #=> String
|
|
1019
|
+
# resp.created_at #=> Time
|
|
1020
|
+
# resp.deleted_at #=> Time
|
|
1021
|
+
# resp.patched_at #=> Time
|
|
1022
|
+
# resp.software_version #=> String
|
|
1023
|
+
# resp.tags #=> Hash
|
|
1024
|
+
# resp.tags["TagKey"] #=> String
|
|
1025
|
+
#
|
|
1026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/GetAppliance AWS API Documentation
|
|
1027
|
+
#
|
|
1028
|
+
# @overload get_appliance(params = {})
|
|
1029
|
+
# @param [Hash] params ({})
|
|
1030
|
+
def get_appliance(params = {}, options = {})
|
|
1031
|
+
req = build_request(:get_appliance, params)
|
|
1032
|
+
req.send_request(options)
|
|
1033
|
+
end
|
|
1034
|
+
|
|
1035
|
+
# Returns appliance sizing recommendations for the specified workloads
|
|
1036
|
+
# and projection period.
|
|
1037
|
+
#
|
|
1038
|
+
# @option params [required, Array<Types::SizingWorkload>] :workloads
|
|
1039
|
+
# The workloads for which to calculate appliance sizing recommendations.
|
|
1040
|
+
#
|
|
1041
|
+
# @option params [required, Integer] :projection_years
|
|
1042
|
+
# The number of years for which to calculate appliance sizing
|
|
1043
|
+
# projections.
|
|
1044
|
+
#
|
|
1045
|
+
# @option params [Integer] :node_fault_tolerance
|
|
1046
|
+
# The number of node failures that the appliance can tolerate.
|
|
1047
|
+
#
|
|
1048
|
+
# @option params [required, String] :node_type
|
|
1049
|
+
# The type of appliance node to use in the sizing calculation.
|
|
1050
|
+
#
|
|
1051
|
+
# @return [Types::GetApplianceSizingRecommendationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1052
|
+
#
|
|
1053
|
+
# * {Types::GetApplianceSizingRecommendationOutput#projections #projections} => Array<Types::SizingProjection>
|
|
1054
|
+
#
|
|
1055
|
+
# @example Request syntax with placeholder values
|
|
1056
|
+
#
|
|
1057
|
+
# resp = client.get_appliance_sizing_recommendation({
|
|
1058
|
+
# workloads: [ # required
|
|
1059
|
+
# {
|
|
1060
|
+
# initial_size_ti_b: 1.0, # required
|
|
1061
|
+
# change_rate_percent: 1.0, # required
|
|
1062
|
+
# annual_growth_rate_percent: 1.0, # required
|
|
1063
|
+
# completion_window_minutes: 1,
|
|
1064
|
+
# enable_copy_to_cloud: false,
|
|
1065
|
+
# backup_configuration: { # required
|
|
1066
|
+
# vmware_vm: {
|
|
1067
|
+
# backup_rules: [ # required
|
|
1068
|
+
# {
|
|
1069
|
+
# frequency: 1,
|
|
1070
|
+
# frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
|
|
1071
|
+
# delete_after_days: 1,
|
|
1072
|
+
# enable_continuous_backup: false,
|
|
1073
|
+
# log_backup_frequency_in_minutes: 1,
|
|
1074
|
+
# },
|
|
1075
|
+
# ],
|
|
1076
|
+
# },
|
|
1077
|
+
# mssql_database: {
|
|
1078
|
+
# backup_rules: [ # required
|
|
1079
|
+
# {
|
|
1080
|
+
# frequency: 1,
|
|
1081
|
+
# frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
|
|
1082
|
+
# delete_after_days: 1,
|
|
1083
|
+
# enable_continuous_backup: false,
|
|
1084
|
+
# log_backup_frequency_in_minutes: 1,
|
|
1085
|
+
# },
|
|
1086
|
+
# ],
|
|
1087
|
+
# full_backup_after_days: 1, # required
|
|
1088
|
+
# log_change_rate_percent: 1.0,
|
|
1089
|
+
# },
|
|
1090
|
+
# oracle_database: {
|
|
1091
|
+
# backup_rules: [ # required
|
|
1092
|
+
# {
|
|
1093
|
+
# frequency: 1,
|
|
1094
|
+
# frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
|
|
1095
|
+
# delete_after_days: 1,
|
|
1096
|
+
# enable_continuous_backup: false,
|
|
1097
|
+
# log_backup_frequency_in_minutes: 1,
|
|
1098
|
+
# },
|
|
1099
|
+
# ],
|
|
1100
|
+
# full_backup_after_days: 1, # required
|
|
1101
|
+
# log_change_rate_percent: 1.0,
|
|
1102
|
+
# },
|
|
1103
|
+
# nas: {
|
|
1104
|
+
# data_profile: "STANDARD", # required, accepts STANDARD, STRUCTURED, NON_DEDUPABLE
|
|
1105
|
+
# initial_file_count_in_millions: 1.0, # required
|
|
1106
|
+
# backup_rules: [ # required
|
|
1107
|
+
# {
|
|
1108
|
+
# frequency: 1,
|
|
1109
|
+
# frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
|
|
1110
|
+
# delete_after_days: 1,
|
|
1111
|
+
# enable_continuous_backup: false,
|
|
1112
|
+
# log_backup_frequency_in_minutes: 1,
|
|
1113
|
+
# },
|
|
1114
|
+
# ],
|
|
1115
|
+
# },
|
|
1116
|
+
# physical_server: {
|
|
1117
|
+
# backup_rules: [ # required
|
|
1118
|
+
# {
|
|
1119
|
+
# frequency: 1,
|
|
1120
|
+
# frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
|
|
1121
|
+
# delete_after_days: 1,
|
|
1122
|
+
# enable_continuous_backup: false,
|
|
1123
|
+
# log_backup_frequency_in_minutes: 1,
|
|
1124
|
+
# },
|
|
1125
|
+
# ],
|
|
1126
|
+
# },
|
|
1127
|
+
# },
|
|
1128
|
+
# },
|
|
1129
|
+
# ],
|
|
1130
|
+
# projection_years: 1, # required
|
|
1131
|
+
# node_fault_tolerance: 1,
|
|
1132
|
+
# node_type: "EC2", # required, accepts EC2, VMWARE
|
|
1133
|
+
# })
|
|
1134
|
+
#
|
|
1135
|
+
# @example Response structure
|
|
1136
|
+
#
|
|
1137
|
+
# resp.projections #=> Array
|
|
1138
|
+
# resp.projections[0].year #=> Integer
|
|
1139
|
+
# resp.projections[0].required_node_count #=> Integer
|
|
1140
|
+
# resp.projections[0].data_storage_size_ti_b_per_node #=> Float
|
|
1141
|
+
# resp.projections[0].metadata_storage_size_ti_b_per_node #=> Float
|
|
1142
|
+
#
|
|
1143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/GetApplianceSizingRecommendation AWS API Documentation
|
|
1144
|
+
#
|
|
1145
|
+
# @overload get_appliance_sizing_recommendation(params = {})
|
|
1146
|
+
# @param [Hash] params ({})
|
|
1147
|
+
def get_appliance_sizing_recommendation(params = {}, options = {})
|
|
1148
|
+
req = build_request(:get_appliance_sizing_recommendation, params)
|
|
1149
|
+
req.send_request(options)
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
# Returns information about the specified appliance node.
|
|
1153
|
+
#
|
|
1154
|
+
# @option params [required, String] :appliance_arn
|
|
1155
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
1156
|
+
#
|
|
1157
|
+
# @option params [required, String] :node_arn
|
|
1158
|
+
# The Amazon Resource Name (ARN) of the appliance node.
|
|
1159
|
+
#
|
|
1160
|
+
# @return [Types::GetNodeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1161
|
+
#
|
|
1162
|
+
# * {Types::GetNodeOutput#appliance_arn #appliance_arn} => String
|
|
1163
|
+
# * {Types::GetNodeOutput#node_arn #node_arn} => String
|
|
1164
|
+
# * {Types::GetNodeOutput#ip_address #ip_address} => String
|
|
1165
|
+
# * {Types::GetNodeOutput#environment_type #environment_type} => String
|
|
1166
|
+
# * {Types::GetNodeOutput#node_management_status #node_management_status} => String
|
|
1167
|
+
# * {Types::GetNodeOutput#health_status #health_status} => String
|
|
1168
|
+
# * {Types::GetNodeOutput#notifications #notifications} => Array<Types::Notification>
|
|
1169
|
+
# * {Types::GetNodeOutput#created_at #created_at} => Time
|
|
1170
|
+
# * {Types::GetNodeOutput#deleted_at #deleted_at} => Time
|
|
1171
|
+
# * {Types::GetNodeOutput#software_version #software_version} => String
|
|
1172
|
+
# * {Types::GetNodeOutput#tags #tags} => Hash<String,String>
|
|
1173
|
+
#
|
|
1174
|
+
# @example Request syntax with placeholder values
|
|
1175
|
+
#
|
|
1176
|
+
# resp = client.get_node({
|
|
1177
|
+
# appliance_arn: "ApplianceArn", # required
|
|
1178
|
+
# node_arn: "NodeArn", # required
|
|
1179
|
+
# })
|
|
1180
|
+
#
|
|
1181
|
+
# @example Response structure
|
|
1182
|
+
#
|
|
1183
|
+
# resp.appliance_arn #=> String
|
|
1184
|
+
# resp.node_arn #=> String
|
|
1185
|
+
# resp.ip_address #=> String
|
|
1186
|
+
# resp.environment_type #=> String, one of "EC2", "VMWARE"
|
|
1187
|
+
# resp.node_management_status #=> String, one of "PENDING_VERIFICATION", "PENDING_NODE_ADDITION", "AVAILABLE", "FAILED", "UPDATING", "DELETING", "DELETED"
|
|
1188
|
+
# resp.health_status #=> String, one of "UNKNOWN", "HEALTHY", "WARNING", "CRITICAL"
|
|
1189
|
+
# resp.notifications #=> Array
|
|
1190
|
+
# resp.notifications[0].message #=> String
|
|
1191
|
+
# resp.created_at #=> Time
|
|
1192
|
+
# resp.deleted_at #=> Time
|
|
1193
|
+
# resp.software_version #=> String
|
|
1194
|
+
# resp.tags #=> Hash
|
|
1195
|
+
# resp.tags["TagKey"] #=> String
|
|
1196
|
+
#
|
|
1197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/GetNode AWS API Documentation
|
|
1198
|
+
#
|
|
1199
|
+
# @overload get_node(params = {})
|
|
1200
|
+
# @param [Hash] params ({})
|
|
1201
|
+
def get_node(params = {}, options = {})
|
|
1202
|
+
req = build_request(:get_node, params)
|
|
1203
|
+
req.send_request(options)
|
|
1204
|
+
end
|
|
1205
|
+
|
|
1206
|
+
# Returns configuration, metadata, and status information for the
|
|
1207
|
+
# specified resource provider.
|
|
1208
|
+
#
|
|
1209
|
+
# @option params [required, String] :arn
|
|
1210
|
+
# The Amazon Resource Name (ARN) of the resource provider.
|
|
1211
|
+
#
|
|
1212
|
+
# @return [Types::GetResourceProviderOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1213
|
+
#
|
|
1214
|
+
# * {Types::GetResourceProviderOutput#agent_compliance_status #agent_compliance_status} => String
|
|
1215
|
+
# * {Types::GetResourceProviderOutput#agent_upgrade_status #agent_upgrade_status} => String
|
|
1216
|
+
# * {Types::GetResourceProviderOutput#agent_upgrade_status_message #agent_upgrade_status_message} => String
|
|
1217
|
+
# * {Types::GetResourceProviderOutput#agent_version_current #agent_version_current} => String
|
|
1218
|
+
# * {Types::GetResourceProviderOutput#agent_version_latest #agent_version_latest} => String
|
|
1219
|
+
# * {Types::GetResourceProviderOutput#appliance_arn #appliance_arn} => String
|
|
1220
|
+
# * {Types::GetResourceProviderOutput#arn #arn} => String
|
|
1221
|
+
# * {Types::GetResourceProviderOutput#created_at #created_at} => Time
|
|
1222
|
+
# * {Types::GetResourceProviderOutput#last_sync_started_at #last_sync_started_at} => Time
|
|
1223
|
+
# * {Types::GetResourceProviderOutput#last_sync_completed_at #last_sync_completed_at} => Time
|
|
1224
|
+
# * {Types::GetResourceProviderOutput#name #name} => String
|
|
1225
|
+
# * {Types::GetResourceProviderOutput#provider_configuration #provider_configuration} => Types::ResourceProviderConfiguration
|
|
1226
|
+
# * {Types::GetResourceProviderOutput#provider_metadata #provider_metadata} => Types::ResourceProviderMetadata
|
|
1227
|
+
# * {Types::GetResourceProviderOutput#provider_type #provider_type} => String
|
|
1228
|
+
# * {Types::GetResourceProviderOutput#secret_configuration_arn #secret_configuration_arn} => String
|
|
1229
|
+
# * {Types::GetResourceProviderOutput#status #status} => String
|
|
1230
|
+
# * {Types::GetResourceProviderOutput#status_message #status_message} => String
|
|
1231
|
+
# * {Types::GetResourceProviderOutput#target_configuration #target_configuration} => Types::ResourceTargetConfigurations
|
|
1232
|
+
# * {Types::GetResourceProviderOutput#target_tags_on_create #target_tags_on_create} => Hash<String,String>
|
|
1233
|
+
# * {Types::GetResourceProviderOutput#target_tag_keys_to_sync #target_tag_keys_to_sync} => Array<String>
|
|
1234
|
+
# * {Types::GetResourceProviderOutput#auto_delete_not_found_targets_after_days #auto_delete_not_found_targets_after_days} => Integer
|
|
1235
|
+
# * {Types::GetResourceProviderOutput#updated_at #updated_at} => Time
|
|
1236
|
+
#
|
|
1237
|
+
# @example Request syntax with placeholder values
|
|
1238
|
+
#
|
|
1239
|
+
# resp = client.get_resource_provider({
|
|
1240
|
+
# arn: "ResourceProviderArn", # required
|
|
1241
|
+
# })
|
|
1242
|
+
#
|
|
1243
|
+
# @example Response structure
|
|
1244
|
+
#
|
|
1245
|
+
# resp.agent_compliance_status #=> String, one of "NON_COMPLIANT", "UP_TO_DATE", "UPGRADE_AVAILABLE"
|
|
1246
|
+
# resp.agent_upgrade_status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "FAILED"
|
|
1247
|
+
# resp.agent_upgrade_status_message #=> String
|
|
1248
|
+
# resp.agent_version_current #=> String
|
|
1249
|
+
# resp.agent_version_latest #=> String
|
|
1250
|
+
# resp.appliance_arn #=> String
|
|
1251
|
+
# resp.arn #=> String
|
|
1252
|
+
# resp.created_at #=> Time
|
|
1253
|
+
# resp.last_sync_started_at #=> Time
|
|
1254
|
+
# resp.last_sync_completed_at #=> Time
|
|
1255
|
+
# resp.name #=> String
|
|
1256
|
+
# resp.provider_configuration.mssql_server.endpoint #=> String
|
|
1257
|
+
# resp.provider_configuration.nas_share.share_path #=> String
|
|
1258
|
+
# resp.provider_configuration.nas_share.protocol #=> String, one of "NFS_3", "NFS_4_1", "SMB"
|
|
1259
|
+
# resp.provider_configuration.oracledb_server.endpoint #=> String
|
|
1260
|
+
# resp.provider_configuration.oracledb_cluster.alternative_endpoint #=> String
|
|
1261
|
+
# resp.provider_configuration.oracledb_cluster.endpoint #=> String
|
|
1262
|
+
# resp.provider_configuration.server_host.endpoint #=> String
|
|
1263
|
+
# resp.provider_configuration.vmware_esxi.endpoint #=> String
|
|
1264
|
+
# resp.provider_configuration.vmware_esxi.max_concurrent_streams_per_datastore #=> Integer
|
|
1265
|
+
# resp.provider_configuration.vmware_esxi.min_free_datastore_space_for_backup_percentage #=> Float
|
|
1266
|
+
# resp.provider_configuration.vmware_esxi.min_free_datastore_space_for_backup_gb #=> Float
|
|
1267
|
+
# resp.provider_configuration.vmware_vcenter.endpoint #=> String
|
|
1268
|
+
# resp.provider_configuration.vmware_vcenter.max_concurrent_streams_per_datastore #=> Integer
|
|
1269
|
+
# resp.provider_configuration.vmware_vcenter.min_free_datastore_space_for_backup_percentage #=> Float
|
|
1270
|
+
# resp.provider_configuration.vmware_vcenter.min_free_datastore_space_for_backup_gb #=> Float
|
|
1271
|
+
# resp.provider_configuration.vmware_vcenter.max_concurrent_vm_backups #=> Integer
|
|
1272
|
+
# resp.provider_metadata.mssql_server.database_count #=> Integer
|
|
1273
|
+
# resp.provider_metadata.mssql_server.instance_count #=> Integer
|
|
1274
|
+
# resp.provider_metadata.mssql_server.os_name #=> String
|
|
1275
|
+
# resp.provider_metadata.mssql_server.os_type #=> String
|
|
1276
|
+
# resp.provider_metadata.oracledb_server.database_count #=> Integer
|
|
1277
|
+
# resp.provider_metadata.oracledb_server.os_name #=> String
|
|
1278
|
+
# resp.provider_metadata.oracledb_server.software_version #=> String
|
|
1279
|
+
# resp.provider_metadata.oracledb_cluster.cluster_node_count #=> Integer
|
|
1280
|
+
# resp.provider_metadata.oracledb_cluster.database_count #=> Integer
|
|
1281
|
+
# resp.provider_metadata.server_host.logical_size_in_bytes #=> Integer
|
|
1282
|
+
# resp.provider_metadata.server_host.os_name #=> String
|
|
1283
|
+
# resp.provider_metadata.server_host.os_type #=> String
|
|
1284
|
+
# resp.provider_type #=> String, one of "MSSQL_SERVER", "NAS_SHARE", "ORACLEDB_SERVER", "ORACLEDB_CLUSTER", "SERVER_HOST", "VMWARE_ESXI", "VMWARE_VCENTER"
|
|
1285
|
+
# resp.secret_configuration_arn #=> String
|
|
1286
|
+
# resp.status #=> String, one of "DELETING", "DELETION_FAILED", "MIGRATING", "MIGRATION_FAILED", "SYNCING", "SYNC_COMPLETED", "SYNC_FAILED"
|
|
1287
|
+
# resp.status_message #=> String
|
|
1288
|
+
# resp.target_configuration.mssql_database.full_backup_after_days #=> Integer
|
|
1289
|
+
# resp.target_configuration.mssql_database.full_backup_after_schedule_expression #=> String
|
|
1290
|
+
# resp.target_configuration.mssql_database.backup_stream_count #=> Integer
|
|
1291
|
+
# resp.target_configuration.mssql_database.is_copy_only_full #=> Boolean
|
|
1292
|
+
# resp.target_configuration.mssql_database.log_backup_frequency_in_minutes #=> Integer
|
|
1293
|
+
# resp.target_configuration.nas_filesystem.allow_unencrypted_data_transfer #=> Boolean
|
|
1294
|
+
# resp.target_configuration.oracledb_database.full_backup_after_days #=> Integer
|
|
1295
|
+
# resp.target_configuration.oracledb_database.full_backup_after_schedule_expression #=> String
|
|
1296
|
+
# resp.target_configuration.oracledb_database.backup_channel_count #=> Integer
|
|
1297
|
+
# resp.target_configuration.oracledb_database.backup_node_host_name #=> String
|
|
1298
|
+
# resp.target_configuration.oracledb_database.log_backup_frequency_in_minutes #=> Integer
|
|
1299
|
+
# resp.target_configuration.oracledb_database.log_retention_on_host_in_hours #=> Integer
|
|
1300
|
+
# resp.target_configuration.server_filesystem.backup_consistency #=> String, one of "NON_CONSISTENT", "CRASH_CONSISTENT", "CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT"
|
|
1301
|
+
# resp.target_configuration.server_filesystem.post_backup_script.script_params #=> String
|
|
1302
|
+
# resp.target_configuration.server_filesystem.post_backup_script.script_path #=> String
|
|
1303
|
+
# resp.target_configuration.server_filesystem.post_backup_script.timeout_in_minutes #=> Integer
|
|
1304
|
+
# resp.target_configuration.server_filesystem.pre_backup_script.continue_backup_on_script_failure #=> Boolean
|
|
1305
|
+
# resp.target_configuration.server_filesystem.pre_backup_script.script_params #=> String
|
|
1306
|
+
# resp.target_configuration.server_filesystem.pre_backup_script.script_path #=> String
|
|
1307
|
+
# resp.target_configuration.server_filesystem.pre_backup_script.timeout_in_minutes #=> Integer
|
|
1308
|
+
# resp.target_configuration.vmware_vm.backup_consistency #=> String, one of "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", "APP_CONSISTENT", "CRASH_CONSISTENT"
|
|
1309
|
+
# resp.target_tags_on_create #=> Hash
|
|
1310
|
+
# resp.target_tags_on_create["TagKey"] #=> String
|
|
1311
|
+
# resp.target_tag_keys_to_sync #=> Array
|
|
1312
|
+
# resp.target_tag_keys_to_sync[0] #=> String
|
|
1313
|
+
# resp.auto_delete_not_found_targets_after_days #=> Integer
|
|
1314
|
+
# resp.updated_at #=> Time
|
|
1315
|
+
#
|
|
1316
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/GetResourceProvider AWS API Documentation
|
|
1317
|
+
#
|
|
1318
|
+
# @overload get_resource_provider(params = {})
|
|
1319
|
+
# @param [Hash] params ({})
|
|
1320
|
+
def get_resource_provider(params = {}, options = {})
|
|
1321
|
+
req = build_request(:get_resource_provider, params)
|
|
1322
|
+
req.send_request(options)
|
|
1323
|
+
end
|
|
1324
|
+
|
|
1325
|
+
# Returns configuration, metadata, and status information for the
|
|
1326
|
+
# specified resource target.
|
|
1327
|
+
#
|
|
1328
|
+
# @option params [required, String] :arn
|
|
1329
|
+
# The Amazon Resource Name (ARN) of the resource target.
|
|
1330
|
+
#
|
|
1331
|
+
# @return [Types::GetResourceTargetOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1332
|
+
#
|
|
1333
|
+
# * {Types::GetResourceTargetOutput#arn #arn} => String
|
|
1334
|
+
# * {Types::GetResourceTargetOutput#created_at #created_at} => Time
|
|
1335
|
+
# * {Types::GetResourceTargetOutput#external_identifier #external_identifier} => String
|
|
1336
|
+
# * {Types::GetResourceTargetOutput#external_name #external_name} => String
|
|
1337
|
+
# * {Types::GetResourceTargetOutput#last_synced_at #last_synced_at} => Time
|
|
1338
|
+
# * {Types::GetResourceTargetOutput#name #name} => String
|
|
1339
|
+
# * {Types::GetResourceTargetOutput#provider_arn #provider_arn} => String
|
|
1340
|
+
# * {Types::GetResourceTargetOutput#provider_type #provider_type} => String
|
|
1341
|
+
# * {Types::GetResourceTargetOutput#status #status} => String
|
|
1342
|
+
# * {Types::GetResourceTargetOutput#status_message #status_message} => String
|
|
1343
|
+
# * {Types::GetResourceTargetOutput#target_configuration #target_configuration} => Types::ResourceTargetConfiguration
|
|
1344
|
+
# * {Types::GetResourceTargetOutput#target_configuration_source #target_configuration_source} => String
|
|
1345
|
+
# * {Types::GetResourceTargetOutput#target_metadata #target_metadata} => Types::ResourceTargetMetadata
|
|
1346
|
+
# * {Types::GetResourceTargetOutput#target_type #target_type} => String
|
|
1347
|
+
# * {Types::GetResourceTargetOutput#updated_at #updated_at} => Time
|
|
1348
|
+
#
|
|
1349
|
+
# @example Request syntax with placeholder values
|
|
1350
|
+
#
|
|
1351
|
+
# resp = client.get_resource_target({
|
|
1352
|
+
# arn: "ResourceTargetArn", # required
|
|
1353
|
+
# })
|
|
1354
|
+
#
|
|
1355
|
+
# @example Response structure
|
|
1356
|
+
#
|
|
1357
|
+
# resp.arn #=> String
|
|
1358
|
+
# resp.created_at #=> Time
|
|
1359
|
+
# resp.external_identifier #=> String
|
|
1360
|
+
# resp.external_name #=> String
|
|
1361
|
+
# resp.last_synced_at #=> Time
|
|
1362
|
+
# resp.name #=> String
|
|
1363
|
+
# resp.provider_arn #=> String
|
|
1364
|
+
# resp.provider_type #=> String, one of "MSSQL_SERVER", "NAS_SHARE", "ORACLEDB_SERVER", "ORACLEDB_CLUSTER", "SERVER_HOST", "VMWARE_ESXI", "VMWARE_VCENTER"
|
|
1365
|
+
# resp.status #=> String, one of "AVAILABLE", "UNAVAILABLE", "NOT_FOUND", "DELETING", "MIGRATING"
|
|
1366
|
+
# resp.status_message #=> String
|
|
1367
|
+
# resp.target_configuration.mssql_database.full_backup_after_days #=> Integer
|
|
1368
|
+
# resp.target_configuration.mssql_database.full_backup_after_schedule_expression #=> String
|
|
1369
|
+
# resp.target_configuration.mssql_database.backup_stream_count #=> Integer
|
|
1370
|
+
# resp.target_configuration.mssql_database.is_copy_only_full #=> Boolean
|
|
1371
|
+
# resp.target_configuration.mssql_database.log_backup_frequency_in_minutes #=> Integer
|
|
1372
|
+
# resp.target_configuration.nas_filesystem.allow_unencrypted_data_transfer #=> Boolean
|
|
1373
|
+
# resp.target_configuration.oracledb_database.full_backup_after_days #=> Integer
|
|
1374
|
+
# resp.target_configuration.oracledb_database.full_backup_after_schedule_expression #=> String
|
|
1375
|
+
# resp.target_configuration.oracledb_database.backup_channel_count #=> Integer
|
|
1376
|
+
# resp.target_configuration.oracledb_database.backup_node_host_name #=> String
|
|
1377
|
+
# resp.target_configuration.oracledb_database.log_backup_frequency_in_minutes #=> Integer
|
|
1378
|
+
# resp.target_configuration.oracledb_database.log_retention_on_host_in_hours #=> Integer
|
|
1379
|
+
# resp.target_configuration.server_filesystem.backup_consistency #=> String, one of "NON_CONSISTENT", "CRASH_CONSISTENT", "CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT"
|
|
1380
|
+
# resp.target_configuration.server_filesystem.post_backup_script.script_params #=> String
|
|
1381
|
+
# resp.target_configuration.server_filesystem.post_backup_script.script_path #=> String
|
|
1382
|
+
# resp.target_configuration.server_filesystem.post_backup_script.timeout_in_minutes #=> Integer
|
|
1383
|
+
# resp.target_configuration.server_filesystem.pre_backup_script.continue_backup_on_script_failure #=> Boolean
|
|
1384
|
+
# resp.target_configuration.server_filesystem.pre_backup_script.script_params #=> String
|
|
1385
|
+
# resp.target_configuration.server_filesystem.pre_backup_script.script_path #=> String
|
|
1386
|
+
# resp.target_configuration.server_filesystem.pre_backup_script.timeout_in_minutes #=> Integer
|
|
1387
|
+
# resp.target_configuration.vmware_vm.backup_consistency #=> String, one of "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", "APP_CONSISTENT", "CRASH_CONSISTENT"
|
|
1388
|
+
# resp.target_configuration_source #=> String, one of "PROVIDER", "TARGET"
|
|
1389
|
+
# resp.target_metadata.mssql_database.compatibility_level #=> String
|
|
1390
|
+
# resp.target_metadata.mssql_database.database_name #=> String
|
|
1391
|
+
# resp.target_metadata.mssql_database.database_identifier #=> String
|
|
1392
|
+
# resp.target_metadata.mssql_database.filestream_status #=> String
|
|
1393
|
+
# resp.target_metadata.mssql_database.instance_name #=> String
|
|
1394
|
+
# resp.target_metadata.mssql_database.is_system_db #=> Boolean
|
|
1395
|
+
# resp.target_metadata.mssql_database.logical_size_in_bytes #=> Integer
|
|
1396
|
+
# resp.target_metadata.mssql_database.recovery_model #=> String, one of "SIMPLE", "FULL", "BULK_LOGGED"
|
|
1397
|
+
# resp.target_metadata.mssql_database.software_version #=> String
|
|
1398
|
+
# resp.target_metadata.mssql_database.transparent_data_encryption_enabled #=> Boolean
|
|
1399
|
+
# resp.target_metadata.oracledb_database.database_name #=> String
|
|
1400
|
+
# resp.target_metadata.oracledb_database.database_identifier #=> String
|
|
1401
|
+
# resp.target_metadata.oracledb_database.logical_size_in_bytes #=> Integer
|
|
1402
|
+
# resp.target_metadata.oracledb_database.software_version #=> String
|
|
1403
|
+
# resp.target_metadata.oracledb_database.transparent_data_encryption_enabled #=> Boolean
|
|
1404
|
+
# resp.target_metadata.vmware_vm.guest_os_type #=> String
|
|
1405
|
+
# resp.target_metadata.vmware_vm.ip_address #=> String
|
|
1406
|
+
# resp.target_metadata.vmware_vm.logical_size_in_bytes #=> Integer
|
|
1407
|
+
# resp.target_metadata.vmware_vm.resource_pool_path #=> String
|
|
1408
|
+
# resp.target_metadata.vmware_vm.virtual_hardware_version #=> String
|
|
1409
|
+
# resp.target_metadata.vmware_vm.vm_folder_path #=> String
|
|
1410
|
+
# resp.target_metadata.vmware_vm.vm_name #=> String
|
|
1411
|
+
# resp.target_metadata.vmware_vm.vm_mo_id #=> String
|
|
1412
|
+
# resp.target_metadata.vmware_vm.vmware_tools_status #=> String
|
|
1413
|
+
# resp.target_type #=> String, one of "MSSQL_DATABASE", "NAS_FILESYSTEM", "ORACLEDB_DATABASE", "SERVER_FILESYSTEM", "VMWARE_VM"
|
|
1414
|
+
# resp.updated_at #=> Time
|
|
1415
|
+
#
|
|
1416
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/GetResourceTarget AWS API Documentation
|
|
1417
|
+
#
|
|
1418
|
+
# @overload get_resource_target(params = {})
|
|
1419
|
+
# @param [Hash] params ({})
|
|
1420
|
+
def get_resource_target(params = {}, options = {})
|
|
1421
|
+
req = build_request(:get_resource_target, params)
|
|
1422
|
+
req.send_request(options)
|
|
1423
|
+
end
|
|
1424
|
+
|
|
1425
|
+
# Returns a list of appliances. Use the pagination token to retrieve
|
|
1426
|
+
# additional results.
|
|
1427
|
+
#
|
|
1428
|
+
# @option params [Integer] :max_results
|
|
1429
|
+
# The maximum number of results to return in a single response.
|
|
1430
|
+
#
|
|
1431
|
+
# @option params [String] :next_token
|
|
1432
|
+
# The token returned by a previous call to retrieve the next page of
|
|
1433
|
+
# results.
|
|
1434
|
+
#
|
|
1435
|
+
# @return [Types::ListAppliancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1436
|
+
#
|
|
1437
|
+
# * {Types::ListAppliancesOutput#appliances #appliances} => Array<Types::ApplianceListMember>
|
|
1438
|
+
# * {Types::ListAppliancesOutput#next_token #next_token} => String
|
|
1439
|
+
#
|
|
1440
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1441
|
+
#
|
|
1442
|
+
# @example Request syntax with placeholder values
|
|
1443
|
+
#
|
|
1444
|
+
# resp = client.list_appliances({
|
|
1445
|
+
# max_results: 1,
|
|
1446
|
+
# next_token: "NextToken",
|
|
1447
|
+
# })
|
|
1448
|
+
#
|
|
1449
|
+
# @example Response structure
|
|
1450
|
+
#
|
|
1451
|
+
# resp.appliances #=> Array
|
|
1452
|
+
# resp.appliances[0].appliance_arn #=> String
|
|
1453
|
+
# resp.appliances[0].appliance_name #=> String
|
|
1454
|
+
# resp.appliances[0].environment_type #=> String, one of "EC2", "VMWARE"
|
|
1455
|
+
# resp.appliances[0].appliance_management_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "UPDATING", "DELETE_FAILED", "DISCONNECTED", "SUSPENDED"
|
|
1456
|
+
# resp.appliances[0].appliance_operation_mode #=> String, one of "PENDING", "RUNNING", "PAUSED"
|
|
1457
|
+
# resp.appliances[0].health_status #=> String, one of "UNKNOWN", "HEALTHY", "WARNING", "CRITICAL"
|
|
1458
|
+
# resp.appliances[0].notifications #=> Array
|
|
1459
|
+
# resp.appliances[0].notifications[0].message #=> String
|
|
1460
|
+
# resp.appliances[0].created_at #=> Time
|
|
1461
|
+
# resp.appliances[0].deleted_at #=> Time
|
|
1462
|
+
# resp.appliances[0].patched_at #=> Time
|
|
1463
|
+
# resp.next_token #=> String
|
|
1464
|
+
#
|
|
1465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/ListAppliances AWS API Documentation
|
|
1466
|
+
#
|
|
1467
|
+
# @overload list_appliances(params = {})
|
|
1468
|
+
# @param [Hash] params ({})
|
|
1469
|
+
def list_appliances(params = {}, options = {})
|
|
1470
|
+
req = build_request(:list_appliances, params)
|
|
1471
|
+
req.send_request(options)
|
|
1472
|
+
end
|
|
1473
|
+
|
|
1474
|
+
# Returns a list of disks attached to the specified appliance node. Use
|
|
1475
|
+
# the pagination token to retrieve additional results.
|
|
1476
|
+
#
|
|
1477
|
+
# @option params [required, String] :appliance_arn
|
|
1478
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
1479
|
+
#
|
|
1480
|
+
# @option params [required, String] :node_arn
|
|
1481
|
+
# The Amazon Resource Name (ARN) of the appliance node.
|
|
1482
|
+
#
|
|
1483
|
+
# @option params [Integer] :max_results
|
|
1484
|
+
# The maximum number of results to return in a single response.
|
|
1485
|
+
#
|
|
1486
|
+
# @option params [String] :next_token
|
|
1487
|
+
# The token returned by a previous call to retrieve the next page of
|
|
1488
|
+
# results.
|
|
1489
|
+
#
|
|
1490
|
+
# @return [Types::ListDisksOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1491
|
+
#
|
|
1492
|
+
# * {Types::ListDisksOutput#disks #disks} => Array<Types::ListDisksDiskSummary>
|
|
1493
|
+
# * {Types::ListDisksOutput#next_token #next_token} => String
|
|
1494
|
+
#
|
|
1495
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1496
|
+
#
|
|
1497
|
+
# @example Request syntax with placeholder values
|
|
1498
|
+
#
|
|
1499
|
+
# resp = client.list_disks({
|
|
1500
|
+
# appliance_arn: "ApplianceArn", # required
|
|
1501
|
+
# node_arn: "NodeArn", # required
|
|
1502
|
+
# max_results: 1,
|
|
1503
|
+
# next_token: "NextToken",
|
|
1504
|
+
# })
|
|
1505
|
+
#
|
|
1506
|
+
# @example Response structure
|
|
1507
|
+
#
|
|
1508
|
+
# resp.disks #=> Array
|
|
1509
|
+
# resp.disks[0].disk_identifier #=> String
|
|
1510
|
+
# resp.disks[0].device_path #=> String
|
|
1511
|
+
# resp.disks[0].size_in_bytes #=> Integer
|
|
1512
|
+
# resp.disks[0].status #=> String, one of "AVAILABLE", "ASSOCIATED"
|
|
1513
|
+
# resp.disks[0].associated_at #=> Time
|
|
1514
|
+
# resp.disks[0].disk_type #=> String, one of "DATA", "METADATA"
|
|
1515
|
+
# resp.next_token #=> String
|
|
1516
|
+
#
|
|
1517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/ListDisks AWS API Documentation
|
|
1518
|
+
#
|
|
1519
|
+
# @overload list_disks(params = {})
|
|
1520
|
+
# @param [Hash] params ({})
|
|
1521
|
+
def list_disks(params = {}, options = {})
|
|
1522
|
+
req = build_request(:list_disks, params)
|
|
1523
|
+
req.send_request(options)
|
|
1524
|
+
end
|
|
1525
|
+
|
|
1526
|
+
# Returns a list of nodes belonging to the specified appliance. Use the
|
|
1527
|
+
# pagination token to retrieve additional results.
|
|
1528
|
+
#
|
|
1529
|
+
# @option params [required, String] :appliance_arn
|
|
1530
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
1531
|
+
#
|
|
1532
|
+
# @option params [Integer] :max_results
|
|
1533
|
+
# The maximum number of results to return in a single response.
|
|
1534
|
+
#
|
|
1535
|
+
# @option params [String] :next_token
|
|
1536
|
+
# The token returned by a previous call to retrieve the next page of
|
|
1537
|
+
# results.
|
|
1538
|
+
#
|
|
1539
|
+
# @return [Types::ListNodesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1540
|
+
#
|
|
1541
|
+
# * {Types::ListNodesOutput#nodes #nodes} => Array<Types::ApplianceNodeListMember>
|
|
1542
|
+
# * {Types::ListNodesOutput#next_token #next_token} => String
|
|
1543
|
+
#
|
|
1544
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1545
|
+
#
|
|
1546
|
+
# @example Request syntax with placeholder values
|
|
1547
|
+
#
|
|
1548
|
+
# resp = client.list_nodes({
|
|
1549
|
+
# appliance_arn: "ApplianceArn", # required
|
|
1550
|
+
# max_results: 1,
|
|
1551
|
+
# next_token: "NextToken",
|
|
1552
|
+
# })
|
|
1553
|
+
#
|
|
1554
|
+
# @example Response structure
|
|
1555
|
+
#
|
|
1556
|
+
# resp.nodes #=> Array
|
|
1557
|
+
# resp.nodes[0].appliance_arn #=> String
|
|
1558
|
+
# resp.nodes[0].node_arn #=> String
|
|
1559
|
+
# resp.nodes[0].ip_address #=> String
|
|
1560
|
+
# resp.nodes[0].environment_type #=> String, one of "EC2", "VMWARE"
|
|
1561
|
+
# resp.nodes[0].node_management_status #=> String, one of "PENDING_VERIFICATION", "PENDING_NODE_ADDITION", "AVAILABLE", "FAILED", "UPDATING", "DELETING", "DELETED"
|
|
1562
|
+
# resp.nodes[0].health_status #=> String, one of "UNKNOWN", "HEALTHY", "WARNING", "CRITICAL"
|
|
1563
|
+
# resp.nodes[0].notifications #=> Array
|
|
1564
|
+
# resp.nodes[0].notifications[0].message #=> String
|
|
1565
|
+
# resp.nodes[0].created_at #=> Time
|
|
1566
|
+
# resp.nodes[0].deleted_at #=> Time
|
|
1567
|
+
# resp.nodes[0].software_version #=> String
|
|
1568
|
+
# resp.next_token #=> String
|
|
1569
|
+
#
|
|
1570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/ListNodes AWS API Documentation
|
|
1571
|
+
#
|
|
1572
|
+
# @overload list_nodes(params = {})
|
|
1573
|
+
# @param [Hash] params ({})
|
|
1574
|
+
def list_nodes(params = {}, options = {})
|
|
1575
|
+
req = build_request(:list_nodes, params)
|
|
1576
|
+
req.send_request(options)
|
|
1577
|
+
end
|
|
1578
|
+
|
|
1579
|
+
# Returns a list of resource providers, optionally filtered by appliance
|
|
1580
|
+
# or provider type. Use the pagination token to retrieve additional
|
|
1581
|
+
# results.
|
|
1582
|
+
#
|
|
1583
|
+
# @option params [String] :appliance_arn
|
|
1584
|
+
# The Amazon Resource Name (ARN) of the appliance by which to filter the
|
|
1585
|
+
# results.
|
|
1586
|
+
#
|
|
1587
|
+
# @option params [Integer] :max_results
|
|
1588
|
+
# The maximum number of results to return in a single response.
|
|
1589
|
+
#
|
|
1590
|
+
# @option params [String] :next_token
|
|
1591
|
+
# The token returned by a previous call to retrieve the next page of
|
|
1592
|
+
# results.
|
|
1593
|
+
#
|
|
1594
|
+
# @option params [String] :resource_provider_type
|
|
1595
|
+
# The resource provider type by which to filter the results.
|
|
1596
|
+
#
|
|
1597
|
+
# @return [Types::ListResourceProvidersOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1598
|
+
#
|
|
1599
|
+
# * {Types::ListResourceProvidersOutput#next_token #next_token} => String
|
|
1600
|
+
# * {Types::ListResourceProvidersOutput#items #items} => Array<Types::ResourceProviderListItem>
|
|
1601
|
+
#
|
|
1602
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1603
|
+
#
|
|
1604
|
+
# @example Request syntax with placeholder values
|
|
1605
|
+
#
|
|
1606
|
+
# resp = client.list_resource_providers({
|
|
1607
|
+
# appliance_arn: "ApplianceArn",
|
|
1608
|
+
# max_results: 1,
|
|
1609
|
+
# next_token: "NextToken",
|
|
1610
|
+
# resource_provider_type: "MSSQL_SERVER", # accepts MSSQL_SERVER, NAS_SHARE, ORACLEDB_SERVER, ORACLEDB_CLUSTER, SERVER_HOST, VMWARE_ESXI, VMWARE_VCENTER
|
|
1611
|
+
# })
|
|
1612
|
+
#
|
|
1613
|
+
# @example Response structure
|
|
1614
|
+
#
|
|
1615
|
+
# resp.next_token #=> String
|
|
1616
|
+
# resp.items #=> Array
|
|
1617
|
+
# resp.items[0].agent_compliance_status #=> String, one of "NON_COMPLIANT", "UP_TO_DATE", "UPGRADE_AVAILABLE"
|
|
1618
|
+
# resp.items[0].agent_upgrade_status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "FAILED"
|
|
1619
|
+
# resp.items[0].agent_upgrade_status_message #=> String
|
|
1620
|
+
# resp.items[0].agent_version_current #=> String
|
|
1621
|
+
# resp.items[0].agent_version_latest #=> String
|
|
1622
|
+
# resp.items[0].appliance_arn #=> String
|
|
1623
|
+
# resp.items[0].arn #=> String
|
|
1624
|
+
# resp.items[0].created_at #=> Time
|
|
1625
|
+
# resp.items[0].last_sync_started_at #=> Time
|
|
1626
|
+
# resp.items[0].last_sync_completed_at #=> Time
|
|
1627
|
+
# resp.items[0].name #=> String
|
|
1628
|
+
# resp.items[0].provider_type #=> String, one of "MSSQL_SERVER", "NAS_SHARE", "ORACLEDB_SERVER", "ORACLEDB_CLUSTER", "SERVER_HOST", "VMWARE_ESXI", "VMWARE_VCENTER"
|
|
1629
|
+
# resp.items[0].secret_configuration_arn #=> String
|
|
1630
|
+
# resp.items[0].status #=> String, one of "DELETING", "DELETION_FAILED", "MIGRATING", "MIGRATION_FAILED", "SYNCING", "SYNC_COMPLETED", "SYNC_FAILED"
|
|
1631
|
+
# resp.items[0].status_message #=> String
|
|
1632
|
+
# resp.items[0].updated_at #=> Time
|
|
1633
|
+
#
|
|
1634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/ListResourceProviders AWS API Documentation
|
|
1635
|
+
#
|
|
1636
|
+
# @overload list_resource_providers(params = {})
|
|
1637
|
+
# @param [Hash] params ({})
|
|
1638
|
+
def list_resource_providers(params = {}, options = {})
|
|
1639
|
+
req = build_request(:list_resource_providers, params)
|
|
1640
|
+
req.send_request(options)
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1643
|
+
# Returns a list of resource targets, optionally filtered by resource
|
|
1644
|
+
# provider or target type. Use the pagination token to retrieve
|
|
1645
|
+
# additional results.
|
|
1646
|
+
#
|
|
1647
|
+
# @option params [Integer] :max_results
|
|
1648
|
+
# The maximum number of results to return in a single response.
|
|
1649
|
+
#
|
|
1650
|
+
# @option params [String] :next_token
|
|
1651
|
+
# The token returned by a previous call to retrieve the next page of
|
|
1652
|
+
# results.
|
|
1653
|
+
#
|
|
1654
|
+
# @option params [String] :resource_provider_arn
|
|
1655
|
+
# The Amazon Resource Name (ARN) of the resource provider by which to
|
|
1656
|
+
# filter the results.
|
|
1657
|
+
#
|
|
1658
|
+
# @option params [String] :resource_target_type
|
|
1659
|
+
# The resource target type by which to filter the results.
|
|
1660
|
+
#
|
|
1661
|
+
# @return [Types::ListResourceTargetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1662
|
+
#
|
|
1663
|
+
# * {Types::ListResourceTargetsOutput#items #items} => Array<Types::ResourceTargetListItem>
|
|
1664
|
+
# * {Types::ListResourceTargetsOutput#next_token #next_token} => String
|
|
1665
|
+
#
|
|
1666
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1667
|
+
#
|
|
1668
|
+
# @example Request syntax with placeholder values
|
|
1669
|
+
#
|
|
1670
|
+
# resp = client.list_resource_targets({
|
|
1671
|
+
# max_results: 1,
|
|
1672
|
+
# next_token: "NextToken",
|
|
1673
|
+
# resource_provider_arn: "ResourceProviderArn",
|
|
1674
|
+
# resource_target_type: "MSSQL_DATABASE", # accepts MSSQL_DATABASE, NAS_FILESYSTEM, ORACLEDB_DATABASE, SERVER_FILESYSTEM, VMWARE_VM
|
|
1675
|
+
# })
|
|
1676
|
+
#
|
|
1677
|
+
# @example Response structure
|
|
1678
|
+
#
|
|
1679
|
+
# resp.items #=> Array
|
|
1680
|
+
# resp.items[0].arn #=> String
|
|
1681
|
+
# resp.items[0].created_at #=> Time
|
|
1682
|
+
# resp.items[0].external_identifier #=> String
|
|
1683
|
+
# resp.items[0].external_name #=> String
|
|
1684
|
+
# resp.items[0].last_synced_at #=> Time
|
|
1685
|
+
# resp.items[0].name #=> String
|
|
1686
|
+
# resp.items[0].provider_arn #=> String
|
|
1687
|
+
# resp.items[0].provider_type #=> String, one of "MSSQL_SERVER", "NAS_SHARE", "ORACLEDB_SERVER", "ORACLEDB_CLUSTER", "SERVER_HOST", "VMWARE_ESXI", "VMWARE_VCENTER"
|
|
1688
|
+
# resp.items[0].status #=> String, one of "AVAILABLE", "UNAVAILABLE", "NOT_FOUND", "DELETING", "MIGRATING"
|
|
1689
|
+
# resp.items[0].status_message #=> String
|
|
1690
|
+
# resp.items[0].target_type #=> String, one of "MSSQL_DATABASE", "NAS_FILESYSTEM", "ORACLEDB_DATABASE", "SERVER_FILESYSTEM", "VMWARE_VM"
|
|
1691
|
+
# resp.items[0].updated_at #=> Time
|
|
1692
|
+
# resp.next_token #=> String
|
|
1693
|
+
#
|
|
1694
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/ListResourceTargets AWS API Documentation
|
|
1695
|
+
#
|
|
1696
|
+
# @overload list_resource_targets(params = {})
|
|
1697
|
+
# @param [Hash] params ({})
|
|
1698
|
+
def list_resource_targets(params = {}, options = {})
|
|
1699
|
+
req = build_request(:list_resource_targets, params)
|
|
1700
|
+
req.send_request(options)
|
|
1701
|
+
end
|
|
1702
|
+
|
|
1703
|
+
# Returns the tags associated with the specified resource.
|
|
1704
|
+
#
|
|
1705
|
+
# @option params [required, String] :resource_arn
|
|
1706
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1707
|
+
#
|
|
1708
|
+
# @return [Types::ListTagsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1709
|
+
#
|
|
1710
|
+
# * {Types::ListTagsOutput#tags #tags} => Hash<String,String>
|
|
1711
|
+
#
|
|
1712
|
+
# @example Request syntax with placeholder values
|
|
1713
|
+
#
|
|
1714
|
+
# resp = client.list_tags({
|
|
1715
|
+
# resource_arn: "TaggableResourceArn", # required
|
|
1716
|
+
# })
|
|
1717
|
+
#
|
|
1718
|
+
# @example Response structure
|
|
1719
|
+
#
|
|
1720
|
+
# resp.tags #=> Hash
|
|
1721
|
+
# resp.tags["TagKey"] #=> String
|
|
1722
|
+
#
|
|
1723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/ListTags AWS API Documentation
|
|
1724
|
+
#
|
|
1725
|
+
# @overload list_tags(params = {})
|
|
1726
|
+
# @param [Hash] params ({})
|
|
1727
|
+
def list_tags(params = {}, options = {})
|
|
1728
|
+
req = build_request(:list_tags, params)
|
|
1729
|
+
req.send_request(options)
|
|
1730
|
+
end
|
|
1731
|
+
|
|
1732
|
+
# Configures per-appliance daily auto-upgrade settings.
|
|
1733
|
+
#
|
|
1734
|
+
# When `EnableAutoUpgrade` is true, `StartHourUtc` and `EndHourUtc` are
|
|
1735
|
+
# required and define the daily UTC window during which the appliance
|
|
1736
|
+
# may be upgraded automatically. The upgrade fires once daily at a
|
|
1737
|
+
# random time within the configured window.
|
|
1738
|
+
#
|
|
1739
|
+
# Validation rules:
|
|
1740
|
+
#
|
|
1741
|
+
# * If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be
|
|
1742
|
+
# provided.
|
|
1743
|
+
# * If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
|
|
1744
|
+
# * Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means
|
|
1745
|
+
# 10pm-4am UTC).
|
|
1746
|
+
# * Window must be ≥1 hour (StartHourUtc != EndHourUtc).
|
|
1747
|
+
#
|
|
1748
|
+
# @option params [required, String] :appliance_arn
|
|
1749
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
1750
|
+
#
|
|
1751
|
+
# @option params [required, Boolean] :enable_auto_upgrade
|
|
1752
|
+
# Specifies whether automatic agent upgrades are enabled for the
|
|
1753
|
+
# appliance.
|
|
1754
|
+
#
|
|
1755
|
+
# @option params [Integer] :start_hour_utc
|
|
1756
|
+
# Hour of day in UTC (0-23 inclusive).
|
|
1757
|
+
#
|
|
1758
|
+
# @option params [Integer] :end_hour_utc
|
|
1759
|
+
# Hour of day in UTC (0-23 inclusive).
|
|
1760
|
+
#
|
|
1761
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1762
|
+
#
|
|
1763
|
+
# @example Request syntax with placeholder values
|
|
1764
|
+
#
|
|
1765
|
+
# resp = client.put_agent_upgrade_settings({
|
|
1766
|
+
# appliance_arn: "ApplianceArn", # required
|
|
1767
|
+
# enable_auto_upgrade: false, # required
|
|
1768
|
+
# start_hour_utc: 1,
|
|
1769
|
+
# end_hour_utc: 1,
|
|
1770
|
+
# })
|
|
1771
|
+
#
|
|
1772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/PutAgentUpgradeSettings AWS API Documentation
|
|
1773
|
+
#
|
|
1774
|
+
# @overload put_agent_upgrade_settings(params = {})
|
|
1775
|
+
# @param [Hash] params ({})
|
|
1776
|
+
def put_agent_upgrade_settings(params = {}, options = {})
|
|
1777
|
+
req = build_request(:put_agent_upgrade_settings, params)
|
|
1778
|
+
req.send_request(options)
|
|
1779
|
+
end
|
|
1780
|
+
|
|
1781
|
+
# Starts an agent upgrade for the specified resource provider. Returns
|
|
1782
|
+
# the date and time that the upgrade started.
|
|
1783
|
+
#
|
|
1784
|
+
# @option params [required, String] :arn
|
|
1785
|
+
# The Amazon Resource Name (ARN) of the resource provider.
|
|
1786
|
+
#
|
|
1787
|
+
# @return [Types::StartResourceProviderAgentUpgradeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1788
|
+
#
|
|
1789
|
+
# * {Types::StartResourceProviderAgentUpgradeOutput#upgrade_started_at #upgrade_started_at} => Time
|
|
1790
|
+
#
|
|
1791
|
+
# @example Request syntax with placeholder values
|
|
1792
|
+
#
|
|
1793
|
+
# resp = client.start_resource_provider_agent_upgrade({
|
|
1794
|
+
# arn: "ResourceProviderArn", # required
|
|
1795
|
+
# })
|
|
1796
|
+
#
|
|
1797
|
+
# @example Response structure
|
|
1798
|
+
#
|
|
1799
|
+
# resp.upgrade_started_at #=> Time
|
|
1800
|
+
#
|
|
1801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/StartResourceProviderAgentUpgrade AWS API Documentation
|
|
1802
|
+
#
|
|
1803
|
+
# @overload start_resource_provider_agent_upgrade(params = {})
|
|
1804
|
+
# @param [Hash] params ({})
|
|
1805
|
+
def start_resource_provider_agent_upgrade(params = {}, options = {})
|
|
1806
|
+
req = build_request(:start_resource_provider_agent_upgrade, params)
|
|
1807
|
+
req.send_request(options)
|
|
1808
|
+
end
|
|
1809
|
+
|
|
1810
|
+
# Starts migration of the specified resource provider to another
|
|
1811
|
+
# appliance. Returns the date and time that migration started.
|
|
1812
|
+
#
|
|
1813
|
+
# @option params [required, String] :arn
|
|
1814
|
+
# The Amazon Resource Name (ARN) of the resource provider.
|
|
1815
|
+
#
|
|
1816
|
+
# @option params [required, String] :destination_appliance_arn
|
|
1817
|
+
# The Amazon Resource Name (ARN) of the appliance to which the resource
|
|
1818
|
+
# provider is migrated.
|
|
1819
|
+
#
|
|
1820
|
+
# @return [Types::StartResourceProviderMigrationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1821
|
+
#
|
|
1822
|
+
# * {Types::StartResourceProviderMigrationOutput#migration_started_at #migration_started_at} => Time
|
|
1823
|
+
#
|
|
1824
|
+
# @example Request syntax with placeholder values
|
|
1825
|
+
#
|
|
1826
|
+
# resp = client.start_resource_provider_migration({
|
|
1827
|
+
# arn: "ResourceProviderArn", # required
|
|
1828
|
+
# destination_appliance_arn: "ApplianceArn", # required
|
|
1829
|
+
# })
|
|
1830
|
+
#
|
|
1831
|
+
# @example Response structure
|
|
1832
|
+
#
|
|
1833
|
+
# resp.migration_started_at #=> Time
|
|
1834
|
+
#
|
|
1835
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/StartResourceProviderMigration AWS API Documentation
|
|
1836
|
+
#
|
|
1837
|
+
# @overload start_resource_provider_migration(params = {})
|
|
1838
|
+
# @param [Hash] params ({})
|
|
1839
|
+
def start_resource_provider_migration(params = {}, options = {})
|
|
1840
|
+
req = build_request(:start_resource_provider_migration, params)
|
|
1841
|
+
req.send_request(options)
|
|
1842
|
+
end
|
|
1843
|
+
|
|
1844
|
+
# Starts synchronization of the resource targets for the specified
|
|
1845
|
+
# resource provider. Returns the date and time that synchronization
|
|
1846
|
+
# started.
|
|
1847
|
+
#
|
|
1848
|
+
# @option params [required, String] :arn
|
|
1849
|
+
# The Amazon Resource Name (ARN) of the resource provider.
|
|
1850
|
+
#
|
|
1851
|
+
# @return [Types::StartResourceProviderSyncOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1852
|
+
#
|
|
1853
|
+
# * {Types::StartResourceProviderSyncOutput#sync_started_at #sync_started_at} => Time
|
|
1854
|
+
#
|
|
1855
|
+
# @example Request syntax with placeholder values
|
|
1856
|
+
#
|
|
1857
|
+
# resp = client.start_resource_provider_sync({
|
|
1858
|
+
# arn: "ResourceProviderArn", # required
|
|
1859
|
+
# })
|
|
1860
|
+
#
|
|
1861
|
+
# @example Response structure
|
|
1862
|
+
#
|
|
1863
|
+
# resp.sync_started_at #=> Time
|
|
1864
|
+
#
|
|
1865
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/StartResourceProviderSync AWS API Documentation
|
|
1866
|
+
#
|
|
1867
|
+
# @overload start_resource_provider_sync(params = {})
|
|
1868
|
+
# @param [Hash] params ({})
|
|
1869
|
+
def start_resource_provider_sync(params = {}, options = {})
|
|
1870
|
+
req = build_request(:start_resource_provider_sync, params)
|
|
1871
|
+
req.send_request(options)
|
|
1872
|
+
end
|
|
1873
|
+
|
|
1874
|
+
# Adds or updates tags on the specified resource.
|
|
1875
|
+
#
|
|
1876
|
+
# @option params [required, String] :resource_arn
|
|
1877
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1878
|
+
#
|
|
1879
|
+
# @option params [required, Hash<String,String>] :tags
|
|
1880
|
+
# The tags to add or update on the resource.
|
|
1881
|
+
#
|
|
1882
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1883
|
+
#
|
|
1884
|
+
# @example Request syntax with placeholder values
|
|
1885
|
+
#
|
|
1886
|
+
# resp = client.tag_resource({
|
|
1887
|
+
# resource_arn: "TaggableResourceArn", # required
|
|
1888
|
+
# tags: { # required
|
|
1889
|
+
# "TagKey" => "TagValue",
|
|
1890
|
+
# },
|
|
1891
|
+
# })
|
|
1892
|
+
#
|
|
1893
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/TagResource AWS API Documentation
|
|
1894
|
+
#
|
|
1895
|
+
# @overload tag_resource(params = {})
|
|
1896
|
+
# @param [Hash] params ({})
|
|
1897
|
+
def tag_resource(params = {}, options = {})
|
|
1898
|
+
req = build_request(:tag_resource, params)
|
|
1899
|
+
req.send_request(options)
|
|
1900
|
+
end
|
|
1901
|
+
|
|
1902
|
+
# Removes the specified tags from a resource.
|
|
1903
|
+
#
|
|
1904
|
+
# @option params [required, String] :resource_arn
|
|
1905
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1906
|
+
#
|
|
1907
|
+
# @option params [required, Array<String>] :tag_keys
|
|
1908
|
+
# The keys of the tags to remove from the resource.
|
|
1909
|
+
#
|
|
1910
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1911
|
+
#
|
|
1912
|
+
# @example Request syntax with placeholder values
|
|
1913
|
+
#
|
|
1914
|
+
# resp = client.untag_resource({
|
|
1915
|
+
# resource_arn: "TaggableResourceArn", # required
|
|
1916
|
+
# tag_keys: ["TagKey"], # required
|
|
1917
|
+
# })
|
|
1918
|
+
#
|
|
1919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/UntagResource AWS API Documentation
|
|
1920
|
+
#
|
|
1921
|
+
# @overload untag_resource(params = {})
|
|
1922
|
+
# @param [Hash] params ({})
|
|
1923
|
+
def untag_resource(params = {}, options = {})
|
|
1924
|
+
req = build_request(:untag_resource, params)
|
|
1925
|
+
req.send_request(options)
|
|
1926
|
+
end
|
|
1927
|
+
|
|
1928
|
+
# Updates the name, configuration, or operation mode of the specified
|
|
1929
|
+
# appliance.
|
|
1930
|
+
#
|
|
1931
|
+
# @option params [required, String] :appliance_arn
|
|
1932
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
1933
|
+
#
|
|
1934
|
+
# @option params [String] :appliance_name
|
|
1935
|
+
# The name of the appliance.
|
|
1936
|
+
#
|
|
1937
|
+
# @option params [String] :appliance_iam_role_arn
|
|
1938
|
+
# The Amazon Resource Name (ARN) of the AWS Identity and Access
|
|
1939
|
+
# Management (IAM) role used by the appliance.
|
|
1940
|
+
#
|
|
1941
|
+
# @option params [Integer] :node_fault_tolerance
|
|
1942
|
+
# The number of node failures that the appliance can tolerate.
|
|
1943
|
+
#
|
|
1944
|
+
# @option params [Types::ApplianceNetworkConfigurationForUpdate] :network_configuration
|
|
1945
|
+
# The network configuration of the appliance.
|
|
1946
|
+
#
|
|
1947
|
+
# @option params [String] :appliance_operation_mode
|
|
1948
|
+
# The operation mode of the appliance.
|
|
1949
|
+
#
|
|
1950
|
+
# @return [Types::UpdateApplianceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1951
|
+
#
|
|
1952
|
+
# * {Types::UpdateApplianceOutput#appliance_arn #appliance_arn} => String
|
|
1953
|
+
# * {Types::UpdateApplianceOutput#appliance_name #appliance_name} => String
|
|
1954
|
+
# * {Types::UpdateApplianceOutput#appliance_operation_mode #appliance_operation_mode} => String
|
|
1955
|
+
#
|
|
1956
|
+
# @example Request syntax with placeholder values
|
|
1957
|
+
#
|
|
1958
|
+
# resp = client.update_appliance({
|
|
1959
|
+
# appliance_arn: "ApplianceArn", # required
|
|
1960
|
+
# appliance_name: "String",
|
|
1961
|
+
# appliance_iam_role_arn: "RoleArn",
|
|
1962
|
+
# node_fault_tolerance: 1,
|
|
1963
|
+
# network_configuration: {
|
|
1964
|
+
# domain_name: "String",
|
|
1965
|
+
# search_domains: ["String"],
|
|
1966
|
+
# dns_servers: ["String"],
|
|
1967
|
+
# ntp_servers: ["String"],
|
|
1968
|
+
# },
|
|
1969
|
+
# appliance_operation_mode: "RUNNING", # accepts RUNNING, PAUSED
|
|
1970
|
+
# })
|
|
1971
|
+
#
|
|
1972
|
+
# @example Response structure
|
|
1973
|
+
#
|
|
1974
|
+
# resp.appliance_arn #=> String
|
|
1975
|
+
# resp.appliance_name #=> String
|
|
1976
|
+
# resp.appliance_operation_mode #=> String, one of "PENDING", "RUNNING", "PAUSED"
|
|
1977
|
+
#
|
|
1978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/UpdateAppliance AWS API Documentation
|
|
1979
|
+
#
|
|
1980
|
+
# @overload update_appliance(params = {})
|
|
1981
|
+
# @param [Hash] params ({})
|
|
1982
|
+
def update_appliance(params = {}, options = {})
|
|
1983
|
+
req = build_request(:update_appliance, params)
|
|
1984
|
+
req.send_request(options)
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
# Updates the configuration of the specified resource provider.
|
|
1988
|
+
#
|
|
1989
|
+
# @option params [required, String] :arn
|
|
1990
|
+
# The Amazon Resource Name (ARN) of the resource provider.
|
|
1991
|
+
#
|
|
1992
|
+
# @option params [String] :name
|
|
1993
|
+
# The name of the resource provider.
|
|
1994
|
+
#
|
|
1995
|
+
# @option params [Types::ResourceProviderConfiguration] :provider_configuration
|
|
1996
|
+
# The configuration of the resource provider.
|
|
1997
|
+
#
|
|
1998
|
+
# @option params [String] :secret_configuration_arn
|
|
1999
|
+
# The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used
|
|
2000
|
+
# to access the resource provider.
|
|
2001
|
+
#
|
|
2002
|
+
# @option params [Types::ResourceTargetConfigurations] :target_configuration
|
|
2003
|
+
# The default backup configurations for the resource provider's
|
|
2004
|
+
# resource targets, by target type.
|
|
2005
|
+
#
|
|
2006
|
+
# @option params [Hash<String,String>] :target_tags_on_create
|
|
2007
|
+
# The tags to apply when the resource provider's resource targets are
|
|
2008
|
+
# created.
|
|
2009
|
+
#
|
|
2010
|
+
# @option params [Array<String>] :target_tag_keys_to_sync
|
|
2011
|
+
# The tag keys whose values are synchronized from external resources to
|
|
2012
|
+
# their resource targets.
|
|
2013
|
+
#
|
|
2014
|
+
# @option params [Integer] :auto_delete_not_found_targets_after_days
|
|
2015
|
+
# The number of days after which resource targets with a status of
|
|
2016
|
+
# `NOT_FOUND` are automatically deleted. Specify `-1` to disable
|
|
2017
|
+
# automatic deletion.
|
|
2018
|
+
#
|
|
2019
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2020
|
+
#
|
|
2021
|
+
# @example Request syntax with placeholder values
|
|
2022
|
+
#
|
|
2023
|
+
# resp = client.update_resource_provider({
|
|
2024
|
+
# arn: "ResourceProviderArn", # required
|
|
2025
|
+
# name: "ResourceName",
|
|
2026
|
+
# provider_configuration: {
|
|
2027
|
+
# mssql_server: {
|
|
2028
|
+
# endpoint: "Endpoint", # required
|
|
2029
|
+
# },
|
|
2030
|
+
# nas_share: {
|
|
2031
|
+
# share_path: "ResourceProviderConfigurationForNasShareSharePathString", # required
|
|
2032
|
+
# protocol: "NFS_3", # required, accepts NFS_3, NFS_4_1, SMB
|
|
2033
|
+
# },
|
|
2034
|
+
# oracledb_server: {
|
|
2035
|
+
# endpoint: "Endpoint", # required
|
|
2036
|
+
# },
|
|
2037
|
+
# oracledb_cluster: {
|
|
2038
|
+
# alternative_endpoint: "Endpoint",
|
|
2039
|
+
# endpoint: "Endpoint", # required
|
|
2040
|
+
# },
|
|
2041
|
+
# server_host: {
|
|
2042
|
+
# endpoint: "Endpoint", # required
|
|
2043
|
+
# },
|
|
2044
|
+
# vmware_esxi: {
|
|
2045
|
+
# endpoint: "Endpoint", # required
|
|
2046
|
+
# max_concurrent_streams_per_datastore: 1,
|
|
2047
|
+
# min_free_datastore_space_for_backup_percentage: 1.0,
|
|
2048
|
+
# min_free_datastore_space_for_backup_gb: 1.0,
|
|
2049
|
+
# },
|
|
2050
|
+
# vmware_vcenter: {
|
|
2051
|
+
# endpoint: "Endpoint", # required
|
|
2052
|
+
# max_concurrent_streams_per_datastore: 1,
|
|
2053
|
+
# min_free_datastore_space_for_backup_percentage: 1.0,
|
|
2054
|
+
# min_free_datastore_space_for_backup_gb: 1.0,
|
|
2055
|
+
# max_concurrent_vm_backups: 1,
|
|
2056
|
+
# },
|
|
2057
|
+
# },
|
|
2058
|
+
# secret_configuration_arn: "SecretConfigurationArn",
|
|
2059
|
+
# target_configuration: {
|
|
2060
|
+
# mssql_database: {
|
|
2061
|
+
# full_backup_after_days: 1, # required
|
|
2062
|
+
# full_backup_after_schedule_expression: "ResourceTargetConfigurationForMssqlDatabaseFullBackupAfterScheduleExpressionString",
|
|
2063
|
+
# backup_stream_count: 1,
|
|
2064
|
+
# is_copy_only_full: false, # required
|
|
2065
|
+
# log_backup_frequency_in_minutes: 1,
|
|
2066
|
+
# },
|
|
2067
|
+
# nas_filesystem: {
|
|
2068
|
+
# allow_unencrypted_data_transfer: false, # required
|
|
2069
|
+
# },
|
|
2070
|
+
# oracledb_database: {
|
|
2071
|
+
# full_backup_after_days: 1, # required
|
|
2072
|
+
# full_backup_after_schedule_expression: "ResourceTargetConfigurationForOracledbDatabaseFullBackupAfterScheduleExpressionString",
|
|
2073
|
+
# backup_channel_count: 1,
|
|
2074
|
+
# backup_node_host_name: "HostName",
|
|
2075
|
+
# log_backup_frequency_in_minutes: 1,
|
|
2076
|
+
# log_retention_on_host_in_hours: 1,
|
|
2077
|
+
# },
|
|
2078
|
+
# server_filesystem: {
|
|
2079
|
+
# backup_consistency: "NON_CONSISTENT", # accepts NON_CONSISTENT, CRASH_CONSISTENT, CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT
|
|
2080
|
+
# post_backup_script: {
|
|
2081
|
+
# script_params: "StringMax256",
|
|
2082
|
+
# script_path: "ServerFilesystemBackupScriptPath", # required
|
|
2083
|
+
# timeout_in_minutes: 1,
|
|
2084
|
+
# },
|
|
2085
|
+
# pre_backup_script: {
|
|
2086
|
+
# continue_backup_on_script_failure: false, # required
|
|
2087
|
+
# script_params: "StringMax256",
|
|
2088
|
+
# script_path: "ServerFilesystemBackupScriptPath", # required
|
|
2089
|
+
# timeout_in_minutes: 1,
|
|
2090
|
+
# },
|
|
2091
|
+
# },
|
|
2092
|
+
# vmware_vm: {
|
|
2093
|
+
# backup_consistency: "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", # accepts APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT, APP_CONSISTENT, CRASH_CONSISTENT
|
|
2094
|
+
# },
|
|
2095
|
+
# },
|
|
2096
|
+
# target_tags_on_create: {
|
|
2097
|
+
# "TagKey" => "TagValue",
|
|
2098
|
+
# },
|
|
2099
|
+
# target_tag_keys_to_sync: ["ResourceTargetTagKeyToSync"],
|
|
2100
|
+
# auto_delete_not_found_targets_after_days: 1,
|
|
2101
|
+
# })
|
|
2102
|
+
#
|
|
2103
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/UpdateResourceProvider AWS API Documentation
|
|
2104
|
+
#
|
|
2105
|
+
# @overload update_resource_provider(params = {})
|
|
2106
|
+
# @param [Hash] params ({})
|
|
2107
|
+
def update_resource_provider(params = {}, options = {})
|
|
2108
|
+
req = build_request(:update_resource_provider, params)
|
|
2109
|
+
req.send_request(options)
|
|
2110
|
+
end
|
|
2111
|
+
|
|
2112
|
+
# Updates the name or backup configuration of the specified resource
|
|
2113
|
+
# target.
|
|
2114
|
+
#
|
|
2115
|
+
# @option params [required, String] :arn
|
|
2116
|
+
# The Amazon Resource Name (ARN) of the resource target.
|
|
2117
|
+
#
|
|
2118
|
+
# @option params [String] :name
|
|
2119
|
+
# The name of the resource target.
|
|
2120
|
+
#
|
|
2121
|
+
# @option params [Types::ResourceTargetConfiguration] :target_configuration
|
|
2122
|
+
# The backup configuration for the resource target.
|
|
2123
|
+
#
|
|
2124
|
+
# @option params [String] :target_configuration_source
|
|
2125
|
+
# The source of the resource target's backup configuration.
|
|
2126
|
+
#
|
|
2127
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2128
|
+
#
|
|
2129
|
+
# @example Request syntax with placeholder values
|
|
2130
|
+
#
|
|
2131
|
+
# resp = client.update_resource_target({
|
|
2132
|
+
# arn: "ResourceTargetArn", # required
|
|
2133
|
+
# name: "ResourceName",
|
|
2134
|
+
# target_configuration: {
|
|
2135
|
+
# mssql_database: {
|
|
2136
|
+
# full_backup_after_days: 1, # required
|
|
2137
|
+
# full_backup_after_schedule_expression: "ResourceTargetConfigurationForMssqlDatabaseFullBackupAfterScheduleExpressionString",
|
|
2138
|
+
# backup_stream_count: 1,
|
|
2139
|
+
# is_copy_only_full: false, # required
|
|
2140
|
+
# log_backup_frequency_in_minutes: 1,
|
|
2141
|
+
# },
|
|
2142
|
+
# nas_filesystem: {
|
|
2143
|
+
# allow_unencrypted_data_transfer: false, # required
|
|
2144
|
+
# },
|
|
2145
|
+
# oracledb_database: {
|
|
2146
|
+
# full_backup_after_days: 1, # required
|
|
2147
|
+
# full_backup_after_schedule_expression: "ResourceTargetConfigurationForOracledbDatabaseFullBackupAfterScheduleExpressionString",
|
|
2148
|
+
# backup_channel_count: 1,
|
|
2149
|
+
# backup_node_host_name: "HostName",
|
|
2150
|
+
# log_backup_frequency_in_minutes: 1,
|
|
2151
|
+
# log_retention_on_host_in_hours: 1,
|
|
2152
|
+
# },
|
|
2153
|
+
# server_filesystem: {
|
|
2154
|
+
# backup_consistency: "NON_CONSISTENT", # accepts NON_CONSISTENT, CRASH_CONSISTENT, CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT
|
|
2155
|
+
# post_backup_script: {
|
|
2156
|
+
# script_params: "StringMax256",
|
|
2157
|
+
# script_path: "ServerFilesystemBackupScriptPath", # required
|
|
2158
|
+
# timeout_in_minutes: 1,
|
|
2159
|
+
# },
|
|
2160
|
+
# pre_backup_script: {
|
|
2161
|
+
# continue_backup_on_script_failure: false, # required
|
|
2162
|
+
# script_params: "StringMax256",
|
|
2163
|
+
# script_path: "ServerFilesystemBackupScriptPath", # required
|
|
2164
|
+
# timeout_in_minutes: 1,
|
|
2165
|
+
# },
|
|
2166
|
+
# },
|
|
2167
|
+
# vmware_vm: {
|
|
2168
|
+
# backup_consistency: "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", # accepts APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT, APP_CONSISTENT, CRASH_CONSISTENT
|
|
2169
|
+
# },
|
|
2170
|
+
# },
|
|
2171
|
+
# target_configuration_source: "PROVIDER", # accepts PROVIDER, TARGET
|
|
2172
|
+
# })
|
|
2173
|
+
#
|
|
2174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/UpdateResourceTarget AWS API Documentation
|
|
2175
|
+
#
|
|
2176
|
+
# @overload update_resource_target(params = {})
|
|
2177
|
+
# @param [Hash] params ({})
|
|
2178
|
+
def update_resource_target(params = {}, options = {})
|
|
2179
|
+
req = build_request(:update_resource_target, params)
|
|
2180
|
+
req.send_request(options)
|
|
2181
|
+
end
|
|
2182
|
+
|
|
2183
|
+
# Verifies the specified nodes, which must have a status of
|
|
2184
|
+
# `PENDING_VERIFICATION`, so that they can be added to the appliance.
|
|
2185
|
+
# Returns the updated management status of each node.
|
|
2186
|
+
#
|
|
2187
|
+
# @option params [required, String] :appliance_arn
|
|
2188
|
+
# The Amazon Resource Name (ARN) of the appliance.
|
|
2189
|
+
#
|
|
2190
|
+
# @option params [required, Array<String>] :node_arns
|
|
2191
|
+
# The Amazon Resource Names (ARNs) of the appliance nodes to verify.
|
|
2192
|
+
#
|
|
2193
|
+
# @return [Types::VerifyNodesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2194
|
+
#
|
|
2195
|
+
# * {Types::VerifyNodesOutput#verified_nodes #verified_nodes} => Array<Types::VerifiedApplianceNodeListMember>
|
|
2196
|
+
#
|
|
2197
|
+
# @example Request syntax with placeholder values
|
|
2198
|
+
#
|
|
2199
|
+
# resp = client.verify_nodes({
|
|
2200
|
+
# appliance_arn: "ApplianceArn", # required
|
|
2201
|
+
# node_arns: ["NodeArn"], # required
|
|
2202
|
+
# })
|
|
2203
|
+
#
|
|
2204
|
+
# @example Response structure
|
|
2205
|
+
#
|
|
2206
|
+
# resp.verified_nodes #=> Array
|
|
2207
|
+
# resp.verified_nodes[0].node_arn #=> String
|
|
2208
|
+
# resp.verified_nodes[0].node_management_status #=> String, one of "PENDING_VERIFICATION", "PENDING_NODE_ADDITION", "AVAILABLE", "FAILED", "UPDATING", "DELETING", "DELETED"
|
|
2209
|
+
#
|
|
2210
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-external-2026-01-01/VerifyNodes AWS API Documentation
|
|
2211
|
+
#
|
|
2212
|
+
# @overload verify_nodes(params = {})
|
|
2213
|
+
# @param [Hash] params ({})
|
|
2214
|
+
def verify_nodes(params = {}, options = {})
|
|
2215
|
+
req = build_request(:verify_nodes, params)
|
|
2216
|
+
req.send_request(options)
|
|
2217
|
+
end
|
|
2218
|
+
|
|
2219
|
+
# @!endgroup
|
|
2220
|
+
|
|
2221
|
+
# @param params ({})
|
|
2222
|
+
# @api private
|
|
2223
|
+
def build_request(operation_name, params = {})
|
|
2224
|
+
handlers = @handlers.for(operation_name)
|
|
2225
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
|
2226
|
+
Aws::Telemetry.module_to_tracer_name('Aws::BackupExternal')
|
|
2227
|
+
)
|
|
2228
|
+
context = Seahorse::Client::RequestContext.new(
|
|
2229
|
+
operation_name: operation_name,
|
|
2230
|
+
operation: config.api.operation(operation_name),
|
|
2231
|
+
client: self,
|
|
2232
|
+
params: params,
|
|
2233
|
+
config: config,
|
|
2234
|
+
tracer: tracer
|
|
2235
|
+
)
|
|
2236
|
+
context[:gem_name] = 'aws-sdk-backupexternal'
|
|
2237
|
+
context[:gem_version] = '1.0.0'
|
|
2238
|
+
Seahorse::Client::Request.new(handlers, context)
|
|
2239
|
+
end
|
|
2240
|
+
|
|
2241
|
+
# @api private
|
|
2242
|
+
# @deprecated
|
|
2243
|
+
def waiter_names
|
|
2244
|
+
[]
|
|
2245
|
+
end
|
|
2246
|
+
|
|
2247
|
+
class << self
|
|
2248
|
+
|
|
2249
|
+
# @api private
|
|
2250
|
+
attr_reader :identifier
|
|
2251
|
+
|
|
2252
|
+
# @api private
|
|
2253
|
+
def errors_module
|
|
2254
|
+
Errors
|
|
2255
|
+
end
|
|
2256
|
+
|
|
2257
|
+
end
|
|
2258
|
+
end
|
|
2259
|
+
end
|