aws-sdk-kms 1.76.0 → 1.88.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 +60 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-kms/client.rb +771 -119
- data/lib/aws-sdk-kms/client_api.rb +130 -2
- data/lib/aws-sdk-kms/endpoints.rb +42 -0
- data/lib/aws-sdk-kms/errors.rb +16 -0
- data/lib/aws-sdk-kms/plugins/endpoints.rb +7 -0
- data/lib/aws-sdk-kms/types.rb +472 -36
- data/lib/aws-sdk-kms.rb +1 -1
- data/sig/client.rbs +802 -0
- data/sig/errors.rbs +160 -0
- data/sig/resource.rbs +81 -0
- data/sig/types.rbs +1036 -0
- data/sig/waiters.rbs +13 -0
- metadata +15 -10
data/sig/errors.rbs
ADDED
@@ -0,0 +1,160 @@
|
|
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 KMS
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AlreadyExistsException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class CloudHsmClusterInUseException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class CloudHsmClusterInvalidConfigurationException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class CloudHsmClusterNotActiveException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class CloudHsmClusterNotFoundException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class CloudHsmClusterNotRelatedException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
class CustomKeyStoreHasCMKsException < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
38
|
+
class CustomKeyStoreInvalidStateException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
end
|
41
|
+
class CustomKeyStoreNameInUseException < ::Aws::Errors::ServiceError
|
42
|
+
def message: () -> ::String
|
43
|
+
end
|
44
|
+
class CustomKeyStoreNotFoundException < ::Aws::Errors::ServiceError
|
45
|
+
def message: () -> ::String
|
46
|
+
end
|
47
|
+
class DependencyTimeoutException < ::Aws::Errors::ServiceError
|
48
|
+
def message: () -> ::String
|
49
|
+
end
|
50
|
+
class DisabledException < ::Aws::Errors::ServiceError
|
51
|
+
def message: () -> ::String
|
52
|
+
end
|
53
|
+
class DryRunOperationException < ::Aws::Errors::ServiceError
|
54
|
+
def message: () -> ::String
|
55
|
+
end
|
56
|
+
class ExpiredImportTokenException < ::Aws::Errors::ServiceError
|
57
|
+
def message: () -> ::String
|
58
|
+
end
|
59
|
+
class IncorrectKeyException < ::Aws::Errors::ServiceError
|
60
|
+
def message: () -> ::String
|
61
|
+
end
|
62
|
+
class IncorrectKeyMaterialException < ::Aws::Errors::ServiceError
|
63
|
+
def message: () -> ::String
|
64
|
+
end
|
65
|
+
class IncorrectTrustAnchorException < ::Aws::Errors::ServiceError
|
66
|
+
def message: () -> ::String
|
67
|
+
end
|
68
|
+
class InvalidAliasNameException < ::Aws::Errors::ServiceError
|
69
|
+
def message: () -> ::String
|
70
|
+
end
|
71
|
+
class InvalidArnException < ::Aws::Errors::ServiceError
|
72
|
+
def message: () -> ::String
|
73
|
+
end
|
74
|
+
class InvalidCiphertextException < ::Aws::Errors::ServiceError
|
75
|
+
def message: () -> ::String
|
76
|
+
end
|
77
|
+
class InvalidGrantIdException < ::Aws::Errors::ServiceError
|
78
|
+
def message: () -> ::String
|
79
|
+
end
|
80
|
+
class InvalidGrantTokenException < ::Aws::Errors::ServiceError
|
81
|
+
def message: () -> ::String
|
82
|
+
end
|
83
|
+
class InvalidImportTokenException < ::Aws::Errors::ServiceError
|
84
|
+
def message: () -> ::String
|
85
|
+
end
|
86
|
+
class InvalidKeyUsageException < ::Aws::Errors::ServiceError
|
87
|
+
def message: () -> ::String
|
88
|
+
end
|
89
|
+
class InvalidMarkerException < ::Aws::Errors::ServiceError
|
90
|
+
def message: () -> ::String
|
91
|
+
end
|
92
|
+
class KMSInternalException < ::Aws::Errors::ServiceError
|
93
|
+
def message: () -> ::String
|
94
|
+
end
|
95
|
+
class KMSInvalidMacException < ::Aws::Errors::ServiceError
|
96
|
+
def message: () -> ::String
|
97
|
+
end
|
98
|
+
class KMSInvalidSignatureException < ::Aws::Errors::ServiceError
|
99
|
+
def message: () -> ::String
|
100
|
+
end
|
101
|
+
class KMSInvalidStateException < ::Aws::Errors::ServiceError
|
102
|
+
def message: () -> ::String
|
103
|
+
end
|
104
|
+
class KeyUnavailableException < ::Aws::Errors::ServiceError
|
105
|
+
def message: () -> ::String
|
106
|
+
end
|
107
|
+
class LimitExceededException < ::Aws::Errors::ServiceError
|
108
|
+
def message: () -> ::String
|
109
|
+
end
|
110
|
+
class MalformedPolicyDocumentException < ::Aws::Errors::ServiceError
|
111
|
+
def message: () -> ::String
|
112
|
+
end
|
113
|
+
class NotFoundException < ::Aws::Errors::ServiceError
|
114
|
+
def message: () -> ::String
|
115
|
+
end
|
116
|
+
class TagException < ::Aws::Errors::ServiceError
|
117
|
+
def message: () -> ::String
|
118
|
+
end
|
119
|
+
class UnsupportedOperationException < ::Aws::Errors::ServiceError
|
120
|
+
def message: () -> ::String
|
121
|
+
end
|
122
|
+
class XksKeyAlreadyInUseException < ::Aws::Errors::ServiceError
|
123
|
+
def message: () -> ::String
|
124
|
+
end
|
125
|
+
class XksKeyInvalidConfigurationException < ::Aws::Errors::ServiceError
|
126
|
+
def message: () -> ::String
|
127
|
+
end
|
128
|
+
class XksKeyNotFoundException < ::Aws::Errors::ServiceError
|
129
|
+
def message: () -> ::String
|
130
|
+
end
|
131
|
+
class XksProxyIncorrectAuthenticationCredentialException < ::Aws::Errors::ServiceError
|
132
|
+
def message: () -> ::String
|
133
|
+
end
|
134
|
+
class XksProxyInvalidConfigurationException < ::Aws::Errors::ServiceError
|
135
|
+
def message: () -> ::String
|
136
|
+
end
|
137
|
+
class XksProxyInvalidResponseException < ::Aws::Errors::ServiceError
|
138
|
+
def message: () -> ::String
|
139
|
+
end
|
140
|
+
class XksProxyUriEndpointInUseException < ::Aws::Errors::ServiceError
|
141
|
+
def message: () -> ::String
|
142
|
+
end
|
143
|
+
class XksProxyUriInUseException < ::Aws::Errors::ServiceError
|
144
|
+
def message: () -> ::String
|
145
|
+
end
|
146
|
+
class XksProxyUriUnreachableException < ::Aws::Errors::ServiceError
|
147
|
+
def message: () -> ::String
|
148
|
+
end
|
149
|
+
class XksProxyVpcEndpointServiceInUseException < ::Aws::Errors::ServiceError
|
150
|
+
def message: () -> ::String
|
151
|
+
end
|
152
|
+
class XksProxyVpcEndpointServiceInvalidConfigurationException < ::Aws::Errors::ServiceError
|
153
|
+
def message: () -> ::String
|
154
|
+
end
|
155
|
+
class XksProxyVpcEndpointServiceNotFoundException < ::Aws::Errors::ServiceError
|
156
|
+
def message: () -> ::String
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,81 @@
|
|
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 KMS
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/KMS/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?sigv4a_signing_region_set: Array[String],
|
52
|
+
?simple_json: bool,
|
53
|
+
?stub_responses: untyped,
|
54
|
+
?token_provider: untyped,
|
55
|
+
?use_dualstack_endpoint: bool,
|
56
|
+
?use_fips_endpoint: bool,
|
57
|
+
?validate_params: bool,
|
58
|
+
?endpoint_provider: untyped,
|
59
|
+
?http_proxy: String,
|
60
|
+
?http_open_timeout: (Float | Integer),
|
61
|
+
?http_read_timeout: (Float | Integer),
|
62
|
+
?http_idle_timeout: (Float | Integer),
|
63
|
+
?http_continue_timeout: (Float | Integer),
|
64
|
+
?ssl_timeout: (Float | Integer | nil),
|
65
|
+
?http_wire_trace: bool,
|
66
|
+
?ssl_verify_peer: bool,
|
67
|
+
?ssl_ca_bundle: String,
|
68
|
+
?ssl_ca_directory: String,
|
69
|
+
?ssl_ca_store: String,
|
70
|
+
?on_chunk_received: Proc,
|
71
|
+
?on_chunk_sent: Proc,
|
72
|
+
?raise_response_errors: bool
|
73
|
+
) -> void
|
74
|
+
| (?Hash[Symbol, untyped]) -> void
|
75
|
+
|
76
|
+
def client: () -> Client
|
77
|
+
|
78
|
+
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|