aws-sdk-codeartifact 1.17.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-codeartifact/client.rb +124 -214
- data/lib/aws-sdk-codeartifact/types.rb +124 -295
- data/lib/aws-sdk-codeartifact.rb +1 -1
- metadata +4 -4
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::CodeArtifact
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
80
84
|
|
@@ -359,8 +363,8 @@ module Aws::CodeArtifact
|
|
359
363
|
# The name of the domain that contains the repository.
|
360
364
|
#
|
361
365
|
# @option params [String] :domain_owner
|
362
|
-
# The 12-digit account number of the
|
363
|
-
# It does not include dashes or spaces.
|
366
|
+
# The 12-digit account number of the Amazon Web Services account that
|
367
|
+
# owns the domain. It does not include dashes or spaces.
|
364
368
|
#
|
365
369
|
# @option params [required, String] :repository
|
366
370
|
# The name of the repository to which the external connection is added.
|
@@ -371,6 +375,8 @@ module Aws::CodeArtifact
|
|
371
375
|
#
|
372
376
|
# * `public:npmjs` - for the npm public repository.
|
373
377
|
#
|
378
|
+
# * `public:nuget-org` - for the NuGet Gallery.
|
379
|
+
#
|
374
380
|
# * `public:pypi` - for the Python Package Index.
|
375
381
|
#
|
376
382
|
# * `public:maven-central` - for Maven Central.
|
@@ -431,8 +437,8 @@ module Aws::CodeArtifact
|
|
431
437
|
# repositories.
|
432
438
|
#
|
433
439
|
# @option params [String] :domain_owner
|
434
|
-
# The 12-digit account number of the
|
435
|
-
# It does not include dashes or spaces.
|
440
|
+
# The 12-digit account number of the Amazon Web Services account that
|
441
|
+
# owns the domain. It does not include dashes or spaces.
|
436
442
|
#
|
437
443
|
# @option params [required, String] :source_repository
|
438
444
|
# The name of the repository that contains the package versions to copy.
|
@@ -441,14 +447,7 @@ module Aws::CodeArtifact
|
|
441
447
|
# The name of the repository into which package versions are copied.
|
442
448
|
#
|
443
449
|
# @option params [required, String] :format
|
444
|
-
# The format of the package that is copied.
|
445
|
-
#
|
446
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
447
|
-
#
|
448
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
449
|
-
#
|
450
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
451
|
-
# distributable format, such as a JAR file.
|
450
|
+
# The format of the package that is copied.
|
452
451
|
#
|
453
452
|
# @option params [String] :namespace
|
454
453
|
# The namespace of the package. The package component that specifies its
|
@@ -543,9 +542,9 @@ module Aws::CodeArtifact
|
|
543
542
|
|
544
543
|
# Creates a domain. CodeArtifact *domains* make it easier to manage
|
545
544
|
# multiple repositories across an organization. You can use a domain to
|
546
|
-
# apply permissions across many repositories owned by different
|
547
|
-
# accounts. An asset is stored only once in a domain, even
|
548
|
-
# multiple repositories.
|
545
|
+
# apply permissions across many repositories owned by different Amazon
|
546
|
+
# Web Services accounts. An asset is stored only once in a domain, even
|
547
|
+
# if it's in multiple repositories.
|
549
548
|
#
|
550
549
|
# Although you can have multiple domains, we recommend a single
|
551
550
|
# production domain that contains all published artifacts so that your
|
@@ -554,10 +553,11 @@ module Aws::CodeArtifact
|
|
554
553
|
# configuration.
|
555
554
|
#
|
556
555
|
# @option params [required, String] :domain
|
557
|
-
# The name of the domain to create. All domain names in an
|
558
|
-
# that are in the same
|
559
|
-
# used as the prefix in DNS hostnames. Do
|
560
|
-
# in a domain name because it is publicly
|
556
|
+
# The name of the domain to create. All domain names in an Amazon Web
|
557
|
+
# Services Region that are in the same Amazon Web Services account must
|
558
|
+
# be unique. The domain name is used as the prefix in DNS hostnames. Do
|
559
|
+
# not use sensitive information in a domain name because it is publicly
|
560
|
+
# discoverable.
|
561
561
|
#
|
562
562
|
# @option params [String] :encryption_key
|
563
563
|
# The encryption key for the domain. This is used to encrypt content
|
@@ -565,13 +565,13 @@ module Aws::CodeArtifact
|
|
565
565
|
# Resource Name (ARN), a key alias, or a key alias ARN. To specify an
|
566
566
|
# `encryptionKey`, your IAM role must have `kms:DescribeKey` and
|
567
567
|
# `kms:CreateGrant` permissions on the encryption key that is used. For
|
568
|
-
# more information, see [DescribeKey][1] in the *
|
569
|
-
#
|
570
|
-
# the *
|
568
|
+
# more information, see [DescribeKey][1] in the *Key Management Service
|
569
|
+
# API Reference* and [Key Management Service API Permissions
|
570
|
+
# Reference][2] in the *Key Management Service Developer Guide*.
|
571
571
|
#
|
572
572
|
# CodeArtifact supports only symmetric CMKs. Do not associate an
|
573
573
|
# asymmetric CMK with your domain. For more information, see [Using
|
574
|
-
# symmetric and asymmetric keys][3] in the *
|
574
|
+
# symmetric and asymmetric keys][3] in the *Key Management Service
|
575
575
|
# Developer Guide*.
|
576
576
|
#
|
577
577
|
#
|
@@ -627,8 +627,8 @@ module Aws::CodeArtifact
|
|
627
627
|
# The name of the domain that contains the created repository.
|
628
628
|
#
|
629
629
|
# @option params [String] :domain_owner
|
630
|
-
# The 12-digit account number of the
|
631
|
-
# It does not include dashes or spaces.
|
630
|
+
# The 12-digit account number of the Amazon Web Services account that
|
631
|
+
# owns the domain. It does not include dashes or spaces.
|
632
632
|
#
|
633
633
|
# @option params [required, String] :repository
|
634
634
|
# The name of the repository to create.
|
@@ -639,7 +639,7 @@ module Aws::CodeArtifact
|
|
639
639
|
# @option params [Array<Types::UpstreamRepository>] :upstreams
|
640
640
|
# A list of upstream repositories to associate with the repository. The
|
641
641
|
# order of the upstream repositories in the list determines their
|
642
|
-
# priority order when
|
642
|
+
# priority order when CodeArtifact looks for a requested package
|
643
643
|
# version. For more information, see [Working with upstream
|
644
644
|
# repositories][1].
|
645
645
|
#
|
@@ -706,8 +706,8 @@ module Aws::CodeArtifact
|
|
706
706
|
# The name of the domain to delete.
|
707
707
|
#
|
708
708
|
# @option params [String] :domain_owner
|
709
|
-
# The 12-digit account number of the
|
710
|
-
# It does not include dashes or spaces.
|
709
|
+
# The 12-digit account number of the Amazon Web Services account that
|
710
|
+
# owns the domain. It does not include dashes or spaces.
|
711
711
|
#
|
712
712
|
# @return [Types::DeleteDomainResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
713
713
|
#
|
@@ -748,8 +748,8 @@ module Aws::CodeArtifact
|
|
748
748
|
# deleted.
|
749
749
|
#
|
750
750
|
# @option params [String] :domain_owner
|
751
|
-
# The 12-digit account number of the
|
752
|
-
# It does not include dashes or spaces.
|
751
|
+
# The 12-digit account number of the Amazon Web Services account that
|
752
|
+
# owns the domain. It does not include dashes or spaces.
|
753
753
|
#
|
754
754
|
# @option params [String] :policy_revision
|
755
755
|
# The current revision of the resource policy to be deleted. This
|
@@ -800,21 +800,15 @@ module Aws::CodeArtifact
|
|
800
800
|
# The name of the domain that contains the package to delete.
|
801
801
|
#
|
802
802
|
# @option params [String] :domain_owner
|
803
|
-
# The 12-digit account number of the
|
804
|
-
# It does not include dashes or spaces.
|
803
|
+
# The 12-digit account number of the Amazon Web Services account that
|
804
|
+
# owns the domain. It does not include dashes or spaces.
|
805
805
|
#
|
806
806
|
# @option params [required, String] :repository
|
807
807
|
# The name of the repository that contains the package versions to
|
808
808
|
# delete.
|
809
809
|
#
|
810
810
|
# @option params [required, String] :format
|
811
|
-
# The format of the package versions to delete.
|
812
|
-
#
|
813
|
-
# * `npm`
|
814
|
-
#
|
815
|
-
# * `pypi`
|
816
|
-
#
|
817
|
-
# * `maven`
|
811
|
+
# The format of the package versions to delete.
|
818
812
|
#
|
819
813
|
# @option params [String] :namespace
|
820
814
|
# The namespace of the package. The package component that specifies its
|
@@ -835,18 +829,7 @@ module Aws::CodeArtifact
|
|
835
829
|
# delete.
|
836
830
|
#
|
837
831
|
# @option params [String] :expected_status
|
838
|
-
# The expected status of the package version to delete.
|
839
|
-
# are:
|
840
|
-
#
|
841
|
-
# * `Published`
|
842
|
-
#
|
843
|
-
# * `Unfinished`
|
844
|
-
#
|
845
|
-
# * `Unlisted`
|
846
|
-
#
|
847
|
-
# * `Archived`
|
848
|
-
#
|
849
|
-
# * `Disposed`
|
832
|
+
# The expected status of the package version to delete.
|
850
833
|
#
|
851
834
|
# @return [Types::DeletePackageVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
852
835
|
#
|
@@ -890,8 +873,8 @@ module Aws::CodeArtifact
|
|
890
873
|
# The name of the domain that contains the repository to delete.
|
891
874
|
#
|
892
875
|
# @option params [String] :domain_owner
|
893
|
-
# The 12-digit account number of the
|
894
|
-
# It does not include dashes or spaces.
|
876
|
+
# The 12-digit account number of the Amazon Web Services account that
|
877
|
+
# owns the domain. It does not include dashes or spaces.
|
895
878
|
#
|
896
879
|
# @option params [required, String] :repository
|
897
880
|
# The name of the repository to delete.
|
@@ -938,16 +921,17 @@ module Aws::CodeArtifact
|
|
938
921
|
# might not be immediate.
|
939
922
|
#
|
940
923
|
# Use `DeleteRepositoryPermissionsPolicy` with caution. After a policy
|
941
|
-
# is deleted,
|
942
|
-
# the repository actions granted by the deleted
|
924
|
+
# is deleted, Amazon Web Services users, roles, and accounts lose
|
925
|
+
# permissions to perform the repository actions granted by the deleted
|
926
|
+
# policy.
|
943
927
|
#
|
944
928
|
# @option params [required, String] :domain
|
945
929
|
# The name of the domain that contains the repository associated with
|
946
930
|
# the resource policy to be deleted.
|
947
931
|
#
|
948
932
|
# @option params [String] :domain_owner
|
949
|
-
# The 12-digit account number of the
|
950
|
-
# It does not include dashes or spaces.
|
933
|
+
# The 12-digit account number of the Amazon Web Services account that
|
934
|
+
# owns the domain. It does not include dashes or spaces.
|
951
935
|
#
|
952
936
|
# @option params [required, String] :repository
|
953
937
|
# The name of the repository that is associated with the resource policy
|
@@ -998,8 +982,8 @@ module Aws::CodeArtifact
|
|
998
982
|
# A string that specifies the name of the requested domain.
|
999
983
|
#
|
1000
984
|
# @option params [String] :domain_owner
|
1001
|
-
# The 12-digit account number of the
|
1002
|
-
# It does not include dashes or spaces.
|
985
|
+
# The 12-digit account number of the Amazon Web Services account that
|
986
|
+
# owns the domain. It does not include dashes or spaces.
|
1003
987
|
#
|
1004
988
|
# @return [Types::DescribeDomainResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1005
989
|
#
|
@@ -1045,21 +1029,14 @@ module Aws::CodeArtifact
|
|
1045
1029
|
# package version.
|
1046
1030
|
#
|
1047
1031
|
# @option params [String] :domain_owner
|
1048
|
-
# The 12-digit account number of the
|
1049
|
-
# It does not include dashes or spaces.
|
1032
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1033
|
+
# owns the domain. It does not include dashes or spaces.
|
1050
1034
|
#
|
1051
1035
|
# @option params [required, String] :repository
|
1052
1036
|
# The name of the repository that contains the package version.
|
1053
1037
|
#
|
1054
1038
|
# @option params [required, String] :format
|
1055
|
-
# A format that specifies the type of the requested package version.
|
1056
|
-
# valid values are:
|
1057
|
-
#
|
1058
|
-
# * `npm`
|
1059
|
-
#
|
1060
|
-
# * `pypi`
|
1061
|
-
#
|
1062
|
-
# * `maven`
|
1039
|
+
# A format that specifies the type of the requested package version.
|
1063
1040
|
#
|
1064
1041
|
# @option params [String] :namespace
|
1065
1042
|
# The namespace of the package. The package component that specifies its
|
@@ -1127,8 +1104,8 @@ module Aws::CodeArtifact
|
|
1127
1104
|
# The name of the domain that contains the repository to describe.
|
1128
1105
|
#
|
1129
1106
|
# @option params [String] :domain_owner
|
1130
|
-
# The 12-digit account number of the
|
1131
|
-
# It does not include dashes or spaces.
|
1107
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1108
|
+
# owns the domain. It does not include dashes or spaces.
|
1132
1109
|
#
|
1133
1110
|
# @option params [required, String] :repository
|
1134
1111
|
# A string that specifies the name of the requested repository.
|
@@ -1176,8 +1153,8 @@ module Aws::CodeArtifact
|
|
1176
1153
|
# remove the external repository.
|
1177
1154
|
#
|
1178
1155
|
# @option params [String] :domain_owner
|
1179
|
-
# The 12-digit account number of the
|
1180
|
-
# It does not include dashes or spaces.
|
1156
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1157
|
+
# owns the domain. It does not include dashes or spaces.
|
1181
1158
|
#
|
1182
1159
|
# @option params [required, String] :repository
|
1183
1160
|
# The name of the repository from which the external connection will be
|
@@ -1245,8 +1222,8 @@ module Aws::CodeArtifact
|
|
1245
1222
|
# dispose.
|
1246
1223
|
#
|
1247
1224
|
# @option params [String] :domain_owner
|
1248
|
-
# The 12-digit account number of the
|
1249
|
-
# It does not include dashes or spaces.
|
1225
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1226
|
+
# owns the domain. It does not include dashes or spaces.
|
1250
1227
|
#
|
1251
1228
|
# @option params [required, String] :repository
|
1252
1229
|
# The name of the repository that contains the package versions you want
|
@@ -1254,13 +1231,7 @@ module Aws::CodeArtifact
|
|
1254
1231
|
#
|
1255
1232
|
# @option params [required, String] :format
|
1256
1233
|
# A format that specifies the type of package versions you want to
|
1257
|
-
# dispose.
|
1258
|
-
#
|
1259
|
-
# * `npm`
|
1260
|
-
#
|
1261
|
-
# * `pypi`
|
1262
|
-
#
|
1263
|
-
# * `maven`
|
1234
|
+
# dispose.
|
1264
1235
|
#
|
1265
1236
|
# @option params [String] :namespace
|
1266
1237
|
# The namespace of the package. The package component that specifies its
|
@@ -1283,18 +1254,7 @@ module Aws::CodeArtifact
|
|
1283
1254
|
# The revisions of the package versions you want to dispose.
|
1284
1255
|
#
|
1285
1256
|
# @option params [String] :expected_status
|
1286
|
-
# The expected status of the package version to dispose.
|
1287
|
-
# are:
|
1288
|
-
#
|
1289
|
-
# * `Published`
|
1290
|
-
#
|
1291
|
-
# * `Unfinished`
|
1292
|
-
#
|
1293
|
-
# * `Unlisted`
|
1294
|
-
#
|
1295
|
-
# * `Archived`
|
1296
|
-
#
|
1297
|
-
# * `Disposed`
|
1257
|
+
# The expected status of the package version to dispose.
|
1298
1258
|
#
|
1299
1259
|
# @return [Types::DisposePackageVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1300
1260
|
#
|
@@ -1338,8 +1298,8 @@ module Aws::CodeArtifact
|
|
1338
1298
|
# Generates a temporary authorization token for accessing repositories
|
1339
1299
|
# in the domain. This API requires the
|
1340
1300
|
# `codeartifact:GetAuthorizationToken` and `sts:GetServiceBearerToken`
|
1341
|
-
# permissions. For more information about authorization tokens, see
|
1342
|
-
# CodeArtifact authentication and tokens][1].
|
1301
|
+
# permissions. For more information about authorization tokens, see
|
1302
|
+
# [CodeArtifact authentication and tokens][1].
|
1343
1303
|
#
|
1344
1304
|
# <note markdown="1"> CodeArtifact authorization tokens are valid for a period of 12 hours
|
1345
1305
|
# when created with the `login` command. You can call `login`
|
@@ -1372,8 +1332,8 @@ module Aws::CodeArtifact
|
|
1372
1332
|
# authorization token.
|
1373
1333
|
#
|
1374
1334
|
# @option params [String] :domain_owner
|
1375
|
-
# The 12-digit account number of the
|
1376
|
-
# It does not include dashes or spaces.
|
1335
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1336
|
+
# owns the domain. It does not include dashes or spaces.
|
1377
1337
|
#
|
1378
1338
|
# @option params [Integer] :duration_seconds
|
1379
1339
|
# The time, in seconds, that the generated authorization token is valid.
|
@@ -1413,7 +1373,7 @@ module Aws::CodeArtifact
|
|
1413
1373
|
#
|
1414
1374
|
# <note markdown="1"> The policy is a resource-based policy, not an identity-based policy.
|
1415
1375
|
# For more information, see [Identity-based policies and resource-based
|
1416
|
-
# policies ][1] in the *
|
1376
|
+
# policies ][1] in the *IAM User Guide*.
|
1417
1377
|
#
|
1418
1378
|
# </note>
|
1419
1379
|
#
|
@@ -1425,8 +1385,8 @@ module Aws::CodeArtifact
|
|
1425
1385
|
# The name of the domain to which the resource policy is attached.
|
1426
1386
|
#
|
1427
1387
|
# @option params [String] :domain_owner
|
1428
|
-
# The 12-digit account number of the
|
1429
|
-
# It does not include dashes or spaces.
|
1388
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1389
|
+
# owns the domain. It does not include dashes or spaces.
|
1430
1390
|
#
|
1431
1391
|
# @return [Types::GetDomainPermissionsPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1432
1392
|
#
|
@@ -1463,8 +1423,8 @@ module Aws::CodeArtifact
|
|
1463
1423
|
# package version with the requested asset.
|
1464
1424
|
#
|
1465
1425
|
# @option params [String] :domain_owner
|
1466
|
-
# The 12-digit account number of the
|
1467
|
-
# It does not include dashes or spaces.
|
1426
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1427
|
+
# owns the domain. It does not include dashes or spaces.
|
1468
1428
|
#
|
1469
1429
|
# @option params [required, String] :repository
|
1470
1430
|
# The repository that contains the package version with the requested
|
@@ -1472,13 +1432,7 @@ module Aws::CodeArtifact
|
|
1472
1432
|
#
|
1473
1433
|
# @option params [required, String] :format
|
1474
1434
|
# A format that specifies the type of the package version with the
|
1475
|
-
# requested asset file.
|
1476
|
-
#
|
1477
|
-
# * `npm`
|
1478
|
-
#
|
1479
|
-
# * `pypi`
|
1480
|
-
#
|
1481
|
-
# * `maven`
|
1435
|
+
# requested asset file.
|
1482
1436
|
#
|
1483
1437
|
# @option params [String] :namespace
|
1484
1438
|
# The namespace of the package. The package component that specifies its
|
@@ -1541,10 +1495,7 @@ module Aws::CodeArtifact
|
|
1541
1495
|
req.send_request(options, &block)
|
1542
1496
|
end
|
1543
1497
|
|
1544
|
-
# Gets the readme file or descriptive text for a package version.
|
1545
|
-
# packages that do not contain a readme file, CodeArtifact extracts a
|
1546
|
-
# description from a metadata file. For example, from the
|
1547
|
-
# `<description>` element in the `pom.xml` file of a Maven package.
|
1498
|
+
# Gets the readme file or descriptive text for a package version.
|
1548
1499
|
#
|
1549
1500
|
# The returned text might contain formatting. For example, it might
|
1550
1501
|
# contain formatting for Markdown or reStructuredText.
|
@@ -1554,8 +1505,8 @@ module Aws::CodeArtifact
|
|
1554
1505
|
# package version with the requested readme file.
|
1555
1506
|
#
|
1556
1507
|
# @option params [String] :domain_owner
|
1557
|
-
# The 12-digit account number of the
|
1558
|
-
# It does not include dashes or spaces.
|
1508
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1509
|
+
# owns the domain. It does not include dashes or spaces.
|
1559
1510
|
#
|
1560
1511
|
# @option params [required, String] :repository
|
1561
1512
|
# The repository that contains the package with the requested readme
|
@@ -1563,13 +1514,12 @@ module Aws::CodeArtifact
|
|
1563
1514
|
#
|
1564
1515
|
# @option params [required, String] :format
|
1565
1516
|
# A format that specifies the type of the package version with the
|
1566
|
-
# requested readme file.
|
1567
|
-
#
|
1568
|
-
# * `npm`
|
1517
|
+
# requested readme file.
|
1569
1518
|
#
|
1570
|
-
#
|
1519
|
+
# <note markdown="1"> Although `maven` is listed as a valid value, CodeArtifact does not
|
1520
|
+
# support displaying readme files for Maven packages.
|
1571
1521
|
#
|
1572
|
-
#
|
1522
|
+
# </note>
|
1573
1523
|
#
|
1574
1524
|
# @option params [String] :namespace
|
1575
1525
|
# The namespace of the package. The package component that specifies its
|
@@ -1631,31 +1581,28 @@ module Aws::CodeArtifact
|
|
1631
1581
|
# Returns the endpoint of a repository for a specific package format. A
|
1632
1582
|
# repository has one endpoint for each package format:
|
1633
1583
|
#
|
1584
|
+
# * `maven`
|
1585
|
+
#
|
1634
1586
|
# * `npm`
|
1635
1587
|
#
|
1636
|
-
# * `
|
1588
|
+
# * `nuget`
|
1637
1589
|
#
|
1638
|
-
# * `
|
1590
|
+
# * `pypi`
|
1639
1591
|
#
|
1640
1592
|
# @option params [required, String] :domain
|
1641
1593
|
# The name of the domain that contains the repository.
|
1642
1594
|
#
|
1643
1595
|
# @option params [String] :domain_owner
|
1644
|
-
# The 12-digit account number of the
|
1645
|
-
# that contains the repository. It does not include
|
1596
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1597
|
+
# owns the domain that contains the repository. It does not include
|
1598
|
+
# dashes or spaces.
|
1646
1599
|
#
|
1647
1600
|
# @option params [required, String] :repository
|
1648
1601
|
# The name of the repository.
|
1649
1602
|
#
|
1650
1603
|
# @option params [required, String] :format
|
1651
1604
|
# Returns which endpoint of a repository to return. A repository has one
|
1652
|
-
# endpoint for each package format
|
1653
|
-
#
|
1654
|
-
# * `npm`
|
1655
|
-
#
|
1656
|
-
# * `pypi`
|
1657
|
-
#
|
1658
|
-
# * `maven`
|
1605
|
+
# endpoint for each package format.
|
1659
1606
|
#
|
1660
1607
|
# @return [Types::GetRepositoryEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1661
1608
|
#
|
@@ -1690,8 +1637,8 @@ module Aws::CodeArtifact
|
|
1690
1637
|
# resource policy is to be retrieved.
|
1691
1638
|
#
|
1692
1639
|
# @option params [String] :domain_owner
|
1693
|
-
# The 12-digit account number of the
|
1694
|
-
# It does not include dashes or spaces.
|
1640
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1641
|
+
# owns the domain. It does not include dashes or spaces.
|
1695
1642
|
#
|
1696
1643
|
# @option params [required, String] :repository
|
1697
1644
|
# The name of the repository whose associated resource policy is to be
|
@@ -1725,8 +1672,8 @@ module Aws::CodeArtifact
|
|
1725
1672
|
end
|
1726
1673
|
|
1727
1674
|
# Returns a list of [DomainSummary][1] objects for all domains owned by
|
1728
|
-
# the
|
1729
|
-
# object contains information about a domain.
|
1675
|
+
# the Amazon Web Services account that makes this call. Each returned
|
1676
|
+
# `DomainSummary` object contains information about a domain.
|
1730
1677
|
#
|
1731
1678
|
#
|
1732
1679
|
#
|
@@ -1786,8 +1733,8 @@ module Aws::CodeArtifact
|
|
1786
1733
|
# the package version assets.
|
1787
1734
|
#
|
1788
1735
|
# @option params [String] :domain_owner
|
1789
|
-
# The 12-digit account number of the
|
1790
|
-
# It does not include dashes or spaces.
|
1736
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1737
|
+
# owns the domain. It does not include dashes or spaces.
|
1791
1738
|
#
|
1792
1739
|
# @option params [required, String] :repository
|
1793
1740
|
# The name of the repository that contains the package that contains the
|
@@ -1795,14 +1742,7 @@ module Aws::CodeArtifact
|
|
1795
1742
|
#
|
1796
1743
|
# @option params [required, String] :format
|
1797
1744
|
# The format of the package that contains the returned package version
|
1798
|
-
# assets.
|
1799
|
-
#
|
1800
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
1801
|
-
#
|
1802
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
1803
|
-
#
|
1804
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
1805
|
-
# distributable format, such as a JAR file.
|
1745
|
+
# assets.
|
1806
1746
|
#
|
1807
1747
|
# @option params [String] :namespace
|
1808
1748
|
# The namespace of the package. The package component that specifies its
|
@@ -1896,23 +1836,15 @@ module Aws::CodeArtifact
|
|
1896
1836
|
# requested package version dependencies.
|
1897
1837
|
#
|
1898
1838
|
# @option params [String] :domain_owner
|
1899
|
-
# The 12-digit account number of the
|
1900
|
-
# It does not include dashes or spaces.
|
1839
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1840
|
+
# owns the domain. It does not include dashes or spaces.
|
1901
1841
|
#
|
1902
1842
|
# @option params [required, String] :repository
|
1903
1843
|
# The name of the repository that contains the requested package
|
1904
1844
|
# version.
|
1905
1845
|
#
|
1906
1846
|
# @option params [required, String] :format
|
1907
|
-
# The format of the package with the requested dependencies.
|
1908
|
-
# package types are:
|
1909
|
-
#
|
1910
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
1911
|
-
#
|
1912
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
1913
|
-
#
|
1914
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
1915
|
-
# distributable format, such as a JAR file.
|
1847
|
+
# The format of the package with the requested dependencies.
|
1916
1848
|
#
|
1917
1849
|
# @option params [String] :namespace
|
1918
1850
|
# The namespace of the package. The package component that specifies its
|
@@ -1994,21 +1926,14 @@ module Aws::CodeArtifact
|
|
1994
1926
|
# returned package versions.
|
1995
1927
|
#
|
1996
1928
|
# @option params [String] :domain_owner
|
1997
|
-
# The 12-digit account number of the
|
1998
|
-
# It does not include dashes or spaces.
|
1929
|
+
# The 12-digit account number of the Amazon Web Services account that
|
1930
|
+
# owns the domain. It does not include dashes or spaces.
|
1999
1931
|
#
|
2000
1932
|
# @option params [required, String] :repository
|
2001
1933
|
# The name of the repository that contains the package.
|
2002
1934
|
#
|
2003
1935
|
# @option params [required, String] :format
|
2004
|
-
# The format of the returned packages.
|
2005
|
-
#
|
2006
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
2007
|
-
#
|
2008
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
2009
|
-
#
|
2010
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
2011
|
-
# distributable format, such as a JAR file.
|
1936
|
+
# The format of the returned packages.
|
2012
1937
|
#
|
2013
1938
|
# @option params [String] :namespace
|
2014
1939
|
# The namespace of the package. The package component that specifies its
|
@@ -2027,17 +1952,7 @@ module Aws::CodeArtifact
|
|
2027
1952
|
#
|
2028
1953
|
# @option params [String] :status
|
2029
1954
|
# A string that specifies the status of the package versions to include
|
2030
|
-
# in the returned list.
|
2031
|
-
#
|
2032
|
-
# * `Published`
|
2033
|
-
#
|
2034
|
-
# * `Unfinished`
|
2035
|
-
#
|
2036
|
-
# * `Unlisted`
|
2037
|
-
#
|
2038
|
-
# * `Archived`
|
2039
|
-
#
|
2040
|
-
# * `Disposed`
|
1955
|
+
# in the returned list.
|
2041
1956
|
#
|
2042
1957
|
# @option params [String] :sort_by
|
2043
1958
|
# How to sort the returned list of package versions.
|
@@ -2109,21 +2024,14 @@ module Aws::CodeArtifact
|
|
2109
2024
|
# requested list of packages.
|
2110
2025
|
#
|
2111
2026
|
# @option params [String] :domain_owner
|
2112
|
-
# The 12-digit account number of the
|
2113
|
-
# It does not include dashes or spaces.
|
2027
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2028
|
+
# owns the domain. It does not include dashes or spaces.
|
2114
2029
|
#
|
2115
2030
|
# @option params [required, String] :repository
|
2116
2031
|
# The name of the repository from which packages are to be listed.
|
2117
2032
|
#
|
2118
2033
|
# @option params [String] :format
|
2119
|
-
# The format of the packages.
|
2120
|
-
#
|
2121
|
-
# * `npm`\: A Node Package Manager (npm) package.
|
2122
|
-
#
|
2123
|
-
# * `pypi`\: A Python Package Index (PyPI) package.
|
2124
|
-
#
|
2125
|
-
# * `maven`\: A Maven package that contains compiled code in a
|
2126
|
-
# distributable format, such as a JAR file.
|
2034
|
+
# The format of the packages.
|
2127
2035
|
#
|
2128
2036
|
# @option params [String] :namespace
|
2129
2037
|
# The namespace of the package. The package component that specifies its
|
@@ -2187,7 +2095,8 @@ module Aws::CodeArtifact
|
|
2187
2095
|
|
2188
2096
|
# Returns a list of [RepositorySummary][1] objects. Each
|
2189
2097
|
# `RepositorySummary` contains information about a repository in the
|
2190
|
-
# specified
|
2098
|
+
# specified Amazon Web Services account and that matches the input
|
2099
|
+
# parameters.
|
2191
2100
|
#
|
2192
2101
|
#
|
2193
2102
|
#
|
@@ -2253,12 +2162,12 @@ module Aws::CodeArtifact
|
|
2253
2162
|
# repositories.
|
2254
2163
|
#
|
2255
2164
|
# @option params [String] :domain_owner
|
2256
|
-
# The 12-digit account number of the
|
2257
|
-
# It does not include dashes or spaces.
|
2165
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2166
|
+
# owns the domain. It does not include dashes or spaces.
|
2258
2167
|
#
|
2259
2168
|
# @option params [String] :administrator_account
|
2260
2169
|
# Filter the list of repositories to only include those that are managed
|
2261
|
-
# by the
|
2170
|
+
# by the Amazon Web Services account ID.
|
2262
2171
|
#
|
2263
2172
|
# @option params [String] :repository_prefix
|
2264
2173
|
# A prefix used to filter returned repositories. Only repositories with
|
@@ -2310,8 +2219,8 @@ module Aws::CodeArtifact
|
|
2310
2219
|
req.send_request(options)
|
2311
2220
|
end
|
2312
2221
|
|
2313
|
-
# Gets information about
|
2314
|
-
# (ARN) in
|
2222
|
+
# Gets information about Amazon Web Services tags for a specified Amazon
|
2223
|
+
# Resource Name (ARN) in CodeArtifact.
|
2315
2224
|
#
|
2316
2225
|
# @option params [required, String] :resource_arn
|
2317
2226
|
# The Amazon Resource Name (ARN) of the resource to get tags for.
|
@@ -2353,8 +2262,8 @@ module Aws::CodeArtifact
|
|
2353
2262
|
# The name of the domain on which to set the resource policy.
|
2354
2263
|
#
|
2355
2264
|
# @option params [String] :domain_owner
|
2356
|
-
# The 12-digit account number of the
|
2357
|
-
# It does not include dashes or spaces.
|
2265
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2266
|
+
# owns the domain. It does not include dashes or spaces.
|
2358
2267
|
#
|
2359
2268
|
# @option params [String] :policy_revision
|
2360
2269
|
# The current revision of the resource policy to be set. This revision
|
@@ -2407,8 +2316,8 @@ module Aws::CodeArtifact
|
|
2407
2316
|
# policy on.
|
2408
2317
|
#
|
2409
2318
|
# @option params [String] :domain_owner
|
2410
|
-
# The 12-digit account number of the
|
2411
|
-
# It does not include dashes or spaces.
|
2319
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2320
|
+
# owns the domain. It does not include dashes or spaces.
|
2412
2321
|
#
|
2413
2322
|
# @option params [required, String] :repository
|
2414
2323
|
# The name of the repository to set the resource policy on.
|
@@ -2452,7 +2361,7 @@ module Aws::CodeArtifact
|
|
2452
2361
|
req.send_request(options)
|
2453
2362
|
end
|
2454
2363
|
|
2455
|
-
# Adds or updates tags for a resource in
|
2364
|
+
# Adds or updates tags for a resource in CodeArtifact.
|
2456
2365
|
#
|
2457
2366
|
# @option params [required, String] :resource_arn
|
2458
2367
|
# The Amazon Resource Name (ARN) of the resource that you want to add or
|
@@ -2484,7 +2393,7 @@ module Aws::CodeArtifact
|
|
2484
2393
|
req.send_request(options)
|
2485
2394
|
end
|
2486
2395
|
|
2487
|
-
# Removes tags from a resource in
|
2396
|
+
# Removes tags from a resource in CodeArtifact.
|
2488
2397
|
#
|
2489
2398
|
# @option params [required, String] :resource_arn
|
2490
2399
|
# The Amazon Resource Name (ARN) of the resource that you want to remove
|
@@ -2511,15 +2420,22 @@ module Aws::CodeArtifact
|
|
2511
2420
|
req.send_request(options)
|
2512
2421
|
end
|
2513
2422
|
|
2514
|
-
# Updates the status of one or more versions of a package.
|
2423
|
+
# Updates the status of one or more versions of a package. Using
|
2424
|
+
# `UpdatePackageVersionsStatus`, you can update the status of package
|
2425
|
+
# versions to `Archived`, `Published`, or `Unlisted`. To set the status
|
2426
|
+
# of a package version to `Disposed`, use [DisposePackageVersions][1].
|
2427
|
+
#
|
2428
|
+
#
|
2429
|
+
#
|
2430
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DisposePackageVersions.html
|
2515
2431
|
#
|
2516
2432
|
# @option params [required, String] :domain
|
2517
2433
|
# The name of the domain that contains the repository that contains the
|
2518
2434
|
# package versions with a status to be updated.
|
2519
2435
|
#
|
2520
2436
|
# @option params [String] :domain_owner
|
2521
|
-
# The 12-digit account number of the
|
2522
|
-
# It does not include dashes or spaces.
|
2437
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2438
|
+
# owns the domain. It does not include dashes or spaces.
|
2523
2439
|
#
|
2524
2440
|
# @option params [required, String] :repository
|
2525
2441
|
# The repository that contains the package versions with the status you
|
@@ -2527,13 +2443,7 @@ module Aws::CodeArtifact
|
|
2527
2443
|
#
|
2528
2444
|
# @option params [required, String] :format
|
2529
2445
|
# A format that specifies the type of the package with the statuses to
|
2530
|
-
# update.
|
2531
|
-
#
|
2532
|
-
# * `npm`
|
2533
|
-
#
|
2534
|
-
# * `pypi`
|
2535
|
-
#
|
2536
|
-
# * `maven`
|
2446
|
+
# update.
|
2537
2447
|
#
|
2538
2448
|
# @option params [String] :namespace
|
2539
2449
|
# The namespace of the package. The package component that specifies its
|
@@ -2613,8 +2523,8 @@ module Aws::CodeArtifact
|
|
2613
2523
|
# The name of the domain associated with the repository to update.
|
2614
2524
|
#
|
2615
2525
|
# @option params [String] :domain_owner
|
2616
|
-
# The 12-digit account number of the
|
2617
|
-
# It does not include dashes or spaces.
|
2526
|
+
# The 12-digit account number of the Amazon Web Services account that
|
2527
|
+
# owns the domain. It does not include dashes or spaces.
|
2618
2528
|
#
|
2619
2529
|
# @option params [required, String] :repository
|
2620
2530
|
# The name of the repository to update.
|
@@ -2625,7 +2535,7 @@ module Aws::CodeArtifact
|
|
2625
2535
|
# @option params [Array<Types::UpstreamRepository>] :upstreams
|
2626
2536
|
# A list of upstream repositories to associate with the repository. The
|
2627
2537
|
# order of the upstream repositories in the list determines their
|
2628
|
-
# priority order when
|
2538
|
+
# priority order when CodeArtifact looks for a requested package
|
2629
2539
|
# version. For more information, see [Working with upstream
|
2630
2540
|
# repositories][1].
|
2631
2541
|
#
|
@@ -2688,7 +2598,7 @@ module Aws::CodeArtifact
|
|
2688
2598
|
params: params,
|
2689
2599
|
config: config)
|
2690
2600
|
context[:gem_name] = 'aws-sdk-codeartifact'
|
2691
|
-
context[:gem_version] = '1.
|
2601
|
+
context[:gem_version] = '1.20.0'
|
2692
2602
|
Seahorse::Client::Request.new(handlers, context)
|
2693
2603
|
end
|
2694
2604
|
|