Class: Aws::BackupExternal::Client

Inherits:
Seahorse::Client::Base show all
Includes:
ClientStubs
Defined in:
gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb

Overview

An API client for BackupExternal. To construct a client, you need to configure a :region and :credentials.

client = Aws::BackupExternal::Client.new(
  region: region_name,
  credentials: credentials,
  # ...
)

For details on configuring region and credentials see the developer guide.

See #initialize for a full list of supported configuration options.

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Base

#config, #handlers

API Operations collapse

Instance Method Summary collapse

Methods included from ClientStubs

#api_requests, #stub_data, #stub_responses

Methods inherited from Seahorse::Client::Base

add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response

Constructor Details

#initialize(options) ⇒ Client

Returns a new instance of Client.

Parameters:

  • options (Hash)

Options Hash (options):

  • :plugins (Array<Seahorse::Client::Plugin>) — default: []] —

    A list of plugins to apply to the client. Each plugin is either a class name or an instance of a plugin class.

  • :credentials (required, Aws::CredentialProvider) —

    Your AWS credentials used for authentication. This can be any class that includes and implements Aws::CredentialProvider, or instance of any one of the following classes:

    • Aws::Credentials - Used for configuring static, non-refreshing credentials.

    • Aws::SharedCredentials - Used for loading static credentials from a shared file, such as ~/.aws/config.

    • Aws::AssumeRoleCredentials - Used when you need to assume a role.

    • Aws::AssumeRoleWebIdentityCredentials - Used when you need to assume a role after providing credentials via the web.

    • Aws::SSOCredentials - Used for loading credentials from AWS SSO using an access token generated from aws login.

    • Aws::ProcessCredentials - Used for loading credentials from a process that outputs to stdout.

    • Aws::InstanceProfileCredentials - Used for loading credentials from an EC2 IMDS on an EC2 instance.

    • Aws::ECSCredentials - Used for loading credentials from instances running in ECS.

    • Aws::CognitoIdentityCredentials - Used for loading credentials from the Cognito Identity service.

    When :credentials are not configured directly, the following locations will be searched for credentials:

    • Aws.config[:credentials]

    • The :access_key_id, :secret_access_key, :session_token, and :account_id options.

    • ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'], ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID'].

    • ~/.aws/credentials

    • ~/.aws/config

    • EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive. Construct and pass an instance of Aws::InstanceProfileCredentials or Aws::ECSCredentials to enable retries and extended timeouts. Instance profile credential fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED'] to true.

  • :region (required, String) —

    The AWS region to connect to. The configured :region is used to determine the service :endpoint. When not passed, a default :region is searched for in the following locations:

    • Aws.config[:region]
    • ENV['AWS_REGION']
    • ENV['AMAZON_REGION']
    • ENV['AWS_DEFAULT_REGION']
    • ~/.aws/credentials
    • ~/.aws/config
  • :access_key_id (String)
  • :account_id (String)
  • :active_endpoint_cache (Boolean) — default: false —

    When set to true, a thread polling for endpoints will be running in the background every 60 secs (default). Defaults to false.

  • :adaptive_retry_wait_to_fill (Boolean) — default: true —

    Used only in adaptive retry mode. When true, the request will sleep until there is sufficent client side capacity to retry the request. When false, the request will raise a RetryCapacityNotAvailableError and will not retry instead of sleeping.

  • :auth_scheme_preference (Array<String>) —

    A list of preferred authentication schemes to use when making a request. Supported values are: sigv4, sigv4a, httpBearerAuth, and noAuth. When set using ENV['AWS_AUTH_SCHEME_PREFERENCE'] or in shared config as auth_scheme_preference, the value should be a comma-separated list.

  • :client_side_monitoring (Boolean) — default: false —

    When true, client-side metrics will be collected for all API requests from this client.

  • :client_side_monitoring_client_id (String) — default: "" —

    Allows you to provide an identifier for this client which will be attached to all generated client side metrics. Defaults to an empty string.

  • :client_side_monitoring_host (String) — default: "127.0.0.1" —

    Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client side monitoring agent is running on, where client metrics will be published via UDP.

  • :client_side_monitoring_port (Integer) — default: 31000 —

    Required for publishing client metrics. The port that the client side monitoring agent is running on, where client metrics will be published via UDP.

  • :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher) — default: Aws::ClientSideMonitoring::Publisher —

    Allows you to provide a custom client-side monitoring publisher class. By default, will use the Client Side Monitoring Agent Publisher.

  • :convert_params (Boolean) — default: true —

    When true, an attempt is made to coerce request parameters into the required types.

  • :correct_clock_skew (Boolean) — default: true —

    Used only in standard and adaptive retry modes. Specifies whether to apply a clock skew correction and retry requests with skewed client clocks. Takes effect only when disable_clock_skew_correction is not set.

  • :defaults_mode (String) — default: "legacy" —

    See DefaultsModeConfiguration for a list of the accepted modes and the configuration defaults that are included.

  • :disable_clock_skew_correction (Boolean) —

    Used only in standard and adaptive retry modes. When true, the SDK does not apply a clock skew correction, does not update its stored skew from responses, and does not retry clock skew errors. Clock skew correction is enabled by default.

  • :disable_host_prefix_injection (Boolean) — default: false —

    When true, the SDK will not prepend the modeled host prefix to the endpoint.

  • :disable_request_compression (Boolean) — default: false —

    When set to 'true' the request body will not be compressed for supported operations.

  • :endpoint (String, URI::HTTPS, URI::HTTP) —

    Normally you should not configure the :endpoint option directly. This is normally constructed from the :region option. Configuring :endpoint is normally reserved for connecting to test or custom endpoints. The endpoint should be a URI formatted like:

    'http://example.com'
    'https://example.com'
    'http://example.com:123'
    
  • :endpoint_cache_max_entries (Integer) — default: 1000 —

    Used for the maximum size limit of the LRU cache storing endpoints data for endpoint discovery enabled operations. Defaults to 1000.

  • :endpoint_cache_max_threads (Integer) — default: 10 —

    Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.

  • :endpoint_cache_poll_interval (Integer) — default: 60 —

    When :endpoint_discovery and :active_endpoint_cache is enabled, Use this option to config the time interval in seconds for making requests fetching endpoints information. Defaults to 60 sec.

  • :endpoint_discovery (Boolean) — default: false —

    When set to true, endpoint discovery will be enabled for operations when available.

  • :ignore_configured_endpoint_urls (Boolean) —

    Setting to true disables use of endpoint URLs provided via environment variables and the shared configuration file.

  • :log_formatter (Aws::Log::Formatter) — default: Aws::Log::Formatter.default —

    The log formatter.

  • :log_level (Symbol) — default: :info —

    The log level to send messages to the :logger at.

  • :logger (Logger) —

    The Logger instance to send log messages to. If this option is not set, logging will be disabled.

  • :max_attempts (Integer) — default: 3 —

    An integer representing the maximum number attempts that will be made for a single request, including the initial attempt. For example, setting this value to 5 will result in a request being retried up to 4 times. Used in standard and adaptive retry modes. Defaults to 3, except for DynamoDB and DynamoDB Streams, which default to 4.

  • :profile (String) — default: "default" —

    Used when loading credentials from the shared credentials file at HOME/.aws/credentials. When not specified, 'default' is used.

  • :request_checksum_calculation (String) — default: "when_supported" —

    Determines when a checksum will be calculated for request payloads. Values are:

    • when_supported - (default) When set, a checksum will be calculated for all request payloads of operations modeled with the httpChecksum trait where requestChecksumRequired is true and/or a requestAlgorithmMember is modeled.
    • when_required - When set, a checksum will only be calculated for request payloads of operations modeled with the httpChecksum trait where requestChecksumRequired is true or where a requestAlgorithmMember is modeled and supplied.
  • :request_min_compression_size_bytes (Integer) — default: 10240 —

    The minimum size in bytes that triggers compression for request bodies. The value must be non-negative integer value between 0 and 10485780 bytes inclusive.

  • :response_checksum_validation (String) — default: "when_supported" —

    Determines when checksum validation will be performed on response payloads. Values are:

    • when_supported - (default) When set, checksum validation is performed on all response payloads of operations modeled with the httpChecksum trait where responseAlgorithms is modeled, except when no modeled checksum algorithms are supported.
    • when_required - When set, checksum validation is not performed on response payloads of operations unless the checksum algorithm is supported and the requestValidationModeMember member is set to ENABLED.
  • :retry_backoff (Proc) —

    A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay. This option is only used in the legacy retry mode.

  • :retry_base_delay (Float) — default: 0.3 —

    The base delay in seconds used by the default backoff function. This option is only used in the legacy retry mode.

  • :retry_jitter (Symbol) — default: :none —

    A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number. This option is only used in the legacy retry mode.

    @see https://www.awsarchitectureblog.com/2015/03/backoff.html

  • :retry_limit (Integer) — default: 3 —

    The maximum number of times to retry failed requests. Only ~ 500 level server errors and certain ~ 400 level client errors are retried. Generally, these are throttling errors, data checksum errors, networking errors, timeout errors, auth errors, endpoint discovery, and errors from expired credentials. This option is only used in the legacy retry mode.

  • :retry_max_delay (Integer) — default: 0 —

    The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function. This option is only used in the legacy retry mode.

  • :retry_mode (String) — default: "standard" —

    Specifies which retry algorithm to use. Values are:

    • legacy - The pre-existing retry behavior.

    • standard - A standardized set of retry rules across the AWS SDKs. This includes support for retry quotas, which limit the number of unsuccessful retries a client can make. This is the default value if no retry mode is provided.

    • adaptive - A retry mode that includes all the functionality of standard mode along with automatic client side throttling.

  • :sdk_ua_app_id (String) —

    A unique and opaque application ID that is appended to the User-Agent header as app/sdk_ua_app_id. It should have a maximum length of 50. This variable is sourced from environment variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.

  • :secret_access_key (String)
  • :session_token (String)
  • :sigv4a_signing_region_set (Array) —

    A list of regions that should be signed with SigV4a signing. When not passed, a default :sigv4a_signing_region_set is searched for in the following locations:

    • Aws.config[:sigv4a_signing_region_set]
    • ENV['AWS_SIGV4A_SIGNING_REGION_SET']
    • ~/.aws/config
  • :stub_responses (Boolean) — default: false —

    Causes the client to return stubbed responses. By default fake responses are generated and returned. You can specify the response data to return or errors to raise by calling ClientStubs#stub_responses. See ClientStubs for more information.

    Please note When response stubbing is enabled, no HTTP requests are made, and retries are disabled.

  • :telemetry_provider (Aws::Telemetry::TelemetryProviderBase) — default: Aws::Telemetry::NoOpTelemetryProvider —

    Allows you to provide a telemetry provider, which is used to emit telemetry data. By default, uses NoOpTelemetryProvider which will not record or emit any telemetry data. The SDK supports the following telemetry providers:

    • OpenTelemetry (OTel) - To use the OTel provider, install and require the opentelemetry-sdk gem and then, pass in an instance of a Aws::Telemetry::OTelProvider for telemetry provider.
  • :token_provider (Aws::TokenProvider) —

    Your Bearer token used for authentication. This can be any class that includes and implements Aws::TokenProvider, or instance of any one of the following classes:

    • Aws::StaticTokenProvider - Used for configuring static, non-refreshing tokens.

    • Aws::SSOTokenProvider - Used for loading tokens from AWS SSO using an access token generated from aws login.

    When :token_provider is not configured directly, the Aws::TokenProviderChain will be used to search for tokens configured for your profile in shared configuration files.

  • :use_dualstack_endpoint (Boolean) —

    When set to true, dualstack enabled endpoints (with .aws TLD) will be used if available.

  • :use_fips_endpoint (Boolean) —

    When set to true, fips compatible endpoints will be used if available. When a fips region is used, the region is normalized and this config is set to true.

  • :validate_params (Boolean) — default: true —

    When true, request parameters are validated before sending the request.

  • :endpoint_provider (Aws::BackupExternal::EndpointProvider) —

    The endpoint provider used to resolve endpoints. Any object that responds to #resolve_endpoint(parameters) where parameters is a Struct similar to Aws::BackupExternal::EndpointParameters.

  • :http_continue_timeout (Float) — default: 1 —

    The number of seconds to wait for a 100-continue response before sending the request body. This option has no effect unless the request has "Expect" header set to "100-continue". Defaults to nil which disables this behaviour. This value can safely be set per request on the session.

  • :http_idle_timeout (Float) — default: 5 —

    The number of seconds a connection is allowed to sit idle before it is considered stale. Stale connections are closed and removed from the pool before making a request.

  • :http_open_timeout (Float) — default: 15 —

    The default number of seconds to wait for response data. This value can safely be set per-request on the session.

  • :http_proxy (URI::HTTP, String) —

    A proxy to send requests through. Formatted like 'http://proxy.com:123'.

  • :http_read_timeout (Float) — default: 60 —

    The default number of seconds to wait for response data. This value can safely be set per-request on the session.

  • :http_wire_trace (Boolean) — default: false —

    When true, HTTP debug output will be sent to the :logger.

  • :on_chunk_received (Proc) —

    When a Proc object is provided, it will be used as callback when each chunk of the response body is received. It provides three arguments: the chunk, the number of bytes received, and the total number of bytes in the response (or nil if the server did not send a content-length).

  • :on_chunk_sent (Proc) —

    When a Proc object is provided, it will be used as callback when each chunk of the request body is sent. It provides three arguments: the chunk, the number of bytes read from the body, and the total number of bytes in the body.

  • :raise_response_errors (Boolean) — default: true —

    When true, response errors are raised.

  • :ssl_ca_bundle (String) —

    Full path to the SSL certificate authority bundle file that should be used when verifying peer certificates. If you do not pass :ssl_ca_bundle or :ssl_ca_directory the the system default will be used if available.

  • :ssl_ca_directory (String) —

    Full path of the directory that contains the unbundled SSL certificate authority files for verifying peer certificates. If you do not pass :ssl_ca_bundle or :ssl_ca_directory the the system default will be used if available.

  • :ssl_ca_store (String) —

    Sets the X509::Store to verify peer certificate.

  • :ssl_cert (OpenSSL::X509::Certificate) —

    Sets a client certificate when creating http connections.

  • :ssl_key (OpenSSL::PKey) —

    Sets a client key when creating http connections.

  • :ssl_timeout (Float) —

    Sets the SSL timeout in seconds

  • :ssl_verify_peer (Boolean) — default: true —

    When true, SSL peer certificates are verified when establishing a connection.



479
480
481
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 479

def initialize(*args)
  super
end

Instance Method Details

#associate_disk(params = {}) ⇒ Struct

Associates a disk with the specified appliance node for data or metadata storage.

Examples:

Request syntax with placeholder values


resp = client.associate_disk({
  appliance_arn: "ApplianceArn", # required
  node_arn: "NodeArn", # required
  disk_identifier: "String", # required
  disk_type: "DATA", # required, accepts DATA, METADATA
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :node_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance node.

  • :disk_identifier (required, String) —

    The identifier of the disk attached to the appliance node.

  • :disk_type (required, String) —

    The type of storage provided by the disk.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



515
516
517
518
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 515

def associate_disk(params = {}, options = {})
  req = build_request(:associate_disk, params)
  req.send_request(options)
end

#create_appliance(params = {}) ⇒ Types::CreateApplianceOutput

Creates an appliance with the specified network configuration and returns its activation information.

Examples:

Request syntax with placeholder values


resp = client.create_appliance({
  appliance_name: "String", # required
  environment_type: "EC2", # required, accepts EC2, VMWARE
  appliance_iam_role_arn: "RoleArn", # required
  node_fault_tolerance: 1, # required
  network_configuration: { # required
    subnet_gateway: "String", # required
    subnet_mask: "String", # required
    dns_servers: ["String"], # required
    ntp_servers: ["String"], # required
    domain_name: "String",
    search_domains: ["String"],
  },
  client_token: "ClientToken",
  tags: {
    "TagKey" => "TagValue",
  },
})

Response structure


resp.appliance_arn #=> String
resp.created_at #=> Time
resp.image #=> String
resp.aws_ova_image_root_certificate_download_url #=> String
resp.activation_token #=> String
resp.activation_token_expires_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_name (required, String) —

    The name of the appliance.

  • :environment_type (required, String) —

    The environment in which the appliance runs.

  • :appliance_iam_role_arn (required, String) —

    The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.

  • :node_fault_tolerance (required, Integer) —

    The number of node failures that the appliance can tolerate.

  • :network_configuration (required, Types::ApplianceNetworkConfigurationForCreate) —

    The network configuration of the appliance.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :tags (Hash<String,String>) —

    The tags to associate with the appliance.

Returns:

See Also:



592
593
594
595
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 592

def create_appliance(params = {}, options = {})
  req = build_request(:create_appliance, params)
  req.send_request(options)
end

#create_resource_provider(params = {}) ⇒ Types::CreateResourceProviderOutput

Creates a resource provider on the specified appliance with configuration for the provider and its resource targets.

Examples:

Request syntax with placeholder values


resp = client.create_resource_provider({
  appliance_arn: "ApplianceArn", # required
  client_token: "ClientToken",
  name: "ResourceName",
  provider_configuration: { # required
    mssql_server: {
      endpoint: "Endpoint", # required
    },
    nas_share: {
      share_path: "ResourceProviderConfigurationForNasShareSharePathString", # required
      protocol: "NFS_3", # required, accepts NFS_3, NFS_4_1, SMB
    },
    oracledb_server: {
      endpoint: "Endpoint", # required
    },
    oracledb_cluster: {
      alternative_endpoint: "Endpoint",
      endpoint: "Endpoint", # required
    },
    server_host: {
      endpoint: "Endpoint", # required
    },
    vmware_esxi: {
      endpoint: "Endpoint", # required
      max_concurrent_streams_per_datastore: 1,
      min_free_datastore_space_for_backup_percentage: 1.0,
      min_free_datastore_space_for_backup_gb: 1.0,
    },
    vmware_vcenter: {
      endpoint: "Endpoint", # required
      max_concurrent_streams_per_datastore: 1,
      min_free_datastore_space_for_backup_percentage: 1.0,
      min_free_datastore_space_for_backup_gb: 1.0,
      max_concurrent_vm_backups: 1,
    },
  },
  provider_type: "MSSQL_SERVER", # required, accepts MSSQL_SERVER, NAS_SHARE, ORACLEDB_SERVER, ORACLEDB_CLUSTER, SERVER_HOST, VMWARE_ESXI, VMWARE_VCENTER
  secret_configuration_arn: "SecretConfigurationArn",
  tags: {
    "TagKey" => "TagValue",
  },
  target_configuration: { # required
    mssql_database: {
      full_backup_after_days: 1, # required
      full_backup_after_schedule_expression: "ResourceTargetConfigurationForMssqlDatabaseFullBackupAfterScheduleExpressionString",
      backup_stream_count: 1,
      is_copy_only_full: false, # required
      log_backup_frequency_in_minutes: 1,
    },
    nas_filesystem: {
      allow_unencrypted_data_transfer: false, # required
    },
    oracledb_database: {
      full_backup_after_days: 1, # required
      full_backup_after_schedule_expression: "ResourceTargetConfigurationForOracledbDatabaseFullBackupAfterScheduleExpressionString",
      backup_channel_count: 1,
      backup_node_host_name: "HostName",
      log_backup_frequency_in_minutes: 1,
      log_retention_on_host_in_hours: 1,
    },
    server_filesystem: {
      backup_consistency: "NON_CONSISTENT", # accepts NON_CONSISTENT, CRASH_CONSISTENT, CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT
      post_backup_script: {
        script_params: "StringMax256",
        script_path: "ServerFilesystemBackupScriptPath", # required
        timeout_in_minutes: 1,
      },
      pre_backup_script: {
        continue_backup_on_script_failure: false, # required
        script_params: "StringMax256",
        script_path: "ServerFilesystemBackupScriptPath", # required
        timeout_in_minutes: 1,
      },
    },
    vmware_vm: {
      backup_consistency: "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", # accepts APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT, APP_CONSISTENT, CRASH_CONSISTENT
    },
  },
  target_tags_on_create: {
    "TagKey" => "TagValue",
  },
  target_tag_keys_to_sync: ["ResourceTargetTagKeyToSync"],
  auto_delete_not_found_targets_after_days: 1,
})

Response structure


resp.arn #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :client_token (String) —

    A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :name (String) —

    The name of the resource provider.

  • :provider_configuration (required, Types::ResourceProviderConfiguration) —

    The configuration of the resource provider.

  • :provider_type (required, String) —

    The type of resource provider.

  • :secret_configuration_arn (String) —

    The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.

  • :tags (Hash<String,String>) —

    The tags to associate with the resource provider.

  • :target_configuration (required, Types::ResourceTargetConfigurations) —

    The default backup configurations for the resource provider's resource targets, by target type.

  • :target_tags_on_create (Hash<String,String>) —

    The tags to apply when the resource provider's resource targets are created.

  • :target_tag_keys_to_sync (Array<String>) —

    The tag keys whose values are synchronized from external resources to their resource targets.

  • :auto_delete_not_found_targets_after_days (Integer) —

    The number of days after which resource targets with a status of NOT_FOUND are automatically deleted.

Returns:

See Also:



741
742
743
744
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 741

def create_resource_provider(params = {}, options = {})
  req = build_request(:create_resource_provider, params)
  req.send_request(options)
end

#delete_appliance(params = {}) ⇒ Types::DeleteApplianceOutput

Deletes the specified appliance.

Examples:

Request syntax with placeholder values


resp = client.delete_appliance({
  appliance_arn: "ApplianceArn", # required
  force: false,
})

Response structure


resp.appliance_arn #=> String
resp.appliance_management_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "UPDATING", "DELETE_FAILED", "DISCONNECTED", "SUSPENDED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :force (Boolean) —

    Specifies whether to delete the appliance without waiting for the appliance to confirm the deletion. You can force deletion only when the appliance management status is DISCONNECTED or DELETE_FAILED.

Returns:

See Also:



777
778
779
780
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 777

def delete_appliance(params = {}, options = {})
  req = build_request(:delete_appliance, params)
  req.send_request(options)
end

#delete_node(params = {}) ⇒ Types::DeleteNodeOutput

Deletes the specified node from an appliance.

Examples:

Request syntax with placeholder values


resp = client.delete_node({
  appliance_arn: "ApplianceArn", # required
  node_arn: "NodeArn", # required
})

Response structure


resp.appliance_arn #=> String
resp.node_arn #=> String
resp.node_management_status #=> String, one of "PENDING_VERIFICATION", "PENDING_NODE_ADDITION", "AVAILABLE", "FAILED", "UPDATING", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :node_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance node.

Returns:

See Also:



813
814
815
816
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 813

def delete_node(params = {}, options = {})
  req = build_request(:delete_node, params)
  req.send_request(options)
end

#delete_resource_provider(params = {}) ⇒ Struct

Deletes the specified resource provider.

Examples:

Request syntax with placeholder values


resp = client.delete_resource_provider({
  arn: "ResourceProviderArn", # required
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource provider.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



835
836
837
838
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 835

def delete_resource_provider(params = {}, options = {})
  req = build_request(:delete_resource_provider, params)
  req.send_request(options)
end

#delete_resource_target(params = {}) ⇒ Struct

Deletes the specified resource target.

Examples:

Request syntax with placeholder values


resp = client.delete_resource_target({
  arn: "ResourceTargetArn", # required
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource target.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



857
858
859
860
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 857

def delete_resource_target(params = {}, options = {})
  req = build_request(:delete_resource_target, params)
  req.send_request(options)
end

#get_activation_credentials(params = {}) ⇒ Types::GetActivationCredentialsOutput

Returns activation credentials and image information for the specified appliance.

Examples:

Request syntax with placeholder values


resp = client.get_activation_credentials({
  appliance_arn: "ApplianceArn", # required
})

Response structure


resp.image #=> String
resp.aws_ova_image_root_certificate_download_url #=> String
resp.activation_token_expires_at #=> Time
resp.activation_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

Returns:

See Also:



892
893
894
895
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 892

def get_activation_credentials(params = {}, options = {})
  req = build_request(:get_activation_credentials, params)
  req.send_request(options)
end

#get_agent_download(params = {}) ⇒ Types::GetAgentDownloadOutput

Returns the agent installer download URL and version for the specified appliance and platform.

Examples:

Request syntax with placeholder values


resp = client.get_agent_download({
  appliance_arn: "ApplianceArn", # required
  platform: "WINDOWS", # required, accepts WINDOWS, LINUX_RPM, LINUX_SUSE_RPM, LINUX_DEB, LINUX_SCRIPT
})

Response structure


resp.agent_download_url #=> String
resp.agent_version #=> String
resp.signing_certificate_download_url #=> String
resp.agent_certificate_bundle_download_url #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :platform (required, String) —

    The platform and installation format for the agent download.

Returns:

See Also:



931
932
933
934
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 931

def get_agent_download(params = {}, options = {})
  req = build_request(:get_agent_download, params)
  req.send_request(options)
end

#get_agent_upgrade_settings(params = {}) ⇒ Types::GetAgentUpgradeSettingsOutput

Retrieves the current auto-upgrade settings for an appliance.

Examples:

Request syntax with placeholder values


resp = client.get_agent_upgrade_settings({
  appliance_arn: "ApplianceArn", # required
})

Response structure


resp.enable_auto_upgrade #=> Boolean
resp.start_hour_utc #=> Integer
resp.end_hour_utc #=> Integer

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

Returns:

See Also:



963
964
965
966
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 963

def get_agent_upgrade_settings(params = {}, options = {})
  req = build_request(:get_agent_upgrade_settings, params)
  req.send_request(options)
end

#get_appliance(params = {}) ⇒ Types::GetApplianceOutput

Returns the configuration and status of the specified appliance. To retrieve the nodes belonging to the appliance, use ListNodes.

Examples:

Request syntax with placeholder values


resp = client.get_appliance({
  appliance_arn: "ApplianceArn", # required
})

Response structure


resp.appliance_arn #=> String
resp.appliance_name #=> String
resp.environment_type #=> String, one of "EC2", "VMWARE"
resp.appliance_iam_role_arn #=> String
resp.node_fault_tolerance #=> Integer
resp.network_configuration.domain_name #=> String
resp.network_configuration.search_domains #=> Array
resp.network_configuration.search_domains[0] #=> String
resp.network_configuration.dns_servers #=> Array
resp.network_configuration.dns_servers[0] #=> String
resp.network_configuration.ntp_servers #=> Array
resp.network_configuration.ntp_servers[0] #=> String
resp.network_configuration.subnet_gateway #=> String
resp.network_configuration.subnet_mask #=> String
resp.appliance_management_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "UPDATING", "DELETE_FAILED", "DISCONNECTED", "SUSPENDED"
resp.appliance_operation_mode #=> String, one of "PENDING", "RUNNING", "PAUSED"
resp.health_status #=> String, one of "UNKNOWN", "HEALTHY", "WARNING", "CRITICAL"
resp.notifications #=> Array
resp.notifications[0].message #=> String
resp.created_at #=> Time
resp.deleted_at #=> Time
resp.patched_at #=> Time
resp.software_version #=> String
resp.tags #=> Hash
resp.tags["TagKey"] #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

Returns:

See Also:



1030
1031
1032
1033
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1030

def get_appliance(params = {}, options = {})
  req = build_request(:get_appliance, params)
  req.send_request(options)
end

#get_appliance_sizing_recommendation(params = {}) ⇒ Types::GetApplianceSizingRecommendationOutput

Returns appliance sizing recommendations for the specified workloads and projection period.

Examples:

Request syntax with placeholder values


resp = client.get_appliance_sizing_recommendation({
  workloads: [ # required
    {
      initial_size_ti_b: 1.0, # required
      change_rate_percent: 1.0, # required
      annual_growth_rate_percent: 1.0, # required
      completion_window_minutes: 1,
      enable_copy_to_cloud: false,
      backup_configuration: { # required
        vmware_vm: {
          backup_rules: [ # required
            {
              frequency: 1,
              frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
              delete_after_days: 1,
              enable_continuous_backup: false,
              log_backup_frequency_in_minutes: 1,
            },
          ],
        },
        mssql_database: {
          backup_rules: [ # required
            {
              frequency: 1,
              frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
              delete_after_days: 1,
              enable_continuous_backup: false,
              log_backup_frequency_in_minutes: 1,
            },
          ],
          full_backup_after_days: 1, # required
          log_change_rate_percent: 1.0,
        },
        oracle_database: {
          backup_rules: [ # required
            {
              frequency: 1,
              frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
              delete_after_days: 1,
              enable_continuous_backup: false,
              log_backup_frequency_in_minutes: 1,
            },
          ],
          full_backup_after_days: 1, # required
          log_change_rate_percent: 1.0,
        },
        nas: {
          data_profile: "STANDARD", # required, accepts STANDARD, STRUCTURED, NON_DEDUPABLE
          initial_file_count_in_millions: 1.0, # required
          backup_rules: [ # required
            {
              frequency: 1,
              frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
              delete_after_days: 1,
              enable_continuous_backup: false,
              log_backup_frequency_in_minutes: 1,
            },
          ],
        },
        physical_server: {
          backup_rules: [ # required
            {
              frequency: 1,
              frequency_unit: "HOURS", # accepts HOURS, DAYS, WEEKS, MONTHS, YEARS
              delete_after_days: 1,
              enable_continuous_backup: false,
              log_backup_frequency_in_minutes: 1,
            },
          ],
        },
      },
    },
  ],
  projection_years: 1, # required
  node_fault_tolerance: 1,
  node_type: "EC2", # required, accepts EC2, VMWARE
})

Response structure


resp.projections #=> Array
resp.projections[0].year #=> Integer
resp.projections[0].required_node_count #=> Integer
resp.projections[0].data_storage_size_ti_b_per_node #=> Float
resp.projections[0]. #=> Float

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :workloads (required, Array<Types::SizingWorkload>) —

    The workloads for which to calculate appliance sizing recommendations.

  • :projection_years (required, Integer) —

    The number of years for which to calculate appliance sizing projections.

  • :node_fault_tolerance (Integer) —

    The number of node failures that the appliance can tolerate.

  • :node_type (required, String) —

    The type of appliance node to use in the sizing calculation.

Returns:

See Also:



1147
1148
1149
1150
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1147

def get_appliance_sizing_recommendation(params = {}, options = {})
  req = build_request(:get_appliance_sizing_recommendation, params)
  req.send_request(options)
end

#get_node(params = {}) ⇒ Types::GetNodeOutput

Returns information about the specified appliance node.

Examples:

Request syntax with placeholder values


resp = client.get_node({
  appliance_arn: "ApplianceArn", # required
  node_arn: "NodeArn", # required
})

Response structure


resp.appliance_arn #=> String
resp.node_arn #=> String
resp.ip_address #=> String
resp.environment_type #=> String, one of "EC2", "VMWARE"
resp.node_management_status #=> String, one of "PENDING_VERIFICATION", "PENDING_NODE_ADDITION", "AVAILABLE", "FAILED", "UPDATING", "DELETING", "DELETED"
resp.health_status #=> String, one of "UNKNOWN", "HEALTHY", "WARNING", "CRITICAL"
resp.notifications #=> Array
resp.notifications[0].message #=> String
resp.created_at #=> Time
resp.deleted_at #=> Time
resp.software_version #=> String
resp.tags #=> Hash
resp.tags["TagKey"] #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :node_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance node.

Returns:

See Also:



1201
1202
1203
1204
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1201

def get_node(params = {}, options = {})
  req = build_request(:get_node, params)
  req.send_request(options)
end

#get_resource_provider(params = {}) ⇒ Types::GetResourceProviderOutput

Returns configuration, metadata, and status information for the specified resource provider.

Examples:

Request syntax with placeholder values


resp = client.get_resource_provider({
  arn: "ResourceProviderArn", # required
})

Response structure


resp.agent_compliance_status #=> String, one of "NON_COMPLIANT", "UP_TO_DATE", "UPGRADE_AVAILABLE"
resp.agent_upgrade_status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "FAILED"
resp.agent_upgrade_status_message #=> String
resp.agent_version_current #=> String
resp.agent_version_latest #=> String
resp.appliance_arn #=> String
resp.arn #=> String
resp.created_at #=> Time
resp.last_sync_started_at #=> Time
resp.last_sync_completed_at #=> Time
resp.name #=> String
resp.provider_configuration.mssql_server.endpoint #=> String
resp.provider_configuration.nas_share.share_path #=> String
resp.provider_configuration.nas_share.protocol #=> String, one of "NFS_3", "NFS_4_1", "SMB"
resp.provider_configuration.oracledb_server.endpoint #=> String
resp.provider_configuration.oracledb_cluster.alternative_endpoint #=> String
resp.provider_configuration.oracledb_cluster.endpoint #=> String
resp.provider_configuration.server_host.endpoint #=> String
resp.provider_configuration.vmware_esxi.endpoint #=> String
resp.provider_configuration.vmware_esxi.max_concurrent_streams_per_datastore #=> Integer
resp.provider_configuration.vmware_esxi.min_free_datastore_space_for_backup_percentage #=> Float
resp.provider_configuration.vmware_esxi.min_free_datastore_space_for_backup_gb #=> Float
resp.provider_configuration.vmware_vcenter.endpoint #=> String
resp.provider_configuration.vmware_vcenter.max_concurrent_streams_per_datastore #=> Integer
resp.provider_configuration.vmware_vcenter.min_free_datastore_space_for_backup_percentage #=> Float
resp.provider_configuration.vmware_vcenter.min_free_datastore_space_for_backup_gb #=> Float
resp.provider_configuration.vmware_vcenter.max_concurrent_vm_backups #=> Integer
resp..mssql_server.database_count #=> Integer
resp..mssql_server.instance_count #=> Integer
resp..mssql_server.os_name #=> String
resp..mssql_server.os_type #=> String
resp..oracledb_server.database_count #=> Integer
resp..oracledb_server.os_name #=> String
resp..oracledb_server.software_version #=> String
resp..oracledb_cluster.cluster_node_count #=> Integer
resp..oracledb_cluster.database_count #=> Integer
resp..server_host.logical_size_in_bytes #=> Integer
resp..server_host.os_name #=> String
resp..server_host.os_type #=> String
resp.provider_type #=> String, one of "MSSQL_SERVER", "NAS_SHARE", "ORACLEDB_SERVER", "ORACLEDB_CLUSTER", "SERVER_HOST", "VMWARE_ESXI", "VMWARE_VCENTER"
resp.secret_configuration_arn #=> String
resp.status #=> String, one of "DELETING", "DELETION_FAILED", "MIGRATING", "MIGRATION_FAILED", "SYNCING", "SYNC_COMPLETED", "SYNC_FAILED"
resp.status_message #=> String
resp.target_configuration.mssql_database.full_backup_after_days #=> Integer
resp.target_configuration.mssql_database.full_backup_after_schedule_expression #=> String
resp.target_configuration.mssql_database.backup_stream_count #=> Integer
resp.target_configuration.mssql_database.is_copy_only_full #=> Boolean
resp.target_configuration.mssql_database.log_backup_frequency_in_minutes #=> Integer
resp.target_configuration.nas_filesystem.allow_unencrypted_data_transfer #=> Boolean
resp.target_configuration.oracledb_database.full_backup_after_days #=> Integer
resp.target_configuration.oracledb_database.full_backup_after_schedule_expression #=> String
resp.target_configuration.oracledb_database.backup_channel_count #=> Integer
resp.target_configuration.oracledb_database.backup_node_host_name #=> String
resp.target_configuration.oracledb_database.log_backup_frequency_in_minutes #=> Integer
resp.target_configuration.oracledb_database.log_retention_on_host_in_hours #=> Integer
resp.target_configuration.server_filesystem.backup_consistency #=> String, one of "NON_CONSISTENT", "CRASH_CONSISTENT", "CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT"
resp.target_configuration.server_filesystem.post_backup_script.script_params #=> String
resp.target_configuration.server_filesystem.post_backup_script.script_path #=> String
resp.target_configuration.server_filesystem.post_backup_script.timeout_in_minutes #=> Integer
resp.target_configuration.server_filesystem.pre_backup_script.continue_backup_on_script_failure #=> Boolean
resp.target_configuration.server_filesystem.pre_backup_script.script_params #=> String
resp.target_configuration.server_filesystem.pre_backup_script.script_path #=> String
resp.target_configuration.server_filesystem.pre_backup_script.timeout_in_minutes #=> Integer
resp.target_configuration.vmware_vm.backup_consistency #=> String, one of "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", "APP_CONSISTENT", "CRASH_CONSISTENT"
resp.target_tags_on_create #=> Hash
resp.target_tags_on_create["TagKey"] #=> String
resp.target_tag_keys_to_sync #=> Array
resp.target_tag_keys_to_sync[0] #=> String
resp.auto_delete_not_found_targets_after_days #=> Integer
resp.updated_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource provider.

Returns:

See Also:



1320
1321
1322
1323
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1320

def get_resource_provider(params = {}, options = {})
  req = build_request(:get_resource_provider, params)
  req.send_request(options)
end

#get_resource_target(params = {}) ⇒ Types::GetResourceTargetOutput

Returns configuration, metadata, and status information for the specified resource target.

Examples:

Request syntax with placeholder values


resp = client.get_resource_target({
  arn: "ResourceTargetArn", # required
})

Response structure


resp.arn #=> String
resp.created_at #=> Time
resp.external_identifier #=> String
resp.external_name #=> String
resp.last_synced_at #=> Time
resp.name #=> String
resp.provider_arn #=> String
resp.provider_type #=> String, one of "MSSQL_SERVER", "NAS_SHARE", "ORACLEDB_SERVER", "ORACLEDB_CLUSTER", "SERVER_HOST", "VMWARE_ESXI", "VMWARE_VCENTER"
resp.status #=> String, one of "AVAILABLE", "UNAVAILABLE", "NOT_FOUND", "DELETING", "MIGRATING"
resp.status_message #=> String
resp.target_configuration.mssql_database.full_backup_after_days #=> Integer
resp.target_configuration.mssql_database.full_backup_after_schedule_expression #=> String
resp.target_configuration.mssql_database.backup_stream_count #=> Integer
resp.target_configuration.mssql_database.is_copy_only_full #=> Boolean
resp.target_configuration.mssql_database.log_backup_frequency_in_minutes #=> Integer
resp.target_configuration.nas_filesystem.allow_unencrypted_data_transfer #=> Boolean
resp.target_configuration.oracledb_database.full_backup_after_days #=> Integer
resp.target_configuration.oracledb_database.full_backup_after_schedule_expression #=> String
resp.target_configuration.oracledb_database.backup_channel_count #=> Integer
resp.target_configuration.oracledb_database.backup_node_host_name #=> String
resp.target_configuration.oracledb_database.log_backup_frequency_in_minutes #=> Integer
resp.target_configuration.oracledb_database.log_retention_on_host_in_hours #=> Integer
resp.target_configuration.server_filesystem.backup_consistency #=> String, one of "NON_CONSISTENT", "CRASH_CONSISTENT", "CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT"
resp.target_configuration.server_filesystem.post_backup_script.script_params #=> String
resp.target_configuration.server_filesystem.post_backup_script.script_path #=> String
resp.target_configuration.server_filesystem.post_backup_script.timeout_in_minutes #=> Integer
resp.target_configuration.server_filesystem.pre_backup_script.continue_backup_on_script_failure #=> Boolean
resp.target_configuration.server_filesystem.pre_backup_script.script_params #=> String
resp.target_configuration.server_filesystem.pre_backup_script.script_path #=> String
resp.target_configuration.server_filesystem.pre_backup_script.timeout_in_minutes #=> Integer
resp.target_configuration.vmware_vm.backup_consistency #=> String, one of "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", "APP_CONSISTENT", "CRASH_CONSISTENT"
resp.target_configuration_source #=> String, one of "PROVIDER", "TARGET"
resp..mssql_database.compatibility_level #=> String
resp..mssql_database.database_name #=> String
resp..mssql_database.database_identifier #=> String
resp..mssql_database.filestream_status #=> String
resp..mssql_database.instance_name #=> String
resp..mssql_database.is_system_db #=> Boolean
resp..mssql_database.logical_size_in_bytes #=> Integer
resp..mssql_database.recovery_model #=> String, one of "SIMPLE", "FULL", "BULK_LOGGED"
resp..mssql_database.software_version #=> String
resp..mssql_database.transparent_data_encryption_enabled #=> Boolean
resp..oracledb_database.database_name #=> String
resp..oracledb_database.database_identifier #=> String
resp..oracledb_database.logical_size_in_bytes #=> Integer
resp..oracledb_database.software_version #=> String
resp..oracledb_database.transparent_data_encryption_enabled #=> Boolean
resp..vmware_vm.guest_os_type #=> String
resp..vmware_vm.ip_address #=> String
resp..vmware_vm.logical_size_in_bytes #=> Integer
resp..vmware_vm.resource_pool_path #=> String
resp..vmware_vm.virtual_hardware_version #=> String
resp..vmware_vm.vm_folder_path #=> String
resp..vmware_vm.vm_name #=> String
resp..vmware_vm.vm_mo_id #=> String
resp..vmware_vm.vmware_tools_status #=> String
resp.target_type #=> String, one of "MSSQL_DATABASE", "NAS_FILESYSTEM", "ORACLEDB_DATABASE", "SERVER_FILESYSTEM", "VMWARE_VM"
resp.updated_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource target.

Returns:

See Also:



1420
1421
1422
1423
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1420

def get_resource_target(params = {}, options = {})
  req = build_request(:get_resource_target, params)
  req.send_request(options)
end

#list_appliances(params = {}) ⇒ Types::ListAppliancesOutput

Returns a list of appliances. Use the pagination token to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_appliances({
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.appliances #=> Array
resp.appliances[0].appliance_arn #=> String
resp.appliances[0].appliance_name #=> String
resp.appliances[0].environment_type #=> String, one of "EC2", "VMWARE"
resp.appliances[0].appliance_management_status #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED", "UPDATING", "DELETE_FAILED", "DISCONNECTED", "SUSPENDED"
resp.appliances[0].appliance_operation_mode #=> String, one of "PENDING", "RUNNING", "PAUSED"
resp.appliances[0].health_status #=> String, one of "UNKNOWN", "HEALTHY", "WARNING", "CRITICAL"
resp.appliances[0].notifications #=> Array
resp.appliances[0].notifications[0].message #=> String
resp.appliances[0].created_at #=> Time
resp.appliances[0].deleted_at #=> Time
resp.appliances[0].patched_at #=> Time
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :max_results (Integer) —

    The maximum number of results to return in a single response.

  • :next_token (String) —

    The token returned by a previous call to retrieve the next page of results.

Returns:

See Also:



1469
1470
1471
1472
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1469

def list_appliances(params = {}, options = {})
  req = build_request(:list_appliances, params)
  req.send_request(options)
end

#list_disks(params = {}) ⇒ Types::ListDisksOutput

Returns a list of disks attached to the specified appliance node. Use the pagination token to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_disks({
  appliance_arn: "ApplianceArn", # required
  node_arn: "NodeArn", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.disks #=> Array
resp.disks[0].disk_identifier #=> String
resp.disks[0].device_path #=> String
resp.disks[0].size_in_bytes #=> Integer
resp.disks[0].status #=> String, one of "AVAILABLE", "ASSOCIATED"
resp.disks[0].associated_at #=> Time
resp.disks[0].disk_type #=> String, one of "DATA", "METADATA"
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :node_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance node.

  • :max_results (Integer) —

    The maximum number of results to return in a single response.

  • :next_token (String) —

    The token returned by a previous call to retrieve the next page of results.

Returns:

See Also:



1521
1522
1523
1524
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1521

def list_disks(params = {}, options = {})
  req = build_request(:list_disks, params)
  req.send_request(options)
end

#list_nodes(params = {}) ⇒ Types::ListNodesOutput

Returns a list of nodes belonging to the specified appliance. Use the pagination token to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_nodes({
  appliance_arn: "ApplianceArn", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.nodes #=> Array
resp.nodes[0].appliance_arn #=> String
resp.nodes[0].node_arn #=> String
resp.nodes[0].ip_address #=> String
resp.nodes[0].environment_type #=> String, one of "EC2", "VMWARE"
resp.nodes[0].node_management_status #=> String, one of "PENDING_VERIFICATION", "PENDING_NODE_ADDITION", "AVAILABLE", "FAILED", "UPDATING", "DELETING", "DELETED"
resp.nodes[0].health_status #=> String, one of "UNKNOWN", "HEALTHY", "WARNING", "CRITICAL"
resp.nodes[0].notifications #=> Array
resp.nodes[0].notifications[0].message #=> String
resp.nodes[0].created_at #=> Time
resp.nodes[0].deleted_at #=> Time
resp.nodes[0].software_version #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :max_results (Integer) —

    The maximum number of results to return in a single response.

  • :next_token (String) —

    The token returned by a previous call to retrieve the next page of results.

Returns:

See Also:



1574
1575
1576
1577
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1574

def list_nodes(params = {}, options = {})
  req = build_request(:list_nodes, params)
  req.send_request(options)
end

#list_resource_providers(params = {}) ⇒ Types::ListResourceProvidersOutput

Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_resource_providers({
  appliance_arn: "ApplianceArn",
  max_results: 1,
  next_token: "NextToken",
  resource_provider_type: "MSSQL_SERVER", # accepts MSSQL_SERVER, NAS_SHARE, ORACLEDB_SERVER, ORACLEDB_CLUSTER, SERVER_HOST, VMWARE_ESXI, VMWARE_VCENTER
})

Response structure


resp.next_token #=> String
resp.items #=> Array
resp.items[0].agent_compliance_status #=> String, one of "NON_COMPLIANT", "UP_TO_DATE", "UPGRADE_AVAILABLE"
resp.items[0].agent_upgrade_status #=> String, one of "PENDING", "RUNNING", "COMPLETED", "FAILED"
resp.items[0].agent_upgrade_status_message #=> String
resp.items[0].agent_version_current #=> String
resp.items[0].agent_version_latest #=> String
resp.items[0].appliance_arn #=> String
resp.items[0].arn #=> String
resp.items[0].created_at #=> Time
resp.items[0].last_sync_started_at #=> Time
resp.items[0].last_sync_completed_at #=> Time
resp.items[0].name #=> String
resp.items[0].provider_type #=> String, one of "MSSQL_SERVER", "NAS_SHARE", "ORACLEDB_SERVER", "ORACLEDB_CLUSTER", "SERVER_HOST", "VMWARE_ESXI", "VMWARE_VCENTER"
resp.items[0].secret_configuration_arn #=> String
resp.items[0].status #=> String, one of "DELETING", "DELETION_FAILED", "MIGRATING", "MIGRATION_FAILED", "SYNCING", "SYNC_COMPLETED", "SYNC_FAILED"
resp.items[0].status_message #=> String
resp.items[0].updated_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (String) —

    The Amazon Resource Name (ARN) of the appliance by which to filter the results.

  • :max_results (Integer) —

    The maximum number of results to return in a single response.

  • :next_token (String) —

    The token returned by a previous call to retrieve the next page of results.

  • :resource_provider_type (String) —

    The resource provider type by which to filter the results.

Returns:

See Also:



1638
1639
1640
1641
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1638

def list_resource_providers(params = {}, options = {})
  req = build_request(:list_resource_providers, params)
  req.send_request(options)
end

#list_resource_targets(params = {}) ⇒ Types::ListResourceTargetsOutput

Returns a list of resource targets, optionally filtered by resource provider or target type. Use the pagination token to retrieve additional results.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Request syntax with placeholder values


resp = client.list_resource_targets({
  max_results: 1,
  next_token: "NextToken",
  resource_provider_arn: "ResourceProviderArn",
  resource_target_type: "MSSQL_DATABASE", # accepts MSSQL_DATABASE, NAS_FILESYSTEM, ORACLEDB_DATABASE, SERVER_FILESYSTEM, VMWARE_VM
})

Response structure


resp.items #=> Array
resp.items[0].arn #=> String
resp.items[0].created_at #=> Time
resp.items[0].external_identifier #=> String
resp.items[0].external_name #=> String
resp.items[0].last_synced_at #=> Time
resp.items[0].name #=> String
resp.items[0].provider_arn #=> String
resp.items[0].provider_type #=> String, one of "MSSQL_SERVER", "NAS_SHARE", "ORACLEDB_SERVER", "ORACLEDB_CLUSTER", "SERVER_HOST", "VMWARE_ESXI", "VMWARE_VCENTER"
resp.items[0].status #=> String, one of "AVAILABLE", "UNAVAILABLE", "NOT_FOUND", "DELETING", "MIGRATING"
resp.items[0].status_message #=> String
resp.items[0].target_type #=> String, one of "MSSQL_DATABASE", "NAS_FILESYSTEM", "ORACLEDB_DATABASE", "SERVER_FILESYSTEM", "VMWARE_VM"
resp.items[0].updated_at #=> Time
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :max_results (Integer) —

    The maximum number of results to return in a single response.

  • :next_token (String) —

    The token returned by a previous call to retrieve the next page of results.

  • :resource_provider_arn (String) —

    The Amazon Resource Name (ARN) of the resource provider by which to filter the results.

  • :resource_target_type (String) —

    The resource target type by which to filter the results.

Returns:

See Also:



1698
1699
1700
1701
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1698

def list_resource_targets(params = {}, options = {})
  req = build_request(:list_resource_targets, params)
  req.send_request(options)
end

#list_tags(params = {}) ⇒ Types::ListTagsOutput

Returns the tags associated with the specified resource.

Examples:

Request syntax with placeholder values


resp = client.list_tags({
  resource_arn: "TaggableResourceArn", # required
})

Response structure


resp.tags #=> Hash
resp.tags["TagKey"] #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource.

Returns:

See Also:



1727
1728
1729
1730
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1727

def list_tags(params = {}, options = {})
  req = build_request(:list_tags, params)
  req.send_request(options)
end

#put_agent_upgrade_settings(params = {}) ⇒ Struct

Configures per-appliance daily auto-upgrade settings.

When EnableAutoUpgrade is true, StartHourUtc and EndHourUtc are required and define the daily UTC window during which the appliance may be upgraded automatically. The upgrade fires once daily at a random time within the configured window.

Validation rules:

  • If EnableAutoUpgrade=true, StartHourUtc and EndHourUtc MUST both be provided.
  • If EnableAutoUpgrade=false, StartHourUtc and EndHourUtc are ignored.
  • Wrap-around is supported (e.g., StartHourUtc=22, EndHourUtc=4 means 10pm-4am UTC).
  • Window must be ≥1 hour (StartHourUtc != EndHourUtc).

Examples:

Request syntax with placeholder values


resp = client.put_agent_upgrade_settings({
  appliance_arn: "ApplianceArn", # required
  enable_auto_upgrade: false, # required
  start_hour_utc: 1,
  end_hour_utc: 1,
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :enable_auto_upgrade (required, Boolean) —

    Specifies whether automatic agent upgrades are enabled for the appliance.

  • :start_hour_utc (Integer) —

    Hour of day in UTC (0-23 inclusive).

  • :end_hour_utc (Integer) —

    Hour of day in UTC (0-23 inclusive).

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1776
1777
1778
1779
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1776

def put_agent_upgrade_settings(params = {}, options = {})
  req = build_request(:put_agent_upgrade_settings, params)
  req.send_request(options)
end

#start_resource_provider_agent_upgrade(params = {}) ⇒ Types::StartResourceProviderAgentUpgradeOutput

Starts an agent upgrade for the specified resource provider. Returns the date and time that the upgrade started.

Examples:

Request syntax with placeholder values


resp = client.start_resource_provider_agent_upgrade({
  arn: "ResourceProviderArn", # required
})

Response structure


resp.upgrade_started_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource provider.

Returns:

See Also:



1805
1806
1807
1808
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1805

def start_resource_provider_agent_upgrade(params = {}, options = {})
  req = build_request(:start_resource_provider_agent_upgrade, params)
  req.send_request(options)
end

#start_resource_provider_migration(params = {}) ⇒ Types::StartResourceProviderMigrationOutput

Starts migration of the specified resource provider to another appliance. Returns the date and time that migration started.

Examples:

Request syntax with placeholder values


resp = client.start_resource_provider_migration({
  arn: "ResourceProviderArn", # required
  destination_appliance_arn: "ApplianceArn", # required
})

Response structure


resp.migration_started_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource provider.

  • :destination_appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance to which the resource provider is migrated.

Returns:

See Also:



1839
1840
1841
1842
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1839

def start_resource_provider_migration(params = {}, options = {})
  req = build_request(:start_resource_provider_migration, params)
  req.send_request(options)
end

#start_resource_provider_sync(params = {}) ⇒ Types::StartResourceProviderSyncOutput

Starts synchronization of the resource targets for the specified resource provider. Returns the date and time that synchronization started.

Examples:

Request syntax with placeholder values


resp = client.start_resource_provider_sync({
  arn: "ResourceProviderArn", # required
})

Response structure


resp.sync_started_at #=> Time

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource provider.

Returns:

See Also:



1869
1870
1871
1872
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1869

def start_resource_provider_sync(params = {}, options = {})
  req = build_request(:start_resource_provider_sync, params)
  req.send_request(options)
end

#tag_resource(params = {}) ⇒ Struct

Adds or updates tags on the specified resource.

Examples:

Request syntax with placeholder values


resp = client.tag_resource({
  resource_arn: "TaggableResourceArn", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource.

  • :tags (required, Hash<String,String>) —

    The tags to add or update on the resource.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1897
1898
1899
1900
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1897

def tag_resource(params = {}, options = {})
  req = build_request(:tag_resource, params)
  req.send_request(options)
end

#untag_resource(params = {}) ⇒ Struct

Removes the specified tags from a resource.

Examples:

Request syntax with placeholder values


resp = client.untag_resource({
  resource_arn: "TaggableResourceArn", # required
  tag_keys: ["TagKey"], # required
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource.

  • :tag_keys (required, Array<String>) —

    The keys of the tags to remove from the resource.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1923
1924
1925
1926
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1923

def untag_resource(params = {}, options = {})
  req = build_request(:untag_resource, params)
  req.send_request(options)
end

#update_appliance(params = {}) ⇒ Types::UpdateApplianceOutput

Updates the name, configuration, or operation mode of the specified appliance.

Examples:

Request syntax with placeholder values


resp = client.update_appliance({
  appliance_arn: "ApplianceArn", # required
  appliance_name: "String",
  appliance_iam_role_arn: "RoleArn",
  node_fault_tolerance: 1,
  network_configuration: {
    domain_name: "String",
    search_domains: ["String"],
    dns_servers: ["String"],
    ntp_servers: ["String"],
  },
  appliance_operation_mode: "RUNNING", # accepts RUNNING, PAUSED
})

Response structure


resp.appliance_arn #=> String
resp.appliance_name #=> String
resp.appliance_operation_mode #=> String, one of "PENDING", "RUNNING", "PAUSED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :appliance_name (String) —

    The name of the appliance.

  • :appliance_iam_role_arn (String) —

    The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.

  • :node_fault_tolerance (Integer) —

    The number of node failures that the appliance can tolerate.

  • :network_configuration (Types::ApplianceNetworkConfigurationForUpdate) —

    The network configuration of the appliance.

  • :appliance_operation_mode (String) —

    The operation mode of the appliance.

Returns:

See Also:



1982
1983
1984
1985
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 1982

def update_appliance(params = {}, options = {})
  req = build_request(:update_appliance, params)
  req.send_request(options)
end

#update_resource_provider(params = {}) ⇒ Struct

Updates the configuration of the specified resource provider.

Examples:

Request syntax with placeholder values


resp = client.update_resource_provider({
  arn: "ResourceProviderArn", # required
  name: "ResourceName",
  provider_configuration: {
    mssql_server: {
      endpoint: "Endpoint", # required
    },
    nas_share: {
      share_path: "ResourceProviderConfigurationForNasShareSharePathString", # required
      protocol: "NFS_3", # required, accepts NFS_3, NFS_4_1, SMB
    },
    oracledb_server: {
      endpoint: "Endpoint", # required
    },
    oracledb_cluster: {
      alternative_endpoint: "Endpoint",
      endpoint: "Endpoint", # required
    },
    server_host: {
      endpoint: "Endpoint", # required
    },
    vmware_esxi: {
      endpoint: "Endpoint", # required
      max_concurrent_streams_per_datastore: 1,
      min_free_datastore_space_for_backup_percentage: 1.0,
      min_free_datastore_space_for_backup_gb: 1.0,
    },
    vmware_vcenter: {
      endpoint: "Endpoint", # required
      max_concurrent_streams_per_datastore: 1,
      min_free_datastore_space_for_backup_percentage: 1.0,
      min_free_datastore_space_for_backup_gb: 1.0,
      max_concurrent_vm_backups: 1,
    },
  },
  secret_configuration_arn: "SecretConfigurationArn",
  target_configuration: {
    mssql_database: {
      full_backup_after_days: 1, # required
      full_backup_after_schedule_expression: "ResourceTargetConfigurationForMssqlDatabaseFullBackupAfterScheduleExpressionString",
      backup_stream_count: 1,
      is_copy_only_full: false, # required
      log_backup_frequency_in_minutes: 1,
    },
    nas_filesystem: {
      allow_unencrypted_data_transfer: false, # required
    },
    oracledb_database: {
      full_backup_after_days: 1, # required
      full_backup_after_schedule_expression: "ResourceTargetConfigurationForOracledbDatabaseFullBackupAfterScheduleExpressionString",
      backup_channel_count: 1,
      backup_node_host_name: "HostName",
      log_backup_frequency_in_minutes: 1,
      log_retention_on_host_in_hours: 1,
    },
    server_filesystem: {
      backup_consistency: "NON_CONSISTENT", # accepts NON_CONSISTENT, CRASH_CONSISTENT, CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT
      post_backup_script: {
        script_params: "StringMax256",
        script_path: "ServerFilesystemBackupScriptPath", # required
        timeout_in_minutes: 1,
      },
      pre_backup_script: {
        continue_backup_on_script_failure: false, # required
        script_params: "StringMax256",
        script_path: "ServerFilesystemBackupScriptPath", # required
        timeout_in_minutes: 1,
      },
    },
    vmware_vm: {
      backup_consistency: "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", # accepts APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT, APP_CONSISTENT, CRASH_CONSISTENT
    },
  },
  target_tags_on_create: {
    "TagKey" => "TagValue",
  },
  target_tag_keys_to_sync: ["ResourceTargetTagKeyToSync"],
  auto_delete_not_found_targets_after_days: 1,
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource provider.

  • :name (String) —

    The name of the resource provider.

  • :provider_configuration (Types::ResourceProviderConfiguration) —

    The configuration of the resource provider.

  • :secret_configuration_arn (String) —

    The Amazon Resource Name (ARN) of the AWS Secrets Manager secret used to access the resource provider.

  • :target_configuration (Types::ResourceTargetConfigurations) —

    The default backup configurations for the resource provider's resource targets, by target type.

  • :target_tags_on_create (Hash<String,String>) —

    The tags to apply when the resource provider's resource targets are created.

  • :target_tag_keys_to_sync (Array<String>) —

    The tag keys whose values are synchronized from external resources to their resource targets.

  • :auto_delete_not_found_targets_after_days (Integer) —

    The number of days after which resource targets with a status of NOT_FOUND are automatically deleted. Specify -1 to disable automatic deletion.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



2107
2108
2109
2110
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 2107

def update_resource_provider(params = {}, options = {})
  req = build_request(:update_resource_provider, params)
  req.send_request(options)
end

#update_resource_target(params = {}) ⇒ Struct

Updates the name or backup configuration of the specified resource target.

Examples:

Request syntax with placeholder values


resp = client.update_resource_target({
  arn: "ResourceTargetArn", # required
  name: "ResourceName",
  target_configuration: {
    mssql_database: {
      full_backup_after_days: 1, # required
      full_backup_after_schedule_expression: "ResourceTargetConfigurationForMssqlDatabaseFullBackupAfterScheduleExpressionString",
      backup_stream_count: 1,
      is_copy_only_full: false, # required
      log_backup_frequency_in_minutes: 1,
    },
    nas_filesystem: {
      allow_unencrypted_data_transfer: false, # required
    },
    oracledb_database: {
      full_backup_after_days: 1, # required
      full_backup_after_schedule_expression: "ResourceTargetConfigurationForOracledbDatabaseFullBackupAfterScheduleExpressionString",
      backup_channel_count: 1,
      backup_node_host_name: "HostName",
      log_backup_frequency_in_minutes: 1,
      log_retention_on_host_in_hours: 1,
    },
    server_filesystem: {
      backup_consistency: "NON_CONSISTENT", # accepts NON_CONSISTENT, CRASH_CONSISTENT, CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT
      post_backup_script: {
        script_params: "StringMax256",
        script_path: "ServerFilesystemBackupScriptPath", # required
        timeout_in_minutes: 1,
      },
      pre_backup_script: {
        continue_backup_on_script_failure: false, # required
        script_params: "StringMax256",
        script_path: "ServerFilesystemBackupScriptPath", # required
        timeout_in_minutes: 1,
      },
    },
    vmware_vm: {
      backup_consistency: "APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT", # accepts APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT, APP_CONSISTENT, CRASH_CONSISTENT
    },
  },
  target_configuration_source: "PROVIDER", # accepts PROVIDER, TARGET
})

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :arn (required, String) —

    The Amazon Resource Name (ARN) of the resource target.

  • :name (String) —

    The name of the resource target.

  • :target_configuration (Types::ResourceTargetConfiguration) —

    The backup configuration for the resource target.

  • :target_configuration_source (String) —

    The source of the resource target's backup configuration.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



2178
2179
2180
2181
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 2178

def update_resource_target(params = {}, options = {})
  req = build_request(:update_resource_target, params)
  req.send_request(options)
end

#verify_nodes(params = {}) ⇒ Types::VerifyNodesOutput

Verifies the specified nodes, which must have a status of PENDING_VERIFICATION, so that they can be added to the appliance. Returns the updated management status of each node.

Examples:

Request syntax with placeholder values


resp = client.verify_nodes({
  appliance_arn: "ApplianceArn", # required
  node_arns: ["NodeArn"], # required
})

Response structure


resp.verified_nodes #=> Array
resp.verified_nodes[0].node_arn #=> String
resp.verified_nodes[0].node_management_status #=> String, one of "PENDING_VERIFICATION", "PENDING_NODE_ADDITION", "AVAILABLE", "FAILED", "UPDATING", "DELETING", "DELETED"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :appliance_arn (required, String) —

    The Amazon Resource Name (ARN) of the appliance.

  • :node_arns (required, Array<String>) —

    The Amazon Resource Names (ARNs) of the appliance nodes to verify.

Returns:

See Also:



2214
2215
2216
2217
# File 'gems/aws-sdk-backupexternal/lib/aws-sdk-backupexternal/client.rb', line 2214

def verify_nodes(params = {}, options = {})
  req = build_request(:verify_nodes, params)
  req.send_request(options)
end