aws-sdk-codeartifact 1.37.0 → 1.39.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-codeartifact/client.rb +930 -73
- data/lib/aws-sdk-codeartifact/client_api.rb +374 -0
- data/lib/aws-sdk-codeartifact/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-codeartifact/endpoints.rb +140 -0
- data/lib/aws-sdk-codeartifact/plugins/endpoints.rb +21 -0
- data/lib/aws-sdk-codeartifact/types.rb +1063 -102
- data/lib/aws-sdk-codeartifact.rb +1 -1
- data/sig/client.rbs +849 -0
- data/sig/errors.rbs +45 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +1016 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,849 @@
|
|
|
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 _CreatePackageGroupResponseSuccess
|
|
127
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePackageGroupResult]
|
|
128
|
+
def package_group: () -> Types::PackageGroupDescription
|
|
129
|
+
end
|
|
130
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#create_package_group-instance_method
|
|
131
|
+
def create_package_group: (
|
|
132
|
+
domain: ::String,
|
|
133
|
+
?domain_owner: ::String,
|
|
134
|
+
package_group: ::String,
|
|
135
|
+
?contact_info: ::String,
|
|
136
|
+
?description: ::String,
|
|
137
|
+
?tags: Array[
|
|
138
|
+
{
|
|
139
|
+
key: ::String,
|
|
140
|
+
value: ::String
|
|
141
|
+
},
|
|
142
|
+
]
|
|
143
|
+
) -> _CreatePackageGroupResponseSuccess
|
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePackageGroupResponseSuccess
|
|
145
|
+
|
|
146
|
+
interface _CreateRepositoryResponseSuccess
|
|
147
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRepositoryResult]
|
|
148
|
+
def repository: () -> Types::RepositoryDescription
|
|
149
|
+
end
|
|
150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#create_repository-instance_method
|
|
151
|
+
def create_repository: (
|
|
152
|
+
domain: ::String,
|
|
153
|
+
?domain_owner: ::String,
|
|
154
|
+
repository: ::String,
|
|
155
|
+
?description: ::String,
|
|
156
|
+
?upstreams: Array[
|
|
157
|
+
{
|
|
158
|
+
repository_name: ::String
|
|
159
|
+
},
|
|
160
|
+
],
|
|
161
|
+
?tags: Array[
|
|
162
|
+
{
|
|
163
|
+
key: ::String,
|
|
164
|
+
value: ::String
|
|
165
|
+
},
|
|
166
|
+
]
|
|
167
|
+
) -> _CreateRepositoryResponseSuccess
|
|
168
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRepositoryResponseSuccess
|
|
169
|
+
|
|
170
|
+
interface _DeleteDomainResponseSuccess
|
|
171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDomainResult]
|
|
172
|
+
def domain: () -> Types::DomainDescription
|
|
173
|
+
end
|
|
174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_domain-instance_method
|
|
175
|
+
def delete_domain: (
|
|
176
|
+
domain: ::String,
|
|
177
|
+
?domain_owner: ::String
|
|
178
|
+
) -> _DeleteDomainResponseSuccess
|
|
179
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainResponseSuccess
|
|
180
|
+
|
|
181
|
+
interface _DeleteDomainPermissionsPolicyResponseSuccess
|
|
182
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDomainPermissionsPolicyResult]
|
|
183
|
+
def policy: () -> Types::ResourcePolicy
|
|
184
|
+
end
|
|
185
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_domain_permissions_policy-instance_method
|
|
186
|
+
def delete_domain_permissions_policy: (
|
|
187
|
+
domain: ::String,
|
|
188
|
+
?domain_owner: ::String,
|
|
189
|
+
?policy_revision: ::String
|
|
190
|
+
) -> _DeleteDomainPermissionsPolicyResponseSuccess
|
|
191
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainPermissionsPolicyResponseSuccess
|
|
192
|
+
|
|
193
|
+
interface _DeletePackageResponseSuccess
|
|
194
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePackageResult]
|
|
195
|
+
def deleted_package: () -> Types::PackageSummary
|
|
196
|
+
end
|
|
197
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_package-instance_method
|
|
198
|
+
def delete_package: (
|
|
199
|
+
domain: ::String,
|
|
200
|
+
?domain_owner: ::String,
|
|
201
|
+
repository: ::String,
|
|
202
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
203
|
+
?namespace: ::String,
|
|
204
|
+
package: ::String
|
|
205
|
+
) -> _DeletePackageResponseSuccess
|
|
206
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePackageResponseSuccess
|
|
207
|
+
|
|
208
|
+
interface _DeletePackageGroupResponseSuccess
|
|
209
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePackageGroupResult]
|
|
210
|
+
def package_group: () -> Types::PackageGroupDescription
|
|
211
|
+
end
|
|
212
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_package_group-instance_method
|
|
213
|
+
def delete_package_group: (
|
|
214
|
+
domain: ::String,
|
|
215
|
+
?domain_owner: ::String,
|
|
216
|
+
package_group: ::String
|
|
217
|
+
) -> _DeletePackageGroupResponseSuccess
|
|
218
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePackageGroupResponseSuccess
|
|
219
|
+
|
|
220
|
+
interface _DeletePackageVersionsResponseSuccess
|
|
221
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePackageVersionsResult]
|
|
222
|
+
def successful_versions: () -> ::Hash[::String, Types::SuccessfulPackageVersionInfo]
|
|
223
|
+
def failed_versions: () -> ::Hash[::String, Types::PackageVersionError]
|
|
224
|
+
end
|
|
225
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_package_versions-instance_method
|
|
226
|
+
def delete_package_versions: (
|
|
227
|
+
domain: ::String,
|
|
228
|
+
?domain_owner: ::String,
|
|
229
|
+
repository: ::String,
|
|
230
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
231
|
+
?namespace: ::String,
|
|
232
|
+
package: ::String,
|
|
233
|
+
versions: Array[::String],
|
|
234
|
+
?expected_status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
|
|
235
|
+
) -> _DeletePackageVersionsResponseSuccess
|
|
236
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePackageVersionsResponseSuccess
|
|
237
|
+
|
|
238
|
+
interface _DeleteRepositoryResponseSuccess
|
|
239
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryResult]
|
|
240
|
+
def repository: () -> Types::RepositoryDescription
|
|
241
|
+
end
|
|
242
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_repository-instance_method
|
|
243
|
+
def delete_repository: (
|
|
244
|
+
domain: ::String,
|
|
245
|
+
?domain_owner: ::String,
|
|
246
|
+
repository: ::String
|
|
247
|
+
) -> _DeleteRepositoryResponseSuccess
|
|
248
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryResponseSuccess
|
|
249
|
+
|
|
250
|
+
interface _DeleteRepositoryPermissionsPolicyResponseSuccess
|
|
251
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRepositoryPermissionsPolicyResult]
|
|
252
|
+
def policy: () -> Types::ResourcePolicy
|
|
253
|
+
end
|
|
254
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#delete_repository_permissions_policy-instance_method
|
|
255
|
+
def delete_repository_permissions_policy: (
|
|
256
|
+
domain: ::String,
|
|
257
|
+
?domain_owner: ::String,
|
|
258
|
+
repository: ::String,
|
|
259
|
+
?policy_revision: ::String
|
|
260
|
+
) -> _DeleteRepositoryPermissionsPolicyResponseSuccess
|
|
261
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRepositoryPermissionsPolicyResponseSuccess
|
|
262
|
+
|
|
263
|
+
interface _DescribeDomainResponseSuccess
|
|
264
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDomainResult]
|
|
265
|
+
def domain: () -> Types::DomainDescription
|
|
266
|
+
end
|
|
267
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_domain-instance_method
|
|
268
|
+
def describe_domain: (
|
|
269
|
+
domain: ::String,
|
|
270
|
+
?domain_owner: ::String
|
|
271
|
+
) -> _DescribeDomainResponseSuccess
|
|
272
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDomainResponseSuccess
|
|
273
|
+
|
|
274
|
+
interface _DescribePackageResponseSuccess
|
|
275
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribePackageResult]
|
|
276
|
+
def package: () -> Types::PackageDescription
|
|
277
|
+
end
|
|
278
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_package-instance_method
|
|
279
|
+
def describe_package: (
|
|
280
|
+
domain: ::String,
|
|
281
|
+
?domain_owner: ::String,
|
|
282
|
+
repository: ::String,
|
|
283
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
284
|
+
?namespace: ::String,
|
|
285
|
+
package: ::String
|
|
286
|
+
) -> _DescribePackageResponseSuccess
|
|
287
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePackageResponseSuccess
|
|
288
|
+
|
|
289
|
+
interface _DescribePackageGroupResponseSuccess
|
|
290
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribePackageGroupResult]
|
|
291
|
+
def package_group: () -> Types::PackageGroupDescription
|
|
292
|
+
end
|
|
293
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_package_group-instance_method
|
|
294
|
+
def describe_package_group: (
|
|
295
|
+
domain: ::String,
|
|
296
|
+
?domain_owner: ::String,
|
|
297
|
+
package_group: ::String
|
|
298
|
+
) -> _DescribePackageGroupResponseSuccess
|
|
299
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePackageGroupResponseSuccess
|
|
300
|
+
|
|
301
|
+
interface _DescribePackageVersionResponseSuccess
|
|
302
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribePackageVersionResult]
|
|
303
|
+
def package_version: () -> Types::PackageVersionDescription
|
|
304
|
+
end
|
|
305
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_package_version-instance_method
|
|
306
|
+
def describe_package_version: (
|
|
307
|
+
domain: ::String,
|
|
308
|
+
?domain_owner: ::String,
|
|
309
|
+
repository: ::String,
|
|
310
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
311
|
+
?namespace: ::String,
|
|
312
|
+
package: ::String,
|
|
313
|
+
package_version: ::String
|
|
314
|
+
) -> _DescribePackageVersionResponseSuccess
|
|
315
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePackageVersionResponseSuccess
|
|
316
|
+
|
|
317
|
+
interface _DescribeRepositoryResponseSuccess
|
|
318
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeRepositoryResult]
|
|
319
|
+
def repository: () -> Types::RepositoryDescription
|
|
320
|
+
end
|
|
321
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#describe_repository-instance_method
|
|
322
|
+
def describe_repository: (
|
|
323
|
+
domain: ::String,
|
|
324
|
+
?domain_owner: ::String,
|
|
325
|
+
repository: ::String
|
|
326
|
+
) -> _DescribeRepositoryResponseSuccess
|
|
327
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRepositoryResponseSuccess
|
|
328
|
+
|
|
329
|
+
interface _DisassociateExternalConnectionResponseSuccess
|
|
330
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateExternalConnectionResult]
|
|
331
|
+
def repository: () -> Types::RepositoryDescription
|
|
332
|
+
end
|
|
333
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#disassociate_external_connection-instance_method
|
|
334
|
+
def disassociate_external_connection: (
|
|
335
|
+
domain: ::String,
|
|
336
|
+
?domain_owner: ::String,
|
|
337
|
+
repository: ::String,
|
|
338
|
+
external_connection: ::String
|
|
339
|
+
) -> _DisassociateExternalConnectionResponseSuccess
|
|
340
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateExternalConnectionResponseSuccess
|
|
341
|
+
|
|
342
|
+
interface _DisposePackageVersionsResponseSuccess
|
|
343
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisposePackageVersionsResult]
|
|
344
|
+
def successful_versions: () -> ::Hash[::String, Types::SuccessfulPackageVersionInfo]
|
|
345
|
+
def failed_versions: () -> ::Hash[::String, Types::PackageVersionError]
|
|
346
|
+
end
|
|
347
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#dispose_package_versions-instance_method
|
|
348
|
+
def dispose_package_versions: (
|
|
349
|
+
domain: ::String,
|
|
350
|
+
?domain_owner: ::String,
|
|
351
|
+
repository: ::String,
|
|
352
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
353
|
+
?namespace: ::String,
|
|
354
|
+
package: ::String,
|
|
355
|
+
versions: Array[::String],
|
|
356
|
+
?version_revisions: Hash[::String, ::String],
|
|
357
|
+
?expected_status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
|
|
358
|
+
) -> _DisposePackageVersionsResponseSuccess
|
|
359
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisposePackageVersionsResponseSuccess
|
|
360
|
+
|
|
361
|
+
interface _GetAssociatedPackageGroupResponseSuccess
|
|
362
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAssociatedPackageGroupResult]
|
|
363
|
+
def package_group: () -> Types::PackageGroupDescription
|
|
364
|
+
def association_type: () -> ("STRONG" | "WEAK")
|
|
365
|
+
end
|
|
366
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_associated_package_group-instance_method
|
|
367
|
+
def get_associated_package_group: (
|
|
368
|
+
domain: ::String,
|
|
369
|
+
?domain_owner: ::String,
|
|
370
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
371
|
+
?namespace: ::String,
|
|
372
|
+
package: ::String
|
|
373
|
+
) -> _GetAssociatedPackageGroupResponseSuccess
|
|
374
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAssociatedPackageGroupResponseSuccess
|
|
375
|
+
|
|
376
|
+
interface _GetAuthorizationTokenResponseSuccess
|
|
377
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAuthorizationTokenResult]
|
|
378
|
+
def authorization_token: () -> ::String
|
|
379
|
+
def expiration: () -> ::Time
|
|
380
|
+
end
|
|
381
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_authorization_token-instance_method
|
|
382
|
+
def get_authorization_token: (
|
|
383
|
+
domain: ::String,
|
|
384
|
+
?domain_owner: ::String,
|
|
385
|
+
?duration_seconds: ::Integer
|
|
386
|
+
) -> _GetAuthorizationTokenResponseSuccess
|
|
387
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAuthorizationTokenResponseSuccess
|
|
388
|
+
|
|
389
|
+
interface _GetDomainPermissionsPolicyResponseSuccess
|
|
390
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDomainPermissionsPolicyResult]
|
|
391
|
+
def policy: () -> Types::ResourcePolicy
|
|
392
|
+
end
|
|
393
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_domain_permissions_policy-instance_method
|
|
394
|
+
def get_domain_permissions_policy: (
|
|
395
|
+
domain: ::String,
|
|
396
|
+
?domain_owner: ::String
|
|
397
|
+
) -> _GetDomainPermissionsPolicyResponseSuccess
|
|
398
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainPermissionsPolicyResponseSuccess
|
|
399
|
+
|
|
400
|
+
interface _GetPackageVersionAssetResponseSuccess
|
|
401
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageVersionAssetResult]
|
|
402
|
+
def asset: () -> ::IO
|
|
403
|
+
def asset_name: () -> ::String
|
|
404
|
+
def package_version: () -> ::String
|
|
405
|
+
def package_version_revision: () -> ::String
|
|
406
|
+
end
|
|
407
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_package_version_asset-instance_method
|
|
408
|
+
def get_package_version_asset: (
|
|
409
|
+
domain: ::String,
|
|
410
|
+
?domain_owner: ::String,
|
|
411
|
+
repository: ::String,
|
|
412
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
413
|
+
?namespace: ::String,
|
|
414
|
+
package: ::String,
|
|
415
|
+
package_version: ::String,
|
|
416
|
+
asset: ::String,
|
|
417
|
+
?package_version_revision: ::String
|
|
418
|
+
) ?{ (*untyped) -> void } -> _GetPackageVersionAssetResponseSuccess
|
|
419
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetPackageVersionAssetResponseSuccess
|
|
420
|
+
|
|
421
|
+
interface _GetPackageVersionReadmeResponseSuccess
|
|
422
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageVersionReadmeResult]
|
|
423
|
+
def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
|
|
424
|
+
def namespace: () -> ::String
|
|
425
|
+
def package: () -> ::String
|
|
426
|
+
def version: () -> ::String
|
|
427
|
+
def version_revision: () -> ::String
|
|
428
|
+
def readme: () -> ::String
|
|
429
|
+
end
|
|
430
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_package_version_readme-instance_method
|
|
431
|
+
def get_package_version_readme: (
|
|
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
|
+
) -> _GetPackageVersionReadmeResponseSuccess
|
|
440
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPackageVersionReadmeResponseSuccess
|
|
441
|
+
|
|
442
|
+
interface _GetRepositoryEndpointResponseSuccess
|
|
443
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryEndpointResult]
|
|
444
|
+
def repository_endpoint: () -> ::String
|
|
445
|
+
end
|
|
446
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_repository_endpoint-instance_method
|
|
447
|
+
def get_repository_endpoint: (
|
|
448
|
+
domain: ::String,
|
|
449
|
+
?domain_owner: ::String,
|
|
450
|
+
repository: ::String,
|
|
451
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
|
|
452
|
+
) -> _GetRepositoryEndpointResponseSuccess
|
|
453
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryEndpointResponseSuccess
|
|
454
|
+
|
|
455
|
+
interface _GetRepositoryPermissionsPolicyResponseSuccess
|
|
456
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRepositoryPermissionsPolicyResult]
|
|
457
|
+
def policy: () -> Types::ResourcePolicy
|
|
458
|
+
end
|
|
459
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#get_repository_permissions_policy-instance_method
|
|
460
|
+
def get_repository_permissions_policy: (
|
|
461
|
+
domain: ::String,
|
|
462
|
+
?domain_owner: ::String,
|
|
463
|
+
repository: ::String
|
|
464
|
+
) -> _GetRepositoryPermissionsPolicyResponseSuccess
|
|
465
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryPermissionsPolicyResponseSuccess
|
|
466
|
+
|
|
467
|
+
interface _ListAllowedRepositoriesForGroupResponseSuccess
|
|
468
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAllowedRepositoriesForGroupResult]
|
|
469
|
+
def allowed_repositories: () -> ::Array[::String]
|
|
470
|
+
def next_token: () -> ::String
|
|
471
|
+
end
|
|
472
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_allowed_repositories_for_group-instance_method
|
|
473
|
+
def list_allowed_repositories_for_group: (
|
|
474
|
+
domain: ::String,
|
|
475
|
+
?domain_owner: ::String,
|
|
476
|
+
package_group: ::String,
|
|
477
|
+
origin_restriction_type: ("EXTERNAL_UPSTREAM" | "INTERNAL_UPSTREAM" | "PUBLISH"),
|
|
478
|
+
?max_results: ::Integer,
|
|
479
|
+
?next_token: ::String
|
|
480
|
+
) -> _ListAllowedRepositoriesForGroupResponseSuccess
|
|
481
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAllowedRepositoriesForGroupResponseSuccess
|
|
482
|
+
|
|
483
|
+
interface _ListAssociatedPackagesResponseSuccess
|
|
484
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAssociatedPackagesResult]
|
|
485
|
+
def packages: () -> ::Array[Types::AssociatedPackage]
|
|
486
|
+
def next_token: () -> ::String
|
|
487
|
+
end
|
|
488
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_associated_packages-instance_method
|
|
489
|
+
def list_associated_packages: (
|
|
490
|
+
domain: ::String,
|
|
491
|
+
?domain_owner: ::String,
|
|
492
|
+
package_group: ::String,
|
|
493
|
+
?max_results: ::Integer,
|
|
494
|
+
?next_token: ::String,
|
|
495
|
+
?preview: bool
|
|
496
|
+
) -> _ListAssociatedPackagesResponseSuccess
|
|
497
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssociatedPackagesResponseSuccess
|
|
498
|
+
|
|
499
|
+
interface _ListDomainsResponseSuccess
|
|
500
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainsResult]
|
|
501
|
+
def domains: () -> ::Array[Types::DomainSummary]
|
|
502
|
+
def next_token: () -> ::String
|
|
503
|
+
end
|
|
504
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_domains-instance_method
|
|
505
|
+
def list_domains: (
|
|
506
|
+
?max_results: ::Integer,
|
|
507
|
+
?next_token: ::String
|
|
508
|
+
) -> _ListDomainsResponseSuccess
|
|
509
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainsResponseSuccess
|
|
510
|
+
|
|
511
|
+
interface _ListPackageGroupsResponseSuccess
|
|
512
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageGroupsResult]
|
|
513
|
+
def package_groups: () -> ::Array[Types::PackageGroupSummary]
|
|
514
|
+
def next_token: () -> ::String
|
|
515
|
+
end
|
|
516
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_package_groups-instance_method
|
|
517
|
+
def list_package_groups: (
|
|
518
|
+
domain: ::String,
|
|
519
|
+
?domain_owner: ::String,
|
|
520
|
+
?max_results: ::Integer,
|
|
521
|
+
?next_token: ::String,
|
|
522
|
+
?prefix: ::String
|
|
523
|
+
) -> _ListPackageGroupsResponseSuccess
|
|
524
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackageGroupsResponseSuccess
|
|
525
|
+
|
|
526
|
+
interface _ListPackageVersionAssetsResponseSuccess
|
|
527
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionAssetsResult]
|
|
528
|
+
def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
|
|
529
|
+
def namespace: () -> ::String
|
|
530
|
+
def package: () -> ::String
|
|
531
|
+
def version: () -> ::String
|
|
532
|
+
def version_revision: () -> ::String
|
|
533
|
+
def next_token: () -> ::String
|
|
534
|
+
def assets: () -> ::Array[Types::AssetSummary]
|
|
535
|
+
end
|
|
536
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_package_version_assets-instance_method
|
|
537
|
+
def list_package_version_assets: (
|
|
538
|
+
domain: ::String,
|
|
539
|
+
?domain_owner: ::String,
|
|
540
|
+
repository: ::String,
|
|
541
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
542
|
+
?namespace: ::String,
|
|
543
|
+
package: ::String,
|
|
544
|
+
package_version: ::String,
|
|
545
|
+
?max_results: ::Integer,
|
|
546
|
+
?next_token: ::String
|
|
547
|
+
) -> _ListPackageVersionAssetsResponseSuccess
|
|
548
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackageVersionAssetsResponseSuccess
|
|
549
|
+
|
|
550
|
+
interface _ListPackageVersionDependenciesResponseSuccess
|
|
551
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionDependenciesResult]
|
|
552
|
+
def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
|
|
553
|
+
def namespace: () -> ::String
|
|
554
|
+
def package: () -> ::String
|
|
555
|
+
def version: () -> ::String
|
|
556
|
+
def version_revision: () -> ::String
|
|
557
|
+
def next_token: () -> ::String
|
|
558
|
+
def dependencies: () -> ::Array[Types::PackageDependency]
|
|
559
|
+
end
|
|
560
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_package_version_dependencies-instance_method
|
|
561
|
+
def list_package_version_dependencies: (
|
|
562
|
+
domain: ::String,
|
|
563
|
+
?domain_owner: ::String,
|
|
564
|
+
repository: ::String,
|
|
565
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
566
|
+
?namespace: ::String,
|
|
567
|
+
package: ::String,
|
|
568
|
+
package_version: ::String,
|
|
569
|
+
?next_token: ::String
|
|
570
|
+
) -> _ListPackageVersionDependenciesResponseSuccess
|
|
571
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackageVersionDependenciesResponseSuccess
|
|
572
|
+
|
|
573
|
+
interface _ListPackageVersionsResponseSuccess
|
|
574
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionsResult]
|
|
575
|
+
def default_display_version: () -> ::String
|
|
576
|
+
def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
|
|
577
|
+
def namespace: () -> ::String
|
|
578
|
+
def package: () -> ::String
|
|
579
|
+
def versions: () -> ::Array[Types::PackageVersionSummary]
|
|
580
|
+
def next_token: () -> ::String
|
|
581
|
+
end
|
|
582
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_package_versions-instance_method
|
|
583
|
+
def list_package_versions: (
|
|
584
|
+
domain: ::String,
|
|
585
|
+
?domain_owner: ::String,
|
|
586
|
+
repository: ::String,
|
|
587
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
588
|
+
?namespace: ::String,
|
|
589
|
+
package: ::String,
|
|
590
|
+
?status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted"),
|
|
591
|
+
?sort_by: ("PUBLISHED_TIME"),
|
|
592
|
+
?max_results: ::Integer,
|
|
593
|
+
?next_token: ::String,
|
|
594
|
+
?origin_type: ("INTERNAL" | "EXTERNAL" | "UNKNOWN")
|
|
595
|
+
) -> _ListPackageVersionsResponseSuccess
|
|
596
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackageVersionsResponseSuccess
|
|
597
|
+
|
|
598
|
+
interface _ListPackagesResponseSuccess
|
|
599
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPackagesResult]
|
|
600
|
+
def packages: () -> ::Array[Types::PackageSummary]
|
|
601
|
+
def next_token: () -> ::String
|
|
602
|
+
end
|
|
603
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_packages-instance_method
|
|
604
|
+
def list_packages: (
|
|
605
|
+
domain: ::String,
|
|
606
|
+
?domain_owner: ::String,
|
|
607
|
+
repository: ::String,
|
|
608
|
+
?format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
609
|
+
?namespace: ::String,
|
|
610
|
+
?package_prefix: ::String,
|
|
611
|
+
?max_results: ::Integer,
|
|
612
|
+
?next_token: ::String,
|
|
613
|
+
?publish: ("ALLOW" | "BLOCK"),
|
|
614
|
+
?upstream: ("ALLOW" | "BLOCK")
|
|
615
|
+
) -> _ListPackagesResponseSuccess
|
|
616
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPackagesResponseSuccess
|
|
617
|
+
|
|
618
|
+
interface _ListRepositoriesResponseSuccess
|
|
619
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoriesResult]
|
|
620
|
+
def repositories: () -> ::Array[Types::RepositorySummary]
|
|
621
|
+
def next_token: () -> ::String
|
|
622
|
+
end
|
|
623
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_repositories-instance_method
|
|
624
|
+
def list_repositories: (
|
|
625
|
+
?repository_prefix: ::String,
|
|
626
|
+
?max_results: ::Integer,
|
|
627
|
+
?next_token: ::String
|
|
628
|
+
) -> _ListRepositoriesResponseSuccess
|
|
629
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoriesResponseSuccess
|
|
630
|
+
|
|
631
|
+
interface _ListRepositoriesInDomainResponseSuccess
|
|
632
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRepositoriesInDomainResult]
|
|
633
|
+
def repositories: () -> ::Array[Types::RepositorySummary]
|
|
634
|
+
def next_token: () -> ::String
|
|
635
|
+
end
|
|
636
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_repositories_in_domain-instance_method
|
|
637
|
+
def list_repositories_in_domain: (
|
|
638
|
+
domain: ::String,
|
|
639
|
+
?domain_owner: ::String,
|
|
640
|
+
?administrator_account: ::String,
|
|
641
|
+
?repository_prefix: ::String,
|
|
642
|
+
?max_results: ::Integer,
|
|
643
|
+
?next_token: ::String
|
|
644
|
+
) -> _ListRepositoriesInDomainResponseSuccess
|
|
645
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRepositoriesInDomainResponseSuccess
|
|
646
|
+
|
|
647
|
+
interface _ListSubPackageGroupsResponseSuccess
|
|
648
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSubPackageGroupsResult]
|
|
649
|
+
def package_groups: () -> ::Array[Types::PackageGroupSummary]
|
|
650
|
+
def next_token: () -> ::String
|
|
651
|
+
end
|
|
652
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_sub_package_groups-instance_method
|
|
653
|
+
def list_sub_package_groups: (
|
|
654
|
+
domain: ::String,
|
|
655
|
+
?domain_owner: ::String,
|
|
656
|
+
package_group: ::String,
|
|
657
|
+
?max_results: ::Integer,
|
|
658
|
+
?next_token: ::String
|
|
659
|
+
) -> _ListSubPackageGroupsResponseSuccess
|
|
660
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSubPackageGroupsResponseSuccess
|
|
661
|
+
|
|
662
|
+
interface _ListTagsForResourceResponseSuccess
|
|
663
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResult]
|
|
664
|
+
def tags: () -> ::Array[Types::Tag]
|
|
665
|
+
end
|
|
666
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#list_tags_for_resource-instance_method
|
|
667
|
+
def list_tags_for_resource: (
|
|
668
|
+
resource_arn: ::String
|
|
669
|
+
) -> _ListTagsForResourceResponseSuccess
|
|
670
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
671
|
+
|
|
672
|
+
interface _PublishPackageVersionResponseSuccess
|
|
673
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PublishPackageVersionResult]
|
|
674
|
+
def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift")
|
|
675
|
+
def namespace: () -> ::String
|
|
676
|
+
def package: () -> ::String
|
|
677
|
+
def version: () -> ::String
|
|
678
|
+
def version_revision: () -> ::String
|
|
679
|
+
def status: () -> ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
|
|
680
|
+
def asset: () -> Types::AssetSummary
|
|
681
|
+
end
|
|
682
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#publish_package_version-instance_method
|
|
683
|
+
def publish_package_version: (
|
|
684
|
+
domain: ::String,
|
|
685
|
+
?domain_owner: ::String,
|
|
686
|
+
repository: ::String,
|
|
687
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
688
|
+
?namespace: ::String,
|
|
689
|
+
package: ::String,
|
|
690
|
+
package_version: ::String,
|
|
691
|
+
asset_content: ::String,
|
|
692
|
+
asset_name: ::String,
|
|
693
|
+
asset_sha256: ::String,
|
|
694
|
+
?unfinished: bool
|
|
695
|
+
) -> _PublishPackageVersionResponseSuccess
|
|
696
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishPackageVersionResponseSuccess
|
|
697
|
+
|
|
698
|
+
interface _PutDomainPermissionsPolicyResponseSuccess
|
|
699
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutDomainPermissionsPolicyResult]
|
|
700
|
+
def policy: () -> Types::ResourcePolicy
|
|
701
|
+
end
|
|
702
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#put_domain_permissions_policy-instance_method
|
|
703
|
+
def put_domain_permissions_policy: (
|
|
704
|
+
domain: ::String,
|
|
705
|
+
?domain_owner: ::String,
|
|
706
|
+
?policy_revision: ::String,
|
|
707
|
+
policy_document: ::String
|
|
708
|
+
) -> _PutDomainPermissionsPolicyResponseSuccess
|
|
709
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDomainPermissionsPolicyResponseSuccess
|
|
710
|
+
|
|
711
|
+
interface _PutPackageOriginConfigurationResponseSuccess
|
|
712
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutPackageOriginConfigurationResult]
|
|
713
|
+
def origin_configuration: () -> Types::PackageOriginConfiguration
|
|
714
|
+
end
|
|
715
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#put_package_origin_configuration-instance_method
|
|
716
|
+
def put_package_origin_configuration: (
|
|
717
|
+
domain: ::String,
|
|
718
|
+
?domain_owner: ::String,
|
|
719
|
+
repository: ::String,
|
|
720
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
721
|
+
?namespace: ::String,
|
|
722
|
+
package: ::String,
|
|
723
|
+
restrictions: {
|
|
724
|
+
publish: ("ALLOW" | "BLOCK"),
|
|
725
|
+
upstream: ("ALLOW" | "BLOCK")
|
|
726
|
+
}
|
|
727
|
+
) -> _PutPackageOriginConfigurationResponseSuccess
|
|
728
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPackageOriginConfigurationResponseSuccess
|
|
729
|
+
|
|
730
|
+
interface _PutRepositoryPermissionsPolicyResponseSuccess
|
|
731
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutRepositoryPermissionsPolicyResult]
|
|
732
|
+
def policy: () -> Types::ResourcePolicy
|
|
733
|
+
end
|
|
734
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#put_repository_permissions_policy-instance_method
|
|
735
|
+
def put_repository_permissions_policy: (
|
|
736
|
+
domain: ::String,
|
|
737
|
+
?domain_owner: ::String,
|
|
738
|
+
repository: ::String,
|
|
739
|
+
?policy_revision: ::String,
|
|
740
|
+
policy_document: ::String
|
|
741
|
+
) -> _PutRepositoryPermissionsPolicyResponseSuccess
|
|
742
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutRepositoryPermissionsPolicyResponseSuccess
|
|
743
|
+
|
|
744
|
+
interface _TagResourceResponseSuccess
|
|
745
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResult]
|
|
746
|
+
end
|
|
747
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#tag_resource-instance_method
|
|
748
|
+
def tag_resource: (
|
|
749
|
+
resource_arn: ::String,
|
|
750
|
+
tags: Array[
|
|
751
|
+
{
|
|
752
|
+
key: ::String,
|
|
753
|
+
value: ::String
|
|
754
|
+
},
|
|
755
|
+
]
|
|
756
|
+
) -> _TagResourceResponseSuccess
|
|
757
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
758
|
+
|
|
759
|
+
interface _UntagResourceResponseSuccess
|
|
760
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResult]
|
|
761
|
+
end
|
|
762
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#untag_resource-instance_method
|
|
763
|
+
def untag_resource: (
|
|
764
|
+
resource_arn: ::String,
|
|
765
|
+
tag_keys: Array[::String]
|
|
766
|
+
) -> _UntagResourceResponseSuccess
|
|
767
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
|
768
|
+
|
|
769
|
+
interface _UpdatePackageGroupResponseSuccess
|
|
770
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePackageGroupResult]
|
|
771
|
+
def package_group: () -> Types::PackageGroupDescription
|
|
772
|
+
end
|
|
773
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#update_package_group-instance_method
|
|
774
|
+
def update_package_group: (
|
|
775
|
+
domain: ::String,
|
|
776
|
+
?domain_owner: ::String,
|
|
777
|
+
package_group: ::String,
|
|
778
|
+
?contact_info: ::String,
|
|
779
|
+
?description: ::String
|
|
780
|
+
) -> _UpdatePackageGroupResponseSuccess
|
|
781
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageGroupResponseSuccess
|
|
782
|
+
|
|
783
|
+
interface _UpdatePackageGroupOriginConfigurationResponseSuccess
|
|
784
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePackageGroupOriginConfigurationResult]
|
|
785
|
+
def package_group: () -> Types::PackageGroupDescription
|
|
786
|
+
def allowed_repository_updates: () -> ::Hash[("EXTERNAL_UPSTREAM" | "INTERNAL_UPSTREAM" | "PUBLISH"), ::Hash[("ADDED" | "REMOVED"), ::Array[::String]]]
|
|
787
|
+
end
|
|
788
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#update_package_group_origin_configuration-instance_method
|
|
789
|
+
def update_package_group_origin_configuration: (
|
|
790
|
+
domain: ::String,
|
|
791
|
+
?domain_owner: ::String,
|
|
792
|
+
package_group: ::String,
|
|
793
|
+
?restrictions: Hash[("EXTERNAL_UPSTREAM" | "INTERNAL_UPSTREAM" | "PUBLISH"), ("ALLOW" | "ALLOW_SPECIFIC_REPOSITORIES" | "BLOCK" | "INHERIT")],
|
|
794
|
+
?add_allowed_repositories: Array[
|
|
795
|
+
{
|
|
796
|
+
repository_name: ::String?,
|
|
797
|
+
origin_restriction_type: ("EXTERNAL_UPSTREAM" | "INTERNAL_UPSTREAM" | "PUBLISH")?
|
|
798
|
+
},
|
|
799
|
+
],
|
|
800
|
+
?remove_allowed_repositories: Array[
|
|
801
|
+
{
|
|
802
|
+
repository_name: ::String?,
|
|
803
|
+
origin_restriction_type: ("EXTERNAL_UPSTREAM" | "INTERNAL_UPSTREAM" | "PUBLISH")?
|
|
804
|
+
},
|
|
805
|
+
]
|
|
806
|
+
) -> _UpdatePackageGroupOriginConfigurationResponseSuccess
|
|
807
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageGroupOriginConfigurationResponseSuccess
|
|
808
|
+
|
|
809
|
+
interface _UpdatePackageVersionsStatusResponseSuccess
|
|
810
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePackageVersionsStatusResult]
|
|
811
|
+
def successful_versions: () -> ::Hash[::String, Types::SuccessfulPackageVersionInfo]
|
|
812
|
+
def failed_versions: () -> ::Hash[::String, Types::PackageVersionError]
|
|
813
|
+
end
|
|
814
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#update_package_versions_status-instance_method
|
|
815
|
+
def update_package_versions_status: (
|
|
816
|
+
domain: ::String,
|
|
817
|
+
?domain_owner: ::String,
|
|
818
|
+
repository: ::String,
|
|
819
|
+
format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "swift"),
|
|
820
|
+
?namespace: ::String,
|
|
821
|
+
package: ::String,
|
|
822
|
+
versions: Array[::String],
|
|
823
|
+
?version_revisions: Hash[::String, ::String],
|
|
824
|
+
?expected_status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted"),
|
|
825
|
+
target_status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
|
|
826
|
+
) -> _UpdatePackageVersionsStatusResponseSuccess
|
|
827
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageVersionsStatusResponseSuccess
|
|
828
|
+
|
|
829
|
+
interface _UpdateRepositoryResponseSuccess
|
|
830
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRepositoryResult]
|
|
831
|
+
def repository: () -> Types::RepositoryDescription
|
|
832
|
+
end
|
|
833
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CodeArtifact/Client.html#update_repository-instance_method
|
|
834
|
+
def update_repository: (
|
|
835
|
+
domain: ::String,
|
|
836
|
+
?domain_owner: ::String,
|
|
837
|
+
repository: ::String,
|
|
838
|
+
?description: ::String,
|
|
839
|
+
?upstreams: Array[
|
|
840
|
+
{
|
|
841
|
+
repository_name: ::String
|
|
842
|
+
},
|
|
843
|
+
]
|
|
844
|
+
) -> _UpdateRepositoryResponseSuccess
|
|
845
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRepositoryResponseSuccess
|
|
846
|
+
end
|
|
847
|
+
end
|
|
848
|
+
end
|
|
849
|
+
|