aws-sdk-codeartifact 1.3.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-codeartifact.rb +2 -2
- data/lib/aws-sdk-codeartifact/client.rb +232 -36
- data/lib/aws-sdk-codeartifact/client_api.rb +79 -2
- data/lib/aws-sdk-codeartifact/errors.rb +1 -1
- data/lib/aws-sdk-codeartifact/resource.rb +1 -1
- data/lib/aws-sdk-codeartifact/types.rb +267 -19
- metadata +8 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb8564bc0aaf79811e85e4df19e5c242aff12c56c1911c2e75e774f763b44be4
|
|
4
|
+
data.tar.gz: ed3d4e0cf80c01fc04384f2605932e4c9c88b64c8d4cc609cb3fff24e48625e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ebc5e451ad6794d5016a88563500ef21f89a32f6f82d8db317fae63c283cae62f4ca9451017b787978e3736f73f8acbf2b0a3dcbfdc44c6fa588a111875feed
|
|
7
|
+
data.tar.gz: 218a990e0136b3c59d73d9340c99396a05693e204ac84f9d8dee275083a997254305cd4704b6c11b8e82f8eb15f39a41cf2080828ea21cf3f4331e23f5dace6e
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Unreleased Changes
|
|
2
|
+
------------------
|
|
3
|
+
|
|
4
|
+
1.8.0 (2021-03-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.7.0 (2021-02-02)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.6.0 (2020-11-23)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Add support for the NuGet package format.
|
|
18
|
+
|
|
19
|
+
1.5.0 (2020-10-29)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Add support for tagging of CodeArtifact domain and repository resources.
|
|
23
|
+
|
|
24
|
+
1.4.0 (2020-09-30)
|
|
25
|
+
------------------
|
|
26
|
+
|
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
28
|
+
|
|
29
|
+
1.3.0 (2020-09-15)
|
|
30
|
+
------------------
|
|
31
|
+
|
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
33
|
+
|
|
34
|
+
1.2.0 (2020-08-25)
|
|
35
|
+
------------------
|
|
36
|
+
|
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
38
|
+
|
|
39
|
+
1.1.0 (2020-06-23)
|
|
40
|
+
------------------
|
|
41
|
+
|
|
42
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
43
|
+
|
|
44
|
+
1.0.1 (2020-06-11)
|
|
45
|
+
------------------
|
|
46
|
+
|
|
47
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
|
48
|
+
|
|
49
|
+
1.0.0 (2020-06-10)
|
|
50
|
+
------------------
|
|
51
|
+
|
|
52
|
+
* Issue - This version has been yanked. (#2327).
|
|
53
|
+
* Feature - Initial release of `aws-sdk-codeartifact`.
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.8.0
|
data/lib/aws-sdk-codeartifact.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-codeartifact/customizations'
|
|
|
48
48
|
# @!group service
|
|
49
49
|
module Aws::CodeArtifact
|
|
50
50
|
|
|
51
|
-
GEM_VERSION = '1.
|
|
51
|
+
GEM_VERSION = '1.8.0'
|
|
52
52
|
|
|
53
53
|
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -361,6 +361,8 @@ module Aws::CodeArtifact
|
|
|
361
361
|
#
|
|
362
362
|
# * `public:maven-commonsware` - for the CommonsWare Android repository.
|
|
363
363
|
#
|
|
364
|
+
# * `public:nuget-org` - for the NuGet Gallery.
|
|
365
|
+
#
|
|
364
366
|
# @return [Types::AssociateExternalConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
365
367
|
#
|
|
366
368
|
# * {Types::AssociateExternalConnectionResult#repository #repository} => Types::RepositoryDescription
|
|
@@ -386,7 +388,7 @@ module Aws::CodeArtifact
|
|
|
386
388
|
# resp.repository.upstreams[0].repository_name #=> String
|
|
387
389
|
# resp.repository.external_connections #=> Array
|
|
388
390
|
# resp.repository.external_connections[0].external_connection_name #=> String
|
|
389
|
-
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
|
|
391
|
+
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
390
392
|
# resp.repository.external_connections[0].status #=> String, one of "Available"
|
|
391
393
|
#
|
|
392
394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnection AWS API Documentation
|
|
@@ -430,6 +432,8 @@ module Aws::CodeArtifact
|
|
|
430
432
|
# * `maven`\: A Maven package that contains compiled code in a
|
|
431
433
|
# distributable format, such as a JAR file.
|
|
432
434
|
#
|
|
435
|
+
# * `nuget`\: A NuGet package.
|
|
436
|
+
#
|
|
433
437
|
# @option params [String] :namespace
|
|
434
438
|
# The namespace of the package. The package component that specifies its
|
|
435
439
|
# namespace depends on its type. For example:
|
|
@@ -441,6 +445,9 @@ module Aws::CodeArtifact
|
|
|
441
445
|
# * A Python package does not contain a corresponding component, so
|
|
442
446
|
# Python packages do not have a namespace.
|
|
443
447
|
#
|
|
448
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
449
|
+
# packages do not have a namespace.
|
|
450
|
+
#
|
|
444
451
|
# @option params [required, String] :package
|
|
445
452
|
# The name of the package that is copied.
|
|
446
453
|
#
|
|
@@ -492,7 +499,7 @@ module Aws::CodeArtifact
|
|
|
492
499
|
# domain_owner: "AccountId",
|
|
493
500
|
# source_repository: "RepositoryName", # required
|
|
494
501
|
# destination_repository: "RepositoryName", # required
|
|
495
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
502
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
496
503
|
# namespace: "PackageNamespace",
|
|
497
504
|
# package: "PackageName", # required
|
|
498
505
|
# versions: ["PackageVersion"],
|
|
@@ -560,6 +567,9 @@ module Aws::CodeArtifact
|
|
|
560
567
|
# [2]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
|
|
561
568
|
# [3]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
|
|
562
569
|
#
|
|
570
|
+
# @option params [Array<Types::Tag>] :tags
|
|
571
|
+
# One or more tag key-value pairs for the domain.
|
|
572
|
+
#
|
|
563
573
|
# @return [Types::CreateDomainResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
564
574
|
#
|
|
565
575
|
# * {Types::CreateDomainResult#domain #domain} => Types::DomainDescription
|
|
@@ -569,6 +579,12 @@ module Aws::CodeArtifact
|
|
|
569
579
|
# resp = client.create_domain({
|
|
570
580
|
# domain: "DomainName", # required
|
|
571
581
|
# encryption_key: "Arn",
|
|
582
|
+
# tags: [
|
|
583
|
+
# {
|
|
584
|
+
# key: "TagKey", # required
|
|
585
|
+
# value: "TagValue", # required
|
|
586
|
+
# },
|
|
587
|
+
# ],
|
|
572
588
|
# })
|
|
573
589
|
#
|
|
574
590
|
# @example Response structure
|
|
@@ -581,6 +597,7 @@ module Aws::CodeArtifact
|
|
|
581
597
|
# resp.domain.encryption_key #=> String
|
|
582
598
|
# resp.domain.repository_count #=> Integer
|
|
583
599
|
# resp.domain.asset_size_bytes #=> Integer
|
|
600
|
+
# resp.domain.s3_bucket_arn #=> String
|
|
584
601
|
#
|
|
585
602
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomain AWS API Documentation
|
|
586
603
|
#
|
|
@@ -617,6 +634,9 @@ module Aws::CodeArtifact
|
|
|
617
634
|
#
|
|
618
635
|
# [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html
|
|
619
636
|
#
|
|
637
|
+
# @option params [Array<Types::Tag>] :tags
|
|
638
|
+
# One or more tag key-value pairs for the repository.
|
|
639
|
+
#
|
|
620
640
|
# @return [Types::CreateRepositoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
621
641
|
#
|
|
622
642
|
# * {Types::CreateRepositoryResult#repository #repository} => Types::RepositoryDescription
|
|
@@ -633,6 +653,12 @@ module Aws::CodeArtifact
|
|
|
633
653
|
# repository_name: "RepositoryName", # required
|
|
634
654
|
# },
|
|
635
655
|
# ],
|
|
656
|
+
# tags: [
|
|
657
|
+
# {
|
|
658
|
+
# key: "TagKey", # required
|
|
659
|
+
# value: "TagValue", # required
|
|
660
|
+
# },
|
|
661
|
+
# ],
|
|
636
662
|
# })
|
|
637
663
|
#
|
|
638
664
|
# @example Response structure
|
|
@@ -647,7 +673,7 @@ module Aws::CodeArtifact
|
|
|
647
673
|
# resp.repository.upstreams[0].repository_name #=> String
|
|
648
674
|
# resp.repository.external_connections #=> Array
|
|
649
675
|
# resp.repository.external_connections[0].external_connection_name #=> String
|
|
650
|
-
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
|
|
676
|
+
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
651
677
|
# resp.repository.external_connections[0].status #=> String, one of "Available"
|
|
652
678
|
#
|
|
653
679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepository AWS API Documentation
|
|
@@ -691,6 +717,7 @@ module Aws::CodeArtifact
|
|
|
691
717
|
# resp.domain.encryption_key #=> String
|
|
692
718
|
# resp.domain.repository_count #=> Integer
|
|
693
719
|
# resp.domain.asset_size_bytes #=> Integer
|
|
720
|
+
# resp.domain.s3_bucket_arn #=> String
|
|
694
721
|
#
|
|
695
722
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomain AWS API Documentation
|
|
696
723
|
#
|
|
@@ -771,6 +798,8 @@ module Aws::CodeArtifact
|
|
|
771
798
|
#
|
|
772
799
|
# * `maven`
|
|
773
800
|
#
|
|
801
|
+
# * `nuget`
|
|
802
|
+
#
|
|
774
803
|
# @option params [String] :namespace
|
|
775
804
|
# The namespace of the package. The package component that specifies its
|
|
776
805
|
# namespace depends on its type. For example:
|
|
@@ -782,6 +811,9 @@ module Aws::CodeArtifact
|
|
|
782
811
|
# * A Python package does not contain a corresponding component, so
|
|
783
812
|
# Python packages do not have a namespace.
|
|
784
813
|
#
|
|
814
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
815
|
+
# packages do not have a namespace.
|
|
816
|
+
#
|
|
785
817
|
# @option params [required, String] :package
|
|
786
818
|
# The name of the package with the versions to delete.
|
|
787
819
|
#
|
|
@@ -814,7 +846,7 @@ module Aws::CodeArtifact
|
|
|
814
846
|
# domain: "DomainName", # required
|
|
815
847
|
# domain_owner: "AccountId",
|
|
816
848
|
# repository: "RepositoryName", # required
|
|
817
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
849
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
818
850
|
# namespace: "PackageNamespace",
|
|
819
851
|
# package: "PackageName", # required
|
|
820
852
|
# versions: ["PackageVersion"], # required
|
|
@@ -875,7 +907,7 @@ module Aws::CodeArtifact
|
|
|
875
907
|
# resp.repository.upstreams[0].repository_name #=> String
|
|
876
908
|
# resp.repository.external_connections #=> Array
|
|
877
909
|
# resp.repository.external_connections[0].external_connection_name #=> String
|
|
878
|
-
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
|
|
910
|
+
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
879
911
|
# resp.repository.external_connections[0].status #=> String, one of "Available"
|
|
880
912
|
#
|
|
881
913
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepository AWS API Documentation
|
|
@@ -977,6 +1009,7 @@ module Aws::CodeArtifact
|
|
|
977
1009
|
# resp.domain.encryption_key #=> String
|
|
978
1010
|
# resp.domain.repository_count #=> Integer
|
|
979
1011
|
# resp.domain.asset_size_bytes #=> Integer
|
|
1012
|
+
# resp.domain.s3_bucket_arn #=> String
|
|
980
1013
|
#
|
|
981
1014
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeDomain AWS API Documentation
|
|
982
1015
|
#
|
|
@@ -1015,6 +1048,8 @@ module Aws::CodeArtifact
|
|
|
1015
1048
|
#
|
|
1016
1049
|
# * `maven`
|
|
1017
1050
|
#
|
|
1051
|
+
# * `nuget`
|
|
1052
|
+
#
|
|
1018
1053
|
# @option params [String] :namespace
|
|
1019
1054
|
# The namespace of the package. The package component that specifies its
|
|
1020
1055
|
# namespace depends on its type. For example:
|
|
@@ -1026,6 +1061,9 @@ module Aws::CodeArtifact
|
|
|
1026
1061
|
# * A Python package does not contain a corresponding component, so
|
|
1027
1062
|
# Python packages do not have a namespace.
|
|
1028
1063
|
#
|
|
1064
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
1065
|
+
# packages do not have a namespace.
|
|
1066
|
+
#
|
|
1029
1067
|
# @option params [required, String] :package
|
|
1030
1068
|
# The name of the requested package version.
|
|
1031
1069
|
#
|
|
@@ -1042,7 +1080,7 @@ module Aws::CodeArtifact
|
|
|
1042
1080
|
# domain: "DomainName", # required
|
|
1043
1081
|
# domain_owner: "AccountId",
|
|
1044
1082
|
# repository: "RepositoryName", # required
|
|
1045
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1083
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1046
1084
|
# namespace: "PackageNamespace",
|
|
1047
1085
|
# package: "PackageName", # required
|
|
1048
1086
|
# package_version: "PackageVersion", # required
|
|
@@ -1050,7 +1088,7 @@ module Aws::CodeArtifact
|
|
|
1050
1088
|
#
|
|
1051
1089
|
# @example Response structure
|
|
1052
1090
|
#
|
|
1053
|
-
# resp.package_version.format #=> String, one of "npm", "pypi", "maven"
|
|
1091
|
+
# resp.package_version.format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
1054
1092
|
# resp.package_version.namespace #=> String
|
|
1055
1093
|
# resp.package_version.package_name #=> String
|
|
1056
1094
|
# resp.package_version.display_name #=> String
|
|
@@ -1111,7 +1149,7 @@ module Aws::CodeArtifact
|
|
|
1111
1149
|
# resp.repository.upstreams[0].repository_name #=> String
|
|
1112
1150
|
# resp.repository.external_connections #=> Array
|
|
1113
1151
|
# resp.repository.external_connections[0].external_connection_name #=> String
|
|
1114
|
-
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
|
|
1152
|
+
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
1115
1153
|
# resp.repository.external_connections[0].status #=> String, one of "Available"
|
|
1116
1154
|
#
|
|
1117
1155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeRepository AWS API Documentation
|
|
@@ -1165,7 +1203,7 @@ module Aws::CodeArtifact
|
|
|
1165
1203
|
# resp.repository.upstreams[0].repository_name #=> String
|
|
1166
1204
|
# resp.repository.external_connections #=> Array
|
|
1167
1205
|
# resp.repository.external_connections[0].external_connection_name #=> String
|
|
1168
|
-
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
|
|
1206
|
+
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
1169
1207
|
# resp.repository.external_connections[0].status #=> String, one of "Available"
|
|
1170
1208
|
#
|
|
1171
1209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisassociateExternalConnection AWS API Documentation
|
|
@@ -1181,11 +1219,18 @@ module Aws::CodeArtifact
|
|
|
1181
1219
|
# status to `Disposed`. A disposed package version cannot be restored in
|
|
1182
1220
|
# your repository because its assets are deleted.
|
|
1183
1221
|
#
|
|
1184
|
-
# To view all disposed package versions in a repository, use
|
|
1185
|
-
#
|
|
1222
|
+
# To view all disposed package versions in a repository, use [
|
|
1223
|
+
# `ListPackageVersions` ][1] and set the [ `status` ][2] parameter to
|
|
1224
|
+
# `Disposed`.
|
|
1225
|
+
#
|
|
1226
|
+
# To view information about a disposed package version, use [
|
|
1227
|
+
# `DescribePackageVersion` ][3]..
|
|
1228
|
+
#
|
|
1186
1229
|
#
|
|
1187
|
-
#
|
|
1188
|
-
#
|
|
1230
|
+
#
|
|
1231
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html
|
|
1232
|
+
# [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html#API_ListPackageVersions_RequestSyntax
|
|
1233
|
+
# [3]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DescribePackageVersion.html
|
|
1189
1234
|
#
|
|
1190
1235
|
# @option params [required, String] :domain
|
|
1191
1236
|
# The name of the domain that contains the repository you want to
|
|
@@ -1209,6 +1254,8 @@ module Aws::CodeArtifact
|
|
|
1209
1254
|
#
|
|
1210
1255
|
# * `maven`
|
|
1211
1256
|
#
|
|
1257
|
+
# * `nuget`
|
|
1258
|
+
#
|
|
1212
1259
|
# @option params [String] :namespace
|
|
1213
1260
|
# The namespace of the package. The package component that specifies its
|
|
1214
1261
|
# namespace depends on its type. For example:
|
|
@@ -1220,6 +1267,9 @@ module Aws::CodeArtifact
|
|
|
1220
1267
|
# * A Python package does not contain a corresponding component, so
|
|
1221
1268
|
# Python packages do not have a namespace.
|
|
1222
1269
|
#
|
|
1270
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
1271
|
+
# packages do not have a namespace.
|
|
1272
|
+
#
|
|
1223
1273
|
# @option params [required, String] :package
|
|
1224
1274
|
# The name of the package with the versions you want to dispose.
|
|
1225
1275
|
#
|
|
@@ -1254,7 +1304,7 @@ module Aws::CodeArtifact
|
|
|
1254
1304
|
# domain: "DomainName", # required
|
|
1255
1305
|
# domain_owner: "AccountId",
|
|
1256
1306
|
# repository: "RepositoryName", # required
|
|
1257
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1307
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1258
1308
|
# namespace: "PackageNamespace",
|
|
1259
1309
|
# package: "PackageName", # required
|
|
1260
1310
|
# versions: ["PackageVersion"], # required
|
|
@@ -1282,10 +1332,11 @@ module Aws::CodeArtifact
|
|
|
1282
1332
|
req.send_request(options)
|
|
1283
1333
|
end
|
|
1284
1334
|
|
|
1285
|
-
# Generates a temporary
|
|
1335
|
+
# Generates a temporary authorization token for accessing repositories
|
|
1286
1336
|
# in the domain. This API requires the
|
|
1287
1337
|
# `codeartifact:GetAuthorizationToken` and `sts:GetServiceBearerToken`
|
|
1288
|
-
# permissions.
|
|
1338
|
+
# permissions. For more information about authorization tokens, see [AWS
|
|
1339
|
+
# CodeArtifact authentication and tokens][1].
|
|
1289
1340
|
#
|
|
1290
1341
|
# <note markdown="1"> CodeArtifact authorization tokens are valid for a period of 12 hours
|
|
1291
1342
|
# when created with the `login` command. You can call `login`
|
|
@@ -1303,14 +1354,15 @@ module Aws::CodeArtifact
|
|
|
1303
1354
|
# token, the token will be valid for the full authorization period even
|
|
1304
1355
|
# though this is longer than the 15-minute session duration.
|
|
1305
1356
|
#
|
|
1306
|
-
# See [Using IAM Roles][
|
|
1357
|
+
# See [Using IAM Roles][2] for more information on controlling session
|
|
1307
1358
|
# duration.
|
|
1308
1359
|
#
|
|
1309
1360
|
# </note>
|
|
1310
1361
|
#
|
|
1311
1362
|
#
|
|
1312
1363
|
#
|
|
1313
|
-
# [1]: https://docs.aws.amazon.com/
|
|
1364
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html
|
|
1365
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
|
|
1314
1366
|
#
|
|
1315
1367
|
# @option params [required, String] :domain
|
|
1316
1368
|
# The name of the domain that is in scope for the generated
|
|
@@ -1322,6 +1374,10 @@ module Aws::CodeArtifact
|
|
|
1322
1374
|
#
|
|
1323
1375
|
# @option params [Integer] :duration_seconds
|
|
1324
1376
|
# The time, in seconds, that the generated authorization token is valid.
|
|
1377
|
+
# Valid values are `0` and any number between `900` (15 minutes) and
|
|
1378
|
+
# `43200` (12 hours). A value of `0` will set the expiration of the
|
|
1379
|
+
# authorization token to the same expiration of the user's role's
|
|
1380
|
+
# temporary credentials.
|
|
1325
1381
|
#
|
|
1326
1382
|
# @return [Types::GetAuthorizationTokenResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1327
1383
|
#
|
|
@@ -1421,6 +1477,8 @@ module Aws::CodeArtifact
|
|
|
1421
1477
|
#
|
|
1422
1478
|
# * `maven`
|
|
1423
1479
|
#
|
|
1480
|
+
# * `nuget`
|
|
1481
|
+
#
|
|
1424
1482
|
# @option params [String] :namespace
|
|
1425
1483
|
# The namespace of the package. The package component that specifies its
|
|
1426
1484
|
# namespace depends on its type. For example:
|
|
@@ -1432,6 +1490,9 @@ module Aws::CodeArtifact
|
|
|
1432
1490
|
# * A Python package does not contain a corresponding component, so
|
|
1433
1491
|
# Python packages do not have a namespace.
|
|
1434
1492
|
#
|
|
1493
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
1494
|
+
# packages do not have a namespace.
|
|
1495
|
+
#
|
|
1435
1496
|
# @option params [required, String] :package
|
|
1436
1497
|
# The name of the package that contains the requested asset.
|
|
1437
1498
|
#
|
|
@@ -1458,7 +1519,7 @@ module Aws::CodeArtifact
|
|
|
1458
1519
|
# domain: "DomainName", # required
|
|
1459
1520
|
# domain_owner: "AccountId",
|
|
1460
1521
|
# repository: "RepositoryName", # required
|
|
1461
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1522
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1462
1523
|
# namespace: "PackageNamespace",
|
|
1463
1524
|
# package: "PackageName", # required
|
|
1464
1525
|
# package_version: "PackageVersion", # required
|
|
@@ -1512,6 +1573,8 @@ module Aws::CodeArtifact
|
|
|
1512
1573
|
#
|
|
1513
1574
|
# * `maven`
|
|
1514
1575
|
#
|
|
1576
|
+
# * `nuget`
|
|
1577
|
+
#
|
|
1515
1578
|
# @option params [String] :namespace
|
|
1516
1579
|
# The namespace of the package. The package component that specifies its
|
|
1517
1580
|
# namespace depends on its type. For example:
|
|
@@ -1523,6 +1586,9 @@ module Aws::CodeArtifact
|
|
|
1523
1586
|
# * A Python package does not contain a corresponding component, so
|
|
1524
1587
|
# Python packages do not have a namespace.
|
|
1525
1588
|
#
|
|
1589
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
1590
|
+
# packages do not have a namespace.
|
|
1591
|
+
#
|
|
1526
1592
|
# @option params [required, String] :package
|
|
1527
1593
|
# The name of the package version that contains the requested readme
|
|
1528
1594
|
# file.
|
|
@@ -1545,7 +1611,7 @@ module Aws::CodeArtifact
|
|
|
1545
1611
|
# domain: "DomainName", # required
|
|
1546
1612
|
# domain_owner: "AccountId",
|
|
1547
1613
|
# repository: "RepositoryName", # required
|
|
1548
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1614
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1549
1615
|
# namespace: "PackageNamespace",
|
|
1550
1616
|
# package: "PackageName", # required
|
|
1551
1617
|
# package_version: "PackageVersion", # required
|
|
@@ -1553,7 +1619,7 @@ module Aws::CodeArtifact
|
|
|
1553
1619
|
#
|
|
1554
1620
|
# @example Response structure
|
|
1555
1621
|
#
|
|
1556
|
-
# resp.format #=> String, one of "npm", "pypi", "maven"
|
|
1622
|
+
# resp.format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
1557
1623
|
# resp.namespace #=> String
|
|
1558
1624
|
# resp.package #=> String
|
|
1559
1625
|
# resp.version #=> String
|
|
@@ -1578,6 +1644,8 @@ module Aws::CodeArtifact
|
|
|
1578
1644
|
#
|
|
1579
1645
|
# * `maven`
|
|
1580
1646
|
#
|
|
1647
|
+
# * `nuget`
|
|
1648
|
+
#
|
|
1581
1649
|
# @option params [required, String] :domain
|
|
1582
1650
|
# The name of the domain that contains the repository.
|
|
1583
1651
|
#
|
|
@@ -1598,6 +1666,8 @@ module Aws::CodeArtifact
|
|
|
1598
1666
|
#
|
|
1599
1667
|
# * `maven`
|
|
1600
1668
|
#
|
|
1669
|
+
# * `nuget`
|
|
1670
|
+
#
|
|
1601
1671
|
# @return [Types::GetRepositoryEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1602
1672
|
#
|
|
1603
1673
|
# * {Types::GetRepositoryEndpointResult#repository_endpoint #repository_endpoint} => String
|
|
@@ -1608,7 +1678,7 @@ module Aws::CodeArtifact
|
|
|
1608
1678
|
# domain: "DomainName", # required
|
|
1609
1679
|
# domain_owner: "AccountId",
|
|
1610
1680
|
# repository: "RepositoryName", # required
|
|
1611
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1681
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1612
1682
|
# })
|
|
1613
1683
|
#
|
|
1614
1684
|
# @example Response structure
|
|
@@ -1741,6 +1811,8 @@ module Aws::CodeArtifact
|
|
|
1741
1811
|
# * `maven`\: A Maven package that contains compiled code in a
|
|
1742
1812
|
# distributable format, such as a JAR file.
|
|
1743
1813
|
#
|
|
1814
|
+
# * `nuget`\: A NuGet package.
|
|
1815
|
+
#
|
|
1744
1816
|
# @option params [String] :namespace
|
|
1745
1817
|
# The namespace of the package. The package component that specifies its
|
|
1746
1818
|
# namespace depends on its type. For example:
|
|
@@ -1752,6 +1824,9 @@ module Aws::CodeArtifact
|
|
|
1752
1824
|
# * A Python package does not contain a corresponding component, so
|
|
1753
1825
|
# Python packages do not have a namespace.
|
|
1754
1826
|
#
|
|
1827
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
1828
|
+
# packages do not have a namespace.
|
|
1829
|
+
#
|
|
1755
1830
|
# @option params [required, String] :package
|
|
1756
1831
|
# The name of the package that contains the returned package version
|
|
1757
1832
|
# assets.
|
|
@@ -1785,7 +1860,7 @@ module Aws::CodeArtifact
|
|
|
1785
1860
|
# domain: "DomainName", # required
|
|
1786
1861
|
# domain_owner: "AccountId",
|
|
1787
1862
|
# repository: "RepositoryName", # required
|
|
1788
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1863
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1789
1864
|
# namespace: "PackageNamespace",
|
|
1790
1865
|
# package: "PackageName", # required
|
|
1791
1866
|
# package_version: "PackageVersion", # required
|
|
@@ -1795,7 +1870,7 @@ module Aws::CodeArtifact
|
|
|
1795
1870
|
#
|
|
1796
1871
|
# @example Response structure
|
|
1797
1872
|
#
|
|
1798
|
-
# resp.format #=> String, one of "npm", "pypi", "maven"
|
|
1873
|
+
# resp.format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
1799
1874
|
# resp.namespace #=> String
|
|
1800
1875
|
# resp.package #=> String
|
|
1801
1876
|
# resp.version #=> String
|
|
@@ -1851,6 +1926,8 @@ module Aws::CodeArtifact
|
|
|
1851
1926
|
# * `maven`\: A Maven package that contains compiled code in a
|
|
1852
1927
|
# distributable format, such as a JAR file.
|
|
1853
1928
|
#
|
|
1929
|
+
# * `nuget`\: A NuGet package.
|
|
1930
|
+
#
|
|
1854
1931
|
# @option params [String] :namespace
|
|
1855
1932
|
# The namespace of the package. The package component that specifies its
|
|
1856
1933
|
# namespace depends on its type. For example:
|
|
@@ -1862,6 +1939,9 @@ module Aws::CodeArtifact
|
|
|
1862
1939
|
# * A Python package does not contain a corresponding component, so
|
|
1863
1940
|
# Python packages do not have a namespace.
|
|
1864
1941
|
#
|
|
1942
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
1943
|
+
# packages do not have a namespace.
|
|
1944
|
+
#
|
|
1865
1945
|
# @option params [required, String] :package
|
|
1866
1946
|
# The name of the package versions' package.
|
|
1867
1947
|
#
|
|
@@ -1889,7 +1969,7 @@ module Aws::CodeArtifact
|
|
|
1889
1969
|
# domain: "DomainName", # required
|
|
1890
1970
|
# domain_owner: "AccountId",
|
|
1891
1971
|
# repository: "RepositoryName", # required
|
|
1892
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1972
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1893
1973
|
# namespace: "PackageNamespace",
|
|
1894
1974
|
# package: "PackageName", # required
|
|
1895
1975
|
# package_version: "PackageVersion", # required
|
|
@@ -1898,7 +1978,7 @@ module Aws::CodeArtifact
|
|
|
1898
1978
|
#
|
|
1899
1979
|
# @example Response structure
|
|
1900
1980
|
#
|
|
1901
|
-
# resp.format #=> String, one of "npm", "pypi", "maven"
|
|
1981
|
+
# resp.format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
1902
1982
|
# resp.namespace #=> String
|
|
1903
1983
|
# resp.package #=> String
|
|
1904
1984
|
# resp.version #=> String
|
|
@@ -1947,6 +2027,8 @@ module Aws::CodeArtifact
|
|
|
1947
2027
|
# * `maven`\: A Maven package that contains compiled code in a
|
|
1948
2028
|
# distributable format, such as a JAR file.
|
|
1949
2029
|
#
|
|
2030
|
+
# * `nuget`\: A NuGet package.
|
|
2031
|
+
#
|
|
1950
2032
|
# @option params [String] :namespace
|
|
1951
2033
|
# The namespace of the package. The package component that specifies its
|
|
1952
2034
|
# namespace depends on its type. For example:
|
|
@@ -1958,6 +2040,9 @@ module Aws::CodeArtifact
|
|
|
1958
2040
|
# * A Python package does not contain a corresponding component, so
|
|
1959
2041
|
# Python packages do not have a namespace.
|
|
1960
2042
|
#
|
|
2043
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
2044
|
+
# packages do not have a namespace.
|
|
2045
|
+
#
|
|
1961
2046
|
# @option params [required, String] :package
|
|
1962
2047
|
# The name of the package for which you want to return a list of package
|
|
1963
2048
|
# versions.
|
|
@@ -2004,7 +2089,7 @@ module Aws::CodeArtifact
|
|
|
2004
2089
|
# domain: "DomainName", # required
|
|
2005
2090
|
# domain_owner: "AccountId",
|
|
2006
2091
|
# repository: "RepositoryName", # required
|
|
2007
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
2092
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
2008
2093
|
# namespace: "PackageNamespace",
|
|
2009
2094
|
# package: "PackageName", # required
|
|
2010
2095
|
# status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
|
@@ -2016,7 +2101,7 @@ module Aws::CodeArtifact
|
|
|
2016
2101
|
# @example Response structure
|
|
2017
2102
|
#
|
|
2018
2103
|
# resp.default_display_version #=> String
|
|
2019
|
-
# resp.format #=> String, one of "npm", "pypi", "maven"
|
|
2104
|
+
# resp.format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
2020
2105
|
# resp.namespace #=> String
|
|
2021
2106
|
# resp.package #=> String
|
|
2022
2107
|
# resp.versions #=> Array
|
|
@@ -2062,6 +2147,8 @@ module Aws::CodeArtifact
|
|
|
2062
2147
|
# * `maven`\: A Maven package that contains compiled code in a
|
|
2063
2148
|
# distributable format, such as a JAR file.
|
|
2064
2149
|
#
|
|
2150
|
+
# * `nuget`\: A NuGet package.
|
|
2151
|
+
#
|
|
2065
2152
|
# @option params [String] :namespace
|
|
2066
2153
|
# The namespace of the package. The package component that specifies its
|
|
2067
2154
|
# namespace depends on its type. For example:
|
|
@@ -2073,9 +2160,12 @@ module Aws::CodeArtifact
|
|
|
2073
2160
|
# * A Python package does not contain a corresponding component, so
|
|
2074
2161
|
# Python packages do not have a namespace.
|
|
2075
2162
|
#
|
|
2163
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
2164
|
+
# packages do not have a namespace.
|
|
2165
|
+
#
|
|
2076
2166
|
# @option params [String] :package_prefix
|
|
2077
|
-
# A prefix used to filter returned
|
|
2078
|
-
#
|
|
2167
|
+
# A prefix used to filter returned packages. Only packages with names
|
|
2168
|
+
# that start with `packagePrefix` are returned.
|
|
2079
2169
|
#
|
|
2080
2170
|
# @option params [Integer] :max_results
|
|
2081
2171
|
# The maximum number of results to return per page.
|
|
@@ -2098,7 +2188,7 @@ module Aws::CodeArtifact
|
|
|
2098
2188
|
# domain: "DomainName", # required
|
|
2099
2189
|
# domain_owner: "AccountId",
|
|
2100
2190
|
# repository: "RepositoryName", # required
|
|
2101
|
-
# format: "npm", # accepts npm, pypi, maven
|
|
2191
|
+
# format: "npm", # accepts npm, pypi, maven, nuget
|
|
2102
2192
|
# namespace: "PackageNamespace",
|
|
2103
2193
|
# package_prefix: "PackageName",
|
|
2104
2194
|
# max_results: 1,
|
|
@@ -2108,7 +2198,7 @@ module Aws::CodeArtifact
|
|
|
2108
2198
|
# @example Response structure
|
|
2109
2199
|
#
|
|
2110
2200
|
# resp.packages #=> Array
|
|
2111
|
-
# resp.packages[0].format #=> String, one of "npm", "pypi", "maven"
|
|
2201
|
+
# resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
2112
2202
|
# resp.packages[0].namespace #=> String
|
|
2113
2203
|
# resp.packages[0].package #=> String
|
|
2114
2204
|
# resp.next_token #=> String
|
|
@@ -2247,9 +2337,45 @@ module Aws::CodeArtifact
|
|
|
2247
2337
|
req.send_request(options)
|
|
2248
2338
|
end
|
|
2249
2339
|
|
|
2340
|
+
# Gets information about AWS tags for a specified Amazon Resource Name
|
|
2341
|
+
# (ARN) in AWS CodeArtifact.
|
|
2342
|
+
#
|
|
2343
|
+
# @option params [required, String] :resource_arn
|
|
2344
|
+
# The Amazon Resource Name (ARN) of the resource to get tags for.
|
|
2345
|
+
#
|
|
2346
|
+
# @return [Types::ListTagsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2347
|
+
#
|
|
2348
|
+
# * {Types::ListTagsForResourceResult#tags #tags} => Array<Types::Tag>
|
|
2349
|
+
#
|
|
2350
|
+
# @example Request syntax with placeholder values
|
|
2351
|
+
#
|
|
2352
|
+
# resp = client.list_tags_for_resource({
|
|
2353
|
+
# resource_arn: "Arn", # required
|
|
2354
|
+
# })
|
|
2355
|
+
#
|
|
2356
|
+
# @example Response structure
|
|
2357
|
+
#
|
|
2358
|
+
# resp.tags #=> Array
|
|
2359
|
+
# resp.tags[0].key #=> String
|
|
2360
|
+
# resp.tags[0].value #=> String
|
|
2361
|
+
#
|
|
2362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResource AWS API Documentation
|
|
2363
|
+
#
|
|
2364
|
+
# @overload list_tags_for_resource(params = {})
|
|
2365
|
+
# @param [Hash] params ({})
|
|
2366
|
+
def list_tags_for_resource(params = {}, options = {})
|
|
2367
|
+
req = build_request(:list_tags_for_resource, params)
|
|
2368
|
+
req.send_request(options)
|
|
2369
|
+
end
|
|
2370
|
+
|
|
2250
2371
|
# Sets a resource policy on a domain that specifies permissions to
|
|
2251
2372
|
# access it.
|
|
2252
2373
|
#
|
|
2374
|
+
# When you call `PutDomainPermissionsPolicy`, the resource policy on the
|
|
2375
|
+
# domain is ignored when evaluting permissions. This ensures that the
|
|
2376
|
+
# owner of a domain cannot lock themselves out of the domain, which
|
|
2377
|
+
# would prevent them from being able to update the resource policy.
|
|
2378
|
+
#
|
|
2253
2379
|
# @option params [required, String] :domain
|
|
2254
2380
|
# The name of the domain on which to set the resource policy.
|
|
2255
2381
|
#
|
|
@@ -2297,6 +2423,12 @@ module Aws::CodeArtifact
|
|
|
2297
2423
|
# Sets the resource policy on a repository that specifies permissions to
|
|
2298
2424
|
# access it.
|
|
2299
2425
|
#
|
|
2426
|
+
# When you call `PutRepositoryPermissionsPolicy`, the resource policy on
|
|
2427
|
+
# the repository is ignored when evaluting permissions. This ensures
|
|
2428
|
+
# that the owner of a repository cannot lock themselves out of the
|
|
2429
|
+
# repository, which would prevent them from being able to update the
|
|
2430
|
+
# resource policy.
|
|
2431
|
+
#
|
|
2300
2432
|
# @option params [required, String] :domain
|
|
2301
2433
|
# The name of the domain containing the repository to set the resource
|
|
2302
2434
|
# policy on.
|
|
@@ -2347,6 +2479,65 @@ module Aws::CodeArtifact
|
|
|
2347
2479
|
req.send_request(options)
|
|
2348
2480
|
end
|
|
2349
2481
|
|
|
2482
|
+
# Adds or updates tags for a resource in AWS CodeArtifact.
|
|
2483
|
+
#
|
|
2484
|
+
# @option params [required, String] :resource_arn
|
|
2485
|
+
# The Amazon Resource Name (ARN) of the resource that you want to add or
|
|
2486
|
+
# update tags for.
|
|
2487
|
+
#
|
|
2488
|
+
# @option params [required, Array<Types::Tag>] :tags
|
|
2489
|
+
# The tags you want to modify or add to the resource.
|
|
2490
|
+
#
|
|
2491
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2492
|
+
#
|
|
2493
|
+
# @example Request syntax with placeholder values
|
|
2494
|
+
#
|
|
2495
|
+
# resp = client.tag_resource({
|
|
2496
|
+
# resource_arn: "Arn", # required
|
|
2497
|
+
# tags: [ # required
|
|
2498
|
+
# {
|
|
2499
|
+
# key: "TagKey", # required
|
|
2500
|
+
# value: "TagValue", # required
|
|
2501
|
+
# },
|
|
2502
|
+
# ],
|
|
2503
|
+
# })
|
|
2504
|
+
#
|
|
2505
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResource AWS API Documentation
|
|
2506
|
+
#
|
|
2507
|
+
# @overload tag_resource(params = {})
|
|
2508
|
+
# @param [Hash] params ({})
|
|
2509
|
+
def tag_resource(params = {}, options = {})
|
|
2510
|
+
req = build_request(:tag_resource, params)
|
|
2511
|
+
req.send_request(options)
|
|
2512
|
+
end
|
|
2513
|
+
|
|
2514
|
+
# Removes tags from a resource in AWS CodeArtifact.
|
|
2515
|
+
#
|
|
2516
|
+
# @option params [required, String] :resource_arn
|
|
2517
|
+
# The Amazon Resource Name (ARN) of the resource that you want to remove
|
|
2518
|
+
# tags from.
|
|
2519
|
+
#
|
|
2520
|
+
# @option params [required, Array<String>] :tag_keys
|
|
2521
|
+
# The tag key for each tag that you want to remove from the resource.
|
|
2522
|
+
#
|
|
2523
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2524
|
+
#
|
|
2525
|
+
# @example Request syntax with placeholder values
|
|
2526
|
+
#
|
|
2527
|
+
# resp = client.untag_resource({
|
|
2528
|
+
# resource_arn: "Arn", # required
|
|
2529
|
+
# tag_keys: ["TagKey"], # required
|
|
2530
|
+
# })
|
|
2531
|
+
#
|
|
2532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResource AWS API Documentation
|
|
2533
|
+
#
|
|
2534
|
+
# @overload untag_resource(params = {})
|
|
2535
|
+
# @param [Hash] params ({})
|
|
2536
|
+
def untag_resource(params = {}, options = {})
|
|
2537
|
+
req = build_request(:untag_resource, params)
|
|
2538
|
+
req.send_request(options)
|
|
2539
|
+
end
|
|
2540
|
+
|
|
2350
2541
|
# Updates the status of one or more versions of a package.
|
|
2351
2542
|
#
|
|
2352
2543
|
# @option params [required, String] :domain
|
|
@@ -2371,6 +2562,8 @@ module Aws::CodeArtifact
|
|
|
2371
2562
|
#
|
|
2372
2563
|
# * `maven`
|
|
2373
2564
|
#
|
|
2565
|
+
# * `nuget`
|
|
2566
|
+
#
|
|
2374
2567
|
# @option params [String] :namespace
|
|
2375
2568
|
# The namespace of the package. The package component that specifies its
|
|
2376
2569
|
# namespace depends on its type. For example:
|
|
@@ -2382,6 +2575,9 @@ module Aws::CodeArtifact
|
|
|
2382
2575
|
# * A Python package does not contain a corresponding component, so
|
|
2383
2576
|
# Python packages do not have a namespace.
|
|
2384
2577
|
#
|
|
2578
|
+
# * A NuGet package does not contain a corresponding component, so NuGet
|
|
2579
|
+
# packages do not have a namespace.
|
|
2580
|
+
#
|
|
2385
2581
|
# @option params [required, String] :package
|
|
2386
2582
|
# The name of the package with the version statuses to update.
|
|
2387
2583
|
#
|
|
@@ -2414,7 +2610,7 @@ module Aws::CodeArtifact
|
|
|
2414
2610
|
# domain: "DomainName", # required
|
|
2415
2611
|
# domain_owner: "AccountId",
|
|
2416
2612
|
# repository: "RepositoryName", # required
|
|
2417
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
2613
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
2418
2614
|
# namespace: "PackageNamespace",
|
|
2419
2615
|
# package: "PackageName", # required
|
|
2420
2616
|
# versions: ["PackageVersion"], # required
|
|
@@ -2499,7 +2695,7 @@ module Aws::CodeArtifact
|
|
|
2499
2695
|
# resp.repository.upstreams[0].repository_name #=> String
|
|
2500
2696
|
# resp.repository.external_connections #=> Array
|
|
2501
2697
|
# resp.repository.external_connections[0].external_connection_name #=> String
|
|
2502
|
-
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
|
|
2698
|
+
# resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
|
|
2503
2699
|
# resp.repository.external_connections[0].status #=> String, one of "Available"
|
|
2504
2700
|
#
|
|
2505
2701
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdateRepository AWS API Documentation
|
|
@@ -2524,7 +2720,7 @@ module Aws::CodeArtifact
|
|
|
2524
2720
|
params: params,
|
|
2525
2721
|
config: config)
|
|
2526
2722
|
context[:gem_name] = 'aws-sdk-codeartifact'
|
|
2527
|
-
context[:gem_version] = '1.
|
|
2723
|
+
context[:gem_version] = '1.8.0'
|
|
2528
2724
|
Seahorse::Client::Request.new(handlers, context)
|
|
2529
2725
|
end
|
|
2530
2726
|
|