aws-sdk-glacier 1.57.0 → 1.59.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glacier/client.rb +1 -1
- data/lib/aws-sdk-glacier/plugins/endpoints.rb +4 -2
- data/lib/aws-sdk-glacier.rb +1 -1
- data/sig/account.rbs +48 -0
- data/sig/archive.rbs +53 -0
- data/sig/client.rbs +564 -0
- data/sig/errors.rbs +56 -0
- data/sig/job.rbs +113 -0
- data/sig/multipart_upload.rbs +83 -0
- data/sig/notification.rbs +63 -0
- data/sig/resource.rbs +94 -0
- data/sig/types.rbs +600 -0
- data/sig/vault.rbs +137 -0
- data/sig/waiters.rbs +35 -0
- metadata +19 -8
data/sig/job.rbs
ADDED
@@ -0,0 +1,113 @@
|
|
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 Glacier
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html
|
11
|
+
class Job
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#initialize-instance_method
|
13
|
+
def initialize: (String account_id, String vault_name, String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (account_id: String, vault_name: String, id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#account_id-instance_method
|
18
|
+
def account_id: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#vault_name-instance_method
|
21
|
+
def vault_name: () -> String
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#id-instance_method
|
24
|
+
def id: () -> String
|
25
|
+
alias job_id id
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#job_description-instance_method
|
28
|
+
def job_description: () -> ::String
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#action-instance_method
|
31
|
+
def action: () -> ("ArchiveRetrieval" | "InventoryRetrieval" | "Select")
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#archive_id-instance_method
|
34
|
+
def archive_id: () -> ::String
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#vault_arn-instance_method
|
37
|
+
def vault_arn: () -> ::String
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#creation_date-instance_method
|
40
|
+
def creation_date: () -> ::Time
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#completed-instance_method
|
43
|
+
def completed: () -> bool
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#status_code-instance_method
|
46
|
+
def status_code: () -> ("InProgress" | "Succeeded" | "Failed")
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#status_message-instance_method
|
49
|
+
def status_message: () -> ::String
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#archive_size_in_bytes-instance_method
|
52
|
+
def archive_size_in_bytes: () -> ::Integer
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#inventory_size_in_bytes-instance_method
|
55
|
+
def inventory_size_in_bytes: () -> ::Integer
|
56
|
+
|
57
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#sns_topic-instance_method
|
58
|
+
def sns_topic: () -> ::String
|
59
|
+
|
60
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#completion_date-instance_method
|
61
|
+
def completion_date: () -> ::Time
|
62
|
+
|
63
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#sha256_tree_hash-instance_method
|
64
|
+
def sha256_tree_hash: () -> ::String
|
65
|
+
|
66
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#archive_sha256_tree_hash-instance_method
|
67
|
+
def archive_sha256_tree_hash: () -> ::String
|
68
|
+
|
69
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#retrieval_byte_range-instance_method
|
70
|
+
def retrieval_byte_range: () -> ::String
|
71
|
+
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#tier-instance_method
|
73
|
+
def tier: () -> ::String
|
74
|
+
|
75
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#inventory_retrieval_parameters-instance_method
|
76
|
+
def inventory_retrieval_parameters: () -> Types::InventoryRetrievalJobDescription
|
77
|
+
|
78
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#job_output_path-instance_method
|
79
|
+
def job_output_path: () -> ::String
|
80
|
+
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#select_parameters-instance_method
|
82
|
+
def select_parameters: () -> Types::SelectParameters
|
83
|
+
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#output_location-instance_method
|
85
|
+
def output_location: () -> Types::OutputLocation
|
86
|
+
|
87
|
+
def client: () -> Client
|
88
|
+
|
89
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#load-instance_method
|
90
|
+
def load: () -> self
|
91
|
+
alias reload load
|
92
|
+
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#data-instance_method
|
94
|
+
def data: () -> Types::GlacierJobDescription
|
95
|
+
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#data_loaded?-instance_method
|
97
|
+
def data_loaded?: () -> bool
|
98
|
+
|
99
|
+
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#get_output-instance_method
|
101
|
+
def get_output: (
|
102
|
+
?range: ::String
|
103
|
+
) -> Types::GetJobOutputOutput
|
104
|
+
| (?Hash[Symbol, untyped]) -> Types::GetJobOutputOutput
|
105
|
+
|
106
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Job.html#vault-instance_method
|
107
|
+
def vault: () -> Vault
|
108
|
+
|
109
|
+
class Collection < ::Aws::Resources::Collection[Job]
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
113
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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 Glacier
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html
|
11
|
+
class MultipartUpload
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#initialize-instance_method
|
13
|
+
def initialize: (String account_id, String vault_name, String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (account_id: String, vault_name: String, id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#account_id-instance_method
|
18
|
+
def account_id: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#vault_name-instance_method
|
21
|
+
def vault_name: () -> String
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#id-instance_method
|
24
|
+
def id: () -> String
|
25
|
+
alias multipart_upload_id id
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#vault_arn-instance_method
|
28
|
+
def vault_arn: () -> ::String
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#archive_description-instance_method
|
31
|
+
def archive_description: () -> ::String
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#part_size_in_bytes-instance_method
|
34
|
+
def part_size_in_bytes: () -> ::Integer
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#creation_date-instance_method
|
37
|
+
def creation_date: () -> ::Time
|
38
|
+
|
39
|
+
def client: () -> Client
|
40
|
+
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#data-instance_method
|
43
|
+
def data: () -> Types::UploadListElement
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#data_loaded?-instance_method
|
46
|
+
def data_loaded?: () -> bool
|
47
|
+
|
48
|
+
|
49
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#abort-instance_method
|
50
|
+
def abort: (
|
51
|
+
) -> ::Aws::EmptyStructure
|
52
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#complete-instance_method
|
55
|
+
def complete: (
|
56
|
+
?archive_size: ::Integer,
|
57
|
+
?checksum: ::String
|
58
|
+
) -> Types::ArchiveCreationOutput
|
59
|
+
| (?Hash[Symbol, untyped]) -> Types::ArchiveCreationOutput
|
60
|
+
|
61
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#parts-instance_method
|
62
|
+
def parts: (
|
63
|
+
?marker: ::String,
|
64
|
+
?limit: ::Integer
|
65
|
+
) -> Types::ListPartsOutput
|
66
|
+
| (?Hash[Symbol, untyped]) -> Types::ListPartsOutput
|
67
|
+
|
68
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#upload_part-instance_method
|
69
|
+
def upload_part: (
|
70
|
+
?checksum: ::String,
|
71
|
+
?range: ::String,
|
72
|
+
?body: ::String
|
73
|
+
) -> Types::UploadMultipartPartOutput
|
74
|
+
| (?Hash[Symbol, untyped]) -> Types::UploadMultipartPartOutput
|
75
|
+
|
76
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/MultipartUpload.html#vault-instance_method
|
77
|
+
def vault: () -> Vault
|
78
|
+
|
79
|
+
class Collection < ::Aws::Resources::Collection[MultipartUpload]
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,63 @@
|
|
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 Glacier
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html
|
11
|
+
class Notification
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#initialize-instance_method
|
13
|
+
def initialize: (String account_id, String vault_name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (account_id: String, vault_name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#account_id-instance_method
|
18
|
+
def account_id: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#vault_name-instance_method
|
21
|
+
def vault_name: () -> String
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#sns_topic-instance_method
|
24
|
+
def sns_topic: () -> ::String
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#events-instance_method
|
27
|
+
def events: () -> ::Array[::String]
|
28
|
+
|
29
|
+
def client: () -> Client
|
30
|
+
|
31
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#load-instance_method
|
32
|
+
def load: () -> self
|
33
|
+
alias reload load
|
34
|
+
|
35
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#data-instance_method
|
36
|
+
def data: () -> Types::VaultNotificationConfig
|
37
|
+
|
38
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#data_loaded?-instance_method
|
39
|
+
def data_loaded?: () -> bool
|
40
|
+
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#delete-instance_method
|
43
|
+
def delete: (
|
44
|
+
) -> ::Aws::EmptyStructure
|
45
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
46
|
+
|
47
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#set-instance_method
|
48
|
+
def set: (
|
49
|
+
?vault_notification_config: {
|
50
|
+
sns_topic: ::String?,
|
51
|
+
events: Array[::String]?
|
52
|
+
}
|
53
|
+
) -> ::Aws::EmptyStructure
|
54
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
55
|
+
|
56
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Notification.html#vault-instance_method
|
57
|
+
def vault: () -> Vault
|
58
|
+
|
59
|
+
class Collection < ::Aws::Resources::Collection[Notification]
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,94 @@
|
|
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 Glacier
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/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
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_min_compression_size_bytes: Integer,
|
43
|
+
?retry_backoff: Proc,
|
44
|
+
?retry_base_delay: Float,
|
45
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
46
|
+
?retry_limit: Integer,
|
47
|
+
?retry_max_delay: Integer,
|
48
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
49
|
+
?sdk_ua_app_id: String,
|
50
|
+
?secret_access_key: String,
|
51
|
+
?session_token: String,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> void
|
73
|
+
| (?Hash[Symbol, untyped]) -> void
|
74
|
+
|
75
|
+
def client: () -> Client
|
76
|
+
|
77
|
+
|
78
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Resource.html#create_vault-instance_method
|
79
|
+
def create_vault: (
|
80
|
+
vault_name: ::String
|
81
|
+
) -> Vault
|
82
|
+
| (?Hash[Symbol, untyped]) -> Vault
|
83
|
+
|
84
|
+
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Resource.html#account-instance_method
|
86
|
+
def account: (String id) -> Account
|
87
|
+
|
88
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Resource.html#vaults-instance_method
|
89
|
+
def vaults: (
|
90
|
+
) -> Vault::Collection
|
91
|
+
| (?Hash[Symbol, untyped]) -> Vault::Collection
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|