aws-sdk-codeartifact 1.36.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,688 @@
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 CodeArtifact
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/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 _AssociateExternalConnectionResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateExternalConnectionResult]
77
+ def repository: () -> Types::RepositoryDescription
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#associate_external_connection-instance_method
80
+ def associate_external_connection: (
81
+ domain: ::String,
82
+ ?domain_owner: ::String,
83
+ repository: ::String,
84
+ external_connection: ::String
85
+ ) -> _AssociateExternalConnectionResponseSuccess
86
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateExternalConnectionResponseSuccess
87
+
88
+ interface _CopyPackageVersionsResponseSuccess
89
+ include ::Seahorse::Client::_ResponseSuccess[Types::CopyPackageVersionsResult]
90
+ def successful_versions: () -> ::Hash[::String, Types::SuccessfulPackageVersionInfo]
91
+ def failed_versions: () -> ::Hash[::String, Types::PackageVersionError]
92
+ end
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#copy_package_versions-instance_method
94
+ def copy_package_versions: (
95
+ domain: ::String,
96
+ ?domain_owner: ::String,
97
+ source_repository: ::String,
98
+ destination_repository: ::String,
99
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
100
+ ?namespace: ::String,
101
+ package: ::String,
102
+ ?versions: Array[::String],
103
+ ?version_revisions: Hash[::String, ::String],
104
+ ?allow_overwrite: bool,
105
+ ?include_from_upstream: bool
106
+ ) -> _CopyPackageVersionsResponseSuccess
107
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CopyPackageVersionsResponseSuccess
108
+
109
+ interface _CreateDomainResponseSuccess
110
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDomainResult]
111
+ def domain: () -> Types::DomainDescription
112
+ end
113
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#create_domain-instance_method
114
+ def create_domain: (
115
+ domain: ::String,
116
+ ?encryption_key: ::String,
117
+ ?tags: Array[
118
+ {
119
+ key: ::String,
120
+ value: ::String
121
+ },
122
+ ]
123
+ ) -> _CreateDomainResponseSuccess
124
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess
125
+
126
+ interface _CreateRepositoryResponseSuccess
127
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRepositoryResult]
128
+ def repository: () -> Types::RepositoryDescription
129
+ end
130
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#create_repository-instance_method
131
+ def create_repository: (
132
+ domain: ::String,
133
+ ?domain_owner: ::String,
134
+ repository: ::String,
135
+ ?description: ::String,
136
+ ?upstreams: Array[
137
+ {
138
+ repository_name: ::String
139
+ },
140
+ ],
141
+ ?tags: Array[
142
+ {
143
+ key: ::String,
144
+ value: ::String
145
+ },
146
+ ]
147
+ ) -> _CreateRepositoryResponseSuccess
148
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRepositoryResponseSuccess
149
+
150
+ interface _DeleteDomainResponseSuccess
151
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDomainResult]
152
+ def domain: () -> Types::DomainDescription
153
+ end
154
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_domain-instance_method
155
+ def delete_domain: (
156
+ domain: ::String,
157
+ ?domain_owner: ::String
158
+ ) -> _DeleteDomainResponseSuccess
159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainResponseSuccess
160
+
161
+ interface _DeleteDomainPermissionsPolicyResponseSuccess
162
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDomainPermissionsPolicyResult]
163
+ def policy: () -> Types::ResourcePolicy
164
+ end
165
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_domain_permissions_policy-instance_method
166
+ def delete_domain_permissions_policy: (
167
+ domain: ::String,
168
+ ?domain_owner: ::String,
169
+ ?policy_revision: ::String
170
+ ) -> _DeleteDomainPermissionsPolicyResponseSuccess
171
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainPermissionsPolicyResponseSuccess
172
+
173
+ interface _DeletePackageResponseSuccess
174
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePackageResult]
175
+ def deleted_package: () -> Types::PackageSummary
176
+ end
177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_package-instance_method
178
+ def delete_package: (
179
+ domain: ::String,
180
+ ?domain_owner: ::String,
181
+ repository: ::String,
182
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
183
+ ?namespace: ::String,
184
+ package: ::String
185
+ ) -> _DeletePackageResponseSuccess
186
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePackageResponseSuccess
187
+
188
+ interface _DeletePackageVersionsResponseSuccess
189
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePackageVersionsResult]
190
+ def successful_versions: () -> ::Hash[::String, Types::SuccessfulPackageVersionInfo]
191
+ def failed_versions: () -> ::Hash[::String, Types::PackageVersionError]
192
+ end
193
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_package_versions-instance_method
194
+ def delete_package_versions: (
195
+ domain: ::String,
196
+ ?domain_owner: ::String,
197
+ repository: ::String,
198
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
199
+ ?namespace: ::String,
200
+ package: ::String,
201
+ versions: Array[::String],
202
+ ?expected_status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
203
+ ) -> _DeletePackageVersionsResponseSuccess
204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePackageVersionsResponseSuccess
205
+
206
+ interface _DeleteRepositoryResponseSuccess
207
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryResult]
208
+ def repository: () -> Types::RepositoryDescription
209
+ end
210
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_repository-instance_method
211
+ def delete_repository: (
212
+ domain: ::String,
213
+ ?domain_owner: ::String,
214
+ repository: ::String
215
+ ) -> _DeleteRepositoryResponseSuccess
216
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryResponseSuccess
217
+
218
+ interface _DeleteRepositoryPermissionsPolicyResponseSuccess
219
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryPermissionsPolicyResult]
220
+ def policy: () -> Types::ResourcePolicy
221
+ end
222
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_repository_permissions_policy-instance_method
223
+ def delete_repository_permissions_policy: (
224
+ domain: ::String,
225
+ ?domain_owner: ::String,
226
+ repository: ::String,
227
+ ?policy_revision: ::String
228
+ ) -> _DeleteRepositoryPermissionsPolicyResponseSuccess
229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryPermissionsPolicyResponseSuccess
230
+
231
+ interface _DescribeDomainResponseSuccess
232
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDomainResult]
233
+ def domain: () -> Types::DomainDescription
234
+ end
235
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_domain-instance_method
236
+ def describe_domain: (
237
+ domain: ::String,
238
+ ?domain_owner: ::String
239
+ ) -> _DescribeDomainResponseSuccess
240
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDomainResponseSuccess
241
+
242
+ interface _DescribePackageResponseSuccess
243
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribePackageResult]
244
+ def package: () -> Types::PackageDescription
245
+ end
246
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_package-instance_method
247
+ def describe_package: (
248
+ domain: ::String,
249
+ ?domain_owner: ::String,
250
+ repository: ::String,
251
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
252
+ ?namespace: ::String,
253
+ package: ::String
254
+ ) -> _DescribePackageResponseSuccess
255
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePackageResponseSuccess
256
+
257
+ interface _DescribePackageVersionResponseSuccess
258
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribePackageVersionResult]
259
+ def package_version: () -> Types::PackageVersionDescription
260
+ end
261
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_package_version-instance_method
262
+ def describe_package_version: (
263
+ domain: ::String,
264
+ ?domain_owner: ::String,
265
+ repository: ::String,
266
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
267
+ ?namespace: ::String,
268
+ package: ::String,
269
+ package_version: ::String
270
+ ) -> _DescribePackageVersionResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePackageVersionResponseSuccess
272
+
273
+ interface _DescribeRepositoryResponseSuccess
274
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRepositoryResult]
275
+ def repository: () -> Types::RepositoryDescription
276
+ end
277
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_repository-instance_method
278
+ def describe_repository: (
279
+ domain: ::String,
280
+ ?domain_owner: ::String,
281
+ repository: ::String
282
+ ) -> _DescribeRepositoryResponseSuccess
283
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRepositoryResponseSuccess
284
+
285
+ interface _DisassociateExternalConnectionResponseSuccess
286
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateExternalConnectionResult]
287
+ def repository: () -> Types::RepositoryDescription
288
+ end
289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#disassociate_external_connection-instance_method
290
+ def disassociate_external_connection: (
291
+ domain: ::String,
292
+ ?domain_owner: ::String,
293
+ repository: ::String,
294
+ external_connection: ::String
295
+ ) -> _DisassociateExternalConnectionResponseSuccess
296
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateExternalConnectionResponseSuccess
297
+
298
+ interface _DisposePackageVersionsResponseSuccess
299
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisposePackageVersionsResult]
300
+ def successful_versions: () -> ::Hash[::String, Types::SuccessfulPackageVersionInfo]
301
+ def failed_versions: () -> ::Hash[::String, Types::PackageVersionError]
302
+ end
303
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#dispose_package_versions-instance_method
304
+ def dispose_package_versions: (
305
+ domain: ::String,
306
+ ?domain_owner: ::String,
307
+ repository: ::String,
308
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
309
+ ?namespace: ::String,
310
+ package: ::String,
311
+ versions: Array[::String],
312
+ ?version_revisions: Hash[::String, ::String],
313
+ ?expected_status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
314
+ ) -> _DisposePackageVersionsResponseSuccess
315
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisposePackageVersionsResponseSuccess
316
+
317
+ interface _GetAuthorizationTokenResponseSuccess
318
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAuthorizationTokenResult]
319
+ def authorization_token: () -> ::String
320
+ def expiration: () -> ::Time
321
+ end
322
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_authorization_token-instance_method
323
+ def get_authorization_token: (
324
+ domain: ::String,
325
+ ?domain_owner: ::String,
326
+ ?duration_seconds: ::Integer
327
+ ) -> _GetAuthorizationTokenResponseSuccess
328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAuthorizationTokenResponseSuccess
329
+
330
+ interface _GetDomainPermissionsPolicyResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDomainPermissionsPolicyResult]
332
+ def policy: () -> Types::ResourcePolicy
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_domain_permissions_policy-instance_method
335
+ def get_domain_permissions_policy: (
336
+ domain: ::String,
337
+ ?domain_owner: ::String
338
+ ) -> _GetDomainPermissionsPolicyResponseSuccess
339
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainPermissionsPolicyResponseSuccess
340
+
341
+ interface _GetPackageVersionAssetResponseSuccess
342
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageVersionAssetResult]
343
+ def asset: () -> ::IO
344
+ def asset_name: () -> ::String
345
+ def package_version: () -> ::String
346
+ def package_version_revision: () -> ::String
347
+ end
348
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_package_version_asset-instance_method
349
+ def get_package_version_asset: (
350
+ domain: ::String,
351
+ ?domain_owner: ::String,
352
+ repository: ::String,
353
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
354
+ ?namespace: ::String,
355
+ package: ::String,
356
+ package_version: ::String,
357
+ asset: ::String,
358
+ ?package_version_revision: ::String
359
+ ) ?{ (*untyped) -> void } -> _GetPackageVersionAssetResponseSuccess
360
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetPackageVersionAssetResponseSuccess
361
+
362
+ interface _GetPackageVersionReadmeResponseSuccess
363
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageVersionReadmeResult]
364
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
365
+ def namespace: () -> ::String
366
+ def package: () -> ::String
367
+ def version: () -> ::String
368
+ def version_revision: () -> ::String
369
+ def readme: () -> ::String
370
+ end
371
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_package_version_readme-instance_method
372
+ def get_package_version_readme: (
373
+ domain: ::String,
374
+ ?domain_owner: ::String,
375
+ repository: ::String,
376
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
377
+ ?namespace: ::String,
378
+ package: ::String,
379
+ package_version: ::String
380
+ ) -> _GetPackageVersionReadmeResponseSuccess
381
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPackageVersionReadmeResponseSuccess
382
+
383
+ interface _GetRepositoryEndpointResponseSuccess
384
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryEndpointResult]
385
+ def repository_endpoint: () -> ::String
386
+ end
387
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_repository_endpoint-instance_method
388
+ def get_repository_endpoint: (
389
+ domain: ::String,
390
+ ?domain_owner: ::String,
391
+ repository: ::String,
392
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
393
+ ) -> _GetRepositoryEndpointResponseSuccess
394
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryEndpointResponseSuccess
395
+
396
+ interface _GetRepositoryPermissionsPolicyResponseSuccess
397
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryPermissionsPolicyResult]
398
+ def policy: () -> Types::ResourcePolicy
399
+ end
400
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_repository_permissions_policy-instance_method
401
+ def get_repository_permissions_policy: (
402
+ domain: ::String,
403
+ ?domain_owner: ::String,
404
+ repository: ::String
405
+ ) -> _GetRepositoryPermissionsPolicyResponseSuccess
406
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryPermissionsPolicyResponseSuccess
407
+
408
+ interface _ListDomainsResponseSuccess
409
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainsResult]
410
+ def domains: () -> ::Array[Types::DomainSummary]
411
+ def next_token: () -> ::String
412
+ end
413
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_domains-instance_method
414
+ def list_domains: (
415
+ ?max_results: ::Integer,
416
+ ?next_token: ::String
417
+ ) -> _ListDomainsResponseSuccess
418
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainsResponseSuccess
419
+
420
+ interface _ListPackageVersionAssetsResponseSuccess
421
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionAssetsResult]
422
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
423
+ def namespace: () -> ::String
424
+ def package: () -> ::String
425
+ def version: () -> ::String
426
+ def version_revision: () -> ::String
427
+ def next_token: () -> ::String
428
+ def assets: () -> ::Array[Types::AssetSummary]
429
+ end
430
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_package_version_assets-instance_method
431
+ def list_package_version_assets: (
432
+ domain: ::String,
433
+ ?domain_owner: ::String,
434
+ repository: ::String,
435
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
436
+ ?namespace: ::String,
437
+ package: ::String,
438
+ package_version: ::String,
439
+ ?max_results: ::Integer,
440
+ ?next_token: ::String
441
+ ) -> _ListPackageVersionAssetsResponseSuccess
442
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackageVersionAssetsResponseSuccess
443
+
444
+ interface _ListPackageVersionDependenciesResponseSuccess
445
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionDependenciesResult]
446
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
447
+ def namespace: () -> ::String
448
+ def package: () -> ::String
449
+ def version: () -> ::String
450
+ def version_revision: () -> ::String
451
+ def next_token: () -> ::String
452
+ def dependencies: () -> ::Array[Types::PackageDependency]
453
+ end
454
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_package_version_dependencies-instance_method
455
+ def list_package_version_dependencies: (
456
+ domain: ::String,
457
+ ?domain_owner: ::String,
458
+ repository: ::String,
459
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
460
+ ?namespace: ::String,
461
+ package: ::String,
462
+ package_version: ::String,
463
+ ?next_token: ::String
464
+ ) -> _ListPackageVersionDependenciesResponseSuccess
465
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackageVersionDependenciesResponseSuccess
466
+
467
+ interface _ListPackageVersionsResponseSuccess
468
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionsResult]
469
+ def default_display_version: () -> ::String
470
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
471
+ def namespace: () -> ::String
472
+ def package: () -> ::String
473
+ def versions: () -> ::Array[Types::PackageVersionSummary]
474
+ def next_token: () -> ::String
475
+ end
476
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_package_versions-instance_method
477
+ def list_package_versions: (
478
+ domain: ::String,
479
+ ?domain_owner: ::String,
480
+ repository: ::String,
481
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
482
+ ?namespace: ::String,
483
+ package: ::String,
484
+ ?status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted"),
485
+ ?sort_by: ("PUBLISHED_TIME"),
486
+ ?max_results: ::Integer,
487
+ ?next_token: ::String,
488
+ ?origin_type: ("INTERNAL" | "EXTERNAL" | "UNKNOWN")
489
+ ) -> _ListPackageVersionsResponseSuccess
490
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackageVersionsResponseSuccess
491
+
492
+ interface _ListPackagesResponseSuccess
493
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPackagesResult]
494
+ def packages: () -> ::Array[Types::PackageSummary]
495
+ def next_token: () -> ::String
496
+ end
497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_packages-instance_method
498
+ def list_packages: (
499
+ domain: ::String,
500
+ ?domain_owner: ::String,
501
+ repository: ::String,
502
+ ?format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
503
+ ?namespace: ::String,
504
+ ?package_prefix: ::String,
505
+ ?max_results: ::Integer,
506
+ ?next_token: ::String,
507
+ ?publish: ("ALLOW" | "BLOCK"),
508
+ ?upstream: ("ALLOW" | "BLOCK")
509
+ ) -> _ListPackagesResponseSuccess
510
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackagesResponseSuccess
511
+
512
+ interface _ListRepositoriesResponseSuccess
513
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoriesResult]
514
+ def repositories: () -> ::Array[Types::RepositorySummary]
515
+ def next_token: () -> ::String
516
+ end
517
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_repositories-instance_method
518
+ def list_repositories: (
519
+ ?repository_prefix: ::String,
520
+ ?max_results: ::Integer,
521
+ ?next_token: ::String
522
+ ) -> _ListRepositoriesResponseSuccess
523
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoriesResponseSuccess
524
+
525
+ interface _ListRepositoriesInDomainResponseSuccess
526
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoriesInDomainResult]
527
+ def repositories: () -> ::Array[Types::RepositorySummary]
528
+ def next_token: () -> ::String
529
+ end
530
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_repositories_in_domain-instance_method
531
+ def list_repositories_in_domain: (
532
+ domain: ::String,
533
+ ?domain_owner: ::String,
534
+ ?administrator_account: ::String,
535
+ ?repository_prefix: ::String,
536
+ ?max_results: ::Integer,
537
+ ?next_token: ::String
538
+ ) -> _ListRepositoriesInDomainResponseSuccess
539
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoriesInDomainResponseSuccess
540
+
541
+ interface _ListTagsForResourceResponseSuccess
542
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResult]
543
+ def tags: () -> ::Array[Types::Tag]
544
+ end
545
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_tags_for_resource-instance_method
546
+ def list_tags_for_resource: (
547
+ resource_arn: ::String
548
+ ) -> _ListTagsForResourceResponseSuccess
549
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
550
+
551
+ interface _PublishPackageVersionResponseSuccess
552
+ include ::Seahorse::Client::_ResponseSuccess[Types::PublishPackageVersionResult]
553
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
554
+ def namespace: () -> ::String
555
+ def package: () -> ::String
556
+ def version: () -> ::String
557
+ def version_revision: () -> ::String
558
+ def status: () -> ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
559
+ def asset: () -> Types::AssetSummary
560
+ end
561
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#publish_package_version-instance_method
562
+ def publish_package_version: (
563
+ domain: ::String,
564
+ ?domain_owner: ::String,
565
+ repository: ::String,
566
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
567
+ ?namespace: ::String,
568
+ package: ::String,
569
+ package_version: ::String,
570
+ asset_content: ::String,
571
+ asset_name: ::String,
572
+ asset_sha256: ::String,
573
+ ?unfinished: bool
574
+ ) -> _PublishPackageVersionResponseSuccess
575
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishPackageVersionResponseSuccess
576
+
577
+ interface _PutDomainPermissionsPolicyResponseSuccess
578
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutDomainPermissionsPolicyResult]
579
+ def policy: () -> Types::ResourcePolicy
580
+ end
581
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#put_domain_permissions_policy-instance_method
582
+ def put_domain_permissions_policy: (
583
+ domain: ::String,
584
+ ?domain_owner: ::String,
585
+ ?policy_revision: ::String,
586
+ policy_document: ::String
587
+ ) -> _PutDomainPermissionsPolicyResponseSuccess
588
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDomainPermissionsPolicyResponseSuccess
589
+
590
+ interface _PutPackageOriginConfigurationResponseSuccess
591
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutPackageOriginConfigurationResult]
592
+ def origin_configuration: () -> Types::PackageOriginConfiguration
593
+ end
594
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#put_package_origin_configuration-instance_method
595
+ def put_package_origin_configuration: (
596
+ domain: ::String,
597
+ ?domain_owner: ::String,
598
+ repository: ::String,
599
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
600
+ ?namespace: ::String,
601
+ package: ::String,
602
+ restrictions: {
603
+ publish: ("ALLOW" | "BLOCK"),
604
+ upstream: ("ALLOW" | "BLOCK")
605
+ }
606
+ ) -> _PutPackageOriginConfigurationResponseSuccess
607
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPackageOriginConfigurationResponseSuccess
608
+
609
+ interface _PutRepositoryPermissionsPolicyResponseSuccess
610
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutRepositoryPermissionsPolicyResult]
611
+ def policy: () -> Types::ResourcePolicy
612
+ end
613
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#put_repository_permissions_policy-instance_method
614
+ def put_repository_permissions_policy: (
615
+ domain: ::String,
616
+ ?domain_owner: ::String,
617
+ repository: ::String,
618
+ ?policy_revision: ::String,
619
+ policy_document: ::String
620
+ ) -> _PutRepositoryPermissionsPolicyResponseSuccess
621
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRepositoryPermissionsPolicyResponseSuccess
622
+
623
+ interface _TagResourceResponseSuccess
624
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResult]
625
+ end
626
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#tag_resource-instance_method
627
+ def tag_resource: (
628
+ resource_arn: ::String,
629
+ tags: Array[
630
+ {
631
+ key: ::String,
632
+ value: ::String
633
+ },
634
+ ]
635
+ ) -> _TagResourceResponseSuccess
636
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
637
+
638
+ interface _UntagResourceResponseSuccess
639
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResult]
640
+ end
641
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#untag_resource-instance_method
642
+ def untag_resource: (
643
+ resource_arn: ::String,
644
+ tag_keys: Array[::String]
645
+ ) -> _UntagResourceResponseSuccess
646
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
647
+
648
+ interface _UpdatePackageVersionsStatusResponseSuccess
649
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePackageVersionsStatusResult]
650
+ def successful_versions: () -> ::Hash[::String, Types::SuccessfulPackageVersionInfo]
651
+ def failed_versions: () -> ::Hash[::String, Types::PackageVersionError]
652
+ end
653
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#update_package_versions_status-instance_method
654
+ def update_package_versions_status: (
655
+ domain: ::String,
656
+ ?domain_owner: ::String,
657
+ repository: ::String,
658
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
659
+ ?namespace: ::String,
660
+ package: ::String,
661
+ versions: Array[::String],
662
+ ?version_revisions: Hash[::String, ::String],
663
+ ?expected_status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted"),
664
+ target_status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
665
+ ) -> _UpdatePackageVersionsStatusResponseSuccess
666
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageVersionsStatusResponseSuccess
667
+
668
+ interface _UpdateRepositoryResponseSuccess
669
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRepositoryResult]
670
+ def repository: () -> Types::RepositoryDescription
671
+ end
672
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#update_repository-instance_method
673
+ def update_repository: (
674
+ domain: ::String,
675
+ ?domain_owner: ::String,
676
+ repository: ::String,
677
+ ?description: ::String,
678
+ ?upstreams: Array[
679
+ {
680
+ repository_name: ::String
681
+ },
682
+ ]
683
+ ) -> _UpdateRepositoryResponseSuccess
684
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRepositoryResponseSuccess
685
+ end
686
+ end
687
+ end
688
+