aws-sdk-codeartifact 1.4.0 → 1.9.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 +58 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-codeartifact.rb +2 -2
- data/lib/aws-sdk-codeartifact/client.rb +193 -49
- data/lib/aws-sdk-codeartifact/client_api.rb +79 -2
- data/lib/aws-sdk-codeartifact/errors.rb +1 -1
- data/lib/aws-sdk-codeartifact/resource.rb +1 -1
- data/lib/aws-sdk-codeartifact/types.rb +194 -30
- metadata +10 -7
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -99,6 +99,8 @@ module Aws::CodeArtifact
|
|
|
99
99
|
ListRepositoriesMaxResults = Shapes::IntegerShape.new(name: 'ListRepositoriesMaxResults')
|
|
100
100
|
ListRepositoriesRequest = Shapes::StructureShape.new(name: 'ListRepositoriesRequest')
|
|
101
101
|
ListRepositoriesResult = Shapes::StructureShape.new(name: 'ListRepositoriesResult')
|
|
102
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
103
|
+
ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
|
|
102
104
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
103
105
|
LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
|
|
104
106
|
PackageDependency = Shapes::StructureShape.new(name: 'PackageDependency')
|
|
@@ -142,8 +144,17 @@ module Aws::CodeArtifact
|
|
|
142
144
|
String255 = Shapes::StringShape.new(name: 'String255')
|
|
143
145
|
SuccessfulPackageVersionInfo = Shapes::StructureShape.new(name: 'SuccessfulPackageVersionInfo')
|
|
144
146
|
SuccessfulPackageVersionInfoMap = Shapes::MapShape.new(name: 'SuccessfulPackageVersionInfoMap')
|
|
147
|
+
Tag = Shapes::StructureShape.new(name: 'Tag')
|
|
148
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
149
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
150
|
+
TagList = Shapes::ListShape.new(name: 'TagList')
|
|
151
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
|
152
|
+
TagResourceResult = Shapes::StructureShape.new(name: 'TagResourceResult')
|
|
153
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
145
154
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
146
155
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
156
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
|
157
|
+
UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
|
|
147
158
|
UpdatePackageVersionsStatusRequest = Shapes::StructureShape.new(name: 'UpdatePackageVersionsStatusRequest')
|
|
148
159
|
UpdatePackageVersionsStatusResult = Shapes::StructureShape.new(name: 'UpdatePackageVersionsStatusResult')
|
|
149
160
|
UpdateRepositoryRequest = Shapes::StructureShape.new(name: 'UpdateRepositoryRequest')
|
|
@@ -201,6 +212,7 @@ module Aws::CodeArtifact
|
|
|
201
212
|
|
|
202
213
|
CreateDomainRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
|
|
203
214
|
CreateDomainRequest.add_member(:encryption_key, Shapes::ShapeRef.new(shape: Arn, location_name: "encryptionKey"))
|
|
215
|
+
CreateDomainRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
204
216
|
CreateDomainRequest.struct_class = Types::CreateDomainRequest
|
|
205
217
|
|
|
206
218
|
CreateDomainResult.add_member(:domain, Shapes::ShapeRef.new(shape: DomainDescription, location_name: "domain"))
|
|
@@ -211,6 +223,7 @@ module Aws::CodeArtifact
|
|
|
211
223
|
CreateRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
|
|
212
224
|
CreateRepositoryRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
|
213
225
|
CreateRepositoryRequest.add_member(:upstreams, Shapes::ShapeRef.new(shape: UpstreamRepositoryList, location_name: "upstreams"))
|
|
226
|
+
CreateRepositoryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
214
227
|
CreateRepositoryRequest.struct_class = Types::CreateRepositoryRequest
|
|
215
228
|
|
|
216
229
|
CreateRepositoryResult.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repository"))
|
|
@@ -321,6 +334,7 @@ module Aws::CodeArtifact
|
|
|
321
334
|
DomainDescription.add_member(:encryption_key, Shapes::ShapeRef.new(shape: Arn, location_name: "encryptionKey"))
|
|
322
335
|
DomainDescription.add_member(:repository_count, Shapes::ShapeRef.new(shape: Integer, location_name: "repositoryCount"))
|
|
323
336
|
DomainDescription.add_member(:asset_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "assetSizeBytes"))
|
|
337
|
+
DomainDescription.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "s3BucketArn"))
|
|
324
338
|
DomainDescription.struct_class = Types::DomainDescription
|
|
325
339
|
|
|
326
340
|
DomainSummary.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, location_name: "name"))
|
|
@@ -513,6 +527,12 @@ module Aws::CodeArtifact
|
|
|
513
527
|
ListRepositoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
|
514
528
|
ListRepositoriesResult.struct_class = Types::ListRepositoriesResult
|
|
515
529
|
|
|
530
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "resourceArn"))
|
|
531
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
|
532
|
+
|
|
533
|
+
ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
|
534
|
+
ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
|
|
535
|
+
|
|
516
536
|
PackageDependency.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
|
|
517
537
|
PackageDependency.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
|
|
518
538
|
PackageDependency.add_member(:dependency_type, Shapes::ShapeRef.new(shape: String, location_name: "dependencyType"))
|
|
@@ -629,10 +649,30 @@ module Aws::CodeArtifact
|
|
|
629
649
|
SuccessfulPackageVersionInfoMap.key = Shapes::ShapeRef.new(shape: PackageVersion)
|
|
630
650
|
SuccessfulPackageVersionInfoMap.value = Shapes::ShapeRef.new(shape: SuccessfulPackageVersionInfo)
|
|
631
651
|
|
|
652
|
+
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
|
|
653
|
+
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
|
|
654
|
+
Tag.struct_class = Types::Tag
|
|
655
|
+
|
|
656
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
|
657
|
+
|
|
658
|
+
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
|
659
|
+
|
|
660
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "resourceArn"))
|
|
661
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
|
|
662
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
|
663
|
+
|
|
664
|
+
TagResourceResult.struct_class = Types::TagResourceResult
|
|
665
|
+
|
|
632
666
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
633
667
|
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
|
|
634
668
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
635
669
|
|
|
670
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "resourceArn"))
|
|
671
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
|
672
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
|
673
|
+
|
|
674
|
+
UntagResourceResult.struct_class = Types::UntagResourceResult
|
|
675
|
+
|
|
636
676
|
UpdatePackageVersionsStatusRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
|
|
637
677
|
UpdatePackageVersionsStatusRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
|
|
638
678
|
UpdatePackageVersionsStatusRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
|
|
@@ -760,7 +800,6 @@ module Aws::CodeArtifact
|
|
|
760
800
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
761
801
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
762
802
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
763
|
-
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
764
803
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
765
804
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
766
805
|
end)
|
|
@@ -927,6 +966,7 @@ module Aws::CodeArtifact
|
|
|
927
966
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
928
967
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
929
968
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
969
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
930
970
|
end)
|
|
931
971
|
|
|
932
972
|
api.add_operation(:get_package_version_readme, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1093,6 +1133,18 @@ module Aws::CodeArtifact
|
|
|
1093
1133
|
)
|
|
1094
1134
|
end)
|
|
1095
1135
|
|
|
1136
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
1137
|
+
o.name = "ListTagsForResource"
|
|
1138
|
+
o.http_method = "POST"
|
|
1139
|
+
o.http_request_uri = "/v1/tags"
|
|
1140
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
|
1141
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResult)
|
|
1142
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1143
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1144
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
1145
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1146
|
+
end)
|
|
1147
|
+
|
|
1096
1148
|
api.add_operation(:put_domain_permissions_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
1097
1149
|
o.name = "PutDomainPermissionsPolicy"
|
|
1098
1150
|
o.http_method = "PUT"
|
|
@@ -1123,6 +1175,31 @@ module Aws::CodeArtifact
|
|
|
1123
1175
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1124
1176
|
end)
|
|
1125
1177
|
|
|
1178
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
1179
|
+
o.name = "TagResource"
|
|
1180
|
+
o.http_method = "POST"
|
|
1181
|
+
o.http_request_uri = "/v1/tag"
|
|
1182
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
|
1183
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResult)
|
|
1184
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1185
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1186
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1187
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
1188
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1189
|
+
end)
|
|
1190
|
+
|
|
1191
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
|
1192
|
+
o.name = "UntagResource"
|
|
1193
|
+
o.http_method = "POST"
|
|
1194
|
+
o.http_request_uri = "/v1/untag"
|
|
1195
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
|
1196
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResult)
|
|
1197
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1198
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1199
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
1200
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1201
|
+
end)
|
|
1202
|
+
|
|
1126
1203
|
api.add_operation(:update_package_versions_status, Seahorse::Model::Operation.new.tap do |o|
|
|
1127
1204
|
o.name = "UpdatePackageVersionsStatus"
|
|
1128
1205
|
o.http_method = "POST"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
|
4
4
|
#
|
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
@@ -145,7 +145,7 @@ module Aws::CodeArtifact
|
|
|
145
145
|
# domain_owner: "AccountId",
|
|
146
146
|
# source_repository: "RepositoryName", # required
|
|
147
147
|
# destination_repository: "RepositoryName", # required
|
|
148
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
148
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
149
149
|
# namespace: "PackageNamespace",
|
|
150
150
|
# package: "PackageName", # required
|
|
151
151
|
# versions: ["PackageVersion"],
|
|
@@ -299,6 +299,12 @@ module Aws::CodeArtifact
|
|
|
299
299
|
# {
|
|
300
300
|
# domain: "DomainName", # required
|
|
301
301
|
# encryption_key: "Arn",
|
|
302
|
+
# tags: [
|
|
303
|
+
# {
|
|
304
|
+
# key: "TagKey", # required
|
|
305
|
+
# value: "TagValue", # required
|
|
306
|
+
# },
|
|
307
|
+
# ],
|
|
302
308
|
# }
|
|
303
309
|
#
|
|
304
310
|
# @!attribute [rw] domain
|
|
@@ -330,11 +336,16 @@ module Aws::CodeArtifact
|
|
|
330
336
|
# [3]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
|
|
331
337
|
# @return [String]
|
|
332
338
|
#
|
|
339
|
+
# @!attribute [rw] tags
|
|
340
|
+
# One or more tag key-value pairs for the domain.
|
|
341
|
+
# @return [Array<Types::Tag>]
|
|
342
|
+
#
|
|
333
343
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomainRequest AWS API Documentation
|
|
334
344
|
#
|
|
335
345
|
class CreateDomainRequest < Struct.new(
|
|
336
346
|
:domain,
|
|
337
|
-
:encryption_key
|
|
347
|
+
:encryption_key,
|
|
348
|
+
:tags)
|
|
338
349
|
SENSITIVE = []
|
|
339
350
|
include Aws::Structure
|
|
340
351
|
end
|
|
@@ -365,10 +376,16 @@ module Aws::CodeArtifact
|
|
|
365
376
|
# repository_name: "RepositoryName", # required
|
|
366
377
|
# },
|
|
367
378
|
# ],
|
|
379
|
+
# tags: [
|
|
380
|
+
# {
|
|
381
|
+
# key: "TagKey", # required
|
|
382
|
+
# value: "TagValue", # required
|
|
383
|
+
# },
|
|
384
|
+
# ],
|
|
368
385
|
# }
|
|
369
386
|
#
|
|
370
387
|
# @!attribute [rw] domain
|
|
371
|
-
# The domain that contains the created repository.
|
|
388
|
+
# The name of the domain that contains the created repository.
|
|
372
389
|
# @return [String]
|
|
373
390
|
#
|
|
374
391
|
# @!attribute [rw] domain_owner
|
|
@@ -396,6 +413,10 @@ module Aws::CodeArtifact
|
|
|
396
413
|
# [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html
|
|
397
414
|
# @return [Array<Types::UpstreamRepository>]
|
|
398
415
|
#
|
|
416
|
+
# @!attribute [rw] tags
|
|
417
|
+
# One or more tag key-value pairs for the repository.
|
|
418
|
+
# @return [Array<Types::Tag>]
|
|
419
|
+
#
|
|
399
420
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepositoryRequest AWS API Documentation
|
|
400
421
|
#
|
|
401
422
|
class CreateRepositoryRequest < Struct.new(
|
|
@@ -403,7 +424,8 @@ module Aws::CodeArtifact
|
|
|
403
424
|
:domain_owner,
|
|
404
425
|
:repository,
|
|
405
426
|
:description,
|
|
406
|
-
:upstreams
|
|
427
|
+
:upstreams,
|
|
428
|
+
:tags)
|
|
407
429
|
SENSITIVE = []
|
|
408
430
|
include Aws::Structure
|
|
409
431
|
end
|
|
@@ -515,7 +537,7 @@ module Aws::CodeArtifact
|
|
|
515
537
|
# domain: "DomainName", # required
|
|
516
538
|
# domain_owner: "AccountId",
|
|
517
539
|
# repository: "RepositoryName", # required
|
|
518
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
540
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
519
541
|
# namespace: "PackageNamespace",
|
|
520
542
|
# package: "PackageName", # required
|
|
521
543
|
# versions: ["PackageVersion"], # required
|
|
@@ -774,7 +796,7 @@ module Aws::CodeArtifact
|
|
|
774
796
|
# domain: "DomainName", # required
|
|
775
797
|
# domain_owner: "AccountId",
|
|
776
798
|
# repository: "RepositoryName", # required
|
|
777
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
799
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
778
800
|
# namespace: "PackageNamespace",
|
|
779
801
|
# package: "PackageName", # required
|
|
780
802
|
# package_version: "PackageVersion", # required
|
|
@@ -840,8 +862,12 @@ module Aws::CodeArtifact
|
|
|
840
862
|
end
|
|
841
863
|
|
|
842
864
|
# @!attribute [rw] package_version
|
|
843
|
-
# A
|
|
865
|
+
# A [PackageVersionDescription][1] object that contains information
|
|
844
866
|
# about the requested package version.
|
|
867
|
+
#
|
|
868
|
+
#
|
|
869
|
+
#
|
|
870
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html
|
|
845
871
|
# @return [Types::PackageVersionDescription]
|
|
846
872
|
#
|
|
847
873
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageVersionResult AWS API Documentation
|
|
@@ -957,7 +983,7 @@ module Aws::CodeArtifact
|
|
|
957
983
|
# domain: "DomainName", # required
|
|
958
984
|
# domain_owner: "AccountId",
|
|
959
985
|
# repository: "RepositoryName", # required
|
|
960
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
986
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
961
987
|
# namespace: "PackageNamespace",
|
|
962
988
|
# package: "PackageName", # required
|
|
963
989
|
# versions: ["PackageVersion"], # required
|
|
@@ -1121,6 +1147,11 @@ module Aws::CodeArtifact
|
|
|
1121
1147
|
# The total size of all assets in the domain.
|
|
1122
1148
|
# @return [Integer]
|
|
1123
1149
|
#
|
|
1150
|
+
# @!attribute [rw] s3_bucket_arn
|
|
1151
|
+
# The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used
|
|
1152
|
+
# to store package assets in the domain.
|
|
1153
|
+
# @return [String]
|
|
1154
|
+
#
|
|
1124
1155
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DomainDescription AWS API Documentation
|
|
1125
1156
|
#
|
|
1126
1157
|
class DomainDescription < Struct.new(
|
|
@@ -1131,7 +1162,8 @@ module Aws::CodeArtifact
|
|
|
1131
1162
|
:created_time,
|
|
1132
1163
|
:encryption_key,
|
|
1133
1164
|
:repository_count,
|
|
1134
|
-
:asset_size_bytes
|
|
1165
|
+
:asset_size_bytes,
|
|
1166
|
+
:s3_bucket_arn)
|
|
1135
1167
|
SENSITIVE = []
|
|
1136
1168
|
include Aws::Structure
|
|
1137
1169
|
end
|
|
@@ -1208,7 +1240,10 @@ module Aws::CodeArtifact
|
|
|
1208
1240
|
#
|
|
1209
1241
|
# @!attribute [rw] duration_seconds
|
|
1210
1242
|
# The time, in seconds, that the generated authorization token is
|
|
1211
|
-
# valid.
|
|
1243
|
+
# valid. Valid values are `0` and any number between `900` (15
|
|
1244
|
+
# minutes) and `43200` (12 hours). A value of `0` will set the
|
|
1245
|
+
# expiration of the authorization token to the same expiration of the
|
|
1246
|
+
# user's role's temporary credentials.
|
|
1212
1247
|
# @return [Integer]
|
|
1213
1248
|
#
|
|
1214
1249
|
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAuthorizationTokenRequest AWS API Documentation
|
|
@@ -1284,7 +1319,7 @@ module Aws::CodeArtifact
|
|
|
1284
1319
|
# domain: "DomainName", # required
|
|
1285
1320
|
# domain_owner: "AccountId",
|
|
1286
1321
|
# repository: "RepositoryName", # required
|
|
1287
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1322
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1288
1323
|
# namespace: "PackageNamespace",
|
|
1289
1324
|
# package: "PackageName", # required
|
|
1290
1325
|
# package_version: "PackageVersion", # required
|
|
@@ -1293,8 +1328,8 @@ module Aws::CodeArtifact
|
|
|
1293
1328
|
# }
|
|
1294
1329
|
#
|
|
1295
1330
|
# @!attribute [rw] domain
|
|
1296
|
-
# The domain that contains the repository that contains
|
|
1297
|
-
# version with the requested asset.
|
|
1331
|
+
# The name of the domain that contains the repository that contains
|
|
1332
|
+
# the package version with the requested asset.
|
|
1298
1333
|
# @return [String]
|
|
1299
1334
|
#
|
|
1300
1335
|
# @!attribute [rw] domain_owner
|
|
@@ -1398,7 +1433,7 @@ module Aws::CodeArtifact
|
|
|
1398
1433
|
# domain: "DomainName", # required
|
|
1399
1434
|
# domain_owner: "AccountId",
|
|
1400
1435
|
# repository: "RepositoryName", # required
|
|
1401
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1436
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1402
1437
|
# namespace: "PackageNamespace",
|
|
1403
1438
|
# package: "PackageName", # required
|
|
1404
1439
|
# package_version: "PackageVersion", # required
|
|
@@ -1524,7 +1559,7 @@ module Aws::CodeArtifact
|
|
|
1524
1559
|
# domain: "DomainName", # required
|
|
1525
1560
|
# domain_owner: "AccountId",
|
|
1526
1561
|
# repository: "RepositoryName", # required
|
|
1527
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1562
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1528
1563
|
# }
|
|
1529
1564
|
#
|
|
1530
1565
|
# @!attribute [rw] domain
|
|
@@ -1681,7 +1716,11 @@ module Aws::CodeArtifact
|
|
|
1681
1716
|
end
|
|
1682
1717
|
|
|
1683
1718
|
# @!attribute [rw] domains
|
|
1684
|
-
# The returned list of
|
|
1719
|
+
# The returned list of [DomainSummary][1] objects.
|
|
1720
|
+
#
|
|
1721
|
+
#
|
|
1722
|
+
#
|
|
1723
|
+
# [1]: https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_DomainSummary.html
|
|
1685
1724
|
# @return [Array<Types::DomainSummary>]
|
|
1686
1725
|
#
|
|
1687
1726
|
# @!attribute [rw] next_token
|
|
@@ -1706,7 +1745,7 @@ module Aws::CodeArtifact
|
|
|
1706
1745
|
# domain: "DomainName", # required
|
|
1707
1746
|
# domain_owner: "AccountId",
|
|
1708
1747
|
# repository: "RepositoryName", # required
|
|
1709
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1748
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1710
1749
|
# namespace: "PackageNamespace",
|
|
1711
1750
|
# package: "PackageName", # required
|
|
1712
1751
|
# package_version: "PackageVersion", # required
|
|
@@ -1852,7 +1891,7 @@ module Aws::CodeArtifact
|
|
|
1852
1891
|
# domain: "DomainName", # required
|
|
1853
1892
|
# domain_owner: "AccountId",
|
|
1854
1893
|
# repository: "RepositoryName", # required
|
|
1855
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
1894
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
1856
1895
|
# namespace: "PackageNamespace",
|
|
1857
1896
|
# package: "PackageName", # required
|
|
1858
1897
|
# package_version: "PackageVersion", # required
|
|
@@ -1860,8 +1899,8 @@ module Aws::CodeArtifact
|
|
|
1860
1899
|
# }
|
|
1861
1900
|
#
|
|
1862
1901
|
# @!attribute [rw] domain
|
|
1863
|
-
# The domain that contains the repository that contains
|
|
1864
|
-
# package version dependencies.
|
|
1902
|
+
# The name of the domain that contains the repository that contains
|
|
1903
|
+
# the requested package version dependencies.
|
|
1865
1904
|
# @return [String]
|
|
1866
1905
|
#
|
|
1867
1906
|
# @!attribute [rw] domain_owner
|
|
@@ -1998,7 +2037,7 @@ module Aws::CodeArtifact
|
|
|
1998
2037
|
# domain: "DomainName", # required
|
|
1999
2038
|
# domain_owner: "AccountId",
|
|
2000
2039
|
# repository: "RepositoryName", # required
|
|
2001
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
2040
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
2002
2041
|
# namespace: "PackageNamespace",
|
|
2003
2042
|
# package: "PackageName", # required
|
|
2004
2043
|
# status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
|
|
@@ -2166,7 +2205,7 @@ module Aws::CodeArtifact
|
|
|
2166
2205
|
# domain: "DomainName", # required
|
|
2167
2206
|
# domain_owner: "AccountId",
|
|
2168
2207
|
# repository: "RepositoryName", # required
|
|
2169
|
-
# format: "npm", # accepts npm, pypi, maven
|
|
2208
|
+
# format: "npm", # accepts npm, pypi, maven, nuget
|
|
2170
2209
|
# namespace: "PackageNamespace",
|
|
2171
2210
|
# package_prefix: "PackageName",
|
|
2172
2211
|
# max_results: 1,
|
|
@@ -2174,8 +2213,8 @@ module Aws::CodeArtifact
|
|
|
2174
2213
|
# }
|
|
2175
2214
|
#
|
|
2176
2215
|
# @!attribute [rw] domain
|
|
2177
|
-
# The domain that contains the repository that contains
|
|
2178
|
-
# list of packages.
|
|
2216
|
+
# The name of the domain that contains the repository that contains
|
|
2217
|
+
# the requested list of packages.
|
|
2179
2218
|
# @return [String]
|
|
2180
2219
|
#
|
|
2181
2220
|
# @!attribute [rw] domain_owner
|
|
@@ -2211,8 +2250,8 @@ module Aws::CodeArtifact
|
|
|
2211
2250
|
# @return [String]
|
|
2212
2251
|
#
|
|
2213
2252
|
# @!attribute [rw] package_prefix
|
|
2214
|
-
# A prefix used to filter returned
|
|
2215
|
-
#
|
|
2253
|
+
# A prefix used to filter returned packages. Only packages with names
|
|
2254
|
+
# that start with `packagePrefix` are returned.
|
|
2216
2255
|
# @return [String]
|
|
2217
2256
|
#
|
|
2218
2257
|
# @!attribute [rw] max_results
|
|
@@ -2391,6 +2430,38 @@ module Aws::CodeArtifact
|
|
|
2391
2430
|
include Aws::Structure
|
|
2392
2431
|
end
|
|
2393
2432
|
|
|
2433
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
|
2434
|
+
# data as a hash:
|
|
2435
|
+
#
|
|
2436
|
+
# {
|
|
2437
|
+
# resource_arn: "Arn", # required
|
|
2438
|
+
# }
|
|
2439
|
+
#
|
|
2440
|
+
# @!attribute [rw] resource_arn
|
|
2441
|
+
# The Amazon Resource Name (ARN) of the resource to get tags for.
|
|
2442
|
+
# @return [String]
|
|
2443
|
+
#
|
|
2444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResourceRequest AWS API Documentation
|
|
2445
|
+
#
|
|
2446
|
+
class ListTagsForResourceRequest < Struct.new(
|
|
2447
|
+
:resource_arn)
|
|
2448
|
+
SENSITIVE = []
|
|
2449
|
+
include Aws::Structure
|
|
2450
|
+
end
|
|
2451
|
+
|
|
2452
|
+
# @!attribute [rw] tags
|
|
2453
|
+
# A list of tag key and value pairs associated with the specified
|
|
2454
|
+
# resource.
|
|
2455
|
+
# @return [Array<Types::Tag>]
|
|
2456
|
+
#
|
|
2457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResourceResult AWS API Documentation
|
|
2458
|
+
#
|
|
2459
|
+
class ListTagsForResourceResult < Struct.new(
|
|
2460
|
+
:tags)
|
|
2461
|
+
SENSITIVE = []
|
|
2462
|
+
include Aws::Structure
|
|
2463
|
+
end
|
|
2464
|
+
|
|
2394
2465
|
# Details about a package dependency.
|
|
2395
2466
|
#
|
|
2396
2467
|
# @!attribute [rw] namespace
|
|
@@ -3011,6 +3082,69 @@ module Aws::CodeArtifact
|
|
|
3011
3082
|
include Aws::Structure
|
|
3012
3083
|
end
|
|
3013
3084
|
|
|
3085
|
+
# A tag is a key-value pair that can be used to manage, search for, or
|
|
3086
|
+
# filter resources in AWS CodeArtifact.
|
|
3087
|
+
#
|
|
3088
|
+
# @note When making an API call, you may pass Tag
|
|
3089
|
+
# data as a hash:
|
|
3090
|
+
#
|
|
3091
|
+
# {
|
|
3092
|
+
# key: "TagKey", # required
|
|
3093
|
+
# value: "TagValue", # required
|
|
3094
|
+
# }
|
|
3095
|
+
#
|
|
3096
|
+
# @!attribute [rw] key
|
|
3097
|
+
# The tag key.
|
|
3098
|
+
# @return [String]
|
|
3099
|
+
#
|
|
3100
|
+
# @!attribute [rw] value
|
|
3101
|
+
# The tag value.
|
|
3102
|
+
# @return [String]
|
|
3103
|
+
#
|
|
3104
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/Tag AWS API Documentation
|
|
3105
|
+
#
|
|
3106
|
+
class Tag < Struct.new(
|
|
3107
|
+
:key,
|
|
3108
|
+
:value)
|
|
3109
|
+
SENSITIVE = []
|
|
3110
|
+
include Aws::Structure
|
|
3111
|
+
end
|
|
3112
|
+
|
|
3113
|
+
# @note When making an API call, you may pass TagResourceRequest
|
|
3114
|
+
# data as a hash:
|
|
3115
|
+
#
|
|
3116
|
+
# {
|
|
3117
|
+
# resource_arn: "Arn", # required
|
|
3118
|
+
# tags: [ # required
|
|
3119
|
+
# {
|
|
3120
|
+
# key: "TagKey", # required
|
|
3121
|
+
# value: "TagValue", # required
|
|
3122
|
+
# },
|
|
3123
|
+
# ],
|
|
3124
|
+
# }
|
|
3125
|
+
#
|
|
3126
|
+
# @!attribute [rw] resource_arn
|
|
3127
|
+
# The Amazon Resource Name (ARN) of the resource that you want to add
|
|
3128
|
+
# or update tags for.
|
|
3129
|
+
# @return [String]
|
|
3130
|
+
#
|
|
3131
|
+
# @!attribute [rw] tags
|
|
3132
|
+
# The tags you want to modify or add to the resource.
|
|
3133
|
+
# @return [Array<Types::Tag>]
|
|
3134
|
+
#
|
|
3135
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResourceRequest AWS API Documentation
|
|
3136
|
+
#
|
|
3137
|
+
class TagResourceRequest < Struct.new(
|
|
3138
|
+
:resource_arn,
|
|
3139
|
+
:tags)
|
|
3140
|
+
SENSITIVE = []
|
|
3141
|
+
include Aws::Structure
|
|
3142
|
+
end
|
|
3143
|
+
|
|
3144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResourceResult AWS API Documentation
|
|
3145
|
+
#
|
|
3146
|
+
class TagResourceResult < Aws::EmptyStructure; end
|
|
3147
|
+
|
|
3014
3148
|
# The operation did not succeed because too many requests are sent to
|
|
3015
3149
|
# the service.
|
|
3016
3150
|
#
|
|
@@ -3030,6 +3164,36 @@ module Aws::CodeArtifact
|
|
|
3030
3164
|
include Aws::Structure
|
|
3031
3165
|
end
|
|
3032
3166
|
|
|
3167
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
|
3168
|
+
# data as a hash:
|
|
3169
|
+
#
|
|
3170
|
+
# {
|
|
3171
|
+
# resource_arn: "Arn", # required
|
|
3172
|
+
# tag_keys: ["TagKey"], # required
|
|
3173
|
+
# }
|
|
3174
|
+
#
|
|
3175
|
+
# @!attribute [rw] resource_arn
|
|
3176
|
+
# The Amazon Resource Name (ARN) of the resource that you want to
|
|
3177
|
+
# remove tags from.
|
|
3178
|
+
# @return [String]
|
|
3179
|
+
#
|
|
3180
|
+
# @!attribute [rw] tag_keys
|
|
3181
|
+
# The tag key for each tag that you want to remove from the resource.
|
|
3182
|
+
# @return [Array<String>]
|
|
3183
|
+
#
|
|
3184
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResourceRequest AWS API Documentation
|
|
3185
|
+
#
|
|
3186
|
+
class UntagResourceRequest < Struct.new(
|
|
3187
|
+
:resource_arn,
|
|
3188
|
+
:tag_keys)
|
|
3189
|
+
SENSITIVE = []
|
|
3190
|
+
include Aws::Structure
|
|
3191
|
+
end
|
|
3192
|
+
|
|
3193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResourceResult AWS API Documentation
|
|
3194
|
+
#
|
|
3195
|
+
class UntagResourceResult < Aws::EmptyStructure; end
|
|
3196
|
+
|
|
3033
3197
|
# @note When making an API call, you may pass UpdatePackageVersionsStatusRequest
|
|
3034
3198
|
# data as a hash:
|
|
3035
3199
|
#
|
|
@@ -3037,7 +3201,7 @@ module Aws::CodeArtifact
|
|
|
3037
3201
|
# domain: "DomainName", # required
|
|
3038
3202
|
# domain_owner: "AccountId",
|
|
3039
3203
|
# repository: "RepositoryName", # required
|
|
3040
|
-
# format: "npm", # required, accepts npm, pypi, maven
|
|
3204
|
+
# format: "npm", # required, accepts npm, pypi, maven, nuget
|
|
3041
3205
|
# namespace: "PackageNamespace",
|
|
3042
3206
|
# package: "PackageName", # required
|
|
3043
3207
|
# versions: ["PackageVersion"], # required
|
|
@@ -3049,8 +3213,8 @@ module Aws::CodeArtifact
|
|
|
3049
3213
|
# }
|
|
3050
3214
|
#
|
|
3051
3215
|
# @!attribute [rw] domain
|
|
3052
|
-
# The domain that contains the repository that contains
|
|
3053
|
-
# versions with a status to be updated.
|
|
3216
|
+
# The name of the domain that contains the repository that contains
|
|
3217
|
+
# the package versions with a status to be updated.
|
|
3054
3218
|
# @return [String]
|
|
3055
3219
|
#
|
|
3056
3220
|
# @!attribute [rw] domain_owner
|