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
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module BackupExternal
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class ConflictException < ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
end
|
|
20
|
+
class InternalServerException < ServiceError
|
|
21
|
+
def message: () -> ::String
|
|
22
|
+
end
|
|
23
|
+
class ResourceNotFoundException < ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class ServiceQuotaExceededException < ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
def resource_type: () -> ::String
|
|
29
|
+
def resource_id: () -> ::String
|
|
30
|
+
def service_code: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class ThrottlingException < ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
end
|
|
35
|
+
class ValidationException < ServiceError
|
|
36
|
+
def message: () -> ::String
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module BackupExternal
|
|
10
|
+
module Params
|
|
11
|
+
type resource_provider_configuration = {
|
|
12
|
+
mssql_server: {
|
|
13
|
+
endpoint: ::String
|
|
14
|
+
}?,
|
|
15
|
+
nas_share: {
|
|
16
|
+
share_path: ::String,
|
|
17
|
+
protocol: ("NFS_3" | "NFS_4_1" | "SMB")
|
|
18
|
+
}?,
|
|
19
|
+
oracledb_server: {
|
|
20
|
+
endpoint: ::String
|
|
21
|
+
}?,
|
|
22
|
+
oracledb_cluster: {
|
|
23
|
+
alternative_endpoint: ::String?,
|
|
24
|
+
endpoint: ::String
|
|
25
|
+
}?,
|
|
26
|
+
server_host: {
|
|
27
|
+
endpoint: ::String
|
|
28
|
+
}?,
|
|
29
|
+
vmware_esxi: {
|
|
30
|
+
endpoint: ::String,
|
|
31
|
+
max_concurrent_streams_per_datastore: ::Integer?,
|
|
32
|
+
min_free_datastore_space_for_backup_percentage: ::Float?,
|
|
33
|
+
min_free_datastore_space_for_backup_gb: ::Float?
|
|
34
|
+
}?,
|
|
35
|
+
vmware_vcenter: {
|
|
36
|
+
endpoint: ::String,
|
|
37
|
+
max_concurrent_streams_per_datastore: ::Integer?,
|
|
38
|
+
min_free_datastore_space_for_backup_percentage: ::Float?,
|
|
39
|
+
min_free_datastore_space_for_backup_gb: ::Float?,
|
|
40
|
+
max_concurrent_vm_backups: ::Integer?
|
|
41
|
+
}?
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
type resource_target_configuration_for_oracledb_database = {
|
|
45
|
+
full_backup_after_days: ::Integer,
|
|
46
|
+
full_backup_after_schedule_expression: ::String?,
|
|
47
|
+
backup_channel_count: ::Integer?,
|
|
48
|
+
backup_node_host_name: ::String?,
|
|
49
|
+
log_backup_frequency_in_minutes: ::Integer?,
|
|
50
|
+
log_retention_on_host_in_hours: ::Integer?
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
type resource_target_configuration_for_server_filesystem = {
|
|
54
|
+
backup_consistency: ("NON_CONSISTENT" | "CRASH_CONSISTENT" | "CRASH_CONSISTENT_FALLBACK_TO_NON_CONSISTENT")?,
|
|
55
|
+
post_backup_script: {
|
|
56
|
+
script_params: ::String?,
|
|
57
|
+
script_path: ::String,
|
|
58
|
+
timeout_in_minutes: ::Integer?
|
|
59
|
+
}?,
|
|
60
|
+
pre_backup_script: {
|
|
61
|
+
continue_backup_on_script_failure: bool,
|
|
62
|
+
script_params: ::String?,
|
|
63
|
+
script_path: ::String,
|
|
64
|
+
timeout_in_minutes: ::Integer?
|
|
65
|
+
}?
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
type resource_target_configurations = {
|
|
69
|
+
mssql_database: {
|
|
70
|
+
full_backup_after_days: ::Integer,
|
|
71
|
+
full_backup_after_schedule_expression: ::String?,
|
|
72
|
+
backup_stream_count: ::Integer?,
|
|
73
|
+
is_copy_only_full: bool,
|
|
74
|
+
log_backup_frequency_in_minutes: ::Integer?
|
|
75
|
+
}?,
|
|
76
|
+
nas_filesystem: {
|
|
77
|
+
allow_unencrypted_data_transfer: bool
|
|
78
|
+
}?,
|
|
79
|
+
oracledb_database: Params::resource_target_configuration_for_oracledb_database?,
|
|
80
|
+
server_filesystem: Params::resource_target_configuration_for_server_filesystem?,
|
|
81
|
+
vmware_vm: {
|
|
82
|
+
backup_consistency: ("APP_CONSISTENT_FALLBACK_TO_CRASH_CONSISTENT" | "APP_CONSISTENT" | "CRASH_CONSISTENT")?
|
|
83
|
+
}?
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
type sizing_standard_backup_configuration = {
|
|
87
|
+
backup_rules: Array[
|
|
88
|
+
{
|
|
89
|
+
frequency: ::Integer?,
|
|
90
|
+
frequency_unit: ("HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS")?,
|
|
91
|
+
delete_after_days: ::Integer?,
|
|
92
|
+
enable_continuous_backup: bool?,
|
|
93
|
+
log_backup_frequency_in_minutes: ::Integer?
|
|
94
|
+
}
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
type sizing_database_backup_configuration = {
|
|
99
|
+
backup_rules: Array[
|
|
100
|
+
{
|
|
101
|
+
frequency: ::Integer?,
|
|
102
|
+
frequency_unit: ("HOURS" | "DAYS" | "WEEKS" | "MONTHS" | "YEARS")?,
|
|
103
|
+
delete_after_days: ::Integer?,
|
|
104
|
+
enable_continuous_backup: bool?,
|
|
105
|
+
log_backup_frequency_in_minutes: ::Integer?
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
full_backup_after_days: ::Integer,
|
|
109
|
+
log_change_rate_percent: ::Float?
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
data/sig/resource.rbs
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module BackupExternal
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupExternal/Resource.html#initialize-instance_method
|
|
13
|
+
def initialize: (
|
|
14
|
+
?client: Client,
|
|
15
|
+
?credentials: untyped,
|
|
16
|
+
?region: String,
|
|
17
|
+
?access_key_id: String,
|
|
18
|
+
?account_id: String,
|
|
19
|
+
?active_endpoint_cache: bool,
|
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
|
21
|
+
?auth_scheme_preference: Array[String],
|
|
22
|
+
?client_side_monitoring: bool,
|
|
23
|
+
?client_side_monitoring_client_id: String,
|
|
24
|
+
?client_side_monitoring_host: String,
|
|
25
|
+
?client_side_monitoring_port: Integer,
|
|
26
|
+
?client_side_monitoring_publisher: untyped,
|
|
27
|
+
?convert_params: bool,
|
|
28
|
+
?correct_clock_skew: bool,
|
|
29
|
+
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
31
|
+
?disable_host_prefix_injection: bool,
|
|
32
|
+
?disable_request_compression: bool,
|
|
33
|
+
?endpoint: String,
|
|
34
|
+
?endpoint_cache_max_entries: Integer,
|
|
35
|
+
?endpoint_cache_max_threads: Integer,
|
|
36
|
+
?endpoint_cache_poll_interval: Integer,
|
|
37
|
+
?endpoint_discovery: bool,
|
|
38
|
+
?ignore_configured_endpoint_urls: bool,
|
|
39
|
+
?log_formatter: untyped,
|
|
40
|
+
?log_level: Symbol,
|
|
41
|
+
?logger: untyped,
|
|
42
|
+
?max_attempts: Integer,
|
|
43
|
+
?profile: String,
|
|
44
|
+
?request_checksum_calculation: String,
|
|
45
|
+
?request_min_compression_size_bytes: Integer,
|
|
46
|
+
?response_checksum_validation: String,
|
|
47
|
+
?retry_backoff: Proc,
|
|
48
|
+
?retry_base_delay: Float,
|
|
49
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
|
50
|
+
?retry_limit: Integer,
|
|
51
|
+
?retry_max_delay: Integer,
|
|
52
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
|
53
|
+
?sdk_ua_app_id: String,
|
|
54
|
+
?secret_access_key: String,
|
|
55
|
+
?session_token: String,
|
|
56
|
+
?sigv4a_signing_region_set: Array[String],
|
|
57
|
+
?stub_responses: untyped,
|
|
58
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
|
59
|
+
?token_provider: untyped,
|
|
60
|
+
?use_dualstack_endpoint: bool,
|
|
61
|
+
?use_fips_endpoint: bool,
|
|
62
|
+
?validate_params: bool,
|
|
63
|
+
?endpoint_provider: untyped,
|
|
64
|
+
?http_proxy: String,
|
|
65
|
+
?http_open_timeout: (Float | Integer),
|
|
66
|
+
?http_read_timeout: (Float | Integer),
|
|
67
|
+
?http_idle_timeout: (Float | Integer),
|
|
68
|
+
?http_continue_timeout: (Float | Integer),
|
|
69
|
+
?ssl_timeout: (Float | Integer | nil),
|
|
70
|
+
?http_wire_trace: bool,
|
|
71
|
+
?ssl_verify_peer: bool,
|
|
72
|
+
?ssl_ca_bundle: String,
|
|
73
|
+
?ssl_ca_directory: String,
|
|
74
|
+
?ssl_ca_store: String,
|
|
75
|
+
?on_chunk_received: Proc,
|
|
76
|
+
?on_chunk_sent: Proc,
|
|
77
|
+
?raise_response_errors: bool
|
|
78
|
+
) -> void
|
|
79
|
+
| (?Hash[Symbol, untyped]) -> void
|
|
80
|
+
|
|
81
|
+
def client: () -> Client
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|