aws-sdk-codeartifact 1.1.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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"
@@ -88,6 +88,8 @@ module Aws::CodeArtifact
88
88
  #
89
89
  # * `public:maven-commonsware` - for the CommonsWare Android
90
90
  # repository.
91
+ #
92
+ # * `public:nuget-org` - for the NuGet Gallery.
91
93
  # @return [String]
92
94
  #
93
95
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnectionRequest AWS API Documentation
@@ -145,7 +147,7 @@ module Aws::CodeArtifact
145
147
  # domain_owner: "AccountId",
146
148
  # source_repository: "RepositoryName", # required
147
149
  # destination_repository: "RepositoryName", # required
148
- # format: "npm", # required, accepts npm, pypi, maven
150
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
149
151
  # namespace: "PackageNamespace",
150
152
  # package: "PackageName", # required
151
153
  # versions: ["PackageVersion"],
@@ -185,6 +187,8 @@ module Aws::CodeArtifact
185
187
  #
186
188
  # * `maven`\: A Maven package that contains compiled code in a
187
189
  # distributable format, such as a JAR file.
190
+ #
191
+ # * `nuget`\: A NuGet package.
188
192
  # @return [String]
189
193
  #
190
194
  # @!attribute [rw] namespace
@@ -197,6 +201,9 @@ module Aws::CodeArtifact
197
201
  #
198
202
  # * A Python package does not contain a corresponding component, so
199
203
  # Python packages do not have a namespace.
204
+ #
205
+ # * A NuGet package does not contain a corresponding component, so
206
+ # NuGet packages do not have a namespace.
200
207
  # @return [String]
201
208
  #
202
209
  # @!attribute [rw] package
@@ -299,6 +306,12 @@ module Aws::CodeArtifact
299
306
  # {
300
307
  # domain: "DomainName", # required
301
308
  # encryption_key: "Arn",
309
+ # tags: [
310
+ # {
311
+ # key: "TagKey", # required
312
+ # value: "TagValue", # required
313
+ # },
314
+ # ],
302
315
  # }
303
316
  #
304
317
  # @!attribute [rw] domain
@@ -330,11 +343,16 @@ module Aws::CodeArtifact
330
343
  # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
331
344
  # @return [String]
332
345
  #
346
+ # @!attribute [rw] tags
347
+ # One or more tag key-value pairs for the domain.
348
+ # @return [Array<Types::Tag>]
349
+ #
333
350
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomainRequest AWS API Documentation
334
351
  #
335
352
  class CreateDomainRequest < Struct.new(
336
353
  :domain,
337
- :encryption_key)
354
+ :encryption_key,
355
+ :tags)
338
356
  SENSITIVE = []
339
357
  include Aws::Structure
340
358
  end
@@ -365,6 +383,12 @@ module Aws::CodeArtifact
365
383
  # repository_name: "RepositoryName", # required
366
384
  # },
367
385
  # ],
386
+ # tags: [
387
+ # {
388
+ # key: "TagKey", # required
389
+ # value: "TagValue", # required
390
+ # },
391
+ # ],
368
392
  # }
369
393
  #
370
394
  # @!attribute [rw] domain
@@ -396,6 +420,10 @@ module Aws::CodeArtifact
396
420
  # [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html
397
421
  # @return [Array<Types::UpstreamRepository>]
398
422
  #
423
+ # @!attribute [rw] tags
424
+ # One or more tag key-value pairs for the repository.
425
+ # @return [Array<Types::Tag>]
426
+ #
399
427
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepositoryRequest AWS API Documentation
400
428
  #
401
429
  class CreateRepositoryRequest < Struct.new(
@@ -403,7 +431,8 @@ module Aws::CodeArtifact
403
431
  :domain_owner,
404
432
  :repository,
405
433
  :description,
406
- :upstreams)
434
+ :upstreams,
435
+ :tags)
407
436
  SENSITIVE = []
408
437
  include Aws::Structure
409
438
  end
@@ -515,7 +544,7 @@ module Aws::CodeArtifact
515
544
  # domain: "DomainName", # required
516
545
  # domain_owner: "AccountId",
517
546
  # repository: "RepositoryName", # required
518
- # format: "npm", # required, accepts npm, pypi, maven
547
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
519
548
  # namespace: "PackageNamespace",
520
549
  # package: "PackageName", # required
521
550
  # versions: ["PackageVersion"], # required
@@ -544,6 +573,8 @@ module Aws::CodeArtifact
544
573
  # * `pypi`
545
574
  #
546
575
  # * `maven`
576
+ #
577
+ # * `nuget`
547
578
  # @return [String]
548
579
  #
549
580
  # @!attribute [rw] namespace
@@ -556,6 +587,9 @@ module Aws::CodeArtifact
556
587
  #
557
588
  # * A Python package does not contain a corresponding component, so
558
589
  # Python packages do not have a namespace.
590
+ #
591
+ # * A NuGet package does not contain a corresponding component, so
592
+ # NuGet packages do not have a namespace.
559
593
  # @return [String]
560
594
  #
561
595
  # @!attribute [rw] package
@@ -774,7 +808,7 @@ module Aws::CodeArtifact
774
808
  # domain: "DomainName", # required
775
809
  # domain_owner: "AccountId",
776
810
  # repository: "RepositoryName", # required
777
- # format: "npm", # required, accepts npm, pypi, maven
811
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
778
812
  # namespace: "PackageNamespace",
779
813
  # package: "PackageName", # required
780
814
  # package_version: "PackageVersion", # required
@@ -803,6 +837,8 @@ module Aws::CodeArtifact
803
837
  # * `pypi`
804
838
  #
805
839
  # * `maven`
840
+ #
841
+ # * `nuget`
806
842
  # @return [String]
807
843
  #
808
844
  # @!attribute [rw] namespace
@@ -815,6 +851,9 @@ module Aws::CodeArtifact
815
851
  #
816
852
  # * A Python package does not contain a corresponding component, so
817
853
  # Python packages do not have a namespace.
854
+ #
855
+ # * A NuGet package does not contain a corresponding component, so
856
+ # NuGet packages do not have a namespace.
818
857
  # @return [String]
819
858
  #
820
859
  # @!attribute [rw] package
@@ -957,7 +996,7 @@ module Aws::CodeArtifact
957
996
  # domain: "DomainName", # required
958
997
  # domain_owner: "AccountId",
959
998
  # repository: "RepositoryName", # required
960
- # format: "npm", # required, accepts npm, pypi, maven
999
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
961
1000
  # namespace: "PackageNamespace",
962
1001
  # package: "PackageName", # required
963
1002
  # versions: ["PackageVersion"], # required
@@ -991,6 +1030,8 @@ module Aws::CodeArtifact
991
1030
  # * `pypi`
992
1031
  #
993
1032
  # * `maven`
1033
+ #
1034
+ # * `nuget`
994
1035
  # @return [String]
995
1036
  #
996
1037
  # @!attribute [rw] namespace
@@ -1003,6 +1044,9 @@ module Aws::CodeArtifact
1003
1044
  #
1004
1045
  # * A Python package does not contain a corresponding component, so
1005
1046
  # Python packages do not have a namespace.
1047
+ #
1048
+ # * A NuGet package does not contain a corresponding component, so
1049
+ # NuGet packages do not have a namespace.
1006
1050
  # @return [String]
1007
1051
  #
1008
1052
  # @!attribute [rw] package
@@ -1121,6 +1165,11 @@ module Aws::CodeArtifact
1121
1165
  # The total size of all assets in the domain.
1122
1166
  # @return [Integer]
1123
1167
  #
1168
+ # @!attribute [rw] s3_bucket_arn
1169
+ # The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used
1170
+ # to store package assets in the domain.
1171
+ # @return [String]
1172
+ #
1124
1173
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DomainDescription AWS API Documentation
1125
1174
  #
1126
1175
  class DomainDescription < Struct.new(
@@ -1131,7 +1180,8 @@ module Aws::CodeArtifact
1131
1180
  :created_time,
1132
1181
  :encryption_key,
1133
1182
  :repository_count,
1134
- :asset_size_bytes)
1183
+ :asset_size_bytes,
1184
+ :s3_bucket_arn)
1135
1185
  SENSITIVE = []
1136
1186
  include Aws::Structure
1137
1187
  end
@@ -1208,7 +1258,10 @@ module Aws::CodeArtifact
1208
1258
  #
1209
1259
  # @!attribute [rw] duration_seconds
1210
1260
  # The time, in seconds, that the generated authorization token is
1211
- # valid.
1261
+ # valid. Valid values are `0` and any number between `900` (15
1262
+ # minutes) and `43200` (12 hours). A value of `0` will set the
1263
+ # expiration of the authorization token to the same expiration of the
1264
+ # user's role's temporary credentials.
1212
1265
  # @return [Integer]
1213
1266
  #
1214
1267
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAuthorizationTokenRequest AWS API Documentation
@@ -1284,7 +1337,7 @@ module Aws::CodeArtifact
1284
1337
  # domain: "DomainName", # required
1285
1338
  # domain_owner: "AccountId",
1286
1339
  # repository: "RepositoryName", # required
1287
- # format: "npm", # required, accepts npm, pypi, maven
1340
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1288
1341
  # namespace: "PackageNamespace",
1289
1342
  # package: "PackageName", # required
1290
1343
  # package_version: "PackageVersion", # required
@@ -1316,6 +1369,8 @@ module Aws::CodeArtifact
1316
1369
  # * `pypi`
1317
1370
  #
1318
1371
  # * `maven`
1372
+ #
1373
+ # * `nuget`
1319
1374
  # @return [String]
1320
1375
  #
1321
1376
  # @!attribute [rw] namespace
@@ -1328,6 +1383,9 @@ module Aws::CodeArtifact
1328
1383
  #
1329
1384
  # * A Python package does not contain a corresponding component, so
1330
1385
  # Python packages do not have a namespace.
1386
+ #
1387
+ # * A NuGet package does not contain a corresponding component, so
1388
+ # NuGet packages do not have a namespace.
1331
1389
  # @return [String]
1332
1390
  #
1333
1391
  # @!attribute [rw] package
@@ -1398,7 +1456,7 @@ module Aws::CodeArtifact
1398
1456
  # domain: "DomainName", # required
1399
1457
  # domain_owner: "AccountId",
1400
1458
  # repository: "RepositoryName", # required
1401
- # format: "npm", # required, accepts npm, pypi, maven
1459
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1402
1460
  # namespace: "PackageNamespace",
1403
1461
  # package: "PackageName", # required
1404
1462
  # package_version: "PackageVersion", # required
@@ -1428,6 +1486,8 @@ module Aws::CodeArtifact
1428
1486
  # * `pypi`
1429
1487
  #
1430
1488
  # * `maven`
1489
+ #
1490
+ # * `nuget`
1431
1491
  # @return [String]
1432
1492
  #
1433
1493
  # @!attribute [rw] namespace
@@ -1440,6 +1500,9 @@ module Aws::CodeArtifact
1440
1500
  #
1441
1501
  # * A Python package does not contain a corresponding component, so
1442
1502
  # Python packages do not have a namespace.
1503
+ #
1504
+ # * A NuGet package does not contain a corresponding component, so
1505
+ # NuGet packages do not have a namespace.
1443
1506
  # @return [String]
1444
1507
  #
1445
1508
  # @!attribute [rw] package
@@ -1474,6 +1537,8 @@ module Aws::CodeArtifact
1474
1537
  # * `pypi`
1475
1538
  #
1476
1539
  # * `maven`
1540
+ #
1541
+ # * `nuget`
1477
1542
  # @return [String]
1478
1543
  #
1479
1544
  # @!attribute [rw] namespace
@@ -1486,6 +1551,9 @@ module Aws::CodeArtifact
1486
1551
  #
1487
1552
  # * A Python package does not contain a corresponding component, so
1488
1553
  # Python packages do not have a namespace.
1554
+ #
1555
+ # * A NuGet package does not contain a corresponding component, so
1556
+ # NuGet packages do not have a namespace.
1489
1557
  # @return [String]
1490
1558
  #
1491
1559
  # @!attribute [rw] package
@@ -1524,7 +1592,7 @@ module Aws::CodeArtifact
1524
1592
  # domain: "DomainName", # required
1525
1593
  # domain_owner: "AccountId",
1526
1594
  # repository: "RepositoryName", # required
1527
- # format: "npm", # required, accepts npm, pypi, maven
1595
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1528
1596
  # }
1529
1597
  #
1530
1598
  # @!attribute [rw] domain
@@ -1549,6 +1617,8 @@ module Aws::CodeArtifact
1549
1617
  # * `pypi`
1550
1618
  #
1551
1619
  # * `maven`
1620
+ #
1621
+ # * `nuget`
1552
1622
  # @return [String]
1553
1623
  #
1554
1624
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryEndpointRequest AWS API Documentation
@@ -1706,7 +1776,7 @@ module Aws::CodeArtifact
1706
1776
  # domain: "DomainName", # required
1707
1777
  # domain_owner: "AccountId",
1708
1778
  # repository: "RepositoryName", # required
1709
- # format: "npm", # required, accepts npm, pypi, maven
1779
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1710
1780
  # namespace: "PackageNamespace",
1711
1781
  # package: "PackageName", # required
1712
1782
  # package_version: "PackageVersion", # required
@@ -1739,6 +1809,8 @@ module Aws::CodeArtifact
1739
1809
  #
1740
1810
  # * `maven`\: A Maven package that contains compiled code in a
1741
1811
  # distributable format, such as a JAR file.
1812
+ #
1813
+ # * `nuget`\: A NuGet package.
1742
1814
  # @return [String]
1743
1815
  #
1744
1816
  # @!attribute [rw] namespace
@@ -1751,6 +1823,9 @@ module Aws::CodeArtifact
1751
1823
  #
1752
1824
  # * A Python package does not contain a corresponding component, so
1753
1825
  # Python packages do not have a namespace.
1826
+ #
1827
+ # * A NuGet package does not contain a corresponding component, so
1828
+ # NuGet packages do not have a namespace.
1754
1829
  # @return [String]
1755
1830
  #
1756
1831
  # @!attribute [rw] package
@@ -1803,6 +1878,9 @@ module Aws::CodeArtifact
1803
1878
  #
1804
1879
  # * A Python package does not contain a corresponding component, so
1805
1880
  # Python packages do not have a namespace.
1881
+ #
1882
+ # * A NuGet package does not contain a corresponding component, so
1883
+ # NuGet packages do not have a namespace.
1806
1884
  # @return [String]
1807
1885
  #
1808
1886
  # @!attribute [rw] package
@@ -1852,7 +1930,7 @@ module Aws::CodeArtifact
1852
1930
  # domain: "DomainName", # required
1853
1931
  # domain_owner: "AccountId",
1854
1932
  # repository: "RepositoryName", # required
1855
- # format: "npm", # required, accepts npm, pypi, maven
1933
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
1856
1934
  # namespace: "PackageNamespace",
1857
1935
  # package: "PackageName", # required
1858
1936
  # package_version: "PackageVersion", # required
@@ -1884,6 +1962,8 @@ module Aws::CodeArtifact
1884
1962
  #
1885
1963
  # * `maven`\: A Maven package that contains compiled code in a
1886
1964
  # distributable format, such as a JAR file.
1965
+ #
1966
+ # * `nuget`\: A NuGet package.
1887
1967
  # @return [String]
1888
1968
  #
1889
1969
  # @!attribute [rw] namespace
@@ -1896,6 +1976,9 @@ module Aws::CodeArtifact
1896
1976
  #
1897
1977
  # * A Python package does not contain a corresponding component, so
1898
1978
  # Python packages do not have a namespace.
1979
+ #
1980
+ # * A NuGet package does not contain a corresponding component, so
1981
+ # NuGet packages do not have a namespace.
1899
1982
  # @return [String]
1900
1983
  #
1901
1984
  # @!attribute [rw] package
@@ -1936,6 +2019,8 @@ module Aws::CodeArtifact
1936
2019
  # * `pypi`
1937
2020
  #
1938
2021
  # * `maven`
2022
+ #
2023
+ # * `nuget`
1939
2024
  # @return [String]
1940
2025
  #
1941
2026
  # @!attribute [rw] namespace
@@ -1948,6 +2033,9 @@ module Aws::CodeArtifact
1948
2033
  #
1949
2034
  # * A Python package does not contain a corresponding component, so
1950
2035
  # Python packages do not have a namespace.
2036
+ #
2037
+ # * A NuGet package does not contain a corresponding component, so
2038
+ # NuGet packages do not have a namespace.
1951
2039
  # @return [String]
1952
2040
  #
1953
2041
  # @!attribute [rw] package
@@ -1998,7 +2086,7 @@ module Aws::CodeArtifact
1998
2086
  # domain: "DomainName", # required
1999
2087
  # domain_owner: "AccountId",
2000
2088
  # repository: "RepositoryName", # required
2001
- # format: "npm", # required, accepts npm, pypi, maven
2089
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
2002
2090
  # namespace: "PackageNamespace",
2003
2091
  # package: "PackageName", # required
2004
2092
  # status: "Published", # accepts Published, Unfinished, Unlisted, Archived, Disposed, Deleted
@@ -2030,6 +2118,8 @@ module Aws::CodeArtifact
2030
2118
  #
2031
2119
  # * `maven`\: A Maven package that contains compiled code in a
2032
2120
  # distributable format, such as a JAR file.
2121
+ #
2122
+ # * `nuget`\: A NuGet package.
2033
2123
  # @return [String]
2034
2124
  #
2035
2125
  # @!attribute [rw] namespace
@@ -2042,6 +2132,9 @@ module Aws::CodeArtifact
2042
2132
  #
2043
2133
  # * A Python package does not contain a corresponding component, so
2044
2134
  # Python packages do not have a namespace.
2135
+ #
2136
+ # * A NuGet package does not contain a corresponding component, so
2137
+ # NuGet packages do not have a namespace.
2045
2138
  # @return [String]
2046
2139
  #
2047
2140
  # @!attribute [rw] package
@@ -2115,6 +2208,8 @@ module Aws::CodeArtifact
2115
2208
  # * `pypi`
2116
2209
  #
2117
2210
  # * `maven`
2211
+ #
2212
+ # * `nuget`
2118
2213
  # @return [String]
2119
2214
  #
2120
2215
  # @!attribute [rw] namespace
@@ -2127,6 +2222,9 @@ module Aws::CodeArtifact
2127
2222
  #
2128
2223
  # * A Python package does not contain a corresponding component, so
2129
2224
  # Python packages do not have a namespace.
2225
+ #
2226
+ # * A NuGet package does not contain a corresponding component, so
2227
+ # NuGet packages do not have a namespace.
2130
2228
  # @return [String]
2131
2229
  #
2132
2230
  # @!attribute [rw] package
@@ -2166,7 +2264,7 @@ module Aws::CodeArtifact
2166
2264
  # domain: "DomainName", # required
2167
2265
  # domain_owner: "AccountId",
2168
2266
  # repository: "RepositoryName", # required
2169
- # format: "npm", # accepts npm, pypi, maven
2267
+ # format: "npm", # accepts npm, pypi, maven, nuget
2170
2268
  # namespace: "PackageNamespace",
2171
2269
  # package_prefix: "PackageName",
2172
2270
  # max_results: 1,
@@ -2196,6 +2294,8 @@ module Aws::CodeArtifact
2196
2294
  #
2197
2295
  # * `maven`\: A Maven package that contains compiled code in a
2198
2296
  # distributable format, such as a JAR file.
2297
+ #
2298
+ # * `nuget`\: A NuGet package.
2199
2299
  # @return [String]
2200
2300
  #
2201
2301
  # @!attribute [rw] namespace
@@ -2208,11 +2308,14 @@ module Aws::CodeArtifact
2208
2308
  #
2209
2309
  # * A Python package does not contain a corresponding component, so
2210
2310
  # Python packages do not have a namespace.
2311
+ #
2312
+ # * A NuGet package does not contain a corresponding component, so
2313
+ # NuGet packages do not have a namespace.
2211
2314
  # @return [String]
2212
2315
  #
2213
2316
  # @!attribute [rw] package_prefix
2214
- # A prefix used to filter returned repositories. Only repositories
2215
- # with names that start with `repositoryPrefix` are returned.
2317
+ # A prefix used to filter returned packages. Only packages with names
2318
+ # that start with `packagePrefix` are returned.
2216
2319
  # @return [String]
2217
2320
  #
2218
2321
  # @!attribute [rw] max_results
@@ -2391,6 +2494,38 @@ module Aws::CodeArtifact
2391
2494
  include Aws::Structure
2392
2495
  end
2393
2496
 
2497
+ # @note When making an API call, you may pass ListTagsForResourceRequest
2498
+ # data as a hash:
2499
+ #
2500
+ # {
2501
+ # resource_arn: "Arn", # required
2502
+ # }
2503
+ #
2504
+ # @!attribute [rw] resource_arn
2505
+ # The Amazon Resource Name (ARN) of the resource to get tags for.
2506
+ # @return [String]
2507
+ #
2508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResourceRequest AWS API Documentation
2509
+ #
2510
+ class ListTagsForResourceRequest < Struct.new(
2511
+ :resource_arn)
2512
+ SENSITIVE = []
2513
+ include Aws::Structure
2514
+ end
2515
+
2516
+ # @!attribute [rw] tags
2517
+ # A list of tag key and value pairs associated with the specified
2518
+ # resource.
2519
+ # @return [Array<Types::Tag>]
2520
+ #
2521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResourceResult AWS API Documentation
2522
+ #
2523
+ class ListTagsForResourceResult < Struct.new(
2524
+ :tags)
2525
+ SENSITIVE = []
2526
+ include Aws::Structure
2527
+ end
2528
+
2394
2529
  # Details about a package dependency.
2395
2530
  #
2396
2531
  # @!attribute [rw] namespace
@@ -2403,6 +2538,9 @@ module Aws::CodeArtifact
2403
2538
  #
2404
2539
  # * A Python package does not contain a corresponding component, so
2405
2540
  # Python packages do not have a namespace.
2541
+ #
2542
+ # * A NuGet package does not contain a corresponding component, so
2543
+ # NuGet packages do not have a namespace.
2406
2544
  # @return [String]
2407
2545
  #
2408
2546
  # @!attribute [rw] package
@@ -2449,6 +2587,8 @@ module Aws::CodeArtifact
2449
2587
  # * `pypi`
2450
2588
  #
2451
2589
  # * `maven`
2590
+ #
2591
+ # * `nuget`
2452
2592
  # @return [String]
2453
2593
  #
2454
2594
  # @!attribute [rw] namespace
@@ -2461,6 +2601,9 @@ module Aws::CodeArtifact
2461
2601
  #
2462
2602
  # * A Python package does not contain a corresponding component, so
2463
2603
  # Python packages do not have a namespace.
2604
+ #
2605
+ # * A NuGet package does not contain a corresponding component, so
2606
+ # NuGet packages do not have a namespace.
2464
2607
  # @return [String]
2465
2608
  #
2466
2609
  # @!attribute [rw] package
@@ -2488,6 +2631,8 @@ module Aws::CodeArtifact
2488
2631
  #
2489
2632
  # * `maven`\: A Maven package that contains compiled code in a
2490
2633
  # distributable format, such as a JAR file.
2634
+ #
2635
+ # * `nuget`\: A NuGet package.
2491
2636
  # @return [String]
2492
2637
  #
2493
2638
  # @!attribute [rw] namespace
@@ -2500,6 +2645,9 @@ module Aws::CodeArtifact
2500
2645
  #
2501
2646
  # * A Python package does not contain a corresponding component, so
2502
2647
  # Python packages do not have a namespace.
2648
+ #
2649
+ # * A NuGet package does not contain a corresponding component, so
2650
+ # NuGet packages do not have a namespace.
2503
2651
  # @return [String]
2504
2652
  #
2505
2653
  # @!attribute [rw] package_name
@@ -2846,6 +2994,8 @@ module Aws::CodeArtifact
2846
2994
  #
2847
2995
  # * `maven`\: A Maven package that contains compiled code in a
2848
2996
  # distributable format, such as a JAR file.
2997
+ #
2998
+ # * `nuget`\: A NuGet package.
2849
2999
  # @return [String]
2850
3000
  #
2851
3001
  # @!attribute [rw] status
@@ -3011,6 +3161,69 @@ module Aws::CodeArtifact
3011
3161
  include Aws::Structure
3012
3162
  end
3013
3163
 
3164
+ # A tag is a key-value pair that can be used to manage, search for, or
3165
+ # filter resources in AWS CodeArtifact.
3166
+ #
3167
+ # @note When making an API call, you may pass Tag
3168
+ # data as a hash:
3169
+ #
3170
+ # {
3171
+ # key: "TagKey", # required
3172
+ # value: "TagValue", # required
3173
+ # }
3174
+ #
3175
+ # @!attribute [rw] key
3176
+ # The tag key.
3177
+ # @return [String]
3178
+ #
3179
+ # @!attribute [rw] value
3180
+ # The tag value.
3181
+ # @return [String]
3182
+ #
3183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/Tag AWS API Documentation
3184
+ #
3185
+ class Tag < Struct.new(
3186
+ :key,
3187
+ :value)
3188
+ SENSITIVE = []
3189
+ include Aws::Structure
3190
+ end
3191
+
3192
+ # @note When making an API call, you may pass TagResourceRequest
3193
+ # data as a hash:
3194
+ #
3195
+ # {
3196
+ # resource_arn: "Arn", # required
3197
+ # tags: [ # required
3198
+ # {
3199
+ # key: "TagKey", # required
3200
+ # value: "TagValue", # required
3201
+ # },
3202
+ # ],
3203
+ # }
3204
+ #
3205
+ # @!attribute [rw] resource_arn
3206
+ # The Amazon Resource Name (ARN) of the resource that you want to add
3207
+ # or update tags for.
3208
+ # @return [String]
3209
+ #
3210
+ # @!attribute [rw] tags
3211
+ # The tags you want to modify or add to the resource.
3212
+ # @return [Array<Types::Tag>]
3213
+ #
3214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResourceRequest AWS API Documentation
3215
+ #
3216
+ class TagResourceRequest < Struct.new(
3217
+ :resource_arn,
3218
+ :tags)
3219
+ SENSITIVE = []
3220
+ include Aws::Structure
3221
+ end
3222
+
3223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResourceResult AWS API Documentation
3224
+ #
3225
+ class TagResourceResult < Aws::EmptyStructure; end
3226
+
3014
3227
  # The operation did not succeed because too many requests are sent to
3015
3228
  # the service.
3016
3229
  #
@@ -3030,6 +3243,36 @@ module Aws::CodeArtifact
3030
3243
  include Aws::Structure
3031
3244
  end
3032
3245
 
3246
+ # @note When making an API call, you may pass UntagResourceRequest
3247
+ # data as a hash:
3248
+ #
3249
+ # {
3250
+ # resource_arn: "Arn", # required
3251
+ # tag_keys: ["TagKey"], # required
3252
+ # }
3253
+ #
3254
+ # @!attribute [rw] resource_arn
3255
+ # The Amazon Resource Name (ARN) of the resource that you want to
3256
+ # remove tags from.
3257
+ # @return [String]
3258
+ #
3259
+ # @!attribute [rw] tag_keys
3260
+ # The tag key for each tag that you want to remove from the resource.
3261
+ # @return [Array<String>]
3262
+ #
3263
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResourceRequest AWS API Documentation
3264
+ #
3265
+ class UntagResourceRequest < Struct.new(
3266
+ :resource_arn,
3267
+ :tag_keys)
3268
+ SENSITIVE = []
3269
+ include Aws::Structure
3270
+ end
3271
+
3272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResourceResult AWS API Documentation
3273
+ #
3274
+ class UntagResourceResult < Aws::EmptyStructure; end
3275
+
3033
3276
  # @note When making an API call, you may pass UpdatePackageVersionsStatusRequest
3034
3277
  # data as a hash:
3035
3278
  #
@@ -3037,7 +3280,7 @@ module Aws::CodeArtifact
3037
3280
  # domain: "DomainName", # required
3038
3281
  # domain_owner: "AccountId",
3039
3282
  # repository: "RepositoryName", # required
3040
- # format: "npm", # required, accepts npm, pypi, maven
3283
+ # format: "npm", # required, accepts npm, pypi, maven, nuget
3041
3284
  # namespace: "PackageNamespace",
3042
3285
  # package: "PackageName", # required
3043
3286
  # versions: ["PackageVersion"], # required
@@ -3072,6 +3315,8 @@ module Aws::CodeArtifact
3072
3315
  # * `pypi`
3073
3316
  #
3074
3317
  # * `maven`
3318
+ #
3319
+ # * `nuget`
3075
3320
  # @return [String]
3076
3321
  #
3077
3322
  # @!attribute [rw] namespace
@@ -3084,6 +3329,9 @@ module Aws::CodeArtifact
3084
3329
  #
3085
3330
  # * A Python package does not contain a corresponding component, so
3086
3331
  # Python packages do not have a namespace.
3332
+ #
3333
+ # * A NuGet package does not contain a corresponding component, so
3334
+ # NuGet packages do not have a namespace.
3087
3335
  # @return [String]
3088
3336
  #
3089
3337
  # @!attribute [rw] package