aws-sdk-codeartifact 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -363,8 +363,8 @@ module Aws::CodeArtifact
363
363
  # The name of the domain that contains the repository.
364
364
  #
365
365
  # @option params [String] :domain_owner
366
- # The 12-digit account number of the AWS account that owns the domain.
367
- # 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.
368
368
  #
369
369
  # @option params [required, String] :repository
370
370
  # The name of the repository to which the external connection is added.
@@ -375,6 +375,8 @@ module Aws::CodeArtifact
375
375
  #
376
376
  # * `public:npmjs` - for the npm public repository.
377
377
  #
378
+ # * `public:nuget-org` - for the NuGet Gallery.
379
+ #
378
380
  # * `public:pypi` - for the Python Package Index.
379
381
  #
380
382
  # * `public:maven-central` - for Maven Central.
@@ -435,8 +437,8 @@ module Aws::CodeArtifact
435
437
  # repositories.
436
438
  #
437
439
  # @option params [String] :domain_owner
438
- # The 12-digit account number of the AWS account that owns the domain.
439
- # 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.
440
442
  #
441
443
  # @option params [required, String] :source_repository
442
444
  # The name of the repository that contains the package versions to copy.
@@ -445,14 +447,7 @@ module Aws::CodeArtifact
445
447
  # The name of the repository into which package versions are copied.
446
448
  #
447
449
  # @option params [required, String] :format
448
- # The format of the package that is copied. The valid package types are:
449
- #
450
- # * `npm`\: A Node Package Manager (npm) package.
451
- #
452
- # * `pypi`\: A Python Package Index (PyPI) package.
453
- #
454
- # * `maven`\: A Maven package that contains compiled code in a
455
- # distributable format, such as a JAR file.
450
+ # The format of the package that is copied.
456
451
  #
457
452
  # @option params [String] :namespace
458
453
  # The namespace of the package. The package component that specifies its
@@ -547,9 +542,9 @@ module Aws::CodeArtifact
547
542
 
548
543
  # Creates a domain. CodeArtifact *domains* make it easier to manage
549
544
  # multiple repositories across an organization. You can use a domain to
550
- # apply permissions across many repositories owned by different AWS
551
- # accounts. An asset is stored only once in a domain, even if it's in
552
- # 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.
553
548
  #
554
549
  # Although you can have multiple domains, we recommend a single
555
550
  # production domain that contains all published artifacts so that your
@@ -558,10 +553,11 @@ module Aws::CodeArtifact
558
553
  # configuration.
559
554
  #
560
555
  # @option params [required, String] :domain
561
- # The name of the domain to create. All domain names in an AWS Region
562
- # that are in the same AWS account must be unique. The domain name is
563
- # used as the prefix in DNS hostnames. Do not use sensitive information
564
- # in a domain name because it is publicly discoverable.
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.
565
561
  #
566
562
  # @option params [String] :encryption_key
567
563
  # The encryption key for the domain. This is used to encrypt content
@@ -569,13 +565,13 @@ module Aws::CodeArtifact
569
565
  # Resource Name (ARN), a key alias, or a key alias ARN. To specify an
570
566
  # `encryptionKey`, your IAM role must have `kms:DescribeKey` and
571
567
  # `kms:CreateGrant` permissions on the encryption key that is used. For
572
- # more information, see [DescribeKey][1] in the *AWS Key Management
573
- # Service API Reference* and [AWS KMS API Permissions Reference][2] in
574
- # the *AWS Key Management Service Developer Guide*.
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*.
575
571
  #
576
572
  # CodeArtifact supports only symmetric CMKs. Do not associate an
577
573
  # asymmetric CMK with your domain. For more information, see [Using
578
- # symmetric and asymmetric keys][3] in the *AWS Key Management Service
574
+ # symmetric and asymmetric keys][3] in the *Key Management Service
579
575
  # Developer Guide*.
580
576
  #
581
577
  #
@@ -631,8 +627,8 @@ module Aws::CodeArtifact
631
627
  # The name of the domain that contains the created repository.
632
628
  #
633
629
  # @option params [String] :domain_owner
634
- # The 12-digit account number of the AWS account that owns the domain.
635
- # 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.
636
632
  #
637
633
  # @option params [required, String] :repository
638
634
  # The name of the repository to create.
@@ -643,7 +639,7 @@ module Aws::CodeArtifact
643
639
  # @option params [Array<Types::UpstreamRepository>] :upstreams
644
640
  # A list of upstream repositories to associate with the repository. The
645
641
  # order of the upstream repositories in the list determines their
646
- # priority order when AWS CodeArtifact looks for a requested package
642
+ # priority order when CodeArtifact looks for a requested package
647
643
  # version. For more information, see [Working with upstream
648
644
  # repositories][1].
649
645
  #
@@ -710,8 +706,8 @@ module Aws::CodeArtifact
710
706
  # The name of the domain to delete.
711
707
  #
712
708
  # @option params [String] :domain_owner
713
- # The 12-digit account number of the AWS account that owns the domain.
714
- # 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.
715
711
  #
716
712
  # @return [Types::DeleteDomainResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
717
713
  #
@@ -752,8 +748,8 @@ module Aws::CodeArtifact
752
748
  # deleted.
753
749
  #
754
750
  # @option params [String] :domain_owner
755
- # The 12-digit account number of the AWS account that owns the domain.
756
- # 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.
757
753
  #
758
754
  # @option params [String] :policy_revision
759
755
  # The current revision of the resource policy to be deleted. This
@@ -804,21 +800,15 @@ module Aws::CodeArtifact
804
800
  # The name of the domain that contains the package to delete.
805
801
  #
806
802
  # @option params [String] :domain_owner
807
- # The 12-digit account number of the AWS account that owns the domain.
808
- # 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.
809
805
  #
810
806
  # @option params [required, String] :repository
811
807
  # The name of the repository that contains the package versions to
812
808
  # delete.
813
809
  #
814
810
  # @option params [required, String] :format
815
- # The format of the package versions to delete. The valid values are:
816
- #
817
- # * `npm`
818
- #
819
- # * `pypi`
820
- #
821
- # * `maven`
811
+ # The format of the package versions to delete.
822
812
  #
823
813
  # @option params [String] :namespace
824
814
  # The namespace of the package. The package component that specifies its
@@ -839,18 +829,7 @@ module Aws::CodeArtifact
839
829
  # delete.
840
830
  #
841
831
  # @option params [String] :expected_status
842
- # The expected status of the package version to delete. Valid values
843
- # are:
844
- #
845
- # * `Published`
846
- #
847
- # * `Unfinished`
848
- #
849
- # * `Unlisted`
850
- #
851
- # * `Archived`
852
- #
853
- # * `Disposed`
832
+ # The expected status of the package version to delete.
854
833
  #
855
834
  # @return [Types::DeletePackageVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
856
835
  #
@@ -894,8 +873,8 @@ module Aws::CodeArtifact
894
873
  # The name of the domain that contains the repository to delete.
895
874
  #
896
875
  # @option params [String] :domain_owner
897
- # The 12-digit account number of the AWS account that owns the domain.
898
- # 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.
899
878
  #
900
879
  # @option params [required, String] :repository
901
880
  # The name of the repository to delete.
@@ -942,16 +921,17 @@ module Aws::CodeArtifact
942
921
  # might not be immediate.
943
922
  #
944
923
  # Use `DeleteRepositoryPermissionsPolicy` with caution. After a policy
945
- # is deleted, AWS users, roles, and accounts lose permissions to perform
946
- # the repository actions granted by the deleted policy.
924
+ # is deleted, Amazon Web Services users, roles, and accounts lose
925
+ # permissions to perform the repository actions granted by the deleted
926
+ # policy.
947
927
  #
948
928
  # @option params [required, String] :domain
949
929
  # The name of the domain that contains the repository associated with
950
930
  # the resource policy to be deleted.
951
931
  #
952
932
  # @option params [String] :domain_owner
953
- # The 12-digit account number of the AWS account that owns the domain.
954
- # 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.
955
935
  #
956
936
  # @option params [required, String] :repository
957
937
  # The name of the repository that is associated with the resource policy
@@ -1002,8 +982,8 @@ module Aws::CodeArtifact
1002
982
  # A string that specifies the name of the requested domain.
1003
983
  #
1004
984
  # @option params [String] :domain_owner
1005
- # The 12-digit account number of the AWS account that owns the domain.
1006
- # 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.
1007
987
  #
1008
988
  # @return [Types::DescribeDomainResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1009
989
  #
@@ -1049,21 +1029,14 @@ module Aws::CodeArtifact
1049
1029
  # package version.
1050
1030
  #
1051
1031
  # @option params [String] :domain_owner
1052
- # The 12-digit account number of the AWS account that owns the domain.
1053
- # 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.
1054
1034
  #
1055
1035
  # @option params [required, String] :repository
1056
1036
  # The name of the repository that contains the package version.
1057
1037
  #
1058
1038
  # @option params [required, String] :format
1059
- # A format that specifies the type of the requested package version. The
1060
- # valid values are:
1061
- #
1062
- # * `npm`
1063
- #
1064
- # * `pypi`
1065
- #
1066
- # * `maven`
1039
+ # A format that specifies the type of the requested package version.
1067
1040
  #
1068
1041
  # @option params [String] :namespace
1069
1042
  # The namespace of the package. The package component that specifies its
@@ -1131,8 +1104,8 @@ module Aws::CodeArtifact
1131
1104
  # The name of the domain that contains the repository to describe.
1132
1105
  #
1133
1106
  # @option params [String] :domain_owner
1134
- # The 12-digit account number of the AWS account that owns the domain.
1135
- # 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.
1136
1109
  #
1137
1110
  # @option params [required, String] :repository
1138
1111
  # A string that specifies the name of the requested repository.
@@ -1180,8 +1153,8 @@ module Aws::CodeArtifact
1180
1153
  # remove the external repository.
1181
1154
  #
1182
1155
  # @option params [String] :domain_owner
1183
- # The 12-digit account number of the AWS account that owns the domain.
1184
- # 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.
1185
1158
  #
1186
1159
  # @option params [required, String] :repository
1187
1160
  # The name of the repository from which the external connection will be
@@ -1249,8 +1222,8 @@ module Aws::CodeArtifact
1249
1222
  # dispose.
1250
1223
  #
1251
1224
  # @option params [String] :domain_owner
1252
- # The 12-digit account number of the AWS account that owns the domain.
1253
- # 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.
1254
1227
  #
1255
1228
  # @option params [required, String] :repository
1256
1229
  # The name of the repository that contains the package versions you want
@@ -1258,13 +1231,7 @@ module Aws::CodeArtifact
1258
1231
  #
1259
1232
  # @option params [required, String] :format
1260
1233
  # A format that specifies the type of package versions you want to
1261
- # dispose. The valid values are:
1262
- #
1263
- # * `npm`
1264
- #
1265
- # * `pypi`
1266
- #
1267
- # * `maven`
1234
+ # dispose.
1268
1235
  #
1269
1236
  # @option params [String] :namespace
1270
1237
  # The namespace of the package. The package component that specifies its
@@ -1287,18 +1254,7 @@ module Aws::CodeArtifact
1287
1254
  # The revisions of the package versions you want to dispose.
1288
1255
  #
1289
1256
  # @option params [String] :expected_status
1290
- # The expected status of the package version to dispose. Valid values
1291
- # are:
1292
- #
1293
- # * `Published`
1294
- #
1295
- # * `Unfinished`
1296
- #
1297
- # * `Unlisted`
1298
- #
1299
- # * `Archived`
1300
- #
1301
- # * `Disposed`
1257
+ # The expected status of the package version to dispose.
1302
1258
  #
1303
1259
  # @return [Types::DisposePackageVersionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1304
1260
  #
@@ -1342,8 +1298,8 @@ module Aws::CodeArtifact
1342
1298
  # Generates a temporary authorization token for accessing repositories
1343
1299
  # in the domain. This API requires the
1344
1300
  # `codeartifact:GetAuthorizationToken` and `sts:GetServiceBearerToken`
1345
- # permissions. For more information about authorization tokens, see [AWS
1346
- # CodeArtifact authentication and tokens][1].
1301
+ # permissions. For more information about authorization tokens, see
1302
+ # [CodeArtifact authentication and tokens][1].
1347
1303
  #
1348
1304
  # <note markdown="1"> CodeArtifact authorization tokens are valid for a period of 12 hours
1349
1305
  # when created with the `login` command. You can call `login`
@@ -1376,8 +1332,8 @@ module Aws::CodeArtifact
1376
1332
  # authorization token.
1377
1333
  #
1378
1334
  # @option params [String] :domain_owner
1379
- # The 12-digit account number of the AWS account that owns the domain.
1380
- # 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.
1381
1337
  #
1382
1338
  # @option params [Integer] :duration_seconds
1383
1339
  # The time, in seconds, that the generated authorization token is valid.
@@ -1417,7 +1373,7 @@ module Aws::CodeArtifact
1417
1373
  #
1418
1374
  # <note markdown="1"> The policy is a resource-based policy, not an identity-based policy.
1419
1375
  # For more information, see [Identity-based policies and resource-based
1420
- # policies ][1] in the *AWS Identity and Access Management User Guide*.
1376
+ # policies ][1] in the *IAM User Guide*.
1421
1377
  #
1422
1378
  # </note>
1423
1379
  #
@@ -1429,8 +1385,8 @@ module Aws::CodeArtifact
1429
1385
  # The name of the domain to which the resource policy is attached.
1430
1386
  #
1431
1387
  # @option params [String] :domain_owner
1432
- # The 12-digit account number of the AWS account that owns the domain.
1433
- # 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.
1434
1390
  #
1435
1391
  # @return [Types::GetDomainPermissionsPolicyResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1436
1392
  #
@@ -1467,8 +1423,8 @@ module Aws::CodeArtifact
1467
1423
  # package version with the requested asset.
1468
1424
  #
1469
1425
  # @option params [String] :domain_owner
1470
- # The 12-digit account number of the AWS account that owns the domain.
1471
- # 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.
1472
1428
  #
1473
1429
  # @option params [required, String] :repository
1474
1430
  # The repository that contains the package version with the requested
@@ -1476,13 +1432,7 @@ module Aws::CodeArtifact
1476
1432
  #
1477
1433
  # @option params [required, String] :format
1478
1434
  # A format that specifies the type of the package version with the
1479
- # requested asset file. The valid values are:
1480
- #
1481
- # * `npm`
1482
- #
1483
- # * `pypi`
1484
- #
1485
- # * `maven`
1435
+ # requested asset file.
1486
1436
  #
1487
1437
  # @option params [String] :namespace
1488
1438
  # The namespace of the package. The package component that specifies its
@@ -1545,10 +1495,7 @@ module Aws::CodeArtifact
1545
1495
  req.send_request(options, &block)
1546
1496
  end
1547
1497
 
1548
- # Gets the readme file or descriptive text for a package version. For
1549
- # packages that do not contain a readme file, CodeArtifact extracts a
1550
- # description from a metadata file. For example, from the
1551
- # `<description>` element in the `pom.xml` file of a Maven package.
1498
+ # Gets the readme file or descriptive text for a package version.
1552
1499
  #
1553
1500
  # The returned text might contain formatting. For example, it might
1554
1501
  # contain formatting for Markdown or reStructuredText.
@@ -1558,8 +1505,8 @@ module Aws::CodeArtifact
1558
1505
  # package version with the requested readme file.
1559
1506
  #
1560
1507
  # @option params [String] :domain_owner
1561
- # The 12-digit account number of the AWS account that owns the domain.
1562
- # 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.
1563
1510
  #
1564
1511
  # @option params [required, String] :repository
1565
1512
  # The repository that contains the package with the requested readme
@@ -1567,13 +1514,12 @@ module Aws::CodeArtifact
1567
1514
  #
1568
1515
  # @option params [required, String] :format
1569
1516
  # A format that specifies the type of the package version with the
1570
- # requested readme file. The valid values are:
1571
- #
1572
- # * `npm`
1517
+ # requested readme file.
1573
1518
  #
1574
- # * `pypi`
1519
+ # <note markdown="1"> Although `maven` is listed as a valid value, CodeArtifact does not
1520
+ # support displaying readme files for Maven packages.
1575
1521
  #
1576
- # * `maven`
1522
+ # </note>
1577
1523
  #
1578
1524
  # @option params [String] :namespace
1579
1525
  # The namespace of the package. The package component that specifies its
@@ -1635,31 +1581,28 @@ module Aws::CodeArtifact
1635
1581
  # Returns the endpoint of a repository for a specific package format. A
1636
1582
  # repository has one endpoint for each package format:
1637
1583
  #
1584
+ # * `maven`
1585
+ #
1638
1586
  # * `npm`
1639
1587
  #
1640
- # * `pypi`
1588
+ # * `nuget`
1641
1589
  #
1642
- # * `maven`
1590
+ # * `pypi`
1643
1591
  #
1644
1592
  # @option params [required, String] :domain
1645
1593
  # The name of the domain that contains the repository.
1646
1594
  #
1647
1595
  # @option params [String] :domain_owner
1648
- # The 12-digit account number of the AWS account that owns the domain
1649
- # that contains the repository. It does not include dashes or spaces.
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.
1650
1599
  #
1651
1600
  # @option params [required, String] :repository
1652
1601
  # The name of the repository.
1653
1602
  #
1654
1603
  # @option params [required, String] :format
1655
1604
  # Returns which endpoint of a repository to return. A repository has one
1656
- # endpoint for each package format:
1657
- #
1658
- # * `npm`
1659
- #
1660
- # * `pypi`
1661
- #
1662
- # * `maven`
1605
+ # endpoint for each package format.
1663
1606
  #
1664
1607
  # @return [Types::GetRepositoryEndpointResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1665
1608
  #
@@ -1694,8 +1637,8 @@ module Aws::CodeArtifact
1694
1637
  # resource policy is to be retrieved.
1695
1638
  #
1696
1639
  # @option params [String] :domain_owner
1697
- # The 12-digit account number of the AWS account that owns the domain.
1698
- # 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.
1699
1642
  #
1700
1643
  # @option params [required, String] :repository
1701
1644
  # The name of the repository whose associated resource policy is to be
@@ -1729,8 +1672,8 @@ module Aws::CodeArtifact
1729
1672
  end
1730
1673
 
1731
1674
  # Returns a list of [DomainSummary][1] objects for all domains owned by
1732
- # the AWS account that makes this call. Each returned `DomainSummary`
1733
- # 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.
1734
1677
  #
1735
1678
  #
1736
1679
  #
@@ -1790,8 +1733,8 @@ module Aws::CodeArtifact
1790
1733
  # the package version assets.
1791
1734
  #
1792
1735
  # @option params [String] :domain_owner
1793
- # The 12-digit account number of the AWS account that owns the domain.
1794
- # 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.
1795
1738
  #
1796
1739
  # @option params [required, String] :repository
1797
1740
  # The name of the repository that contains the package that contains the
@@ -1799,14 +1742,7 @@ module Aws::CodeArtifact
1799
1742
  #
1800
1743
  # @option params [required, String] :format
1801
1744
  # The format of the package that contains the returned package version
1802
- # assets. The valid package types are:
1803
- #
1804
- # * `npm`\: A Node Package Manager (npm) package.
1805
- #
1806
- # * `pypi`\: A Python Package Index (PyPI) package.
1807
- #
1808
- # * `maven`\: A Maven package that contains compiled code in a
1809
- # distributable format, such as a JAR file.
1745
+ # assets.
1810
1746
  #
1811
1747
  # @option params [String] :namespace
1812
1748
  # The namespace of the package. The package component that specifies its
@@ -1900,23 +1836,15 @@ module Aws::CodeArtifact
1900
1836
  # requested package version dependencies.
1901
1837
  #
1902
1838
  # @option params [String] :domain_owner
1903
- # The 12-digit account number of the AWS account that owns the domain.
1904
- # 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.
1905
1841
  #
1906
1842
  # @option params [required, String] :repository
1907
1843
  # The name of the repository that contains the requested package
1908
1844
  # version.
1909
1845
  #
1910
1846
  # @option params [required, String] :format
1911
- # The format of the package with the requested dependencies. The valid
1912
- # package types are:
1913
- #
1914
- # * `npm`\: A Node Package Manager (npm) package.
1915
- #
1916
- # * `pypi`\: A Python Package Index (PyPI) package.
1917
- #
1918
- # * `maven`\: A Maven package that contains compiled code in a
1919
- # distributable format, such as a JAR file.
1847
+ # The format of the package with the requested dependencies.
1920
1848
  #
1921
1849
  # @option params [String] :namespace
1922
1850
  # The namespace of the package. The package component that specifies its
@@ -1998,21 +1926,14 @@ module Aws::CodeArtifact
1998
1926
  # returned package versions.
1999
1927
  #
2000
1928
  # @option params [String] :domain_owner
2001
- # The 12-digit account number of the AWS account that owns the domain.
2002
- # 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.
2003
1931
  #
2004
1932
  # @option params [required, String] :repository
2005
1933
  # The name of the repository that contains the package.
2006
1934
  #
2007
1935
  # @option params [required, String] :format
2008
- # The format of the returned packages. The valid package types are:
2009
- #
2010
- # * `npm`\: A Node Package Manager (npm) package.
2011
- #
2012
- # * `pypi`\: A Python Package Index (PyPI) package.
2013
- #
2014
- # * `maven`\: A Maven package that contains compiled code in a
2015
- # distributable format, such as a JAR file.
1936
+ # The format of the returned packages.
2016
1937
  #
2017
1938
  # @option params [String] :namespace
2018
1939
  # The namespace of the package. The package component that specifies its
@@ -2031,17 +1952,7 @@ module Aws::CodeArtifact
2031
1952
  #
2032
1953
  # @option params [String] :status
2033
1954
  # A string that specifies the status of the package versions to include
2034
- # in the returned list. It can be one of the following:
2035
- #
2036
- # * `Published`
2037
- #
2038
- # * `Unfinished`
2039
- #
2040
- # * `Unlisted`
2041
- #
2042
- # * `Archived`
2043
- #
2044
- # * `Disposed`
1955
+ # in the returned list.
2045
1956
  #
2046
1957
  # @option params [String] :sort_by
2047
1958
  # How to sort the returned list of package versions.
@@ -2113,21 +2024,14 @@ module Aws::CodeArtifact
2113
2024
  # requested list of packages.
2114
2025
  #
2115
2026
  # @option params [String] :domain_owner
2116
- # The 12-digit account number of the AWS account that owns the domain.
2117
- # 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.
2118
2029
  #
2119
2030
  # @option params [required, String] :repository
2120
2031
  # The name of the repository from which packages are to be listed.
2121
2032
  #
2122
2033
  # @option params [String] :format
2123
- # The format of the packages. The valid package types are:
2124
- #
2125
- # * `npm`\: A Node Package Manager (npm) package.
2126
- #
2127
- # * `pypi`\: A Python Package Index (PyPI) package.
2128
- #
2129
- # * `maven`\: A Maven package that contains compiled code in a
2130
- # distributable format, such as a JAR file.
2034
+ # The format of the packages.
2131
2035
  #
2132
2036
  # @option params [String] :namespace
2133
2037
  # The namespace of the package. The package component that specifies its
@@ -2191,7 +2095,8 @@ module Aws::CodeArtifact
2191
2095
 
2192
2096
  # Returns a list of [RepositorySummary][1] objects. Each
2193
2097
  # `RepositorySummary` contains information about a repository in the
2194
- # specified AWS account and that matches the input parameters.
2098
+ # specified Amazon Web Services account and that matches the input
2099
+ # parameters.
2195
2100
  #
2196
2101
  #
2197
2102
  #
@@ -2257,12 +2162,12 @@ module Aws::CodeArtifact
2257
2162
  # repositories.
2258
2163
  #
2259
2164
  # @option params [String] :domain_owner
2260
- # The 12-digit account number of the AWS account that owns the domain.
2261
- # 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.
2262
2167
  #
2263
2168
  # @option params [String] :administrator_account
2264
2169
  # Filter the list of repositories to only include those that are managed
2265
- # by the AWS account ID.
2170
+ # by the Amazon Web Services account ID.
2266
2171
  #
2267
2172
  # @option params [String] :repository_prefix
2268
2173
  # A prefix used to filter returned repositories. Only repositories with
@@ -2314,8 +2219,8 @@ module Aws::CodeArtifact
2314
2219
  req.send_request(options)
2315
2220
  end
2316
2221
 
2317
- # Gets information about AWS tags for a specified Amazon Resource Name
2318
- # (ARN) in AWS CodeArtifact.
2222
+ # Gets information about Amazon Web Services tags for a specified Amazon
2223
+ # Resource Name (ARN) in CodeArtifact.
2319
2224
  #
2320
2225
  # @option params [required, String] :resource_arn
2321
2226
  # The Amazon Resource Name (ARN) of the resource to get tags for.
@@ -2357,8 +2262,8 @@ module Aws::CodeArtifact
2357
2262
  # The name of the domain on which to set the resource policy.
2358
2263
  #
2359
2264
  # @option params [String] :domain_owner
2360
- # The 12-digit account number of the AWS account that owns the domain.
2361
- # 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.
2362
2267
  #
2363
2268
  # @option params [String] :policy_revision
2364
2269
  # The current revision of the resource policy to be set. This revision
@@ -2411,8 +2316,8 @@ module Aws::CodeArtifact
2411
2316
  # policy on.
2412
2317
  #
2413
2318
  # @option params [String] :domain_owner
2414
- # The 12-digit account number of the AWS account that owns the domain.
2415
- # 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.
2416
2321
  #
2417
2322
  # @option params [required, String] :repository
2418
2323
  # The name of the repository to set the resource policy on.
@@ -2456,7 +2361,7 @@ module Aws::CodeArtifact
2456
2361
  req.send_request(options)
2457
2362
  end
2458
2363
 
2459
- # Adds or updates tags for a resource in AWS CodeArtifact.
2364
+ # Adds or updates tags for a resource in CodeArtifact.
2460
2365
  #
2461
2366
  # @option params [required, String] :resource_arn
2462
2367
  # The Amazon Resource Name (ARN) of the resource that you want to add or
@@ -2488,7 +2393,7 @@ module Aws::CodeArtifact
2488
2393
  req.send_request(options)
2489
2394
  end
2490
2395
 
2491
- # Removes tags from a resource in AWS CodeArtifact.
2396
+ # Removes tags from a resource in CodeArtifact.
2492
2397
  #
2493
2398
  # @option params [required, String] :resource_arn
2494
2399
  # The Amazon Resource Name (ARN) of the resource that you want to remove
@@ -2515,15 +2420,22 @@ module Aws::CodeArtifact
2515
2420
  req.send_request(options)
2516
2421
  end
2517
2422
 
2518
- # 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
2519
2431
  #
2520
2432
  # @option params [required, String] :domain
2521
2433
  # The name of the domain that contains the repository that contains the
2522
2434
  # package versions with a status to be updated.
2523
2435
  #
2524
2436
  # @option params [String] :domain_owner
2525
- # The 12-digit account number of the AWS account that owns the domain.
2526
- # 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.
2527
2439
  #
2528
2440
  # @option params [required, String] :repository
2529
2441
  # The repository that contains the package versions with the status you
@@ -2531,13 +2443,7 @@ module Aws::CodeArtifact
2531
2443
  #
2532
2444
  # @option params [required, String] :format
2533
2445
  # A format that specifies the type of the package with the statuses to
2534
- # update. The valid values are:
2535
- #
2536
- # * `npm`
2537
- #
2538
- # * `pypi`
2539
- #
2540
- # * `maven`
2446
+ # update.
2541
2447
  #
2542
2448
  # @option params [String] :namespace
2543
2449
  # The namespace of the package. The package component that specifies its
@@ -2617,8 +2523,8 @@ module Aws::CodeArtifact
2617
2523
  # The name of the domain associated with the repository to update.
2618
2524
  #
2619
2525
  # @option params [String] :domain_owner
2620
- # The 12-digit account number of the AWS account that owns the domain.
2621
- # 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.
2622
2528
  #
2623
2529
  # @option params [required, String] :repository
2624
2530
  # The name of the repository to update.
@@ -2629,7 +2535,7 @@ module Aws::CodeArtifact
2629
2535
  # @option params [Array<Types::UpstreamRepository>] :upstreams
2630
2536
  # A list of upstream repositories to associate with the repository. The
2631
2537
  # order of the upstream repositories in the list determines their
2632
- # priority order when AWS CodeArtifact looks for a requested package
2538
+ # priority order when CodeArtifact looks for a requested package
2633
2539
  # version. For more information, see [Working with upstream
2634
2540
  # repositories][1].
2635
2541
  #
@@ -2692,7 +2598,7 @@ module Aws::CodeArtifact
2692
2598
  params: params,
2693
2599
  config: config)
2694
2600
  context[:gem_name] = 'aws-sdk-codeartifact'
2695
- context[:gem_version] = '1.19.0'
2601
+ context[:gem_version] = '1.20.0'
2696
2602
  Seahorse::Client::Request.new(handlers, context)
2697
2603
  end
2698
2604