aws-sdk-signer 1.50.0 → 1.51.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-signer/client.rb +1 -1
- data/lib/aws-sdk-signer/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-signer.rb +1 -1
- data/sig/client.rbs +381 -0
- data/sig/errors.rbs +56 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +491 -0
- data/sig/waiters.rbs +23 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb6f989aa0d74524375530f73f0afdb0f9d52106ae3ffd528fdfc51d78261aac
|
4
|
+
data.tar.gz: ea9d48dfba7cd0de325179015dee9d9297bde9cb42dfe90ed35409bbd8a81ae6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea3977f1a05a07aa0786d1e32440f25d15d6514d52922582ffb16d60435eb77a6f7a6ea902f503cd3272c312a92d4e6fee3c99b8e69c5b53987eabd3fea68d50
|
7
|
+
data.tar.gz: 64f086dd41f0171e30c26967e8c65cd34c44f4b1d02b1ac1bf840323e179895832bbfbda2933739f9fc0444483647d420e49875283a8df93bdbaef20a9c98f16
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -1433,7 +1433,7 @@ module Aws::Signer
|
|
1433
1433
|
params: params,
|
1434
1434
|
config: config)
|
1435
1435
|
context[:gem_name] = 'aws-sdk-signer'
|
1436
|
-
context[:gem_version] = '1.
|
1436
|
+
context[:gem_version] = '1.51.0'
|
1437
1437
|
Seahorse::Client::Request.new(handlers, context)
|
1438
1438
|
end
|
1439
1439
|
|
@@ -14,6 +14,7 @@ module Aws::Signer
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Signer::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
data/lib/aws-sdk-signer.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,381 @@
|
|
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 Signer
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
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
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _AddProfilePermissionResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AddProfilePermissionResponse]
|
77
|
+
def revision_id: () -> ::String
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#add_profile_permission-instance_method
|
80
|
+
def add_profile_permission: (
|
81
|
+
profile_name: ::String,
|
82
|
+
?profile_version: ::String,
|
83
|
+
action: ::String,
|
84
|
+
principal: ::String,
|
85
|
+
?revision_id: ::String,
|
86
|
+
statement_id: ::String
|
87
|
+
) -> _AddProfilePermissionResponseSuccess
|
88
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddProfilePermissionResponseSuccess
|
89
|
+
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#cancel_signing_profile-instance_method
|
91
|
+
def cancel_signing_profile: (
|
92
|
+
profile_name: ::String
|
93
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
94
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
95
|
+
|
96
|
+
interface _DescribeSigningJobResponseSuccess
|
97
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSigningJobResponse]
|
98
|
+
def job_id: () -> ::String
|
99
|
+
def source: () -> Types::Source
|
100
|
+
def signing_material: () -> Types::SigningMaterial
|
101
|
+
def platform_id: () -> ::String
|
102
|
+
def platform_display_name: () -> ::String
|
103
|
+
def profile_name: () -> ::String
|
104
|
+
def profile_version: () -> ::String
|
105
|
+
def overrides: () -> Types::SigningPlatformOverrides
|
106
|
+
def signing_parameters: () -> ::Hash[::String, ::String]
|
107
|
+
def created_at: () -> ::Time
|
108
|
+
def completed_at: () -> ::Time
|
109
|
+
def signature_expires_at: () -> ::Time
|
110
|
+
def requested_by: () -> ::String
|
111
|
+
def status: () -> ("InProgress" | "Failed" | "Succeeded")
|
112
|
+
def status_reason: () -> ::String
|
113
|
+
def revocation_record: () -> Types::SigningJobRevocationRecord
|
114
|
+
def signed_object: () -> Types::SignedObject
|
115
|
+
def job_owner: () -> ::String
|
116
|
+
def job_invoker: () -> ::String
|
117
|
+
end
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#describe_signing_job-instance_method
|
119
|
+
def describe_signing_job: (
|
120
|
+
job_id: ::String
|
121
|
+
) -> _DescribeSigningJobResponseSuccess
|
122
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSigningJobResponseSuccess
|
123
|
+
|
124
|
+
interface _GetRevocationStatusResponseSuccess
|
125
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRevocationStatusResponse]
|
126
|
+
def revoked_entities: () -> ::Array[::String]
|
127
|
+
end
|
128
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#get_revocation_status-instance_method
|
129
|
+
def get_revocation_status: (
|
130
|
+
signature_timestamp: ::Time,
|
131
|
+
platform_id: ::String,
|
132
|
+
profile_version_arn: ::String,
|
133
|
+
job_arn: ::String,
|
134
|
+
certificate_hashes: Array[::String]
|
135
|
+
) -> _GetRevocationStatusResponseSuccess
|
136
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRevocationStatusResponseSuccess
|
137
|
+
|
138
|
+
interface _GetSigningPlatformResponseSuccess
|
139
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSigningPlatformResponse]
|
140
|
+
def platform_id: () -> ::String
|
141
|
+
def display_name: () -> ::String
|
142
|
+
def partner: () -> ::String
|
143
|
+
def target: () -> ::String
|
144
|
+
def category: () -> ("AWSIoT")
|
145
|
+
def signing_configuration: () -> Types::SigningConfiguration
|
146
|
+
def signing_image_format: () -> Types::SigningImageFormat
|
147
|
+
def max_size_in_mb: () -> ::Integer
|
148
|
+
def revocation_supported: () -> bool
|
149
|
+
end
|
150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#get_signing_platform-instance_method
|
151
|
+
def get_signing_platform: (
|
152
|
+
platform_id: ::String
|
153
|
+
) -> _GetSigningPlatformResponseSuccess
|
154
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSigningPlatformResponseSuccess
|
155
|
+
|
156
|
+
interface _GetSigningProfileResponseSuccess
|
157
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSigningProfileResponse]
|
158
|
+
def profile_name: () -> ::String
|
159
|
+
def profile_version: () -> ::String
|
160
|
+
def profile_version_arn: () -> ::String
|
161
|
+
def revocation_record: () -> Types::SigningProfileRevocationRecord
|
162
|
+
def signing_material: () -> Types::SigningMaterial
|
163
|
+
def platform_id: () -> ::String
|
164
|
+
def platform_display_name: () -> ::String
|
165
|
+
def signature_validity_period: () -> Types::SignatureValidityPeriod
|
166
|
+
def overrides: () -> Types::SigningPlatformOverrides
|
167
|
+
def signing_parameters: () -> ::Hash[::String, ::String]
|
168
|
+
def status: () -> ("Active" | "Canceled" | "Revoked")
|
169
|
+
def status_reason: () -> ::String
|
170
|
+
def arn: () -> ::String
|
171
|
+
def tags: () -> ::Hash[::String, ::String]
|
172
|
+
end
|
173
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#get_signing_profile-instance_method
|
174
|
+
def get_signing_profile: (
|
175
|
+
profile_name: ::String,
|
176
|
+
?profile_owner: ::String
|
177
|
+
) -> _GetSigningProfileResponseSuccess
|
178
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSigningProfileResponseSuccess
|
179
|
+
|
180
|
+
interface _ListProfilePermissionsResponseSuccess
|
181
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListProfilePermissionsResponse]
|
182
|
+
def revision_id: () -> ::String
|
183
|
+
def policy_size_bytes: () -> ::Integer
|
184
|
+
def permissions: () -> ::Array[Types::Permission]
|
185
|
+
def next_token: () -> ::String
|
186
|
+
end
|
187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#list_profile_permissions-instance_method
|
188
|
+
def list_profile_permissions: (
|
189
|
+
profile_name: ::String,
|
190
|
+
?next_token: ::String
|
191
|
+
) -> _ListProfilePermissionsResponseSuccess
|
192
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfilePermissionsResponseSuccess
|
193
|
+
|
194
|
+
interface _ListSigningJobsResponseSuccess
|
195
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSigningJobsResponse]
|
196
|
+
def jobs: () -> ::Array[Types::SigningJob]
|
197
|
+
def next_token: () -> ::String
|
198
|
+
end
|
199
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#list_signing_jobs-instance_method
|
200
|
+
def list_signing_jobs: (
|
201
|
+
?status: ("InProgress" | "Failed" | "Succeeded"),
|
202
|
+
?platform_id: ::String,
|
203
|
+
?requested_by: ::String,
|
204
|
+
?max_results: ::Integer,
|
205
|
+
?next_token: ::String,
|
206
|
+
?is_revoked: bool,
|
207
|
+
?signature_expires_before: ::Time,
|
208
|
+
?signature_expires_after: ::Time,
|
209
|
+
?job_invoker: ::String
|
210
|
+
) -> _ListSigningJobsResponseSuccess
|
211
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSigningJobsResponseSuccess
|
212
|
+
|
213
|
+
interface _ListSigningPlatformsResponseSuccess
|
214
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSigningPlatformsResponse]
|
215
|
+
def platforms: () -> ::Array[Types::SigningPlatform]
|
216
|
+
def next_token: () -> ::String
|
217
|
+
end
|
218
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#list_signing_platforms-instance_method
|
219
|
+
def list_signing_platforms: (
|
220
|
+
?category: ::String,
|
221
|
+
?partner: ::String,
|
222
|
+
?target: ::String,
|
223
|
+
?max_results: ::Integer,
|
224
|
+
?next_token: ::String
|
225
|
+
) -> _ListSigningPlatformsResponseSuccess
|
226
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSigningPlatformsResponseSuccess
|
227
|
+
|
228
|
+
interface _ListSigningProfilesResponseSuccess
|
229
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSigningProfilesResponse]
|
230
|
+
def profiles: () -> ::Array[Types::SigningProfile]
|
231
|
+
def next_token: () -> ::String
|
232
|
+
end
|
233
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#list_signing_profiles-instance_method
|
234
|
+
def list_signing_profiles: (
|
235
|
+
?include_canceled: bool,
|
236
|
+
?max_results: ::Integer,
|
237
|
+
?next_token: ::String,
|
238
|
+
?platform_id: ::String,
|
239
|
+
?statuses: Array[("Active" | "Canceled" | "Revoked")]
|
240
|
+
) -> _ListSigningProfilesResponseSuccess
|
241
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSigningProfilesResponseSuccess
|
242
|
+
|
243
|
+
interface _ListTagsForResourceResponseSuccess
|
244
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
245
|
+
def tags: () -> ::Hash[::String, ::String]
|
246
|
+
end
|
247
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#list_tags_for_resource-instance_method
|
248
|
+
def list_tags_for_resource: (
|
249
|
+
resource_arn: ::String
|
250
|
+
) -> _ListTagsForResourceResponseSuccess
|
251
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
252
|
+
|
253
|
+
interface _PutSigningProfileResponseSuccess
|
254
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutSigningProfileResponse]
|
255
|
+
def arn: () -> ::String
|
256
|
+
def profile_version: () -> ::String
|
257
|
+
def profile_version_arn: () -> ::String
|
258
|
+
end
|
259
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#put_signing_profile-instance_method
|
260
|
+
def put_signing_profile: (
|
261
|
+
profile_name: ::String,
|
262
|
+
?signing_material: {
|
263
|
+
certificate_arn: ::String
|
264
|
+
},
|
265
|
+
?signature_validity_period: {
|
266
|
+
value: ::Integer?,
|
267
|
+
type: ("DAYS" | "MONTHS" | "YEARS")?
|
268
|
+
},
|
269
|
+
platform_id: ::String,
|
270
|
+
?overrides: {
|
271
|
+
signing_configuration: {
|
272
|
+
encryption_algorithm: ("RSA" | "ECDSA")?,
|
273
|
+
hash_algorithm: ("SHA1" | "SHA256")?
|
274
|
+
}?,
|
275
|
+
signing_image_format: ("JSON" | "JSONEmbedded" | "JSONDetached")?
|
276
|
+
},
|
277
|
+
?signing_parameters: Hash[::String, ::String],
|
278
|
+
?tags: Hash[::String, ::String]
|
279
|
+
) -> _PutSigningProfileResponseSuccess
|
280
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSigningProfileResponseSuccess
|
281
|
+
|
282
|
+
interface _RemoveProfilePermissionResponseSuccess
|
283
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RemoveProfilePermissionResponse]
|
284
|
+
def revision_id: () -> ::String
|
285
|
+
end
|
286
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#remove_profile_permission-instance_method
|
287
|
+
def remove_profile_permission: (
|
288
|
+
profile_name: ::String,
|
289
|
+
revision_id: ::String,
|
290
|
+
statement_id: ::String
|
291
|
+
) -> _RemoveProfilePermissionResponseSuccess
|
292
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveProfilePermissionResponseSuccess
|
293
|
+
|
294
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#revoke_signature-instance_method
|
295
|
+
def revoke_signature: (
|
296
|
+
job_id: ::String,
|
297
|
+
?job_owner: ::String,
|
298
|
+
reason: ::String
|
299
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
300
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
301
|
+
|
302
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#revoke_signing_profile-instance_method
|
303
|
+
def revoke_signing_profile: (
|
304
|
+
profile_name: ::String,
|
305
|
+
profile_version: ::String,
|
306
|
+
reason: ::String,
|
307
|
+
effective_time: ::Time
|
308
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
309
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
310
|
+
|
311
|
+
interface _SignPayloadResponseSuccess
|
312
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SignPayloadResponse]
|
313
|
+
def job_id: () -> ::String
|
314
|
+
def job_owner: () -> ::String
|
315
|
+
def metadata: () -> ::Hash[::String, ::String]
|
316
|
+
def signature: () -> ::String
|
317
|
+
end
|
318
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#sign_payload-instance_method
|
319
|
+
def sign_payload: (
|
320
|
+
profile_name: ::String,
|
321
|
+
?profile_owner: ::String,
|
322
|
+
payload: ::String,
|
323
|
+
payload_format: ::String
|
324
|
+
) -> _SignPayloadResponseSuccess
|
325
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SignPayloadResponseSuccess
|
326
|
+
|
327
|
+
interface _StartSigningJobResponseSuccess
|
328
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartSigningJobResponse]
|
329
|
+
def job_id: () -> ::String
|
330
|
+
def job_owner: () -> ::String
|
331
|
+
end
|
332
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#start_signing_job-instance_method
|
333
|
+
def start_signing_job: (
|
334
|
+
source: {
|
335
|
+
s3: {
|
336
|
+
bucket_name: ::String,
|
337
|
+
key: ::String,
|
338
|
+
version: ::String
|
339
|
+
}?
|
340
|
+
},
|
341
|
+
destination: {
|
342
|
+
s3: {
|
343
|
+
bucket_name: ::String?,
|
344
|
+
prefix: ::String?
|
345
|
+
}?
|
346
|
+
},
|
347
|
+
profile_name: ::String,
|
348
|
+
client_request_token: ::String,
|
349
|
+
?profile_owner: ::String
|
350
|
+
) -> _StartSigningJobResponseSuccess
|
351
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSigningJobResponseSuccess
|
352
|
+
|
353
|
+
interface _TagResourceResponseSuccess
|
354
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
355
|
+
end
|
356
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#tag_resource-instance_method
|
357
|
+
def tag_resource: (
|
358
|
+
resource_arn: ::String,
|
359
|
+
tags: Hash[::String, ::String]
|
360
|
+
) -> _TagResourceResponseSuccess
|
361
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
362
|
+
|
363
|
+
interface _UntagResourceResponseSuccess
|
364
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
365
|
+
end
|
366
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#untag_resource-instance_method
|
367
|
+
def untag_resource: (
|
368
|
+
resource_arn: ::String,
|
369
|
+
tag_keys: Array[::String]
|
370
|
+
) -> _UntagResourceResponseSuccess
|
371
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
372
|
+
|
373
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Client.html#wait_until-instance_method
|
374
|
+
def wait_until: (:successful_signing_job waiter_name,
|
375
|
+
job_id: ::String
|
376
|
+
) -> Client::_DescribeSigningJobResponseSuccess
|
377
|
+
| (:successful_signing_job waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeSigningJobResponseSuccess
|
378
|
+
end
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,56 @@
|
|
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 Signer
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
def code: () -> ::String
|
17
|
+
end
|
18
|
+
class BadRequestException < ::Aws::Errors::ServiceError
|
19
|
+
def message: () -> ::String
|
20
|
+
def code: () -> ::String
|
21
|
+
end
|
22
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def code: () -> ::String
|
25
|
+
end
|
26
|
+
class InternalServiceErrorException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
def code: () -> ::String
|
29
|
+
end
|
30
|
+
class NotFoundException < ::Aws::Errors::ServiceError
|
31
|
+
def message: () -> ::String
|
32
|
+
def code: () -> ::String
|
33
|
+
end
|
34
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
35
|
+
def message: () -> ::String
|
36
|
+
def code: () -> ::String
|
37
|
+
end
|
38
|
+
class ServiceLimitExceededException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
def code: () -> ::String
|
41
|
+
end
|
42
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
43
|
+
def message: () -> ::String
|
44
|
+
def code: () -> ::String
|
45
|
+
end
|
46
|
+
class TooManyRequestsException < ::Aws::Errors::ServiceError
|
47
|
+
def message: () -> ::String
|
48
|
+
def code: () -> ::String
|
49
|
+
end
|
50
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
51
|
+
def message: () -> ::String
|
52
|
+
def code: () -> ::String
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
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 Signer
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Signer/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
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,491 @@
|
|
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::Signer
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
attr_accessor code: ::String
|
14
|
+
SENSITIVE: []
|
15
|
+
end
|
16
|
+
|
17
|
+
class AddProfilePermissionRequest
|
18
|
+
attr_accessor profile_name: ::String
|
19
|
+
attr_accessor profile_version: ::String
|
20
|
+
attr_accessor action: ::String
|
21
|
+
attr_accessor principal: ::String
|
22
|
+
attr_accessor revision_id: ::String
|
23
|
+
attr_accessor statement_id: ::String
|
24
|
+
SENSITIVE: []
|
25
|
+
end
|
26
|
+
|
27
|
+
class AddProfilePermissionResponse
|
28
|
+
attr_accessor revision_id: ::String
|
29
|
+
SENSITIVE: []
|
30
|
+
end
|
31
|
+
|
32
|
+
class BadRequestException
|
33
|
+
attr_accessor message: ::String
|
34
|
+
attr_accessor code: ::String
|
35
|
+
SENSITIVE: []
|
36
|
+
end
|
37
|
+
|
38
|
+
class CancelSigningProfileRequest
|
39
|
+
attr_accessor profile_name: ::String
|
40
|
+
SENSITIVE: []
|
41
|
+
end
|
42
|
+
|
43
|
+
class ConflictException
|
44
|
+
attr_accessor message: ::String
|
45
|
+
attr_accessor code: ::String
|
46
|
+
SENSITIVE: []
|
47
|
+
end
|
48
|
+
|
49
|
+
class DescribeSigningJobRequest
|
50
|
+
attr_accessor job_id: ::String
|
51
|
+
SENSITIVE: []
|
52
|
+
end
|
53
|
+
|
54
|
+
class DescribeSigningJobResponse
|
55
|
+
attr_accessor job_id: ::String
|
56
|
+
attr_accessor source: Types::Source
|
57
|
+
attr_accessor signing_material: Types::SigningMaterial
|
58
|
+
attr_accessor platform_id: ::String
|
59
|
+
attr_accessor platform_display_name: ::String
|
60
|
+
attr_accessor profile_name: ::String
|
61
|
+
attr_accessor profile_version: ::String
|
62
|
+
attr_accessor overrides: Types::SigningPlatformOverrides
|
63
|
+
attr_accessor signing_parameters: ::Hash[::String, ::String]
|
64
|
+
attr_accessor created_at: ::Time
|
65
|
+
attr_accessor completed_at: ::Time
|
66
|
+
attr_accessor signature_expires_at: ::Time
|
67
|
+
attr_accessor requested_by: ::String
|
68
|
+
attr_accessor status: ("InProgress" | "Failed" | "Succeeded")
|
69
|
+
attr_accessor status_reason: ::String
|
70
|
+
attr_accessor revocation_record: Types::SigningJobRevocationRecord
|
71
|
+
attr_accessor signed_object: Types::SignedObject
|
72
|
+
attr_accessor job_owner: ::String
|
73
|
+
attr_accessor job_invoker: ::String
|
74
|
+
SENSITIVE: []
|
75
|
+
end
|
76
|
+
|
77
|
+
class Destination
|
78
|
+
attr_accessor s3: Types::S3Destination
|
79
|
+
SENSITIVE: []
|
80
|
+
end
|
81
|
+
|
82
|
+
class EncryptionAlgorithmOptions
|
83
|
+
attr_accessor allowed_values: ::Array[("RSA" | "ECDSA")]
|
84
|
+
attr_accessor default_value: ("RSA" | "ECDSA")
|
85
|
+
SENSITIVE: []
|
86
|
+
end
|
87
|
+
|
88
|
+
class GetRevocationStatusRequest
|
89
|
+
attr_accessor signature_timestamp: ::Time
|
90
|
+
attr_accessor platform_id: ::String
|
91
|
+
attr_accessor profile_version_arn: ::String
|
92
|
+
attr_accessor job_arn: ::String
|
93
|
+
attr_accessor certificate_hashes: ::Array[::String]
|
94
|
+
SENSITIVE: []
|
95
|
+
end
|
96
|
+
|
97
|
+
class GetRevocationStatusResponse
|
98
|
+
attr_accessor revoked_entities: ::Array[::String]
|
99
|
+
SENSITIVE: []
|
100
|
+
end
|
101
|
+
|
102
|
+
class GetSigningPlatformRequest
|
103
|
+
attr_accessor platform_id: ::String
|
104
|
+
SENSITIVE: []
|
105
|
+
end
|
106
|
+
|
107
|
+
class GetSigningPlatformResponse
|
108
|
+
attr_accessor platform_id: ::String
|
109
|
+
attr_accessor display_name: ::String
|
110
|
+
attr_accessor partner: ::String
|
111
|
+
attr_accessor target: ::String
|
112
|
+
attr_accessor category: ("AWSIoT")
|
113
|
+
attr_accessor signing_configuration: Types::SigningConfiguration
|
114
|
+
attr_accessor signing_image_format: Types::SigningImageFormat
|
115
|
+
attr_accessor max_size_in_mb: ::Integer
|
116
|
+
attr_accessor revocation_supported: bool
|
117
|
+
SENSITIVE: []
|
118
|
+
end
|
119
|
+
|
120
|
+
class GetSigningProfileRequest
|
121
|
+
attr_accessor profile_name: ::String
|
122
|
+
attr_accessor profile_owner: ::String
|
123
|
+
SENSITIVE: []
|
124
|
+
end
|
125
|
+
|
126
|
+
class GetSigningProfileResponse
|
127
|
+
attr_accessor profile_name: ::String
|
128
|
+
attr_accessor profile_version: ::String
|
129
|
+
attr_accessor profile_version_arn: ::String
|
130
|
+
attr_accessor revocation_record: Types::SigningProfileRevocationRecord
|
131
|
+
attr_accessor signing_material: Types::SigningMaterial
|
132
|
+
attr_accessor platform_id: ::String
|
133
|
+
attr_accessor platform_display_name: ::String
|
134
|
+
attr_accessor signature_validity_period: Types::SignatureValidityPeriod
|
135
|
+
attr_accessor overrides: Types::SigningPlatformOverrides
|
136
|
+
attr_accessor signing_parameters: ::Hash[::String, ::String]
|
137
|
+
attr_accessor status: ("Active" | "Canceled" | "Revoked")
|
138
|
+
attr_accessor status_reason: ::String
|
139
|
+
attr_accessor arn: ::String
|
140
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
141
|
+
SENSITIVE: []
|
142
|
+
end
|
143
|
+
|
144
|
+
class HashAlgorithmOptions
|
145
|
+
attr_accessor allowed_values: ::Array[("SHA1" | "SHA256")]
|
146
|
+
attr_accessor default_value: ("SHA1" | "SHA256")
|
147
|
+
SENSITIVE: []
|
148
|
+
end
|
149
|
+
|
150
|
+
class InternalServiceErrorException
|
151
|
+
attr_accessor message: ::String
|
152
|
+
attr_accessor code: ::String
|
153
|
+
SENSITIVE: []
|
154
|
+
end
|
155
|
+
|
156
|
+
class ListProfilePermissionsRequest
|
157
|
+
attr_accessor profile_name: ::String
|
158
|
+
attr_accessor next_token: ::String
|
159
|
+
SENSITIVE: []
|
160
|
+
end
|
161
|
+
|
162
|
+
class ListProfilePermissionsResponse
|
163
|
+
attr_accessor revision_id: ::String
|
164
|
+
attr_accessor policy_size_bytes: ::Integer
|
165
|
+
attr_accessor permissions: ::Array[Types::Permission]
|
166
|
+
attr_accessor next_token: ::String
|
167
|
+
SENSITIVE: []
|
168
|
+
end
|
169
|
+
|
170
|
+
class ListSigningJobsRequest
|
171
|
+
attr_accessor status: ("InProgress" | "Failed" | "Succeeded")
|
172
|
+
attr_accessor platform_id: ::String
|
173
|
+
attr_accessor requested_by: ::String
|
174
|
+
attr_accessor max_results: ::Integer
|
175
|
+
attr_accessor next_token: ::String
|
176
|
+
attr_accessor is_revoked: bool
|
177
|
+
attr_accessor signature_expires_before: ::Time
|
178
|
+
attr_accessor signature_expires_after: ::Time
|
179
|
+
attr_accessor job_invoker: ::String
|
180
|
+
SENSITIVE: []
|
181
|
+
end
|
182
|
+
|
183
|
+
class ListSigningJobsResponse
|
184
|
+
attr_accessor jobs: ::Array[Types::SigningJob]
|
185
|
+
attr_accessor next_token: ::String
|
186
|
+
SENSITIVE: []
|
187
|
+
end
|
188
|
+
|
189
|
+
class ListSigningPlatformsRequest
|
190
|
+
attr_accessor category: ::String
|
191
|
+
attr_accessor partner: ::String
|
192
|
+
attr_accessor target: ::String
|
193
|
+
attr_accessor max_results: ::Integer
|
194
|
+
attr_accessor next_token: ::String
|
195
|
+
SENSITIVE: []
|
196
|
+
end
|
197
|
+
|
198
|
+
class ListSigningPlatformsResponse
|
199
|
+
attr_accessor platforms: ::Array[Types::SigningPlatform]
|
200
|
+
attr_accessor next_token: ::String
|
201
|
+
SENSITIVE: []
|
202
|
+
end
|
203
|
+
|
204
|
+
class ListSigningProfilesRequest
|
205
|
+
attr_accessor include_canceled: bool
|
206
|
+
attr_accessor max_results: ::Integer
|
207
|
+
attr_accessor next_token: ::String
|
208
|
+
attr_accessor platform_id: ::String
|
209
|
+
attr_accessor statuses: ::Array[("Active" | "Canceled" | "Revoked")]
|
210
|
+
SENSITIVE: []
|
211
|
+
end
|
212
|
+
|
213
|
+
class ListSigningProfilesResponse
|
214
|
+
attr_accessor profiles: ::Array[Types::SigningProfile]
|
215
|
+
attr_accessor next_token: ::String
|
216
|
+
SENSITIVE: []
|
217
|
+
end
|
218
|
+
|
219
|
+
class ListTagsForResourceRequest
|
220
|
+
attr_accessor resource_arn: ::String
|
221
|
+
SENSITIVE: []
|
222
|
+
end
|
223
|
+
|
224
|
+
class ListTagsForResourceResponse
|
225
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
226
|
+
SENSITIVE: []
|
227
|
+
end
|
228
|
+
|
229
|
+
class NotFoundException
|
230
|
+
attr_accessor message: ::String
|
231
|
+
attr_accessor code: ::String
|
232
|
+
SENSITIVE: []
|
233
|
+
end
|
234
|
+
|
235
|
+
class Permission
|
236
|
+
attr_accessor action: ::String
|
237
|
+
attr_accessor principal: ::String
|
238
|
+
attr_accessor statement_id: ::String
|
239
|
+
attr_accessor profile_version: ::String
|
240
|
+
SENSITIVE: []
|
241
|
+
end
|
242
|
+
|
243
|
+
class PutSigningProfileRequest
|
244
|
+
attr_accessor profile_name: ::String
|
245
|
+
attr_accessor signing_material: Types::SigningMaterial
|
246
|
+
attr_accessor signature_validity_period: Types::SignatureValidityPeriod
|
247
|
+
attr_accessor platform_id: ::String
|
248
|
+
attr_accessor overrides: Types::SigningPlatformOverrides
|
249
|
+
attr_accessor signing_parameters: ::Hash[::String, ::String]
|
250
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
251
|
+
SENSITIVE: []
|
252
|
+
end
|
253
|
+
|
254
|
+
class PutSigningProfileResponse
|
255
|
+
attr_accessor arn: ::String
|
256
|
+
attr_accessor profile_version: ::String
|
257
|
+
attr_accessor profile_version_arn: ::String
|
258
|
+
SENSITIVE: []
|
259
|
+
end
|
260
|
+
|
261
|
+
class RemoveProfilePermissionRequest
|
262
|
+
attr_accessor profile_name: ::String
|
263
|
+
attr_accessor revision_id: ::String
|
264
|
+
attr_accessor statement_id: ::String
|
265
|
+
SENSITIVE: []
|
266
|
+
end
|
267
|
+
|
268
|
+
class RemoveProfilePermissionResponse
|
269
|
+
attr_accessor revision_id: ::String
|
270
|
+
SENSITIVE: []
|
271
|
+
end
|
272
|
+
|
273
|
+
class ResourceNotFoundException
|
274
|
+
attr_accessor message: ::String
|
275
|
+
attr_accessor code: ::String
|
276
|
+
SENSITIVE: []
|
277
|
+
end
|
278
|
+
|
279
|
+
class RevokeSignatureRequest
|
280
|
+
attr_accessor job_id: ::String
|
281
|
+
attr_accessor job_owner: ::String
|
282
|
+
attr_accessor reason: ::String
|
283
|
+
SENSITIVE: []
|
284
|
+
end
|
285
|
+
|
286
|
+
class RevokeSigningProfileRequest
|
287
|
+
attr_accessor profile_name: ::String
|
288
|
+
attr_accessor profile_version: ::String
|
289
|
+
attr_accessor reason: ::String
|
290
|
+
attr_accessor effective_time: ::Time
|
291
|
+
SENSITIVE: []
|
292
|
+
end
|
293
|
+
|
294
|
+
class S3Destination
|
295
|
+
attr_accessor bucket_name: ::String
|
296
|
+
attr_accessor prefix: ::String
|
297
|
+
SENSITIVE: []
|
298
|
+
end
|
299
|
+
|
300
|
+
class S3SignedObject
|
301
|
+
attr_accessor bucket_name: ::String
|
302
|
+
attr_accessor key: ::String
|
303
|
+
SENSITIVE: []
|
304
|
+
end
|
305
|
+
|
306
|
+
class S3Source
|
307
|
+
attr_accessor bucket_name: ::String
|
308
|
+
attr_accessor key: ::String
|
309
|
+
attr_accessor version: ::String
|
310
|
+
SENSITIVE: []
|
311
|
+
end
|
312
|
+
|
313
|
+
class ServiceLimitExceededException
|
314
|
+
attr_accessor message: ::String
|
315
|
+
attr_accessor code: ::String
|
316
|
+
SENSITIVE: []
|
317
|
+
end
|
318
|
+
|
319
|
+
class SignPayloadRequest
|
320
|
+
attr_accessor profile_name: ::String
|
321
|
+
attr_accessor profile_owner: ::String
|
322
|
+
attr_accessor payload: ::String
|
323
|
+
attr_accessor payload_format: ::String
|
324
|
+
SENSITIVE: []
|
325
|
+
end
|
326
|
+
|
327
|
+
class SignPayloadResponse
|
328
|
+
attr_accessor job_id: ::String
|
329
|
+
attr_accessor job_owner: ::String
|
330
|
+
attr_accessor metadata: ::Hash[::String, ::String]
|
331
|
+
attr_accessor signature: ::String
|
332
|
+
SENSITIVE: []
|
333
|
+
end
|
334
|
+
|
335
|
+
class SignatureValidityPeriod
|
336
|
+
attr_accessor value: ::Integer
|
337
|
+
attr_accessor type: ("DAYS" | "MONTHS" | "YEARS")
|
338
|
+
SENSITIVE: []
|
339
|
+
end
|
340
|
+
|
341
|
+
class SignedObject
|
342
|
+
attr_accessor s3: Types::S3SignedObject
|
343
|
+
SENSITIVE: []
|
344
|
+
end
|
345
|
+
|
346
|
+
class SigningConfiguration
|
347
|
+
attr_accessor encryption_algorithm_options: Types::EncryptionAlgorithmOptions
|
348
|
+
attr_accessor hash_algorithm_options: Types::HashAlgorithmOptions
|
349
|
+
SENSITIVE: []
|
350
|
+
end
|
351
|
+
|
352
|
+
class SigningConfigurationOverrides
|
353
|
+
attr_accessor encryption_algorithm: ("RSA" | "ECDSA")
|
354
|
+
attr_accessor hash_algorithm: ("SHA1" | "SHA256")
|
355
|
+
SENSITIVE: []
|
356
|
+
end
|
357
|
+
|
358
|
+
class SigningImageFormat
|
359
|
+
attr_accessor supported_formats: ::Array[("JSON" | "JSONEmbedded" | "JSONDetached")]
|
360
|
+
attr_accessor default_format: ("JSON" | "JSONEmbedded" | "JSONDetached")
|
361
|
+
SENSITIVE: []
|
362
|
+
end
|
363
|
+
|
364
|
+
class SigningJob
|
365
|
+
attr_accessor job_id: ::String
|
366
|
+
attr_accessor source: Types::Source
|
367
|
+
attr_accessor signed_object: Types::SignedObject
|
368
|
+
attr_accessor signing_material: Types::SigningMaterial
|
369
|
+
attr_accessor created_at: ::Time
|
370
|
+
attr_accessor status: ("InProgress" | "Failed" | "Succeeded")
|
371
|
+
attr_accessor is_revoked: bool
|
372
|
+
attr_accessor profile_name: ::String
|
373
|
+
attr_accessor profile_version: ::String
|
374
|
+
attr_accessor platform_id: ::String
|
375
|
+
attr_accessor platform_display_name: ::String
|
376
|
+
attr_accessor signature_expires_at: ::Time
|
377
|
+
attr_accessor job_owner: ::String
|
378
|
+
attr_accessor job_invoker: ::String
|
379
|
+
SENSITIVE: []
|
380
|
+
end
|
381
|
+
|
382
|
+
class SigningJobRevocationRecord
|
383
|
+
attr_accessor reason: ::String
|
384
|
+
attr_accessor revoked_at: ::Time
|
385
|
+
attr_accessor revoked_by: ::String
|
386
|
+
SENSITIVE: []
|
387
|
+
end
|
388
|
+
|
389
|
+
class SigningMaterial
|
390
|
+
attr_accessor certificate_arn: ::String
|
391
|
+
SENSITIVE: []
|
392
|
+
end
|
393
|
+
|
394
|
+
class SigningPlatform
|
395
|
+
attr_accessor platform_id: ::String
|
396
|
+
attr_accessor display_name: ::String
|
397
|
+
attr_accessor partner: ::String
|
398
|
+
attr_accessor target: ::String
|
399
|
+
attr_accessor category: ("AWSIoT")
|
400
|
+
attr_accessor signing_configuration: Types::SigningConfiguration
|
401
|
+
attr_accessor signing_image_format: Types::SigningImageFormat
|
402
|
+
attr_accessor max_size_in_mb: ::Integer
|
403
|
+
attr_accessor revocation_supported: bool
|
404
|
+
SENSITIVE: []
|
405
|
+
end
|
406
|
+
|
407
|
+
class SigningPlatformOverrides
|
408
|
+
attr_accessor signing_configuration: Types::SigningConfigurationOverrides
|
409
|
+
attr_accessor signing_image_format: ("JSON" | "JSONEmbedded" | "JSONDetached")
|
410
|
+
SENSITIVE: []
|
411
|
+
end
|
412
|
+
|
413
|
+
class SigningProfile
|
414
|
+
attr_accessor profile_name: ::String
|
415
|
+
attr_accessor profile_version: ::String
|
416
|
+
attr_accessor profile_version_arn: ::String
|
417
|
+
attr_accessor signing_material: Types::SigningMaterial
|
418
|
+
attr_accessor signature_validity_period: Types::SignatureValidityPeriod
|
419
|
+
attr_accessor platform_id: ::String
|
420
|
+
attr_accessor platform_display_name: ::String
|
421
|
+
attr_accessor signing_parameters: ::Hash[::String, ::String]
|
422
|
+
attr_accessor status: ("Active" | "Canceled" | "Revoked")
|
423
|
+
attr_accessor arn: ::String
|
424
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
425
|
+
SENSITIVE: []
|
426
|
+
end
|
427
|
+
|
428
|
+
class SigningProfileRevocationRecord
|
429
|
+
attr_accessor revocation_effective_from: ::Time
|
430
|
+
attr_accessor revoked_at: ::Time
|
431
|
+
attr_accessor revoked_by: ::String
|
432
|
+
SENSITIVE: []
|
433
|
+
end
|
434
|
+
|
435
|
+
class Source
|
436
|
+
attr_accessor s3: Types::S3Source
|
437
|
+
SENSITIVE: []
|
438
|
+
end
|
439
|
+
|
440
|
+
class StartSigningJobRequest
|
441
|
+
attr_accessor source: Types::Source
|
442
|
+
attr_accessor destination: Types::Destination
|
443
|
+
attr_accessor profile_name: ::String
|
444
|
+
attr_accessor client_request_token: ::String
|
445
|
+
attr_accessor profile_owner: ::String
|
446
|
+
SENSITIVE: []
|
447
|
+
end
|
448
|
+
|
449
|
+
class StartSigningJobResponse
|
450
|
+
attr_accessor job_id: ::String
|
451
|
+
attr_accessor job_owner: ::String
|
452
|
+
SENSITIVE: []
|
453
|
+
end
|
454
|
+
|
455
|
+
class TagResourceRequest
|
456
|
+
attr_accessor resource_arn: ::String
|
457
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
458
|
+
SENSITIVE: []
|
459
|
+
end
|
460
|
+
|
461
|
+
class TagResourceResponse < Aws::EmptyStructure
|
462
|
+
end
|
463
|
+
|
464
|
+
class ThrottlingException
|
465
|
+
attr_accessor message: ::String
|
466
|
+
attr_accessor code: ::String
|
467
|
+
SENSITIVE: []
|
468
|
+
end
|
469
|
+
|
470
|
+
class TooManyRequestsException
|
471
|
+
attr_accessor message: ::String
|
472
|
+
attr_accessor code: ::String
|
473
|
+
SENSITIVE: []
|
474
|
+
end
|
475
|
+
|
476
|
+
class UntagResourceRequest
|
477
|
+
attr_accessor resource_arn: ::String
|
478
|
+
attr_accessor tag_keys: ::Array[::String]
|
479
|
+
SENSITIVE: []
|
480
|
+
end
|
481
|
+
|
482
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
483
|
+
end
|
484
|
+
|
485
|
+
class ValidationException
|
486
|
+
attr_accessor message: ::String
|
487
|
+
attr_accessor code: ::String
|
488
|
+
SENSITIVE: []
|
489
|
+
end
|
490
|
+
end
|
491
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,23 @@
|
|
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 Signer
|
10
|
+
module Waiters
|
11
|
+
|
12
|
+
class SuccessfulSigningJob
|
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
|
+
job_id: ::String
|
18
|
+
) -> Client::_DescribeSigningJobResponseSuccess
|
19
|
+
| (Hash[Symbol, untyped]) -> Client::_DescribeSigningJobResponseSuccess
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-signer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.51.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-01-26 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.191.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.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,13 +67,18 @@ files:
|
|
67
67
|
- lib/aws-sdk-signer/resource.rb
|
68
68
|
- lib/aws-sdk-signer/types.rb
|
69
69
|
- lib/aws-sdk-signer/waiters.rb
|
70
|
+
- sig/client.rbs
|
71
|
+
- sig/errors.rbs
|
72
|
+
- sig/resource.rbs
|
73
|
+
- sig/types.rbs
|
74
|
+
- sig/waiters.rbs
|
70
75
|
homepage: https://github.com/aws/aws-sdk-ruby
|
71
76
|
licenses:
|
72
77
|
- Apache-2.0
|
73
78
|
metadata:
|
74
79
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-signer
|
75
80
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-signer/CHANGELOG.md
|
76
|
-
post_install_message:
|
81
|
+
post_install_message:
|
77
82
|
rdoc_options: []
|
78
83
|
require_paths:
|
79
84
|
- lib
|
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
93
|
- !ruby/object:Gem::Version
|
89
94
|
version: '0'
|
90
95
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
92
|
-
signing_key:
|
96
|
+
rubygems_version: 3.4.10
|
97
|
+
signing_key:
|
93
98
|
specification_version: 4
|
94
99
|
summary: AWS SDK for Ruby - signer
|
95
100
|
test_files: []
|