aws-sdk-codeartifact 1.16.0 → 1.35.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 +98 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-codeartifact/client.rb +735 -322
- data/lib/aws-sdk-codeartifact/client_api.rb +159 -0
- data/lib/aws-sdk-codeartifact/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-codeartifact/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-codeartifact/endpoints.rb +548 -0
- data/lib/aws-sdk-codeartifact/plugins/endpoints.rb +144 -0
- data/lib/aws-sdk-codeartifact/types.rb +869 -835
- data/lib/aws-sdk-codeartifact.rb +5 -1
- metadata +8 -4
@@ -48,23 +48,13 @@ module Aws::CodeArtifact
|
|
48
48
|
include Aws::Structure
|
49
49
|
end
|
50
50
|
|
51
|
-
# @note When making an API call, you may pass AssociateExternalConnectionRequest
|
52
|
-
# data as a hash:
|
53
|
-
#
|
54
|
-
# {
|
55
|
-
# domain: "DomainName", # required
|
56
|
-
# domain_owner: "AccountId",
|
57
|
-
# repository: "RepositoryName", # required
|
58
|
-
# external_connection: "ExternalConnectionName", # required
|
59
|
-
# }
|
60
|
-
#
|
61
51
|
# @!attribute [rw] domain
|
62
52
|
# The name of the domain that contains the repository.
|
63
53
|
# @return [String]
|
64
54
|
#
|
65
55
|
# @!attribute [rw] domain_owner
|
66
|
-
# The 12-digit account number of the
|
67
|
-
# It does not include dashes or spaces.
|
56
|
+
# The 12-digit account number of the Amazon Web Services account that
|
57
|
+
# owns the domain. It does not include dashes or spaces.
|
68
58
|
# @return [String]
|
69
59
|
#
|
70
60
|
# @!attribute [rw] repository
|
@@ -78,6 +68,8 @@ module Aws::CodeArtifact
|
|
78
68
|
#
|
79
69
|
# * `public:npmjs` - for the npm public repository.
|
80
70
|
#
|
71
|
+
# * `public:nuget-org` - for the NuGet Gallery.
|
72
|
+
#
|
81
73
|
# * `public:pypi` - for the Python Package Index.
|
82
74
|
#
|
83
75
|
# * `public:maven-central` - for Maven Central.
|
@@ -88,6 +80,8 @@ module Aws::CodeArtifact
|
|
88
80
|
#
|
89
81
|
# * `public:maven-commonsware` - for the CommonsWare Android
|
90
82
|
# repository.
|
83
|
+
#
|
84
|
+
# * `public:maven-clojars` - for the Clojars repository.
|
91
85
|
# @return [String]
|
92
86
|
#
|
93
87
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnectionRequest AWS API Documentation
|
@@ -124,7 +118,7 @@ module Aws::CodeArtifact
|
|
124
118
|
# @return [String]
|
125
119
|
#
|
126
120
|
# @!attribute [rw] resource_type
|
127
|
-
# The type of
|
121
|
+
# The type of Amazon Web Services resource.
|
128
122
|
# @return [String]
|
129
123
|
#
|
130
124
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ConflictException AWS API Documentation
|
@@ -137,38 +131,19 @@ module Aws::CodeArtifact
|
|
137
131
|
include Aws::Structure
|
138
132
|
end
|
139
133
|
|
140
|
-
# @note When making an API call, you may pass CopyPackageVersionsRequest
|
141
|
-
# data as a hash:
|
142
|
-
#
|
143
|
-
# {
|
144
|
-
# domain: "DomainName", # required
|
145
|
-
# domain_owner: "AccountId",
|
146
|
-
# source_repository: "RepositoryName", # required
|
147
|
-
# destination_repository: "RepositoryName", # required
|
148
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
149
|
-
# namespace: "PackageNamespace",
|
150
|
-
# package: "PackageName", # required
|
151
|
-
# versions: ["PackageVersion"],
|
152
|
-
# version_revisions: {
|
153
|
-
# "PackageVersion" => "PackageVersionRevision",
|
154
|
-
# },
|
155
|
-
# allow_overwrite: false,
|
156
|
-
# include_from_upstream: false,
|
157
|
-
# }
|
158
|
-
#
|
159
134
|
# @!attribute [rw] domain
|
160
135
|
# The name of the domain that contains the source and destination
|
161
136
|
# repositories.
|
162
137
|
# @return [String]
|
163
138
|
#
|
164
139
|
# @!attribute [rw] domain_owner
|
165
|
-
# The 12-digit account number of the
|
166
|
-
# It does not include dashes or spaces.
|
140
|
+
# The 12-digit account number of the Amazon Web Services account that
|
141
|
+
# owns the domain. It does not include dashes or spaces.
|
167
142
|
# @return [String]
|
168
143
|
#
|
169
144
|
# @!attribute [rw] source_repository
|
170
|
-
# The name of the repository that contains the package versions to
|
171
|
-
#
|
145
|
+
# The name of the repository that contains the package versions to be
|
146
|
+
# copied.
|
172
147
|
# @return [String]
|
173
148
|
#
|
174
149
|
# @!attribute [rw] destination_repository
|
@@ -176,35 +151,32 @@ module Aws::CodeArtifact
|
|
176
151
|
# @return [String]
|
177
152
|
#
|
178
153
|
# @!attribute [rw] format
|
179
|
-
# The format of the package
|
180
|
-
# are:
|
181
|
-
#
|
182
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
183
|
-
#
|
184
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
185
|
-
#
|
186
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
187
|
-
# distributable format, such as a JAR file.
|
154
|
+
# The format of the package versions to be copied.
|
188
155
|
# @return [String]
|
189
156
|
#
|
190
157
|
# @!attribute [rw] namespace
|
191
|
-
# The namespace of the package. The package
|
192
|
-
# its namespace depends on its type.
|
158
|
+
# The namespace of the package versions to be copied. The package
|
159
|
+
# version component that specifies its namespace depends on its type.
|
160
|
+
# For example:
|
193
161
|
#
|
194
|
-
# * The namespace of a Maven package is its `groupId`.
|
162
|
+
# * The namespace of a Maven package version is its `groupId`. The
|
163
|
+
# namespace is required when copying Maven package versions.
|
195
164
|
#
|
196
|
-
# * The namespace of an npm package is its `scope`.
|
165
|
+
# * The namespace of an npm package version is its `scope`.
|
166
|
+
#
|
167
|
+
# * Python and NuGet package versions do not contain a corresponding
|
168
|
+
# component, package versions of those formats do not have a
|
169
|
+
# namespace.
|
197
170
|
#
|
198
|
-
# *
|
199
|
-
# Python packages do not have a namespace.
|
171
|
+
# * The namespace of a generic package is its `namespace`.
|
200
172
|
# @return [String]
|
201
173
|
#
|
202
174
|
# @!attribute [rw] package
|
203
|
-
# The name of the package that
|
175
|
+
# The name of the package that contains the versions to be copied.
|
204
176
|
# @return [String]
|
205
177
|
#
|
206
178
|
# @!attribute [rw] versions
|
207
|
-
# The versions of the package to
|
179
|
+
# The versions of the package to be copied.
|
208
180
|
#
|
209
181
|
# <note markdown="1"> You must specify `versions` or `versionRevisions`. You cannot
|
210
182
|
# specify both.
|
@@ -293,25 +265,12 @@ module Aws::CodeArtifact
|
|
293
265
|
include Aws::Structure
|
294
266
|
end
|
295
267
|
|
296
|
-
# @note When making an API call, you may pass CreateDomainRequest
|
297
|
-
# data as a hash:
|
298
|
-
#
|
299
|
-
# {
|
300
|
-
# domain: "DomainName", # required
|
301
|
-
# encryption_key: "Arn",
|
302
|
-
# tags: [
|
303
|
-
# {
|
304
|
-
# key: "TagKey", # required
|
305
|
-
# value: "TagValue", # required
|
306
|
-
# },
|
307
|
-
# ],
|
308
|
-
# }
|
309
|
-
#
|
310
268
|
# @!attribute [rw] domain
|
311
|
-
# The name of the domain to create. All domain names in an
|
312
|
-
# that are in the same
|
313
|
-
# used as the prefix in DNS
|
314
|
-
# information in a domain name because
|
269
|
+
# The name of the domain to create. All domain names in an Amazon Web
|
270
|
+
# Services Region that are in the same Amazon Web Services account
|
271
|
+
# must be unique. The domain name is used as the prefix in DNS
|
272
|
+
# hostnames. Do not use sensitive information in a domain name because
|
273
|
+
# it is publicly discoverable.
|
315
274
|
# @return [String]
|
316
275
|
#
|
317
276
|
# @!attribute [rw] encryption_key
|
@@ -320,13 +279,13 @@ module Aws::CodeArtifact
|
|
320
279
|
# Resource Name (ARN), a key alias, or a key alias ARN. To specify an
|
321
280
|
# `encryptionKey`, your IAM role must have `kms:DescribeKey` and
|
322
281
|
# `kms:CreateGrant` permissions on the encryption key that is used.
|
323
|
-
# For more information, see [DescribeKey][1] in the *
|
324
|
-
#
|
325
|
-
# Reference][2] in the *
|
282
|
+
# For more information, see [DescribeKey][1] in the *Key Management
|
283
|
+
# Service API Reference* and [Key Management Service API Permissions
|
284
|
+
# Reference][2] in the *Key Management Service Developer Guide*.
|
326
285
|
#
|
327
286
|
# CodeArtifact supports only symmetric CMKs. Do not associate an
|
328
287
|
# asymmetric CMK with your domain. For more information, see [Using
|
329
|
-
# symmetric and asymmetric keys][3] in the *
|
288
|
+
# symmetric and asymmetric keys][3] in the *Key Management Service
|
330
289
|
# Developer Guide*.
|
331
290
|
#
|
332
291
|
#
|
@@ -363,34 +322,13 @@ module Aws::CodeArtifact
|
|
363
322
|
include Aws::Structure
|
364
323
|
end
|
365
324
|
|
366
|
-
# @note When making an API call, you may pass CreateRepositoryRequest
|
367
|
-
# data as a hash:
|
368
|
-
#
|
369
|
-
# {
|
370
|
-
# domain: "DomainName", # required
|
371
|
-
# domain_owner: "AccountId",
|
372
|
-
# repository: "RepositoryName", # required
|
373
|
-
# description: "Description",
|
374
|
-
# upstreams: [
|
375
|
-
# {
|
376
|
-
# repository_name: "RepositoryName", # required
|
377
|
-
# },
|
378
|
-
# ],
|
379
|
-
# tags: [
|
380
|
-
# {
|
381
|
-
# key: "TagKey", # required
|
382
|
-
# value: "TagValue", # required
|
383
|
-
# },
|
384
|
-
# ],
|
385
|
-
# }
|
386
|
-
#
|
387
325
|
# @!attribute [rw] domain
|
388
326
|
# The name of the domain that contains the created repository.
|
389
327
|
# @return [String]
|
390
328
|
#
|
391
329
|
# @!attribute [rw] domain_owner
|
392
|
-
# The 12-digit account number of the
|
393
|
-
# It does not include dashes or spaces.
|
330
|
+
# The 12-digit account number of the Amazon Web Services account that
|
331
|
+
# owns the domain. It does not include dashes or spaces.
|
394
332
|
# @return [String]
|
395
333
|
#
|
396
334
|
# @!attribute [rw] repository
|
@@ -404,7 +342,7 @@ module Aws::CodeArtifact
|
|
404
342
|
# @!attribute [rw] upstreams
|
405
343
|
# A list of upstream repositories to associate with the repository.
|
406
344
|
# The order of the upstream repositories in the list determines their
|
407
|
-
# priority order when
|
345
|
+
# priority order when CodeArtifact looks for a requested package
|
408
346
|
# version. For more information, see [Working with upstream
|
409
347
|
# repositories][1].
|
410
348
|
#
|
@@ -443,23 +381,14 @@ module Aws::CodeArtifact
|
|
443
381
|
include Aws::Structure
|
444
382
|
end
|
445
383
|
|
446
|
-
# @note When making an API call, you may pass DeleteDomainPermissionsPolicyRequest
|
447
|
-
# data as a hash:
|
448
|
-
#
|
449
|
-
# {
|
450
|
-
# domain: "DomainName", # required
|
451
|
-
# domain_owner: "AccountId",
|
452
|
-
# policy_revision: "PolicyRevision",
|
453
|
-
# }
|
454
|
-
#
|
455
384
|
# @!attribute [rw] domain
|
456
385
|
# The name of the domain associated with the resource policy to be
|
457
386
|
# deleted.
|
458
387
|
# @return [String]
|
459
388
|
#
|
460
389
|
# @!attribute [rw] domain_owner
|
461
|
-
# The 12-digit account number of the
|
462
|
-
# It does not include dashes or spaces.
|
390
|
+
# The 12-digit account number of the Amazon Web Services account that
|
391
|
+
# owns the domain. It does not include dashes or spaces.
|
463
392
|
# @return [String]
|
464
393
|
#
|
465
394
|
# @!attribute [rw] policy_revision
|
@@ -491,21 +420,13 @@ module Aws::CodeArtifact
|
|
491
420
|
include Aws::Structure
|
492
421
|
end
|
493
422
|
|
494
|
-
# @note When making an API call, you may pass DeleteDomainRequest
|
495
|
-
# data as a hash:
|
496
|
-
#
|
497
|
-
# {
|
498
|
-
# domain: "DomainName", # required
|
499
|
-
# domain_owner: "AccountId",
|
500
|
-
# }
|
501
|
-
#
|
502
423
|
# @!attribute [rw] domain
|
503
424
|
# The name of the domain to delete.
|
504
425
|
# @return [String]
|
505
426
|
#
|
506
427
|
# @!attribute [rw] domain_owner
|
507
|
-
# The 12-digit account number of the
|
508
|
-
# It does not include dashes or spaces.
|
428
|
+
# The 12-digit account number of the Amazon Web Services account that
|
429
|
+
# owns the domain. It does not include dashes or spaces.
|
509
430
|
# @return [String]
|
510
431
|
#
|
511
432
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomainRequest AWS API Documentation
|
@@ -530,27 +451,74 @@ module Aws::CodeArtifact
|
|
530
451
|
include Aws::Structure
|
531
452
|
end
|
532
453
|
|
533
|
-
#
|
534
|
-
#
|
454
|
+
# @!attribute [rw] domain
|
455
|
+
# The name of the domain that contains the package to delete.
|
456
|
+
# @return [String]
|
457
|
+
#
|
458
|
+
# @!attribute [rw] domain_owner
|
459
|
+
# The 12-digit account number of the Amazon Web Services account that
|
460
|
+
# owns the domain. It does not include dashes or spaces.
|
461
|
+
# @return [String]
|
462
|
+
#
|
463
|
+
# @!attribute [rw] repository
|
464
|
+
# The name of the repository that contains the package to delete.
|
465
|
+
# @return [String]
|
466
|
+
#
|
467
|
+
# @!attribute [rw] format
|
468
|
+
# The format of the requested package to delete.
|
469
|
+
# @return [String]
|
470
|
+
#
|
471
|
+
# @!attribute [rw] namespace
|
472
|
+
# The namespace of the package to delete. The package component that
|
473
|
+
# specifies its namespace depends on its type. For example:
|
474
|
+
#
|
475
|
+
# * The namespace of a Maven package is its `groupId`. The namespace
|
476
|
+
# is required when deleting Maven package versions.
|
477
|
+
#
|
478
|
+
# * The namespace of an npm package is its `scope`.
|
479
|
+
#
|
480
|
+
# * Python and NuGet packages do not contain corresponding components,
|
481
|
+
# packages of those formats do not have a namespace.
|
482
|
+
#
|
483
|
+
# * The namespace of a generic package is its `namespace`.
|
484
|
+
# @return [String]
|
485
|
+
#
|
486
|
+
# @!attribute [rw] package
|
487
|
+
# The name of the package to delete.
|
488
|
+
# @return [String]
|
489
|
+
#
|
490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageRequest AWS API Documentation
|
491
|
+
#
|
492
|
+
class DeletePackageRequest < Struct.new(
|
493
|
+
:domain,
|
494
|
+
:domain_owner,
|
495
|
+
:repository,
|
496
|
+
:format,
|
497
|
+
:namespace,
|
498
|
+
:package)
|
499
|
+
SENSITIVE = []
|
500
|
+
include Aws::Structure
|
501
|
+
end
|
502
|
+
|
503
|
+
# @!attribute [rw] deleted_package
|
504
|
+
# Details about a package, including its format, namespace, and name.
|
505
|
+
# @return [Types::PackageSummary]
|
535
506
|
#
|
536
|
-
#
|
537
|
-
# domain: "DomainName", # required
|
538
|
-
# domain_owner: "AccountId",
|
539
|
-
# repository: "RepositoryName", # required
|
540
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
541
|
-
# namespace: "PackageNamespace",
|
542
|
-
# package: "PackageName", # required
|
543
|
-
# versions: ["PackageVersion"], # required
|
544
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
545
|
-
# }
|
507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageResult AWS API Documentation
|
546
508
|
#
|
509
|
+
class DeletePackageResult < Struct.new(
|
510
|
+
:deleted_package)
|
511
|
+
SENSITIVE = []
|
512
|
+
include Aws::Structure
|
513
|
+
end
|
514
|
+
|
547
515
|
# @!attribute [rw] domain
|
548
516
|
# The name of the domain that contains the package to delete.
|
549
517
|
# @return [String]
|
550
518
|
#
|
551
519
|
# @!attribute [rw] domain_owner
|
552
|
-
# The 12-digit account number of the
|
553
|
-
# It does not include dashes or spaces.
|
520
|
+
# The 12-digit account number of the Amazon Web Services account that
|
521
|
+
# owns the domain. It does not include dashes or spaces.
|
554
522
|
# @return [String]
|
555
523
|
#
|
556
524
|
# @!attribute [rw] repository
|
@@ -559,25 +527,24 @@ module Aws::CodeArtifact
|
|
559
527
|
# @return [String]
|
560
528
|
#
|
561
529
|
# @!attribute [rw] format
|
562
|
-
# The format of the package versions to delete.
|
563
|
-
#
|
564
|
-
# * `npm`
|
565
|
-
#
|
566
|
-
# * `pypi`
|
567
|
-
#
|
568
|
-
# * `maven`
|
530
|
+
# The format of the package versions to delete.
|
569
531
|
# @return [String]
|
570
532
|
#
|
571
533
|
# @!attribute [rw] namespace
|
572
|
-
# The namespace of the package. The package
|
573
|
-
# its namespace depends on its type.
|
534
|
+
# The namespace of the package versions to be deleted. The package
|
535
|
+
# version component that specifies its namespace depends on its type.
|
536
|
+
# For example:
|
574
537
|
#
|
575
|
-
# * The namespace of a Maven package is its `groupId`.
|
538
|
+
# * The namespace of a Maven package version is its `groupId`. The
|
539
|
+
# namespace is required when deleting Maven package versions.
|
576
540
|
#
|
577
|
-
# * The namespace of an npm package is its `scope`.
|
541
|
+
# * The namespace of an npm package version is its `scope`.
|
578
542
|
#
|
579
|
-
# *
|
580
|
-
#
|
543
|
+
# * Python and NuGet package versions do not contain a corresponding
|
544
|
+
# component, package versions of those formats do not have a
|
545
|
+
# namespace.
|
546
|
+
#
|
547
|
+
# * The namespace of a generic package is its `namespace`.
|
581
548
|
# @return [String]
|
582
549
|
#
|
583
550
|
# @!attribute [rw] package
|
@@ -590,18 +557,7 @@ module Aws::CodeArtifact
|
|
590
557
|
# @return [Array<String>]
|
591
558
|
#
|
592
559
|
# @!attribute [rw] expected_status
|
593
|
-
# The expected status of the package version to delete.
|
594
|
-
# are:
|
595
|
-
#
|
596
|
-
# * `Published`
|
597
|
-
#
|
598
|
-
# * `Unfinished`
|
599
|
-
#
|
600
|
-
# * `Unlisted`
|
601
|
-
#
|
602
|
-
# * `Archived`
|
603
|
-
#
|
604
|
-
# * `Disposed`
|
560
|
+
# The expected status of the package version to delete.
|
605
561
|
# @return [String]
|
606
562
|
#
|
607
563
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageVersionsRequest AWS API Documentation
|
@@ -620,7 +576,8 @@ module Aws::CodeArtifact
|
|
620
576
|
end
|
621
577
|
|
622
578
|
# @!attribute [rw] successful_versions
|
623
|
-
# A list of the package versions that were successfully deleted.
|
579
|
+
# A list of the package versions that were successfully deleted. The
|
580
|
+
# status of every successful version will be `Deleted`.
|
624
581
|
# @return [Hash<String,Types::SuccessfulPackageVersionInfo>]
|
625
582
|
#
|
626
583
|
# @!attribute [rw] failed_versions
|
@@ -649,24 +606,14 @@ module Aws::CodeArtifact
|
|
649
606
|
include Aws::Structure
|
650
607
|
end
|
651
608
|
|
652
|
-
# @note When making an API call, you may pass DeleteRepositoryPermissionsPolicyRequest
|
653
|
-
# data as a hash:
|
654
|
-
#
|
655
|
-
# {
|
656
|
-
# domain: "DomainName", # required
|
657
|
-
# domain_owner: "AccountId",
|
658
|
-
# repository: "RepositoryName", # required
|
659
|
-
# policy_revision: "PolicyRevision",
|
660
|
-
# }
|
661
|
-
#
|
662
609
|
# @!attribute [rw] domain
|
663
610
|
# The name of the domain that contains the repository associated with
|
664
611
|
# the resource policy to be deleted.
|
665
612
|
# @return [String]
|
666
613
|
#
|
667
614
|
# @!attribute [rw] domain_owner
|
668
|
-
# The 12-digit account number of the
|
669
|
-
# It does not include dashes or spaces.
|
615
|
+
# The 12-digit account number of the Amazon Web Services account that
|
616
|
+
# owns the domain. It does not include dashes or spaces.
|
670
617
|
# @return [String]
|
671
618
|
#
|
672
619
|
# @!attribute [rw] repository
|
@@ -704,22 +651,13 @@ module Aws::CodeArtifact
|
|
704
651
|
include Aws::Structure
|
705
652
|
end
|
706
653
|
|
707
|
-
# @note When making an API call, you may pass DeleteRepositoryRequest
|
708
|
-
# data as a hash:
|
709
|
-
#
|
710
|
-
# {
|
711
|
-
# domain: "DomainName", # required
|
712
|
-
# domain_owner: "AccountId",
|
713
|
-
# repository: "RepositoryName", # required
|
714
|
-
# }
|
715
|
-
#
|
716
654
|
# @!attribute [rw] domain
|
717
655
|
# The name of the domain that contains the repository to delete.
|
718
656
|
# @return [String]
|
719
657
|
#
|
720
658
|
# @!attribute [rw] domain_owner
|
721
|
-
# The 12-digit account number of the
|
722
|
-
# It does not include dashes or spaces.
|
659
|
+
# The 12-digit account number of the Amazon Web Services account that
|
660
|
+
# owns the domain. It does not include dashes or spaces.
|
723
661
|
# @return [String]
|
724
662
|
#
|
725
663
|
# @!attribute [rw] repository
|
@@ -749,21 +687,13 @@ module Aws::CodeArtifact
|
|
749
687
|
include Aws::Structure
|
750
688
|
end
|
751
689
|
|
752
|
-
# @note When making an API call, you may pass DescribeDomainRequest
|
753
|
-
# data as a hash:
|
754
|
-
#
|
755
|
-
# {
|
756
|
-
# domain: "DomainName", # required
|
757
|
-
# domain_owner: "AccountId",
|
758
|
-
# }
|
759
|
-
#
|
760
690
|
# @!attribute [rw] domain
|
761
691
|
# A string that specifies the name of the requested domain.
|
762
692
|
# @return [String]
|
763
693
|
#
|
764
694
|
# @!attribute [rw] domain_owner
|
765
|
-
# The 12-digit account number of the
|
766
|
-
# It does not include dashes or spaces.
|
695
|
+
# The 12-digit account number of the Amazon Web Services account that
|
696
|
+
# owns the domain. It does not include dashes or spaces.
|
767
697
|
# @return [String]
|
768
698
|
#
|
769
699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeDomainRequest AWS API Documentation
|
@@ -789,27 +719,81 @@ module Aws::CodeArtifact
|
|
789
719
|
include Aws::Structure
|
790
720
|
end
|
791
721
|
|
792
|
-
#
|
793
|
-
#
|
722
|
+
# @!attribute [rw] domain
|
723
|
+
# The name of the domain that contains the repository that contains
|
724
|
+
# the package.
|
725
|
+
# @return [String]
|
726
|
+
#
|
727
|
+
# @!attribute [rw] domain_owner
|
728
|
+
# The 12-digit account number of the Amazon Web Services account that
|
729
|
+
# owns the domain. It does not include dashes or spaces.
|
730
|
+
# @return [String]
|
731
|
+
#
|
732
|
+
# @!attribute [rw] repository
|
733
|
+
# The name of the repository that contains the requested package.
|
734
|
+
# @return [String]
|
735
|
+
#
|
736
|
+
# @!attribute [rw] format
|
737
|
+
# A format that specifies the type of the requested package.
|
738
|
+
# @return [String]
|
739
|
+
#
|
740
|
+
# @!attribute [rw] namespace
|
741
|
+
# The namespace of the requested package. The package component that
|
742
|
+
# specifies its namespace depends on its type. For example:
|
743
|
+
#
|
744
|
+
# * The namespace of a Maven package is its `groupId`. The namespace
|
745
|
+
# is required when requesting Maven packages.
|
746
|
+
#
|
747
|
+
# * The namespace of an npm package is its `scope`.
|
748
|
+
#
|
749
|
+
# * Python and NuGet packages do not contain a corresponding
|
750
|
+
# component, packages of those formats do not have a namespace.
|
751
|
+
#
|
752
|
+
# * The namespace of a generic package is its `namespace`.
|
753
|
+
# @return [String]
|
754
|
+
#
|
755
|
+
# @!attribute [rw] package
|
756
|
+
# The name of the requested package.
|
757
|
+
# @return [String]
|
758
|
+
#
|
759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageRequest AWS API Documentation
|
760
|
+
#
|
761
|
+
class DescribePackageRequest < Struct.new(
|
762
|
+
:domain,
|
763
|
+
:domain_owner,
|
764
|
+
:repository,
|
765
|
+
:format,
|
766
|
+
:namespace,
|
767
|
+
:package)
|
768
|
+
SENSITIVE = []
|
769
|
+
include Aws::Structure
|
770
|
+
end
|
771
|
+
|
772
|
+
# @!attribute [rw] package
|
773
|
+
# A [PackageDescription][1] object that contains information about the
|
774
|
+
# requested package.
|
775
|
+
#
|
776
|
+
#
|
777
|
+
#
|
778
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html
|
779
|
+
# @return [Types::PackageDescription]
|
794
780
|
#
|
795
|
-
#
|
796
|
-
# domain: "DomainName", # required
|
797
|
-
# domain_owner: "AccountId",
|
798
|
-
# repository: "RepositoryName", # required
|
799
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
800
|
-
# namespace: "PackageNamespace",
|
801
|
-
# package: "PackageName", # required
|
802
|
-
# package_version: "PackageVersion", # required
|
803
|
-
# }
|
781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageResult AWS API Documentation
|
804
782
|
#
|
783
|
+
class DescribePackageResult < Struct.new(
|
784
|
+
:package)
|
785
|
+
SENSITIVE = []
|
786
|
+
include Aws::Structure
|
787
|
+
end
|
788
|
+
|
805
789
|
# @!attribute [rw] domain
|
806
790
|
# The name of the domain that contains the repository that contains
|
807
791
|
# the package version.
|
808
792
|
# @return [String]
|
809
793
|
#
|
810
794
|
# @!attribute [rw] domain_owner
|
811
|
-
# The 12-digit account number of the
|
812
|
-
# It does not include dashes or spaces.
|
795
|
+
# The 12-digit account number of the Amazon Web Services account that
|
796
|
+
# owns the domain. It does not include dashes or spaces.
|
813
797
|
# @return [String]
|
814
798
|
#
|
815
799
|
# @!attribute [rw] repository
|
@@ -818,25 +802,22 @@ module Aws::CodeArtifact
|
|
818
802
|
#
|
819
803
|
# @!attribute [rw] format
|
820
804
|
# A format that specifies the type of the requested package version.
|
821
|
-
# The valid values are:
|
822
|
-
#
|
823
|
-
# * `npm`
|
824
|
-
#
|
825
|
-
# * `pypi`
|
826
|
-
#
|
827
|
-
# * `maven`
|
828
805
|
# @return [String]
|
829
806
|
#
|
830
807
|
# @!attribute [rw] namespace
|
831
|
-
# The namespace of the package. The package
|
832
|
-
# its namespace depends on its type. For
|
808
|
+
# The namespace of the requested package version. The package version
|
809
|
+
# component that specifies its namespace depends on its type. For
|
810
|
+
# example:
|
833
811
|
#
|
834
|
-
# * The namespace of a Maven package is its `groupId`.
|
812
|
+
# * The namespace of a Maven package version is its `groupId`.
|
835
813
|
#
|
836
|
-
# * The namespace of an npm package is its `scope`.
|
814
|
+
# * The namespace of an npm package version is its `scope`.
|
837
815
|
#
|
838
|
-
# *
|
839
|
-
#
|
816
|
+
# * Python and NuGet package versions do not contain a corresponding
|
817
|
+
# component, package versions of those formats do not have a
|
818
|
+
# namespace.
|
819
|
+
#
|
820
|
+
# * The namespace of a generic package is its `namespace`.
|
840
821
|
# @return [String]
|
841
822
|
#
|
842
823
|
# @!attribute [rw] package
|
@@ -878,22 +859,13 @@ module Aws::CodeArtifact
|
|
878
859
|
include Aws::Structure
|
879
860
|
end
|
880
861
|
|
881
|
-
# @note When making an API call, you may pass DescribeRepositoryRequest
|
882
|
-
# data as a hash:
|
883
|
-
#
|
884
|
-
# {
|
885
|
-
# domain: "DomainName", # required
|
886
|
-
# domain_owner: "AccountId",
|
887
|
-
# repository: "RepositoryName", # required
|
888
|
-
# }
|
889
|
-
#
|
890
862
|
# @!attribute [rw] domain
|
891
863
|
# The name of the domain that contains the repository to describe.
|
892
864
|
# @return [String]
|
893
865
|
#
|
894
866
|
# @!attribute [rw] domain_owner
|
895
|
-
# The 12-digit account number of the
|
896
|
-
# It does not include dashes or spaces.
|
867
|
+
# The 12-digit account number of the Amazon Web Services account that
|
868
|
+
# owns the domain. It does not include dashes or spaces.
|
897
869
|
# @return [String]
|
898
870
|
#
|
899
871
|
# @!attribute [rw] repository
|
@@ -923,24 +895,14 @@ module Aws::CodeArtifact
|
|
923
895
|
include Aws::Structure
|
924
896
|
end
|
925
897
|
|
926
|
-
# @note When making an API call, you may pass DisassociateExternalConnectionRequest
|
927
|
-
# data as a hash:
|
928
|
-
#
|
929
|
-
# {
|
930
|
-
# domain: "DomainName", # required
|
931
|
-
# domain_owner: "AccountId",
|
932
|
-
# repository: "RepositoryName", # required
|
933
|
-
# external_connection: "ExternalConnectionName", # required
|
934
|
-
# }
|
935
|
-
#
|
936
898
|
# @!attribute [rw] domain
|
937
899
|
# The name of the domain that contains the repository from which to
|
938
900
|
# remove the external repository.
|
939
901
|
# @return [String]
|
940
902
|
#
|
941
903
|
# @!attribute [rw] domain_owner
|
942
|
-
# The 12-digit account number of the
|
943
|
-
# It does not include dashes or spaces.
|
904
|
+
# The 12-digit account number of the Amazon Web Services account that
|
905
|
+
# owns the domain. It does not include dashes or spaces.
|
944
906
|
# @return [String]
|
945
907
|
#
|
946
908
|
# @!attribute [rw] repository
|
@@ -976,31 +938,14 @@ module Aws::CodeArtifact
|
|
976
938
|
include Aws::Structure
|
977
939
|
end
|
978
940
|
|
979
|
-
# @note When making an API call, you may pass DisposePackageVersionsRequest
|
980
|
-
# data as a hash:
|
981
|
-
#
|
982
|
-
# {
|
983
|
-
# domain: "DomainName", # required
|
984
|
-
# domain_owner: "AccountId",
|
985
|
-
# repository: "RepositoryName", # required
|
986
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
987
|
-
# namespace: "PackageNamespace",
|
988
|
-
# package: "PackageName", # required
|
989
|
-
# versions: ["PackageVersion"], # required
|
990
|
-
# version_revisions: {
|
991
|
-
# "PackageVersion" => "PackageVersionRevision",
|
992
|
-
# },
|
993
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
994
|
-
# }
|
995
|
-
#
|
996
941
|
# @!attribute [rw] domain
|
997
942
|
# The name of the domain that contains the repository you want to
|
998
943
|
# dispose.
|
999
944
|
# @return [String]
|
1000
945
|
#
|
1001
946
|
# @!attribute [rw] domain_owner
|
1002
|
-
# The 12-digit account number of the
|
1003
|
-
# It does not include dashes or spaces.
|
947
|
+
# The 12-digit account number of the Amazon Web Services account that
|
948
|
+
# owns the domain. It does not include dashes or spaces.
|
1004
949
|
# @return [String]
|
1005
950
|
#
|
1006
951
|
# @!attribute [rw] repository
|
@@ -1010,25 +955,23 @@ module Aws::CodeArtifact
|
|
1010
955
|
#
|
1011
956
|
# @!attribute [rw] format
|
1012
957
|
# A format that specifies the type of package versions you want to
|
1013
|
-
# dispose.
|
1014
|
-
#
|
1015
|
-
# * `npm`
|
1016
|
-
#
|
1017
|
-
# * `pypi`
|
1018
|
-
#
|
1019
|
-
# * `maven`
|
958
|
+
# dispose.
|
1020
959
|
# @return [String]
|
1021
960
|
#
|
1022
961
|
# @!attribute [rw] namespace
|
1023
|
-
# The namespace of the package. The package
|
1024
|
-
# its namespace depends on its type.
|
962
|
+
# The namespace of the package versions to be disposed. The package
|
963
|
+
# version component that specifies its namespace depends on its type.
|
964
|
+
# For example:
|
1025
965
|
#
|
1026
|
-
# * The namespace of a Maven package is its `groupId`.
|
966
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1027
967
|
#
|
1028
|
-
# * The namespace of an npm package is its `scope`.
|
968
|
+
# * The namespace of an npm package version is its `scope`.
|
969
|
+
#
|
970
|
+
# * Python and NuGet package versions do not contain a corresponding
|
971
|
+
# component, package versions of those formats do not have a
|
972
|
+
# namespace.
|
1029
973
|
#
|
1030
|
-
# *
|
1031
|
-
# Python packages do not have a namespace.
|
974
|
+
# * The namespace of a generic package is its `namespace`.
|
1032
975
|
# @return [String]
|
1033
976
|
#
|
1034
977
|
# @!attribute [rw] package
|
@@ -1044,18 +987,7 @@ module Aws::CodeArtifact
|
|
1044
987
|
# @return [Hash<String,String>]
|
1045
988
|
#
|
1046
989
|
# @!attribute [rw] expected_status
|
1047
|
-
# The expected status of the package version to dispose.
|
1048
|
-
# are:
|
1049
|
-
#
|
1050
|
-
# * `Published`
|
1051
|
-
#
|
1052
|
-
# * `Unfinished`
|
1053
|
-
#
|
1054
|
-
# * `Unlisted`
|
1055
|
-
#
|
1056
|
-
# * `Archived`
|
1057
|
-
#
|
1058
|
-
# * `Disposed`
|
990
|
+
# The expected status of the package version to dispose.
|
1059
991
|
# @return [String]
|
1060
992
|
#
|
1061
993
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisposePackageVersionsRequest AWS API Documentation
|
@@ -1114,7 +1046,7 @@ module Aws::CodeArtifact
|
|
1114
1046
|
# @return [String]
|
1115
1047
|
#
|
1116
1048
|
# @!attribute [rw] owner
|
1117
|
-
# The
|
1049
|
+
# The Amazon Web Services account ID that owns the domain.
|
1118
1050
|
# @return [String]
|
1119
1051
|
#
|
1120
1052
|
# @!attribute [rw] arn
|
@@ -1122,11 +1054,7 @@ module Aws::CodeArtifact
|
|
1122
1054
|
# @return [String]
|
1123
1055
|
#
|
1124
1056
|
# @!attribute [rw] status
|
1125
|
-
# The current status of a domain.
|
1126
|
-
#
|
1127
|
-
# * `Active`
|
1128
|
-
#
|
1129
|
-
# * `Deleted`
|
1057
|
+
# The current status of a domain.
|
1130
1058
|
# @return [String]
|
1131
1059
|
#
|
1132
1060
|
# @!attribute [rw] created_time
|
@@ -1135,8 +1063,8 @@ module Aws::CodeArtifact
|
|
1135
1063
|
# @return [Time]
|
1136
1064
|
#
|
1137
1065
|
# @!attribute [rw] encryption_key
|
1138
|
-
# The ARN of an
|
1139
|
-
#
|
1066
|
+
# The ARN of an Key Management Service (KMS) key associated with a
|
1067
|
+
# domain.
|
1140
1068
|
# @return [String]
|
1141
1069
|
#
|
1142
1070
|
# @!attribute [rw] repository_count
|
@@ -1168,6 +1096,33 @@ module Aws::CodeArtifact
|
|
1168
1096
|
include Aws::Structure
|
1169
1097
|
end
|
1170
1098
|
|
1099
|
+
# Information about how a package originally entered the CodeArtifact
|
1100
|
+
# domain. For packages published directly to CodeArtifact, the entry
|
1101
|
+
# point is the repository it was published to. For packages ingested
|
1102
|
+
# from an external repository, the entry point is the external
|
1103
|
+
# connection that it was ingested from. An external connection is a
|
1104
|
+
# CodeArtifact repository that is connected to an external repository
|
1105
|
+
# such as the npm registry or NuGet gallery.
|
1106
|
+
#
|
1107
|
+
# @!attribute [rw] repository_name
|
1108
|
+
# The name of the repository that a package was originally published
|
1109
|
+
# to.
|
1110
|
+
# @return [String]
|
1111
|
+
#
|
1112
|
+
# @!attribute [rw] external_connection_name
|
1113
|
+
# The name of the external connection that a package was ingested
|
1114
|
+
# from.
|
1115
|
+
# @return [String]
|
1116
|
+
#
|
1117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DomainEntryPoint AWS API Documentation
|
1118
|
+
#
|
1119
|
+
class DomainEntryPoint < Struct.new(
|
1120
|
+
:repository_name,
|
1121
|
+
:external_connection_name)
|
1122
|
+
SENSITIVE = []
|
1123
|
+
include Aws::Structure
|
1124
|
+
end
|
1125
|
+
|
1171
1126
|
# Information about a domain, including its name, Amazon Resource Name
|
1172
1127
|
# (ARN), and status. The [ListDomains][1] operation returns a list of
|
1173
1128
|
# `DomainSummary` objects.
|
@@ -1181,8 +1136,8 @@ module Aws::CodeArtifact
|
|
1181
1136
|
# @return [String]
|
1182
1137
|
#
|
1183
1138
|
# @!attribute [rw] owner
|
1184
|
-
# The 12-digit account number of the
|
1185
|
-
# It does not include dashes or spaces.
|
1139
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1140
|
+
# owns the domain. It does not include dashes or spaces.
|
1186
1141
|
# @return [String]
|
1187
1142
|
#
|
1188
1143
|
# @!attribute [rw] arn
|
@@ -1190,12 +1145,7 @@ module Aws::CodeArtifact
|
|
1190
1145
|
# @return [String]
|
1191
1146
|
#
|
1192
1147
|
# @!attribute [rw] status
|
1193
|
-
# A string that contains the status of the domain.
|
1194
|
-
# are:
|
1195
|
-
#
|
1196
|
-
# * `Active`
|
1197
|
-
#
|
1198
|
-
# * `Deleted`
|
1148
|
+
# A string that contains the status of the domain.
|
1199
1149
|
# @return [String]
|
1200
1150
|
#
|
1201
1151
|
# @!attribute [rw] created_time
|
@@ -1219,23 +1169,14 @@ module Aws::CodeArtifact
|
|
1219
1169
|
include Aws::Structure
|
1220
1170
|
end
|
1221
1171
|
|
1222
|
-
# @note When making an API call, you may pass GetAuthorizationTokenRequest
|
1223
|
-
# data as a hash:
|
1224
|
-
#
|
1225
|
-
# {
|
1226
|
-
# domain: "DomainName", # required
|
1227
|
-
# domain_owner: "AccountId",
|
1228
|
-
# duration_seconds: 1,
|
1229
|
-
# }
|
1230
|
-
#
|
1231
1172
|
# @!attribute [rw] domain
|
1232
1173
|
# The name of the domain that is in scope for the generated
|
1233
1174
|
# authorization token.
|
1234
1175
|
# @return [String]
|
1235
1176
|
#
|
1236
1177
|
# @!attribute [rw] domain_owner
|
1237
|
-
# The 12-digit account number of the
|
1238
|
-
# It does not include dashes or spaces.
|
1178
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1179
|
+
# owns the domain. It does not include dashes or spaces.
|
1239
1180
|
# @return [String]
|
1240
1181
|
#
|
1241
1182
|
# @!attribute [rw] duration_seconds
|
@@ -1274,21 +1215,13 @@ module Aws::CodeArtifact
|
|
1274
1215
|
include Aws::Structure
|
1275
1216
|
end
|
1276
1217
|
|
1277
|
-
# @note When making an API call, you may pass GetDomainPermissionsPolicyRequest
|
1278
|
-
# data as a hash:
|
1279
|
-
#
|
1280
|
-
# {
|
1281
|
-
# domain: "DomainName", # required
|
1282
|
-
# domain_owner: "AccountId",
|
1283
|
-
# }
|
1284
|
-
#
|
1285
1218
|
# @!attribute [rw] domain
|
1286
1219
|
# The name of the domain to which the resource policy is attached.
|
1287
1220
|
# @return [String]
|
1288
1221
|
#
|
1289
1222
|
# @!attribute [rw] domain_owner
|
1290
|
-
# The 12-digit account number of the
|
1291
|
-
# It does not include dashes or spaces.
|
1223
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1224
|
+
# owns the domain. It does not include dashes or spaces.
|
1292
1225
|
# @return [String]
|
1293
1226
|
#
|
1294
1227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetDomainPermissionsPolicyRequest AWS API Documentation
|
@@ -1312,29 +1245,14 @@ module Aws::CodeArtifact
|
|
1312
1245
|
include Aws::Structure
|
1313
1246
|
end
|
1314
1247
|
|
1315
|
-
# @note When making an API call, you may pass GetPackageVersionAssetRequest
|
1316
|
-
# data as a hash:
|
1317
|
-
#
|
1318
|
-
# {
|
1319
|
-
# domain: "DomainName", # required
|
1320
|
-
# domain_owner: "AccountId",
|
1321
|
-
# repository: "RepositoryName", # required
|
1322
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1323
|
-
# namespace: "PackageNamespace",
|
1324
|
-
# package: "PackageName", # required
|
1325
|
-
# package_version: "PackageVersion", # required
|
1326
|
-
# asset: "AssetName", # required
|
1327
|
-
# package_version_revision: "PackageVersionRevision",
|
1328
|
-
# }
|
1329
|
-
#
|
1330
1248
|
# @!attribute [rw] domain
|
1331
1249
|
# The name of the domain that contains the repository that contains
|
1332
1250
|
# the package version with the requested asset.
|
1333
1251
|
# @return [String]
|
1334
1252
|
#
|
1335
1253
|
# @!attribute [rw] domain_owner
|
1336
|
-
# The 12-digit account number of the
|
1337
|
-
# It does not include dashes or spaces.
|
1254
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1255
|
+
# owns the domain. It does not include dashes or spaces.
|
1338
1256
|
# @return [String]
|
1339
1257
|
#
|
1340
1258
|
# @!attribute [rw] repository
|
@@ -1344,25 +1262,23 @@ module Aws::CodeArtifact
|
|
1344
1262
|
#
|
1345
1263
|
# @!attribute [rw] format
|
1346
1264
|
# A format that specifies the type of the package version with the
|
1347
|
-
# requested asset file.
|
1348
|
-
#
|
1349
|
-
# * `npm`
|
1350
|
-
#
|
1351
|
-
# * `pypi`
|
1352
|
-
#
|
1353
|
-
# * `maven`
|
1265
|
+
# requested asset file.
|
1354
1266
|
# @return [String]
|
1355
1267
|
#
|
1356
1268
|
# @!attribute [rw] namespace
|
1357
|
-
# The namespace of the package
|
1358
|
-
#
|
1269
|
+
# The namespace of the package version with the requested asset file.
|
1270
|
+
# The package version component that specifies its namespace depends
|
1271
|
+
# on its type. For example:
|
1359
1272
|
#
|
1360
|
-
# * The namespace of a Maven package is its `groupId`.
|
1273
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1361
1274
|
#
|
1362
|
-
# * The namespace of an npm package is its `scope`.
|
1275
|
+
# * The namespace of an npm package version is its `scope`.
|
1363
1276
|
#
|
1364
|
-
# *
|
1365
|
-
#
|
1277
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1278
|
+
# component, package versions of those formats do not have a
|
1279
|
+
# namespace.
|
1280
|
+
#
|
1281
|
+
# * The namespace of a generic package is its `namespace`.
|
1366
1282
|
# @return [String]
|
1367
1283
|
#
|
1368
1284
|
# @!attribute [rw] package
|
@@ -1426,27 +1342,14 @@ module Aws::CodeArtifact
|
|
1426
1342
|
include Aws::Structure
|
1427
1343
|
end
|
1428
1344
|
|
1429
|
-
# @note When making an API call, you may pass GetPackageVersionReadmeRequest
|
1430
|
-
# data as a hash:
|
1431
|
-
#
|
1432
|
-
# {
|
1433
|
-
# domain: "DomainName", # required
|
1434
|
-
# domain_owner: "AccountId",
|
1435
|
-
# repository: "RepositoryName", # required
|
1436
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1437
|
-
# namespace: "PackageNamespace",
|
1438
|
-
# package: "PackageName", # required
|
1439
|
-
# package_version: "PackageVersion", # required
|
1440
|
-
# }
|
1441
|
-
#
|
1442
1345
|
# @!attribute [rw] domain
|
1443
1346
|
# The name of the domain that contains the repository that contains
|
1444
1347
|
# the package version with the requested readme file.
|
1445
1348
|
# @return [String]
|
1446
1349
|
#
|
1447
1350
|
# @!attribute [rw] domain_owner
|
1448
|
-
# The 12-digit account number of the
|
1449
|
-
# It does not include dashes or spaces.
|
1351
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1352
|
+
# owns the domain. It does not include dashes or spaces.
|
1450
1353
|
# @return [String]
|
1451
1354
|
#
|
1452
1355
|
# @!attribute [rw] repository
|
@@ -1456,25 +1359,19 @@ module Aws::CodeArtifact
|
|
1456
1359
|
#
|
1457
1360
|
# @!attribute [rw] format
|
1458
1361
|
# A format that specifies the type of the package version with the
|
1459
|
-
# requested readme file.
|
1460
|
-
#
|
1461
|
-
# * `npm`
|
1462
|
-
#
|
1463
|
-
# * `pypi`
|
1464
|
-
#
|
1465
|
-
# * `maven`
|
1362
|
+
# requested readme file.
|
1466
1363
|
# @return [String]
|
1467
1364
|
#
|
1468
1365
|
# @!attribute [rw] namespace
|
1469
|
-
# The namespace of the package
|
1470
|
-
#
|
1366
|
+
# The namespace of the package version with the requested readme file.
|
1367
|
+
# The package version component that specifies its namespace depends
|
1368
|
+
# on its type. For example:
|
1471
1369
|
#
|
1472
|
-
# * The namespace of
|
1473
|
-
#
|
1474
|
-
# * The namespace of an npm package is its `scope`.
|
1370
|
+
# * The namespace of an npm package version is its `scope`.
|
1475
1371
|
#
|
1476
|
-
# *
|
1477
|
-
#
|
1372
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1373
|
+
# component, package versions of those formats do not have a
|
1374
|
+
# namespace.
|
1478
1375
|
# @return [String]
|
1479
1376
|
#
|
1480
1377
|
# @!attribute [rw] package
|
@@ -1501,26 +1398,21 @@ module Aws::CodeArtifact
|
|
1501
1398
|
end
|
1502
1399
|
|
1503
1400
|
# @!attribute [rw] format
|
1504
|
-
# The format of the package with the requested readme file.
|
1505
|
-
# format types are:
|
1506
|
-
#
|
1507
|
-
# * `npm`
|
1508
|
-
#
|
1509
|
-
# * `pypi`
|
1510
|
-
#
|
1511
|
-
# * `maven`
|
1401
|
+
# The format of the package with the requested readme file.
|
1512
1402
|
# @return [String]
|
1513
1403
|
#
|
1514
1404
|
# @!attribute [rw] namespace
|
1515
|
-
# The namespace of the package
|
1516
|
-
#
|
1405
|
+
# The namespace of the package version with the requested readme file.
|
1406
|
+
# The package version component that specifies its namespace depends
|
1407
|
+
# on its type. For example:
|
1517
1408
|
#
|
1518
|
-
# * The namespace of a Maven package is its `groupId`.
|
1409
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1519
1410
|
#
|
1520
|
-
# * The namespace of an npm package is its `scope`.
|
1411
|
+
# * The namespace of an npm package version is its `scope`.
|
1521
1412
|
#
|
1522
|
-
# *
|
1523
|
-
#
|
1413
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1414
|
+
# component, package versions of those formats do not have a
|
1415
|
+
# namespace.
|
1524
1416
|
# @return [String]
|
1525
1417
|
#
|
1526
1418
|
# @!attribute [rw] package
|
@@ -1552,23 +1444,14 @@ module Aws::CodeArtifact
|
|
1552
1444
|
include Aws::Structure
|
1553
1445
|
end
|
1554
1446
|
|
1555
|
-
# @note When making an API call, you may pass GetRepositoryEndpointRequest
|
1556
|
-
# data as a hash:
|
1557
|
-
#
|
1558
|
-
# {
|
1559
|
-
# domain: "DomainName", # required
|
1560
|
-
# domain_owner: "AccountId",
|
1561
|
-
# repository: "RepositoryName", # required
|
1562
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1563
|
-
# }
|
1564
|
-
#
|
1565
1447
|
# @!attribute [rw] domain
|
1566
1448
|
# The name of the domain that contains the repository.
|
1567
1449
|
# @return [String]
|
1568
1450
|
#
|
1569
1451
|
# @!attribute [rw] domain_owner
|
1570
|
-
# The 12-digit account number of the
|
1571
|
-
# that contains the repository. It does not include
|
1452
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1453
|
+
# owns the domain that contains the repository. It does not include
|
1454
|
+
# dashes or spaces.
|
1572
1455
|
# @return [String]
|
1573
1456
|
#
|
1574
1457
|
# @!attribute [rw] repository
|
@@ -1577,13 +1460,7 @@ module Aws::CodeArtifact
|
|
1577
1460
|
#
|
1578
1461
|
# @!attribute [rw] format
|
1579
1462
|
# Returns which endpoint of a repository to return. A repository has
|
1580
|
-
# one endpoint for each package format
|
1581
|
-
#
|
1582
|
-
# * `npm`
|
1583
|
-
#
|
1584
|
-
# * `pypi`
|
1585
|
-
#
|
1586
|
-
# * `maven`
|
1463
|
+
# one endpoint for each package format.
|
1587
1464
|
# @return [String]
|
1588
1465
|
#
|
1589
1466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryEndpointRequest AWS API Documentation
|
@@ -1609,23 +1486,14 @@ module Aws::CodeArtifact
|
|
1609
1486
|
include Aws::Structure
|
1610
1487
|
end
|
1611
1488
|
|
1612
|
-
# @note When making an API call, you may pass GetRepositoryPermissionsPolicyRequest
|
1613
|
-
# data as a hash:
|
1614
|
-
#
|
1615
|
-
# {
|
1616
|
-
# domain: "DomainName", # required
|
1617
|
-
# domain_owner: "AccountId",
|
1618
|
-
# repository: "RepositoryName", # required
|
1619
|
-
# }
|
1620
|
-
#
|
1621
1489
|
# @!attribute [rw] domain
|
1622
1490
|
# The name of the domain containing the repository whose associated
|
1623
1491
|
# resource policy is to be retrieved.
|
1624
1492
|
# @return [String]
|
1625
1493
|
#
|
1626
1494
|
# @!attribute [rw] domain_owner
|
1627
|
-
# The 12-digit account number of the
|
1628
|
-
# It does not include dashes or spaces.
|
1495
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1496
|
+
# owns the domain. It does not include dashes or spaces.
|
1629
1497
|
# @return [String]
|
1630
1498
|
#
|
1631
1499
|
# @!attribute [rw] repository
|
@@ -1656,7 +1524,7 @@ module Aws::CodeArtifact
|
|
1656
1524
|
end
|
1657
1525
|
|
1658
1526
|
# The operation did not succeed because of an error that occurred inside
|
1659
|
-
#
|
1527
|
+
# CodeArtifact.
|
1660
1528
|
#
|
1661
1529
|
# @!attribute [rw] message
|
1662
1530
|
# @return [String]
|
@@ -1688,14 +1556,6 @@ module Aws::CodeArtifact
|
|
1688
1556
|
include Aws::Structure
|
1689
1557
|
end
|
1690
1558
|
|
1691
|
-
# @note When making an API call, you may pass ListDomainsRequest
|
1692
|
-
# data as a hash:
|
1693
|
-
#
|
1694
|
-
# {
|
1695
|
-
# max_results: 1,
|
1696
|
-
# next_token: "PaginationToken",
|
1697
|
-
# }
|
1698
|
-
#
|
1699
1559
|
# @!attribute [rw] max_results
|
1700
1560
|
# The maximum number of results to return per page.
|
1701
1561
|
# @return [Integer]
|
@@ -1738,62 +1598,44 @@ module Aws::CodeArtifact
|
|
1738
1598
|
include Aws::Structure
|
1739
1599
|
end
|
1740
1600
|
|
1741
|
-
# @note When making an API call, you may pass ListPackageVersionAssetsRequest
|
1742
|
-
# data as a hash:
|
1743
|
-
#
|
1744
|
-
# {
|
1745
|
-
# domain: "DomainName", # required
|
1746
|
-
# domain_owner: "AccountId",
|
1747
|
-
# repository: "RepositoryName", # required
|
1748
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1749
|
-
# namespace: "PackageNamespace",
|
1750
|
-
# package: "PackageName", # required
|
1751
|
-
# package_version: "PackageVersion", # required
|
1752
|
-
# max_results: 1,
|
1753
|
-
# next_token: "PaginationToken",
|
1754
|
-
# }
|
1755
|
-
#
|
1756
1601
|
# @!attribute [rw] domain
|
1757
1602
|
# The name of the domain that contains the repository associated with
|
1758
1603
|
# the package version assets.
|
1759
1604
|
# @return [String]
|
1760
1605
|
#
|
1761
1606
|
# @!attribute [rw] domain_owner
|
1762
|
-
# The 12-digit account number of the
|
1763
|
-
# It does not include dashes or spaces.
|
1607
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1608
|
+
# owns the domain. It does not include dashes or spaces.
|
1764
1609
|
# @return [String]
|
1765
1610
|
#
|
1766
1611
|
# @!attribute [rw] repository
|
1767
1612
|
# The name of the repository that contains the package that contains
|
1768
|
-
# the
|
1613
|
+
# the requested package version assets.
|
1769
1614
|
# @return [String]
|
1770
1615
|
#
|
1771
1616
|
# @!attribute [rw] format
|
1772
|
-
# The format of the package that contains the
|
1773
|
-
# assets.
|
1617
|
+
# The format of the package that contains the requested package
|
1618
|
+
# version assets.
|
1619
|
+
# @return [String]
|
1774
1620
|
#
|
1775
|
-
#
|
1621
|
+
# @!attribute [rw] namespace
|
1622
|
+
# The namespace of the package version that contains the requested
|
1623
|
+
# package version assets. The package version component that specifies
|
1624
|
+
# its namespace depends on its type. For example:
|
1776
1625
|
#
|
1777
|
-
# *
|
1626
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1778
1627
|
#
|
1779
|
-
# *
|
1780
|
-
# distributable format, such as a JAR file.
|
1781
|
-
# @return [String]
|
1782
|
-
#
|
1783
|
-
# @!attribute [rw] namespace
|
1784
|
-
# The namespace of the package. The package component that specifies
|
1785
|
-
# its namespace depends on its type. For example:
|
1628
|
+
# * The namespace of an npm package version is its `scope`.
|
1786
1629
|
#
|
1787
|
-
# *
|
1788
|
-
#
|
1789
|
-
#
|
1630
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1631
|
+
# component, package versions of those formats do not have a
|
1632
|
+
# namespace.
|
1790
1633
|
#
|
1791
|
-
# *
|
1792
|
-
# Python packages do not have a namespace.
|
1634
|
+
# * The namespace of a generic package is its `namespace`.
|
1793
1635
|
# @return [String]
|
1794
1636
|
#
|
1795
1637
|
# @!attribute [rw] package
|
1796
|
-
# The name of the package that contains the
|
1638
|
+
# The name of the package that contains the requested package version
|
1797
1639
|
# assets.
|
1798
1640
|
# @return [String]
|
1799
1641
|
#
|
@@ -1828,29 +1670,31 @@ module Aws::CodeArtifact
|
|
1828
1670
|
end
|
1829
1671
|
|
1830
1672
|
# @!attribute [rw] format
|
1831
|
-
# The format of the package that contains the
|
1832
|
-
# assets.
|
1673
|
+
# The format of the package that contains the requested package
|
1674
|
+
# version assets.
|
1833
1675
|
# @return [String]
|
1834
1676
|
#
|
1835
1677
|
# @!attribute [rw] namespace
|
1836
|
-
# The namespace of the package
|
1678
|
+
# The namespace of the package version that contains the requested
|
1679
|
+
# package version assets. The package version component that specifies
|
1837
1680
|
# its namespace depends on its type. For example:
|
1838
1681
|
#
|
1839
|
-
# * The namespace of a Maven package is its `groupId`.
|
1682
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1840
1683
|
#
|
1841
|
-
# * The namespace of an npm package is its `scope`.
|
1684
|
+
# * The namespace of an npm package version is its `scope`.
|
1842
1685
|
#
|
1843
|
-
# *
|
1844
|
-
#
|
1686
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1687
|
+
# component, package versions of those formats do not have a
|
1688
|
+
# namespace.
|
1845
1689
|
# @return [String]
|
1846
1690
|
#
|
1847
1691
|
# @!attribute [rw] package
|
1848
|
-
# The name of the package that contains the
|
1692
|
+
# The name of the package that contains the requested package version
|
1849
1693
|
# assets.
|
1850
1694
|
# @return [String]
|
1851
1695
|
#
|
1852
1696
|
# @!attribute [rw] version
|
1853
|
-
# The version of the package associated with the
|
1697
|
+
# The version of the package associated with the requested assets.
|
1854
1698
|
# @return [String]
|
1855
1699
|
#
|
1856
1700
|
# @!attribute [rw] version_revision
|
@@ -1884,28 +1728,14 @@ module Aws::CodeArtifact
|
|
1884
1728
|
include Aws::Structure
|
1885
1729
|
end
|
1886
1730
|
|
1887
|
-
# @note When making an API call, you may pass ListPackageVersionDependenciesRequest
|
1888
|
-
# data as a hash:
|
1889
|
-
#
|
1890
|
-
# {
|
1891
|
-
# domain: "DomainName", # required
|
1892
|
-
# domain_owner: "AccountId",
|
1893
|
-
# repository: "RepositoryName", # required
|
1894
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1895
|
-
# namespace: "PackageNamespace",
|
1896
|
-
# package: "PackageName", # required
|
1897
|
-
# package_version: "PackageVersion", # required
|
1898
|
-
# next_token: "PaginationToken",
|
1899
|
-
# }
|
1900
|
-
#
|
1901
1731
|
# @!attribute [rw] domain
|
1902
1732
|
# The name of the domain that contains the repository that contains
|
1903
1733
|
# the requested package version dependencies.
|
1904
1734
|
# @return [String]
|
1905
1735
|
#
|
1906
1736
|
# @!attribute [rw] domain_owner
|
1907
|
-
# The 12-digit account number of the
|
1908
|
-
# It does not include dashes or spaces.
|
1737
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1738
|
+
# owns the domain. It does not include dashes or spaces.
|
1909
1739
|
# @return [String]
|
1910
1740
|
#
|
1911
1741
|
# @!attribute [rw] repository
|
@@ -1914,27 +1744,23 @@ module Aws::CodeArtifact
|
|
1914
1744
|
# @return [String]
|
1915
1745
|
#
|
1916
1746
|
# @!attribute [rw] format
|
1917
|
-
# The format of the package with the requested dependencies.
|
1918
|
-
# package types are:
|
1919
|
-
#
|
1920
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
1921
|
-
#
|
1922
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
1923
|
-
#
|
1924
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
1925
|
-
# distributable format, such as a JAR file.
|
1747
|
+
# The format of the package with the requested dependencies.
|
1926
1748
|
# @return [String]
|
1927
1749
|
#
|
1928
1750
|
# @!attribute [rw] namespace
|
1929
|
-
# The namespace of the package
|
1930
|
-
#
|
1751
|
+
# The namespace of the package version with the requested
|
1752
|
+
# dependencies. The package version component that specifies its
|
1753
|
+
# namespace depends on its type. For example:
|
1931
1754
|
#
|
1932
|
-
# * The namespace of a Maven package is its `groupId`.
|
1755
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1933
1756
|
#
|
1934
|
-
# * The namespace of an npm package is its `scope`.
|
1757
|
+
# * The namespace of an npm package version is its `scope`.
|
1758
|
+
#
|
1759
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1760
|
+
# component, package versions of those formats do not have a
|
1761
|
+
# namespace.
|
1935
1762
|
#
|
1936
|
-
# *
|
1937
|
-
# Python packages do not have a namespace.
|
1763
|
+
# * The namespace of a generic package is its `namespace`.
|
1938
1764
|
# @return [String]
|
1939
1765
|
#
|
1940
1766
|
# @!attribute [rw] package
|
@@ -1968,25 +1794,21 @@ module Aws::CodeArtifact
|
|
1968
1794
|
|
1969
1795
|
# @!attribute [rw] format
|
1970
1796
|
# A format that specifies the type of the package that contains the
|
1971
|
-
# returned dependencies.
|
1972
|
-
#
|
1973
|
-
# * `npm`
|
1974
|
-
#
|
1975
|
-
# * `pypi`
|
1976
|
-
#
|
1977
|
-
# * `maven`
|
1797
|
+
# returned dependencies.
|
1978
1798
|
# @return [String]
|
1979
1799
|
#
|
1980
1800
|
# @!attribute [rw] namespace
|
1981
|
-
# The namespace of the package
|
1982
|
-
#
|
1801
|
+
# The namespace of the package version that contains the returned
|
1802
|
+
# dependencies. The package version component that specifies its
|
1803
|
+
# namespace depends on its type. For example:
|
1983
1804
|
#
|
1984
|
-
# * The namespace of a Maven package is its `groupId`.
|
1805
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1985
1806
|
#
|
1986
|
-
# * The namespace of an npm package is its `scope`.
|
1807
|
+
# * The namespace of an npm package version is its `scope`.
|
1987
1808
|
#
|
1988
|
-
# *
|
1989
|
-
#
|
1809
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1810
|
+
# component, package versions of those formats do not have a
|
1811
|
+
# namespace.
|
1990
1812
|
# @return [String]
|
1991
1813
|
#
|
1992
1814
|
# @!attribute [rw] package
|
@@ -2030,81 +1852,51 @@ module Aws::CodeArtifact
|
|
2030
1852
|
include Aws::Structure
|
2031
1853
|
end
|
2032
1854
|
|
2033
|
-
# @note When making an API call, you may pass ListPackageVersionsRequest
|
2034
|
-
# data as a hash:
|
2035
|
-
#
|
2036
|
-
# {
|
2037
|
-
# domain: "DomainName", # required
|
2038
|
-
# domain_owner: "AccountId",
|
2039
|
-
# repository: "RepositoryName", # required
|
2040
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
2041
|
-
# namespace: "PackageNamespace",
|
2042
|
-
# package: "PackageName", # required
|
2043
|
-
# status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
2044
|
-
# sort_by: "PUBLISHED_TIME", # accepts PUBLISHED_TIME
|
2045
|
-
# max_results: 1,
|
2046
|
-
# next_token: "PaginationToken",
|
2047
|
-
# }
|
2048
|
-
#
|
2049
1855
|
# @!attribute [rw] domain
|
2050
1856
|
# The name of the domain that contains the repository that contains
|
2051
|
-
# the
|
1857
|
+
# the requested package versions.
|
2052
1858
|
# @return [String]
|
2053
1859
|
#
|
2054
1860
|
# @!attribute [rw] domain_owner
|
2055
|
-
# The 12-digit account number of the
|
2056
|
-
# It does not include dashes or spaces.
|
1861
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1862
|
+
# owns the domain. It does not include dashes or spaces.
|
2057
1863
|
# @return [String]
|
2058
1864
|
#
|
2059
1865
|
# @!attribute [rw] repository
|
2060
|
-
# The name of the repository that contains the package
|
1866
|
+
# The name of the repository that contains the requested package
|
1867
|
+
# versions.
|
2061
1868
|
# @return [String]
|
2062
1869
|
#
|
2063
1870
|
# @!attribute [rw] format
|
2064
|
-
# The format of the
|
2065
|
-
#
|
2066
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
2067
|
-
#
|
2068
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
2069
|
-
#
|
2070
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
2071
|
-
# distributable format, such as a JAR file.
|
1871
|
+
# The format of the package versions you want to list.
|
2072
1872
|
# @return [String]
|
2073
1873
|
#
|
2074
1874
|
# @!attribute [rw] namespace
|
2075
|
-
# The namespace of the package
|
2076
|
-
#
|
1875
|
+
# The namespace of the package that contains the requested package
|
1876
|
+
# versions. The package component that specifies its namespace depends
|
1877
|
+
# on its type. For example:
|
2077
1878
|
#
|
2078
1879
|
# * The namespace of a Maven package is its `groupId`.
|
2079
1880
|
#
|
2080
1881
|
# * The namespace of an npm package is its `scope`.
|
2081
1882
|
#
|
2082
|
-
# *
|
2083
|
-
#
|
1883
|
+
# * Python and NuGet packages do not contain a corresponding
|
1884
|
+
# component, packages of those formats do not have a namespace.
|
1885
|
+
#
|
1886
|
+
# * The namespace of a generic package is its `namespace`.
|
2084
1887
|
# @return [String]
|
2085
1888
|
#
|
2086
1889
|
# @!attribute [rw] package
|
2087
|
-
# The name of the package for which you want to
|
2088
|
-
#
|
1890
|
+
# The name of the package for which you want to request package
|
1891
|
+
# versions.
|
2089
1892
|
# @return [String]
|
2090
1893
|
#
|
2091
1894
|
# @!attribute [rw] status
|
2092
|
-
# A string that
|
2093
|
-
# include in the returned list. It can be one of the following:
|
2094
|
-
#
|
2095
|
-
# * `Published`
|
2096
|
-
#
|
2097
|
-
# * `Unfinished`
|
2098
|
-
#
|
2099
|
-
# * `Unlisted`
|
2100
|
-
#
|
2101
|
-
# * `Archived`
|
2102
|
-
#
|
2103
|
-
# * `Disposed`
|
1895
|
+
# A string that filters the requested package versions by status.
|
2104
1896
|
# @return [String]
|
2105
1897
|
#
|
2106
1898
|
# @!attribute [rw] sort_by
|
2107
|
-
# How to sort the
|
1899
|
+
# How to sort the requested list of package versions.
|
2108
1900
|
# @return [String]
|
2109
1901
|
#
|
2110
1902
|
# @!attribute [rw] max_results
|
@@ -2117,6 +1909,11 @@ module Aws::CodeArtifact
|
|
2117
1909
|
# results.
|
2118
1910
|
# @return [String]
|
2119
1911
|
#
|
1912
|
+
# @!attribute [rw] origin_type
|
1913
|
+
# The `originType` used to filter package versions. Only package
|
1914
|
+
# versions with the provided `originType` will be returned.
|
1915
|
+
# @return [String]
|
1916
|
+
#
|
2120
1917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionsRequest AWS API Documentation
|
2121
1918
|
#
|
2122
1919
|
class ListPackageVersionsRequest < Struct.new(
|
@@ -2129,7 +1926,8 @@ module Aws::CodeArtifact
|
|
2129
1926
|
:status,
|
2130
1927
|
:sort_by,
|
2131
1928
|
:max_results,
|
2132
|
-
:next_token
|
1929
|
+
:next_token,
|
1930
|
+
:origin_type)
|
2133
1931
|
SENSITIVE = []
|
2134
1932
|
include Aws::Structure
|
2135
1933
|
end
|
@@ -2147,25 +1945,20 @@ module Aws::CodeArtifact
|
|
2147
1945
|
# @return [String]
|
2148
1946
|
#
|
2149
1947
|
# @!attribute [rw] format
|
2150
|
-
# A format of the package.
|
2151
|
-
#
|
2152
|
-
# * `npm`
|
2153
|
-
#
|
2154
|
-
# * `pypi`
|
2155
|
-
#
|
2156
|
-
# * `maven`
|
1948
|
+
# A format of the package.
|
2157
1949
|
# @return [String]
|
2158
1950
|
#
|
2159
1951
|
# @!attribute [rw] namespace
|
2160
|
-
# The namespace of the package
|
2161
|
-
#
|
1952
|
+
# The namespace of the package that contains the requested package
|
1953
|
+
# versions. The package component that specifies its namespace depends
|
1954
|
+
# on its type. For example:
|
2162
1955
|
#
|
2163
1956
|
# * The namespace of a Maven package is its `groupId`.
|
2164
1957
|
#
|
2165
1958
|
# * The namespace of an npm package is its `scope`.
|
2166
1959
|
#
|
2167
|
-
# *
|
2168
|
-
#
|
1960
|
+
# * Python and NuGet packages do not contain a corresponding
|
1961
|
+
# component, packages of those formats do not have a namespace.
|
2169
1962
|
# @return [String]
|
2170
1963
|
#
|
2171
1964
|
# @!attribute [rw] package
|
@@ -2198,59 +1991,45 @@ module Aws::CodeArtifact
|
|
2198
1991
|
include Aws::Structure
|
2199
1992
|
end
|
2200
1993
|
|
2201
|
-
# @note When making an API call, you may pass ListPackagesRequest
|
2202
|
-
# data as a hash:
|
2203
|
-
#
|
2204
|
-
# {
|
2205
|
-
# domain: "DomainName", # required
|
2206
|
-
# domain_owner: "AccountId",
|
2207
|
-
# repository: "RepositoryName", # required
|
2208
|
-
# format: "npm", # accepts npm, pypi, maven, nuget
|
2209
|
-
# namespace: "PackageNamespace",
|
2210
|
-
# package_prefix: "PackageName",
|
2211
|
-
# max_results: 1,
|
2212
|
-
# next_token: "PaginationToken",
|
2213
|
-
# }
|
2214
|
-
#
|
2215
1994
|
# @!attribute [rw] domain
|
2216
1995
|
# The name of the domain that contains the repository that contains
|
2217
|
-
# the requested
|
1996
|
+
# the requested packages.
|
2218
1997
|
# @return [String]
|
2219
1998
|
#
|
2220
1999
|
# @!attribute [rw] domain_owner
|
2221
|
-
# The 12-digit account number of the
|
2222
|
-
# It does not include dashes or spaces.
|
2000
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2001
|
+
# owns the domain. It does not include dashes or spaces.
|
2223
2002
|
# @return [String]
|
2224
2003
|
#
|
2225
2004
|
# @!attribute [rw] repository
|
2226
|
-
# The name of the repository
|
2005
|
+
# The name of the repository that contains the requested packages.
|
2227
2006
|
# @return [String]
|
2228
2007
|
#
|
2229
2008
|
# @!attribute [rw] format
|
2230
|
-
# The format
|
2231
|
-
#
|
2232
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
2233
|
-
#
|
2234
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
2235
|
-
#
|
2236
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
2237
|
-
# distributable format, such as a JAR file.
|
2009
|
+
# The format used to filter requested packages. Only packages from the
|
2010
|
+
# provided format will be returned.
|
2238
2011
|
# @return [String]
|
2239
2012
|
#
|
2240
2013
|
# @!attribute [rw] namespace
|
2241
|
-
# The namespace
|
2242
|
-
#
|
2014
|
+
# The namespace prefix used to filter requested packages. Only
|
2015
|
+
# packages with a namespace that starts with the provided string value
|
2016
|
+
# are returned. Note that although this option is called `--namespace`
|
2017
|
+
# and not `--namespace-prefix`, it has prefix-matching behavior.
|
2018
|
+
#
|
2019
|
+
# Each package format uses namespace as follows:
|
2243
2020
|
#
|
2244
2021
|
# * The namespace of a Maven package is its `groupId`.
|
2245
2022
|
#
|
2246
2023
|
# * The namespace of an npm package is its `scope`.
|
2247
2024
|
#
|
2248
|
-
# *
|
2249
|
-
#
|
2025
|
+
# * Python and NuGet packages do not contain a corresponding
|
2026
|
+
# component, packages of those formats do not have a namespace.
|
2027
|
+
#
|
2028
|
+
# * The namespace of a generic package is its `namespace`.
|
2250
2029
|
# @return [String]
|
2251
2030
|
#
|
2252
2031
|
# @!attribute [rw] package_prefix
|
2253
|
-
# A prefix used to filter
|
2032
|
+
# A prefix used to filter requested packages. Only packages with names
|
2254
2033
|
# that start with `packagePrefix` are returned.
|
2255
2034
|
# @return [String]
|
2256
2035
|
#
|
@@ -2264,6 +2043,28 @@ module Aws::CodeArtifact
|
|
2264
2043
|
# results.
|
2265
2044
|
# @return [String]
|
2266
2045
|
#
|
2046
|
+
# @!attribute [rw] publish
|
2047
|
+
# The value of the `Publish` package origin control restriction used
|
2048
|
+
# to filter requested packages. Only packages with the provided
|
2049
|
+
# restriction are returned. For more information, see
|
2050
|
+
# [PackageOriginRestrictions][1].
|
2051
|
+
#
|
2052
|
+
#
|
2053
|
+
#
|
2054
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2055
|
+
# @return [String]
|
2056
|
+
#
|
2057
|
+
# @!attribute [rw] upstream
|
2058
|
+
# The value of the `Upstream` package origin control restriction used
|
2059
|
+
# to filter requested packages. Only packages with the provided
|
2060
|
+
# restriction are returned. For more information, see
|
2061
|
+
# [PackageOriginRestrictions][1].
|
2062
|
+
#
|
2063
|
+
#
|
2064
|
+
#
|
2065
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2066
|
+
# @return [String]
|
2067
|
+
#
|
2267
2068
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackagesRequest AWS API Documentation
|
2268
2069
|
#
|
2269
2070
|
class ListPackagesRequest < Struct.new(
|
@@ -2274,7 +2075,9 @@ module Aws::CodeArtifact
|
|
2274
2075
|
:namespace,
|
2275
2076
|
:package_prefix,
|
2276
2077
|
:max_results,
|
2277
|
-
:next_token
|
2078
|
+
:next_token,
|
2079
|
+
:publish,
|
2080
|
+
:upstream)
|
2278
2081
|
SENSITIVE = []
|
2279
2082
|
include Aws::Structure
|
2280
2083
|
end
|
@@ -2301,31 +2104,19 @@ module Aws::CodeArtifact
|
|
2301
2104
|
include Aws::Structure
|
2302
2105
|
end
|
2303
2106
|
|
2304
|
-
# @note When making an API call, you may pass ListRepositoriesInDomainRequest
|
2305
|
-
# data as a hash:
|
2306
|
-
#
|
2307
|
-
# {
|
2308
|
-
# domain: "DomainName", # required
|
2309
|
-
# domain_owner: "AccountId",
|
2310
|
-
# administrator_account: "AccountId",
|
2311
|
-
# repository_prefix: "RepositoryName",
|
2312
|
-
# max_results: 1,
|
2313
|
-
# next_token: "PaginationToken",
|
2314
|
-
# }
|
2315
|
-
#
|
2316
2107
|
# @!attribute [rw] domain
|
2317
2108
|
# The name of the domain that contains the returned list of
|
2318
2109
|
# repositories.
|
2319
2110
|
# @return [String]
|
2320
2111
|
#
|
2321
2112
|
# @!attribute [rw] domain_owner
|
2322
|
-
# The 12-digit account number of the
|
2323
|
-
# It does not include dashes or spaces.
|
2113
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2114
|
+
# owns the domain. It does not include dashes or spaces.
|
2324
2115
|
# @return [String]
|
2325
2116
|
#
|
2326
2117
|
# @!attribute [rw] administrator_account
|
2327
2118
|
# Filter the list of repositories to only include those that are
|
2328
|
-
# managed by the
|
2119
|
+
# managed by the Amazon Web Services account ID.
|
2329
2120
|
# @return [String]
|
2330
2121
|
#
|
2331
2122
|
# @!attribute [rw] repository_prefix
|
@@ -2374,15 +2165,6 @@ module Aws::CodeArtifact
|
|
2374
2165
|
include Aws::Structure
|
2375
2166
|
end
|
2376
2167
|
|
2377
|
-
# @note When making an API call, you may pass ListRepositoriesRequest
|
2378
|
-
# data as a hash:
|
2379
|
-
#
|
2380
|
-
# {
|
2381
|
-
# repository_prefix: "RepositoryName",
|
2382
|
-
# max_results: 1,
|
2383
|
-
# next_token: "PaginationToken",
|
2384
|
-
# }
|
2385
|
-
#
|
2386
2168
|
# @!attribute [rw] repository_prefix
|
2387
2169
|
# A prefix used to filter returned repositories. Only repositories
|
2388
2170
|
# with names that start with `repositoryPrefix` are returned.
|
@@ -2430,13 +2212,6 @@ module Aws::CodeArtifact
|
|
2430
2212
|
include Aws::Structure
|
2431
2213
|
end
|
2432
2214
|
|
2433
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2434
|
-
# data as a hash:
|
2435
|
-
#
|
2436
|
-
# {
|
2437
|
-
# resource_arn: "Arn", # required
|
2438
|
-
# }
|
2439
|
-
#
|
2440
2215
|
# @!attribute [rw] resource_arn
|
2441
2216
|
# The Amazon Resource Name (ARN) of the resource to get tags for.
|
2442
2217
|
# @return [String]
|
@@ -2465,15 +2240,16 @@ module Aws::CodeArtifact
|
|
2465
2240
|
# Details about a package dependency.
|
2466
2241
|
#
|
2467
2242
|
# @!attribute [rw] namespace
|
2468
|
-
# The namespace of the package
|
2469
|
-
# its namespace depends on its type.
|
2243
|
+
# The namespace of the package that this package depends on. The
|
2244
|
+
# package component that specifies its namespace depends on its type.
|
2245
|
+
# For example:
|
2470
2246
|
#
|
2471
2247
|
# * The namespace of a Maven package is its `groupId`.
|
2472
2248
|
#
|
2473
2249
|
# * The namespace of an npm package is its `scope`.
|
2474
2250
|
#
|
2475
|
-
# *
|
2476
|
-
#
|
2251
|
+
# * Python and NuGet packages do not contain a corresponding
|
2252
|
+
# component, packages of those formats do not have a namespace.
|
2477
2253
|
# @return [String]
|
2478
2254
|
#
|
2479
2255
|
# @!attribute [rw] package
|
@@ -2482,8 +2258,22 @@ module Aws::CodeArtifact
|
|
2482
2258
|
#
|
2483
2259
|
# @!attribute [rw] dependency_type
|
2484
2260
|
# The type of a package dependency. The possible values depend on the
|
2485
|
-
# package type.
|
2486
|
-
#
|
2261
|
+
# package type.
|
2262
|
+
#
|
2263
|
+
# * npm: `regular`, `dev`, `peer`, `optional`
|
2264
|
+
#
|
2265
|
+
# * maven: `optional`, `parent`, `compile`, `runtime`, `test`,
|
2266
|
+
# `system`, `provided`.
|
2267
|
+
#
|
2268
|
+
# <note markdown="1"> Note that `parent` is not a regular Maven dependency type; instead
|
2269
|
+
# this is extracted from the `<parent>` element if one is defined in
|
2270
|
+
# the package version's POM file.
|
2271
|
+
#
|
2272
|
+
# </note>
|
2273
|
+
#
|
2274
|
+
# * nuget: The `dependencyType` field is never set for NuGet packages.
|
2275
|
+
#
|
2276
|
+
# * pypi: `Requires-Dist`
|
2487
2277
|
# @return [String]
|
2488
2278
|
#
|
2489
2279
|
# @!attribute [rw] version_requirement
|
@@ -2504,22 +2294,89 @@ module Aws::CodeArtifact
|
|
2504
2294
|
include Aws::Structure
|
2505
2295
|
end
|
2506
2296
|
|
2507
|
-
# Details about a package
|
2508
|
-
# The [ListPackages][1] operation returns a list of `PackageSummary`
|
2509
|
-
# objects.
|
2297
|
+
# Details about a package.
|
2510
2298
|
#
|
2299
|
+
# @!attribute [rw] format
|
2300
|
+
# A format that specifies the type of the package.
|
2301
|
+
# @return [String]
|
2511
2302
|
#
|
2303
|
+
# @!attribute [rw] namespace
|
2304
|
+
# The namespace of the package. The package component that specifies
|
2305
|
+
# its namespace depends on its type. For example:
|
2512
2306
|
#
|
2513
|
-
#
|
2307
|
+
# * The namespace of a Maven package is its `groupId`.
|
2514
2308
|
#
|
2515
|
-
#
|
2516
|
-
# The format of the package. Valid values are:
|
2309
|
+
# * The namespace of an npm package is its `scope`.
|
2517
2310
|
#
|
2518
|
-
# *
|
2311
|
+
# * Python and NuGet packages do not contain a corresponding
|
2312
|
+
# component, packages of those formats do not have a namespace.
|
2519
2313
|
#
|
2520
|
-
# * `
|
2314
|
+
# * The namespace of a generic package is its `namespace`.
|
2315
|
+
# @return [String]
|
2521
2316
|
#
|
2522
|
-
#
|
2317
|
+
# @!attribute [rw] name
|
2318
|
+
# The name of the package.
|
2319
|
+
# @return [String]
|
2320
|
+
#
|
2321
|
+
# @!attribute [rw] origin_configuration
|
2322
|
+
# The package origin configuration for the package.
|
2323
|
+
# @return [Types::PackageOriginConfiguration]
|
2324
|
+
#
|
2325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageDescription AWS API Documentation
|
2326
|
+
#
|
2327
|
+
class PackageDescription < Struct.new(
|
2328
|
+
:format,
|
2329
|
+
:namespace,
|
2330
|
+
:name,
|
2331
|
+
:origin_configuration)
|
2332
|
+
SENSITIVE = []
|
2333
|
+
include Aws::Structure
|
2334
|
+
end
|
2335
|
+
|
2336
|
+
# Details about the package origin configuration of a package.
|
2337
|
+
#
|
2338
|
+
# @!attribute [rw] restrictions
|
2339
|
+
# A `PackageOriginRestrictions` object that contains information about
|
2340
|
+
# the upstream and publish package origin configuration for the
|
2341
|
+
# package.
|
2342
|
+
# @return [Types::PackageOriginRestrictions]
|
2343
|
+
#
|
2344
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageOriginConfiguration AWS API Documentation
|
2345
|
+
#
|
2346
|
+
class PackageOriginConfiguration < Struct.new(
|
2347
|
+
:restrictions)
|
2348
|
+
SENSITIVE = []
|
2349
|
+
include Aws::Structure
|
2350
|
+
end
|
2351
|
+
|
2352
|
+
# Details about the origin restrictions set on the package. The package
|
2353
|
+
# origin restrictions determine how new versions of a package can be
|
2354
|
+
# added to a specific repository.
|
2355
|
+
#
|
2356
|
+
# @!attribute [rw] publish
|
2357
|
+
# The package origin configuration that determines if new versions of
|
2358
|
+
# the package can be published directly to the repository.
|
2359
|
+
# @return [String]
|
2360
|
+
#
|
2361
|
+
# @!attribute [rw] upstream
|
2362
|
+
# The package origin configuration that determines if new versions of
|
2363
|
+
# the package can be added to the repository from an external
|
2364
|
+
# connection or upstream source.
|
2365
|
+
# @return [String]
|
2366
|
+
#
|
2367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageOriginRestrictions AWS API Documentation
|
2368
|
+
#
|
2369
|
+
class PackageOriginRestrictions < Struct.new(
|
2370
|
+
:publish,
|
2371
|
+
:upstream)
|
2372
|
+
SENSITIVE = []
|
2373
|
+
include Aws::Structure
|
2374
|
+
end
|
2375
|
+
|
2376
|
+
# Details about a package, including its format, namespace, and name.
|
2377
|
+
#
|
2378
|
+
# @!attribute [rw] format
|
2379
|
+
# The format of the package.
|
2523
2380
|
# @return [String]
|
2524
2381
|
#
|
2525
2382
|
# @!attribute [rw] namespace
|
@@ -2530,20 +2387,34 @@ module Aws::CodeArtifact
|
|
2530
2387
|
#
|
2531
2388
|
# * The namespace of an npm package is its `scope`.
|
2532
2389
|
#
|
2533
|
-
# *
|
2534
|
-
#
|
2390
|
+
# * Python and NuGet packages do not contain a corresponding
|
2391
|
+
# component, packages of those formats do not have a namespace.
|
2392
|
+
#
|
2393
|
+
# * The namespace of a generic package is its `namespace`.
|
2535
2394
|
# @return [String]
|
2536
2395
|
#
|
2537
2396
|
# @!attribute [rw] package
|
2538
2397
|
# The name of the package.
|
2539
2398
|
# @return [String]
|
2540
2399
|
#
|
2400
|
+
# @!attribute [rw] origin_configuration
|
2401
|
+
# A [PackageOriginConfiguration][1] object that contains a
|
2402
|
+
# [PackageOriginRestrictions][2] object that contains information
|
2403
|
+
# about the upstream and publish package origin restrictions.
|
2404
|
+
#
|
2405
|
+
#
|
2406
|
+
#
|
2407
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html
|
2408
|
+
# [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2409
|
+
# @return [Types::PackageOriginConfiguration]
|
2410
|
+
#
|
2541
2411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageSummary AWS API Documentation
|
2542
2412
|
#
|
2543
2413
|
class PackageSummary < Struct.new(
|
2544
2414
|
:format,
|
2545
2415
|
:namespace,
|
2546
|
-
:package
|
2416
|
+
:package,
|
2417
|
+
:origin_configuration)
|
2547
2418
|
SENSITIVE = []
|
2548
2419
|
include Aws::Structure
|
2549
2420
|
end
|
@@ -2551,26 +2422,22 @@ module Aws::CodeArtifact
|
|
2551
2422
|
# Details about a package version.
|
2552
2423
|
#
|
2553
2424
|
# @!attribute [rw] format
|
2554
|
-
# The format of the package version.
|
2555
|
-
#
|
2556
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
2557
|
-
#
|
2558
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
2559
|
-
#
|
2560
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
2561
|
-
# distributable format, such as a JAR file.
|
2425
|
+
# The format of the package version.
|
2562
2426
|
# @return [String]
|
2563
2427
|
#
|
2564
2428
|
# @!attribute [rw] namespace
|
2565
|
-
# The namespace of the package. The package component
|
2566
|
-
# its namespace depends on its type. For example:
|
2429
|
+
# The namespace of the package version. The package version component
|
2430
|
+
# that specifies its namespace depends on its type. For example:
|
2567
2431
|
#
|
2568
|
-
# * The namespace of a Maven package is its `groupId`.
|
2432
|
+
# * The namespace of a Maven package version is its `groupId`.
|
2569
2433
|
#
|
2570
|
-
# * The namespace of an npm package is its `scope`.
|
2434
|
+
# * The namespace of an npm package version is its `scope`.
|
2571
2435
|
#
|
2572
|
-
# *
|
2573
|
-
#
|
2436
|
+
# * Python and NuGet package versions do not contain a corresponding
|
2437
|
+
# component, package versions of those formats do not have a
|
2438
|
+
# namespace.
|
2439
|
+
#
|
2440
|
+
# * The namespace of a generic package is its `namespace`.
|
2574
2441
|
# @return [String]
|
2575
2442
|
#
|
2576
2443
|
# @!attribute [rw] package_name
|
@@ -2617,19 +2484,17 @@ module Aws::CodeArtifact
|
|
2617
2484
|
# @return [String]
|
2618
2485
|
#
|
2619
2486
|
# @!attribute [rw] status
|
2620
|
-
# A string that contains the status of the package version.
|
2621
|
-
#
|
2622
|
-
#
|
2623
|
-
# * `Published`
|
2487
|
+
# A string that contains the status of the package version.
|
2488
|
+
# @return [String]
|
2624
2489
|
#
|
2625
|
-
#
|
2490
|
+
# @!attribute [rw] origin
|
2491
|
+
# A [PackageVersionOrigin][1] object that contains information about
|
2492
|
+
# how the package version was added to the repository.
|
2626
2493
|
#
|
2627
|
-
# * `Unlisted`
|
2628
2494
|
#
|
2629
|
-
# * `Archived`
|
2630
2495
|
#
|
2631
|
-
#
|
2632
|
-
# @return [
|
2496
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html
|
2497
|
+
# @return [Types::PackageVersionOrigin]
|
2633
2498
|
#
|
2634
2499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageVersionDescription AWS API Documentation
|
2635
2500
|
#
|
@@ -2645,12 +2510,13 @@ module Aws::CodeArtifact
|
|
2645
2510
|
:published_time,
|
2646
2511
|
:licenses,
|
2647
2512
|
:revision,
|
2648
|
-
:status
|
2513
|
+
:status,
|
2514
|
+
:origin)
|
2649
2515
|
SENSITIVE = []
|
2650
2516
|
include Aws::Structure
|
2651
2517
|
end
|
2652
2518
|
|
2653
|
-
# An error associated with package.
|
2519
|
+
# l An error associated with package.
|
2654
2520
|
#
|
2655
2521
|
# @!attribute [rw] error_code
|
2656
2522
|
# The error code associated with the error. Valid error codes are:
|
@@ -2681,6 +2547,35 @@ module Aws::CodeArtifact
|
|
2681
2547
|
include Aws::Structure
|
2682
2548
|
end
|
2683
2549
|
|
2550
|
+
# Information about how a package version was added to a repository.
|
2551
|
+
#
|
2552
|
+
# @!attribute [rw] domain_entry_point
|
2553
|
+
# A [DomainEntryPoint][1] object that contains information about from
|
2554
|
+
# which repository or external connection the package version was
|
2555
|
+
# added to the domain.
|
2556
|
+
#
|
2557
|
+
#
|
2558
|
+
#
|
2559
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainEntryPoint.html
|
2560
|
+
# @return [Types::DomainEntryPoint]
|
2561
|
+
#
|
2562
|
+
# @!attribute [rw] origin_type
|
2563
|
+
# Describes how the package version was originally added to the
|
2564
|
+
# domain. An `INTERNAL` origin type means the package version was
|
2565
|
+
# published directly to a repository in the domain. An `EXTERNAL`
|
2566
|
+
# origin type means the package version was ingested from an external
|
2567
|
+
# connection.
|
2568
|
+
# @return [String]
|
2569
|
+
#
|
2570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageVersionOrigin AWS API Documentation
|
2571
|
+
#
|
2572
|
+
class PackageVersionOrigin < Struct.new(
|
2573
|
+
:domain_entry_point,
|
2574
|
+
:origin_type)
|
2575
|
+
SENSITIVE = []
|
2576
|
+
include Aws::Structure
|
2577
|
+
end
|
2578
|
+
|
2684
2579
|
# Details about a package version, including its status, version, and
|
2685
2580
|
# revision. The [ListPackageVersions][1] operation returns a list of
|
2686
2581
|
# `PackageVersionSummary` objects.
|
@@ -2700,45 +2595,175 @@ module Aws::CodeArtifact
|
|
2700
2595
|
# @!attribute [rw] status
|
2701
2596
|
# A string that contains the status of the package version. It can be
|
2702
2597
|
# one of the following:
|
2598
|
+
# @return [String]
|
2703
2599
|
#
|
2704
|
-
#
|
2705
|
-
#
|
2706
|
-
#
|
2600
|
+
# @!attribute [rw] origin
|
2601
|
+
# A [PackageVersionOrigin][1] object that contains information about
|
2602
|
+
# how the package version was added to the repository.
|
2707
2603
|
#
|
2708
|
-
# * `Unlisted`
|
2709
2604
|
#
|
2710
|
-
# * `Archived`
|
2711
2605
|
#
|
2712
|
-
#
|
2713
|
-
# @return [
|
2606
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html
|
2607
|
+
# @return [Types::PackageVersionOrigin]
|
2714
2608
|
#
|
2715
2609
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageVersionSummary AWS API Documentation
|
2716
2610
|
#
|
2717
2611
|
class PackageVersionSummary < Struct.new(
|
2718
2612
|
:version,
|
2719
2613
|
:revision,
|
2720
|
-
:status
|
2614
|
+
:status,
|
2615
|
+
:origin)
|
2616
|
+
SENSITIVE = []
|
2617
|
+
include Aws::Structure
|
2618
|
+
end
|
2619
|
+
|
2620
|
+
# @!attribute [rw] domain
|
2621
|
+
# The name of the domain that contains the repository that contains
|
2622
|
+
# the package version to publish.
|
2623
|
+
# @return [String]
|
2624
|
+
#
|
2625
|
+
# @!attribute [rw] domain_owner
|
2626
|
+
# The 12-digit account number of the AWS account that owns the domain.
|
2627
|
+
# It does not include dashes or spaces.
|
2628
|
+
# @return [String]
|
2629
|
+
#
|
2630
|
+
# @!attribute [rw] repository
|
2631
|
+
# The name of the repository that the package version will be
|
2632
|
+
# published to.
|
2633
|
+
# @return [String]
|
2634
|
+
#
|
2635
|
+
# @!attribute [rw] format
|
2636
|
+
# A format that specifies the type of the package version with the
|
2637
|
+
# requested asset file.
|
2638
|
+
#
|
2639
|
+
# The only supported value is `generic`.
|
2640
|
+
# @return [String]
|
2641
|
+
#
|
2642
|
+
# @!attribute [rw] namespace
|
2643
|
+
# The namespace of the package version to publish.
|
2644
|
+
# @return [String]
|
2645
|
+
#
|
2646
|
+
# @!attribute [rw] package
|
2647
|
+
# The name of the package version to publish.
|
2648
|
+
# @return [String]
|
2649
|
+
#
|
2650
|
+
# @!attribute [rw] package_version
|
2651
|
+
# The package version to publish (for example, `3.5.2`).
|
2652
|
+
# @return [String]
|
2653
|
+
#
|
2654
|
+
# @!attribute [rw] asset_content
|
2655
|
+
# The content of the asset to publish.
|
2656
|
+
# @return [IO]
|
2657
|
+
#
|
2658
|
+
# @!attribute [rw] asset_name
|
2659
|
+
# The name of the asset to publish. Asset names can include Unicode
|
2660
|
+
# letters and numbers, and the following special characters: `` ~ ! @
|
2661
|
+
# ^ & ( ) - ` _ + [ ] \{ \} ; , . ` ``
|
2662
|
+
# @return [String]
|
2663
|
+
#
|
2664
|
+
# @!attribute [rw] asset_sha256
|
2665
|
+
# The SHA256 hash of the `assetContent` to publish. This value must be
|
2666
|
+
# calculated by the caller and provided with the request (see
|
2667
|
+
# [Publishing a generic package][1] in the *CodeArtifact User Guide*).
|
2668
|
+
#
|
2669
|
+
# This value is used as an integrity check to verify that the
|
2670
|
+
# `assetContent` has not changed after it was originally sent.
|
2671
|
+
#
|
2672
|
+
#
|
2673
|
+
#
|
2674
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/using-generic.html#publishing-generic-packages
|
2675
|
+
# @return [String]
|
2676
|
+
#
|
2677
|
+
# @!attribute [rw] unfinished
|
2678
|
+
# Specifies whether the package version should remain in the
|
2679
|
+
# `unfinished` state. If omitted, the package version status will be
|
2680
|
+
# set to `Published` (see [Package version status][1] in the
|
2681
|
+
# *CodeArtifact User Guide*).
|
2682
|
+
#
|
2683
|
+
# Valid values: `unfinished`
|
2684
|
+
#
|
2685
|
+
#
|
2686
|
+
#
|
2687
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status
|
2688
|
+
# @return [Boolean]
|
2689
|
+
#
|
2690
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PublishPackageVersionRequest AWS API Documentation
|
2691
|
+
#
|
2692
|
+
class PublishPackageVersionRequest < Struct.new(
|
2693
|
+
:domain,
|
2694
|
+
:domain_owner,
|
2695
|
+
:repository,
|
2696
|
+
:format,
|
2697
|
+
:namespace,
|
2698
|
+
:package,
|
2699
|
+
:package_version,
|
2700
|
+
:asset_content,
|
2701
|
+
:asset_name,
|
2702
|
+
:asset_sha256,
|
2703
|
+
:unfinished)
|
2721
2704
|
SENSITIVE = []
|
2722
2705
|
include Aws::Structure
|
2723
2706
|
end
|
2724
2707
|
|
2725
|
-
#
|
2726
|
-
#
|
2708
|
+
# @!attribute [rw] format
|
2709
|
+
# The format of the package version.
|
2710
|
+
# @return [String]
|
2711
|
+
#
|
2712
|
+
# @!attribute [rw] namespace
|
2713
|
+
# The namespace of the package version.
|
2714
|
+
# @return [String]
|
2715
|
+
#
|
2716
|
+
# @!attribute [rw] package
|
2717
|
+
# The name of the package.
|
2718
|
+
# @return [String]
|
2719
|
+
#
|
2720
|
+
# @!attribute [rw] version
|
2721
|
+
# The version of the package.
|
2722
|
+
# @return [String]
|
2723
|
+
#
|
2724
|
+
# @!attribute [rw] version_revision
|
2725
|
+
# The revision of the package version.
|
2726
|
+
# @return [String]
|
2727
2727
|
#
|
2728
|
-
#
|
2729
|
-
#
|
2730
|
-
#
|
2731
|
-
#
|
2732
|
-
#
|
2733
|
-
#
|
2728
|
+
# @!attribute [rw] status
|
2729
|
+
# A string that contains the status of the package version. For more
|
2730
|
+
# information, see [Package version status][1] in the *CodeArtifact
|
2731
|
+
# User Guide*.
|
2732
|
+
#
|
2733
|
+
#
|
2734
|
+
#
|
2735
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/packages-overview.html#package-version-status.html#package-version-status
|
2736
|
+
# @return [String]
|
2737
|
+
#
|
2738
|
+
# @!attribute [rw] asset
|
2739
|
+
# An [AssetSummary][1] for the published asset.
|
2740
|
+
#
|
2741
|
+
#
|
2742
|
+
#
|
2743
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_AssetSummary.html
|
2744
|
+
# @return [Types::AssetSummary]
|
2745
|
+
#
|
2746
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PublishPackageVersionResult AWS API Documentation
|
2734
2747
|
#
|
2748
|
+
class PublishPackageVersionResult < Struct.new(
|
2749
|
+
:format,
|
2750
|
+
:namespace,
|
2751
|
+
:package,
|
2752
|
+
:version,
|
2753
|
+
:version_revision,
|
2754
|
+
:status,
|
2755
|
+
:asset)
|
2756
|
+
SENSITIVE = []
|
2757
|
+
include Aws::Structure
|
2758
|
+
end
|
2759
|
+
|
2735
2760
|
# @!attribute [rw] domain
|
2736
2761
|
# The name of the domain on which to set the resource policy.
|
2737
2762
|
# @return [String]
|
2738
2763
|
#
|
2739
2764
|
# @!attribute [rw] domain_owner
|
2740
|
-
# The 12-digit account number of the
|
2741
|
-
# It does not include dashes or spaces.
|
2765
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2766
|
+
# owns the domain. It does not include dashes or spaces.
|
2742
2767
|
# @return [String]
|
2743
2768
|
#
|
2744
2769
|
# @!attribute [rw] policy_revision
|
@@ -2775,25 +2800,100 @@ module Aws::CodeArtifact
|
|
2775
2800
|
include Aws::Structure
|
2776
2801
|
end
|
2777
2802
|
|
2778
|
-
#
|
2779
|
-
#
|
2803
|
+
# @!attribute [rw] domain
|
2804
|
+
# The name of the domain that contains the repository that contains
|
2805
|
+
# the package.
|
2806
|
+
# @return [String]
|
2807
|
+
#
|
2808
|
+
# @!attribute [rw] domain_owner
|
2809
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2810
|
+
# owns the domain. It does not include dashes or spaces.
|
2811
|
+
# @return [String]
|
2812
|
+
#
|
2813
|
+
# @!attribute [rw] repository
|
2814
|
+
# The name of the repository that contains the package.
|
2815
|
+
# @return [String]
|
2816
|
+
#
|
2817
|
+
# @!attribute [rw] format
|
2818
|
+
# A format that specifies the type of the package to be updated.
|
2819
|
+
# @return [String]
|
2820
|
+
#
|
2821
|
+
# @!attribute [rw] namespace
|
2822
|
+
# The namespace of the package to be updated. The package component
|
2823
|
+
# that specifies its namespace depends on its type. For example:
|
2824
|
+
#
|
2825
|
+
# * The namespace of a Maven package is its `groupId`.
|
2780
2826
|
#
|
2781
|
-
#
|
2782
|
-
#
|
2783
|
-
#
|
2784
|
-
#
|
2785
|
-
#
|
2786
|
-
#
|
2787
|
-
#
|
2827
|
+
# * The namespace of an npm package is its `scope`.
|
2828
|
+
#
|
2829
|
+
# * Python and NuGet packages do not contain a corresponding
|
2830
|
+
# component, packages of those formats do not have a namespace.
|
2831
|
+
#
|
2832
|
+
# * The namespace of a generic package is its `namespace`.
|
2833
|
+
# @return [String]
|
2788
2834
|
#
|
2835
|
+
# @!attribute [rw] package
|
2836
|
+
# The name of the package to be updated.
|
2837
|
+
# @return [String]
|
2838
|
+
#
|
2839
|
+
# @!attribute [rw] restrictions
|
2840
|
+
# A [PackageOriginRestrictions][1] object that contains information
|
2841
|
+
# about the `upstream` and `publish` package origin restrictions. The
|
2842
|
+
# `upstream` restriction determines if new package versions can be
|
2843
|
+
# ingested or retained from external connections or upstream
|
2844
|
+
# repositories. The `publish` restriction determines if new package
|
2845
|
+
# versions can be published directly to the repository.
|
2846
|
+
#
|
2847
|
+
# You must include both the desired `upstream` and `publish`
|
2848
|
+
# restrictions.
|
2849
|
+
#
|
2850
|
+
#
|
2851
|
+
#
|
2852
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2853
|
+
# @return [Types::PackageOriginRestrictions]
|
2854
|
+
#
|
2855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutPackageOriginConfigurationRequest AWS API Documentation
|
2856
|
+
#
|
2857
|
+
class PutPackageOriginConfigurationRequest < Struct.new(
|
2858
|
+
:domain,
|
2859
|
+
:domain_owner,
|
2860
|
+
:repository,
|
2861
|
+
:format,
|
2862
|
+
:namespace,
|
2863
|
+
:package,
|
2864
|
+
:restrictions)
|
2865
|
+
SENSITIVE = []
|
2866
|
+
include Aws::Structure
|
2867
|
+
end
|
2868
|
+
|
2869
|
+
# @!attribute [rw] origin_configuration
|
2870
|
+
# A [PackageOriginConfiguration][1] object that describes the origin
|
2871
|
+
# configuration set for the package. It contains a
|
2872
|
+
# [PackageOriginRestrictions][2] object that describes how new
|
2873
|
+
# versions of the package can be introduced to the repository.
|
2874
|
+
#
|
2875
|
+
#
|
2876
|
+
#
|
2877
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html
|
2878
|
+
# [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2879
|
+
# @return [Types::PackageOriginConfiguration]
|
2880
|
+
#
|
2881
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutPackageOriginConfigurationResult AWS API Documentation
|
2882
|
+
#
|
2883
|
+
class PutPackageOriginConfigurationResult < Struct.new(
|
2884
|
+
:origin_configuration)
|
2885
|
+
SENSITIVE = []
|
2886
|
+
include Aws::Structure
|
2887
|
+
end
|
2888
|
+
|
2789
2889
|
# @!attribute [rw] domain
|
2790
2890
|
# The name of the domain containing the repository to set the resource
|
2791
2891
|
# policy on.
|
2792
2892
|
# @return [String]
|
2793
2893
|
#
|
2794
2894
|
# @!attribute [rw] domain_owner
|
2795
|
-
# The 12-digit account number of the
|
2796
|
-
# It does not include dashes or spaces.
|
2895
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2896
|
+
# owns the domain. It does not include dashes or spaces.
|
2797
2897
|
# @return [String]
|
2798
2898
|
#
|
2799
2899
|
# @!attribute [rw] repository
|
@@ -2836,21 +2936,21 @@ module Aws::CodeArtifact
|
|
2836
2936
|
include Aws::Structure
|
2837
2937
|
end
|
2838
2938
|
|
2839
|
-
# The details of a repository stored in
|
2939
|
+
# The details of a repository stored in CodeArtifact. A CodeArtifact
|
2840
2940
|
# repository contains a set of package versions, each of which maps to a
|
2841
2941
|
# set of assets. Repositories are polyglot—a single repository can
|
2842
2942
|
# contain packages of any supported type. Each repository exposes
|
2843
2943
|
# endpoints for fetching and publishing packages using tools like the
|
2844
2944
|
# `npm` CLI, the Maven CLI (`mvn`), and `pip`. You can create up to 100
|
2845
|
-
# repositories per
|
2945
|
+
# repositories per Amazon Web Services account.
|
2846
2946
|
#
|
2847
2947
|
# @!attribute [rw] name
|
2848
2948
|
# The name of the repository.
|
2849
2949
|
# @return [String]
|
2850
2950
|
#
|
2851
2951
|
# @!attribute [rw] administrator_account
|
2852
|
-
# The 12-digit account number of the
|
2853
|
-
# repository.
|
2952
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2953
|
+
# manages the repository.
|
2854
2954
|
# @return [String]
|
2855
2955
|
#
|
2856
2956
|
# @!attribute [rw] domain_name
|
@@ -2858,8 +2958,9 @@ module Aws::CodeArtifact
|
|
2858
2958
|
# @return [String]
|
2859
2959
|
#
|
2860
2960
|
# @!attribute [rw] domain_owner
|
2861
|
-
# The 12-digit account number of the
|
2862
|
-
# that contains the repository. It does not include
|
2961
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2962
|
+
# owns the domain that contains the repository. It does not include
|
2963
|
+
# dashes or spaces.
|
2863
2964
|
# @return [String]
|
2864
2965
|
#
|
2865
2966
|
# @!attribute [rw] arn
|
@@ -2873,7 +2974,7 @@ module Aws::CodeArtifact
|
|
2873
2974
|
# @!attribute [rw] upstreams
|
2874
2975
|
# A list of upstream repositories to associate with the repository.
|
2875
2976
|
# The order of the upstream repositories in the list determines their
|
2876
|
-
# priority order when
|
2977
|
+
# priority order when CodeArtifact looks for a requested package
|
2877
2978
|
# version. For more information, see [Working with upstream
|
2878
2979
|
# repositories][1].
|
2879
2980
|
#
|
@@ -2886,6 +2987,11 @@ module Aws::CodeArtifact
|
|
2886
2987
|
# An array of external connections associated with the repository.
|
2887
2988
|
# @return [Array<Types::RepositoryExternalConnectionInfo>]
|
2888
2989
|
#
|
2990
|
+
# @!attribute [rw] created_time
|
2991
|
+
# A timestamp that represents the date and time the repository was
|
2992
|
+
# created.
|
2993
|
+
# @return [Time]
|
2994
|
+
#
|
2889
2995
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/RepositoryDescription AWS API Documentation
|
2890
2996
|
#
|
2891
2997
|
class RepositoryDescription < Struct.new(
|
@@ -2896,7 +3002,8 @@ module Aws::CodeArtifact
|
|
2896
3002
|
:arn,
|
2897
3003
|
:description,
|
2898
3004
|
:upstreams,
|
2899
|
-
:external_connections
|
3005
|
+
:external_connections,
|
3006
|
+
:created_time)
|
2900
3007
|
SENSITIVE = []
|
2901
3008
|
include Aws::Structure
|
2902
3009
|
end
|
@@ -2911,12 +3018,14 @@ module Aws::CodeArtifact
|
|
2911
3018
|
# The package format associated with a repository's external
|
2912
3019
|
# connection. The valid package formats are:
|
2913
3020
|
#
|
2914
|
-
# * `npm
|
3021
|
+
# * `npm`: A Node Package Manager (npm) package.
|
2915
3022
|
#
|
2916
|
-
# * `pypi
|
3023
|
+
# * `pypi`: A Python Package Index (PyPI) package.
|
2917
3024
|
#
|
2918
|
-
# * `maven
|
3025
|
+
# * `maven`: A Maven package that contains compiled code in a
|
2919
3026
|
# distributable format, such as a JAR file.
|
3027
|
+
#
|
3028
|
+
# * `nuget`: A NuGet package.
|
2920
3029
|
# @return [String]
|
2921
3030
|
#
|
2922
3031
|
# @!attribute [rw] status
|
@@ -2947,7 +3056,7 @@ module Aws::CodeArtifact
|
|
2947
3056
|
# @return [String]
|
2948
3057
|
#
|
2949
3058
|
# @!attribute [rw] administrator_account
|
2950
|
-
# The
|
3059
|
+
# The Amazon Web Services account ID that manages the repository.
|
2951
3060
|
# @return [String]
|
2952
3061
|
#
|
2953
3062
|
# @!attribute [rw] domain_name
|
@@ -2955,8 +3064,8 @@ module Aws::CodeArtifact
|
|
2955
3064
|
# @return [String]
|
2956
3065
|
#
|
2957
3066
|
# @!attribute [rw] domain_owner
|
2958
|
-
# The 12-digit account number of the
|
2959
|
-
# It does not include dashes or spaces.
|
3067
|
+
# The 12-digit account number of the Amazon Web Services account that
|
3068
|
+
# owns the domain. It does not include dashes or spaces.
|
2960
3069
|
# @return [String]
|
2961
3070
|
#
|
2962
3071
|
# @!attribute [rw] arn
|
@@ -2967,6 +3076,11 @@ module Aws::CodeArtifact
|
|
2967
3076
|
# The description of the repository.
|
2968
3077
|
# @return [String]
|
2969
3078
|
#
|
3079
|
+
# @!attribute [rw] created_time
|
3080
|
+
# A timestamp that represents the date and time the repository was
|
3081
|
+
# created.
|
3082
|
+
# @return [Time]
|
3083
|
+
#
|
2970
3084
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/RepositorySummary AWS API Documentation
|
2971
3085
|
#
|
2972
3086
|
class RepositorySummary < Struct.new(
|
@@ -2975,7 +3089,8 @@ module Aws::CodeArtifact
|
|
2975
3089
|
:domain_name,
|
2976
3090
|
:domain_owner,
|
2977
3091
|
:arn,
|
2978
|
-
:description
|
3092
|
+
:description,
|
3093
|
+
:created_time)
|
2979
3094
|
SENSITIVE = []
|
2980
3095
|
include Aws::Structure
|
2981
3096
|
end
|
@@ -2991,7 +3106,7 @@ module Aws::CodeArtifact
|
|
2991
3106
|
# @return [String]
|
2992
3107
|
#
|
2993
3108
|
# @!attribute [rw] resource_type
|
2994
|
-
# The type of
|
3109
|
+
# The type of Amazon Web Services resource.
|
2995
3110
|
# @return [String]
|
2996
3111
|
#
|
2997
3112
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ResourceNotFoundException AWS API Documentation
|
@@ -3004,8 +3119,8 @@ module Aws::CodeArtifact
|
|
3004
3119
|
include Aws::Structure
|
3005
3120
|
end
|
3006
3121
|
|
3007
|
-
# An
|
3008
|
-
#
|
3122
|
+
# An CodeArtifact resource policy that contains a resource ARN, document
|
3123
|
+
# details, and a revision.
|
3009
3124
|
#
|
3010
3125
|
# @!attribute [rw] resource_arn
|
3011
3126
|
# The ARN of the resource associated with the resource policy
|
@@ -3040,7 +3155,7 @@ module Aws::CodeArtifact
|
|
3040
3155
|
# @return [String]
|
3041
3156
|
#
|
3042
3157
|
# @!attribute [rw] resource_type
|
3043
|
-
# The type of
|
3158
|
+
# The type of Amazon Web Services resource.
|
3044
3159
|
# @return [String]
|
3045
3160
|
#
|
3046
3161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ServiceQuotaExceededException AWS API Documentation
|
@@ -3060,17 +3175,7 @@ module Aws::CodeArtifact
|
|
3060
3175
|
# @return [String]
|
3061
3176
|
#
|
3062
3177
|
# @!attribute [rw] status
|
3063
|
-
# The status of a package version.
|
3064
|
-
#
|
3065
|
-
# * `Published`
|
3066
|
-
#
|
3067
|
-
# * `Unfinished`
|
3068
|
-
#
|
3069
|
-
# * `Unlisted`
|
3070
|
-
#
|
3071
|
-
# * `Archived`
|
3072
|
-
#
|
3073
|
-
# * `Disposed`
|
3178
|
+
# The status of a package version.
|
3074
3179
|
# @return [String]
|
3075
3180
|
#
|
3076
3181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/SuccessfulPackageVersionInfo AWS API Documentation
|
@@ -3083,15 +3188,7 @@ module Aws::CodeArtifact
|
|
3083
3188
|
end
|
3084
3189
|
|
3085
3190
|
# A tag is a key-value pair that can be used to manage, search for, or
|
3086
|
-
# filter resources in
|
3087
|
-
#
|
3088
|
-
# @note When making an API call, you may pass Tag
|
3089
|
-
# data as a hash:
|
3090
|
-
#
|
3091
|
-
# {
|
3092
|
-
# key: "TagKey", # required
|
3093
|
-
# value: "TagValue", # required
|
3094
|
-
# }
|
3191
|
+
# filter resources in CodeArtifact.
|
3095
3192
|
#
|
3096
3193
|
# @!attribute [rw] key
|
3097
3194
|
# The tag key.
|
@@ -3110,19 +3207,6 @@ module Aws::CodeArtifact
|
|
3110
3207
|
include Aws::Structure
|
3111
3208
|
end
|
3112
3209
|
|
3113
|
-
# @note When making an API call, you may pass TagResourceRequest
|
3114
|
-
# data as a hash:
|
3115
|
-
#
|
3116
|
-
# {
|
3117
|
-
# resource_arn: "Arn", # required
|
3118
|
-
# tags: [ # required
|
3119
|
-
# {
|
3120
|
-
# key: "TagKey", # required
|
3121
|
-
# value: "TagValue", # required
|
3122
|
-
# },
|
3123
|
-
# ],
|
3124
|
-
# }
|
3125
|
-
#
|
3126
3210
|
# @!attribute [rw] resource_arn
|
3127
3211
|
# The Amazon Resource Name (ARN) of the resource that you want to add
|
3128
3212
|
# or update tags for.
|
@@ -3164,14 +3248,6 @@ module Aws::CodeArtifact
|
|
3164
3248
|
include Aws::Structure
|
3165
3249
|
end
|
3166
3250
|
|
3167
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
3168
|
-
# data as a hash:
|
3169
|
-
#
|
3170
|
-
# {
|
3171
|
-
# resource_arn: "Arn", # required
|
3172
|
-
# tag_keys: ["TagKey"], # required
|
3173
|
-
# }
|
3174
|
-
#
|
3175
3251
|
# @!attribute [rw] resource_arn
|
3176
3252
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
3177
3253
|
# remove tags from.
|
@@ -3194,32 +3270,14 @@ module Aws::CodeArtifact
|
|
3194
3270
|
#
|
3195
3271
|
class UntagResourceResult < Aws::EmptyStructure; end
|
3196
3272
|
|
3197
|
-
# @note When making an API call, you may pass UpdatePackageVersionsStatusRequest
|
3198
|
-
# data as a hash:
|
3199
|
-
#
|
3200
|
-
# {
|
3201
|
-
# domain: "DomainName", # required
|
3202
|
-
# domain_owner: "AccountId",
|
3203
|
-
# repository: "RepositoryName", # required
|
3204
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
3205
|
-
# namespace: "PackageNamespace",
|
3206
|
-
# package: "PackageName", # required
|
3207
|
-
# versions: ["PackageVersion"], # required
|
3208
|
-
# version_revisions: {
|
3209
|
-
# "PackageVersion" => "PackageVersionRevision",
|
3210
|
-
# },
|
3211
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
3212
|
-
# target_status: "Published", # required, accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
3213
|
-
# }
|
3214
|
-
#
|
3215
3273
|
# @!attribute [rw] domain
|
3216
3274
|
# The name of the domain that contains the repository that contains
|
3217
3275
|
# the package versions with a status to be updated.
|
3218
3276
|
# @return [String]
|
3219
3277
|
#
|
3220
3278
|
# @!attribute [rw] domain_owner
|
3221
|
-
# The 12-digit account number of the
|
3222
|
-
# It does not include dashes or spaces.
|
3279
|
+
# The 12-digit account number of the Amazon Web Services account that
|
3280
|
+
# owns the domain. It does not include dashes or spaces.
|
3223
3281
|
# @return [String]
|
3224
3282
|
#
|
3225
3283
|
# @!attribute [rw] repository
|
@@ -3229,25 +3287,23 @@ module Aws::CodeArtifact
|
|
3229
3287
|
#
|
3230
3288
|
# @!attribute [rw] format
|
3231
3289
|
# A format that specifies the type of the package with the statuses to
|
3232
|
-
# update.
|
3233
|
-
#
|
3234
|
-
# * `npm`
|
3235
|
-
#
|
3236
|
-
# * `pypi`
|
3237
|
-
#
|
3238
|
-
# * `maven`
|
3290
|
+
# update.
|
3239
3291
|
# @return [String]
|
3240
3292
|
#
|
3241
3293
|
# @!attribute [rw] namespace
|
3242
|
-
# The namespace of the package. The package
|
3243
|
-
# its namespace depends on its type.
|
3294
|
+
# The namespace of the package version to be updated. The package
|
3295
|
+
# version component that specifies its namespace depends on its type.
|
3296
|
+
# For example:
|
3244
3297
|
#
|
3245
|
-
# * The namespace of a Maven package is its `groupId`.
|
3298
|
+
# * The namespace of a Maven package version is its `groupId`.
|
3246
3299
|
#
|
3247
|
-
# * The namespace of an npm package is its `scope`.
|
3300
|
+
# * The namespace of an npm package version is its `scope`.
|
3301
|
+
#
|
3302
|
+
# * Python and NuGet package versions do not contain a corresponding
|
3303
|
+
# component, package versions of those formats do not have a
|
3304
|
+
# namespace.
|
3248
3305
|
#
|
3249
|
-
# *
|
3250
|
-
# Python packages do not have a namespace.
|
3306
|
+
# * The namespace of a generic package is its `namespace`.
|
3251
3307
|
# @return [String]
|
3252
3308
|
#
|
3253
3309
|
# @!attribute [rw] package
|
@@ -3312,28 +3368,13 @@ module Aws::CodeArtifact
|
|
3312
3368
|
include Aws::Structure
|
3313
3369
|
end
|
3314
3370
|
|
3315
|
-
# @note When making an API call, you may pass UpdateRepositoryRequest
|
3316
|
-
# data as a hash:
|
3317
|
-
#
|
3318
|
-
# {
|
3319
|
-
# domain: "DomainName", # required
|
3320
|
-
# domain_owner: "AccountId",
|
3321
|
-
# repository: "RepositoryName", # required
|
3322
|
-
# description: "Description",
|
3323
|
-
# upstreams: [
|
3324
|
-
# {
|
3325
|
-
# repository_name: "RepositoryName", # required
|
3326
|
-
# },
|
3327
|
-
# ],
|
3328
|
-
# }
|
3329
|
-
#
|
3330
3371
|
# @!attribute [rw] domain
|
3331
3372
|
# The name of the domain associated with the repository to update.
|
3332
3373
|
# @return [String]
|
3333
3374
|
#
|
3334
3375
|
# @!attribute [rw] domain_owner
|
3335
|
-
# The 12-digit account number of the
|
3336
|
-
# It does not include dashes or spaces.
|
3376
|
+
# The 12-digit account number of the Amazon Web Services account that
|
3377
|
+
# owns the domain. It does not include dashes or spaces.
|
3337
3378
|
# @return [String]
|
3338
3379
|
#
|
3339
3380
|
# @!attribute [rw] repository
|
@@ -3347,7 +3388,7 @@ module Aws::CodeArtifact
|
|
3347
3388
|
# @!attribute [rw] upstreams
|
3348
3389
|
# A list of upstream repositories to associate with the repository.
|
3349
3390
|
# The order of the upstream repositories in the list determines their
|
3350
|
-
# priority order when
|
3391
|
+
# priority order when CodeArtifact looks for a requested package
|
3351
3392
|
# version. For more information, see [Working with upstream
|
3352
3393
|
# repositories][1].
|
3353
3394
|
#
|
@@ -3389,13 +3430,6 @@ module Aws::CodeArtifact
|
|
3389
3430
|
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateRepository.html
|
3390
3431
|
# [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdateRepository.html
|
3391
3432
|
#
|
3392
|
-
# @note When making an API call, you may pass UpstreamRepository
|
3393
|
-
# data as a hash:
|
3394
|
-
#
|
3395
|
-
# {
|
3396
|
-
# repository_name: "RepositoryName", # required
|
3397
|
-
# }
|
3398
|
-
#
|
3399
3433
|
# @!attribute [rw] repository_name
|
3400
3434
|
# The name of an upstream repository.
|
3401
3435
|
# @return [String]
|