aws-sdk-codeartifact 1.22.0 → 1.24.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-codeartifact/client.rb +16 -9
- data/lib/aws-sdk-codeartifact/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-codeartifact/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-codeartifact/types.rb +29 -464
- data/lib/aws-sdk-codeartifact.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d71a9136678bbb561bb56dd14922d0252b1bc0941b88f7051ebd451ab9acb58
|
4
|
+
data.tar.gz: e5df6d888421447cdb5bba403aefab8f6488ea6c630090261fe0f4026596f9d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f6d38d0aeb9367f5239bb91fcabd65a13cdcf2af49c766072395ac26e8a9b81367b95596c4a3362bd6fd917eb4a8aa50e34052a2c4ef87539522606555fe56d
|
7
|
+
data.tar.gz: 3bf06b33683ede7c44ec71d3d8a3fc3980b2779a30abbc32b8b1b9e05ecf11908fb999d13caa986082bf8e0a06e4a1ccf15c1eddc6ba092e434b8a9765c7eb88
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.24.0 (2023-01-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for CodeArtifact
|
8
|
+
|
9
|
+
1.23.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.22.0 (2022-10-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -120,4 +132,4 @@ Unreleased Changes
|
|
120
132
|
------------------
|
121
133
|
|
122
134
|
* Issue - This version has been yanked. (#2327).
|
123
|
-
* Feature - Initial release of `aws-sdk-codeartifact`.
|
135
|
+
* Feature - Initial release of `aws-sdk-codeartifact`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.24.0
|
@@ -392,6 +392,8 @@ module Aws::CodeArtifact
|
|
392
392
|
#
|
393
393
|
# * `public:npmjs` - for the npm public repository.
|
394
394
|
#
|
395
|
+
# * `public:nuget-org` - for the NuGet Gallery.
|
396
|
+
#
|
395
397
|
# * `public:pypi` - for the Python Package Index.
|
396
398
|
#
|
397
399
|
# * `public:maven-central` - for Maven Central.
|
@@ -807,7 +809,7 @@ module Aws::CodeArtifact
|
|
807
809
|
# version from your repository and be able to restore it later, set its
|
808
810
|
# status to `Archived`. Archived packages cannot be downloaded from a
|
809
811
|
# repository and don't show up with list package APIs (for example,
|
810
|
-
# [
|
812
|
+
# [ListPackageVersions][1]), but you can restore them using
|
811
813
|
# [UpdatePackageVersionsStatus][2].
|
812
814
|
#
|
813
815
|
#
|
@@ -1594,10 +1596,7 @@ module Aws::CodeArtifact
|
|
1594
1596
|
req.send_request(options, &block)
|
1595
1597
|
end
|
1596
1598
|
|
1597
|
-
# Gets the readme file or descriptive text for a package version.
|
1598
|
-
# packages that do not contain a readme file, CodeArtifact extracts a
|
1599
|
-
# description from a metadata file. For example, from the
|
1600
|
-
# `<description>` element in the `pom.xml` file of a Maven package.
|
1599
|
+
# Gets the readme file or descriptive text for a package version.
|
1601
1600
|
#
|
1602
1601
|
# The returned text might contain formatting. For example, it might
|
1603
1602
|
# contain formatting for Markdown or reStructuredText.
|
@@ -1618,6 +1617,11 @@ module Aws::CodeArtifact
|
|
1618
1617
|
# A format that specifies the type of the package version with the
|
1619
1618
|
# requested readme file.
|
1620
1619
|
#
|
1620
|
+
# <note markdown="1"> Although `maven` is listed as a valid value, CodeArtifact does not
|
1621
|
+
# support displaying readme files for Maven packages.
|
1622
|
+
#
|
1623
|
+
# </note>
|
1624
|
+
#
|
1621
1625
|
# @option params [String] :namespace
|
1622
1626
|
# The namespace of the package version with the requested readme file.
|
1623
1627
|
# The package version component that specifies its namespace depends on
|
@@ -2147,9 +2151,12 @@ module Aws::CodeArtifact
|
|
2147
2151
|
# provided format will be returned.
|
2148
2152
|
#
|
2149
2153
|
# @option params [String] :namespace
|
2150
|
-
# The namespace used to filter requested packages. Only packages
|
2151
|
-
#
|
2152
|
-
#
|
2154
|
+
# The namespace prefix used to filter requested packages. Only packages
|
2155
|
+
# with a namespace that starts with the provided string value are
|
2156
|
+
# returned. Note that although this option is called `--namespace` and
|
2157
|
+
# not `--namespace-prefix`, it has prefix-matching behavior.
|
2158
|
+
#
|
2159
|
+
# Each package format uses namespace as follows:
|
2153
2160
|
#
|
2154
2161
|
# * The namespace of a Maven package is its `groupId`.
|
2155
2162
|
#
|
@@ -2836,7 +2843,7 @@ module Aws::CodeArtifact
|
|
2836
2843
|
params: params,
|
2837
2844
|
config: config)
|
2838
2845
|
context[:gem_name] = 'aws-sdk-codeartifact'
|
2839
|
-
context[:gem_version] = '1.
|
2846
|
+
context[:gem_version] = '1.24.0'
|
2840
2847
|
Seahorse::Client::Request.new(handlers, context)
|
2841
2848
|
end
|
2842
2849
|
|
@@ -50,6 +50,9 @@ module Aws::CodeArtifact
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::CodeArtifact
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codeartifact-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codeartifact-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codeartifact.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codeartifact.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
-
dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
|
34
|
-
cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
|
35
|
-
dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
|
36
|
-
ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
|
37
|
-
ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWY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RyZWUiLCJydWxl
|
99
|
-
cyI6W3siY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
|
100
|
-
Oi8vY29kZWFydGlmYWN0LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVh
|
101
|
-
bFN0YWNrRG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
|
102
|
-
fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJy
|
103
|
-
b3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24g
|
104
|
-
ZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19
|
105
|
-
LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8v
|
106
|
-
Y29kZWFydGlmYWN0LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3Vm
|
107
|
-
Zml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJl
|
108
|
-
bmRwb2ludCJ9XX1dfQ==
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -48,16 +48,6 @@ 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]
|
@@ -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.
|
@@ -137,25 +129,6 @@ module Aws::CodeArtifact
|
|
137
129
|
include Aws::Structure
|
138
130
|
end
|
139
131
|
|
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
132
|
# @!attribute [rw] domain
|
160
133
|
# The name of the domain that contains the source and destination
|
161
134
|
# repositories.
|
@@ -288,20 +261,6 @@ module Aws::CodeArtifact
|
|
288
261
|
include Aws::Structure
|
289
262
|
end
|
290
263
|
|
291
|
-
# @note When making an API call, you may pass CreateDomainRequest
|
292
|
-
# data as a hash:
|
293
|
-
#
|
294
|
-
# {
|
295
|
-
# domain: "DomainName", # required
|
296
|
-
# encryption_key: "Arn",
|
297
|
-
# tags: [
|
298
|
-
# {
|
299
|
-
# key: "TagKey", # required
|
300
|
-
# value: "TagValue", # required
|
301
|
-
# },
|
302
|
-
# ],
|
303
|
-
# }
|
304
|
-
#
|
305
264
|
# @!attribute [rw] domain
|
306
265
|
# The name of the domain to create. All domain names in an Amazon Web
|
307
266
|
# Services Region that are in the same Amazon Web Services account
|
@@ -359,27 +318,6 @@ module Aws::CodeArtifact
|
|
359
318
|
include Aws::Structure
|
360
319
|
end
|
361
320
|
|
362
|
-
# @note When making an API call, you may pass CreateRepositoryRequest
|
363
|
-
# data as a hash:
|
364
|
-
#
|
365
|
-
# {
|
366
|
-
# domain: "DomainName", # required
|
367
|
-
# domain_owner: "AccountId",
|
368
|
-
# repository: "RepositoryName", # required
|
369
|
-
# description: "Description",
|
370
|
-
# upstreams: [
|
371
|
-
# {
|
372
|
-
# repository_name: "RepositoryName", # required
|
373
|
-
# },
|
374
|
-
# ],
|
375
|
-
# tags: [
|
376
|
-
# {
|
377
|
-
# key: "TagKey", # required
|
378
|
-
# value: "TagValue", # required
|
379
|
-
# },
|
380
|
-
# ],
|
381
|
-
# }
|
382
|
-
#
|
383
321
|
# @!attribute [rw] domain
|
384
322
|
# The name of the domain that contains the created repository.
|
385
323
|
# @return [String]
|
@@ -439,15 +377,6 @@ module Aws::CodeArtifact
|
|
439
377
|
include Aws::Structure
|
440
378
|
end
|
441
379
|
|
442
|
-
# @note When making an API call, you may pass DeleteDomainPermissionsPolicyRequest
|
443
|
-
# data as a hash:
|
444
|
-
#
|
445
|
-
# {
|
446
|
-
# domain: "DomainName", # required
|
447
|
-
# domain_owner: "AccountId",
|
448
|
-
# policy_revision: "PolicyRevision",
|
449
|
-
# }
|
450
|
-
#
|
451
380
|
# @!attribute [rw] domain
|
452
381
|
# The name of the domain associated with the resource policy to be
|
453
382
|
# deleted.
|
@@ -487,14 +416,6 @@ module Aws::CodeArtifact
|
|
487
416
|
include Aws::Structure
|
488
417
|
end
|
489
418
|
|
490
|
-
# @note When making an API call, you may pass DeleteDomainRequest
|
491
|
-
# data as a hash:
|
492
|
-
#
|
493
|
-
# {
|
494
|
-
# domain: "DomainName", # required
|
495
|
-
# domain_owner: "AccountId",
|
496
|
-
# }
|
497
|
-
#
|
498
419
|
# @!attribute [rw] domain
|
499
420
|
# The name of the domain to delete.
|
500
421
|
# @return [String]
|
@@ -526,20 +447,6 @@ module Aws::CodeArtifact
|
|
526
447
|
include Aws::Structure
|
527
448
|
end
|
528
449
|
|
529
|
-
# @note When making an API call, you may pass DeletePackageVersionsRequest
|
530
|
-
# data as a hash:
|
531
|
-
#
|
532
|
-
# {
|
533
|
-
# domain: "DomainName", # required
|
534
|
-
# domain_owner: "AccountId",
|
535
|
-
# repository: "RepositoryName", # required
|
536
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
537
|
-
# namespace: "PackageNamespace",
|
538
|
-
# package: "PackageName", # required
|
539
|
-
# versions: ["PackageVersion"], # required
|
540
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
541
|
-
# }
|
542
|
-
#
|
543
450
|
# @!attribute [rw] domain
|
544
451
|
# The name of the domain that contains the package to delete.
|
545
452
|
# @return [String]
|
@@ -632,16 +539,6 @@ module Aws::CodeArtifact
|
|
632
539
|
include Aws::Structure
|
633
540
|
end
|
634
541
|
|
635
|
-
# @note When making an API call, you may pass DeleteRepositoryPermissionsPolicyRequest
|
636
|
-
# data as a hash:
|
637
|
-
#
|
638
|
-
# {
|
639
|
-
# domain: "DomainName", # required
|
640
|
-
# domain_owner: "AccountId",
|
641
|
-
# repository: "RepositoryName", # required
|
642
|
-
# policy_revision: "PolicyRevision",
|
643
|
-
# }
|
644
|
-
#
|
645
542
|
# @!attribute [rw] domain
|
646
543
|
# The name of the domain that contains the repository associated with
|
647
544
|
# the resource policy to be deleted.
|
@@ -687,15 +584,6 @@ module Aws::CodeArtifact
|
|
687
584
|
include Aws::Structure
|
688
585
|
end
|
689
586
|
|
690
|
-
# @note When making an API call, you may pass DeleteRepositoryRequest
|
691
|
-
# data as a hash:
|
692
|
-
#
|
693
|
-
# {
|
694
|
-
# domain: "DomainName", # required
|
695
|
-
# domain_owner: "AccountId",
|
696
|
-
# repository: "RepositoryName", # required
|
697
|
-
# }
|
698
|
-
#
|
699
587
|
# @!attribute [rw] domain
|
700
588
|
# The name of the domain that contains the repository to delete.
|
701
589
|
# @return [String]
|
@@ -732,14 +620,6 @@ module Aws::CodeArtifact
|
|
732
620
|
include Aws::Structure
|
733
621
|
end
|
734
622
|
|
735
|
-
# @note When making an API call, you may pass DescribeDomainRequest
|
736
|
-
# data as a hash:
|
737
|
-
#
|
738
|
-
# {
|
739
|
-
# domain: "DomainName", # required
|
740
|
-
# domain_owner: "AccountId",
|
741
|
-
# }
|
742
|
-
#
|
743
623
|
# @!attribute [rw] domain
|
744
624
|
# A string that specifies the name of the requested domain.
|
745
625
|
# @return [String]
|
@@ -772,18 +652,6 @@ module Aws::CodeArtifact
|
|
772
652
|
include Aws::Structure
|
773
653
|
end
|
774
654
|
|
775
|
-
# @note When making an API call, you may pass DescribePackageRequest
|
776
|
-
# data as a hash:
|
777
|
-
#
|
778
|
-
# {
|
779
|
-
# domain: "DomainName", # required
|
780
|
-
# domain_owner: "AccountId",
|
781
|
-
# repository: "RepositoryName", # required
|
782
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
783
|
-
# namespace: "PackageNamespace",
|
784
|
-
# package: "PackageName", # required
|
785
|
-
# }
|
786
|
-
#
|
787
655
|
# @!attribute [rw] domain
|
788
656
|
# The name of the domain that contains the repository that contains
|
789
657
|
# the package.
|
@@ -849,19 +717,6 @@ module Aws::CodeArtifact
|
|
849
717
|
include Aws::Structure
|
850
718
|
end
|
851
719
|
|
852
|
-
# @note When making an API call, you may pass DescribePackageVersionRequest
|
853
|
-
# data as a hash:
|
854
|
-
#
|
855
|
-
# {
|
856
|
-
# domain: "DomainName", # required
|
857
|
-
# domain_owner: "AccountId",
|
858
|
-
# repository: "RepositoryName", # required
|
859
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
860
|
-
# namespace: "PackageNamespace",
|
861
|
-
# package: "PackageName", # required
|
862
|
-
# package_version: "PackageVersion", # required
|
863
|
-
# }
|
864
|
-
#
|
865
720
|
# @!attribute [rw] domain
|
866
721
|
# The name of the domain that contains the repository that contains
|
867
722
|
# the package version.
|
@@ -933,15 +788,6 @@ module Aws::CodeArtifact
|
|
933
788
|
include Aws::Structure
|
934
789
|
end
|
935
790
|
|
936
|
-
# @note When making an API call, you may pass DescribeRepositoryRequest
|
937
|
-
# data as a hash:
|
938
|
-
#
|
939
|
-
# {
|
940
|
-
# domain: "DomainName", # required
|
941
|
-
# domain_owner: "AccountId",
|
942
|
-
# repository: "RepositoryName", # required
|
943
|
-
# }
|
944
|
-
#
|
945
791
|
# @!attribute [rw] domain
|
946
792
|
# The name of the domain that contains the repository to describe.
|
947
793
|
# @return [String]
|
@@ -978,16 +824,6 @@ module Aws::CodeArtifact
|
|
978
824
|
include Aws::Structure
|
979
825
|
end
|
980
826
|
|
981
|
-
# @note When making an API call, you may pass DisassociateExternalConnectionRequest
|
982
|
-
# data as a hash:
|
983
|
-
#
|
984
|
-
# {
|
985
|
-
# domain: "DomainName", # required
|
986
|
-
# domain_owner: "AccountId",
|
987
|
-
# repository: "RepositoryName", # required
|
988
|
-
# external_connection: "ExternalConnectionName", # required
|
989
|
-
# }
|
990
|
-
#
|
991
827
|
# @!attribute [rw] domain
|
992
828
|
# The name of the domain that contains the repository from which to
|
993
829
|
# remove the external repository.
|
@@ -1031,23 +867,6 @@ module Aws::CodeArtifact
|
|
1031
867
|
include Aws::Structure
|
1032
868
|
end
|
1033
869
|
|
1034
|
-
# @note When making an API call, you may pass DisposePackageVersionsRequest
|
1035
|
-
# data as a hash:
|
1036
|
-
#
|
1037
|
-
# {
|
1038
|
-
# domain: "DomainName", # required
|
1039
|
-
# domain_owner: "AccountId",
|
1040
|
-
# repository: "RepositoryName", # required
|
1041
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1042
|
-
# namespace: "PackageNamespace",
|
1043
|
-
# package: "PackageName", # required
|
1044
|
-
# versions: ["PackageVersion"], # required
|
1045
|
-
# version_revisions: {
|
1046
|
-
# "PackageVersion" => "PackageVersionRevision",
|
1047
|
-
# },
|
1048
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
1049
|
-
# }
|
1050
|
-
#
|
1051
870
|
# @!attribute [rw] domain
|
1052
871
|
# The name of the domain that contains the repository you want to
|
1053
872
|
# dispose.
|
@@ -1277,15 +1096,6 @@ module Aws::CodeArtifact
|
|
1277
1096
|
include Aws::Structure
|
1278
1097
|
end
|
1279
1098
|
|
1280
|
-
# @note When making an API call, you may pass GetAuthorizationTokenRequest
|
1281
|
-
# data as a hash:
|
1282
|
-
#
|
1283
|
-
# {
|
1284
|
-
# domain: "DomainName", # required
|
1285
|
-
# domain_owner: "AccountId",
|
1286
|
-
# duration_seconds: 1,
|
1287
|
-
# }
|
1288
|
-
#
|
1289
1099
|
# @!attribute [rw] domain
|
1290
1100
|
# The name of the domain that is in scope for the generated
|
1291
1101
|
# authorization token.
|
@@ -1332,14 +1142,6 @@ module Aws::CodeArtifact
|
|
1332
1142
|
include Aws::Structure
|
1333
1143
|
end
|
1334
1144
|
|
1335
|
-
# @note When making an API call, you may pass GetDomainPermissionsPolicyRequest
|
1336
|
-
# data as a hash:
|
1337
|
-
#
|
1338
|
-
# {
|
1339
|
-
# domain: "DomainName", # required
|
1340
|
-
# domain_owner: "AccountId",
|
1341
|
-
# }
|
1342
|
-
#
|
1343
1145
|
# @!attribute [rw] domain
|
1344
1146
|
# The name of the domain to which the resource policy is attached.
|
1345
1147
|
# @return [String]
|
@@ -1370,21 +1172,6 @@ module Aws::CodeArtifact
|
|
1370
1172
|
include Aws::Structure
|
1371
1173
|
end
|
1372
1174
|
|
1373
|
-
# @note When making an API call, you may pass GetPackageVersionAssetRequest
|
1374
|
-
# data as a hash:
|
1375
|
-
#
|
1376
|
-
# {
|
1377
|
-
# domain: "DomainName", # required
|
1378
|
-
# domain_owner: "AccountId",
|
1379
|
-
# repository: "RepositoryName", # required
|
1380
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1381
|
-
# namespace: "PackageNamespace",
|
1382
|
-
# package: "PackageName", # required
|
1383
|
-
# package_version: "PackageVersion", # required
|
1384
|
-
# asset: "AssetName", # required
|
1385
|
-
# package_version_revision: "PackageVersionRevision",
|
1386
|
-
# }
|
1387
|
-
#
|
1388
1175
|
# @!attribute [rw] domain
|
1389
1176
|
# The name of the domain that contains the repository that contains
|
1390
1177
|
# the package version with the requested asset.
|
@@ -1480,19 +1267,6 @@ module Aws::CodeArtifact
|
|
1480
1267
|
include Aws::Structure
|
1481
1268
|
end
|
1482
1269
|
|
1483
|
-
# @note When making an API call, you may pass GetPackageVersionReadmeRequest
|
1484
|
-
# data as a hash:
|
1485
|
-
#
|
1486
|
-
# {
|
1487
|
-
# domain: "DomainName", # required
|
1488
|
-
# domain_owner: "AccountId",
|
1489
|
-
# repository: "RepositoryName", # required
|
1490
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1491
|
-
# namespace: "PackageNamespace",
|
1492
|
-
# package: "PackageName", # required
|
1493
|
-
# package_version: "PackageVersion", # required
|
1494
|
-
# }
|
1495
|
-
#
|
1496
1270
|
# @!attribute [rw] domain
|
1497
1271
|
# The name of the domain that contains the repository that contains
|
1498
1272
|
# the package version with the requested readme file.
|
@@ -1511,6 +1285,11 @@ module Aws::CodeArtifact
|
|
1511
1285
|
# @!attribute [rw] format
|
1512
1286
|
# A format that specifies the type of the package version with the
|
1513
1287
|
# requested readme file.
|
1288
|
+
#
|
1289
|
+
# <note markdown="1"> Although `maven` is listed as a valid value, CodeArtifact does not
|
1290
|
+
# support displaying readme files for Maven packages.
|
1291
|
+
#
|
1292
|
+
# </note>
|
1514
1293
|
# @return [String]
|
1515
1294
|
#
|
1516
1295
|
# @!attribute [rw] namespace
|
@@ -1597,16 +1376,6 @@ module Aws::CodeArtifact
|
|
1597
1376
|
include Aws::Structure
|
1598
1377
|
end
|
1599
1378
|
|
1600
|
-
# @note When making an API call, you may pass GetRepositoryEndpointRequest
|
1601
|
-
# data as a hash:
|
1602
|
-
#
|
1603
|
-
# {
|
1604
|
-
# domain: "DomainName", # required
|
1605
|
-
# domain_owner: "AccountId",
|
1606
|
-
# repository: "RepositoryName", # required
|
1607
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1608
|
-
# }
|
1609
|
-
#
|
1610
1379
|
# @!attribute [rw] domain
|
1611
1380
|
# The name of the domain that contains the repository.
|
1612
1381
|
# @return [String]
|
@@ -1649,15 +1418,6 @@ module Aws::CodeArtifact
|
|
1649
1418
|
include Aws::Structure
|
1650
1419
|
end
|
1651
1420
|
|
1652
|
-
# @note When making an API call, you may pass GetRepositoryPermissionsPolicyRequest
|
1653
|
-
# data as a hash:
|
1654
|
-
#
|
1655
|
-
# {
|
1656
|
-
# domain: "DomainName", # required
|
1657
|
-
# domain_owner: "AccountId",
|
1658
|
-
# repository: "RepositoryName", # required
|
1659
|
-
# }
|
1660
|
-
#
|
1661
1421
|
# @!attribute [rw] domain
|
1662
1422
|
# The name of the domain containing the repository whose associated
|
1663
1423
|
# resource policy is to be retrieved.
|
@@ -1728,14 +1488,6 @@ module Aws::CodeArtifact
|
|
1728
1488
|
include Aws::Structure
|
1729
1489
|
end
|
1730
1490
|
|
1731
|
-
# @note When making an API call, you may pass ListDomainsRequest
|
1732
|
-
# data as a hash:
|
1733
|
-
#
|
1734
|
-
# {
|
1735
|
-
# max_results: 1,
|
1736
|
-
# next_token: "PaginationToken",
|
1737
|
-
# }
|
1738
|
-
#
|
1739
1491
|
# @!attribute [rw] max_results
|
1740
1492
|
# The maximum number of results to return per page.
|
1741
1493
|
# @return [Integer]
|
@@ -1778,21 +1530,6 @@ module Aws::CodeArtifact
|
|
1778
1530
|
include Aws::Structure
|
1779
1531
|
end
|
1780
1532
|
|
1781
|
-
# @note When making an API call, you may pass ListPackageVersionAssetsRequest
|
1782
|
-
# data as a hash:
|
1783
|
-
#
|
1784
|
-
# {
|
1785
|
-
# domain: "DomainName", # required
|
1786
|
-
# domain_owner: "AccountId",
|
1787
|
-
# repository: "RepositoryName", # required
|
1788
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1789
|
-
# namespace: "PackageNamespace",
|
1790
|
-
# package: "PackageName", # required
|
1791
|
-
# package_version: "PackageVersion", # required
|
1792
|
-
# max_results: 1,
|
1793
|
-
# next_token: "PaginationToken",
|
1794
|
-
# }
|
1795
|
-
#
|
1796
1533
|
# @!attribute [rw] domain
|
1797
1534
|
# The name of the domain that contains the repository associated with
|
1798
1535
|
# the package version assets.
|
@@ -1921,20 +1658,6 @@ module Aws::CodeArtifact
|
|
1921
1658
|
include Aws::Structure
|
1922
1659
|
end
|
1923
1660
|
|
1924
|
-
# @note When making an API call, you may pass ListPackageVersionDependenciesRequest
|
1925
|
-
# data as a hash:
|
1926
|
-
#
|
1927
|
-
# {
|
1928
|
-
# domain: "DomainName", # required
|
1929
|
-
# domain_owner: "AccountId",
|
1930
|
-
# repository: "RepositoryName", # required
|
1931
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1932
|
-
# namespace: "PackageNamespace",
|
1933
|
-
# package: "PackageName", # required
|
1934
|
-
# package_version: "PackageVersion", # required
|
1935
|
-
# next_token: "PaginationToken",
|
1936
|
-
# }
|
1937
|
-
#
|
1938
1661
|
# @!attribute [rw] domain
|
1939
1662
|
# The name of the domain that contains the repository that contains
|
1940
1663
|
# the requested package version dependencies.
|
@@ -2057,23 +1780,6 @@ module Aws::CodeArtifact
|
|
2057
1780
|
include Aws::Structure
|
2058
1781
|
end
|
2059
1782
|
|
2060
|
-
# @note When making an API call, you may pass ListPackageVersionsRequest
|
2061
|
-
# data as a hash:
|
2062
|
-
#
|
2063
|
-
# {
|
2064
|
-
# domain: "DomainName", # required
|
2065
|
-
# domain_owner: "AccountId",
|
2066
|
-
# repository: "RepositoryName", # required
|
2067
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
2068
|
-
# namespace: "PackageNamespace",
|
2069
|
-
# package: "PackageName", # required
|
2070
|
-
# status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
2071
|
-
# sort_by: "PUBLISHED_TIME", # accepts PUBLISHED_TIME
|
2072
|
-
# max_results: 1,
|
2073
|
-
# next_token: "PaginationToken",
|
2074
|
-
# origin_type: "INTERNAL", # accepts INTERNAL, EXTERNAL, UNKNOWN
|
2075
|
-
# }
|
2076
|
-
#
|
2077
1783
|
# @!attribute [rw] domain
|
2078
1784
|
# The name of the domain that contains the repository that contains
|
2079
1785
|
# the requested package versions.
|
@@ -2211,22 +1917,6 @@ module Aws::CodeArtifact
|
|
2211
1917
|
include Aws::Structure
|
2212
1918
|
end
|
2213
1919
|
|
2214
|
-
# @note When making an API call, you may pass ListPackagesRequest
|
2215
|
-
# data as a hash:
|
2216
|
-
#
|
2217
|
-
# {
|
2218
|
-
# domain: "DomainName", # required
|
2219
|
-
# domain_owner: "AccountId",
|
2220
|
-
# repository: "RepositoryName", # required
|
2221
|
-
# format: "npm", # accepts npm, pypi, maven, nuget
|
2222
|
-
# namespace: "PackageNamespace",
|
2223
|
-
# package_prefix: "PackageName",
|
2224
|
-
# max_results: 1,
|
2225
|
-
# next_token: "PaginationToken",
|
2226
|
-
# publish: "ALLOW", # accepts ALLOW, BLOCK
|
2227
|
-
# upstream: "ALLOW", # accepts ALLOW, BLOCK
|
2228
|
-
# }
|
2229
|
-
#
|
2230
1920
|
# @!attribute [rw] domain
|
2231
1921
|
# The name of the domain that contains the repository that contains
|
2232
1922
|
# the requested packages.
|
@@ -2247,9 +1937,12 @@ module Aws::CodeArtifact
|
|
2247
1937
|
# @return [String]
|
2248
1938
|
#
|
2249
1939
|
# @!attribute [rw] namespace
|
2250
|
-
# The namespace used to filter requested packages. Only
|
2251
|
-
#
|
2252
|
-
#
|
1940
|
+
# The namespace prefix used to filter requested packages. Only
|
1941
|
+
# packages with a namespace that starts with the provided string value
|
1942
|
+
# are returned. Note that although this option is called `--namespace`
|
1943
|
+
# and not `--namespace-prefix`, it has prefix-matching behavior.
|
1944
|
+
#
|
1945
|
+
# Each package format uses namespace as follows:
|
2253
1946
|
#
|
2254
1947
|
# * The namespace of a Maven package is its `groupId`.
|
2255
1948
|
#
|
@@ -2335,18 +2028,6 @@ module Aws::CodeArtifact
|
|
2335
2028
|
include Aws::Structure
|
2336
2029
|
end
|
2337
2030
|
|
2338
|
-
# @note When making an API call, you may pass ListRepositoriesInDomainRequest
|
2339
|
-
# data as a hash:
|
2340
|
-
#
|
2341
|
-
# {
|
2342
|
-
# domain: "DomainName", # required
|
2343
|
-
# domain_owner: "AccountId",
|
2344
|
-
# administrator_account: "AccountId",
|
2345
|
-
# repository_prefix: "RepositoryName",
|
2346
|
-
# max_results: 1,
|
2347
|
-
# next_token: "PaginationToken",
|
2348
|
-
# }
|
2349
|
-
#
|
2350
2031
|
# @!attribute [rw] domain
|
2351
2032
|
# The name of the domain that contains the returned list of
|
2352
2033
|
# repositories.
|
@@ -2408,15 +2089,6 @@ module Aws::CodeArtifact
|
|
2408
2089
|
include Aws::Structure
|
2409
2090
|
end
|
2410
2091
|
|
2411
|
-
# @note When making an API call, you may pass ListRepositoriesRequest
|
2412
|
-
# data as a hash:
|
2413
|
-
#
|
2414
|
-
# {
|
2415
|
-
# repository_prefix: "RepositoryName",
|
2416
|
-
# max_results: 1,
|
2417
|
-
# next_token: "PaginationToken",
|
2418
|
-
# }
|
2419
|
-
#
|
2420
2092
|
# @!attribute [rw] repository_prefix
|
2421
2093
|
# A prefix used to filter returned repositories. Only repositories
|
2422
2094
|
# with names that start with `repositoryPrefix` are returned.
|
@@ -2464,13 +2136,6 @@ module Aws::CodeArtifact
|
|
2464
2136
|
include Aws::Structure
|
2465
2137
|
end
|
2466
2138
|
|
2467
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2468
|
-
# data as a hash:
|
2469
|
-
#
|
2470
|
-
# {
|
2471
|
-
# resource_arn: "Arn", # required
|
2472
|
-
# }
|
2473
|
-
#
|
2474
2139
|
# @!attribute [rw] resource_arn
|
2475
2140
|
# The Amazon Resource Name (ARN) of the resource to get tags for.
|
2476
2141
|
# @return [String]
|
@@ -2517,8 +2182,22 @@ module Aws::CodeArtifact
|
|
2517
2182
|
#
|
2518
2183
|
# @!attribute [rw] dependency_type
|
2519
2184
|
# The type of a package dependency. The possible values depend on the
|
2520
|
-
# package type.
|
2521
|
-
#
|
2185
|
+
# package type.
|
2186
|
+
#
|
2187
|
+
# * npm: `regular`, `dev`, `peer`, `optional`
|
2188
|
+
#
|
2189
|
+
# * maven: `optional`, `parent`, `compile`, `runtime`, `test`,
|
2190
|
+
# `system`, `provided`.
|
2191
|
+
#
|
2192
|
+
# <note markdown="1"> Note that `parent` is not a regular Maven dependency type; instead
|
2193
|
+
# this is extracted from the `<parent>` element if one is defined in
|
2194
|
+
# the package version's POM file.
|
2195
|
+
#
|
2196
|
+
# </note>
|
2197
|
+
#
|
2198
|
+
# * nuget: The `dependencyType` field is never set for NuGet packages.
|
2199
|
+
#
|
2200
|
+
# * pypi: `Requires-Dist`
|
2522
2201
|
# @return [String]
|
2523
2202
|
#
|
2524
2203
|
# @!attribute [rw] version_requirement
|
@@ -2596,14 +2275,6 @@ module Aws::CodeArtifact
|
|
2596
2275
|
# origin restrictions determine how new versions of a package can be
|
2597
2276
|
# added to a specific repository.
|
2598
2277
|
#
|
2599
|
-
# @note When making an API call, you may pass PackageOriginRestrictions
|
2600
|
-
# data as a hash:
|
2601
|
-
#
|
2602
|
-
# {
|
2603
|
-
# publish: "ALLOW", # required, accepts ALLOW, BLOCK
|
2604
|
-
# upstream: "ALLOW", # required, accepts ALLOW, BLOCK
|
2605
|
-
# }
|
2606
|
-
#
|
2607
2278
|
# @!attribute [rw] publish
|
2608
2279
|
# The package origin configuration that determines if new versions of
|
2609
2280
|
# the package can be published directly to the repository.
|
@@ -2870,16 +2541,6 @@ module Aws::CodeArtifact
|
|
2870
2541
|
include Aws::Structure
|
2871
2542
|
end
|
2872
2543
|
|
2873
|
-
# @note When making an API call, you may pass PutDomainPermissionsPolicyRequest
|
2874
|
-
# data as a hash:
|
2875
|
-
#
|
2876
|
-
# {
|
2877
|
-
# domain: "DomainName", # required
|
2878
|
-
# domain_owner: "AccountId",
|
2879
|
-
# policy_revision: "PolicyRevision",
|
2880
|
-
# policy_document: "PolicyDocument", # required
|
2881
|
-
# }
|
2882
|
-
#
|
2883
2544
|
# @!attribute [rw] domain
|
2884
2545
|
# The name of the domain on which to set the resource policy.
|
2885
2546
|
# @return [String]
|
@@ -2923,22 +2584,6 @@ module Aws::CodeArtifact
|
|
2923
2584
|
include Aws::Structure
|
2924
2585
|
end
|
2925
2586
|
|
2926
|
-
# @note When making an API call, you may pass PutPackageOriginConfigurationRequest
|
2927
|
-
# data as a hash:
|
2928
|
-
#
|
2929
|
-
# {
|
2930
|
-
# domain: "DomainName", # required
|
2931
|
-
# domain_owner: "AccountId",
|
2932
|
-
# repository: "RepositoryName", # required
|
2933
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
2934
|
-
# namespace: "PackageNamespace",
|
2935
|
-
# package: "PackageName", # required
|
2936
|
-
# restrictions: { # required
|
2937
|
-
# publish: "ALLOW", # required, accepts ALLOW, BLOCK
|
2938
|
-
# upstream: "ALLOW", # required, accepts ALLOW, BLOCK
|
2939
|
-
# },
|
2940
|
-
# }
|
2941
|
-
#
|
2942
2587
|
# @!attribute [rw] domain
|
2943
2588
|
# The name of the domain that contains the repository that contains
|
2944
2589
|
# the package.
|
@@ -3023,17 +2668,6 @@ module Aws::CodeArtifact
|
|
3023
2668
|
include Aws::Structure
|
3024
2669
|
end
|
3025
2670
|
|
3026
|
-
# @note When making an API call, you may pass PutRepositoryPermissionsPolicyRequest
|
3027
|
-
# data as a hash:
|
3028
|
-
#
|
3029
|
-
# {
|
3030
|
-
# domain: "DomainName", # required
|
3031
|
-
# domain_owner: "AccountId",
|
3032
|
-
# repository: "RepositoryName", # required
|
3033
|
-
# policy_revision: "PolicyRevision",
|
3034
|
-
# policy_document: "PolicyDocument", # required
|
3035
|
-
# }
|
3036
|
-
#
|
3037
2671
|
# @!attribute [rw] domain
|
3038
2672
|
# The name of the domain containing the repository to set the resource
|
3039
2673
|
# policy on.
|
@@ -3326,14 +2960,6 @@ module Aws::CodeArtifact
|
|
3326
2960
|
# A tag is a key-value pair that can be used to manage, search for, or
|
3327
2961
|
# filter resources in CodeArtifact.
|
3328
2962
|
#
|
3329
|
-
# @note When making an API call, you may pass Tag
|
3330
|
-
# data as a hash:
|
3331
|
-
#
|
3332
|
-
# {
|
3333
|
-
# key: "TagKey", # required
|
3334
|
-
# value: "TagValue", # required
|
3335
|
-
# }
|
3336
|
-
#
|
3337
2963
|
# @!attribute [rw] key
|
3338
2964
|
# The tag key.
|
3339
2965
|
# @return [String]
|
@@ -3351,19 +2977,6 @@ module Aws::CodeArtifact
|
|
3351
2977
|
include Aws::Structure
|
3352
2978
|
end
|
3353
2979
|
|
3354
|
-
# @note When making an API call, you may pass TagResourceRequest
|
3355
|
-
# data as a hash:
|
3356
|
-
#
|
3357
|
-
# {
|
3358
|
-
# resource_arn: "Arn", # required
|
3359
|
-
# tags: [ # required
|
3360
|
-
# {
|
3361
|
-
# key: "TagKey", # required
|
3362
|
-
# value: "TagValue", # required
|
3363
|
-
# },
|
3364
|
-
# ],
|
3365
|
-
# }
|
3366
|
-
#
|
3367
2980
|
# @!attribute [rw] resource_arn
|
3368
2981
|
# The Amazon Resource Name (ARN) of the resource that you want to add
|
3369
2982
|
# or update tags for.
|
@@ -3405,14 +3018,6 @@ module Aws::CodeArtifact
|
|
3405
3018
|
include Aws::Structure
|
3406
3019
|
end
|
3407
3020
|
|
3408
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
3409
|
-
# data as a hash:
|
3410
|
-
#
|
3411
|
-
# {
|
3412
|
-
# resource_arn: "Arn", # required
|
3413
|
-
# tag_keys: ["TagKey"], # required
|
3414
|
-
# }
|
3415
|
-
#
|
3416
3021
|
# @!attribute [rw] resource_arn
|
3417
3022
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
3418
3023
|
# remove tags from.
|
@@ -3435,24 +3040,6 @@ module Aws::CodeArtifact
|
|
3435
3040
|
#
|
3436
3041
|
class UntagResourceResult < Aws::EmptyStructure; end
|
3437
3042
|
|
3438
|
-
# @note When making an API call, you may pass UpdatePackageVersionsStatusRequest
|
3439
|
-
# data as a hash:
|
3440
|
-
#
|
3441
|
-
# {
|
3442
|
-
# domain: "DomainName", # required
|
3443
|
-
# domain_owner: "AccountId",
|
3444
|
-
# repository: "RepositoryName", # required
|
3445
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
3446
|
-
# namespace: "PackageNamespace",
|
3447
|
-
# package: "PackageName", # required
|
3448
|
-
# versions: ["PackageVersion"], # required
|
3449
|
-
# version_revisions: {
|
3450
|
-
# "PackageVersion" => "PackageVersionRevision",
|
3451
|
-
# },
|
3452
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
3453
|
-
# target_status: "Published", # required, accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
3454
|
-
# }
|
3455
|
-
#
|
3456
3043
|
# @!attribute [rw] domain
|
3457
3044
|
# The name of the domain that contains the repository that contains
|
3458
3045
|
# the package versions with a status to be updated.
|
@@ -3549,21 +3136,6 @@ module Aws::CodeArtifact
|
|
3549
3136
|
include Aws::Structure
|
3550
3137
|
end
|
3551
3138
|
|
3552
|
-
# @note When making an API call, you may pass UpdateRepositoryRequest
|
3553
|
-
# data as a hash:
|
3554
|
-
#
|
3555
|
-
# {
|
3556
|
-
# domain: "DomainName", # required
|
3557
|
-
# domain_owner: "AccountId",
|
3558
|
-
# repository: "RepositoryName", # required
|
3559
|
-
# description: "Description",
|
3560
|
-
# upstreams: [
|
3561
|
-
# {
|
3562
|
-
# repository_name: "RepositoryName", # required
|
3563
|
-
# },
|
3564
|
-
# ],
|
3565
|
-
# }
|
3566
|
-
#
|
3567
3139
|
# @!attribute [rw] domain
|
3568
3140
|
# The name of the domain associated with the repository to update.
|
3569
3141
|
# @return [String]
|
@@ -3626,13 +3198,6 @@ module Aws::CodeArtifact
|
|
3626
3198
|
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateRepository.html
|
3627
3199
|
# [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdateRepository.html
|
3628
3200
|
#
|
3629
|
-
# @note When making an API call, you may pass UpstreamRepository
|
3630
|
-
# data as a hash:
|
3631
|
-
#
|
3632
|
-
# {
|
3633
|
-
# repository_name: "RepositoryName", # required
|
3634
|
-
# }
|
3635
|
-
#
|
3636
3201
|
# @!attribute [rw] repository_name
|
3637
3202
|
# The name of an upstream repository.
|
3638
3203
|
# @return [String]
|
data/lib/aws-sdk-codeartifact.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codeartifact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|