aws-sdk-codeartifact 1.39.0 → 1.41.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.
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::CodeArtifact
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::CodeArtifact
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::CodeArtifact
337
346
  # @option options [Aws::CodeArtifact::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::CodeArtifact::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
365
- #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
368
399
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
372
402
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
378
405
  #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -451,7 +475,7 @@ module Aws::CodeArtifact
451
475
  # resp.repository.upstreams[0].repository_name #=> String
452
476
  # resp.repository.external_connections #=> Array
453
477
  # resp.repository.external_connections[0].external_connection_name #=> String
454
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
478
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
455
479
  # resp.repository.external_connections[0].status #=> String, one of "Available"
456
480
  # resp.repository.created_time #=> Time
457
481
  #
@@ -512,9 +536,9 @@ module Aws::CodeArtifact
512
536
  #
513
537
  # * The namespace of a generic package is its `namespace`.
514
538
  #
515
- # * Python and NuGet package versions do not contain a corresponding
516
- # component, package versions of those formats do not have a
517
- # namespace.
539
+ # * Python, NuGet, and Ruby package versions do not contain a
540
+ # corresponding component, package versions of those formats do not
541
+ # have a namespace.
518
542
  #
519
543
  # @option params [required, String] :package
520
544
  # The name of the package that contains the versions to be copied.
@@ -567,7 +591,7 @@ module Aws::CodeArtifact
567
591
  # domain_owner: "AccountId",
568
592
  # source_repository: "RepositoryName", # required
569
593
  # destination_repository: "RepositoryName", # required
570
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
594
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
571
595
  # namespace: "PackageNamespace",
572
596
  # package: "PackageName", # required
573
597
  # versions: ["PackageVersion"],
@@ -817,7 +841,7 @@ module Aws::CodeArtifact
817
841
  # resp.repository.upstreams[0].repository_name #=> String
818
842
  # resp.repository.external_connections #=> Array
819
843
  # resp.repository.external_connections[0].external_connection_name #=> String
820
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
844
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
821
845
  # resp.repository.external_connections[0].status #=> String, one of "Available"
822
846
  # resp.repository.created_time #=> Time
823
847
  #
@@ -957,9 +981,9 @@ module Aws::CodeArtifact
957
981
  #
958
982
  # * The namespace of a generic package is its `namespace`.
959
983
  #
960
- # * Python and NuGet package versions do not contain a corresponding
961
- # component, package versions of those formats do not have a
962
- # namespace.
984
+ # * Python, NuGet, and Ruby package versions do not contain a
985
+ # corresponding component, package versions of those formats do not
986
+ # have a namespace.
963
987
  #
964
988
  # @option params [required, String] :package
965
989
  # The name of the package to delete.
@@ -974,14 +998,14 @@ module Aws::CodeArtifact
974
998
  # domain: "DomainName", # required
975
999
  # domain_owner: "AccountId",
976
1000
  # repository: "RepositoryName", # required
977
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
1001
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
978
1002
  # namespace: "PackageNamespace",
979
1003
  # package: "PackageName", # required
980
1004
  # })
981
1005
  #
982
1006
  # @example Response structure
983
1007
  #
984
- # resp.deleted_package.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
1008
+ # resp.deleted_package.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
985
1009
  # resp.deleted_package.namespace #=> String
986
1010
  # resp.deleted_package.package #=> String
987
1011
  # resp.deleted_package.origin_configuration.restrictions.publish #=> String, one of "ALLOW", "BLOCK"
@@ -1101,9 +1125,9 @@ module Aws::CodeArtifact
1101
1125
  #
1102
1126
  # * The namespace of a generic package is its `namespace`.
1103
1127
  #
1104
- # * Python and NuGet package versions do not contain a corresponding
1105
- # component, package versions of those formats do not have a
1106
- # namespace.
1128
+ # * Python, NuGet, and Ruby package versions do not contain a
1129
+ # corresponding component, package versions of those formats do not
1130
+ # have a namespace.
1107
1131
  #
1108
1132
  # @option params [required, String] :package
1109
1133
  # The name of the package with the versions to delete.
@@ -1126,7 +1150,7 @@ module Aws::CodeArtifact
1126
1150
  # domain: "DomainName", # required
1127
1151
  # domain_owner: "AccountId",
1128
1152
  # repository: "RepositoryName", # required
1129
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
1153
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1130
1154
  # namespace: "PackageNamespace",
1131
1155
  # package: "PackageName", # required
1132
1156
  # versions: ["PackageVersion"], # required
@@ -1187,7 +1211,7 @@ module Aws::CodeArtifact
1187
1211
  # resp.repository.upstreams[0].repository_name #=> String
1188
1212
  # resp.repository.external_connections #=> Array
1189
1213
  # resp.repository.external_connections[0].external_connection_name #=> String
1190
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
1214
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1191
1215
  # resp.repository.external_connections[0].status #=> String, one of "Available"
1192
1216
  # resp.repository.created_time #=> Time
1193
1217
  #
@@ -1344,9 +1368,9 @@ module Aws::CodeArtifact
1344
1368
  #
1345
1369
  # * The namespace of a generic package is its `namespace`.
1346
1370
  #
1347
- # * Python and NuGet package versions do not contain a corresponding
1348
- # component, package versions of those formats do not have a
1349
- # namespace.
1371
+ # * Python, NuGet, and Ruby package versions do not contain a
1372
+ # corresponding component, package versions of those formats do not
1373
+ # have a namespace.
1350
1374
  #
1351
1375
  # @option params [required, String] :package
1352
1376
  # The name of the requested package.
@@ -1361,14 +1385,14 @@ module Aws::CodeArtifact
1361
1385
  # domain: "DomainName", # required
1362
1386
  # domain_owner: "AccountId",
1363
1387
  # repository: "RepositoryName", # required
1364
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
1388
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1365
1389
  # namespace: "PackageNamespace",
1366
1390
  # package: "PackageName", # required
1367
1391
  # })
1368
1392
  #
1369
1393
  # @example Response structure
1370
1394
  #
1371
- # resp.package.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
1395
+ # resp.package.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1372
1396
  # resp.package.namespace #=> String
1373
1397
  # resp.package.name #=> String
1374
1398
  # resp.package.origin_configuration.restrictions.publish #=> String, one of "ALLOW", "BLOCK"
@@ -1481,9 +1505,9 @@ module Aws::CodeArtifact
1481
1505
  #
1482
1506
  # * The namespace of a generic package is its `namespace`.
1483
1507
  #
1484
- # * Python and NuGet package versions do not contain a corresponding
1485
- # component, package versions of those formats do not have a
1486
- # namespace.
1508
+ # * Python, NuGet, and Ruby package versions do not contain a
1509
+ # corresponding component, package versions of those formats do not
1510
+ # have a namespace.
1487
1511
  #
1488
1512
  # @option params [required, String] :package
1489
1513
  # The name of the requested package version.
@@ -1501,7 +1525,7 @@ module Aws::CodeArtifact
1501
1525
  # domain: "DomainName", # required
1502
1526
  # domain_owner: "AccountId",
1503
1527
  # repository: "RepositoryName", # required
1504
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
1528
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1505
1529
  # namespace: "PackageNamespace",
1506
1530
  # package: "PackageName", # required
1507
1531
  # package_version: "PackageVersion", # required
@@ -1509,7 +1533,7 @@ module Aws::CodeArtifact
1509
1533
  #
1510
1534
  # @example Response structure
1511
1535
  #
1512
- # resp.package_version.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
1536
+ # resp.package_version.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1513
1537
  # resp.package_version.namespace #=> String
1514
1538
  # resp.package_version.package_name #=> String
1515
1539
  # resp.package_version.display_name #=> String
@@ -1573,7 +1597,7 @@ module Aws::CodeArtifact
1573
1597
  # resp.repository.upstreams[0].repository_name #=> String
1574
1598
  # resp.repository.external_connections #=> Array
1575
1599
  # resp.repository.external_connections[0].external_connection_name #=> String
1576
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
1600
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1577
1601
  # resp.repository.external_connections[0].status #=> String, one of "Available"
1578
1602
  # resp.repository.created_time #=> Time
1579
1603
  #
@@ -1628,7 +1652,7 @@ module Aws::CodeArtifact
1628
1652
  # resp.repository.upstreams[0].repository_name #=> String
1629
1653
  # resp.repository.external_connections #=> Array
1630
1654
  # resp.repository.external_connections[0].external_connection_name #=> String
1631
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
1655
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
1632
1656
  # resp.repository.external_connections[0].status #=> String, one of "Available"
1633
1657
  # resp.repository.created_time #=> Time
1634
1658
  #
@@ -1696,9 +1720,9 @@ module Aws::CodeArtifact
1696
1720
  #
1697
1721
  # * The namespace of a generic package is its `namespace`.
1698
1722
  #
1699
- # * Python and NuGet package versions do not contain a corresponding
1700
- # component, package versions of those formats do not have a
1701
- # namespace.
1723
+ # * Python, NuGet, and Ruby package versions do not contain a
1724
+ # corresponding component, package versions of those formats do not
1725
+ # have a namespace.
1702
1726
  #
1703
1727
  # @option params [required, String] :package
1704
1728
  # The name of the package with the versions you want to dispose.
@@ -1723,7 +1747,7 @@ module Aws::CodeArtifact
1723
1747
  # domain: "DomainName", # required
1724
1748
  # domain_owner: "AccountId",
1725
1749
  # repository: "RepositoryName", # required
1726
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
1750
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1727
1751
  # namespace: "PackageNamespace",
1728
1752
  # package: "PackageName", # required
1729
1753
  # versions: ["PackageVersion"], # required
@@ -1800,9 +1824,9 @@ module Aws::CodeArtifact
1800
1824
  #
1801
1825
  # * The namespace of a generic package is its `namespace`.
1802
1826
  #
1803
- # * Python and NuGet package versions do not contain a corresponding
1804
- # component, package versions of those formats do not have a
1805
- # namespace.
1827
+ # * Python, NuGet, and Ruby package versions do not contain a
1828
+ # corresponding component, package versions of those formats do not
1829
+ # have a namespace.
1806
1830
  #
1807
1831
  # @option params [required, String] :package
1808
1832
  # The package from which to get the associated package group.
@@ -1817,7 +1841,7 @@ module Aws::CodeArtifact
1817
1841
  # resp = client.get_associated_package_group({
1818
1842
  # domain: "DomainName", # required
1819
1843
  # domain_owner: "AccountId",
1820
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
1844
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
1821
1845
  # namespace: "PackageNamespace",
1822
1846
  # package: "PackageName", # required
1823
1847
  # })
@@ -2011,9 +2035,9 @@ module Aws::CodeArtifact
2011
2035
  #
2012
2036
  # * The namespace of a generic package is its `namespace`.
2013
2037
  #
2014
- # * Python and NuGet package versions do not contain a corresponding
2015
- # component, package versions of those formats do not have a
2016
- # namespace.
2038
+ # * Python, NuGet, and Ruby package versions do not contain a
2039
+ # corresponding component, package versions of those formats do not
2040
+ # have a namespace.
2017
2041
  #
2018
2042
  # @option params [required, String] :package
2019
2043
  # The name of the package that contains the requested asset.
@@ -2041,7 +2065,7 @@ module Aws::CodeArtifact
2041
2065
  # domain: "DomainName", # required
2042
2066
  # domain_owner: "AccountId",
2043
2067
  # repository: "RepositoryName", # required
2044
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
2068
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2045
2069
  # namespace: "PackageNamespace",
2046
2070
  # package: "PackageName", # required
2047
2071
  # package_version: "PackageVersion", # required
@@ -2108,9 +2132,9 @@ module Aws::CodeArtifact
2108
2132
  #
2109
2133
  # * The namespace of a generic package is its `namespace`.
2110
2134
  #
2111
- # * Python and NuGet package versions do not contain a corresponding
2112
- # component, package versions of those formats do not have a
2113
- # namespace.
2135
+ # * Python, NuGet, and Ruby package versions do not contain a
2136
+ # corresponding component, package versions of those formats do not
2137
+ # have a namespace.
2114
2138
  #
2115
2139
  # @option params [required, String] :package
2116
2140
  # The name of the package version that contains the requested readme
@@ -2134,7 +2158,7 @@ module Aws::CodeArtifact
2134
2158
  # domain: "DomainName", # required
2135
2159
  # domain_owner: "AccountId",
2136
2160
  # repository: "RepositoryName", # required
2137
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
2161
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2138
2162
  # namespace: "PackageNamespace",
2139
2163
  # package: "PackageName", # required
2140
2164
  # package_version: "PackageVersion", # required
@@ -2142,7 +2166,7 @@ module Aws::CodeArtifact
2142
2166
  #
2143
2167
  # @example Response structure
2144
2168
  #
2145
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
2169
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2146
2170
  # resp.namespace #=> String
2147
2171
  # resp.package #=> String
2148
2172
  # resp.version #=> String
@@ -2171,6 +2195,8 @@ module Aws::CodeArtifact
2171
2195
  #
2172
2196
  # * `pypi`
2173
2197
  #
2198
+ # * `ruby`
2199
+ #
2174
2200
  # * `swift`
2175
2201
  #
2176
2202
  # @option params [required, String] :domain
@@ -2198,7 +2224,7 @@ module Aws::CodeArtifact
2198
2224
  # domain: "DomainName", # required
2199
2225
  # domain_owner: "AccountId",
2200
2226
  # repository: "RepositoryName", # required
2201
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
2227
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2202
2228
  # })
2203
2229
  #
2204
2230
  # @example Response structure
@@ -2376,7 +2402,7 @@ module Aws::CodeArtifact
2376
2402
  # @example Response structure
2377
2403
  #
2378
2404
  # resp.packages #=> Array
2379
- # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
2405
+ # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2380
2406
  # resp.packages[0].namespace #=> String
2381
2407
  # resp.packages[0].package #=> String
2382
2408
  # resp.packages[0].association_type #=> String, one of "STRONG", "WEAK"
@@ -2554,9 +2580,9 @@ module Aws::CodeArtifact
2554
2580
  #
2555
2581
  # * The namespace of a generic package is its `namespace`.
2556
2582
  #
2557
- # * Python and NuGet package versions do not contain a corresponding
2558
- # component, package versions of those formats do not have a
2559
- # namespace.
2583
+ # * Python, NuGet, and Ruby package versions do not contain a
2584
+ # corresponding component, package versions of those formats do not
2585
+ # have a namespace.
2560
2586
  #
2561
2587
  # @option params [required, String] :package
2562
2588
  # The name of the package that contains the requested package version
@@ -2591,7 +2617,7 @@ module Aws::CodeArtifact
2591
2617
  # domain: "DomainName", # required
2592
2618
  # domain_owner: "AccountId",
2593
2619
  # repository: "RepositoryName", # required
2594
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
2620
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2595
2621
  # namespace: "PackageNamespace",
2596
2622
  # package: "PackageName", # required
2597
2623
  # package_version: "PackageVersion", # required
@@ -2601,7 +2627,7 @@ module Aws::CodeArtifact
2601
2627
  #
2602
2628
  # @example Response structure
2603
2629
  #
2604
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
2630
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2605
2631
  # resp.namespace #=> String
2606
2632
  # resp.package #=> String
2607
2633
  # resp.version #=> String
@@ -2671,9 +2697,9 @@ module Aws::CodeArtifact
2671
2697
  #
2672
2698
  # * The namespace of a generic package is its `namespace`.
2673
2699
  #
2674
- # * Python and NuGet package versions do not contain a corresponding
2675
- # component, package versions of those formats do not have a
2676
- # namespace.
2700
+ # * Python, NuGet, and Ruby package versions do not contain a
2701
+ # corresponding component, package versions of those formats do not
2702
+ # have a namespace.
2677
2703
  #
2678
2704
  # @option params [required, String] :package
2679
2705
  # The name of the package versions' package.
@@ -2702,7 +2728,7 @@ module Aws::CodeArtifact
2702
2728
  # domain: "DomainName", # required
2703
2729
  # domain_owner: "AccountId",
2704
2730
  # repository: "RepositoryName", # required
2705
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
2731
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2706
2732
  # namespace: "PackageNamespace",
2707
2733
  # package: "PackageName", # required
2708
2734
  # package_version: "PackageVersion", # required
@@ -2711,7 +2737,7 @@ module Aws::CodeArtifact
2711
2737
  #
2712
2738
  # @example Response structure
2713
2739
  #
2714
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
2740
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2715
2741
  # resp.namespace #=> String
2716
2742
  # resp.package #=> String
2717
2743
  # resp.version #=> String
@@ -2778,9 +2804,9 @@ module Aws::CodeArtifact
2778
2804
  #
2779
2805
  # * The namespace of a generic package is its `namespace`.
2780
2806
  #
2781
- # * Python and NuGet package versions do not contain a corresponding
2782
- # component, package versions of those formats do not have a
2783
- # namespace.
2807
+ # * Python, NuGet, and Ruby package versions do not contain a
2808
+ # corresponding component, package versions of those formats do not
2809
+ # have a namespace.
2784
2810
  #
2785
2811
  # @option params [required, String] :package
2786
2812
  # The name of the package for which you want to request package
@@ -2821,7 +2847,7 @@ module Aws::CodeArtifact
2821
2847
  # domain: "DomainName", # required
2822
2848
  # domain_owner: "AccountId",
2823
2849
  # repository: "RepositoryName", # required
2824
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
2850
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
2825
2851
  # namespace: "PackageNamespace",
2826
2852
  # package: "PackageName", # required
2827
2853
  # status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
@@ -2834,7 +2860,7 @@ module Aws::CodeArtifact
2834
2860
  # @example Response structure
2835
2861
  #
2836
2862
  # resp.default_display_version #=> String
2837
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
2863
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2838
2864
  # resp.namespace #=> String
2839
2865
  # resp.package #=> String
2840
2866
  # resp.versions #=> Array
@@ -2891,9 +2917,9 @@ module Aws::CodeArtifact
2891
2917
  #
2892
2918
  # * The namespace of a generic package is its `namespace`.
2893
2919
  #
2894
- # * Python and NuGet package versions do not contain a corresponding
2895
- # component, package versions of those formats do not have a
2896
- # namespace.
2920
+ # * Python, NuGet, and Ruby package versions do not contain a
2921
+ # corresponding component, package versions of those formats do not
2922
+ # have a namespace.
2897
2923
  #
2898
2924
  # @option params [String] :package_prefix
2899
2925
  # A prefix used to filter requested packages. Only packages with names
@@ -2940,7 +2966,7 @@ module Aws::CodeArtifact
2940
2966
  # domain: "DomainName", # required
2941
2967
  # domain_owner: "AccountId",
2942
2968
  # repository: "RepositoryName", # required
2943
- # format: "npm", # accepts npm, pypi, maven, nuget, generic, swift
2969
+ # format: "npm", # accepts npm, pypi, maven, nuget, generic, ruby, swift
2944
2970
  # namespace: "PackageNamespace",
2945
2971
  # package_prefix: "PackageName",
2946
2972
  # max_results: 1,
@@ -2952,7 +2978,7 @@ module Aws::CodeArtifact
2952
2978
  # @example Response structure
2953
2979
  #
2954
2980
  # resp.packages #=> Array
2955
- # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
2981
+ # resp.packages[0].format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
2956
2982
  # resp.packages[0].namespace #=> String
2957
2983
  # resp.packages[0].package #=> String
2958
2984
  # resp.packages[0].origin_configuration.restrictions.publish #=> String, one of "ALLOW", "BLOCK"
@@ -3300,7 +3326,7 @@ module Aws::CodeArtifact
3300
3326
  # domain: "DomainName", # required
3301
3327
  # domain_owner: "AccountId",
3302
3328
  # repository: "RepositoryName", # required
3303
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
3329
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
3304
3330
  # namespace: "PackageNamespace",
3305
3331
  # package: "PackageName", # required
3306
3332
  # package_version: "PackageVersion", # required
@@ -3312,7 +3338,7 @@ module Aws::CodeArtifact
3312
3338
  #
3313
3339
  # @example Response structure
3314
3340
  #
3315
- # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
3341
+ # resp.format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
3316
3342
  # resp.namespace #=> String
3317
3343
  # resp.package #=> String
3318
3344
  # resp.version #=> String
@@ -3430,9 +3456,9 @@ module Aws::CodeArtifact
3430
3456
  #
3431
3457
  # * The namespace of a generic package is its `namespace`.
3432
3458
  #
3433
- # * Python and NuGet package versions do not contain a corresponding
3434
- # component, package versions of those formats do not have a
3435
- # namespace.
3459
+ # * Python, NuGet, and Ruby package versions do not contain a
3460
+ # corresponding component, package versions of those formats do not
3461
+ # have a namespace.
3436
3462
  #
3437
3463
  # @option params [required, String] :package
3438
3464
  # The name of the package to be updated.
@@ -3462,7 +3488,7 @@ module Aws::CodeArtifact
3462
3488
  # domain: "DomainName", # required
3463
3489
  # domain_owner: "AccountId",
3464
3490
  # repository: "RepositoryName", # required
3465
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
3491
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
3466
3492
  # namespace: "PackageNamespace",
3467
3493
  # package: "PackageName", # required
3468
3494
  # restrictions: { # required
@@ -3802,9 +3828,9 @@ module Aws::CodeArtifact
3802
3828
  #
3803
3829
  # * The namespace of a generic package is its `namespace`.
3804
3830
  #
3805
- # * Python and NuGet package versions do not contain a corresponding
3806
- # component, package versions of those formats do not have a
3807
- # namespace.
3831
+ # * Python, NuGet, and Ruby package versions do not contain a
3832
+ # corresponding component, package versions of those formats do not
3833
+ # have a namespace.
3808
3834
  #
3809
3835
  # @option params [required, String] :package
3810
3836
  # The name of the package with the version statuses to update.
@@ -3838,7 +3864,7 @@ module Aws::CodeArtifact
3838
3864
  # domain: "DomainName", # required
3839
3865
  # domain_owner: "AccountId",
3840
3866
  # repository: "RepositoryName", # required
3841
- # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, swift
3867
+ # format: "npm", # required, accepts npm, pypi, maven, nuget, generic, ruby, swift
3842
3868
  # namespace: "PackageNamespace",
3843
3869
  # package: "PackageName", # required
3844
3870
  # versions: ["PackageVersion"], # required
@@ -3923,7 +3949,7 @@ module Aws::CodeArtifact
3923
3949
  # resp.repository.upstreams[0].repository_name #=> String
3924
3950
  # resp.repository.external_connections #=> Array
3925
3951
  # resp.repository.external_connections[0].external_connection_name #=> String
3926
- # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "swift"
3952
+ # resp.repository.external_connections[0].package_format #=> String, one of "npm", "pypi", "maven", "nuget", "generic", "ruby", "swift"
3927
3953
  # resp.repository.external_connections[0].status #=> String, one of "Available"
3928
3954
  # resp.repository.created_time #=> Time
3929
3955
  #
@@ -3949,7 +3975,7 @@ module Aws::CodeArtifact
3949
3975
  params: params,
3950
3976
  config: config)
3951
3977
  context[:gem_name] = 'aws-sdk-codeartifact'
3952
- context[:gem_version] = '1.39.0'
3978
+ context[:gem_version] = '1.41.0'
3953
3979
  Seahorse::Client::Request.new(handlers, context)
3954
3980
  end
3955
3981