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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74db9511dd83f3caab45bf95f79d0d6cdd3246fbdaa74159832baed182c4085e
4
- data.tar.gz: 2d5b028aefa7864a3c43d5d98d97f0d2f1701cb698c8082096d8bc63bfe7abbb
3
+ metadata.gz: 7d71a9136678bbb561bb56dd14922d0252b1bc0941b88f7051ebd451ab9acb58
4
+ data.tar.gz: e5df6d888421447cdb5bba403aefab8f6488ea6c630090261fe0f4026596f9d1
5
5
  SHA512:
6
- metadata.gz: 7a366fd8f427b81f04f9ea367917e12ed628787f97f27b94cd376fa191fd987bcb49ee00524f49394a0f7f26610b6a4177472a32150eef419f818f79dd08bd0d
7
- data.tar.gz: 465b8fedd422696205f383bb2254c786ae7b1e7b16a26e477608f9f93ae64b386356aceeb428f2293b05789db6a6619fa40189f9888870fdfc8564131f35bb21
6
+ metadata.gz: 7f6d38d0aeb9367f5239bb91fcabd65a13cdcf2af49c766072395ac26e8a9b81367b95596c4a3362bd6fd917eb4a8aa50e34052a2c4ef87539522606555fe56d
7
+ data.tar.gz: 3bf06b33683ede7c44ec71d3d8a3fc3980b2779a30abbc32b8b1b9e05ecf11908fb999d13caa986082bf8e0a06e4a1ccf15c1eddc6ba092e434b8a9765c7eb88
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.24.0 (2023-01-19)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for CodeArtifact
8
+
4
9
  1.23.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.23.0
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
- # [ListackageVersions][1]), but you can restore them using
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. For
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 with
2151
- # the provided namespace will be returned. The package component that
2152
- # specifies its namespace depends on its type. For example:
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.23.0'
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) && (url = Aws::Endpoints::Matchers.parse_url(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 packages with
1934
- # the provided namespace will be returned. The package component that
1935
- # specifies its namespace depends on its type. For example:
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. Example types are `compile`, `runtime`, and `test` for
2176
- # Maven packages, and `dev`, `prod`, and `optional` for npm packages.
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-codeartifact/customizations'
52
52
  # @!group service
53
53
  module Aws::CodeArtifact
54
54
 
55
- GEM_VERSION = '1.23.0'
55
+ GEM_VERSION = '1.24.0'
56
56
 
57
57
  end
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.23.0
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-18 00:00:00.000000000 Z
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