aws-sdk-codeartifact 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-codeartifact/client.rb +1 -1
- data/lib/aws-sdk-codeartifact/endpoint_provider.rb +35 -96
- data/lib/aws-sdk-codeartifact/types.rb +0 -459
- data/lib/aws-sdk-codeartifact.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74db9511dd83f3caab45bf95f79d0d6cdd3246fbdaa74159832baed182c4085e
|
4
|
+
data.tar.gz: 2d5b028aefa7864a3c43d5d98d97f0d2f1701cb698c8082096d8bc63bfe7abbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a366fd8f427b81f04f9ea367917e12ed628787f97f27b94cd376fa191fd987bcb49ee00524f49394a0f7f26610b6a4177472a32150eef419f818f79dd08bd0d
|
7
|
+
data.tar.gz: 465b8fedd422696205f383bb2254c786ae7b1e7b16a26e477608f9f93ae64b386356aceeb428f2293b05789db6a6619fa40189f9888870fdfc8564131f35bb21
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.23.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.22.0 (2022-10-25)
|
5
12
|
------------------
|
6
13
|
|
@@ -120,4 +127,4 @@ Unreleased Changes
|
|
120
127
|
------------------
|
121
128
|
|
122
129
|
* Issue - This version has been yanked. (#2327).
|
123
|
-
* Feature - Initial release of `aws-sdk-codeartifact`.
|
130
|
+
* Feature - Initial release of `aws-sdk-codeartifact`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.23.0
|
@@ -2836,7 +2836,7 @@ module Aws::CodeArtifact
|
|
2836
2836
|
params: params,
|
2837
2837
|
config: config)
|
2838
2838
|
context[:gem_name] = 'aws-sdk-codeartifact'
|
2839
|
-
context[:gem_version] = '1.
|
2839
|
+
context[:gem_version] = '1.23.0'
|
2840
2840
|
Seahorse::Client::Request.new(handlers, context)
|
2841
2841
|
end
|
2842
2842
|
|
@@ -9,104 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::CodeArtifact
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codeartifact-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codeartifact-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codeartifact.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://codeartifact.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
49
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24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==
|
109
|
-
|
110
|
-
JSON
|
111
50
|
end
|
112
51
|
end
|
@@ -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]
|
data/lib/aws-sdk-codeartifact.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-codeartifact
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|