aws-sdk-codeartifact 1.4.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67acc2cb06911ea0aa3effabee528dbb76336974227f6f9bcf2d2b9cf06b4796
4
- data.tar.gz: b851402a569135626fdb79bf3a02e175c7f6dfc1d04d59a5ddf53ea8a7631601
3
+ metadata.gz: e6428b67a64929418d23396917c7591807558d803324ea6a554e0351384786de
4
+ data.tar.gz: '09caeb6c6f4ab4460ab8254c66f59c624fe9fed606d83b5b8b44bef6e80f1370'
5
5
  SHA512:
6
- metadata.gz: 825872f87fddda2965ee3eef2f8ec5091652da24130b2875b66a9a9462e3b07dad52bfb0f8be62616ea46ce9e609cdc4658bb6c88d5ffcc50c36f8612a57c366
7
- data.tar.gz: 1fe9f54064394b5dacce1593b898f006e50ceba699ec352a853c70b48da7f3184abd14cc9ca91b8a545309cf2afc2fa24901e9edfa368b05710e489ac46c8860
6
+ metadata.gz: e15098928408a4818aac03427929f686927af65d9e4460c2e846c3a5716529e00c2c5f1a0e7e4f576a6f4c6eb486a06d963a75530764bb341bc85289d83614bb
7
+ data.tar.gz: 51dc5ffb8ebbdcdb349369f3f0350c0ce2c232c57ee7824807f466a1afb9465f1f012936ff2bdc92f5a911a587a80d0362b1260355bbf0c9d30010ac0d195b5b
data/CHANGELOG.md ADDED
@@ -0,0 +1,58 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.9.0 (2021-03-22)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for CodeArtifact
8
+
9
+ 1.8.0 (2021-03-10)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.7.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.6.0 (2020-11-23)
20
+ ------------------
21
+
22
+ * Feature - Add support for the NuGet package format.
23
+
24
+ 1.5.0 (2020-10-29)
25
+ ------------------
26
+
27
+ * Feature - Add support for tagging of CodeArtifact domain and repository resources.
28
+
29
+ 1.4.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.3.0 (2020-09-15)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.2.0 (2020-08-25)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.1.0 (2020-06-23)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.0.1 (2020-06-11)
50
+ ------------------
51
+
52
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
53
+
54
+ 1.0.0 (2020-06-10)
55
+ ------------------
56
+
57
+ * Issue - This version has been yanked. (#2327).
58
+ * 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.9.0
@@ -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/master/CONTRIBUTING.md
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.4.0'
51
+ GEM_VERSION = '1.9.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/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -386,7 +386,7 @@ module Aws::CodeArtifact
386
386
  # resp.repository.upstreams[0].repository_name #=> String
387
387
  # resp.repository.external_connections #=> Array
388
388
  # resp.repository.external_connections[0].external_connection_name #=> String
389
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
389
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
390
390
  # resp.repository.external_connections[0].status #=> String, one of "Available"
391
391
  #
392
392
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnection AWS API Documentation
@@ -492,7 +492,7 @@ module Aws::CodeArtifact
492
492
  # domain_owner: "AccountId",
493
493
  # source_repository: "RepositoryName", # required
494
494
  # destination_repository: "RepositoryName", # required
495
- # format: "npm", # required, accepts npm, pypi, maven
495
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
496
496
  # namespace: "PackageNamespace",
497
497
  # package: "PackageName", # required
498
498
  # versions: ["PackageVersion"],
@@ -560,6 +560,9 @@ module Aws::CodeArtifact
560
560
  # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html
561
561
  # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
562
562
  #
563
+ # @option params [Array<Types::Tag>] :tags
564
+ # One or more tag key-value pairs for the domain.
565
+ #
563
566
  # @return [Types::CreateDomainResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
564
567
  #
565
568
  # * {Types::CreateDomainResult#domain #domain} => Types::DomainDescription
@@ -569,6 +572,12 @@ module Aws::CodeArtifact
569
572
  # resp = client.create_domain({
570
573
  # domain: "DomainName", # required
571
574
  # encryption_key: "Arn",
575
+ # tags: [
576
+ # {
577
+ # key: "TagKey", # required
578
+ # value: "TagValue", # required
579
+ # },
580
+ # ],
572
581
  # })
573
582
  #
574
583
  # @example Response structure
@@ -581,6 +590,7 @@ module Aws::CodeArtifact
581
590
  # resp.domain.encryption_key #=> String
582
591
  # resp.domain.repository_count #=> Integer
583
592
  # resp.domain.asset_size_bytes #=> Integer
593
+ # resp.domain.s3_bucket_arn #=> String
584
594
  #
585
595
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomain AWS API Documentation
586
596
  #
@@ -594,7 +604,7 @@ module Aws::CodeArtifact
594
604
  # Creates a repository.
595
605
  #
596
606
  # @option params [required, String] :domain
597
- # The domain that contains the created repository.
607
+ # The name of the domain that contains the created repository.
598
608
  #
599
609
  # @option params [String] :domain_owner
600
610
  # The 12-digit account number of the AWS account that owns the domain.
@@ -617,6 +627,9 @@ module Aws::CodeArtifact
617
627
  #
618
628
  # [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html
619
629
  #
630
+ # @option params [Array<Types::Tag>] :tags
631
+ # One or more tag key-value pairs for the repository.
632
+ #
620
633
  # @return [Types::CreateRepositoryResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
621
634
  #
622
635
  # * {Types::CreateRepositoryResult#repository #repository} => Types::RepositoryDescription
@@ -633,6 +646,12 @@ module Aws::CodeArtifact
633
646
  # repository_name: "RepositoryName", # required
634
647
  # },
635
648
  # ],
649
+ # tags: [
650
+ # {
651
+ # key: "TagKey", # required
652
+ # value: "TagValue", # required
653
+ # },
654
+ # ],
636
655
  # })
637
656
  #
638
657
  # @example Response structure
@@ -647,7 +666,7 @@ module Aws::CodeArtifact
647
666
  # resp.repository.upstreams[0].repository_name #=> String
648
667
  # resp.repository.external_connections #=> Array
649
668
  # resp.repository.external_connections[0].external_connection_name #=> String
650
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
669
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
651
670
  # resp.repository.external_connections[0].status #=> String, one of "Available"
652
671
  #
653
672
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepository AWS API Documentation
@@ -691,6 +710,7 @@ module Aws::CodeArtifact
691
710
  # resp.domain.encryption_key #=> String
692
711
  # resp.domain.repository_count #=> Integer
693
712
  # resp.domain.asset_size_bytes #=> Integer
713
+ # resp.domain.s3_bucket_arn #=> String
694
714
  #
695
715
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomain AWS API Documentation
696
716
  #
@@ -747,9 +767,14 @@ module Aws::CodeArtifact
747
767
  # cannot be restored in your repository. If you want to remove a package
748
768
  # version from your repository and be able to restore it later, set its
749
769
  # status to `Archived`. Archived packages cannot be downloaded from a
750
- # repository and don't show up with list package APIs (for example, `
751
- # ListackageVersions `), but you can restore them using `
752
- # UpdatePackageVersionsStatus `.
770
+ # repository and don't show up with list package APIs (for example,
771
+ # [ListackageVersions][1]), but you can restore them using
772
+ # [UpdatePackageVersionsStatus][2].
773
+ #
774
+ #
775
+ #
776
+ # [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html
777
+ # [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdatePackageVersionsStatus.html
753
778
  #
754
779
  # @option params [required, String] :domain
755
780
  # The name of the domain that contains the package to delete.
@@ -814,7 +839,7 @@ module Aws::CodeArtifact
814
839
  # domain: "DomainName", # required
815
840
  # domain_owner: "AccountId",
816
841
  # repository: "RepositoryName", # required
817
- # format: "npm", # required, accepts npm, pypi, maven
842
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
818
843
  # namespace: "PackageNamespace",
819
844
  # package: "PackageName", # required
820
845
  # versions: ["PackageVersion"], # required
@@ -875,7 +900,7 @@ module Aws::CodeArtifact
875
900
  # resp.repository.upstreams[0].repository_name #=> String
876
901
  # resp.repository.external_connections #=> Array
877
902
  # resp.repository.external_connections[0].external_connection_name #=> String
878
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
903
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
879
904
  # resp.repository.external_connections[0].status #=> String, one of "Available"
880
905
  #
881
906
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepository AWS API Documentation
@@ -977,6 +1002,7 @@ module Aws::CodeArtifact
977
1002
  # resp.domain.encryption_key #=> String
978
1003
  # resp.domain.repository_count #=> Integer
979
1004
  # resp.domain.asset_size_bytes #=> Integer
1005
+ # resp.domain.s3_bucket_arn #=> String
980
1006
  #
981
1007
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeDomain AWS API Documentation
982
1008
  #
@@ -1042,7 +1068,7 @@ module Aws::CodeArtifact
1042
1068
  # domain: "DomainName", # required
1043
1069
  # domain_owner: "AccountId",
1044
1070
  # repository: "RepositoryName", # required
1045
- # format: "npm", # required, accepts npm, pypi, maven
1071
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1046
1072
  # namespace: "PackageNamespace",
1047
1073
  # package: "PackageName", # required
1048
1074
  # package_version: "PackageVersion", # required
@@ -1050,7 +1076,7 @@ module Aws::CodeArtifact
1050
1076
  #
1051
1077
  # @example Response structure
1052
1078
  #
1053
- # resp.package_version.format #=> String, one of "npm", "pypi", "maven"
1079
+ # resp.package_version.format #=> String, one of "npm", "pypi", "maven", "nuget"
1054
1080
  # resp.package_version.namespace #=> String
1055
1081
  # resp.package_version.package_name #=> String
1056
1082
  # resp.package_version.display_name #=> String
@@ -1111,7 +1137,7 @@ module Aws::CodeArtifact
1111
1137
  # resp.repository.upstreams[0].repository_name #=> String
1112
1138
  # resp.repository.external_connections #=> Array
1113
1139
  # resp.repository.external_connections[0].external_connection_name #=> String
1114
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
1140
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
1115
1141
  # resp.repository.external_connections[0].status #=> String, one of "Available"
1116
1142
  #
1117
1143
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeRepository AWS API Documentation
@@ -1165,7 +1191,7 @@ module Aws::CodeArtifact
1165
1191
  # resp.repository.upstreams[0].repository_name #=> String
1166
1192
  # resp.repository.external_connections #=> Array
1167
1193
  # resp.repository.external_connections[0].external_connection_name #=> String
1168
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
1194
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
1169
1195
  # resp.repository.external_connections[0].status #=> String, one of "Available"
1170
1196
  #
1171
1197
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisassociateExternalConnection AWS API Documentation
@@ -1181,11 +1207,18 @@ module Aws::CodeArtifact
1181
1207
  # status to `Disposed`. A disposed package version cannot be restored in
1182
1208
  # your repository because its assets are deleted.
1183
1209
  #
1184
- # To view all disposed package versions in a repository, use `
1185
- # ListackageVersions ` and set the ` status ` parameter to `Disposed`.
1210
+ # To view all disposed package versions in a repository, use [
1211
+ # `ListPackageVersions` ][1] and set the [ `status` ][2] parameter to
1212
+ # `Disposed`.
1213
+ #
1214
+ # To view information about a disposed package version, use [
1215
+ # `DescribePackageVersion` ][3]..
1216
+ #
1217
+ #
1186
1218
  #
1187
- # To view information about a disposed package version, use `
1188
- # ListPackageVersions ` and set the ` status ` parameter to `Disposed`.
1219
+ # [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html
1220
+ # [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_ListPackageVersions.html#API_ListPackageVersions_RequestSyntax
1221
+ # [3]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DescribePackageVersion.html
1189
1222
  #
1190
1223
  # @option params [required, String] :domain
1191
1224
  # The name of the domain that contains the repository you want to
@@ -1254,7 +1287,7 @@ module Aws::CodeArtifact
1254
1287
  # domain: "DomainName", # required
1255
1288
  # domain_owner: "AccountId",
1256
1289
  # repository: "RepositoryName", # required
1257
- # format: "npm", # required, accepts npm, pypi, maven
1290
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1258
1291
  # namespace: "PackageNamespace",
1259
1292
  # package: "PackageName", # required
1260
1293
  # versions: ["PackageVersion"], # required
@@ -1282,10 +1315,11 @@ module Aws::CodeArtifact
1282
1315
  req.send_request(options)
1283
1316
  end
1284
1317
 
1285
- # Generates a temporary authentication token for accessing repositories
1318
+ # Generates a temporary authorization token for accessing repositories
1286
1319
  # in the domain. This API requires the
1287
1320
  # `codeartifact:GetAuthorizationToken` and `sts:GetServiceBearerToken`
1288
- # permissions.
1321
+ # permissions. For more information about authorization tokens, see [AWS
1322
+ # CodeArtifact authentication and tokens][1].
1289
1323
  #
1290
1324
  # <note markdown="1"> CodeArtifact authorization tokens are valid for a period of 12 hours
1291
1325
  # when created with the `login` command. You can call `login`
@@ -1303,14 +1337,15 @@ module Aws::CodeArtifact
1303
1337
  # token, the token will be valid for the full authorization period even
1304
1338
  # though this is longer than the 15-minute session duration.
1305
1339
  #
1306
- # See [Using IAM Roles][1] for more information on controlling session
1340
+ # See [Using IAM Roles][2] for more information on controlling session
1307
1341
  # duration.
1308
1342
  #
1309
1343
  # </note>
1310
1344
  #
1311
1345
  #
1312
1346
  #
1313
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
1347
+ # [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/tokens-authentication.html
1348
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
1314
1349
  #
1315
1350
  # @option params [required, String] :domain
1316
1351
  # The name of the domain that is in scope for the generated
@@ -1322,6 +1357,10 @@ module Aws::CodeArtifact
1322
1357
  #
1323
1358
  # @option params [Integer] :duration_seconds
1324
1359
  # The time, in seconds, that the generated authorization token is valid.
1360
+ # Valid values are `0` and any number between `900` (15 minutes) and
1361
+ # `43200` (12 hours). A value of `0` will set the expiration of the
1362
+ # authorization token to the same expiration of the user's role's
1363
+ # temporary credentials.
1325
1364
  #
1326
1365
  # @return [Types::GetAuthorizationTokenResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1327
1366
  #
@@ -1400,8 +1439,8 @@ module Aws::CodeArtifact
1400
1439
  # `JAR` file, a `POM` file, or any other assets in the package version.
1401
1440
  #
1402
1441
  # @option params [required, String] :domain
1403
- # The domain that contains the repository that contains the package
1404
- # version with the requested asset.
1442
+ # The name of the domain that contains the repository that contains the
1443
+ # package version with the requested asset.
1405
1444
  #
1406
1445
  # @option params [String] :domain_owner
1407
1446
  # The 12-digit account number of the AWS account that owns the domain.
@@ -1458,7 +1497,7 @@ module Aws::CodeArtifact
1458
1497
  # domain: "DomainName", # required
1459
1498
  # domain_owner: "AccountId",
1460
1499
  # repository: "RepositoryName", # required
1461
- # format: "npm", # required, accepts npm, pypi, maven
1500
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1462
1501
  # namespace: "PackageNamespace",
1463
1502
  # package: "PackageName", # required
1464
1503
  # package_version: "PackageVersion", # required
@@ -1545,7 +1584,7 @@ module Aws::CodeArtifact
1545
1584
  # domain: "DomainName", # required
1546
1585
  # domain_owner: "AccountId",
1547
1586
  # repository: "RepositoryName", # required
1548
- # format: "npm", # required, accepts npm, pypi, maven
1587
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1549
1588
  # namespace: "PackageNamespace",
1550
1589
  # package: "PackageName", # required
1551
1590
  # package_version: "PackageVersion", # required
@@ -1553,7 +1592,7 @@ module Aws::CodeArtifact
1553
1592
  #
1554
1593
  # @example Response structure
1555
1594
  #
1556
- # resp.format #=> String, one of "npm", "pypi", "maven"
1595
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget"
1557
1596
  # resp.namespace #=> String
1558
1597
  # resp.package #=> String
1559
1598
  # resp.version #=> String
@@ -1608,7 +1647,7 @@ module Aws::CodeArtifact
1608
1647
  # domain: "DomainName", # required
1609
1648
  # domain_owner: "AccountId",
1610
1649
  # repository: "RepositoryName", # required
1611
- # format: "npm", # required, accepts npm, pypi, maven
1650
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1612
1651
  # })
1613
1652
  #
1614
1653
  # @example Response structure
@@ -1665,10 +1704,14 @@ module Aws::CodeArtifact
1665
1704
  req.send_request(options)
1666
1705
  end
1667
1706
 
1668
- # Returns a list of ` DomainSummary ` objects for all domains owned by
1707
+ # Returns a list of [DomainSummary][1] objects for all domains owned by
1669
1708
  # the AWS account that makes this call. Each returned `DomainSummary`
1670
1709
  # object contains information about a domain.
1671
1710
  #
1711
+ #
1712
+ #
1713
+ # [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html
1714
+ #
1672
1715
  # @option params [Integer] :max_results
1673
1716
  # The maximum number of results to return per page.
1674
1717
  #
@@ -1785,7 +1828,7 @@ module Aws::CodeArtifact
1785
1828
  # domain: "DomainName", # required
1786
1829
  # domain_owner: "AccountId",
1787
1830
  # repository: "RepositoryName", # required
1788
- # format: "npm", # required, accepts npm, pypi, maven
1831
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1789
1832
  # namespace: "PackageNamespace",
1790
1833
  # package: "PackageName", # required
1791
1834
  # package_version: "PackageVersion", # required
@@ -1795,7 +1838,7 @@ module Aws::CodeArtifact
1795
1838
  #
1796
1839
  # @example Response structure
1797
1840
  #
1798
- # resp.format #=> String, one of "npm", "pypi", "maven"
1841
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget"
1799
1842
  # resp.namespace #=> String
1800
1843
  # resp.package #=> String
1801
1844
  # resp.version #=> String
@@ -1829,8 +1872,8 @@ module Aws::CodeArtifact
1829
1872
  # [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDependency.html
1830
1873
  #
1831
1874
  # @option params [required, String] :domain
1832
- # The domain that contains the repository that contains the requested
1833
- # package version dependencies.
1875
+ # The name of the domain that contains the repository that contains the
1876
+ # requested package version dependencies.
1834
1877
  #
1835
1878
  # @option params [String] :domain_owner
1836
1879
  # The 12-digit account number of the AWS account that owns the domain.
@@ -1889,7 +1932,7 @@ module Aws::CodeArtifact
1889
1932
  # domain: "DomainName", # required
1890
1933
  # domain_owner: "AccountId",
1891
1934
  # repository: "RepositoryName", # required
1892
- # format: "npm", # required, accepts npm, pypi, maven
1935
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1893
1936
  # namespace: "PackageNamespace",
1894
1937
  # package: "PackageName", # required
1895
1938
  # package_version: "PackageVersion", # required
@@ -1898,7 +1941,7 @@ module Aws::CodeArtifact
1898
1941
  #
1899
1942
  # @example Response structure
1900
1943
  #
1901
- # resp.format #=> String, one of "npm", "pypi", "maven"
1944
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget"
1902
1945
  # resp.namespace #=> String
1903
1946
  # resp.package #=> String
1904
1947
  # resp.version #=> String
@@ -2004,7 +2047,7 @@ module Aws::CodeArtifact
2004
2047
  # domain: "DomainName", # required
2005
2048
  # domain_owner: "AccountId",
2006
2049
  # repository: "RepositoryName", # required
2007
- # format: "npm", # required, accepts npm, pypi, maven
2050
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
2008
2051
  # namespace: "PackageNamespace",
2009
2052
  # package: "PackageName", # required
2010
2053
  # status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
@@ -2016,7 +2059,7 @@ module Aws::CodeArtifact
2016
2059
  # @example Response structure
2017
2060
  #
2018
2061
  # resp.default_display_version #=> String
2019
- # resp.format #=> String, one of "npm", "pypi", "maven"
2062
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget"
2020
2063
  # resp.namespace #=> String
2021
2064
  # resp.package #=> String
2022
2065
  # resp.versions #=> Array
@@ -2042,8 +2085,8 @@ module Aws::CodeArtifact
2042
2085
  # [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageSummary.html
2043
2086
  #
2044
2087
  # @option params [required, String] :domain
2045
- # The domain that contains the repository that contains the requested
2046
- # list of packages.
2088
+ # The name of the domain that contains the repository that contains the
2089
+ # requested list of packages.
2047
2090
  #
2048
2091
  # @option params [String] :domain_owner
2049
2092
  # The 12-digit account number of the AWS account that owns the domain.
@@ -2074,8 +2117,8 @@ module Aws::CodeArtifact
2074
2117
  # Python packages do not have a namespace.
2075
2118
  #
2076
2119
  # @option params [String] :package_prefix
2077
- # A prefix used to filter returned repositories. Only repositories with
2078
- # names that start with `repositoryPrefix` are returned.
2120
+ # A prefix used to filter returned packages. Only packages with names
2121
+ # that start with `packagePrefix` are returned.
2079
2122
  #
2080
2123
  # @option params [Integer] :max_results
2081
2124
  # The maximum number of results to return per page.
@@ -2098,7 +2141,7 @@ module Aws::CodeArtifact
2098
2141
  # domain: "DomainName", # required
2099
2142
  # domain_owner: "AccountId",
2100
2143
  # repository: "RepositoryName", # required
2101
- # format: "npm", # accepts npm, pypi, maven
2144
+ # format: "npm", # accepts npm, pypi, maven, nuget
2102
2145
  # namespace: "PackageNamespace",
2103
2146
  # package_prefix: "PackageName",
2104
2147
  # max_results: 1,
@@ -2108,7 +2151,7 @@ module Aws::CodeArtifact
2108
2151
  # @example Response structure
2109
2152
  #
2110
2153
  # resp.packages #=> Array
2111
- # resp.packages[0].format #=> String, one of "npm", "pypi", "maven"
2154
+ # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget"
2112
2155
  # resp.packages[0].namespace #=> String
2113
2156
  # resp.packages[0].package #=> String
2114
2157
  # resp.next_token #=> String
@@ -2247,9 +2290,45 @@ module Aws::CodeArtifact
2247
2290
  req.send_request(options)
2248
2291
  end
2249
2292
 
2293
+ # Gets information about AWS tags for a specified Amazon Resource Name
2294
+ # (ARN) in AWS CodeArtifact.
2295
+ #
2296
+ # @option params [required, String] :resource_arn
2297
+ # The Amazon Resource Name (ARN) of the resource to get tags for.
2298
+ #
2299
+ # @return [Types::ListTagsForResourceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2300
+ #
2301
+ # * {Types::ListTagsForResourceResult#tags #tags} => Array&lt;Types::Tag&gt;
2302
+ #
2303
+ # @example Request syntax with placeholder values
2304
+ #
2305
+ # resp = client.list_tags_for_resource({
2306
+ # resource_arn: "Arn", # required
2307
+ # })
2308
+ #
2309
+ # @example Response structure
2310
+ #
2311
+ # resp.tags #=> Array
2312
+ # resp.tags[0].key #=> String
2313
+ # resp.tags[0].value #=> String
2314
+ #
2315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResource AWS API Documentation
2316
+ #
2317
+ # @overload list_tags_for_resource(params = {})
2318
+ # @param [Hash] params ({})
2319
+ def list_tags_for_resource(params = {}, options = {})
2320
+ req = build_request(:list_tags_for_resource, params)
2321
+ req.send_request(options)
2322
+ end
2323
+
2250
2324
  # Sets a resource policy on a domain that specifies permissions to
2251
2325
  # access it.
2252
2326
  #
2327
+ # When you call `PutDomainPermissionsPolicy`, the resource policy on the
2328
+ # domain is ignored when evaluting permissions. This ensures that the
2329
+ # owner of a domain cannot lock themselves out of the domain, which
2330
+ # would prevent them from being able to update the resource policy.
2331
+ #
2253
2332
  # @option params [required, String] :domain
2254
2333
  # The name of the domain on which to set the resource policy.
2255
2334
  #
@@ -2297,6 +2376,12 @@ module Aws::CodeArtifact
2297
2376
  # Sets the resource policy on a repository that specifies permissions to
2298
2377
  # access it.
2299
2378
  #
2379
+ # When you call `PutRepositoryPermissionsPolicy`, the resource policy on
2380
+ # the repository is ignored when evaluting permissions. This ensures
2381
+ # that the owner of a repository cannot lock themselves out of the
2382
+ # repository, which would prevent them from being able to update the
2383
+ # resource policy.
2384
+ #
2300
2385
  # @option params [required, String] :domain
2301
2386
  # The name of the domain containing the repository to set the resource
2302
2387
  # policy on.
@@ -2347,11 +2432,70 @@ module Aws::CodeArtifact
2347
2432
  req.send_request(options)
2348
2433
  end
2349
2434
 
2435
+ # Adds or updates tags for a resource in AWS CodeArtifact.
2436
+ #
2437
+ # @option params [required, String] :resource_arn
2438
+ # The Amazon Resource Name (ARN) of the resource that you want to add or
2439
+ # update tags for.
2440
+ #
2441
+ # @option params [required, Array<Types::Tag>] :tags
2442
+ # The tags you want to modify or add to the resource.
2443
+ #
2444
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2445
+ #
2446
+ # @example Request syntax with placeholder values
2447
+ #
2448
+ # resp = client.tag_resource({
2449
+ # resource_arn: "Arn", # required
2450
+ # tags: [ # required
2451
+ # {
2452
+ # key: "TagKey", # required
2453
+ # value: "TagValue", # required
2454
+ # },
2455
+ # ],
2456
+ # })
2457
+ #
2458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResource AWS API Documentation
2459
+ #
2460
+ # @overload tag_resource(params = {})
2461
+ # @param [Hash] params ({})
2462
+ def tag_resource(params = {}, options = {})
2463
+ req = build_request(:tag_resource, params)
2464
+ req.send_request(options)
2465
+ end
2466
+
2467
+ # Removes tags from a resource in AWS CodeArtifact.
2468
+ #
2469
+ # @option params [required, String] :resource_arn
2470
+ # The Amazon Resource Name (ARN) of the resource that you want to remove
2471
+ # tags from.
2472
+ #
2473
+ # @option params [required, Array<String>] :tag_keys
2474
+ # The tag key for each tag that you want to remove from the resource.
2475
+ #
2476
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2477
+ #
2478
+ # @example Request syntax with placeholder values
2479
+ #
2480
+ # resp = client.untag_resource({
2481
+ # resource_arn: "Arn", # required
2482
+ # tag_keys: ["TagKey"], # required
2483
+ # })
2484
+ #
2485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResource AWS API Documentation
2486
+ #
2487
+ # @overload untag_resource(params = {})
2488
+ # @param [Hash] params ({})
2489
+ def untag_resource(params = {}, options = {})
2490
+ req = build_request(:untag_resource, params)
2491
+ req.send_request(options)
2492
+ end
2493
+
2350
2494
  # Updates the status of one or more versions of a package.
2351
2495
  #
2352
2496
  # @option params [required, String] :domain
2353
- # The domain that contains the repository that contains the package
2354
- # versions with a status to be updated.
2497
+ # The name of the domain that contains the repository that contains the
2498
+ # package versions with a status to be updated.
2355
2499
  #
2356
2500
  # @option params [String] :domain_owner
2357
2501
  # The 12-digit account number of the AWS account that owns the domain.
@@ -2414,7 +2558,7 @@ module Aws::CodeArtifact
2414
2558
  # domain: "DomainName", # required
2415
2559
  # domain_owner: "AccountId",
2416
2560
  # repository: "RepositoryName", # required
2417
- # format: "npm", # required, accepts npm, pypi, maven
2561
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
2418
2562
  # namespace: "PackageNamespace",
2419
2563
  # package: "PackageName", # required
2420
2564
  # versions: ["PackageVersion"], # required
@@ -2499,7 +2643,7 @@ module Aws::CodeArtifact
2499
2643
  # resp.repository.upstreams[0].repository_name #=> String
2500
2644
  # resp.repository.external_connections #=> Array
2501
2645
  # resp.repository.external_connections[0].external_connection_name #=> String
2502
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven"
2646
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget"
2503
2647
  # resp.repository.external_connections[0].status #=> String, one of "Available"
2504
2648
  #
2505
2649
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdateRepository AWS API Documentation
@@ -2524,7 +2668,7 @@ module Aws::CodeArtifact
2524
2668
  params: params,
2525
2669
  config: config)
2526
2670
  context[:gem_name] = 'aws-sdk-codeartifact'
2527
- context[:gem_version] = '1.4.0'
2671
+ context[:gem_version] = '1.9.0'
2528
2672
  Seahorse::Client::Request.new(handlers, context)
2529
2673
  end
2530
2674