aws-sdk-codeartifact 1.38.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -108,6 +108,56 @@ module Aws::CodeArtifact
108
108
  include Aws::Structure
109
109
  end
110
110
 
111
+ # A package associated with a package group.
112
+ #
113
+ # @!attribute [rw] format
114
+ # A format that specifies the type of the associated package.
115
+ # @return [String]
116
+ #
117
+ # @!attribute [rw] namespace
118
+ # The namespace of the associated package. The package component that
119
+ # specifies its namespace depends on its type. For example:
120
+ #
121
+ # * The namespace of a Maven package version is its `groupId`.
122
+ #
123
+ # * The namespace of an npm or Swift package version is its `scope`.
124
+ #
125
+ # * The namespace of a generic package is its `namespace`.
126
+ #
127
+ # * Python and NuGet package versions do not contain a corresponding
128
+ # component, package versions of those formats do not have a
129
+ # namespace.
130
+ # @return [String]
131
+ #
132
+ # @!attribute [rw] package
133
+ # The name of the associated package.
134
+ # @return [String]
135
+ #
136
+ # @!attribute [rw] association_type
137
+ # Describes the strength of the association between the package and
138
+ # package group. A strong match can be thought of as an exact match,
139
+ # and a weak match can be thought of as a variation match, for
140
+ # example, the package name matches a variation of the package group
141
+ # pattern. For more information about package group pattern matching,
142
+ # including strong and weak matches, see [Package group definition
143
+ # syntax and matching behavior][1] in the *CodeArtifact User Guide*.
144
+ #
145
+ #
146
+ #
147
+ # [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/package-group-definition-syntax-matching-behavior.html
148
+ # @return [String]
149
+ #
150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociatedPackage AWS API Documentation
151
+ #
152
+ class AssociatedPackage < Struct.new(
153
+ :format,
154
+ :namespace,
155
+ :package,
156
+ :association_type)
157
+ SENSITIVE = []
158
+ include Aws::Structure
159
+ end
160
+
111
161
  # The operation did not succeed because prerequisites are not met.
112
162
  #
113
163
  # @!attribute [rw] message
@@ -156,19 +206,29 @@ module Aws::CodeArtifact
156
206
  #
157
207
  # @!attribute [rw] namespace
158
208
  # The namespace of the package versions to be copied. The package
159
- # version component that specifies its namespace depends on its type.
160
- # For example:
209
+ # component that specifies its namespace depends on its type. For
210
+ # example:
211
+ #
212
+ # <note markdown="1"> The namespace is required when copying package versions of the
213
+ # following formats:
214
+ #
215
+ # * Maven
216
+ #
217
+ # * Swift
218
+ #
219
+ # * generic
220
+ #
221
+ # </note>
222
+ #
223
+ # * The namespace of a Maven package version is its `groupId`.
161
224
  #
162
- # * The namespace of a Maven package version is its `groupId`. The
163
- # namespace is required when copying Maven package versions.
225
+ # * The namespace of an npm or Swift package version is its `scope`.
164
226
  #
165
- # * The namespace of an npm package version is its `scope`.
227
+ # * The namespace of a generic package is its `namespace`.
166
228
  #
167
229
  # * Python and NuGet package versions do not contain a corresponding
168
230
  # component, package versions of those formats do not have a
169
231
  # namespace.
170
- #
171
- # * The namespace of a generic package is its `namespace`.
172
232
  # @return [String]
173
233
  #
174
234
  # @!attribute [rw] package
@@ -322,6 +382,58 @@ module Aws::CodeArtifact
322
382
  include Aws::Structure
323
383
  end
324
384
 
385
+ # @!attribute [rw] domain
386
+ # The name of the domain in which you want to create a package group.
387
+ # @return [String]
388
+ #
389
+ # @!attribute [rw] domain_owner
390
+ # The 12-digit account number of the Amazon Web Services account that
391
+ # owns the domain. It does not include dashes or spaces.
392
+ # @return [String]
393
+ #
394
+ # @!attribute [rw] package_group
395
+ # The pattern of the package group to create. The pattern is also the
396
+ # identifier of the package group.
397
+ # @return [String]
398
+ #
399
+ # @!attribute [rw] contact_info
400
+ # The contact information for the created package group.
401
+ # @return [String]
402
+ #
403
+ # @!attribute [rw] description
404
+ # A description of the package group.
405
+ # @return [String]
406
+ #
407
+ # @!attribute [rw] tags
408
+ # One or more tag key-value pairs for the package group.
409
+ # @return [Array<Types::Tag>]
410
+ #
411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreatePackageGroupRequest AWS API Documentation
412
+ #
413
+ class CreatePackageGroupRequest < Struct.new(
414
+ :domain,
415
+ :domain_owner,
416
+ :package_group,
417
+ :contact_info,
418
+ :description,
419
+ :tags)
420
+ SENSITIVE = []
421
+ include Aws::Structure
422
+ end
423
+
424
+ # @!attribute [rw] package_group
425
+ # Information about the created package group after processing the
426
+ # request.
427
+ # @return [Types::PackageGroupDescription]
428
+ #
429
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreatePackageGroupResult AWS API Documentation
430
+ #
431
+ class CreatePackageGroupResult < Struct.new(
432
+ :package_group)
433
+ SENSITIVE = []
434
+ include Aws::Structure
435
+ end
436
+
325
437
  # @!attribute [rw] domain
326
438
  # The name of the domain that contains the created repository.
327
439
  # @return [String]
@@ -451,6 +563,42 @@ module Aws::CodeArtifact
451
563
  include Aws::Structure
452
564
  end
453
565
 
566
+ # @!attribute [rw] domain
567
+ # The domain that contains the package group to be deleted.
568
+ # @return [String]
569
+ #
570
+ # @!attribute [rw] domain_owner
571
+ # The 12-digit account number of the Amazon Web Services account that
572
+ # owns the domain. It does not include dashes or spaces.
573
+ # @return [String]
574
+ #
575
+ # @!attribute [rw] package_group
576
+ # The pattern of the package group to be deleted.
577
+ # @return [String]
578
+ #
579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageGroupRequest AWS API Documentation
580
+ #
581
+ class DeletePackageGroupRequest < Struct.new(
582
+ :domain,
583
+ :domain_owner,
584
+ :package_group)
585
+ SENSITIVE = []
586
+ include Aws::Structure
587
+ end
588
+
589
+ # @!attribute [rw] package_group
590
+ # Information about the deleted package group after processing the
591
+ # request.
592
+ # @return [Types::PackageGroupDescription]
593
+ #
594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageGroupResult AWS API Documentation
595
+ #
596
+ class DeletePackageGroupResult < Struct.new(
597
+ :package_group)
598
+ SENSITIVE = []
599
+ include Aws::Structure
600
+ end
601
+
454
602
  # @!attribute [rw] domain
455
603
  # The name of the domain that contains the package to delete.
456
604
  # @return [String]
@@ -472,15 +620,26 @@ module Aws::CodeArtifact
472
620
  # The namespace of the package to delete. The package component that
473
621
  # specifies its namespace depends on its type. For example:
474
622
  #
475
- # * The namespace of a Maven package is its `groupId`. The namespace
476
- # is required when deleting Maven package versions.
623
+ # <note markdown="1"> The namespace is required when deleting packages of the following
624
+ # formats:
625
+ #
626
+ # * Maven
477
627
  #
478
- # * The namespace of an npm package is its `scope`.
628
+ # * Swift
479
629
  #
480
- # * Python and NuGet packages do not contain corresponding components,
481
- # packages of those formats do not have a namespace.
630
+ # * generic
631
+ #
632
+ # </note>
633
+ #
634
+ # * The namespace of a Maven package version is its `groupId`.
635
+ #
636
+ # * The namespace of an npm or Swift package version is its `scope`.
482
637
  #
483
638
  # * The namespace of a generic package is its `namespace`.
639
+ #
640
+ # * Python and NuGet package versions do not contain a corresponding
641
+ # component, package versions of those formats do not have a
642
+ # namespace.
484
643
  # @return [String]
485
644
  #
486
645
  # @!attribute [rw] package
@@ -532,19 +691,29 @@ module Aws::CodeArtifact
532
691
  #
533
692
  # @!attribute [rw] namespace
534
693
  # The namespace of the package versions to be deleted. The package
535
- # version component that specifies its namespace depends on its type.
536
- # For example:
694
+ # component that specifies its namespace depends on its type. For
695
+ # example:
696
+ #
697
+ # <note markdown="1"> The namespace is required when deleting package versions of the
698
+ # following formats:
537
699
  #
538
- # * The namespace of a Maven package version is its `groupId`. The
539
- # namespace is required when deleting Maven package versions.
700
+ # * Maven
540
701
  #
541
- # * The namespace of an npm package version is its `scope`.
702
+ # * Swift
703
+ #
704
+ # * generic
705
+ #
706
+ # </note>
707
+ #
708
+ # * The namespace of a Maven package version is its `groupId`.
709
+ #
710
+ # * The namespace of an npm or Swift package version is its `scope`.
711
+ #
712
+ # * The namespace of a generic package is its `namespace`.
542
713
  #
543
714
  # * Python and NuGet package versions do not contain a corresponding
544
715
  # component, package versions of those formats do not have a
545
716
  # namespace.
546
- #
547
- # * The namespace of a generic package is its `namespace`.
548
717
  # @return [String]
549
718
  #
550
719
  # @!attribute [rw] package
@@ -719,6 +888,46 @@ module Aws::CodeArtifact
719
888
  include Aws::Structure
720
889
  end
721
890
 
891
+ # @!attribute [rw] domain
892
+ # The name of the domain that contains the package group.
893
+ # @return [String]
894
+ #
895
+ # @!attribute [rw] domain_owner
896
+ # The 12-digit account number of the Amazon Web Services account that
897
+ # owns the domain. It does not include dashes or spaces.
898
+ # @return [String]
899
+ #
900
+ # @!attribute [rw] package_group
901
+ # The pattern of the requested package group.
902
+ # @return [String]
903
+ #
904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageGroupRequest AWS API Documentation
905
+ #
906
+ class DescribePackageGroupRequest < Struct.new(
907
+ :domain,
908
+ :domain_owner,
909
+ :package_group)
910
+ SENSITIVE = []
911
+ include Aws::Structure
912
+ end
913
+
914
+ # @!attribute [rw] package_group
915
+ # A [PackageGroupDescription][1] object that contains information
916
+ # about the requested package group.
917
+ #
918
+ #
919
+ #
920
+ # [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageGroupDescription.html
921
+ # @return [Types::PackageGroupDescription]
922
+ #
923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageGroupResult AWS API Documentation
924
+ #
925
+ class DescribePackageGroupResult < Struct.new(
926
+ :package_group)
927
+ SENSITIVE = []
928
+ include Aws::Structure
929
+ end
930
+
722
931
  # @!attribute [rw] domain
723
932
  # The name of the domain that contains the repository that contains
724
933
  # the package.
@@ -741,15 +950,26 @@ module Aws::CodeArtifact
741
950
  # The namespace of the requested package. The package component that
742
951
  # specifies its namespace depends on its type. For example:
743
952
  #
744
- # * The namespace of a Maven package is its `groupId`. The namespace
745
- # is required when requesting Maven packages.
953
+ # <note markdown="1"> The namespace is required when requesting packages of the following
954
+ # formats:
955
+ #
956
+ # * Maven
746
957
  #
747
- # * The namespace of an npm package is its `scope`.
958
+ # * Swift
748
959
  #
749
- # * Python and NuGet packages do not contain a corresponding
750
- # component, packages of those formats do not have a namespace.
960
+ # * generic
961
+ #
962
+ # </note>
963
+ #
964
+ # * The namespace of a Maven package version is its `groupId`.
965
+ #
966
+ # * The namespace of an npm or Swift package version is its `scope`.
751
967
  #
752
968
  # * The namespace of a generic package is its `namespace`.
969
+ #
970
+ # * Python and NuGet package versions do not contain a corresponding
971
+ # component, package versions of those formats do not have a
972
+ # namespace.
753
973
  # @return [String]
754
974
  #
755
975
  # @!attribute [rw] package
@@ -805,19 +1025,30 @@ module Aws::CodeArtifact
805
1025
  # @return [String]
806
1026
  #
807
1027
  # @!attribute [rw] namespace
808
- # The namespace of the requested package version. The package version
1028
+ # The namespace of the requested package version. The package
809
1029
  # component that specifies its namespace depends on its type. For
810
1030
  # example:
811
1031
  #
1032
+ # <note markdown="1"> The namespace is required when requesting package versions of the
1033
+ # following formats:
1034
+ #
1035
+ # * Maven
1036
+ #
1037
+ # * Swift
1038
+ #
1039
+ # * generic
1040
+ #
1041
+ # </note>
1042
+ #
812
1043
  # * The namespace of a Maven package version is its `groupId`.
813
1044
  #
814
- # * The namespace of an npm package version is its `scope`.
1045
+ # * The namespace of an npm or Swift package version is its `scope`.
1046
+ #
1047
+ # * The namespace of a generic package is its `namespace`.
815
1048
  #
816
1049
  # * Python and NuGet package versions do not contain a corresponding
817
1050
  # component, package versions of those formats do not have a
818
1051
  # namespace.
819
- #
820
- # * The namespace of a generic package is its `namespace`.
821
1052
  # @return [String]
822
1053
  #
823
1054
  # @!attribute [rw] package
@@ -960,18 +1191,29 @@ module Aws::CodeArtifact
960
1191
  #
961
1192
  # @!attribute [rw] namespace
962
1193
  # The namespace of the package versions to be disposed. The package
963
- # version component that specifies its namespace depends on its type.
964
- # For example:
1194
+ # component that specifies its namespace depends on its type. For
1195
+ # example:
1196
+ #
1197
+ # <note markdown="1"> The namespace is required when disposing package versions of the
1198
+ # following formats:
1199
+ #
1200
+ # * Maven
1201
+ #
1202
+ # * Swift
1203
+ #
1204
+ # * generic
1205
+ #
1206
+ # </note>
965
1207
  #
966
1208
  # * The namespace of a Maven package version is its `groupId`.
967
1209
  #
968
- # * The namespace of an npm package version is its `scope`.
1210
+ # * The namespace of an npm or Swift package version is its `scope`.
1211
+ #
1212
+ # * The namespace of a generic package is its `namespace`.
969
1213
  #
970
1214
  # * Python and NuGet package versions do not contain a corresponding
971
1215
  # component, package versions of those formats do not have a
972
1216
  # namespace.
973
- #
974
- # * The namespace of a generic package is its `namespace`.
975
1217
  # @return [String]
976
1218
  #
977
1219
  # @!attribute [rw] package
@@ -1104,6 +1346,13 @@ module Aws::CodeArtifact
1104
1346
  # CodeArtifact repository that is connected to an external repository
1105
1347
  # such as the npm registry or NuGet gallery.
1106
1348
  #
1349
+ # <note markdown="1"> If a package version exists in a repository and is updated, for
1350
+ # example if a package of the same version is added with additional
1351
+ # assets, the package version's `DomainEntryPoint` will not change from
1352
+ # the original package version's value.
1353
+ #
1354
+ # </note>
1355
+ #
1107
1356
  # @!attribute [rw] repository_name
1108
1357
  # The name of the repository that a package was originally published
1109
1358
  # to.
@@ -1169,6 +1418,83 @@ module Aws::CodeArtifact
1169
1418
  include Aws::Structure
1170
1419
  end
1171
1420
 
1421
+ # @!attribute [rw] domain
1422
+ # The name of the domain that contains the package from which to get
1423
+ # the associated package group.
1424
+ # @return [String]
1425
+ #
1426
+ # @!attribute [rw] domain_owner
1427
+ # The 12-digit account number of the Amazon Web Services account that
1428
+ # owns the domain. It does not include dashes or spaces.
1429
+ # @return [String]
1430
+ #
1431
+ # @!attribute [rw] format
1432
+ # The format of the package from which to get the associated package
1433
+ # group.
1434
+ # @return [String]
1435
+ #
1436
+ # @!attribute [rw] namespace
1437
+ # The namespace of the package from which to get the associated
1438
+ # package group. The package component that specifies its namespace
1439
+ # depends on its type. For example:
1440
+ #
1441
+ # <note markdown="1"> The namespace is required when getting associated package groups
1442
+ # from packages of the following formats:
1443
+ #
1444
+ # * Maven
1445
+ #
1446
+ # * Swift
1447
+ #
1448
+ # * generic
1449
+ #
1450
+ # </note>
1451
+ #
1452
+ # * The namespace of a Maven package version is its `groupId`.
1453
+ #
1454
+ # * The namespace of an npm or Swift package version is its `scope`.
1455
+ #
1456
+ # * The namespace of a generic package is its `namespace`.
1457
+ #
1458
+ # * Python and NuGet package versions do not contain a corresponding
1459
+ # component, package versions of those formats do not have a
1460
+ # namespace.
1461
+ # @return [String]
1462
+ #
1463
+ # @!attribute [rw] package
1464
+ # The package from which to get the associated package group.
1465
+ # @return [String]
1466
+ #
1467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAssociatedPackageGroupRequest AWS API Documentation
1468
+ #
1469
+ class GetAssociatedPackageGroupRequest < Struct.new(
1470
+ :domain,
1471
+ :domain_owner,
1472
+ :format,
1473
+ :namespace,
1474
+ :package)
1475
+ SENSITIVE = []
1476
+ include Aws::Structure
1477
+ end
1478
+
1479
+ # @!attribute [rw] package_group
1480
+ # The package group that is associated with the requested package.
1481
+ # @return [Types::PackageGroupDescription]
1482
+ #
1483
+ # @!attribute [rw] association_type
1484
+ # Describes the strength of the association between the package and
1485
+ # package group. A strong match is also known as an exact match, and a
1486
+ # weak match is known as a relative match.
1487
+ # @return [String]
1488
+ #
1489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAssociatedPackageGroupResult AWS API Documentation
1490
+ #
1491
+ class GetAssociatedPackageGroupResult < Struct.new(
1492
+ :package_group,
1493
+ :association_type)
1494
+ SENSITIVE = []
1495
+ include Aws::Structure
1496
+ end
1497
+
1172
1498
  # @!attribute [rw] domain
1173
1499
  # The name of the domain that is in scope for the generated
1174
1500
  # authorization token.
@@ -1267,18 +1593,29 @@ module Aws::CodeArtifact
1267
1593
  #
1268
1594
  # @!attribute [rw] namespace
1269
1595
  # The namespace of the package version with the requested asset file.
1270
- # The package version component that specifies its namespace depends
1271
- # on its type. For example:
1596
+ # The package component that specifies its namespace depends on its
1597
+ # type. For example:
1598
+ #
1599
+ # <note markdown="1"> The namespace is required when requesting assets from package
1600
+ # versions of the following formats:
1601
+ #
1602
+ # * Maven
1603
+ #
1604
+ # * Swift
1605
+ #
1606
+ # * generic
1607
+ #
1608
+ # </note>
1272
1609
  #
1273
1610
  # * The namespace of a Maven package version is its `groupId`.
1274
1611
  #
1275
- # * The namespace of an npm package version is its `scope`.
1612
+ # * The namespace of an npm or Swift package version is its `scope`.
1613
+ #
1614
+ # * The namespace of a generic package is its `namespace`.
1276
1615
  #
1277
1616
  # * Python and NuGet package versions do not contain a corresponding
1278
1617
  # component, package versions of those formats do not have a
1279
1618
  # namespace.
1280
- #
1281
- # * The namespace of a generic package is its `namespace`.
1282
1619
  # @return [String]
1283
1620
  #
1284
1621
  # @!attribute [rw] package
@@ -1364,10 +1701,25 @@ module Aws::CodeArtifact
1364
1701
  #
1365
1702
  # @!attribute [rw] namespace
1366
1703
  # The namespace of the package version with the requested readme file.
1367
- # The package version component that specifies its namespace depends
1368
- # on its type. For example:
1704
+ # The package component that specifies its namespace depends on its
1705
+ # type. For example:
1706
+ #
1707
+ # <note markdown="1"> The namespace is required when requesting the readme from package
1708
+ # versions of the following formats:
1709
+ #
1710
+ # * Maven
1711
+ #
1712
+ # * Swift
1369
1713
  #
1370
- # * The namespace of an npm package version is its `scope`.
1714
+ # * generic
1715
+ #
1716
+ # </note>
1717
+ #
1718
+ # * The namespace of a Maven package version is its `groupId`.
1719
+ #
1720
+ # * The namespace of an npm or Swift package version is its `scope`.
1721
+ #
1722
+ # * The namespace of a generic package is its `namespace`.
1371
1723
  #
1372
1724
  # * Python and NuGet package versions do not contain a corresponding
1373
1725
  # component, package versions of those formats do not have a
@@ -1403,12 +1755,14 @@ module Aws::CodeArtifact
1403
1755
  #
1404
1756
  # @!attribute [rw] namespace
1405
1757
  # The namespace of the package version with the requested readme file.
1406
- # The package version component that specifies its namespace depends
1407
- # on its type. For example:
1758
+ # The package component that specifies its namespace depends on its
1759
+ # type. For example:
1408
1760
  #
1409
1761
  # * The namespace of a Maven package version is its `groupId`.
1410
1762
  #
1411
- # * The namespace of an npm package version is its `scope`.
1763
+ # * The namespace of an npm or Swift package version is its `scope`.
1764
+ #
1765
+ # * The namespace of a generic package is its `namespace`.
1412
1766
  #
1413
1767
  # * Python and NuGet package versions do not contain a corresponding
1414
1768
  # component, package versions of those formats do not have a
@@ -1556,6 +1910,132 @@ module Aws::CodeArtifact
1556
1910
  include Aws::Structure
1557
1911
  end
1558
1912
 
1913
+ # @!attribute [rw] domain
1914
+ # The name of the domain that contains the package group from which to
1915
+ # list allowed repositories.
1916
+ # @return [String]
1917
+ #
1918
+ # @!attribute [rw] domain_owner
1919
+ # The 12-digit account number of the Amazon Web Services account that
1920
+ # owns the domain. It does not include dashes or spaces.
1921
+ # @return [String]
1922
+ #
1923
+ # @!attribute [rw] package_group
1924
+ # The pattern of the package group from which to list allowed
1925
+ # repositories.
1926
+ # @return [String]
1927
+ #
1928
+ # @!attribute [rw] origin_restriction_type
1929
+ # The origin configuration restriction type of which to list allowed
1930
+ # repositories.
1931
+ # @return [String]
1932
+ #
1933
+ # @!attribute [rw] max_results
1934
+ # The maximum number of results to return per page.
1935
+ # @return [Integer]
1936
+ #
1937
+ # @!attribute [rw] next_token
1938
+ # The token for the next set of results. Use the value returned in the
1939
+ # previous response in the next request to retrieve the next set of
1940
+ # results.
1941
+ # @return [String]
1942
+ #
1943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListAllowedRepositoriesForGroupRequest AWS API Documentation
1944
+ #
1945
+ class ListAllowedRepositoriesForGroupRequest < Struct.new(
1946
+ :domain,
1947
+ :domain_owner,
1948
+ :package_group,
1949
+ :origin_restriction_type,
1950
+ :max_results,
1951
+ :next_token)
1952
+ SENSITIVE = []
1953
+ include Aws::Structure
1954
+ end
1955
+
1956
+ # @!attribute [rw] allowed_repositories
1957
+ # The list of allowed repositories for the package group and origin
1958
+ # configuration restriction type.
1959
+ # @return [Array<String>]
1960
+ #
1961
+ # @!attribute [rw] next_token
1962
+ # The token for the next set of results. Use the value returned in the
1963
+ # previous response in the next request to retrieve the next set of
1964
+ # results.
1965
+ # @return [String]
1966
+ #
1967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListAllowedRepositoriesForGroupResult AWS API Documentation
1968
+ #
1969
+ class ListAllowedRepositoriesForGroupResult < Struct.new(
1970
+ :allowed_repositories,
1971
+ :next_token)
1972
+ SENSITIVE = []
1973
+ include Aws::Structure
1974
+ end
1975
+
1976
+ # @!attribute [rw] domain
1977
+ # The name of the domain that contains the package group from which to
1978
+ # list associated packages.
1979
+ # @return [String]
1980
+ #
1981
+ # @!attribute [rw] domain_owner
1982
+ # The 12-digit account number of the Amazon Web Services account that
1983
+ # owns the domain. It does not include dashes or spaces.
1984
+ # @return [String]
1985
+ #
1986
+ # @!attribute [rw] package_group
1987
+ # The pattern of the package group from which to list associated
1988
+ # packages.
1989
+ # @return [String]
1990
+ #
1991
+ # @!attribute [rw] max_results
1992
+ # The maximum number of results to return per page.
1993
+ # @return [Integer]
1994
+ #
1995
+ # @!attribute [rw] next_token
1996
+ # The token for the next set of results. Use the value returned in the
1997
+ # previous response in the next request to retrieve the next set of
1998
+ # results.
1999
+ # @return [String]
2000
+ #
2001
+ # @!attribute [rw] preview
2002
+ # When this flag is included, `ListAssociatedPackages` will return a
2003
+ # list of packages that would be associated with a package group, even
2004
+ # if it does not exist.
2005
+ # @return [Boolean]
2006
+ #
2007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListAssociatedPackagesRequest AWS API Documentation
2008
+ #
2009
+ class ListAssociatedPackagesRequest < Struct.new(
2010
+ :domain,
2011
+ :domain_owner,
2012
+ :package_group,
2013
+ :max_results,
2014
+ :next_token,
2015
+ :preview)
2016
+ SENSITIVE = []
2017
+ include Aws::Structure
2018
+ end
2019
+
2020
+ # @!attribute [rw] packages
2021
+ # The list of packages associated with the requested package group.
2022
+ # @return [Array<Types::AssociatedPackage>]
2023
+ #
2024
+ # @!attribute [rw] next_token
2025
+ # The token for the next set of results. Use the value returned in the
2026
+ # previous response in the next request to retrieve the next set of
2027
+ # results.
2028
+ # @return [String]
2029
+ #
2030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListAssociatedPackagesResult AWS API Documentation
2031
+ #
2032
+ class ListAssociatedPackagesResult < Struct.new(
2033
+ :packages,
2034
+ :next_token)
2035
+ SENSITIVE = []
2036
+ include Aws::Structure
2037
+ end
2038
+
1559
2039
  # @!attribute [rw] max_results
1560
2040
  # The maximum number of results to return per page.
1561
2041
  # @return [Integer]
@@ -1598,6 +2078,62 @@ module Aws::CodeArtifact
1598
2078
  include Aws::Structure
1599
2079
  end
1600
2080
 
2081
+ # @!attribute [rw] domain
2082
+ # The domain for which you want to list package groups.
2083
+ # @return [String]
2084
+ #
2085
+ # @!attribute [rw] domain_owner
2086
+ # The 12-digit account number of the Amazon Web Services account that
2087
+ # owns the domain. It does not include dashes or spaces.
2088
+ # @return [String]
2089
+ #
2090
+ # @!attribute [rw] max_results
2091
+ # The maximum number of results to return per page.
2092
+ # @return [Integer]
2093
+ #
2094
+ # @!attribute [rw] next_token
2095
+ # The token for the next set of results. Use the value returned in the
2096
+ # previous response in the next request to retrieve the next set of
2097
+ # results.
2098
+ # @return [String]
2099
+ #
2100
+ # @!attribute [rw] prefix
2101
+ # A prefix for which to search package groups. When included,
2102
+ # `ListPackageGroups` will return only package groups with patterns
2103
+ # that match the prefix.
2104
+ # @return [String]
2105
+ #
2106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageGroupsRequest AWS API Documentation
2107
+ #
2108
+ class ListPackageGroupsRequest < Struct.new(
2109
+ :domain,
2110
+ :domain_owner,
2111
+ :max_results,
2112
+ :next_token,
2113
+ :prefix)
2114
+ SENSITIVE = []
2115
+ include Aws::Structure
2116
+ end
2117
+
2118
+ # @!attribute [rw] package_groups
2119
+ # The list of package groups in the requested domain.
2120
+ # @return [Array<Types::PackageGroupSummary>]
2121
+ #
2122
+ # @!attribute [rw] next_token
2123
+ # The token for the next set of results. Use the value returned in the
2124
+ # previous response in the next request to retrieve the next set of
2125
+ # results.
2126
+ # @return [String]
2127
+ #
2128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageGroupsResult AWS API Documentation
2129
+ #
2130
+ class ListPackageGroupsResult < Struct.new(
2131
+ :package_groups,
2132
+ :next_token)
2133
+ SENSITIVE = []
2134
+ include Aws::Structure
2135
+ end
2136
+
1601
2137
  # @!attribute [rw] domain
1602
2138
  # The name of the domain that contains the repository associated with
1603
2139
  # the package version assets.
@@ -1620,18 +2156,29 @@ module Aws::CodeArtifact
1620
2156
  #
1621
2157
  # @!attribute [rw] namespace
1622
2158
  # The namespace of the package version that contains the requested
1623
- # package version assets. The package version component that specifies
1624
- # its namespace depends on its type. For example:
2159
+ # package version assets. The package component that specifies its
2160
+ # namespace depends on its type. For example:
2161
+ #
2162
+ # <note markdown="1"> The namespace is required requesting assets from package versions of
2163
+ # the following formats:
2164
+ #
2165
+ # * Maven
2166
+ #
2167
+ # * Swift
2168
+ #
2169
+ # * generic
2170
+ #
2171
+ # </note>
1625
2172
  #
1626
2173
  # * The namespace of a Maven package version is its `groupId`.
1627
2174
  #
1628
- # * The namespace of an npm package version is its `scope`.
2175
+ # * The namespace of an npm or Swift package version is its `scope`.
2176
+ #
2177
+ # * The namespace of a generic package is its `namespace`.
1629
2178
  #
1630
2179
  # * Python and NuGet package versions do not contain a corresponding
1631
2180
  # component, package versions of those formats do not have a
1632
2181
  # namespace.
1633
- #
1634
- # * The namespace of a generic package is its `namespace`.
1635
2182
  # @return [String]
1636
2183
  #
1637
2184
  # @!attribute [rw] package
@@ -1676,12 +2223,14 @@ module Aws::CodeArtifact
1676
2223
  #
1677
2224
  # @!attribute [rw] namespace
1678
2225
  # The namespace of the package version that contains the requested
1679
- # package version assets. The package version component that specifies
1680
- # its namespace depends on its type. For example:
2226
+ # package version assets. The package component that specifies its
2227
+ # namespace depends on its type. For example:
1681
2228
  #
1682
2229
  # * The namespace of a Maven package version is its `groupId`.
1683
2230
  #
1684
- # * The namespace of an npm package version is its `scope`.
2231
+ # * The namespace of an npm or Swift package version is its `scope`.
2232
+ #
2233
+ # * The namespace of a generic package is its `namespace`.
1685
2234
  #
1686
2235
  # * Python and NuGet package versions do not contain a corresponding
1687
2236
  # component, package versions of those formats do not have a
@@ -1749,18 +2298,29 @@ module Aws::CodeArtifact
1749
2298
  #
1750
2299
  # @!attribute [rw] namespace
1751
2300
  # The namespace of the package version with the requested
1752
- # dependencies. The package version component that specifies its
1753
- # namespace depends on its type. For example:
2301
+ # dependencies. The package component that specifies its namespace
2302
+ # depends on its type. For example:
2303
+ #
2304
+ # <note markdown="1"> The namespace is required when listing dependencies from package
2305
+ # versions of the following formats:
2306
+ #
2307
+ # * Maven
2308
+ #
2309
+ # * Swift
2310
+ #
2311
+ # * generic
2312
+ #
2313
+ # </note>
1754
2314
  #
1755
2315
  # * The namespace of a Maven package version is its `groupId`.
1756
2316
  #
1757
- # * The namespace of an npm package version is its `scope`.
2317
+ # * The namespace of an npm or Swift package version is its `scope`.
2318
+ #
2319
+ # * The namespace of a generic package is its `namespace`.
1758
2320
  #
1759
2321
  # * Python and NuGet package versions do not contain a corresponding
1760
2322
  # component, package versions of those formats do not have a
1761
2323
  # namespace.
1762
- #
1763
- # * The namespace of a generic package is its `namespace`.
1764
2324
  # @return [String]
1765
2325
  #
1766
2326
  # @!attribute [rw] package
@@ -1799,12 +2359,14 @@ module Aws::CodeArtifact
1799
2359
  #
1800
2360
  # @!attribute [rw] namespace
1801
2361
  # The namespace of the package version that contains the returned
1802
- # dependencies. The package version component that specifies its
1803
- # namespace depends on its type. For example:
2362
+ # dependencies. The package component that specifies its namespace
2363
+ # depends on its type. For example:
1804
2364
  #
1805
2365
  # * The namespace of a Maven package version is its `groupId`.
1806
2366
  #
1807
- # * The namespace of an npm package version is its `scope`.
2367
+ # * The namespace of an npm or Swift package version is its `scope`.
2368
+ #
2369
+ # * The namespace of a generic package is its `namespace`.
1808
2370
  #
1809
2371
  # * Python and NuGet package versions do not contain a corresponding
1810
2372
  # component, package versions of those formats do not have a
@@ -1876,14 +2438,26 @@ module Aws::CodeArtifact
1876
2438
  # versions. The package component that specifies its namespace depends
1877
2439
  # on its type. For example:
1878
2440
  #
1879
- # * The namespace of a Maven package is its `groupId`.
2441
+ # <note markdown="1"> The namespace is required when deleting package versions of the
2442
+ # following formats:
1880
2443
  #
1881
- # * The namespace of an npm package is its `scope`.
2444
+ # * Maven
1882
2445
  #
1883
- # * Python and NuGet packages do not contain a corresponding
1884
- # component, packages of those formats do not have a namespace.
2446
+ # * Swift
2447
+ #
2448
+ # * generic
2449
+ #
2450
+ # </note>
2451
+ #
2452
+ # * The namespace of a Maven package version is its `groupId`.
2453
+ #
2454
+ # * The namespace of an npm or Swift package version is its `scope`.
1885
2455
  #
1886
2456
  # * The namespace of a generic package is its `namespace`.
2457
+ #
2458
+ # * Python and NuGet package versions do not contain a corresponding
2459
+ # component, package versions of those formats do not have a
2460
+ # namespace.
1887
2461
  # @return [String]
1888
2462
  #
1889
2463
  # @!attribute [rw] package
@@ -1953,12 +2527,15 @@ module Aws::CodeArtifact
1953
2527
  # versions. The package component that specifies its namespace depends
1954
2528
  # on its type. For example:
1955
2529
  #
1956
- # * The namespace of a Maven package is its `groupId`.
2530
+ # * The namespace of a Maven package version is its `groupId`.
1957
2531
  #
1958
- # * The namespace of an npm package is its `scope`.
2532
+ # * The namespace of an npm or Swift package version is its `scope`.
1959
2533
  #
1960
- # * Python and NuGet packages do not contain a corresponding
1961
- # component, packages of those formats do not have a namespace.
2534
+ # * The namespace of a generic package is its `namespace`.
2535
+ #
2536
+ # * Python and NuGet package versions do not contain a corresponding
2537
+ # component, package versions of those formats do not have a
2538
+ # namespace.
1962
2539
  # @return [String]
1963
2540
  #
1964
2541
  # @!attribute [rw] package
@@ -2018,14 +2595,15 @@ module Aws::CodeArtifact
2018
2595
  #
2019
2596
  # Each package format uses namespace as follows:
2020
2597
  #
2021
- # * The namespace of a Maven package is its `groupId`.
2022
- #
2023
- # * The namespace of an npm package is its `scope`.
2598
+ # * The namespace of a Maven package version is its `groupId`.
2024
2599
  #
2025
- # * Python and NuGet packages do not contain a corresponding
2026
- # component, packages of those formats do not have a namespace.
2600
+ # * The namespace of an npm or Swift package version is its `scope`.
2027
2601
  #
2028
2602
  # * The namespace of a generic package is its `namespace`.
2603
+ #
2604
+ # * Python and NuGet package versions do not contain a corresponding
2605
+ # component, package versions of those formats do not have a
2606
+ # namespace.
2029
2607
  # @return [String]
2030
2608
  #
2031
2609
  # @!attribute [rw] package_prefix
@@ -2212,6 +2790,61 @@ module Aws::CodeArtifact
2212
2790
  include Aws::Structure
2213
2791
  end
2214
2792
 
2793
+ # @!attribute [rw] domain
2794
+ # The name of the domain which contains the package group from which
2795
+ # to list sub package groups.
2796
+ # @return [String]
2797
+ #
2798
+ # @!attribute [rw] domain_owner
2799
+ # The 12-digit account number of the Amazon Web Services account that
2800
+ # owns the domain. It does not include dashes or spaces.
2801
+ # @return [String]
2802
+ #
2803
+ # @!attribute [rw] package_group
2804
+ # The pattern of the package group from which to list sub package
2805
+ # groups.
2806
+ # @return [String]
2807
+ #
2808
+ # @!attribute [rw] max_results
2809
+ # The maximum number of results to return per page.
2810
+ # @return [Integer]
2811
+ #
2812
+ # @!attribute [rw] next_token
2813
+ # The token for the next set of results. Use the value returned in the
2814
+ # previous response in the next request to retrieve the next set of
2815
+ # results.
2816
+ # @return [String]
2817
+ #
2818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListSubPackageGroupsRequest AWS API Documentation
2819
+ #
2820
+ class ListSubPackageGroupsRequest < Struct.new(
2821
+ :domain,
2822
+ :domain_owner,
2823
+ :package_group,
2824
+ :max_results,
2825
+ :next_token)
2826
+ SENSITIVE = []
2827
+ include Aws::Structure
2828
+ end
2829
+
2830
+ # @!attribute [rw] package_groups
2831
+ # A list of sub package groups for the requested package group.
2832
+ # @return [Array<Types::PackageGroupSummary>]
2833
+ #
2834
+ # @!attribute [rw] next_token
2835
+ # If there are additional results, this is the token for the next set
2836
+ # of results.
2837
+ # @return [String]
2838
+ #
2839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListSubPackageGroupsResult AWS API Documentation
2840
+ #
2841
+ class ListSubPackageGroupsResult < Struct.new(
2842
+ :package_groups,
2843
+ :next_token)
2844
+ SENSITIVE = []
2845
+ include Aws::Structure
2846
+ end
2847
+
2215
2848
  # @!attribute [rw] resource_arn
2216
2849
  # The Amazon Resource Name (ARN) of the resource to get tags for.
2217
2850
  # @return [String]
@@ -2244,12 +2877,15 @@ module Aws::CodeArtifact
2244
2877
  # package component that specifies its namespace depends on its type.
2245
2878
  # For example:
2246
2879
  #
2247
- # * The namespace of a Maven package is its `groupId`.
2880
+ # * The namespace of a Maven package version is its `groupId`.
2881
+ #
2882
+ # * The namespace of an npm or Swift package version is its `scope`.
2248
2883
  #
2249
- # * The namespace of an npm package is its `scope`.
2884
+ # * The namespace of a generic package is its `namespace`.
2250
2885
  #
2251
- # * Python and NuGet packages do not contain a corresponding
2252
- # component, packages of those formats do not have a namespace.
2886
+ # * Python and NuGet package versions do not contain a corresponding
2887
+ # component, package versions of those formats do not have a
2888
+ # namespace.
2253
2889
  # @return [String]
2254
2890
  #
2255
2891
  # @!attribute [rw] package
@@ -2304,14 +2940,15 @@ module Aws::CodeArtifact
2304
2940
  # The namespace of the package. The package component that specifies
2305
2941
  # its namespace depends on its type. For example:
2306
2942
  #
2307
- # * The namespace of a Maven package is its `groupId`.
2308
- #
2309
- # * The namespace of an npm package is its `scope`.
2943
+ # * The namespace of a Maven package version is its `groupId`.
2310
2944
  #
2311
- # * Python and NuGet packages do not contain a corresponding
2312
- # component, packages of those formats do not have a namespace.
2945
+ # * The namespace of an npm or Swift package version is its `scope`.
2313
2946
  #
2314
2947
  # * The namespace of a generic package is its `namespace`.
2948
+ #
2949
+ # * Python and NuGet package versions do not contain a corresponding
2950
+ # component, package versions of those formats do not have a
2951
+ # namespace.
2315
2952
  # @return [String]
2316
2953
  #
2317
2954
  # @!attribute [rw] name
@@ -2333,6 +2970,218 @@ module Aws::CodeArtifact
2333
2970
  include Aws::Structure
2334
2971
  end
2335
2972
 
2973
+ # Details about an allowed repository for a package group, including its
2974
+ # name and origin configuration.
2975
+ #
2976
+ # @!attribute [rw] repository_name
2977
+ # The name of the allowed repository.
2978
+ # @return [String]
2979
+ #
2980
+ # @!attribute [rw] origin_restriction_type
2981
+ # The origin configuration restriction type of the allowed repository.
2982
+ # @return [String]
2983
+ #
2984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageGroupAllowedRepository AWS API Documentation
2985
+ #
2986
+ class PackageGroupAllowedRepository < Struct.new(
2987
+ :repository_name,
2988
+ :origin_restriction_type)
2989
+ SENSITIVE = []
2990
+ include Aws::Structure
2991
+ end
2992
+
2993
+ # The description of the package group.
2994
+ #
2995
+ # @!attribute [rw] arn
2996
+ # The ARN of the package group.
2997
+ # @return [String]
2998
+ #
2999
+ # @!attribute [rw] pattern
3000
+ # The pattern of the package group. The pattern determines which
3001
+ # packages are associated with the package group.
3002
+ # @return [String]
3003
+ #
3004
+ # @!attribute [rw] domain_name
3005
+ # The name of the domain that contains the package group.
3006
+ # @return [String]
3007
+ #
3008
+ # @!attribute [rw] domain_owner
3009
+ # The 12-digit account number of the Amazon Web Services account that
3010
+ # owns the domain. It does not include dashes or spaces.
3011
+ # @return [String]
3012
+ #
3013
+ # @!attribute [rw] created_time
3014
+ # A timestamp that represents the date and time the package group was
3015
+ # created.
3016
+ # @return [Time]
3017
+ #
3018
+ # @!attribute [rw] contact_info
3019
+ # The contact information of the package group.
3020
+ # @return [String]
3021
+ #
3022
+ # @!attribute [rw] description
3023
+ # The description of the package group.
3024
+ # @return [String]
3025
+ #
3026
+ # @!attribute [rw] origin_configuration
3027
+ # The package group origin configuration that determines how package
3028
+ # versions can enter repositories.
3029
+ # @return [Types::PackageGroupOriginConfiguration]
3030
+ #
3031
+ # @!attribute [rw] parent
3032
+ # The direct parent package group of the package group.
3033
+ # @return [Types::PackageGroupReference]
3034
+ #
3035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageGroupDescription AWS API Documentation
3036
+ #
3037
+ class PackageGroupDescription < Struct.new(
3038
+ :arn,
3039
+ :pattern,
3040
+ :domain_name,
3041
+ :domain_owner,
3042
+ :created_time,
3043
+ :contact_info,
3044
+ :description,
3045
+ :origin_configuration,
3046
+ :parent)
3047
+ SENSITIVE = []
3048
+ include Aws::Structure
3049
+ end
3050
+
3051
+ # The package group origin configuration that determines how package
3052
+ # versions can enter repositories.
3053
+ #
3054
+ # @!attribute [rw] restrictions
3055
+ # The origin configuration settings that determine how package
3056
+ # versions can enter repositories.
3057
+ # @return [Hash<String,Types::PackageGroupOriginRestriction>]
3058
+ #
3059
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageGroupOriginConfiguration AWS API Documentation
3060
+ #
3061
+ class PackageGroupOriginConfiguration < Struct.new(
3062
+ :restrictions)
3063
+ SENSITIVE = []
3064
+ include Aws::Structure
3065
+ end
3066
+
3067
+ # Contains information about the configured restrictions of the origin
3068
+ # controls of a package group.
3069
+ #
3070
+ # @!attribute [rw] mode
3071
+ # The package group origin restriction setting. If the value of `mode`
3072
+ # is `ALLOW`, `ALLOW_SPECIFIC_REPOSITORIES`, or `BLOCK`, then the
3073
+ # value of `effectiveMode` is the same. Otherwise, when the value is
3074
+ # `INHERIT`, then the value of `effectiveMode` is the value of `mode`
3075
+ # of the first parent group which does not have a value of `INHERIT`.
3076
+ # @return [String]
3077
+ #
3078
+ # @!attribute [rw] effective_mode
3079
+ # The effective package group origin restriction setting. If the value
3080
+ # of `mode` is `ALLOW`, `ALLOW_SPECIFIC_REPOSITORIES`, or `BLOCK`,
3081
+ # then the value of `effectiveMode` is the same. Otherwise, when the
3082
+ # value of `mode` is `INHERIT`, then the value of `effectiveMode` is
3083
+ # the value of `mode` of the first parent group which does not have a
3084
+ # value of `INHERIT`.
3085
+ # @return [String]
3086
+ #
3087
+ # @!attribute [rw] inherited_from
3088
+ # The parent package group that the package group origin restrictions
3089
+ # are inherited from.
3090
+ # @return [Types::PackageGroupReference]
3091
+ #
3092
+ # @!attribute [rw] repositories_count
3093
+ # The number of repositories in the allowed repository list.
3094
+ # @return [Integer]
3095
+ #
3096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageGroupOriginRestriction AWS API Documentation
3097
+ #
3098
+ class PackageGroupOriginRestriction < Struct.new(
3099
+ :mode,
3100
+ :effective_mode,
3101
+ :inherited_from,
3102
+ :repositories_count)
3103
+ SENSITIVE = []
3104
+ include Aws::Structure
3105
+ end
3106
+
3107
+ # Information about the identifiers of a package group.
3108
+ #
3109
+ # @!attribute [rw] arn
3110
+ # The ARN of the package group.
3111
+ # @return [String]
3112
+ #
3113
+ # @!attribute [rw] pattern
3114
+ # The pattern of the package group. The pattern determines which
3115
+ # packages are associated with the package group, and is also the
3116
+ # identifier of the package group.
3117
+ # @return [String]
3118
+ #
3119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageGroupReference AWS API Documentation
3120
+ #
3121
+ class PackageGroupReference < Struct.new(
3122
+ :arn,
3123
+ :pattern)
3124
+ SENSITIVE = []
3125
+ include Aws::Structure
3126
+ end
3127
+
3128
+ # Details about a package group.
3129
+ #
3130
+ # @!attribute [rw] arn
3131
+ # The ARN of the package group.
3132
+ # @return [String]
3133
+ #
3134
+ # @!attribute [rw] pattern
3135
+ # The pattern of the package group. The pattern determines which
3136
+ # packages are associated with the package group.
3137
+ # @return [String]
3138
+ #
3139
+ # @!attribute [rw] domain_name
3140
+ # The domain that contains the package group.
3141
+ # @return [String]
3142
+ #
3143
+ # @!attribute [rw] domain_owner
3144
+ # The 12-digit account number of the Amazon Web Services account that
3145
+ # owns the domain. It does not include dashes or spaces.
3146
+ # @return [String]
3147
+ #
3148
+ # @!attribute [rw] created_time
3149
+ # A timestamp that represents the date and time the repository was
3150
+ # created.
3151
+ # @return [Time]
3152
+ #
3153
+ # @!attribute [rw] contact_info
3154
+ # The contact information of the package group.
3155
+ # @return [String]
3156
+ #
3157
+ # @!attribute [rw] description
3158
+ # The description of the package group.
3159
+ # @return [String]
3160
+ #
3161
+ # @!attribute [rw] origin_configuration
3162
+ # Details about the package origin configuration of a package group.
3163
+ # @return [Types::PackageGroupOriginConfiguration]
3164
+ #
3165
+ # @!attribute [rw] parent
3166
+ # The direct parent package group of the package group.
3167
+ # @return [Types::PackageGroupReference]
3168
+ #
3169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PackageGroupSummary AWS API Documentation
3170
+ #
3171
+ class PackageGroupSummary < Struct.new(
3172
+ :arn,
3173
+ :pattern,
3174
+ :domain_name,
3175
+ :domain_owner,
3176
+ :created_time,
3177
+ :contact_info,
3178
+ :description,
3179
+ :origin_configuration,
3180
+ :parent)
3181
+ SENSITIVE = []
3182
+ include Aws::Structure
3183
+ end
3184
+
2336
3185
  # Details about the package origin configuration of a package.
2337
3186
  #
2338
3187
  # @!attribute [rw] restrictions
@@ -2383,14 +3232,15 @@ module Aws::CodeArtifact
2383
3232
  # The namespace of the package. The package component that specifies
2384
3233
  # its namespace depends on its type. For example:
2385
3234
  #
2386
- # * The namespace of a Maven package is its `groupId`.
2387
- #
2388
- # * The namespace of an npm package is its `scope`.
3235
+ # * The namespace of a Maven package version is its `groupId`.
2389
3236
  #
2390
- # * Python and NuGet packages do not contain a corresponding
2391
- # component, packages of those formats do not have a namespace.
3237
+ # * The namespace of an npm or Swift package version is its `scope`.
2392
3238
  #
2393
3239
  # * The namespace of a generic package is its `namespace`.
3240
+ #
3241
+ # * Python and NuGet package versions do not contain a corresponding
3242
+ # component, package versions of those formats do not have a
3243
+ # namespace.
2394
3244
  # @return [String]
2395
3245
  #
2396
3246
  # @!attribute [rw] package
@@ -2426,18 +3276,18 @@ module Aws::CodeArtifact
2426
3276
  # @return [String]
2427
3277
  #
2428
3278
  # @!attribute [rw] namespace
2429
- # The namespace of the package version. The package version component
2430
- # that specifies its namespace depends on its type. For example:
3279
+ # The namespace of the package version. The package component that
3280
+ # specifies its namespace depends on its type. For example:
2431
3281
  #
2432
3282
  # * The namespace of a Maven package version is its `groupId`.
2433
3283
  #
2434
- # * The namespace of an npm package version is its `scope`.
3284
+ # * The namespace of an npm or Swift package version is its `scope`.
3285
+ #
3286
+ # * The namespace of a generic package is its `namespace`.
2435
3287
  #
2436
3288
  # * Python and NuGet package versions do not contain a corresponding
2437
3289
  # component, package versions of those formats do not have a
2438
3290
  # namespace.
2439
- #
2440
- # * The namespace of a generic package is its `namespace`.
2441
3291
  # @return [String]
2442
3292
  #
2443
3293
  # @!attribute [rw] package_name
@@ -2822,14 +3672,15 @@ module Aws::CodeArtifact
2822
3672
  # The namespace of the package to be updated. The package component
2823
3673
  # that specifies its namespace depends on its type. For example:
2824
3674
  #
2825
- # * The namespace of a Maven package is its `groupId`.
2826
- #
2827
- # * The namespace of an npm package is its `scope`.
3675
+ # * The namespace of a Maven package version is its `groupId`.
2828
3676
  #
2829
- # * Python and NuGet packages do not contain a corresponding
2830
- # component, packages of those formats do not have a namespace.
3677
+ # * The namespace of an npm or Swift package version is its `scope`.
2831
3678
  #
2832
3679
  # * The namespace of a generic package is its `namespace`.
3680
+ #
3681
+ # * Python and NuGet package versions do not contain a corresponding
3682
+ # component, package versions of those formats do not have a
3683
+ # namespace.
2833
3684
  # @return [String]
2834
3685
  #
2835
3686
  # @!attribute [rw] package
@@ -3270,6 +4121,116 @@ module Aws::CodeArtifact
3270
4121
  #
3271
4122
  class UntagResourceResult < Aws::EmptyStructure; end
3272
4123
 
4124
+ # @!attribute [rw] domain
4125
+ # The name of the domain which contains the package group for which to
4126
+ # update the origin configuration.
4127
+ # @return [String]
4128
+ #
4129
+ # @!attribute [rw] domain_owner
4130
+ # The 12-digit account number of the Amazon Web Services account that
4131
+ # owns the domain. It does not include dashes or spaces.
4132
+ # @return [String]
4133
+ #
4134
+ # @!attribute [rw] package_group
4135
+ # The pattern of the package group for which to update the origin
4136
+ # configuration.
4137
+ # @return [String]
4138
+ #
4139
+ # @!attribute [rw] restrictions
4140
+ # The origin configuration settings that determine how package
4141
+ # versions can enter repositories.
4142
+ # @return [Hash<String,String>]
4143
+ #
4144
+ # @!attribute [rw] add_allowed_repositories
4145
+ # The repository name and restrictions to add to the allowed
4146
+ # repository list of the specified package group.
4147
+ # @return [Array<Types::PackageGroupAllowedRepository>]
4148
+ #
4149
+ # @!attribute [rw] remove_allowed_repositories
4150
+ # The repository name and restrictions to remove from the allowed
4151
+ # repository list of the specified package group.
4152
+ # @return [Array<Types::PackageGroupAllowedRepository>]
4153
+ #
4154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageGroupOriginConfigurationRequest AWS API Documentation
4155
+ #
4156
+ class UpdatePackageGroupOriginConfigurationRequest < Struct.new(
4157
+ :domain,
4158
+ :domain_owner,
4159
+ :package_group,
4160
+ :restrictions,
4161
+ :add_allowed_repositories,
4162
+ :remove_allowed_repositories)
4163
+ SENSITIVE = []
4164
+ include Aws::Structure
4165
+ end
4166
+
4167
+ # @!attribute [rw] package_group
4168
+ # The package group and information about it after processing the
4169
+ # request.
4170
+ # @return [Types::PackageGroupDescription]
4171
+ #
4172
+ # @!attribute [rw] allowed_repository_updates
4173
+ # Information about the updated allowed repositories after processing
4174
+ # the request.
4175
+ # @return [Hash<String,Hash<String,Array<String>>>]
4176
+ #
4177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageGroupOriginConfigurationResult AWS API Documentation
4178
+ #
4179
+ class UpdatePackageGroupOriginConfigurationResult < Struct.new(
4180
+ :package_group,
4181
+ :allowed_repository_updates)
4182
+ SENSITIVE = []
4183
+ include Aws::Structure
4184
+ end
4185
+
4186
+ # @!attribute [rw] domain
4187
+ # The name of the domain which contains the package group to be
4188
+ # updated.
4189
+ # @return [String]
4190
+ #
4191
+ # @!attribute [rw] domain_owner
4192
+ # The 12-digit account number of the Amazon Web Services account that
4193
+ # owns the domain. It does not include dashes or spaces.
4194
+ # @return [String]
4195
+ #
4196
+ # @!attribute [rw] package_group
4197
+ # The pattern of the package group to be updated.
4198
+ # @return [String]
4199
+ #
4200
+ # @!attribute [rw] contact_info
4201
+ # Contact information which you want to update the requested package
4202
+ # group with.
4203
+ # @return [String]
4204
+ #
4205
+ # @!attribute [rw] description
4206
+ # The description you want to update the requested package group with.
4207
+ # @return [String]
4208
+ #
4209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageGroupRequest AWS API Documentation
4210
+ #
4211
+ class UpdatePackageGroupRequest < Struct.new(
4212
+ :domain,
4213
+ :domain_owner,
4214
+ :package_group,
4215
+ :contact_info,
4216
+ :description)
4217
+ SENSITIVE = []
4218
+ include Aws::Structure
4219
+ end
4220
+
4221
+ # @!attribute [rw] package_group
4222
+ # The package group and information about it after the request has
4223
+ # been processed.
4224
+ # @return [Types::PackageGroupDescription]
4225
+ #
4226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageGroupResult AWS API Documentation
4227
+ #
4228
+ class UpdatePackageGroupResult < Struct.new(
4229
+ :package_group)
4230
+ SENSITIVE = []
4231
+ include Aws::Structure
4232
+ end
4233
+
3273
4234
  # @!attribute [rw] domain
3274
4235
  # The name of the domain that contains the repository that contains
3275
4236
  # the package versions with a status to be updated.
@@ -3292,18 +4253,18 @@ module Aws::CodeArtifact
3292
4253
  #
3293
4254
  # @!attribute [rw] namespace
3294
4255
  # The namespace of the package version to be updated. The package
3295
- # version component that specifies its namespace depends on its type.
3296
- # For example:
4256
+ # component that specifies its namespace depends on its type. For
4257
+ # example:
3297
4258
  #
3298
4259
  # * The namespace of a Maven package version is its `groupId`.
3299
4260
  #
3300
- # * The namespace of an npm package version is its `scope`.
4261
+ # * The namespace of an npm or Swift package version is its `scope`.
4262
+ #
4263
+ # * The namespace of a generic package is its `namespace`.
3301
4264
  #
3302
4265
  # * Python and NuGet package versions do not contain a corresponding
3303
4266
  # component, package versions of those formats do not have a
3304
4267
  # namespace.
3305
- #
3306
- # * The namespace of a generic package is its `namespace`.
3307
4268
  # @return [String]
3308
4269
  #
3309
4270
  # @!attribute [rw] package