aws-sdk-codeartifact 1.21.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-codeartifact/client.rb +20 -3
- data/lib/aws-sdk-codeartifact/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-codeartifact/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-codeartifact/endpoints.rb +519 -0
- data/lib/aws-sdk-codeartifact/plugins/endpoints.rb +140 -0
- data/lib/aws-sdk-codeartifact/types.rb +0 -459
- data/lib/aws-sdk-codeartifact.rb +5 -1
- metadata +8 -4
@@ -48,16 +48,6 @@ module Aws::CodeArtifact
|
|
48
48
|
include Aws::Structure
|
49
49
|
end
|
50
50
|
|
51
|
-
# @note When making an API call, you may pass AssociateExternalConnectionRequest
|
52
|
-
# data as a hash:
|
53
|
-
#
|
54
|
-
# {
|
55
|
-
# domain: "DomainName", # required
|
56
|
-
# domain_owner: "AccountId",
|
57
|
-
# repository: "RepositoryName", # required
|
58
|
-
# external_connection: "ExternalConnectionName", # required
|
59
|
-
# }
|
60
|
-
#
|
61
51
|
# @!attribute [rw] domain
|
62
52
|
# The name of the domain that contains the repository.
|
63
53
|
# @return [String]
|
@@ -137,25 +127,6 @@ module Aws::CodeArtifact
|
|
137
127
|
include Aws::Structure
|
138
128
|
end
|
139
129
|
|
140
|
-
# @note When making an API call, you may pass CopyPackageVersionsRequest
|
141
|
-
# data as a hash:
|
142
|
-
#
|
143
|
-
# {
|
144
|
-
# domain: "DomainName", # required
|
145
|
-
# domain_owner: "AccountId",
|
146
|
-
# source_repository: "RepositoryName", # required
|
147
|
-
# destination_repository: "RepositoryName", # required
|
148
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
149
|
-
# namespace: "PackageNamespace",
|
150
|
-
# package: "PackageName", # required
|
151
|
-
# versions: ["PackageVersion"],
|
152
|
-
# version_revisions: {
|
153
|
-
# "PackageVersion" => "PackageVersionRevision",
|
154
|
-
# },
|
155
|
-
# allow_overwrite: false,
|
156
|
-
# include_from_upstream: false,
|
157
|
-
# }
|
158
|
-
#
|
159
130
|
# @!attribute [rw] domain
|
160
131
|
# The name of the domain that contains the source and destination
|
161
132
|
# repositories.
|
@@ -288,20 +259,6 @@ module Aws::CodeArtifact
|
|
288
259
|
include Aws::Structure
|
289
260
|
end
|
290
261
|
|
291
|
-
# @note When making an API call, you may pass CreateDomainRequest
|
292
|
-
# data as a hash:
|
293
|
-
#
|
294
|
-
# {
|
295
|
-
# domain: "DomainName", # required
|
296
|
-
# encryption_key: "Arn",
|
297
|
-
# tags: [
|
298
|
-
# {
|
299
|
-
# key: "TagKey", # required
|
300
|
-
# value: "TagValue", # required
|
301
|
-
# },
|
302
|
-
# ],
|
303
|
-
# }
|
304
|
-
#
|
305
262
|
# @!attribute [rw] domain
|
306
263
|
# The name of the domain to create. All domain names in an Amazon Web
|
307
264
|
# Services Region that are in the same Amazon Web Services account
|
@@ -359,27 +316,6 @@ module Aws::CodeArtifact
|
|
359
316
|
include Aws::Structure
|
360
317
|
end
|
361
318
|
|
362
|
-
# @note When making an API call, you may pass CreateRepositoryRequest
|
363
|
-
# data as a hash:
|
364
|
-
#
|
365
|
-
# {
|
366
|
-
# domain: "DomainName", # required
|
367
|
-
# domain_owner: "AccountId",
|
368
|
-
# repository: "RepositoryName", # required
|
369
|
-
# description: "Description",
|
370
|
-
# upstreams: [
|
371
|
-
# {
|
372
|
-
# repository_name: "RepositoryName", # required
|
373
|
-
# },
|
374
|
-
# ],
|
375
|
-
# tags: [
|
376
|
-
# {
|
377
|
-
# key: "TagKey", # required
|
378
|
-
# value: "TagValue", # required
|
379
|
-
# },
|
380
|
-
# ],
|
381
|
-
# }
|
382
|
-
#
|
383
319
|
# @!attribute [rw] domain
|
384
320
|
# The name of the domain that contains the created repository.
|
385
321
|
# @return [String]
|
@@ -439,15 +375,6 @@ module Aws::CodeArtifact
|
|
439
375
|
include Aws::Structure
|
440
376
|
end
|
441
377
|
|
442
|
-
# @note When making an API call, you may pass DeleteDomainPermissionsPolicyRequest
|
443
|
-
# data as a hash:
|
444
|
-
#
|
445
|
-
# {
|
446
|
-
# domain: "DomainName", # required
|
447
|
-
# domain_owner: "AccountId",
|
448
|
-
# policy_revision: "PolicyRevision",
|
449
|
-
# }
|
450
|
-
#
|
451
378
|
# @!attribute [rw] domain
|
452
379
|
# The name of the domain associated with the resource policy to be
|
453
380
|
# deleted.
|
@@ -487,14 +414,6 @@ module Aws::CodeArtifact
|
|
487
414
|
include Aws::Structure
|
488
415
|
end
|
489
416
|
|
490
|
-
# @note When making an API call, you may pass DeleteDomainRequest
|
491
|
-
# data as a hash:
|
492
|
-
#
|
493
|
-
# {
|
494
|
-
# domain: "DomainName", # required
|
495
|
-
# domain_owner: "AccountId",
|
496
|
-
# }
|
497
|
-
#
|
498
417
|
# @!attribute [rw] domain
|
499
418
|
# The name of the domain to delete.
|
500
419
|
# @return [String]
|
@@ -526,20 +445,6 @@ module Aws::CodeArtifact
|
|
526
445
|
include Aws::Structure
|
527
446
|
end
|
528
447
|
|
529
|
-
# @note When making an API call, you may pass DeletePackageVersionsRequest
|
530
|
-
# data as a hash:
|
531
|
-
#
|
532
|
-
# {
|
533
|
-
# domain: "DomainName", # required
|
534
|
-
# domain_owner: "AccountId",
|
535
|
-
# repository: "RepositoryName", # required
|
536
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
537
|
-
# namespace: "PackageNamespace",
|
538
|
-
# package: "PackageName", # required
|
539
|
-
# versions: ["PackageVersion"], # required
|
540
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
541
|
-
# }
|
542
|
-
#
|
543
448
|
# @!attribute [rw] domain
|
544
449
|
# The name of the domain that contains the package to delete.
|
545
450
|
# @return [String]
|
@@ -632,16 +537,6 @@ module Aws::CodeArtifact
|
|
632
537
|
include Aws::Structure
|
633
538
|
end
|
634
539
|
|
635
|
-
# @note When making an API call, you may pass DeleteRepositoryPermissionsPolicyRequest
|
636
|
-
# data as a hash:
|
637
|
-
#
|
638
|
-
# {
|
639
|
-
# domain: "DomainName", # required
|
640
|
-
# domain_owner: "AccountId",
|
641
|
-
# repository: "RepositoryName", # required
|
642
|
-
# policy_revision: "PolicyRevision",
|
643
|
-
# }
|
644
|
-
#
|
645
540
|
# @!attribute [rw] domain
|
646
541
|
# The name of the domain that contains the repository associated with
|
647
542
|
# the resource policy to be deleted.
|
@@ -687,15 +582,6 @@ module Aws::CodeArtifact
|
|
687
582
|
include Aws::Structure
|
688
583
|
end
|
689
584
|
|
690
|
-
# @note When making an API call, you may pass DeleteRepositoryRequest
|
691
|
-
# data as a hash:
|
692
|
-
#
|
693
|
-
# {
|
694
|
-
# domain: "DomainName", # required
|
695
|
-
# domain_owner: "AccountId",
|
696
|
-
# repository: "RepositoryName", # required
|
697
|
-
# }
|
698
|
-
#
|
699
585
|
# @!attribute [rw] domain
|
700
586
|
# The name of the domain that contains the repository to delete.
|
701
587
|
# @return [String]
|
@@ -732,14 +618,6 @@ module Aws::CodeArtifact
|
|
732
618
|
include Aws::Structure
|
733
619
|
end
|
734
620
|
|
735
|
-
# @note When making an API call, you may pass DescribeDomainRequest
|
736
|
-
# data as a hash:
|
737
|
-
#
|
738
|
-
# {
|
739
|
-
# domain: "DomainName", # required
|
740
|
-
# domain_owner: "AccountId",
|
741
|
-
# }
|
742
|
-
#
|
743
621
|
# @!attribute [rw] domain
|
744
622
|
# A string that specifies the name of the requested domain.
|
745
623
|
# @return [String]
|
@@ -772,18 +650,6 @@ module Aws::CodeArtifact
|
|
772
650
|
include Aws::Structure
|
773
651
|
end
|
774
652
|
|
775
|
-
# @note When making an API call, you may pass DescribePackageRequest
|
776
|
-
# data as a hash:
|
777
|
-
#
|
778
|
-
# {
|
779
|
-
# domain: "DomainName", # required
|
780
|
-
# domain_owner: "AccountId",
|
781
|
-
# repository: "RepositoryName", # required
|
782
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
783
|
-
# namespace: "PackageNamespace",
|
784
|
-
# package: "PackageName", # required
|
785
|
-
# }
|
786
|
-
#
|
787
653
|
# @!attribute [rw] domain
|
788
654
|
# The name of the domain that contains the repository that contains
|
789
655
|
# the package.
|
@@ -849,19 +715,6 @@ module Aws::CodeArtifact
|
|
849
715
|
include Aws::Structure
|
850
716
|
end
|
851
717
|
|
852
|
-
# @note When making an API call, you may pass DescribePackageVersionRequest
|
853
|
-
# data as a hash:
|
854
|
-
#
|
855
|
-
# {
|
856
|
-
# domain: "DomainName", # required
|
857
|
-
# domain_owner: "AccountId",
|
858
|
-
# repository: "RepositoryName", # required
|
859
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
860
|
-
# namespace: "PackageNamespace",
|
861
|
-
# package: "PackageName", # required
|
862
|
-
# package_version: "PackageVersion", # required
|
863
|
-
# }
|
864
|
-
#
|
865
718
|
# @!attribute [rw] domain
|
866
719
|
# The name of the domain that contains the repository that contains
|
867
720
|
# the package version.
|
@@ -933,15 +786,6 @@ module Aws::CodeArtifact
|
|
933
786
|
include Aws::Structure
|
934
787
|
end
|
935
788
|
|
936
|
-
# @note When making an API call, you may pass DescribeRepositoryRequest
|
937
|
-
# data as a hash:
|
938
|
-
#
|
939
|
-
# {
|
940
|
-
# domain: "DomainName", # required
|
941
|
-
# domain_owner: "AccountId",
|
942
|
-
# repository: "RepositoryName", # required
|
943
|
-
# }
|
944
|
-
#
|
945
789
|
# @!attribute [rw] domain
|
946
790
|
# The name of the domain that contains the repository to describe.
|
947
791
|
# @return [String]
|
@@ -978,16 +822,6 @@ module Aws::CodeArtifact
|
|
978
822
|
include Aws::Structure
|
979
823
|
end
|
980
824
|
|
981
|
-
# @note When making an API call, you may pass DisassociateExternalConnectionRequest
|
982
|
-
# data as a hash:
|
983
|
-
#
|
984
|
-
# {
|
985
|
-
# domain: "DomainName", # required
|
986
|
-
# domain_owner: "AccountId",
|
987
|
-
# repository: "RepositoryName", # required
|
988
|
-
# external_connection: "ExternalConnectionName", # required
|
989
|
-
# }
|
990
|
-
#
|
991
825
|
# @!attribute [rw] domain
|
992
826
|
# The name of the domain that contains the repository from which to
|
993
827
|
# remove the external repository.
|
@@ -1031,23 +865,6 @@ module Aws::CodeArtifact
|
|
1031
865
|
include Aws::Structure
|
1032
866
|
end
|
1033
867
|
|
1034
|
-
# @note When making an API call, you may pass DisposePackageVersionsRequest
|
1035
|
-
# data as a hash:
|
1036
|
-
#
|
1037
|
-
# {
|
1038
|
-
# domain: "DomainName", # required
|
1039
|
-
# domain_owner: "AccountId",
|
1040
|
-
# repository: "RepositoryName", # required
|
1041
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1042
|
-
# namespace: "PackageNamespace",
|
1043
|
-
# package: "PackageName", # required
|
1044
|
-
# versions: ["PackageVersion"], # required
|
1045
|
-
# version_revisions: {
|
1046
|
-
# "PackageVersion" => "PackageVersionRevision",
|
1047
|
-
# },
|
1048
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
1049
|
-
# }
|
1050
|
-
#
|
1051
868
|
# @!attribute [rw] domain
|
1052
869
|
# The name of the domain that contains the repository you want to
|
1053
870
|
# dispose.
|
@@ -1277,15 +1094,6 @@ module Aws::CodeArtifact
|
|
1277
1094
|
include Aws::Structure
|
1278
1095
|
end
|
1279
1096
|
|
1280
|
-
# @note When making an API call, you may pass GetAuthorizationTokenRequest
|
1281
|
-
# data as a hash:
|
1282
|
-
#
|
1283
|
-
# {
|
1284
|
-
# domain: "DomainName", # required
|
1285
|
-
# domain_owner: "AccountId",
|
1286
|
-
# duration_seconds: 1,
|
1287
|
-
# }
|
1288
|
-
#
|
1289
1097
|
# @!attribute [rw] domain
|
1290
1098
|
# The name of the domain that is in scope for the generated
|
1291
1099
|
# authorization token.
|
@@ -1332,14 +1140,6 @@ module Aws::CodeArtifact
|
|
1332
1140
|
include Aws::Structure
|
1333
1141
|
end
|
1334
1142
|
|
1335
|
-
# @note When making an API call, you may pass GetDomainPermissionsPolicyRequest
|
1336
|
-
# data as a hash:
|
1337
|
-
#
|
1338
|
-
# {
|
1339
|
-
# domain: "DomainName", # required
|
1340
|
-
# domain_owner: "AccountId",
|
1341
|
-
# }
|
1342
|
-
#
|
1343
1143
|
# @!attribute [rw] domain
|
1344
1144
|
# The name of the domain to which the resource policy is attached.
|
1345
1145
|
# @return [String]
|
@@ -1370,21 +1170,6 @@ module Aws::CodeArtifact
|
|
1370
1170
|
include Aws::Structure
|
1371
1171
|
end
|
1372
1172
|
|
1373
|
-
# @note When making an API call, you may pass GetPackageVersionAssetRequest
|
1374
|
-
# data as a hash:
|
1375
|
-
#
|
1376
|
-
# {
|
1377
|
-
# domain: "DomainName", # required
|
1378
|
-
# domain_owner: "AccountId",
|
1379
|
-
# repository: "RepositoryName", # required
|
1380
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1381
|
-
# namespace: "PackageNamespace",
|
1382
|
-
# package: "PackageName", # required
|
1383
|
-
# package_version: "PackageVersion", # required
|
1384
|
-
# asset: "AssetName", # required
|
1385
|
-
# package_version_revision: "PackageVersionRevision",
|
1386
|
-
# }
|
1387
|
-
#
|
1388
1173
|
# @!attribute [rw] domain
|
1389
1174
|
# The name of the domain that contains the repository that contains
|
1390
1175
|
# the package version with the requested asset.
|
@@ -1480,19 +1265,6 @@ module Aws::CodeArtifact
|
|
1480
1265
|
include Aws::Structure
|
1481
1266
|
end
|
1482
1267
|
|
1483
|
-
# @note When making an API call, you may pass GetPackageVersionReadmeRequest
|
1484
|
-
# data as a hash:
|
1485
|
-
#
|
1486
|
-
# {
|
1487
|
-
# domain: "DomainName", # required
|
1488
|
-
# domain_owner: "AccountId",
|
1489
|
-
# repository: "RepositoryName", # required
|
1490
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1491
|
-
# namespace: "PackageNamespace",
|
1492
|
-
# package: "PackageName", # required
|
1493
|
-
# package_version: "PackageVersion", # required
|
1494
|
-
# }
|
1495
|
-
#
|
1496
1268
|
# @!attribute [rw] domain
|
1497
1269
|
# The name of the domain that contains the repository that contains
|
1498
1270
|
# the package version with the requested readme file.
|
@@ -1597,16 +1369,6 @@ module Aws::CodeArtifact
|
|
1597
1369
|
include Aws::Structure
|
1598
1370
|
end
|
1599
1371
|
|
1600
|
-
# @note When making an API call, you may pass GetRepositoryEndpointRequest
|
1601
|
-
# data as a hash:
|
1602
|
-
#
|
1603
|
-
# {
|
1604
|
-
# domain: "DomainName", # required
|
1605
|
-
# domain_owner: "AccountId",
|
1606
|
-
# repository: "RepositoryName", # required
|
1607
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1608
|
-
# }
|
1609
|
-
#
|
1610
1372
|
# @!attribute [rw] domain
|
1611
1373
|
# The name of the domain that contains the repository.
|
1612
1374
|
# @return [String]
|
@@ -1649,15 +1411,6 @@ module Aws::CodeArtifact
|
|
1649
1411
|
include Aws::Structure
|
1650
1412
|
end
|
1651
1413
|
|
1652
|
-
# @note When making an API call, you may pass GetRepositoryPermissionsPolicyRequest
|
1653
|
-
# data as a hash:
|
1654
|
-
#
|
1655
|
-
# {
|
1656
|
-
# domain: "DomainName", # required
|
1657
|
-
# domain_owner: "AccountId",
|
1658
|
-
# repository: "RepositoryName", # required
|
1659
|
-
# }
|
1660
|
-
#
|
1661
1414
|
# @!attribute [rw] domain
|
1662
1415
|
# The name of the domain containing the repository whose associated
|
1663
1416
|
# resource policy is to be retrieved.
|
@@ -1728,14 +1481,6 @@ module Aws::CodeArtifact
|
|
1728
1481
|
include Aws::Structure
|
1729
1482
|
end
|
1730
1483
|
|
1731
|
-
# @note When making an API call, you may pass ListDomainsRequest
|
1732
|
-
# data as a hash:
|
1733
|
-
#
|
1734
|
-
# {
|
1735
|
-
# max_results: 1,
|
1736
|
-
# next_token: "PaginationToken",
|
1737
|
-
# }
|
1738
|
-
#
|
1739
1484
|
# @!attribute [rw] max_results
|
1740
1485
|
# The maximum number of results to return per page.
|
1741
1486
|
# @return [Integer]
|
@@ -1778,21 +1523,6 @@ module Aws::CodeArtifact
|
|
1778
1523
|
include Aws::Structure
|
1779
1524
|
end
|
1780
1525
|
|
1781
|
-
# @note When making an API call, you may pass ListPackageVersionAssetsRequest
|
1782
|
-
# data as a hash:
|
1783
|
-
#
|
1784
|
-
# {
|
1785
|
-
# domain: "DomainName", # required
|
1786
|
-
# domain_owner: "AccountId",
|
1787
|
-
# repository: "RepositoryName", # required
|
1788
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1789
|
-
# namespace: "PackageNamespace",
|
1790
|
-
# package: "PackageName", # required
|
1791
|
-
# package_version: "PackageVersion", # required
|
1792
|
-
# max_results: 1,
|
1793
|
-
# next_token: "PaginationToken",
|
1794
|
-
# }
|
1795
|
-
#
|
1796
1526
|
# @!attribute [rw] domain
|
1797
1527
|
# The name of the domain that contains the repository associated with
|
1798
1528
|
# the package version assets.
|
@@ -1921,20 +1651,6 @@ module Aws::CodeArtifact
|
|
1921
1651
|
include Aws::Structure
|
1922
1652
|
end
|
1923
1653
|
|
1924
|
-
# @note When making an API call, you may pass ListPackageVersionDependenciesRequest
|
1925
|
-
# data as a hash:
|
1926
|
-
#
|
1927
|
-
# {
|
1928
|
-
# domain: "DomainName", # required
|
1929
|
-
# domain_owner: "AccountId",
|
1930
|
-
# repository: "RepositoryName", # required
|
1931
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
1932
|
-
# namespace: "PackageNamespace",
|
1933
|
-
# package: "PackageName", # required
|
1934
|
-
# package_version: "PackageVersion", # required
|
1935
|
-
# next_token: "PaginationToken",
|
1936
|
-
# }
|
1937
|
-
#
|
1938
1654
|
# @!attribute [rw] domain
|
1939
1655
|
# The name of the domain that contains the repository that contains
|
1940
1656
|
# the requested package version dependencies.
|
@@ -2057,23 +1773,6 @@ module Aws::CodeArtifact
|
|
2057
1773
|
include Aws::Structure
|
2058
1774
|
end
|
2059
1775
|
|
2060
|
-
# @note When making an API call, you may pass ListPackageVersionsRequest
|
2061
|
-
# data as a hash:
|
2062
|
-
#
|
2063
|
-
# {
|
2064
|
-
# domain: "DomainName", # required
|
2065
|
-
# domain_owner: "AccountId",
|
2066
|
-
# repository: "RepositoryName", # required
|
2067
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
2068
|
-
# namespace: "PackageNamespace",
|
2069
|
-
# package: "PackageName", # required
|
2070
|
-
# status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
2071
|
-
# sort_by: "PUBLISHED_TIME", # accepts PUBLISHED_TIME
|
2072
|
-
# max_results: 1,
|
2073
|
-
# next_token: "PaginationToken",
|
2074
|
-
# origin_type: "INTERNAL", # accepts INTERNAL, EXTERNAL, UNKNOWN
|
2075
|
-
# }
|
2076
|
-
#
|
2077
1776
|
# @!attribute [rw] domain
|
2078
1777
|
# The name of the domain that contains the repository that contains
|
2079
1778
|
# the requested package versions.
|
@@ -2211,22 +1910,6 @@ module Aws::CodeArtifact
|
|
2211
1910
|
include Aws::Structure
|
2212
1911
|
end
|
2213
1912
|
|
2214
|
-
# @note When making an API call, you may pass ListPackagesRequest
|
2215
|
-
# data as a hash:
|
2216
|
-
#
|
2217
|
-
# {
|
2218
|
-
# domain: "DomainName", # required
|
2219
|
-
# domain_owner: "AccountId",
|
2220
|
-
# repository: "RepositoryName", # required
|
2221
|
-
# format: "npm", # accepts npm, pypi, maven, nuget
|
2222
|
-
# namespace: "PackageNamespace",
|
2223
|
-
# package_prefix: "PackageName",
|
2224
|
-
# max_results: 1,
|
2225
|
-
# next_token: "PaginationToken",
|
2226
|
-
# publish: "ALLOW", # accepts ALLOW, BLOCK
|
2227
|
-
# upstream: "ALLOW", # accepts ALLOW, BLOCK
|
2228
|
-
# }
|
2229
|
-
#
|
2230
1913
|
# @!attribute [rw] domain
|
2231
1914
|
# The name of the domain that contains the repository that contains
|
2232
1915
|
# the requested packages.
|
@@ -2335,18 +2018,6 @@ module Aws::CodeArtifact
|
|
2335
2018
|
include Aws::Structure
|
2336
2019
|
end
|
2337
2020
|
|
2338
|
-
# @note When making an API call, you may pass ListRepositoriesInDomainRequest
|
2339
|
-
# data as a hash:
|
2340
|
-
#
|
2341
|
-
# {
|
2342
|
-
# domain: "DomainName", # required
|
2343
|
-
# domain_owner: "AccountId",
|
2344
|
-
# administrator_account: "AccountId",
|
2345
|
-
# repository_prefix: "RepositoryName",
|
2346
|
-
# max_results: 1,
|
2347
|
-
# next_token: "PaginationToken",
|
2348
|
-
# }
|
2349
|
-
#
|
2350
2021
|
# @!attribute [rw] domain
|
2351
2022
|
# The name of the domain that contains the returned list of
|
2352
2023
|
# repositories.
|
@@ -2408,15 +2079,6 @@ module Aws::CodeArtifact
|
|
2408
2079
|
include Aws::Structure
|
2409
2080
|
end
|
2410
2081
|
|
2411
|
-
# @note When making an API call, you may pass ListRepositoriesRequest
|
2412
|
-
# data as a hash:
|
2413
|
-
#
|
2414
|
-
# {
|
2415
|
-
# repository_prefix: "RepositoryName",
|
2416
|
-
# max_results: 1,
|
2417
|
-
# next_token: "PaginationToken",
|
2418
|
-
# }
|
2419
|
-
#
|
2420
2082
|
# @!attribute [rw] repository_prefix
|
2421
2083
|
# A prefix used to filter returned repositories. Only repositories
|
2422
2084
|
# with names that start with `repositoryPrefix` are returned.
|
@@ -2464,13 +2126,6 @@ module Aws::CodeArtifact
|
|
2464
2126
|
include Aws::Structure
|
2465
2127
|
end
|
2466
2128
|
|
2467
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2468
|
-
# data as a hash:
|
2469
|
-
#
|
2470
|
-
# {
|
2471
|
-
# resource_arn: "Arn", # required
|
2472
|
-
# }
|
2473
|
-
#
|
2474
2129
|
# @!attribute [rw] resource_arn
|
2475
2130
|
# The Amazon Resource Name (ARN) of the resource to get tags for.
|
2476
2131
|
# @return [String]
|
@@ -2596,14 +2251,6 @@ module Aws::CodeArtifact
|
|
2596
2251
|
# origin restrictions determine how new versions of a package can be
|
2597
2252
|
# added to a specific repository.
|
2598
2253
|
#
|
2599
|
-
# @note When making an API call, you may pass PackageOriginRestrictions
|
2600
|
-
# data as a hash:
|
2601
|
-
#
|
2602
|
-
# {
|
2603
|
-
# publish: "ALLOW", # required, accepts ALLOW, BLOCK
|
2604
|
-
# upstream: "ALLOW", # required, accepts ALLOW, BLOCK
|
2605
|
-
# }
|
2606
|
-
#
|
2607
2254
|
# @!attribute [rw] publish
|
2608
2255
|
# The package origin configuration that determines if new versions of
|
2609
2256
|
# the package can be published directly to the repository.
|
@@ -2870,16 +2517,6 @@ module Aws::CodeArtifact
|
|
2870
2517
|
include Aws::Structure
|
2871
2518
|
end
|
2872
2519
|
|
2873
|
-
# @note When making an API call, you may pass PutDomainPermissionsPolicyRequest
|
2874
|
-
# data as a hash:
|
2875
|
-
#
|
2876
|
-
# {
|
2877
|
-
# domain: "DomainName", # required
|
2878
|
-
# domain_owner: "AccountId",
|
2879
|
-
# policy_revision: "PolicyRevision",
|
2880
|
-
# policy_document: "PolicyDocument", # required
|
2881
|
-
# }
|
2882
|
-
#
|
2883
2520
|
# @!attribute [rw] domain
|
2884
2521
|
# The name of the domain on which to set the resource policy.
|
2885
2522
|
# @return [String]
|
@@ -2923,22 +2560,6 @@ module Aws::CodeArtifact
|
|
2923
2560
|
include Aws::Structure
|
2924
2561
|
end
|
2925
2562
|
|
2926
|
-
# @note When making an API call, you may pass PutPackageOriginConfigurationRequest
|
2927
|
-
# data as a hash:
|
2928
|
-
#
|
2929
|
-
# {
|
2930
|
-
# domain: "DomainName", # required
|
2931
|
-
# domain_owner: "AccountId",
|
2932
|
-
# repository: "RepositoryName", # required
|
2933
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
2934
|
-
# namespace: "PackageNamespace",
|
2935
|
-
# package: "PackageName", # required
|
2936
|
-
# restrictions: { # required
|
2937
|
-
# publish: "ALLOW", # required, accepts ALLOW, BLOCK
|
2938
|
-
# upstream: "ALLOW", # required, accepts ALLOW, BLOCK
|
2939
|
-
# },
|
2940
|
-
# }
|
2941
|
-
#
|
2942
2563
|
# @!attribute [rw] domain
|
2943
2564
|
# The name of the domain that contains the repository that contains
|
2944
2565
|
# the package.
|
@@ -3023,17 +2644,6 @@ module Aws::CodeArtifact
|
|
3023
2644
|
include Aws::Structure
|
3024
2645
|
end
|
3025
2646
|
|
3026
|
-
# @note When making an API call, you may pass PutRepositoryPermissionsPolicyRequest
|
3027
|
-
# data as a hash:
|
3028
|
-
#
|
3029
|
-
# {
|
3030
|
-
# domain: "DomainName", # required
|
3031
|
-
# domain_owner: "AccountId",
|
3032
|
-
# repository: "RepositoryName", # required
|
3033
|
-
# policy_revision: "PolicyRevision",
|
3034
|
-
# policy_document: "PolicyDocument", # required
|
3035
|
-
# }
|
3036
|
-
#
|
3037
2647
|
# @!attribute [rw] domain
|
3038
2648
|
# The name of the domain containing the repository to set the resource
|
3039
2649
|
# policy on.
|
@@ -3326,14 +2936,6 @@ module Aws::CodeArtifact
|
|
3326
2936
|
# A tag is a key-value pair that can be used to manage, search for, or
|
3327
2937
|
# filter resources in CodeArtifact.
|
3328
2938
|
#
|
3329
|
-
# @note When making an API call, you may pass Tag
|
3330
|
-
# data as a hash:
|
3331
|
-
#
|
3332
|
-
# {
|
3333
|
-
# key: "TagKey", # required
|
3334
|
-
# value: "TagValue", # required
|
3335
|
-
# }
|
3336
|
-
#
|
3337
2939
|
# @!attribute [rw] key
|
3338
2940
|
# The tag key.
|
3339
2941
|
# @return [String]
|
@@ -3351,19 +2953,6 @@ module Aws::CodeArtifact
|
|
3351
2953
|
include Aws::Structure
|
3352
2954
|
end
|
3353
2955
|
|
3354
|
-
# @note When making an API call, you may pass TagResourceRequest
|
3355
|
-
# data as a hash:
|
3356
|
-
#
|
3357
|
-
# {
|
3358
|
-
# resource_arn: "Arn", # required
|
3359
|
-
# tags: [ # required
|
3360
|
-
# {
|
3361
|
-
# key: "TagKey", # required
|
3362
|
-
# value: "TagValue", # required
|
3363
|
-
# },
|
3364
|
-
# ],
|
3365
|
-
# }
|
3366
|
-
#
|
3367
2956
|
# @!attribute [rw] resource_arn
|
3368
2957
|
# The Amazon Resource Name (ARN) of the resource that you want to add
|
3369
2958
|
# or update tags for.
|
@@ -3405,14 +2994,6 @@ module Aws::CodeArtifact
|
|
3405
2994
|
include Aws::Structure
|
3406
2995
|
end
|
3407
2996
|
|
3408
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
3409
|
-
# data as a hash:
|
3410
|
-
#
|
3411
|
-
# {
|
3412
|
-
# resource_arn: "Arn", # required
|
3413
|
-
# tag_keys: ["TagKey"], # required
|
3414
|
-
# }
|
3415
|
-
#
|
3416
2997
|
# @!attribute [rw] resource_arn
|
3417
2998
|
# The Amazon Resource Name (ARN) of the resource that you want to
|
3418
2999
|
# remove tags from.
|
@@ -3435,24 +3016,6 @@ module Aws::CodeArtifact
|
|
3435
3016
|
#
|
3436
3017
|
class UntagResourceResult < Aws::EmptyStructure; end
|
3437
3018
|
|
3438
|
-
# @note When making an API call, you may pass UpdatePackageVersionsStatusRequest
|
3439
|
-
# data as a hash:
|
3440
|
-
#
|
3441
|
-
# {
|
3442
|
-
# domain: "DomainName", # required
|
3443
|
-
# domain_owner: "AccountId",
|
3444
|
-
# repository: "RepositoryName", # required
|
3445
|
-
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
3446
|
-
# namespace: "PackageNamespace",
|
3447
|
-
# package: "PackageName", # required
|
3448
|
-
# versions: ["PackageVersion"], # required
|
3449
|
-
# version_revisions: {
|
3450
|
-
# "PackageVersion" => "PackageVersionRevision",
|
3451
|
-
# },
|
3452
|
-
# expected_status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
3453
|
-
# target_status: "Published", # required, accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
3454
|
-
# }
|
3455
|
-
#
|
3456
3019
|
# @!attribute [rw] domain
|
3457
3020
|
# The name of the domain that contains the repository that contains
|
3458
3021
|
# the package versions with a status to be updated.
|
@@ -3549,21 +3112,6 @@ module Aws::CodeArtifact
|
|
3549
3112
|
include Aws::Structure
|
3550
3113
|
end
|
3551
3114
|
|
3552
|
-
# @note When making an API call, you may pass UpdateRepositoryRequest
|
3553
|
-
# data as a hash:
|
3554
|
-
#
|
3555
|
-
# {
|
3556
|
-
# domain: "DomainName", # required
|
3557
|
-
# domain_owner: "AccountId",
|
3558
|
-
# repository: "RepositoryName", # required
|
3559
|
-
# description: "Description",
|
3560
|
-
# upstreams: [
|
3561
|
-
# {
|
3562
|
-
# repository_name: "RepositoryName", # required
|
3563
|
-
# },
|
3564
|
-
# ],
|
3565
|
-
# }
|
3566
|
-
#
|
3567
3115
|
# @!attribute [rw] domain
|
3568
3116
|
# The name of the domain associated with the repository to update.
|
3569
3117
|
# @return [String]
|
@@ -3626,13 +3174,6 @@ module Aws::CodeArtifact
|
|
3626
3174
|
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateRepository.html
|
3627
3175
|
# [2]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_UpdateRepository.html
|
3628
3176
|
#
|
3629
|
-
# @note When making an API call, you may pass UpstreamRepository
|
3630
|
-
# data as a hash:
|
3631
|
-
#
|
3632
|
-
# {
|
3633
|
-
# repository_name: "RepositoryName", # required
|
3634
|
-
# }
|
3635
|
-
#
|
3636
3177
|
# @!attribute [rw] repository_name
|
3637
3178
|
# The name of an upstream repository.
|
3638
3179
|
# @return [String]
|