aws-sdk-glacier 1.58.0 → 1.60.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glacier/client.rb +70 -46
- data/lib/aws-sdk-glacier/plugins/endpoints.rb +1 -0
- 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/vault.rbs
ADDED
@@ -0,0 +1,137 @@
|
|
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/Vault.html
|
11
|
+
class Vault
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#initialize-instance_method
|
13
|
+
def initialize: (String account_id, String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (account_id: String, 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/Vault.html#account_id-instance_method
|
18
|
+
def account_id: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#name-instance_method
|
21
|
+
def name: () -> String
|
22
|
+
alias vault_name name
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#vault_arn-instance_method
|
25
|
+
def vault_arn: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#creation_date-instance_method
|
28
|
+
def creation_date: () -> ::Time
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#last_inventory_date-instance_method
|
31
|
+
def last_inventory_date: () -> ::Time
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#number_of_archives-instance_method
|
34
|
+
def number_of_archives: () -> ::Integer
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#size_in_bytes-instance_method
|
37
|
+
def size_in_bytes: () -> ::Integer
|
38
|
+
|
39
|
+
def client: () -> Client
|
40
|
+
|
41
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#load-instance_method
|
42
|
+
def load: () -> self
|
43
|
+
alias reload load
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#data-instance_method
|
46
|
+
def data: () -> Types::DescribeVaultOutput
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#data_loaded?-instance_method
|
49
|
+
def data_loaded?: () -> bool
|
50
|
+
|
51
|
+
|
52
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#create-instance_method
|
53
|
+
def create: (
|
54
|
+
) -> Types::CreateVaultOutput
|
55
|
+
| (?Hash[Symbol, untyped]) -> Types::CreateVaultOutput
|
56
|
+
|
57
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#delete-instance_method
|
58
|
+
def delete: (
|
59
|
+
) -> ::Aws::EmptyStructure
|
60
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
61
|
+
|
62
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#initiate_inventory_retrieval-instance_method
|
63
|
+
def initiate_inventory_retrieval: (
|
64
|
+
) -> Job
|
65
|
+
| (?Hash[Symbol, untyped]) -> Job
|
66
|
+
|
67
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#initiate_multipart_upload-instance_method
|
68
|
+
def initiate_multipart_upload: (
|
69
|
+
?archive_description: ::String,
|
70
|
+
?part_size: ::Integer
|
71
|
+
) -> MultipartUpload
|
72
|
+
| (?Hash[Symbol, untyped]) -> MultipartUpload
|
73
|
+
|
74
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#upload_archive-instance_method
|
75
|
+
def upload_archive: (
|
76
|
+
?archive_description: ::String,
|
77
|
+
?checksum: ::String,
|
78
|
+
?body: ::String
|
79
|
+
) -> Archive
|
80
|
+
| (?Hash[Symbol, untyped]) -> Archive
|
81
|
+
|
82
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#account-instance_method
|
83
|
+
def account: () -> Account
|
84
|
+
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#archive-instance_method
|
86
|
+
def archive: (String id) -> Archive
|
87
|
+
|
88
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#completed_jobs-instance_method
|
89
|
+
def completed_jobs: (
|
90
|
+
?statuscode: ::String
|
91
|
+
) -> Job::Collection
|
92
|
+
| (?Hash[Symbol, untyped]) -> Job::Collection
|
93
|
+
|
94
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#failed_jobs-instance_method
|
95
|
+
def failed_jobs: (
|
96
|
+
?completed: ::String
|
97
|
+
) -> Job::Collection
|
98
|
+
| (?Hash[Symbol, untyped]) -> Job::Collection
|
99
|
+
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#job-instance_method
|
101
|
+
def job: (String id) -> Job
|
102
|
+
|
103
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#jobs-instance_method
|
104
|
+
def jobs: (
|
105
|
+
?statuscode: ::String,
|
106
|
+
?completed: ::String
|
107
|
+
) -> Job::Collection
|
108
|
+
| (?Hash[Symbol, untyped]) -> Job::Collection
|
109
|
+
|
110
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#jobs_in_progress-instance_method
|
111
|
+
def jobs_in_progress: (
|
112
|
+
?completed: ::String
|
113
|
+
) -> Job::Collection
|
114
|
+
| (?Hash[Symbol, untyped]) -> Job::Collection
|
115
|
+
|
116
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#multipart_uplaods-instance_method
|
117
|
+
def multipart_uplaods: (
|
118
|
+
) -> MultipartUpload::Collection
|
119
|
+
| (?Hash[Symbol, untyped]) -> MultipartUpload::Collection
|
120
|
+
|
121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#multipart_upload-instance_method
|
122
|
+
def multipart_upload: (String id) -> MultipartUpload
|
123
|
+
|
124
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#notification-instance_method
|
125
|
+
def notification: () -> Notification
|
126
|
+
|
127
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Vault.html#succeeded_jobs-instance_method
|
128
|
+
def succeeded_jobs: (
|
129
|
+
?completed: ::String
|
130
|
+
) -> Job::Collection
|
131
|
+
| (?Hash[Symbol, untyped]) -> Job::Collection
|
132
|
+
|
133
|
+
class Collection < ::Aws::Resources::Collection[Vault]
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,35 @@
|
|
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
|
+
module Waiters
|
11
|
+
|
12
|
+
class VaultExists
|
13
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
14
|
+
| (?Hash[Symbol, untyped]) -> void
|
15
|
+
|
16
|
+
def wait: (
|
17
|
+
account_id: ::String,
|
18
|
+
vault_name: ::String
|
19
|
+
) -> Client::_DescribeVaultResponseSuccess
|
20
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeVaultResponseSuccess
|
21
|
+
end
|
22
|
+
|
23
|
+
class VaultNotExists
|
24
|
+
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
|
25
|
+
| (?Hash[Symbol, untyped]) -> void
|
26
|
+
|
27
|
+
def wait: (
|
28
|
+
account_id: ::String,
|
29
|
+
vault_name: ::String
|
30
|
+
) -> Client::_DescribeVaultResponseSuccess
|
31
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeVaultResponseSuccess
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-glacier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.60.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,13 +77,24 @@ files:
|
|
77
77
|
- lib/aws-sdk-glacier/types.rb
|
78
78
|
- lib/aws-sdk-glacier/vault.rb
|
79
79
|
- lib/aws-sdk-glacier/waiters.rb
|
80
|
+
- sig/account.rbs
|
81
|
+
- sig/archive.rbs
|
82
|
+
- sig/client.rbs
|
83
|
+
- sig/errors.rbs
|
84
|
+
- sig/job.rbs
|
85
|
+
- sig/multipart_upload.rbs
|
86
|
+
- sig/notification.rbs
|
87
|
+
- sig/resource.rbs
|
88
|
+
- sig/types.rbs
|
89
|
+
- sig/vault.rbs
|
90
|
+
- sig/waiters.rbs
|
80
91
|
homepage: https://github.com/aws/aws-sdk-ruby
|
81
92
|
licenses:
|
82
93
|
- Apache-2.0
|
83
94
|
metadata:
|
84
95
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-glacier
|
85
96
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-glacier/CHANGELOG.md
|
86
|
-
post_install_message:
|
97
|
+
post_install_message:
|
87
98
|
rdoc_options: []
|
88
99
|
require_paths:
|
89
100
|
- lib
|
@@ -98,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
109
|
- !ruby/object:Gem::Version
|
99
110
|
version: '0'
|
100
111
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
102
|
-
signing_key:
|
112
|
+
rubygems_version: 3.4.10
|
113
|
+
signing_key:
|
103
114
|
specification_version: 4
|
104
115
|
summary: AWS SDK for Ruby - Amazon Glacier
|
105
116
|
test_files: []
|