aws-sdk-codeartifact 1.23.0 → 1.24.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 +16 -9
- data/lib/aws-sdk-codeartifact/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-codeartifact/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-codeartifact/types.rb +29 -5
- data/lib/aws-sdk-codeartifact.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7d71a9136678bbb561bb56dd14922d0252b1bc0941b88f7051ebd451ab9acb58
|
|
4
|
+
data.tar.gz: e5df6d888421447cdb5bba403aefab8f6488ea6c630090261fe0f4026596f9d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f6d38d0aeb9367f5239bb91fcabd65a13cdcf2af49c766072395ac26e8a9b81367b95596c4a3362bd6fd917eb4a8aa50e34052a2c4ef87539522606555fe56d
|
|
7
|
+
data.tar.gz: 3bf06b33683ede7c44ec71d3d8a3fc3980b2779a30abbc32b8b1b9e05ecf11908fb999d13caa986082bf8e0a06e4a1ccf15c1eddc6ba092e434b8a9765c7eb88
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.24.0
|
|
@@ -392,6 +392,8 @@ module Aws::CodeArtifact
|
|
|
392
392
|
#
|
|
393
393
|
# * `public:npmjs` - for the npm public repository.
|
|
394
394
|
#
|
|
395
|
+
# * `public:nuget-org` - for the NuGet Gallery.
|
|
396
|
+
#
|
|
395
397
|
# * `public:pypi` - for the Python Package Index.
|
|
396
398
|
#
|
|
397
399
|
# * `public:maven-central` - for Maven Central.
|
|
@@ -807,7 +809,7 @@ module Aws::CodeArtifact
|
|
|
807
809
|
# version from your repository and be able to restore it later, set its
|
|
808
810
|
# status to `Archived`. Archived packages cannot be downloaded from a
|
|
809
811
|
# repository and don't show up with list package APIs (for example,
|
|
810
|
-
# [
|
|
812
|
+
# [ListPackageVersions][1]), but you can restore them using
|
|
811
813
|
# [UpdatePackageVersionsStatus][2].
|
|
812
814
|
#
|
|
813
815
|
#
|
|
@@ -1594,10 +1596,7 @@ module Aws::CodeArtifact
|
|
|
1594
1596
|
req.send_request(options, &block)
|
|
1595
1597
|
end
|
|
1596
1598
|
|
|
1597
|
-
# Gets the readme file or descriptive text for a package version.
|
|
1598
|
-
# packages that do not contain a readme file, CodeArtifact extracts a
|
|
1599
|
-
# description from a metadata file. For example, from the
|
|
1600
|
-
# `<description>` element in the `pom.xml` file of a Maven package.
|
|
1599
|
+
# Gets the readme file or descriptive text for a package version.
|
|
1601
1600
|
#
|
|
1602
1601
|
# The returned text might contain formatting. For example, it might
|
|
1603
1602
|
# contain formatting for Markdown or reStructuredText.
|
|
@@ -1618,6 +1617,11 @@ module Aws::CodeArtifact
|
|
|
1618
1617
|
# A format that specifies the type of the package version with the
|
|
1619
1618
|
# requested readme file.
|
|
1620
1619
|
#
|
|
1620
|
+
# <note markdown="1"> Although `maven` is listed as a valid value, CodeArtifact does not
|
|
1621
|
+
# support displaying readme files for Maven packages.
|
|
1622
|
+
#
|
|
1623
|
+
# </note>
|
|
1624
|
+
#
|
|
1621
1625
|
# @option params [String] :namespace
|
|
1622
1626
|
# The namespace of the package version with the requested readme file.
|
|
1623
1627
|
# The package version component that specifies its namespace depends on
|
|
@@ -2147,9 +2151,12 @@ module Aws::CodeArtifact
|
|
|
2147
2151
|
# provided format will be returned.
|
|
2148
2152
|
#
|
|
2149
2153
|
# @option params [String] :namespace
|
|
2150
|
-
# The namespace used to filter requested packages. Only packages
|
|
2151
|
-
#
|
|
2152
|
-
#
|
|
2154
|
+
# The namespace prefix used to filter requested packages. Only packages
|
|
2155
|
+
# with a namespace that starts with the provided string value are
|
|
2156
|
+
# returned. Note that although this option is called `--namespace` and
|
|
2157
|
+
# not `--namespace-prefix`, it has prefix-matching behavior.
|
|
2158
|
+
#
|
|
2159
|
+
# Each package format uses namespace as follows:
|
|
2153
2160
|
#
|
|
2154
2161
|
# * The namespace of a Maven package is its `groupId`.
|
|
2155
2162
|
#
|
|
@@ -2836,7 +2843,7 @@ module Aws::CodeArtifact
|
|
|
2836
2843
|
params: params,
|
|
2837
2844
|
config: config)
|
|
2838
2845
|
context[:gem_name] = 'aws-sdk-codeartifact'
|
|
2839
|
-
context[:gem_version] = '1.
|
|
2846
|
+
context[:gem_version] = '1.24.0'
|
|
2840
2847
|
Seahorse::Client::Request.new(handlers, context)
|
|
2841
2848
|
end
|
|
2842
2849
|
|
|
@@ -50,6 +50,9 @@ module Aws::CodeArtifact
|
|
|
50
50
|
|
|
51
51
|
def initialize(options = {})
|
|
52
52
|
self[:region] = options[:region]
|
|
53
|
+
if self[:region].nil?
|
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
|
55
|
+
end
|
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
|
55
58
|
if self[:use_dual_stack].nil?
|
|
@@ -15,7 +15,7 @@ module Aws::CodeArtifact
|
|
|
15
15
|
use_fips = parameters.use_fips
|
|
16
16
|
endpoint = parameters.endpoint
|
|
17
17
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
20
20
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
21
21
|
end
|
|
@@ -68,6 +68,8 @@ module Aws::CodeArtifact
|
|
|
68
68
|
#
|
|
69
69
|
# * `public:npmjs` - for the npm public repository.
|
|
70
70
|
#
|
|
71
|
+
# * `public:nuget-org` - for the NuGet Gallery.
|
|
72
|
+
#
|
|
71
73
|
# * `public:pypi` - for the Python Package Index.
|
|
72
74
|
#
|
|
73
75
|
# * `public:maven-central` - for Maven Central.
|
|
@@ -1283,6 +1285,11 @@ module Aws::CodeArtifact
|
|
|
1283
1285
|
# @!attribute [rw] format
|
|
1284
1286
|
# A format that specifies the type of the package version with the
|
|
1285
1287
|
# requested readme file.
|
|
1288
|
+
#
|
|
1289
|
+
# <note markdown="1"> Although `maven` is listed as a valid value, CodeArtifact does not
|
|
1290
|
+
# support displaying readme files for Maven packages.
|
|
1291
|
+
#
|
|
1292
|
+
# </note>
|
|
1286
1293
|
# @return [String]
|
|
1287
1294
|
#
|
|
1288
1295
|
# @!attribute [rw] namespace
|
|
@@ -1930,9 +1937,12 @@ module Aws::CodeArtifact
|
|
|
1930
1937
|
# @return [String]
|
|
1931
1938
|
#
|
|
1932
1939
|
# @!attribute [rw] namespace
|
|
1933
|
-
# The namespace used to filter requested packages. Only
|
|
1934
|
-
#
|
|
1935
|
-
#
|
|
1940
|
+
# The namespace prefix used to filter requested packages. Only
|
|
1941
|
+
# packages with a namespace that starts with the provided string value
|
|
1942
|
+
# are returned. Note that although this option is called `--namespace`
|
|
1943
|
+
# and not `--namespace-prefix`, it has prefix-matching behavior.
|
|
1944
|
+
#
|
|
1945
|
+
# Each package format uses namespace as follows:
|
|
1936
1946
|
#
|
|
1937
1947
|
# * The namespace of a Maven package is its `groupId`.
|
|
1938
1948
|
#
|
|
@@ -2172,8 +2182,22 @@ module Aws::CodeArtifact
|
|
|
2172
2182
|
#
|
|
2173
2183
|
# @!attribute [rw] dependency_type
|
|
2174
2184
|
# The type of a package dependency. The possible values depend on the
|
|
2175
|
-
# package type.
|
|
2176
|
-
#
|
|
2185
|
+
# package type.
|
|
2186
|
+
#
|
|
2187
|
+
# * npm: `regular`, `dev`, `peer`, `optional`
|
|
2188
|
+
#
|
|
2189
|
+
# * maven: `optional`, `parent`, `compile`, `runtime`, `test`,
|
|
2190
|
+
# `system`, `provided`.
|
|
2191
|
+
#
|
|
2192
|
+
# <note markdown="1"> Note that `parent` is not a regular Maven dependency type; instead
|
|
2193
|
+
# this is extracted from the `<parent>` element if one is defined in
|
|
2194
|
+
# the package version's POM file.
|
|
2195
|
+
#
|
|
2196
|
+
# </note>
|
|
2197
|
+
#
|
|
2198
|
+
# * nuget: The `dependencyType` field is never set for NuGet packages.
|
|
2199
|
+
#
|
|
2200
|
+
# * pypi: `Requires-Dist`
|
|
2177
2201
|
# @return [String]
|
|
2178
2202
|
#
|
|
2179
2203
|
# @!attribute [rw] version_requirement
|
data/lib/aws-sdk-codeartifact.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-codeartifact
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.24.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-01-
|
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|