aws-sdk-codeartifact 1.42.0 → 1.44.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: ebd13c3f4c435b266859a7181e66f2e09b79bd8db274836f7dd3e6a10ec5e6d2
4
- data.tar.gz: 22c7c6ef6cde8366c89976ae464e7176751927bdb68830a06cb793520d0abd80
3
+ metadata.gz: f7ed33337e827ae871cce89dba94077b5926dd52f8b663ed3908676783b22a99
4
+ data.tar.gz: ce2e7d8c1071f4e2497507bf7cca6b7bb66d855cdf978e2ce2298ac6ad80b34e
5
5
  SHA512:
6
- metadata.gz: 5fc4b4485a0e0e595e6c33edf2140298b14214ada2d3388afe3b68bd379fdd794480411d698b2605303800e66d39a9109595eb13b3cb6a36f904f4e2cacd07ca
7
- data.tar.gz: bc761ea448496fe8a4381c89eefa9d6229831cefcf9491ea54f30e453efb27c0d82825e177c31955ee049ccad45455dae12be9876d2a9d0f96ad7327403455aa
6
+ metadata.gz: bdd2ace70e8064417bef068b5a37756e31cb2d67d23762df72a72284ad00bee98810a9e92e905998ed1473a71be58fbbde453a2856e16d9663c970593fca9d2a
7
+ data.tar.gz: e2ecbaa2ad0f83749d7a56ce9dedd219e322f63cf7ccdc0aa028b4dfe2c9a06bb04dfc74fe7c5a6490d6d09539070cbc47fcc465e1725a4eec5a08ddb6fa328d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2024-06-20)
5
+ ------------------
6
+
7
+ * Feature - Add support for the Cargo package format.
8
+
9
+ 1.43.0 (2024-06-05)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.42.0 (2024-05-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.44.0
@@ -451,6 +451,10 @@ module Aws::CodeArtifact
451
451
  #
452
452
  # * `public:maven-clojars` - for the Clojars repository.
453
453
  #
454
+ # * `public:ruby-gems-org` - for RubyGems.org.
455
+ #
456
+ # * `public:crates-io` - for Crates.io.
457
+ #
454
458
  # @return [Types::AssociateExternalConnectionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
455
459
  #
456
460
  # * {Types::AssociateExternalConnectionResult#repository #repository} => Types::RepositoryDescription
@@ -476,7 +480,7 @@ module Aws::CodeArtifact
476
480
  # resp.repository.upstreams[0].repository_name #=> String
477
481
  # resp.repository.external_connections #=> Array
478
482
  # resp.repository.external_connections[0].external_connection_name #=> String
479
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
483
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
480
484
  # resp.repository.external_connections[0].status #=> String, one of "Available"
481
485
  # resp.repository.created_time #=> Time
482
486
  #
@@ -537,7 +541,7 @@ module Aws::CodeArtifact
537
541
  #
538
542
  # * The namespace of a generic package is its `namespace`.
539
543
  #
540
- # * Python, NuGet, and Ruby package versions do not contain a
544
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
541
545
  # corresponding component, package versions of those formats do not
542
546
  # have a namespace.
543
547
  #
@@ -592,7 +596,7 @@ module Aws::CodeArtifact
592
596
  # domain_owner: "AccountId",
593
597
  # source_repository: "RepositoryName", # required
594
598
  # destination_repository: "RepositoryName", # required
595
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
599
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
596
600
  # namespace: "PackageNamespace",
597
601
  # package: "PackageName", # required
598
602
  # versions: ["PackageVersion"],
@@ -842,7 +846,7 @@ module Aws::CodeArtifact
842
846
  # resp.repository.upstreams[0].repository_name #=> String
843
847
  # resp.repository.external_connections #=> Array
844
848
  # resp.repository.external_connections[0].external_connection_name #=> String
845
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
849
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
846
850
  # resp.repository.external_connections[0].status #=> String, one of "Available"
847
851
  # resp.repository.created_time #=> Time
848
852
  #
@@ -982,7 +986,7 @@ module Aws::CodeArtifact
982
986
  #
983
987
  # * The namespace of a generic package is its `namespace`.
984
988
  #
985
- # * Python, NuGet, and Ruby package versions do not contain a
989
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
986
990
  # corresponding component, package versions of those formats do not
987
991
  # have a namespace.
988
992
  #
@@ -999,14 +1003,14 @@ module Aws::CodeArtifact
999
1003
  # domain: "DomainName", # required
1000
1004
  # domain_owner: "AccountId",
1001
1005
  # repository: "RepositoryName", # required
1002
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1006
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
1003
1007
  # namespace: "PackageNamespace",
1004
1008
  # package: "PackageName", # required
1005
1009
  # })
1006
1010
  #
1007
1011
  # @example Response structure
1008
1012
  #
1009
- # resp.deleted_package.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1013
+ # resp.deleted_package.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
1010
1014
  # resp.deleted_package.namespace #=> String
1011
1015
  # resp.deleted_package.package #=> String
1012
1016
  # resp.deleted_package.origin_configuration.restrictions.publish #=> String, one of "ALLOW", "BLOCK"
@@ -1126,7 +1130,7 @@ module Aws::CodeArtifact
1126
1130
  #
1127
1131
  # * The namespace of a generic package is its `namespace`.
1128
1132
  #
1129
- # * Python, NuGet, and Ruby package versions do not contain a
1133
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1130
1134
  # corresponding component, package versions of those formats do not
1131
1135
  # have a namespace.
1132
1136
  #
@@ -1151,7 +1155,7 @@ module Aws::CodeArtifact
1151
1155
  # domain: "DomainName", # required
1152
1156
  # domain_owner: "AccountId",
1153
1157
  # repository: "RepositoryName", # required
1154
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1158
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
1155
1159
  # namespace: "PackageNamespace",
1156
1160
  # package: "PackageName", # required
1157
1161
  # versions: ["PackageVersion"], # required
@@ -1212,7 +1216,7 @@ module Aws::CodeArtifact
1212
1216
  # resp.repository.upstreams[0].repository_name #=> String
1213
1217
  # resp.repository.external_connections #=> Array
1214
1218
  # resp.repository.external_connections[0].external_connection_name #=> String
1215
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1219
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
1216
1220
  # resp.repository.external_connections[0].status #=> String, one of "Available"
1217
1221
  # resp.repository.created_time #=> Time
1218
1222
  #
@@ -1369,7 +1373,7 @@ module Aws::CodeArtifact
1369
1373
  #
1370
1374
  # * The namespace of a generic package is its `namespace`.
1371
1375
  #
1372
- # * Python, NuGet, and Ruby package versions do not contain a
1376
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1373
1377
  # corresponding component, package versions of those formats do not
1374
1378
  # have a namespace.
1375
1379
  #
@@ -1386,14 +1390,14 @@ module Aws::CodeArtifact
1386
1390
  # domain: "DomainName", # required
1387
1391
  # domain_owner: "AccountId",
1388
1392
  # repository: "RepositoryName", # required
1389
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1393
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
1390
1394
  # namespace: "PackageNamespace",
1391
1395
  # package: "PackageName", # required
1392
1396
  # })
1393
1397
  #
1394
1398
  # @example Response structure
1395
1399
  #
1396
- # resp.package.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1400
+ # resp.package.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
1397
1401
  # resp.package.namespace #=> String
1398
1402
  # resp.package.name #=> String
1399
1403
  # resp.package.origin_configuration.restrictions.publish #=> String, one of "ALLOW", "BLOCK"
@@ -1506,7 +1510,7 @@ module Aws::CodeArtifact
1506
1510
  #
1507
1511
  # * The namespace of a generic package is its `namespace`.
1508
1512
  #
1509
- # * Python, NuGet, and Ruby package versions do not contain a
1513
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1510
1514
  # corresponding component, package versions of those formats do not
1511
1515
  # have a namespace.
1512
1516
  #
@@ -1526,7 +1530,7 @@ module Aws::CodeArtifact
1526
1530
  # domain: "DomainName", # required
1527
1531
  # domain_owner: "AccountId",
1528
1532
  # repository: "RepositoryName", # required
1529
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1533
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
1530
1534
  # namespace: "PackageNamespace",
1531
1535
  # package: "PackageName", # required
1532
1536
  # package_version: "PackageVersion", # required
@@ -1534,7 +1538,7 @@ module Aws::CodeArtifact
1534
1538
  #
1535
1539
  # @example Response structure
1536
1540
  #
1537
- # resp.package_version.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1541
+ # resp.package_version.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
1538
1542
  # resp.package_version.namespace #=> String
1539
1543
  # resp.package_version.package_name #=> String
1540
1544
  # resp.package_version.display_name #=> String
@@ -1598,7 +1602,7 @@ module Aws::CodeArtifact
1598
1602
  # resp.repository.upstreams[0].repository_name #=> String
1599
1603
  # resp.repository.external_connections #=> Array
1600
1604
  # resp.repository.external_connections[0].external_connection_name #=> String
1601
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1605
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
1602
1606
  # resp.repository.external_connections[0].status #=> String, one of "Available"
1603
1607
  # resp.repository.created_time #=> Time
1604
1608
  #
@@ -1653,7 +1657,7 @@ module Aws::CodeArtifact
1653
1657
  # resp.repository.upstreams[0].repository_name #=> String
1654
1658
  # resp.repository.external_connections #=> Array
1655
1659
  # resp.repository.external_connections[0].external_connection_name #=> String
1656
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1660
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
1657
1661
  # resp.repository.external_connections[0].status #=> String, one of "Available"
1658
1662
  # resp.repository.created_time #=> Time
1659
1663
  #
@@ -1721,7 +1725,7 @@ module Aws::CodeArtifact
1721
1725
  #
1722
1726
  # * The namespace of a generic package is its `namespace`.
1723
1727
  #
1724
- # * Python, NuGet, and Ruby package versions do not contain a
1728
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1725
1729
  # corresponding component, package versions of those formats do not
1726
1730
  # have a namespace.
1727
1731
  #
@@ -1748,7 +1752,7 @@ module Aws::CodeArtifact
1748
1752
  # domain: "DomainName", # required
1749
1753
  # domain_owner: "AccountId",
1750
1754
  # repository: "RepositoryName", # required
1751
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1755
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
1752
1756
  # namespace: "PackageNamespace",
1753
1757
  # package: "PackageName", # required
1754
1758
  # versions: ["PackageVersion"], # required
@@ -1825,7 +1829,7 @@ module Aws::CodeArtifact
1825
1829
  #
1826
1830
  # * The namespace of a generic package is its `namespace`.
1827
1831
  #
1828
- # * Python, NuGet, and Ruby package versions do not contain a
1832
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1829
1833
  # corresponding component, package versions of those formats do not
1830
1834
  # have a namespace.
1831
1835
  #
@@ -1842,7 +1846,7 @@ module Aws::CodeArtifact
1842
1846
  # resp = client.get_associated_package_group({
1843
1847
  # domain: "DomainName", # required
1844
1848
  # domain_owner: "AccountId",
1845
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1849
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
1846
1850
  # namespace: "PackageNamespace",
1847
1851
  # package: "PackageName", # required
1848
1852
  # })
@@ -2036,7 +2040,7 @@ module Aws::CodeArtifact
2036
2040
  #
2037
2041
  # * The namespace of a generic package is its `namespace`.
2038
2042
  #
2039
- # * Python, NuGet, and Ruby package versions do not contain a
2043
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2040
2044
  # corresponding component, package versions of those formats do not
2041
2045
  # have a namespace.
2042
2046
  #
@@ -2066,7 +2070,7 @@ module Aws::CodeArtifact
2066
2070
  # domain: "DomainName", # required
2067
2071
  # domain_owner: "AccountId",
2068
2072
  # repository: "RepositoryName", # required
2069
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2073
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
2070
2074
  # namespace: "PackageNamespace",
2071
2075
  # package: "PackageName", # required
2072
2076
  # package_version: "PackageVersion", # required
@@ -2133,7 +2137,7 @@ module Aws::CodeArtifact
2133
2137
  #
2134
2138
  # * The namespace of a generic package is its `namespace`.
2135
2139
  #
2136
- # * Python, NuGet, and Ruby package versions do not contain a
2140
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2137
2141
  # corresponding component, package versions of those formats do not
2138
2142
  # have a namespace.
2139
2143
  #
@@ -2159,7 +2163,7 @@ module Aws::CodeArtifact
2159
2163
  # domain: "DomainName", # required
2160
2164
  # domain_owner: "AccountId",
2161
2165
  # repository: "RepositoryName", # required
2162
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2166
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
2163
2167
  # namespace: "PackageNamespace",
2164
2168
  # package: "PackageName", # required
2165
2169
  # package_version: "PackageVersion", # required
@@ -2167,7 +2171,7 @@ module Aws::CodeArtifact
2167
2171
  #
2168
2172
  # @example Response structure
2169
2173
  #
2170
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2174
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
2171
2175
  # resp.namespace #=> String
2172
2176
  # resp.package #=> String
2173
2177
  # resp.version #=> String
@@ -2186,6 +2190,8 @@ module Aws::CodeArtifact
2186
2190
  # Returns the endpoint of a repository for a specific package format. A
2187
2191
  # repository has one endpoint for each package format:
2188
2192
  #
2193
+ # * `cargo`
2194
+ #
2189
2195
  # * `generic`
2190
2196
  #
2191
2197
  # * `maven`
@@ -2225,7 +2231,7 @@ module Aws::CodeArtifact
2225
2231
  # domain: "DomainName", # required
2226
2232
  # domain_owner: "AccountId",
2227
2233
  # repository: "RepositoryName", # required
2228
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2234
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
2229
2235
  # })
2230
2236
  #
2231
2237
  # @example Response structure
@@ -2403,7 +2409,7 @@ module Aws::CodeArtifact
2403
2409
  # @example Response structure
2404
2410
  #
2405
2411
  # resp.packages #=> Array
2406
- # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2412
+ # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
2407
2413
  # resp.packages[0].namespace #=> String
2408
2414
  # resp.packages[0].package #=> String
2409
2415
  # resp.packages[0].association_type #=> String, one of "STRONG", "WEAK"
@@ -2581,7 +2587,7 @@ module Aws::CodeArtifact
2581
2587
  #
2582
2588
  # * The namespace of a generic package is its `namespace`.
2583
2589
  #
2584
- # * Python, NuGet, and Ruby package versions do not contain a
2590
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2585
2591
  # corresponding component, package versions of those formats do not
2586
2592
  # have a namespace.
2587
2593
  #
@@ -2618,7 +2624,7 @@ module Aws::CodeArtifact
2618
2624
  # domain: "DomainName", # required
2619
2625
  # domain_owner: "AccountId",
2620
2626
  # repository: "RepositoryName", # required
2621
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2627
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
2622
2628
  # namespace: "PackageNamespace",
2623
2629
  # package: "PackageName", # required
2624
2630
  # package_version: "PackageVersion", # required
@@ -2628,7 +2634,7 @@ module Aws::CodeArtifact
2628
2634
  #
2629
2635
  # @example Response structure
2630
2636
  #
2631
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2637
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
2632
2638
  # resp.namespace #=> String
2633
2639
  # resp.package #=> String
2634
2640
  # resp.version #=> String
@@ -2686,21 +2692,17 @@ module Aws::CodeArtifact
2686
2692
  #
2687
2693
  # * Maven
2688
2694
  #
2689
- # * Swift
2690
- #
2691
- # * generic
2695
+ # ^
2692
2696
  #
2693
2697
  # </note>
2694
2698
  #
2695
2699
  # * The namespace of a Maven package version is its `groupId`.
2696
2700
  #
2697
- # * The namespace of an npm or Swift package version is its `scope`.
2698
- #
2699
- # * The namespace of a generic package is its `namespace`.
2701
+ # * The namespace of an npm package version is its `scope`.
2700
2702
  #
2701
- # * Python, NuGet, and Ruby package versions do not contain a
2702
- # corresponding component, package versions of those formats do not
2703
- # have a namespace.
2703
+ # * Python and NuGet package versions do not contain a corresponding
2704
+ # component, package versions of those formats do not have a
2705
+ # namespace.
2704
2706
  #
2705
2707
  # @option params [required, String] :package
2706
2708
  # The name of the package versions' package.
@@ -2729,7 +2731,7 @@ module Aws::CodeArtifact
2729
2731
  # domain: "DomainName", # required
2730
2732
  # domain_owner: "AccountId",
2731
2733
  # repository: "RepositoryName", # required
2732
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2734
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
2733
2735
  # namespace: "PackageNamespace",
2734
2736
  # package: "PackageName", # required
2735
2737
  # package_version: "PackageVersion", # required
@@ -2738,7 +2740,7 @@ module Aws::CodeArtifact
2738
2740
  #
2739
2741
  # @example Response structure
2740
2742
  #
2741
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2743
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
2742
2744
  # resp.namespace #=> String
2743
2745
  # resp.package #=> String
2744
2746
  # resp.version #=> String
@@ -2805,7 +2807,7 @@ module Aws::CodeArtifact
2805
2807
  #
2806
2808
  # * The namespace of a generic package is its `namespace`.
2807
2809
  #
2808
- # * Python, NuGet, and Ruby package versions do not contain a
2810
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2809
2811
  # corresponding component, package versions of those formats do not
2810
2812
  # have a namespace.
2811
2813
  #
@@ -2848,7 +2850,7 @@ module Aws::CodeArtifact
2848
2850
  # domain: "DomainName", # required
2849
2851
  # domain_owner: "AccountId",
2850
2852
  # repository: "RepositoryName", # required
2851
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2853
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
2852
2854
  # namespace: "PackageNamespace",
2853
2855
  # package: "PackageName", # required
2854
2856
  # status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
@@ -2861,7 +2863,7 @@ module Aws::CodeArtifact
2861
2863
  # @example Response structure
2862
2864
  #
2863
2865
  # resp.default_display_version #=> String
2864
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2866
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
2865
2867
  # resp.namespace #=> String
2866
2868
  # resp.package #=> String
2867
2869
  # resp.versions #=> Array
@@ -2918,7 +2920,7 @@ module Aws::CodeArtifact
2918
2920
  #
2919
2921
  # * The namespace of a generic package is its `namespace`.
2920
2922
  #
2921
- # * Python, NuGet, and Ruby package versions do not contain a
2923
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2922
2924
  # corresponding component, package versions of those formats do not
2923
2925
  # have a namespace.
2924
2926
  #
@@ -2967,7 +2969,7 @@ module Aws::CodeArtifact
2967
2969
  # domain: "DomainName", # required
2968
2970
  # domain_owner: "AccountId",
2969
2971
  # repository: "RepositoryName", # required
2970
- # format: "npm", # accepts npm, pypi, maven, nuget, generic, ruby, swift
2972
+ # format: "npm", # accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
2971
2973
  # namespace: "PackageNamespace",
2972
2974
  # package_prefix: "PackageName",
2973
2975
  # max_results: 1,
@@ -2979,7 +2981,7 @@ module Aws::CodeArtifact
2979
2981
  # @example Response structure
2980
2982
  #
2981
2983
  # resp.packages #=> Array
2982
- # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2984
+ # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
2983
2985
  # resp.packages[0].namespace #=> String
2984
2986
  # resp.packages[0].package #=> String
2985
2987
  # resp.packages[0].origin_configuration.restrictions.publish #=> String, one of "ALLOW", "BLOCK"
@@ -3327,7 +3329,7 @@ module Aws::CodeArtifact
3327
3329
  # domain: "DomainName", # required
3328
3330
  # domain_owner: "AccountId",
3329
3331
  # repository: "RepositoryName", # required
3330
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
3332
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
3331
3333
  # namespace: "PackageNamespace",
3332
3334
  # package: "PackageName", # required
3333
3335
  # package_version: "PackageVersion", # required
@@ -3339,7 +3341,7 @@ module Aws::CodeArtifact
3339
3341
  #
3340
3342
  # @example Response structure
3341
3343
  #
3342
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
3344
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
3343
3345
  # resp.namespace #=> String
3344
3346
  # resp.package #=> String
3345
3347
  # resp.version #=> String
@@ -3457,7 +3459,7 @@ module Aws::CodeArtifact
3457
3459
  #
3458
3460
  # * The namespace of a generic package is its `namespace`.
3459
3461
  #
3460
- # * Python, NuGet, and Ruby package versions do not contain a
3462
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
3461
3463
  # corresponding component, package versions of those formats do not
3462
3464
  # have a namespace.
3463
3465
  #
@@ -3489,7 +3491,7 @@ module Aws::CodeArtifact
3489
3491
  # domain: "DomainName", # required
3490
3492
  # domain_owner: "AccountId",
3491
3493
  # repository: "RepositoryName", # required
3492
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
3494
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
3493
3495
  # namespace: "PackageNamespace",
3494
3496
  # package: "PackageName", # required
3495
3497
  # restrictions: { # required
@@ -3829,7 +3831,7 @@ module Aws::CodeArtifact
3829
3831
  #
3830
3832
  # * The namespace of a generic package is its `namespace`.
3831
3833
  #
3832
- # * Python, NuGet, and Ruby package versions do not contain a
3834
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
3833
3835
  # corresponding component, package versions of those formats do not
3834
3836
  # have a namespace.
3835
3837
  #
@@ -3865,7 +3867,7 @@ module Aws::CodeArtifact
3865
3867
  # domain: "DomainName", # required
3866
3868
  # domain_owner: "AccountId",
3867
3869
  # repository: "RepositoryName", # required
3868
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
3870
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift, cargo
3869
3871
  # namespace: "PackageNamespace",
3870
3872
  # package: "PackageName", # required
3871
3873
  # versions: ["PackageVersion"], # required
@@ -3950,7 +3952,7 @@ module Aws::CodeArtifact
3950
3952
  # resp.repository.upstreams[0].repository_name #=> String
3951
3953
  # resp.repository.external_connections #=> Array
3952
3954
  # resp.repository.external_connections[0].external_connection_name #=> String
3953
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
3955
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift", "cargo"
3954
3956
  # resp.repository.external_connections[0].status #=> String, one of "Available"
3955
3957
  # resp.repository.created_time #=> Time
3956
3958
  #
@@ -3976,7 +3978,7 @@ module Aws::CodeArtifact
3976
3978
  params: params,
3977
3979
  config: config)
3978
3980
  context[:gem_name] = 'aws-sdk-codeartifact'
3979
- context[:gem_version] = '1.42.0'
3981
+ context[:gem_version] = '1.44.0'
3980
3982
  Seahorse::Client::Request.new(handlers, context)
3981
3983
  end
3982
3984
 
@@ -1040,9 +1040,11 @@ module Aws::CodeArtifact
1040
1040
 
1041
1041
  api.metadata = {
1042
1042
  "apiVersion" => "2018-09-22",
1043
+ "auth" => ["aws.auth#sigv4"],
1043
1044
  "endpointPrefix" => "codeartifact",
1044
1045
  "jsonVersion" => "1.1",
1045
1046
  "protocol" => "rest-json",
1047
+ "protocols" => ["rest-json"],
1046
1048
  "serviceFullName" => "CodeArtifact",
1047
1049
  "serviceId" => "codeartifact",
1048
1050
  "signatureVersion" => "v4",
@@ -82,6 +82,10 @@ module Aws::CodeArtifact
82
82
  # repository.
83
83
  #
84
84
  # * `public:maven-clojars` - for the Clojars repository.
85
+ #
86
+ # * `public:ruby-gems-org` - for RubyGems.org.
87
+ #
88
+ # * `public:crates-io` - for Crates.io.
85
89
  # @return [String]
86
90
  #
87
91
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnectionRequest AWS API Documentation
@@ -124,7 +128,7 @@ module Aws::CodeArtifact
124
128
  #
125
129
  # * The namespace of a generic package is its `namespace`.
126
130
  #
127
- # * Python, NuGet, and Ruby package versions do not contain a
131
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
128
132
  # corresponding component, package versions of those formats do not
129
133
  # have a namespace.
130
134
  # @return [String]
@@ -226,7 +230,7 @@ module Aws::CodeArtifact
226
230
  #
227
231
  # * The namespace of a generic package is its `namespace`.
228
232
  #
229
- # * Python, NuGet, and Ruby package versions do not contain a
233
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
230
234
  # corresponding component, package versions of those formats do not
231
235
  # have a namespace.
232
236
  # @return [String]
@@ -637,7 +641,7 @@ module Aws::CodeArtifact
637
641
  #
638
642
  # * The namespace of a generic package is its `namespace`.
639
643
  #
640
- # * Python, NuGet, and Ruby package versions do not contain a
644
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
641
645
  # corresponding component, package versions of those formats do not
642
646
  # have a namespace.
643
647
  # @return [String]
@@ -711,7 +715,7 @@ module Aws::CodeArtifact
711
715
  #
712
716
  # * The namespace of a generic package is its `namespace`.
713
717
  #
714
- # * Python, NuGet, and Ruby package versions do not contain a
718
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
715
719
  # corresponding component, package versions of those formats do not
716
720
  # have a namespace.
717
721
  # @return [String]
@@ -967,7 +971,7 @@ module Aws::CodeArtifact
967
971
  #
968
972
  # * The namespace of a generic package is its `namespace`.
969
973
  #
970
- # * Python, NuGet, and Ruby package versions do not contain a
974
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
971
975
  # corresponding component, package versions of those formats do not
972
976
  # have a namespace.
973
977
  # @return [String]
@@ -1046,7 +1050,7 @@ module Aws::CodeArtifact
1046
1050
  #
1047
1051
  # * The namespace of a generic package is its `namespace`.
1048
1052
  #
1049
- # * Python, NuGet, and Ruby package versions do not contain a
1053
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1050
1054
  # corresponding component, package versions of those formats do not
1051
1055
  # have a namespace.
1052
1056
  # @return [String]
@@ -1211,7 +1215,7 @@ module Aws::CodeArtifact
1211
1215
  #
1212
1216
  # * The namespace of a generic package is its `namespace`.
1213
1217
  #
1214
- # * Python, NuGet, and Ruby package versions do not contain a
1218
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1215
1219
  # corresponding component, package versions of those formats do not
1216
1220
  # have a namespace.
1217
1221
  # @return [String]
@@ -1455,7 +1459,7 @@ module Aws::CodeArtifact
1455
1459
  #
1456
1460
  # * The namespace of a generic package is its `namespace`.
1457
1461
  #
1458
- # * Python, NuGet, and Ruby package versions do not contain a
1462
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1459
1463
  # corresponding component, package versions of those formats do not
1460
1464
  # have a namespace.
1461
1465
  # @return [String]
@@ -1613,7 +1617,7 @@ module Aws::CodeArtifact
1613
1617
  #
1614
1618
  # * The namespace of a generic package is its `namespace`.
1615
1619
  #
1616
- # * Python, NuGet, and Ruby package versions do not contain a
1620
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1617
1621
  # corresponding component, package versions of those formats do not
1618
1622
  # have a namespace.
1619
1623
  # @return [String]
@@ -1721,7 +1725,7 @@ module Aws::CodeArtifact
1721
1725
  #
1722
1726
  # * The namespace of a generic package is its `namespace`.
1723
1727
  #
1724
- # * Python, NuGet, and Ruby package versions do not contain a
1728
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1725
1729
  # corresponding component, package versions of those formats do not
1726
1730
  # have a namespace.
1727
1731
  # @return [String]
@@ -1764,7 +1768,7 @@ module Aws::CodeArtifact
1764
1768
  #
1765
1769
  # * The namespace of a generic package is its `namespace`.
1766
1770
  #
1767
- # * Python, NuGet, and Ruby package versions do not contain a
1771
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
1768
1772
  # corresponding component, package versions of those formats do not
1769
1773
  # have a namespace.
1770
1774
  # @return [String]
@@ -2176,7 +2180,7 @@ module Aws::CodeArtifact
2176
2180
  #
2177
2181
  # * The namespace of a generic package is its `namespace`.
2178
2182
  #
2179
- # * Python, NuGet, and Ruby package versions do not contain a
2183
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2180
2184
  # corresponding component, package versions of those formats do not
2181
2185
  # have a namespace.
2182
2186
  # @return [String]
@@ -2232,7 +2236,7 @@ module Aws::CodeArtifact
2232
2236
  #
2233
2237
  # * The namespace of a generic package is its `namespace`.
2234
2238
  #
2235
- # * Python, NuGet, and Ruby package versions do not contain a
2239
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2236
2240
  # corresponding component, package versions of those formats do not
2237
2241
  # have a namespace.
2238
2242
  # @return [String]
@@ -2306,21 +2310,17 @@ module Aws::CodeArtifact
2306
2310
  #
2307
2311
  # * Maven
2308
2312
  #
2309
- # * Swift
2310
- #
2311
- # * generic
2313
+ # ^
2312
2314
  #
2313
2315
  # </note>
2314
2316
  #
2315
2317
  # * The namespace of a Maven package version is its `groupId`.
2316
2318
  #
2317
- # * The namespace of an npm or Swift package version is its `scope`.
2318
- #
2319
- # * The namespace of a generic package is its `namespace`.
2319
+ # * The namespace of an npm package version is its `scope`.
2320
2320
  #
2321
- # * Python, NuGet, and Ruby package versions do not contain a
2322
- # corresponding component, package versions of those formats do not
2323
- # have a namespace.
2321
+ # * Python and NuGet package versions do not contain a corresponding
2322
+ # component, package versions of those formats do not have a
2323
+ # namespace.
2324
2324
  # @return [String]
2325
2325
  #
2326
2326
  # @!attribute [rw] package
@@ -2362,15 +2362,22 @@ module Aws::CodeArtifact
2362
2362
  # dependencies. The package component that specifies its namespace
2363
2363
  # depends on its type. For example:
2364
2364
  #
2365
- # * The namespace of a Maven package version is its `groupId`.
2365
+ # <note markdown="1"> The namespace is required when listing dependencies from package
2366
+ # versions of the following formats:
2366
2367
  #
2367
- # * The namespace of an npm or Swift package version is its `scope`.
2368
+ # * Maven
2368
2369
  #
2369
- # * The namespace of a generic package is its `namespace`.
2370
+ # ^
2370
2371
  #
2371
- # * Python, NuGet, and Ruby package versions do not contain a
2372
- # corresponding component, package versions of those formats do not
2373
- # have a namespace.
2372
+ # </note>
2373
+ #
2374
+ # * The namespace of a Maven package version is its `groupId`.
2375
+ #
2376
+ # * The namespace of an npm package version is its `scope`.
2377
+ #
2378
+ # * Python and NuGet package versions do not contain a corresponding
2379
+ # component, package versions of those formats do not have a
2380
+ # namespace.
2374
2381
  # @return [String]
2375
2382
  #
2376
2383
  # @!attribute [rw] package
@@ -2455,7 +2462,7 @@ module Aws::CodeArtifact
2455
2462
  #
2456
2463
  # * The namespace of a generic package is its `namespace`.
2457
2464
  #
2458
- # * Python, NuGet, and Ruby package versions do not contain a
2465
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2459
2466
  # corresponding component, package versions of those formats do not
2460
2467
  # have a namespace.
2461
2468
  # @return [String]
@@ -2533,7 +2540,7 @@ module Aws::CodeArtifact
2533
2540
  #
2534
2541
  # * The namespace of a generic package is its `namespace`.
2535
2542
  #
2536
- # * Python, NuGet, and Ruby package versions do not contain a
2543
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2537
2544
  # corresponding component, package versions of those formats do not
2538
2545
  # have a namespace.
2539
2546
  # @return [String]
@@ -2601,7 +2608,7 @@ module Aws::CodeArtifact
2601
2608
  #
2602
2609
  # * The namespace of a generic package is its `namespace`.
2603
2610
  #
2604
- # * Python, NuGet, and Ruby package versions do not contain a
2611
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2605
2612
  # corresponding component, package versions of those formats do not
2606
2613
  # have a namespace.
2607
2614
  # @return [String]
@@ -2883,7 +2890,7 @@ module Aws::CodeArtifact
2883
2890
  #
2884
2891
  # * The namespace of a generic package is its `namespace`.
2885
2892
  #
2886
- # * Python, NuGet, and Ruby package versions do not contain a
2893
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2887
2894
  # corresponding component, package versions of those formats do not
2888
2895
  # have a namespace.
2889
2896
  # @return [String]
@@ -2946,7 +2953,7 @@ module Aws::CodeArtifact
2946
2953
  #
2947
2954
  # * The namespace of a generic package is its `namespace`.
2948
2955
  #
2949
- # * Python, NuGet, and Ruby package versions do not contain a
2956
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
2950
2957
  # corresponding component, package versions of those formats do not
2951
2958
  # have a namespace.
2952
2959
  # @return [String]
@@ -3238,7 +3245,7 @@ module Aws::CodeArtifact
3238
3245
  #
3239
3246
  # * The namespace of a generic package is its `namespace`.
3240
3247
  #
3241
- # * Python, NuGet, and Ruby package versions do not contain a
3248
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
3242
3249
  # corresponding component, package versions of those formats do not
3243
3250
  # have a namespace.
3244
3251
  # @return [String]
@@ -3285,7 +3292,7 @@ module Aws::CodeArtifact
3285
3292
  #
3286
3293
  # * The namespace of a generic package is its `namespace`.
3287
3294
  #
3288
- # * Python, NuGet, and Ruby package versions do not contain a
3295
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
3289
3296
  # corresponding component, package versions of those formats do not
3290
3297
  # have a namespace.
3291
3298
  # @return [String]
@@ -3678,7 +3685,7 @@ module Aws::CodeArtifact
3678
3685
  #
3679
3686
  # * The namespace of a generic package is its `namespace`.
3680
3687
  #
3681
- # * Python, NuGet, and Ruby package versions do not contain a
3688
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
3682
3689
  # corresponding component, package versions of those formats do not
3683
3690
  # have a namespace.
3684
3691
  # @return [String]
@@ -4262,7 +4269,7 @@ module Aws::CodeArtifact
4262
4269
  #
4263
4270
  # * The namespace of a generic package is its `namespace`.
4264
4271
  #
4265
- # * Python, NuGet, and Ruby package versions do not contain a
4272
+ # * Python, NuGet, Ruby, and Cargo package versions do not contain a
4266
4273
  # corresponding component, package versions of those formats do not
4267
4274
  # have a namespace.
4268
4275
  # @return [String]
@@ -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.42.0'
55
+ GEM_VERSION = '1.44.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -96,7 +96,7 @@ module Aws
96
96
  ?domain_owner: ::String,
97
97
  source_repository: ::String,
98
98
  destination_repository: ::String,
99
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
99
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
100
100
  ?namespace: ::String,
101
101
  package: ::String,
102
102
  ?versions: Array[::String],
@@ -199,7 +199,7 @@ module Aws
199
199
  domain: ::String,
200
200
  ?domain_owner: ::String,
201
201
  repository: ::String,
202
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
202
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
203
203
  ?namespace: ::String,
204
204
  package: ::String
205
205
  ) -> _DeletePackageResponseSuccess
@@ -227,7 +227,7 @@ module Aws
227
227
  domain: ::String,
228
228
  ?domain_owner: ::String,
229
229
  repository: ::String,
230
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
230
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
231
231
  ?namespace: ::String,
232
232
  package: ::String,
233
233
  versions: Array[::String],
@@ -280,7 +280,7 @@ module Aws
280
280
  domain: ::String,
281
281
  ?domain_owner: ::String,
282
282
  repository: ::String,
283
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
283
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
284
284
  ?namespace: ::String,
285
285
  package: ::String
286
286
  ) -> _DescribePackageResponseSuccess
@@ -307,7 +307,7 @@ module Aws
307
307
  domain: ::String,
308
308
  ?domain_owner: ::String,
309
309
  repository: ::String,
310
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
310
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
311
311
  ?namespace: ::String,
312
312
  package: ::String,
313
313
  package_version: ::String
@@ -349,7 +349,7 @@ module Aws
349
349
  domain: ::String,
350
350
  ?domain_owner: ::String,
351
351
  repository: ::String,
352
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
352
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
353
353
  ?namespace: ::String,
354
354
  package: ::String,
355
355
  versions: Array[::String],
@@ -367,7 +367,7 @@ module Aws
367
367
  def get_associated_package_group: (
368
368
  domain: ::String,
369
369
  ?domain_owner: ::String,
370
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
370
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
371
371
  ?namespace: ::String,
372
372
  package: ::String
373
373
  ) -> _GetAssociatedPackageGroupResponseSuccess
@@ -409,7 +409,7 @@ module Aws
409
409
  domain: ::String,
410
410
  ?domain_owner: ::String,
411
411
  repository: ::String,
412
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
412
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
413
413
  ?namespace: ::String,
414
414
  package: ::String,
415
415
  package_version: ::String,
@@ -420,7 +420,7 @@ module Aws
420
420
 
421
421
  interface _GetPackageVersionReadmeResponseSuccess
422
422
  include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageVersionReadmeResult]
423
- def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
423
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
424
424
  def namespace: () -> ::String
425
425
  def package: () -> ::String
426
426
  def version: () -> ::String
@@ -432,7 +432,7 @@ module Aws
432
432
  domain: ::String,
433
433
  ?domain_owner: ::String,
434
434
  repository: ::String,
435
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
435
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
436
436
  ?namespace: ::String,
437
437
  package: ::String,
438
438
  package_version: ::String
@@ -448,7 +448,7 @@ module Aws
448
448
  domain: ::String,
449
449
  ?domain_owner: ::String,
450
450
  repository: ::String,
451
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
451
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
452
452
  ) -> _GetRepositoryEndpointResponseSuccess
453
453
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRepositoryEndpointResponseSuccess
454
454
 
@@ -525,7 +525,7 @@ module Aws
525
525
 
526
526
  interface _ListPackageVersionAssetsResponseSuccess
527
527
  include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionAssetsResult]
528
- def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
528
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
529
529
  def namespace: () -> ::String
530
530
  def package: () -> ::String
531
531
  def version: () -> ::String
@@ -538,7 +538,7 @@ module Aws
538
538
  domain: ::String,
539
539
  ?domain_owner: ::String,
540
540
  repository: ::String,
541
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
541
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
542
542
  ?namespace: ::String,
543
543
  package: ::String,
544
544
  package_version: ::String,
@@ -549,7 +549,7 @@ module Aws
549
549
 
550
550
  interface _ListPackageVersionDependenciesResponseSuccess
551
551
  include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionDependenciesResult]
552
- def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
552
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
553
553
  def namespace: () -> ::String
554
554
  def package: () -> ::String
555
555
  def version: () -> ::String
@@ -562,7 +562,7 @@ module Aws
562
562
  domain: ::String,
563
563
  ?domain_owner: ::String,
564
564
  repository: ::String,
565
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
565
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
566
566
  ?namespace: ::String,
567
567
  package: ::String,
568
568
  package_version: ::String,
@@ -573,7 +573,7 @@ module Aws
573
573
  interface _ListPackageVersionsResponseSuccess
574
574
  include ::Seahorse::Client::_ResponseSuccess[Types::ListPackageVersionsResult]
575
575
  def default_display_version: () -> ::String
576
- def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
576
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
577
577
  def namespace: () -> ::String
578
578
  def package: () -> ::String
579
579
  def versions: () -> ::Array[Types::PackageVersionSummary]
@@ -584,7 +584,7 @@ module Aws
584
584
  domain: ::String,
585
585
  ?domain_owner: ::String,
586
586
  repository: ::String,
587
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
587
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
588
588
  ?namespace: ::String,
589
589
  package: ::String,
590
590
  ?status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted"),
@@ -605,7 +605,7 @@ module Aws
605
605
  domain: ::String,
606
606
  ?domain_owner: ::String,
607
607
  repository: ::String,
608
- ?format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
608
+ ?format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
609
609
  ?namespace: ::String,
610
610
  ?package_prefix: ::String,
611
611
  ?max_results: ::Integer,
@@ -671,7 +671,7 @@ module Aws
671
671
 
672
672
  interface _PublishPackageVersionResponseSuccess
673
673
  include ::Seahorse::Client::_ResponseSuccess[Types::PublishPackageVersionResult]
674
- def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
674
+ def format: () -> ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
675
675
  def namespace: () -> ::String
676
676
  def package: () -> ::String
677
677
  def version: () -> ::String
@@ -684,7 +684,7 @@ module Aws
684
684
  domain: ::String,
685
685
  ?domain_owner: ::String,
686
686
  repository: ::String,
687
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
687
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
688
688
  ?namespace: ::String,
689
689
  package: ::String,
690
690
  package_version: ::String,
@@ -717,7 +717,7 @@ module Aws
717
717
  domain: ::String,
718
718
  ?domain_owner: ::String,
719
719
  repository: ::String,
720
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
720
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
721
721
  ?namespace: ::String,
722
722
  package: ::String,
723
723
  restrictions: {
@@ -816,7 +816,7 @@ module Aws
816
816
  domain: ::String,
817
817
  ?domain_owner: ::String,
818
818
  repository: ::String,
819
- format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift"),
819
+ format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo"),
820
820
  ?namespace: ::String,
821
821
  package: ::String,
822
822
  versions: Array[::String],
data/sig/types.rbs CHANGED
@@ -34,7 +34,7 @@ module Aws::CodeArtifact
34
34
  end
35
35
 
36
36
  class AssociatedPackage
37
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
37
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
38
38
  attr_accessor namespace: ::String
39
39
  attr_accessor package: ::String
40
40
  attr_accessor association_type: ("STRONG" | "WEAK")
@@ -53,7 +53,7 @@ module Aws::CodeArtifact
53
53
  attr_accessor domain_owner: ::String
54
54
  attr_accessor source_repository: ::String
55
55
  attr_accessor destination_repository: ::String
56
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
56
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
57
57
  attr_accessor namespace: ::String
58
58
  attr_accessor package: ::String
59
59
  attr_accessor versions: ::Array[::String]
@@ -150,7 +150,7 @@ module Aws::CodeArtifact
150
150
  attr_accessor domain: ::String
151
151
  attr_accessor domain_owner: ::String
152
152
  attr_accessor repository: ::String
153
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
153
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
154
154
  attr_accessor namespace: ::String
155
155
  attr_accessor package: ::String
156
156
  SENSITIVE: []
@@ -165,7 +165,7 @@ module Aws::CodeArtifact
165
165
  attr_accessor domain: ::String
166
166
  attr_accessor domain_owner: ::String
167
167
  attr_accessor repository: ::String
168
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
168
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
169
169
  attr_accessor namespace: ::String
170
170
  attr_accessor package: ::String
171
171
  attr_accessor versions: ::Array[::String]
@@ -231,7 +231,7 @@ module Aws::CodeArtifact
231
231
  attr_accessor domain: ::String
232
232
  attr_accessor domain_owner: ::String
233
233
  attr_accessor repository: ::String
234
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
234
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
235
235
  attr_accessor namespace: ::String
236
236
  attr_accessor package: ::String
237
237
  SENSITIVE: []
@@ -246,7 +246,7 @@ module Aws::CodeArtifact
246
246
  attr_accessor domain: ::String
247
247
  attr_accessor domain_owner: ::String
248
248
  attr_accessor repository: ::String
249
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
249
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
250
250
  attr_accessor namespace: ::String
251
251
  attr_accessor package: ::String
252
252
  attr_accessor package_version: ::String
@@ -287,7 +287,7 @@ module Aws::CodeArtifact
287
287
  attr_accessor domain: ::String
288
288
  attr_accessor domain_owner: ::String
289
289
  attr_accessor repository: ::String
290
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
290
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
291
291
  attr_accessor namespace: ::String
292
292
  attr_accessor package: ::String
293
293
  attr_accessor versions: ::Array[::String]
@@ -334,7 +334,7 @@ module Aws::CodeArtifact
334
334
  class GetAssociatedPackageGroupRequest
335
335
  attr_accessor domain: ::String
336
336
  attr_accessor domain_owner: ::String
337
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
337
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
338
338
  attr_accessor namespace: ::String
339
339
  attr_accessor package: ::String
340
340
  SENSITIVE: []
@@ -374,7 +374,7 @@ module Aws::CodeArtifact
374
374
  attr_accessor domain: ::String
375
375
  attr_accessor domain_owner: ::String
376
376
  attr_accessor repository: ::String
377
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
377
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
378
378
  attr_accessor namespace: ::String
379
379
  attr_accessor package: ::String
380
380
  attr_accessor package_version: ::String
@@ -395,7 +395,7 @@ module Aws::CodeArtifact
395
395
  attr_accessor domain: ::String
396
396
  attr_accessor domain_owner: ::String
397
397
  attr_accessor repository: ::String
398
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
398
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
399
399
  attr_accessor namespace: ::String
400
400
  attr_accessor package: ::String
401
401
  attr_accessor package_version: ::String
@@ -403,7 +403,7 @@ module Aws::CodeArtifact
403
403
  end
404
404
 
405
405
  class GetPackageVersionReadmeResult
406
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
406
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
407
407
  attr_accessor namespace: ::String
408
408
  attr_accessor package: ::String
409
409
  attr_accessor version: ::String
@@ -416,7 +416,7 @@ module Aws::CodeArtifact
416
416
  attr_accessor domain: ::String
417
417
  attr_accessor domain_owner: ::String
418
418
  attr_accessor repository: ::String
419
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
419
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
420
420
  SENSITIVE: []
421
421
  end
422
422
 
@@ -511,7 +511,7 @@ module Aws::CodeArtifact
511
511
  attr_accessor domain: ::String
512
512
  attr_accessor domain_owner: ::String
513
513
  attr_accessor repository: ::String
514
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
514
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
515
515
  attr_accessor namespace: ::String
516
516
  attr_accessor package: ::String
517
517
  attr_accessor package_version: ::String
@@ -521,7 +521,7 @@ module Aws::CodeArtifact
521
521
  end
522
522
 
523
523
  class ListPackageVersionAssetsResult
524
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
524
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
525
525
  attr_accessor namespace: ::String
526
526
  attr_accessor package: ::String
527
527
  attr_accessor version: ::String
@@ -535,7 +535,7 @@ module Aws::CodeArtifact
535
535
  attr_accessor domain: ::String
536
536
  attr_accessor domain_owner: ::String
537
537
  attr_accessor repository: ::String
538
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
538
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
539
539
  attr_accessor namespace: ::String
540
540
  attr_accessor package: ::String
541
541
  attr_accessor package_version: ::String
@@ -544,7 +544,7 @@ module Aws::CodeArtifact
544
544
  end
545
545
 
546
546
  class ListPackageVersionDependenciesResult
547
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
547
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
548
548
  attr_accessor namespace: ::String
549
549
  attr_accessor package: ::String
550
550
  attr_accessor version: ::String
@@ -558,7 +558,7 @@ module Aws::CodeArtifact
558
558
  attr_accessor domain: ::String
559
559
  attr_accessor domain_owner: ::String
560
560
  attr_accessor repository: ::String
561
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
561
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
562
562
  attr_accessor namespace: ::String
563
563
  attr_accessor package: ::String
564
564
  attr_accessor status: ("Published" | "Unfinished" | "Unlisted" | "Archived" | "Disposed" | "Deleted")
@@ -571,7 +571,7 @@ module Aws::CodeArtifact
571
571
 
572
572
  class ListPackageVersionsResult
573
573
  attr_accessor default_display_version: ::String
574
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
574
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
575
575
  attr_accessor namespace: ::String
576
576
  attr_accessor package: ::String
577
577
  attr_accessor versions: ::Array[Types::PackageVersionSummary]
@@ -583,7 +583,7 @@ module Aws::CodeArtifact
583
583
  attr_accessor domain: ::String
584
584
  attr_accessor domain_owner: ::String
585
585
  attr_accessor repository: ::String
586
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
586
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
587
587
  attr_accessor namespace: ::String
588
588
  attr_accessor package_prefix: ::String
589
589
  attr_accessor max_results: ::Integer
@@ -662,7 +662,7 @@ module Aws::CodeArtifact
662
662
  end
663
663
 
664
664
  class PackageDescription
665
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
665
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
666
666
  attr_accessor namespace: ::String
667
667
  attr_accessor name: ::String
668
668
  attr_accessor origin_configuration: Types::PackageOriginConfiguration
@@ -732,7 +732,7 @@ module Aws::CodeArtifact
732
732
  end
733
733
 
734
734
  class PackageSummary
735
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
735
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
736
736
  attr_accessor namespace: ::String
737
737
  attr_accessor package: ::String
738
738
  attr_accessor origin_configuration: Types::PackageOriginConfiguration
@@ -740,7 +740,7 @@ module Aws::CodeArtifact
740
740
  end
741
741
 
742
742
  class PackageVersionDescription
743
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
743
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
744
744
  attr_accessor namespace: ::String
745
745
  attr_accessor package_name: ::String
746
746
  attr_accessor display_name: ::String
@@ -780,7 +780,7 @@ module Aws::CodeArtifact
780
780
  attr_accessor domain: ::String
781
781
  attr_accessor domain_owner: ::String
782
782
  attr_accessor repository: ::String
783
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
783
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
784
784
  attr_accessor namespace: ::String
785
785
  attr_accessor package: ::String
786
786
  attr_accessor package_version: ::String
@@ -792,7 +792,7 @@ module Aws::CodeArtifact
792
792
  end
793
793
 
794
794
  class PublishPackageVersionResult
795
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
795
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
796
796
  attr_accessor namespace: ::String
797
797
  attr_accessor package: ::String
798
798
  attr_accessor version: ::String
@@ -819,7 +819,7 @@ module Aws::CodeArtifact
819
819
  attr_accessor domain: ::String
820
820
  attr_accessor domain_owner: ::String
821
821
  attr_accessor repository: ::String
822
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
822
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
823
823
  attr_accessor namespace: ::String
824
824
  attr_accessor package: ::String
825
825
  attr_accessor restrictions: Types::PackageOriginRestrictions
@@ -860,7 +860,7 @@ module Aws::CodeArtifact
860
860
 
861
861
  class RepositoryExternalConnectionInfo
862
862
  attr_accessor external_connection_name: ::String
863
- attr_accessor package_format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
863
+ attr_accessor package_format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
864
864
  attr_accessor status: ("Available")
865
865
  SENSITIVE: []
866
866
  end
@@ -967,7 +967,7 @@ module Aws::CodeArtifact
967
967
  attr_accessor domain: ::String
968
968
  attr_accessor domain_owner: ::String
969
969
  attr_accessor repository: ::String
970
- attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift")
970
+ attr_accessor format: ("npm" | "pypi" | "maven" | "nuget" | "generic" | "ruby" | "swift" | "cargo")
971
971
  attr_accessor namespace: ::String
972
972
  attr_accessor package: ::String
973
973
  attr_accessor versions: ::Array[::String]
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.42.0
4
+ version: 1.44.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: 2024-05-13 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.193.0
22
+ version: 3.197.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.193.0
32
+ version: 3.197.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement