aws-sdk-codeartifact 1.20.0 → 1.21.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codeartifact/client.rb +310 -89
- data/lib/aws-sdk-codeartifact/client_api.rb +88 -0
- data/lib/aws-sdk-codeartifact/types.rb +540 -132
- data/lib/aws-sdk-codeartifact.rb +1 -1
- metadata +2 -2
@@ -78,8 +78,6 @@ module Aws::CodeArtifact
|
|
78
78
|
#
|
79
79
|
# * `public:npmjs` - for the npm public repository.
|
80
80
|
#
|
81
|
-
# * `public:nuget-org` - for the NuGet Gallery.
|
82
|
-
#
|
83
81
|
# * `public:pypi` - for the Python Package Index.
|
84
82
|
#
|
85
83
|
# * `public:maven-central` - for Maven Central.
|
@@ -169,8 +167,8 @@ module Aws::CodeArtifact
|
|
169
167
|
# @return [String]
|
170
168
|
#
|
171
169
|
# @!attribute [rw] source_repository
|
172
|
-
# The name of the repository that contains the package versions to
|
173
|
-
#
|
170
|
+
# The name of the repository that contains the package versions to be
|
171
|
+
# copied.
|
174
172
|
# @return [String]
|
175
173
|
#
|
176
174
|
# @!attribute [rw] destination_repository
|
@@ -178,27 +176,30 @@ module Aws::CodeArtifact
|
|
178
176
|
# @return [String]
|
179
177
|
#
|
180
178
|
# @!attribute [rw] format
|
181
|
-
# The format of the package
|
179
|
+
# The format of the package versions to be copied.
|
182
180
|
# @return [String]
|
183
181
|
#
|
184
182
|
# @!attribute [rw] namespace
|
185
|
-
# The namespace of the package. The package
|
186
|
-
# its namespace depends on its type.
|
183
|
+
# The namespace of the package versions to be copied. The package
|
184
|
+
# version component that specifies its namespace depends on its type.
|
185
|
+
# For example:
|
187
186
|
#
|
188
|
-
# * The namespace of a Maven package is its `groupId`.
|
187
|
+
# * The namespace of a Maven package version is its `groupId`. The
|
188
|
+
# namespace is required when copying Maven package versions.
|
189
189
|
#
|
190
|
-
# * The namespace of an npm package is its `scope`.
|
190
|
+
# * The namespace of an npm package version is its `scope`.
|
191
191
|
#
|
192
|
-
# *
|
193
|
-
#
|
192
|
+
# * Python and NuGet package versions do not contain a corresponding
|
193
|
+
# component, package versions of those formats do not have a
|
194
|
+
# namespace.
|
194
195
|
# @return [String]
|
195
196
|
#
|
196
197
|
# @!attribute [rw] package
|
197
|
-
# The name of the package that
|
198
|
+
# The name of the package that contains the versions to be copied.
|
198
199
|
# @return [String]
|
199
200
|
#
|
200
201
|
# @!attribute [rw] versions
|
201
|
-
# The versions of the package to
|
202
|
+
# The versions of the package to be copied.
|
202
203
|
#
|
203
204
|
# <note markdown="1"> You must specify `versions` or `versionRevisions`. You cannot
|
204
205
|
# specify both.
|
@@ -558,15 +559,18 @@ module Aws::CodeArtifact
|
|
558
559
|
# @return [String]
|
559
560
|
#
|
560
561
|
# @!attribute [rw] namespace
|
561
|
-
# The namespace of the package. The package
|
562
|
-
# its namespace depends on its type.
|
562
|
+
# The namespace of the package versions to be deleted. The package
|
563
|
+
# version component that specifies its namespace depends on its type.
|
564
|
+
# For example:
|
563
565
|
#
|
564
|
-
# * The namespace of a Maven package is its `groupId`.
|
566
|
+
# * The namespace of a Maven package version is its `groupId`. The
|
567
|
+
# namespace is required when deleting Maven package versions.
|
565
568
|
#
|
566
|
-
# * The namespace of an npm package is its `scope`.
|
569
|
+
# * The namespace of an npm package version is its `scope`.
|
567
570
|
#
|
568
|
-
# *
|
569
|
-
#
|
571
|
+
# * Python and NuGet package versions do not contain a corresponding
|
572
|
+
# component, package versions of those formats do not have a
|
573
|
+
# namespace.
|
570
574
|
# @return [String]
|
571
575
|
#
|
572
576
|
# @!attribute [rw] package
|
@@ -768,6 +772,83 @@ module Aws::CodeArtifact
|
|
768
772
|
include Aws::Structure
|
769
773
|
end
|
770
774
|
|
775
|
+
# @note When making an API call, you may pass DescribePackageRequest
|
776
|
+
# data as a hash:
|
777
|
+
#
|
778
|
+
# {
|
779
|
+
# domain: "DomainName", # required
|
780
|
+
# domain_owner: "AccountId",
|
781
|
+
# repository: "RepositoryName", # required
|
782
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
783
|
+
# namespace: "PackageNamespace",
|
784
|
+
# package: "PackageName", # required
|
785
|
+
# }
|
786
|
+
#
|
787
|
+
# @!attribute [rw] domain
|
788
|
+
# The name of the domain that contains the repository that contains
|
789
|
+
# the package.
|
790
|
+
# @return [String]
|
791
|
+
#
|
792
|
+
# @!attribute [rw] domain_owner
|
793
|
+
# The 12-digit account number of the Amazon Web Services account that
|
794
|
+
# owns the domain. It does not include dashes or spaces.
|
795
|
+
# @return [String]
|
796
|
+
#
|
797
|
+
# @!attribute [rw] repository
|
798
|
+
# The name of the repository that contains the requested package.
|
799
|
+
# @return [String]
|
800
|
+
#
|
801
|
+
# @!attribute [rw] format
|
802
|
+
# A format that specifies the type of the requested package.
|
803
|
+
# @return [String]
|
804
|
+
#
|
805
|
+
# @!attribute [rw] namespace
|
806
|
+
# The namespace of the requested package. The package component that
|
807
|
+
# specifies its namespace depends on its type. For example:
|
808
|
+
#
|
809
|
+
# * The namespace of a Maven package is its `groupId`. The namespace
|
810
|
+
# is required when requesting Maven packages.
|
811
|
+
#
|
812
|
+
# * The namespace of an npm package is its `scope`.
|
813
|
+
#
|
814
|
+
# * Python and NuGet packages do not contain a corresponding
|
815
|
+
# component, packages of those formats do not have a namespace.
|
816
|
+
# @return [String]
|
817
|
+
#
|
818
|
+
# @!attribute [rw] package
|
819
|
+
# The name of the requested package.
|
820
|
+
# @return [String]
|
821
|
+
#
|
822
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageRequest AWS API Documentation
|
823
|
+
#
|
824
|
+
class DescribePackageRequest < Struct.new(
|
825
|
+
:domain,
|
826
|
+
:domain_owner,
|
827
|
+
:repository,
|
828
|
+
:format,
|
829
|
+
:namespace,
|
830
|
+
:package)
|
831
|
+
SENSITIVE = []
|
832
|
+
include Aws::Structure
|
833
|
+
end
|
834
|
+
|
835
|
+
# @!attribute [rw] package
|
836
|
+
# A [PackageDescription][1] object that contains information about the
|
837
|
+
# requested package.
|
838
|
+
#
|
839
|
+
#
|
840
|
+
#
|
841
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageDescription.html
|
842
|
+
# @return [Types::PackageDescription]
|
843
|
+
#
|
844
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageResult AWS API Documentation
|
845
|
+
#
|
846
|
+
class DescribePackageResult < Struct.new(
|
847
|
+
:package)
|
848
|
+
SENSITIVE = []
|
849
|
+
include Aws::Structure
|
850
|
+
end
|
851
|
+
|
771
852
|
# @note When making an API call, you may pass DescribePackageVersionRequest
|
772
853
|
# data as a hash:
|
773
854
|
#
|
@@ -800,15 +881,17 @@ module Aws::CodeArtifact
|
|
800
881
|
# @return [String]
|
801
882
|
#
|
802
883
|
# @!attribute [rw] namespace
|
803
|
-
# The namespace of the package. The package
|
804
|
-
# its namespace depends on its type. For
|
884
|
+
# The namespace of the requested package version. The package version
|
885
|
+
# component that specifies its namespace depends on its type. For
|
886
|
+
# example:
|
805
887
|
#
|
806
|
-
# * The namespace of a Maven package is its `groupId`.
|
888
|
+
# * The namespace of a Maven package version is its `groupId`.
|
807
889
|
#
|
808
|
-
# * The namespace of an npm package is its `scope`.
|
890
|
+
# * The namespace of an npm package version is its `scope`.
|
809
891
|
#
|
810
|
-
# *
|
811
|
-
#
|
892
|
+
# * Python and NuGet package versions do not contain a corresponding
|
893
|
+
# component, package versions of those formats do not have a
|
894
|
+
# namespace.
|
812
895
|
# @return [String]
|
813
896
|
#
|
814
897
|
# @!attribute [rw] package
|
@@ -986,15 +1069,17 @@ module Aws::CodeArtifact
|
|
986
1069
|
# @return [String]
|
987
1070
|
#
|
988
1071
|
# @!attribute [rw] namespace
|
989
|
-
# The namespace of the package. The package
|
990
|
-
# its namespace depends on its type.
|
1072
|
+
# The namespace of the package versions to be disposed. The package
|
1073
|
+
# version component that specifies its namespace depends on its type.
|
1074
|
+
# For example:
|
991
1075
|
#
|
992
|
-
# * The namespace of a Maven package is its `groupId`.
|
1076
|
+
# * The namespace of a Maven package version is its `groupId`.
|
993
1077
|
#
|
994
|
-
# * The namespace of an npm package is its `scope`.
|
1078
|
+
# * The namespace of an npm package version is its `scope`.
|
995
1079
|
#
|
996
|
-
# *
|
997
|
-
#
|
1080
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1081
|
+
# component, package versions of those formats do not have a
|
1082
|
+
# namespace.
|
998
1083
|
# @return [String]
|
999
1084
|
#
|
1000
1085
|
# @!attribute [rw] package
|
@@ -1119,6 +1204,33 @@ module Aws::CodeArtifact
|
|
1119
1204
|
include Aws::Structure
|
1120
1205
|
end
|
1121
1206
|
|
1207
|
+
# Information about how a package originally entered the CodeArtifact
|
1208
|
+
# domain. For packages published directly to CodeArtifact, the entry
|
1209
|
+
# point is the repository it was published to. For packages ingested
|
1210
|
+
# from an external repository, the entry point is the external
|
1211
|
+
# connection that it was ingested from. An external connection is a
|
1212
|
+
# CodeArtifact repository that is connected to an external repository
|
1213
|
+
# such as the npm registry or NuGet gallery.
|
1214
|
+
#
|
1215
|
+
# @!attribute [rw] repository_name
|
1216
|
+
# The name of the repository that a package was originally published
|
1217
|
+
# to.
|
1218
|
+
# @return [String]
|
1219
|
+
#
|
1220
|
+
# @!attribute [rw] external_connection_name
|
1221
|
+
# The name of the external connection that a package was ingested
|
1222
|
+
# from.
|
1223
|
+
# @return [String]
|
1224
|
+
#
|
1225
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DomainEntryPoint AWS API Documentation
|
1226
|
+
#
|
1227
|
+
class DomainEntryPoint < Struct.new(
|
1228
|
+
:repository_name,
|
1229
|
+
:external_connection_name)
|
1230
|
+
SENSITIVE = []
|
1231
|
+
include Aws::Structure
|
1232
|
+
end
|
1233
|
+
|
1122
1234
|
# Information about a domain, including its name, Amazon Resource Name
|
1123
1235
|
# (ARN), and status. The [ListDomains][1] operation returns a list of
|
1124
1236
|
# `DomainSummary` objects.
|
@@ -1294,15 +1406,17 @@ module Aws::CodeArtifact
|
|
1294
1406
|
# @return [String]
|
1295
1407
|
#
|
1296
1408
|
# @!attribute [rw] namespace
|
1297
|
-
# The namespace of the package
|
1298
|
-
#
|
1409
|
+
# The namespace of the package version with the requested asset file.
|
1410
|
+
# The package version component that specifies its namespace depends
|
1411
|
+
# on its type. For example:
|
1299
1412
|
#
|
1300
|
-
# * The namespace of a Maven package is its `groupId`.
|
1413
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1301
1414
|
#
|
1302
|
-
# * The namespace of an npm package is its `scope`.
|
1415
|
+
# * The namespace of an npm package version is its `scope`.
|
1303
1416
|
#
|
1304
|
-
# *
|
1305
|
-
#
|
1417
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1418
|
+
# component, package versions of those formats do not have a
|
1419
|
+
# namespace.
|
1306
1420
|
# @return [String]
|
1307
1421
|
#
|
1308
1422
|
# @!attribute [rw] package
|
@@ -1397,23 +1511,20 @@ module Aws::CodeArtifact
|
|
1397
1511
|
# @!attribute [rw] format
|
1398
1512
|
# A format that specifies the type of the package version with the
|
1399
1513
|
# requested readme file.
|
1400
|
-
#
|
1401
|
-
# <note markdown="1"> Although `maven` is listed as a valid value, CodeArtifact does not
|
1402
|
-
# support displaying readme files for Maven packages.
|
1403
|
-
#
|
1404
|
-
# </note>
|
1405
1514
|
# @return [String]
|
1406
1515
|
#
|
1407
1516
|
# @!attribute [rw] namespace
|
1408
|
-
# The namespace of the package
|
1409
|
-
#
|
1517
|
+
# The namespace of the package version with the requested readme file.
|
1518
|
+
# The package version component that specifies its namespace depends
|
1519
|
+
# on its type. For example:
|
1410
1520
|
#
|
1411
|
-
# * The namespace of a Maven package is its `groupId`.
|
1521
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1412
1522
|
#
|
1413
|
-
# * The namespace of an npm package is its `scope`.
|
1523
|
+
# * The namespace of an npm package version is its `scope`.
|
1414
1524
|
#
|
1415
|
-
# *
|
1416
|
-
#
|
1525
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1526
|
+
# component, package versions of those formats do not have a
|
1527
|
+
# namespace.
|
1417
1528
|
# @return [String]
|
1418
1529
|
#
|
1419
1530
|
# @!attribute [rw] package
|
@@ -1444,15 +1555,17 @@ module Aws::CodeArtifact
|
|
1444
1555
|
# @return [String]
|
1445
1556
|
#
|
1446
1557
|
# @!attribute [rw] namespace
|
1447
|
-
# The namespace of the package
|
1448
|
-
#
|
1558
|
+
# The namespace of the package version with the requested readme file.
|
1559
|
+
# The package version component that specifies its namespace depends
|
1560
|
+
# on its type. For example:
|
1449
1561
|
#
|
1450
|
-
# * The namespace of a Maven package is its `groupId`.
|
1562
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1451
1563
|
#
|
1452
|
-
# * The namespace of an npm package is its `scope`.
|
1564
|
+
# * The namespace of an npm package version is its `scope`.
|
1453
1565
|
#
|
1454
|
-
# *
|
1455
|
-
#
|
1566
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1567
|
+
# component, package versions of those formats do not have a
|
1568
|
+
# namespace.
|
1456
1569
|
# @return [String]
|
1457
1570
|
#
|
1458
1571
|
# @!attribute [rw] package
|
@@ -1692,28 +1805,30 @@ module Aws::CodeArtifact
|
|
1692
1805
|
#
|
1693
1806
|
# @!attribute [rw] repository
|
1694
1807
|
# The name of the repository that contains the package that contains
|
1695
|
-
# the
|
1808
|
+
# the requested package version assets.
|
1696
1809
|
# @return [String]
|
1697
1810
|
#
|
1698
1811
|
# @!attribute [rw] format
|
1699
|
-
# The format of the package that contains the
|
1700
|
-
# assets.
|
1812
|
+
# The format of the package that contains the requested package
|
1813
|
+
# version assets.
|
1701
1814
|
# @return [String]
|
1702
1815
|
#
|
1703
1816
|
# @!attribute [rw] namespace
|
1704
|
-
# The namespace of the package
|
1817
|
+
# The namespace of the package version that contains the requested
|
1818
|
+
# package version assets. The package version component that specifies
|
1705
1819
|
# its namespace depends on its type. For example:
|
1706
1820
|
#
|
1707
|
-
# * The namespace of a Maven package is its `groupId`.
|
1821
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1708
1822
|
#
|
1709
|
-
# * The namespace of an npm package is its `scope`.
|
1823
|
+
# * The namespace of an npm package version is its `scope`.
|
1710
1824
|
#
|
1711
|
-
# *
|
1712
|
-
#
|
1825
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1826
|
+
# component, package versions of those formats do not have a
|
1827
|
+
# namespace.
|
1713
1828
|
# @return [String]
|
1714
1829
|
#
|
1715
1830
|
# @!attribute [rw] package
|
1716
|
-
# The name of the package that contains the
|
1831
|
+
# The name of the package that contains the requested package version
|
1717
1832
|
# assets.
|
1718
1833
|
# @return [String]
|
1719
1834
|
#
|
@@ -1748,29 +1863,31 @@ module Aws::CodeArtifact
|
|
1748
1863
|
end
|
1749
1864
|
|
1750
1865
|
# @!attribute [rw] format
|
1751
|
-
# The format of the package that contains the
|
1752
|
-
# assets.
|
1866
|
+
# The format of the package that contains the requested package
|
1867
|
+
# version assets.
|
1753
1868
|
# @return [String]
|
1754
1869
|
#
|
1755
1870
|
# @!attribute [rw] namespace
|
1756
|
-
# The namespace of the package
|
1871
|
+
# The namespace of the package version that contains the requested
|
1872
|
+
# package version assets. The package version component that specifies
|
1757
1873
|
# its namespace depends on its type. For example:
|
1758
1874
|
#
|
1759
|
-
# * The namespace of a Maven package is its `groupId`.
|
1875
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1760
1876
|
#
|
1761
|
-
# * The namespace of an npm package is its `scope`.
|
1877
|
+
# * The namespace of an npm package version is its `scope`.
|
1762
1878
|
#
|
1763
|
-
# *
|
1764
|
-
#
|
1879
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1880
|
+
# component, package versions of those formats do not have a
|
1881
|
+
# namespace.
|
1765
1882
|
# @return [String]
|
1766
1883
|
#
|
1767
1884
|
# @!attribute [rw] package
|
1768
|
-
# The name of the package that contains the
|
1885
|
+
# The name of the package that contains the requested package version
|
1769
1886
|
# assets.
|
1770
1887
|
# @return [String]
|
1771
1888
|
#
|
1772
1889
|
# @!attribute [rw] version
|
1773
|
-
# The version of the package associated with the
|
1890
|
+
# The version of the package associated with the requested assets.
|
1774
1891
|
# @return [String]
|
1775
1892
|
#
|
1776
1893
|
# @!attribute [rw] version_revision
|
@@ -1838,15 +1955,17 @@ module Aws::CodeArtifact
|
|
1838
1955
|
# @return [String]
|
1839
1956
|
#
|
1840
1957
|
# @!attribute [rw] namespace
|
1841
|
-
# The namespace of the package
|
1842
|
-
#
|
1958
|
+
# The namespace of the package version with the requested
|
1959
|
+
# dependencies. The package version component that specifies its
|
1960
|
+
# namespace depends on its type. For example:
|
1843
1961
|
#
|
1844
|
-
# * The namespace of a Maven package is its `groupId`.
|
1962
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1845
1963
|
#
|
1846
|
-
# * The namespace of an npm package is its `scope`.
|
1964
|
+
# * The namespace of an npm package version is its `scope`.
|
1847
1965
|
#
|
1848
|
-
# *
|
1849
|
-
#
|
1966
|
+
# * Python and NuGet package versions do not contain a corresponding
|
1967
|
+
# component, package versions of those formats do not have a
|
1968
|
+
# namespace.
|
1850
1969
|
# @return [String]
|
1851
1970
|
#
|
1852
1971
|
# @!attribute [rw] package
|
@@ -1884,15 +2003,17 @@ module Aws::CodeArtifact
|
|
1884
2003
|
# @return [String]
|
1885
2004
|
#
|
1886
2005
|
# @!attribute [rw] namespace
|
1887
|
-
# The namespace of the package
|
1888
|
-
#
|
2006
|
+
# The namespace of the package version that contains the returned
|
2007
|
+
# dependencies. The package version component that specifies its
|
2008
|
+
# namespace depends on its type. For example:
|
1889
2009
|
#
|
1890
|
-
# * The namespace of a Maven package is its `groupId`.
|
2010
|
+
# * The namespace of a Maven package version is its `groupId`.
|
1891
2011
|
#
|
1892
|
-
# * The namespace of an npm package is its `scope`.
|
2012
|
+
# * The namespace of an npm package version is its `scope`.
|
1893
2013
|
#
|
1894
|
-
# *
|
1895
|
-
#
|
2014
|
+
# * Python and NuGet package versions do not contain a corresponding
|
2015
|
+
# component, package versions of those formats do not have a
|
2016
|
+
# namespace.
|
1896
2017
|
# @return [String]
|
1897
2018
|
#
|
1898
2019
|
# @!attribute [rw] package
|
@@ -1950,11 +2071,12 @@ module Aws::CodeArtifact
|
|
1950
2071
|
# sort_by: "PUBLISHED_TIME", # accepts PUBLISHED_TIME
|
1951
2072
|
# max_results: 1,
|
1952
2073
|
# next_token: "PaginationToken",
|
2074
|
+
# origin_type: "INTERNAL", # accepts INTERNAL, EXTERNAL, UNKNOWN
|
1953
2075
|
# }
|
1954
2076
|
#
|
1955
2077
|
# @!attribute [rw] domain
|
1956
2078
|
# The name of the domain that contains the repository that contains
|
1957
|
-
# the
|
2079
|
+
# the requested package versions.
|
1958
2080
|
# @return [String]
|
1959
2081
|
#
|
1960
2082
|
# @!attribute [rw] domain_owner
|
@@ -1963,37 +2085,38 @@ module Aws::CodeArtifact
|
|
1963
2085
|
# @return [String]
|
1964
2086
|
#
|
1965
2087
|
# @!attribute [rw] repository
|
1966
|
-
# The name of the repository that contains the package
|
2088
|
+
# The name of the repository that contains the requested package
|
2089
|
+
# versions.
|
1967
2090
|
# @return [String]
|
1968
2091
|
#
|
1969
2092
|
# @!attribute [rw] format
|
1970
|
-
# The format of the returned
|
2093
|
+
# The format of the returned package versions.
|
1971
2094
|
# @return [String]
|
1972
2095
|
#
|
1973
2096
|
# @!attribute [rw] namespace
|
1974
|
-
# The namespace of the package
|
1975
|
-
#
|
2097
|
+
# The namespace of the package that contains the requested package
|
2098
|
+
# versions. The package component that specifies its namespace depends
|
2099
|
+
# on its type. For example:
|
1976
2100
|
#
|
1977
2101
|
# * The namespace of a Maven package is its `groupId`.
|
1978
2102
|
#
|
1979
2103
|
# * The namespace of an npm package is its `scope`.
|
1980
2104
|
#
|
1981
|
-
# *
|
1982
|
-
#
|
2105
|
+
# * Python and NuGet packages do not contain a corresponding
|
2106
|
+
# component, packages of those formats do not have a namespace.
|
1983
2107
|
# @return [String]
|
1984
2108
|
#
|
1985
2109
|
# @!attribute [rw] package
|
1986
|
-
# The name of the package for which you want to
|
1987
|
-
#
|
2110
|
+
# The name of the package for which you want to request package
|
2111
|
+
# versions.
|
1988
2112
|
# @return [String]
|
1989
2113
|
#
|
1990
2114
|
# @!attribute [rw] status
|
1991
|
-
# A string that
|
1992
|
-
# include in the returned list.
|
2115
|
+
# A string that filters the requested package versions by status.
|
1993
2116
|
# @return [String]
|
1994
2117
|
#
|
1995
2118
|
# @!attribute [rw] sort_by
|
1996
|
-
# How to sort the
|
2119
|
+
# How to sort the requested list of package versions.
|
1997
2120
|
# @return [String]
|
1998
2121
|
#
|
1999
2122
|
# @!attribute [rw] max_results
|
@@ -2006,6 +2129,11 @@ module Aws::CodeArtifact
|
|
2006
2129
|
# results.
|
2007
2130
|
# @return [String]
|
2008
2131
|
#
|
2132
|
+
# @!attribute [rw] origin_type
|
2133
|
+
# The `originType` used to filter package versions. Only package
|
2134
|
+
# versions with the provided `originType` will be returned.
|
2135
|
+
# @return [String]
|
2136
|
+
#
|
2009
2137
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionsRequest AWS API Documentation
|
2010
2138
|
#
|
2011
2139
|
class ListPackageVersionsRequest < Struct.new(
|
@@ -2018,7 +2146,8 @@ module Aws::CodeArtifact
|
|
2018
2146
|
:status,
|
2019
2147
|
:sort_by,
|
2020
2148
|
:max_results,
|
2021
|
-
:next_token
|
2149
|
+
:next_token,
|
2150
|
+
:origin_type)
|
2022
2151
|
SENSITIVE = []
|
2023
2152
|
include Aws::Structure
|
2024
2153
|
end
|
@@ -2040,15 +2169,16 @@ module Aws::CodeArtifact
|
|
2040
2169
|
# @return [String]
|
2041
2170
|
#
|
2042
2171
|
# @!attribute [rw] namespace
|
2043
|
-
# The namespace of the package
|
2044
|
-
#
|
2172
|
+
# The namespace of the package that contains the requested package
|
2173
|
+
# versions. The package component that specifies its namespace depends
|
2174
|
+
# on its type. For example:
|
2045
2175
|
#
|
2046
2176
|
# * The namespace of a Maven package is its `groupId`.
|
2047
2177
|
#
|
2048
2178
|
# * The namespace of an npm package is its `scope`.
|
2049
2179
|
#
|
2050
|
-
# *
|
2051
|
-
#
|
2180
|
+
# * Python and NuGet packages do not contain a corresponding
|
2181
|
+
# component, packages of those formats do not have a namespace.
|
2052
2182
|
# @return [String]
|
2053
2183
|
#
|
2054
2184
|
# @!attribute [rw] package
|
@@ -2093,11 +2223,13 @@ module Aws::CodeArtifact
|
|
2093
2223
|
# package_prefix: "PackageName",
|
2094
2224
|
# max_results: 1,
|
2095
2225
|
# next_token: "PaginationToken",
|
2226
|
+
# publish: "ALLOW", # accepts ALLOW, BLOCK
|
2227
|
+
# upstream: "ALLOW", # accepts ALLOW, BLOCK
|
2096
2228
|
# }
|
2097
2229
|
#
|
2098
2230
|
# @!attribute [rw] domain
|
2099
2231
|
# The name of the domain that contains the repository that contains
|
2100
|
-
# the requested
|
2232
|
+
# the requested packages.
|
2101
2233
|
# @return [String]
|
2102
2234
|
#
|
2103
2235
|
# @!attribute [rw] domain_owner
|
@@ -2106,27 +2238,29 @@ module Aws::CodeArtifact
|
|
2106
2238
|
# @return [String]
|
2107
2239
|
#
|
2108
2240
|
# @!attribute [rw] repository
|
2109
|
-
# The name of the repository
|
2241
|
+
# The name of the repository that contains the requested packages.
|
2110
2242
|
# @return [String]
|
2111
2243
|
#
|
2112
2244
|
# @!attribute [rw] format
|
2113
|
-
# The format
|
2245
|
+
# The format used to filter requested packages. Only packages from the
|
2246
|
+
# provided format will be returned.
|
2114
2247
|
# @return [String]
|
2115
2248
|
#
|
2116
2249
|
# @!attribute [rw] namespace
|
2117
|
-
# The namespace
|
2118
|
-
#
|
2250
|
+
# The namespace used to filter requested packages. Only packages with
|
2251
|
+
# the provided namespace will be returned. The package component that
|
2252
|
+
# specifies its namespace depends on its type. For example:
|
2119
2253
|
#
|
2120
2254
|
# * The namespace of a Maven package is its `groupId`.
|
2121
2255
|
#
|
2122
2256
|
# * The namespace of an npm package is its `scope`.
|
2123
2257
|
#
|
2124
|
-
# *
|
2125
|
-
#
|
2258
|
+
# * Python and NuGet packages do not contain a corresponding
|
2259
|
+
# component, packages of those formats do not have a namespace.
|
2126
2260
|
# @return [String]
|
2127
2261
|
#
|
2128
2262
|
# @!attribute [rw] package_prefix
|
2129
|
-
# A prefix used to filter
|
2263
|
+
# A prefix used to filter requested packages. Only packages with names
|
2130
2264
|
# that start with `packagePrefix` are returned.
|
2131
2265
|
# @return [String]
|
2132
2266
|
#
|
@@ -2140,6 +2274,28 @@ module Aws::CodeArtifact
|
|
2140
2274
|
# results.
|
2141
2275
|
# @return [String]
|
2142
2276
|
#
|
2277
|
+
# @!attribute [rw] publish
|
2278
|
+
# The value of the `Publish` package origin control restriction used
|
2279
|
+
# to filter requested packages. Only packages with the provided
|
2280
|
+
# restriction are returned. For more information, see
|
2281
|
+
# [PackageOriginRestrictions][1].
|
2282
|
+
#
|
2283
|
+
#
|
2284
|
+
#
|
2285
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2286
|
+
# @return [String]
|
2287
|
+
#
|
2288
|
+
# @!attribute [rw] upstream
|
2289
|
+
# The value of the `Upstream` package origin control restriction used
|
2290
|
+
# to filter requested packages. Only packages with the provided
|
2291
|
+
# restriction are returned. For more information, see
|
2292
|
+
# [PackageOriginRestrictions][1].
|
2293
|
+
#
|
2294
|
+
#
|
2295
|
+
#
|
2296
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2297
|
+
# @return [String]
|
2298
|
+
#
|
2143
2299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackagesRequest AWS API Documentation
|
2144
2300
|
#
|
2145
2301
|
class ListPackagesRequest < Struct.new(
|
@@ -2150,7 +2306,9 @@ module Aws::CodeArtifact
|
|
2150
2306
|
:namespace,
|
2151
2307
|
:package_prefix,
|
2152
2308
|
:max_results,
|
2153
|
-
:next_token
|
2309
|
+
:next_token,
|
2310
|
+
:publish,
|
2311
|
+
:upstream)
|
2154
2312
|
SENSITIVE = []
|
2155
2313
|
include Aws::Structure
|
2156
2314
|
end
|
@@ -2341,15 +2499,16 @@ module Aws::CodeArtifact
|
|
2341
2499
|
# Details about a package dependency.
|
2342
2500
|
#
|
2343
2501
|
# @!attribute [rw] namespace
|
2344
|
-
# The namespace of the package
|
2345
|
-
# its namespace depends on its type.
|
2502
|
+
# The namespace of the package that this package depends on. The
|
2503
|
+
# package component that specifies its namespace depends on its type.
|
2504
|
+
# For example:
|
2346
2505
|
#
|
2347
2506
|
# * The namespace of a Maven package is its `groupId`.
|
2348
2507
|
#
|
2349
2508
|
# * The namespace of an npm package is its `scope`.
|
2350
2509
|
#
|
2351
|
-
# *
|
2352
|
-
#
|
2510
|
+
# * Python and NuGet packages do not contain a corresponding
|
2511
|
+
# component, packages of those formats do not have a namespace.
|
2353
2512
|
# @return [String]
|
2354
2513
|
#
|
2355
2514
|
# @!attribute [rw] package
|
@@ -2380,6 +2539,91 @@ module Aws::CodeArtifact
|
|
2380
2539
|
include Aws::Structure
|
2381
2540
|
end
|
2382
2541
|
|
2542
|
+
# Details about a package.
|
2543
|
+
#
|
2544
|
+
# @!attribute [rw] format
|
2545
|
+
# A format that specifies the type of the package.
|
2546
|
+
# @return [String]
|
2547
|
+
#
|
2548
|
+
# @!attribute [rw] namespace
|
2549
|
+
# The namespace of the package. The package component that specifies
|
2550
|
+
# its namespace depends on its type. For example:
|
2551
|
+
#
|
2552
|
+
# * The namespace of a Maven package is its `groupId`.
|
2553
|
+
#
|
2554
|
+
# * The namespace of an npm package is its `scope`.
|
2555
|
+
#
|
2556
|
+
# * Python and NuGet packages do not contain a corresponding
|
2557
|
+
# component, packages of those formats do not have a namespace.
|
2558
|
+
# @return [String]
|
2559
|
+
#
|
2560
|
+
# @!attribute [rw] name
|
2561
|
+
# The name of the package.
|
2562
|
+
# @return [String]
|
2563
|
+
#
|
2564
|
+
# @!attribute [rw] origin_configuration
|
2565
|
+
# The package origin configuration for the package.
|
2566
|
+
# @return [Types::PackageOriginConfiguration]
|
2567
|
+
#
|
2568
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageDescription AWS API Documentation
|
2569
|
+
#
|
2570
|
+
class PackageDescription < Struct.new(
|
2571
|
+
:format,
|
2572
|
+
:namespace,
|
2573
|
+
:name,
|
2574
|
+
:origin_configuration)
|
2575
|
+
SENSITIVE = []
|
2576
|
+
include Aws::Structure
|
2577
|
+
end
|
2578
|
+
|
2579
|
+
# Details about the package origin configuration of a package.
|
2580
|
+
#
|
2581
|
+
# @!attribute [rw] restrictions
|
2582
|
+
# A `PackageOriginRestrictions` object that contains information about
|
2583
|
+
# the upstream and publish package origin configuration for the
|
2584
|
+
# package.
|
2585
|
+
# @return [Types::PackageOriginRestrictions]
|
2586
|
+
#
|
2587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageOriginConfiguration AWS API Documentation
|
2588
|
+
#
|
2589
|
+
class PackageOriginConfiguration < Struct.new(
|
2590
|
+
:restrictions)
|
2591
|
+
SENSITIVE = []
|
2592
|
+
include Aws::Structure
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
# Details about the origin restrictions set on the package. The package
|
2596
|
+
# origin restrictions determine how new versions of a package can be
|
2597
|
+
# added to a specific repository.
|
2598
|
+
#
|
2599
|
+
# @note When making an API call, you may pass PackageOriginRestrictions
|
2600
|
+
# data as a hash:
|
2601
|
+
#
|
2602
|
+
# {
|
2603
|
+
# publish: "ALLOW", # required, accepts ALLOW, BLOCK
|
2604
|
+
# upstream: "ALLOW", # required, accepts ALLOW, BLOCK
|
2605
|
+
# }
|
2606
|
+
#
|
2607
|
+
# @!attribute [rw] publish
|
2608
|
+
# The package origin configuration that determines if new versions of
|
2609
|
+
# the package can be published directly to the repository.
|
2610
|
+
# @return [String]
|
2611
|
+
#
|
2612
|
+
# @!attribute [rw] upstream
|
2613
|
+
# The package origin configuration that determines if new versions of
|
2614
|
+
# the package can be added to the repository from an external
|
2615
|
+
# connection or upstream source.
|
2616
|
+
# @return [String]
|
2617
|
+
#
|
2618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageOriginRestrictions AWS API Documentation
|
2619
|
+
#
|
2620
|
+
class PackageOriginRestrictions < Struct.new(
|
2621
|
+
:publish,
|
2622
|
+
:upstream)
|
2623
|
+
SENSITIVE = []
|
2624
|
+
include Aws::Structure
|
2625
|
+
end
|
2626
|
+
|
2383
2627
|
# Details about a package, including its format, namespace, and name.
|
2384
2628
|
# The [ListPackages][1] operation returns a list of `PackageSummary`
|
2385
2629
|
# objects.
|
@@ -2400,20 +2644,32 @@ module Aws::CodeArtifact
|
|
2400
2644
|
#
|
2401
2645
|
# * The namespace of an npm package is its `scope`.
|
2402
2646
|
#
|
2403
|
-
# *
|
2404
|
-
#
|
2647
|
+
# * Python and NuGet packages do not contain a corresponding
|
2648
|
+
# component, packages of those formats do not have a namespace.
|
2405
2649
|
# @return [String]
|
2406
2650
|
#
|
2407
2651
|
# @!attribute [rw] package
|
2408
2652
|
# The name of the package.
|
2409
2653
|
# @return [String]
|
2410
2654
|
#
|
2655
|
+
# @!attribute [rw] origin_configuration
|
2656
|
+
# A [PackageOriginConfiguration][1] object that contains a
|
2657
|
+
# [PackageOriginRestrictions][2] object that contains information
|
2658
|
+
# about the upstream and publish package origin restrictions.
|
2659
|
+
#
|
2660
|
+
#
|
2661
|
+
#
|
2662
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html
|
2663
|
+
# [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2664
|
+
# @return [Types::PackageOriginConfiguration]
|
2665
|
+
#
|
2411
2666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageSummary AWS API Documentation
|
2412
2667
|
#
|
2413
2668
|
class PackageSummary < Struct.new(
|
2414
2669
|
:format,
|
2415
2670
|
:namespace,
|
2416
|
-
:package
|
2671
|
+
:package,
|
2672
|
+
:origin_configuration)
|
2417
2673
|
SENSITIVE = []
|
2418
2674
|
include Aws::Structure
|
2419
2675
|
end
|
@@ -2425,15 +2681,16 @@ module Aws::CodeArtifact
|
|
2425
2681
|
# @return [String]
|
2426
2682
|
#
|
2427
2683
|
# @!attribute [rw] namespace
|
2428
|
-
# The namespace of the package. The package component
|
2429
|
-
# its namespace depends on its type. For example:
|
2684
|
+
# The namespace of the package version. The package version component
|
2685
|
+
# that specifies its namespace depends on its type. For example:
|
2430
2686
|
#
|
2431
|
-
# * The namespace of a Maven package is its `groupId`.
|
2687
|
+
# * The namespace of a Maven package version is its `groupId`.
|
2432
2688
|
#
|
2433
|
-
# * The namespace of an npm package is its `scope`.
|
2689
|
+
# * The namespace of an npm package version is its `scope`.
|
2434
2690
|
#
|
2435
|
-
# *
|
2436
|
-
#
|
2691
|
+
# * Python and NuGet package versions do not contain a corresponding
|
2692
|
+
# component, package versions of those formats do not have a
|
2693
|
+
# namespace.
|
2437
2694
|
# @return [String]
|
2438
2695
|
#
|
2439
2696
|
# @!attribute [rw] package_name
|
@@ -2483,6 +2740,15 @@ module Aws::CodeArtifact
|
|
2483
2740
|
# A string that contains the status of the package version.
|
2484
2741
|
# @return [String]
|
2485
2742
|
#
|
2743
|
+
# @!attribute [rw] origin
|
2744
|
+
# A [PackageVersionOrigin][1] object that contains information about
|
2745
|
+
# how the package version was added to the repository.
|
2746
|
+
#
|
2747
|
+
#
|
2748
|
+
#
|
2749
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html
|
2750
|
+
# @return [Types::PackageVersionOrigin]
|
2751
|
+
#
|
2486
2752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageVersionDescription AWS API Documentation
|
2487
2753
|
#
|
2488
2754
|
class PackageVersionDescription < Struct.new(
|
@@ -2497,12 +2763,13 @@ module Aws::CodeArtifact
|
|
2497
2763
|
:published_time,
|
2498
2764
|
:licenses,
|
2499
2765
|
:revision,
|
2500
|
-
:status
|
2766
|
+
:status,
|
2767
|
+
:origin)
|
2501
2768
|
SENSITIVE = []
|
2502
2769
|
include Aws::Structure
|
2503
2770
|
end
|
2504
2771
|
|
2505
|
-
# An error associated with package.
|
2772
|
+
# l An error associated with package.
|
2506
2773
|
#
|
2507
2774
|
# @!attribute [rw] error_code
|
2508
2775
|
# The error code associated with the error. Valid error codes are:
|
@@ -2533,6 +2800,35 @@ module Aws::CodeArtifact
|
|
2533
2800
|
include Aws::Structure
|
2534
2801
|
end
|
2535
2802
|
|
2803
|
+
# Information about how a package version was added to a repository.
|
2804
|
+
#
|
2805
|
+
# @!attribute [rw] domain_entry_point
|
2806
|
+
# A [DomainEntryPoint][1] object that contains information about from
|
2807
|
+
# which repository or external connection the package version was
|
2808
|
+
# added to the domain.
|
2809
|
+
#
|
2810
|
+
#
|
2811
|
+
#
|
2812
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainEntryPoint.html
|
2813
|
+
# @return [Types::DomainEntryPoint]
|
2814
|
+
#
|
2815
|
+
# @!attribute [rw] origin_type
|
2816
|
+
# Describes how the package version was originally added to the
|
2817
|
+
# domain. An `INTERNAL` origin type means the package version was
|
2818
|
+
# published directly to a repository in the domain. An `EXTERNAL`
|
2819
|
+
# origin type means the package version was ingested from an external
|
2820
|
+
# connection.
|
2821
|
+
# @return [String]
|
2822
|
+
#
|
2823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageVersionOrigin AWS API Documentation
|
2824
|
+
#
|
2825
|
+
class PackageVersionOrigin < Struct.new(
|
2826
|
+
:domain_entry_point,
|
2827
|
+
:origin_type)
|
2828
|
+
SENSITIVE = []
|
2829
|
+
include Aws::Structure
|
2830
|
+
end
|
2831
|
+
|
2536
2832
|
# Details about a package version, including its status, version, and
|
2537
2833
|
# revision. The [ListPackageVersions][1] operation returns a list of
|
2538
2834
|
# `PackageVersionSummary` objects.
|
@@ -2554,12 +2850,22 @@ module Aws::CodeArtifact
|
|
2554
2850
|
# one of the following:
|
2555
2851
|
# @return [String]
|
2556
2852
|
#
|
2853
|
+
# @!attribute [rw] origin
|
2854
|
+
# A [PackageVersionOrigin][1] object that contains information about
|
2855
|
+
# how the package version was added to the repository.
|
2856
|
+
#
|
2857
|
+
#
|
2858
|
+
#
|
2859
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionOrigin.html
|
2860
|
+
# @return [Types::PackageVersionOrigin]
|
2861
|
+
#
|
2557
2862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageVersionSummary AWS API Documentation
|
2558
2863
|
#
|
2559
2864
|
class PackageVersionSummary < Struct.new(
|
2560
2865
|
:version,
|
2561
2866
|
:revision,
|
2562
|
-
:status
|
2867
|
+
:status,
|
2868
|
+
:origin)
|
2563
2869
|
SENSITIVE = []
|
2564
2870
|
include Aws::Structure
|
2565
2871
|
end
|
@@ -2617,6 +2923,106 @@ module Aws::CodeArtifact
|
|
2617
2923
|
include Aws::Structure
|
2618
2924
|
end
|
2619
2925
|
|
2926
|
+
# @note When making an API call, you may pass PutPackageOriginConfigurationRequest
|
2927
|
+
# data as a hash:
|
2928
|
+
#
|
2929
|
+
# {
|
2930
|
+
# domain: "DomainName", # required
|
2931
|
+
# domain_owner: "AccountId",
|
2932
|
+
# repository: "RepositoryName", # required
|
2933
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
2934
|
+
# namespace: "PackageNamespace",
|
2935
|
+
# package: "PackageName", # required
|
2936
|
+
# restrictions: { # required
|
2937
|
+
# publish: "ALLOW", # required, accepts ALLOW, BLOCK
|
2938
|
+
# upstream: "ALLOW", # required, accepts ALLOW, BLOCK
|
2939
|
+
# },
|
2940
|
+
# }
|
2941
|
+
#
|
2942
|
+
# @!attribute [rw] domain
|
2943
|
+
# The name of the domain that contains the repository that contains
|
2944
|
+
# the package.
|
2945
|
+
# @return [String]
|
2946
|
+
#
|
2947
|
+
# @!attribute [rw] domain_owner
|
2948
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2949
|
+
# owns the domain. It does not include dashes or spaces.
|
2950
|
+
# @return [String]
|
2951
|
+
#
|
2952
|
+
# @!attribute [rw] repository
|
2953
|
+
# The name of the repository that contains the package.
|
2954
|
+
# @return [String]
|
2955
|
+
#
|
2956
|
+
# @!attribute [rw] format
|
2957
|
+
# A format that specifies the type of the package to be updated.
|
2958
|
+
# @return [String]
|
2959
|
+
#
|
2960
|
+
# @!attribute [rw] namespace
|
2961
|
+
# The namespace of the package to be updated. The package component
|
2962
|
+
# that specifies its namespace depends on its type. For example:
|
2963
|
+
#
|
2964
|
+
# * The namespace of a Maven package is its `groupId`.
|
2965
|
+
#
|
2966
|
+
# * The namespace of an npm package is its `scope`.
|
2967
|
+
#
|
2968
|
+
# * Python and NuGet packages do not contain a corresponding
|
2969
|
+
# component, packages of those formats do not have a namespace.
|
2970
|
+
# @return [String]
|
2971
|
+
#
|
2972
|
+
# @!attribute [rw] package
|
2973
|
+
# The name of the package to be updated.
|
2974
|
+
# @return [String]
|
2975
|
+
#
|
2976
|
+
# @!attribute [rw] restrictions
|
2977
|
+
# A [PackageOriginRestrictions][1] object that contains information
|
2978
|
+
# about the `upstream` and `publish` package origin restrictions. The
|
2979
|
+
# `upstream` restriction determines if new package versions can be
|
2980
|
+
# ingested or retained from external connections or upstream
|
2981
|
+
# repositories. The `publish` restriction determines if new package
|
2982
|
+
# versions can be published directly to the repository.
|
2983
|
+
#
|
2984
|
+
# You must include both the desired `upstream` and `publish`
|
2985
|
+
# restrictions.
|
2986
|
+
#
|
2987
|
+
#
|
2988
|
+
#
|
2989
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
2990
|
+
# @return [Types::PackageOriginRestrictions]
|
2991
|
+
#
|
2992
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutPackageOriginConfigurationRequest AWS API Documentation
|
2993
|
+
#
|
2994
|
+
class PutPackageOriginConfigurationRequest < Struct.new(
|
2995
|
+
:domain,
|
2996
|
+
:domain_owner,
|
2997
|
+
:repository,
|
2998
|
+
:format,
|
2999
|
+
:namespace,
|
3000
|
+
:package,
|
3001
|
+
:restrictions)
|
3002
|
+
SENSITIVE = []
|
3003
|
+
include Aws::Structure
|
3004
|
+
end
|
3005
|
+
|
3006
|
+
# @!attribute [rw] origin_configuration
|
3007
|
+
# A [PackageOriginConfiguration][1] object that describes the origin
|
3008
|
+
# configuration set for the package. It contains a
|
3009
|
+
# [PackageOriginRestrictions][2] object that describes how new
|
3010
|
+
# versions of the package can be introduced to the repository.
|
3011
|
+
#
|
3012
|
+
#
|
3013
|
+
#
|
3014
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginConfiguration.html
|
3015
|
+
# [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageOriginRestrictions.html
|
3016
|
+
# @return [Types::PackageOriginConfiguration]
|
3017
|
+
#
|
3018
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutPackageOriginConfigurationResult AWS API Documentation
|
3019
|
+
#
|
3020
|
+
class PutPackageOriginConfigurationResult < Struct.new(
|
3021
|
+
:origin_configuration)
|
3022
|
+
SENSITIVE = []
|
3023
|
+
include Aws::Structure
|
3024
|
+
end
|
3025
|
+
|
2620
3026
|
# @note When making an API call, you may pass PutRepositoryPermissionsPolicyRequest
|
2621
3027
|
# data as a hash:
|
2622
3028
|
#
|
@@ -3068,15 +3474,17 @@ module Aws::CodeArtifact
|
|
3068
3474
|
# @return [String]
|
3069
3475
|
#
|
3070
3476
|
# @!attribute [rw] namespace
|
3071
|
-
# The namespace of the package. The package
|
3072
|
-
# its namespace depends on its type.
|
3477
|
+
# The namespace of the package version to be updated. The package
|
3478
|
+
# version component that specifies its namespace depends on its type.
|
3479
|
+
# For example:
|
3073
3480
|
#
|
3074
|
-
# * The namespace of a Maven package is its `groupId`.
|
3481
|
+
# * The namespace of a Maven package version is its `groupId`.
|
3075
3482
|
#
|
3076
|
-
# * The namespace of an npm package is its `scope`.
|
3483
|
+
# * The namespace of an npm package version is its `scope`.
|
3077
3484
|
#
|
3078
|
-
# *
|
3079
|
-
#
|
3485
|
+
# * Python and NuGet package versions do not contain a corresponding
|
3486
|
+
# component, package versions of those formats do not have a
|
3487
|
+
# namespace.
|
3080
3488
|
# @return [String]
|
3081
3489
|
#
|
3082
3490
|
# @!attribute [rw] package
|