aws-sdk-codeartifact 1.0.1 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -18,6 +20,7 @@ module Aws::CodeArtifact
18
20
  #
19
21
  class AccessDeniedException < Struct.new(
20
22
  :message)
23
+ SENSITIVE = []
21
24
  include Aws::Structure
22
25
  end
23
26
 
@@ -41,6 +44,7 @@ module Aws::CodeArtifact
41
44
  :name,
42
45
  :size,
43
46
  :hashes)
47
+ SENSITIVE = []
44
48
  include Aws::Structure
45
49
  end
46
50
 
@@ -93,6 +97,7 @@ module Aws::CodeArtifact
93
97
  :domain_owner,
94
98
  :repository,
95
99
  :external_connection)
100
+ SENSITIVE = []
96
101
  include Aws::Structure
97
102
  end
98
103
 
@@ -105,6 +110,7 @@ module Aws::CodeArtifact
105
110
  #
106
111
  class AssociateExternalConnectionResult < Struct.new(
107
112
  :repository)
113
+ SENSITIVE = []
108
114
  include Aws::Structure
109
115
  end
110
116
 
@@ -127,6 +133,7 @@ module Aws::CodeArtifact
127
133
  :message,
128
134
  :resource_id,
129
135
  :resource_type)
136
+ SENSITIVE = []
130
137
  include Aws::Structure
131
138
  end
132
139
 
@@ -250,6 +257,7 @@ module Aws::CodeArtifact
250
257
  :version_revisions,
251
258
  :allow_overwrite,
252
259
  :include_from_upstream)
260
+ SENSITIVE = []
253
261
  include Aws::Structure
254
262
  end
255
263
 
@@ -281,6 +289,7 @@ module Aws::CodeArtifact
281
289
  class CopyPackageVersionsResult < Struct.new(
282
290
  :successful_versions,
283
291
  :failed_versions)
292
+ SENSITIVE = []
284
293
  include Aws::Structure
285
294
  end
286
295
 
@@ -290,6 +299,12 @@ module Aws::CodeArtifact
290
299
  # {
291
300
  # domain: "DomainName", # required
292
301
  # encryption_key: "Arn",
302
+ # tags: [
303
+ # {
304
+ # key: "TagKey", # required
305
+ # value: "TagValue", # required
306
+ # },
307
+ # ],
293
308
  # }
294
309
  #
295
310
  # @!attribute [rw] domain
@@ -321,11 +336,17 @@ module Aws::CodeArtifact
321
336
  # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
322
337
  # @return [String]
323
338
  #
339
+ # @!attribute [rw] tags
340
+ # One or more tag key-value pairs for the domain.
341
+ # @return [Array<Types::Tag>]
342
+ #
324
343
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomainRequest AWS API Documentation
325
344
  #
326
345
  class CreateDomainRequest < Struct.new(
327
346
  :domain,
328
- :encryption_key)
347
+ :encryption_key,
348
+ :tags)
349
+ SENSITIVE = []
329
350
  include Aws::Structure
330
351
  end
331
352
 
@@ -338,6 +359,7 @@ module Aws::CodeArtifact
338
359
  #
339
360
  class CreateDomainResult < Struct.new(
340
361
  :domain)
362
+ SENSITIVE = []
341
363
  include Aws::Structure
342
364
  end
343
365
 
@@ -354,6 +376,12 @@ module Aws::CodeArtifact
354
376
  # repository_name: "RepositoryName", # required
355
377
  # },
356
378
  # ],
379
+ # tags: [
380
+ # {
381
+ # key: "TagKey", # required
382
+ # value: "TagValue", # required
383
+ # },
384
+ # ],
357
385
  # }
358
386
  #
359
387
  # @!attribute [rw] domain
@@ -385,6 +413,10 @@ module Aws::CodeArtifact
385
413
  # [1]: https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html
386
414
  # @return [Array<Types::UpstreamRepository>]
387
415
  #
416
+ # @!attribute [rw] tags
417
+ # One or more tag key-value pairs for the repository.
418
+ # @return [Array<Types::Tag>]
419
+ #
388
420
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepositoryRequest AWS API Documentation
389
421
  #
390
422
  class CreateRepositoryRequest < Struct.new(
@@ -392,7 +424,9 @@ module Aws::CodeArtifact
392
424
  :domain_owner,
393
425
  :repository,
394
426
  :description,
395
- :upstreams)
427
+ :upstreams,
428
+ :tags)
429
+ SENSITIVE = []
396
430
  include Aws::Structure
397
431
  end
398
432
 
@@ -405,6 +439,7 @@ module Aws::CodeArtifact
405
439
  #
406
440
  class CreateRepositoryResult < Struct.new(
407
441
  :repository)
442
+ SENSITIVE = []
408
443
  include Aws::Structure
409
444
  end
410
445
 
@@ -439,6 +474,7 @@ module Aws::CodeArtifact
439
474
  :domain,
440
475
  :domain_owner,
441
476
  :policy_revision)
477
+ SENSITIVE = []
442
478
  include Aws::Structure
443
479
  end
444
480
 
@@ -451,6 +487,7 @@ module Aws::CodeArtifact
451
487
  #
452
488
  class DeleteDomainPermissionsPolicyResult < Struct.new(
453
489
  :policy)
490
+ SENSITIVE = []
454
491
  include Aws::Structure
455
492
  end
456
493
 
@@ -476,6 +513,7 @@ module Aws::CodeArtifact
476
513
  class DeleteDomainRequest < Struct.new(
477
514
  :domain,
478
515
  :domain_owner)
516
+ SENSITIVE = []
479
517
  include Aws::Structure
480
518
  end
481
519
 
@@ -488,6 +526,7 @@ module Aws::CodeArtifact
488
526
  #
489
527
  class DeleteDomainResult < Struct.new(
490
528
  :domain)
529
+ SENSITIVE = []
491
530
  include Aws::Structure
492
531
  end
493
532
 
@@ -576,6 +615,7 @@ module Aws::CodeArtifact
576
615
  :package,
577
616
  :versions,
578
617
  :expected_status)
618
+ SENSITIVE = []
579
619
  include Aws::Structure
580
620
  end
581
621
 
@@ -605,6 +645,7 @@ module Aws::CodeArtifact
605
645
  class DeletePackageVersionsResult < Struct.new(
606
646
  :successful_versions,
607
647
  :failed_versions)
648
+ SENSITIVE = []
608
649
  include Aws::Structure
609
650
  end
610
651
 
@@ -647,6 +688,7 @@ module Aws::CodeArtifact
647
688
  :domain_owner,
648
689
  :repository,
649
690
  :policy_revision)
691
+ SENSITIVE = []
650
692
  include Aws::Structure
651
693
  end
652
694
 
@@ -658,6 +700,7 @@ module Aws::CodeArtifact
658
700
  #
659
701
  class DeleteRepositoryPermissionsPolicyResult < Struct.new(
660
702
  :policy)
703
+ SENSITIVE = []
661
704
  include Aws::Structure
662
705
  end
663
706
 
@@ -689,6 +732,7 @@ module Aws::CodeArtifact
689
732
  :domain,
690
733
  :domain_owner,
691
734
  :repository)
735
+ SENSITIVE = []
692
736
  include Aws::Structure
693
737
  end
694
738
 
@@ -701,6 +745,7 @@ module Aws::CodeArtifact
701
745
  #
702
746
  class DeleteRepositoryResult < Struct.new(
703
747
  :repository)
748
+ SENSITIVE = []
704
749
  include Aws::Structure
705
750
  end
706
751
 
@@ -726,6 +771,7 @@ module Aws::CodeArtifact
726
771
  class DescribeDomainRequest < Struct.new(
727
772
  :domain,
728
773
  :domain_owner)
774
+ SENSITIVE = []
729
775
  include Aws::Structure
730
776
  end
731
777
 
@@ -739,6 +785,7 @@ module Aws::CodeArtifact
739
785
  #
740
786
  class DescribeDomainResult < Struct.new(
741
787
  :domain)
788
+ SENSITIVE = []
742
789
  include Aws::Structure
743
790
  end
744
791
 
@@ -810,6 +857,7 @@ module Aws::CodeArtifact
810
857
  :namespace,
811
858
  :package,
812
859
  :package_version)
860
+ SENSITIVE = []
813
861
  include Aws::Structure
814
862
  end
815
863
 
@@ -822,6 +870,7 @@ module Aws::CodeArtifact
822
870
  #
823
871
  class DescribePackageVersionResult < Struct.new(
824
872
  :package_version)
873
+ SENSITIVE = []
825
874
  include Aws::Structure
826
875
  end
827
876
 
@@ -853,6 +902,7 @@ module Aws::CodeArtifact
853
902
  :domain,
854
903
  :domain_owner,
855
904
  :repository)
905
+ SENSITIVE = []
856
906
  include Aws::Structure
857
907
  end
858
908
 
@@ -865,6 +915,7 @@ module Aws::CodeArtifact
865
915
  #
866
916
  class DescribeRepositoryResult < Struct.new(
867
917
  :repository)
918
+ SENSITIVE = []
868
919
  include Aws::Structure
869
920
  end
870
921
 
@@ -905,6 +956,7 @@ module Aws::CodeArtifact
905
956
  :domain_owner,
906
957
  :repository,
907
958
  :external_connection)
959
+ SENSITIVE = []
908
960
  include Aws::Structure
909
961
  end
910
962
 
@@ -916,6 +968,7 @@ module Aws::CodeArtifact
916
968
  #
917
969
  class DisassociateExternalConnectionResult < Struct.new(
918
970
  :repository)
971
+ SENSITIVE = []
919
972
  include Aws::Structure
920
973
  end
921
974
 
@@ -1013,6 +1066,7 @@ module Aws::CodeArtifact
1013
1066
  :versions,
1014
1067
  :version_revisions,
1015
1068
  :expected_status)
1069
+ SENSITIVE = []
1016
1070
  include Aws::Structure
1017
1071
  end
1018
1072
 
@@ -1043,6 +1097,7 @@ module Aws::CodeArtifact
1043
1097
  class DisposePackageVersionsResult < Struct.new(
1044
1098
  :successful_versions,
1045
1099
  :failed_versions)
1100
+ SENSITIVE = []
1046
1101
  include Aws::Structure
1047
1102
  end
1048
1103
 
@@ -1088,6 +1143,11 @@ module Aws::CodeArtifact
1088
1143
  # The total size of all assets in the domain.
1089
1144
  # @return [Integer]
1090
1145
  #
1146
+ # @!attribute [rw] s3_bucket_arn
1147
+ # The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used
1148
+ # to store package assets in the domain.
1149
+ # @return [String]
1150
+ #
1091
1151
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DomainDescription AWS API Documentation
1092
1152
  #
1093
1153
  class DomainDescription < Struct.new(
@@ -1098,7 +1158,9 @@ module Aws::CodeArtifact
1098
1158
  :created_time,
1099
1159
  :encryption_key,
1100
1160
  :repository_count,
1101
- :asset_size_bytes)
1161
+ :asset_size_bytes,
1162
+ :s3_bucket_arn)
1163
+ SENSITIVE = []
1102
1164
  include Aws::Structure
1103
1165
  end
1104
1166
 
@@ -1149,6 +1211,7 @@ module Aws::CodeArtifact
1149
1211
  :status,
1150
1212
  :created_time,
1151
1213
  :encryption_key)
1214
+ SENSITIVE = []
1152
1215
  include Aws::Structure
1153
1216
  end
1154
1217
 
@@ -1173,7 +1236,10 @@ module Aws::CodeArtifact
1173
1236
  #
1174
1237
  # @!attribute [rw] duration_seconds
1175
1238
  # The time, in seconds, that the generated authorization token is
1176
- # valid.
1239
+ # valid. Valid values are `0` and any number between `900` (15
1240
+ # minutes) and `43200` (12 hours). A value of `0` will set the
1241
+ # expiration of the authorization token to the same expiration of the
1242
+ # user's role's temporary credentials.
1177
1243
  # @return [Integer]
1178
1244
  #
1179
1245
  # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAuthorizationTokenRequest AWS API Documentation
@@ -1182,6 +1248,7 @@ module Aws::CodeArtifact
1182
1248
  :domain,
1183
1249
  :domain_owner,
1184
1250
  :duration_seconds)
1251
+ SENSITIVE = []
1185
1252
  include Aws::Structure
1186
1253
  end
1187
1254
 
@@ -1199,6 +1266,7 @@ module Aws::CodeArtifact
1199
1266
  class GetAuthorizationTokenResult < Struct.new(
1200
1267
  :authorization_token,
1201
1268
  :expiration)
1269
+ SENSITIVE = []
1202
1270
  include Aws::Structure
1203
1271
  end
1204
1272
 
@@ -1224,6 +1292,7 @@ module Aws::CodeArtifact
1224
1292
  class GetDomainPermissionsPolicyRequest < Struct.new(
1225
1293
  :domain,
1226
1294
  :domain_owner)
1295
+ SENSITIVE = []
1227
1296
  include Aws::Structure
1228
1297
  end
1229
1298
 
@@ -1235,6 +1304,7 @@ module Aws::CodeArtifact
1235
1304
  #
1236
1305
  class GetDomainPermissionsPolicyResult < Struct.new(
1237
1306
  :policy)
1307
+ SENSITIVE = []
1238
1308
  include Aws::Structure
1239
1309
  end
1240
1310
 
@@ -1320,6 +1390,7 @@ module Aws::CodeArtifact
1320
1390
  :package_version,
1321
1391
  :asset,
1322
1392
  :package_version_revision)
1393
+ SENSITIVE = []
1323
1394
  include Aws::Structure
1324
1395
  end
1325
1396
 
@@ -1347,6 +1418,7 @@ module Aws::CodeArtifact
1347
1418
  :asset_name,
1348
1419
  :package_version,
1349
1420
  :package_version_revision)
1421
+ SENSITIVE = []
1350
1422
  include Aws::Structure
1351
1423
  end
1352
1424
 
@@ -1420,6 +1492,7 @@ module Aws::CodeArtifact
1420
1492
  :namespace,
1421
1493
  :package,
1422
1494
  :package_version)
1495
+ SENSITIVE = []
1423
1496
  include Aws::Structure
1424
1497
  end
1425
1498
 
@@ -1471,6 +1544,7 @@ module Aws::CodeArtifact
1471
1544
  :version,
1472
1545
  :version_revision,
1473
1546
  :readme)
1547
+ SENSITIVE = []
1474
1548
  include Aws::Structure
1475
1549
  end
1476
1550
 
@@ -1515,6 +1589,7 @@ module Aws::CodeArtifact
1515
1589
  :domain_owner,
1516
1590
  :repository,
1517
1591
  :format)
1592
+ SENSITIVE = []
1518
1593
  include Aws::Structure
1519
1594
  end
1520
1595
 
@@ -1526,6 +1601,7 @@ module Aws::CodeArtifact
1526
1601
  #
1527
1602
  class GetRepositoryEndpointResult < Struct.new(
1528
1603
  :repository_endpoint)
1604
+ SENSITIVE = []
1529
1605
  include Aws::Structure
1530
1606
  end
1531
1607
 
@@ -1559,6 +1635,7 @@ module Aws::CodeArtifact
1559
1635
  :domain,
1560
1636
  :domain_owner,
1561
1637
  :repository)
1638
+ SENSITIVE = []
1562
1639
  include Aws::Structure
1563
1640
  end
1564
1641
 
@@ -1570,6 +1647,7 @@ module Aws::CodeArtifact
1570
1647
  #
1571
1648
  class GetRepositoryPermissionsPolicyResult < Struct.new(
1572
1649
  :policy)
1650
+ SENSITIVE = []
1573
1651
  include Aws::Structure
1574
1652
  end
1575
1653
 
@@ -1583,6 +1661,7 @@ module Aws::CodeArtifact
1583
1661
  #
1584
1662
  class InternalServerException < Struct.new(
1585
1663
  :message)
1664
+ SENSITIVE = []
1586
1665
  include Aws::Structure
1587
1666
  end
1588
1667
 
@@ -1601,6 +1680,7 @@ module Aws::CodeArtifact
1601
1680
  class LicenseInfo < Struct.new(
1602
1681
  :name,
1603
1682
  :url)
1683
+ SENSITIVE = []
1604
1684
  include Aws::Structure
1605
1685
  end
1606
1686
 
@@ -1627,6 +1707,7 @@ module Aws::CodeArtifact
1627
1707
  class ListDomainsRequest < Struct.new(
1628
1708
  :max_results,
1629
1709
  :next_token)
1710
+ SENSITIVE = []
1630
1711
  include Aws::Structure
1631
1712
  end
1632
1713
 
@@ -1645,6 +1726,7 @@ module Aws::CodeArtifact
1645
1726
  class ListDomainsResult < Struct.new(
1646
1727
  :domains,
1647
1728
  :next_token)
1729
+ SENSITIVE = []
1648
1730
  include Aws::Structure
1649
1731
  end
1650
1732
 
@@ -1733,6 +1815,7 @@ module Aws::CodeArtifact
1733
1815
  :package_version,
1734
1816
  :max_results,
1735
1817
  :next_token)
1818
+ SENSITIVE = []
1736
1819
  include Aws::Structure
1737
1820
  end
1738
1821
 
@@ -1789,6 +1872,7 @@ module Aws::CodeArtifact
1789
1872
  :version_revision,
1790
1873
  :next_token,
1791
1874
  :assets)
1875
+ SENSITIVE = []
1792
1876
  include Aws::Structure
1793
1877
  end
1794
1878
 
@@ -1870,6 +1954,7 @@ module Aws::CodeArtifact
1870
1954
  :package,
1871
1955
  :package_version,
1872
1956
  :next_token)
1957
+ SENSITIVE = []
1873
1958
  include Aws::Structure
1874
1959
  end
1875
1960
 
@@ -1933,6 +2018,7 @@ module Aws::CodeArtifact
1933
2018
  :version_revision,
1934
2019
  :next_token,
1935
2020
  :dependencies)
2021
+ SENSITIVE = []
1936
2022
  include Aws::Structure
1937
2023
  end
1938
2024
 
@@ -2036,6 +2122,7 @@ module Aws::CodeArtifact
2036
2122
  :sort_by,
2037
2123
  :max_results,
2038
2124
  :next_token)
2125
+ SENSITIVE = []
2039
2126
  include Aws::Structure
2040
2127
  end
2041
2128
 
@@ -2099,6 +2186,7 @@ module Aws::CodeArtifact
2099
2186
  :package,
2100
2187
  :versions,
2101
2188
  :next_token)
2189
+ SENSITIVE = []
2102
2190
  include Aws::Structure
2103
2191
  end
2104
2192
 
@@ -2179,6 +2267,7 @@ module Aws::CodeArtifact
2179
2267
  :package_prefix,
2180
2268
  :max_results,
2181
2269
  :next_token)
2270
+ SENSITIVE = []
2182
2271
  include Aws::Structure
2183
2272
  end
2184
2273
 
@@ -2200,6 +2289,7 @@ module Aws::CodeArtifact
2200
2289
  class ListPackagesResult < Struct.new(
2201
2290
  :packages,
2202
2291
  :next_token)
2292
+ SENSITIVE = []
2203
2293
  include Aws::Structure
2204
2294
  end
2205
2295
 
@@ -2254,6 +2344,7 @@ module Aws::CodeArtifact
2254
2344
  :repository_prefix,
2255
2345
  :max_results,
2256
2346
  :next_token)
2347
+ SENSITIVE = []
2257
2348
  include Aws::Structure
2258
2349
  end
2259
2350
 
@@ -2271,6 +2362,7 @@ module Aws::CodeArtifact
2271
2362
  class ListRepositoriesInDomainResult < Struct.new(
2272
2363
  :repositories,
2273
2364
  :next_token)
2365
+ SENSITIVE = []
2274
2366
  include Aws::Structure
2275
2367
  end
2276
2368
 
@@ -2304,6 +2396,7 @@ module Aws::CodeArtifact
2304
2396
  :repository_prefix,
2305
2397
  :max_results,
2306
2398
  :next_token)
2399
+ SENSITIVE = []
2307
2400
  include Aws::Structure
2308
2401
  end
2309
2402
 
@@ -2325,6 +2418,39 @@ module Aws::CodeArtifact
2325
2418
  class ListRepositoriesResult < Struct.new(
2326
2419
  :repositories,
2327
2420
  :next_token)
2421
+ SENSITIVE = []
2422
+ include Aws::Structure
2423
+ end
2424
+
2425
+ # @note When making an API call, you may pass ListTagsForResourceRequest
2426
+ # data as a hash:
2427
+ #
2428
+ # {
2429
+ # resource_arn: "Arn", # required
2430
+ # }
2431
+ #
2432
+ # @!attribute [rw] resource_arn
2433
+ # The Amazon Resource Name (ARN) of the resource to get tags for.
2434
+ # @return [String]
2435
+ #
2436
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResourceRequest AWS API Documentation
2437
+ #
2438
+ class ListTagsForResourceRequest < Struct.new(
2439
+ :resource_arn)
2440
+ SENSITIVE = []
2441
+ include Aws::Structure
2442
+ end
2443
+
2444
+ # @!attribute [rw] tags
2445
+ # A list of tag key and value pairs associated with the specified
2446
+ # resource.
2447
+ # @return [Array<Types::Tag>]
2448
+ #
2449
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResourceResult AWS API Documentation
2450
+ #
2451
+ class ListTagsForResourceResult < Struct.new(
2452
+ :tags)
2453
+ SENSITIVE = []
2328
2454
  include Aws::Structure
2329
2455
  end
2330
2456
 
@@ -2366,6 +2492,7 @@ module Aws::CodeArtifact
2366
2492
  :package,
2367
2493
  :dependency_type,
2368
2494
  :version_requirement)
2495
+ SENSITIVE = []
2369
2496
  include Aws::Structure
2370
2497
  end
2371
2498
 
@@ -2409,6 +2536,7 @@ module Aws::CodeArtifact
2409
2536
  :format,
2410
2537
  :namespace,
2411
2538
  :package)
2539
+ SENSITIVE = []
2412
2540
  include Aws::Structure
2413
2541
  end
2414
2542
 
@@ -2510,6 +2638,7 @@ module Aws::CodeArtifact
2510
2638
  :licenses,
2511
2639
  :revision,
2512
2640
  :status)
2641
+ SENSITIVE = []
2513
2642
  include Aws::Structure
2514
2643
  end
2515
2644
 
@@ -2540,6 +2669,7 @@ module Aws::CodeArtifact
2540
2669
  class PackageVersionError < Struct.new(
2541
2670
  :error_code,
2542
2671
  :error_message)
2672
+ SENSITIVE = []
2543
2673
  include Aws::Structure
2544
2674
  end
2545
2675
 
@@ -2580,6 +2710,7 @@ module Aws::CodeArtifact
2580
2710
  :version,
2581
2711
  :revision,
2582
2712
  :status)
2713
+ SENSITIVE = []
2583
2714
  include Aws::Structure
2584
2715
  end
2585
2716
 
@@ -2620,6 +2751,7 @@ module Aws::CodeArtifact
2620
2751
  :domain_owner,
2621
2752
  :policy_revision,
2622
2753
  :policy_document)
2754
+ SENSITIVE = []
2623
2755
  include Aws::Structure
2624
2756
  end
2625
2757
 
@@ -2631,6 +2763,7 @@ module Aws::CodeArtifact
2631
2763
  #
2632
2764
  class PutDomainPermissionsPolicyResult < Struct.new(
2633
2765
  :policy)
2766
+ SENSITIVE = []
2634
2767
  include Aws::Structure
2635
2768
  end
2636
2769
 
@@ -2679,6 +2812,7 @@ module Aws::CodeArtifact
2679
2812
  :repository,
2680
2813
  :policy_revision,
2681
2814
  :policy_document)
2815
+ SENSITIVE = []
2682
2816
  include Aws::Structure
2683
2817
  end
2684
2818
 
@@ -2690,6 +2824,7 @@ module Aws::CodeArtifact
2690
2824
  #
2691
2825
  class PutRepositoryPermissionsPolicyResult < Struct.new(
2692
2826
  :policy)
2827
+ SENSITIVE = []
2693
2828
  include Aws::Structure
2694
2829
  end
2695
2830
 
@@ -2754,6 +2889,7 @@ module Aws::CodeArtifact
2754
2889
  :description,
2755
2890
  :upstreams,
2756
2891
  :external_connections)
2892
+ SENSITIVE = []
2757
2893
  include Aws::Structure
2758
2894
  end
2759
2895
 
@@ -2786,6 +2922,7 @@ module Aws::CodeArtifact
2786
2922
  :external_connection_name,
2787
2923
  :package_format,
2788
2924
  :status)
2925
+ SENSITIVE = []
2789
2926
  include Aws::Structure
2790
2927
  end
2791
2928
 
@@ -2831,6 +2968,7 @@ module Aws::CodeArtifact
2831
2968
  :domain_owner,
2832
2969
  :arn,
2833
2970
  :description)
2971
+ SENSITIVE = []
2834
2972
  include Aws::Structure
2835
2973
  end
2836
2974
 
@@ -2854,6 +2992,7 @@ module Aws::CodeArtifact
2854
2992
  :message,
2855
2993
  :resource_id,
2856
2994
  :resource_type)
2995
+ SENSITIVE = []
2857
2996
  include Aws::Structure
2858
2997
  end
2859
2998
 
@@ -2878,6 +3017,7 @@ module Aws::CodeArtifact
2878
3017
  :resource_arn,
2879
3018
  :revision,
2880
3019
  :document)
3020
+ SENSITIVE = []
2881
3021
  include Aws::Structure
2882
3022
  end
2883
3023
 
@@ -2901,6 +3041,7 @@ module Aws::CodeArtifact
2901
3041
  :message,
2902
3042
  :resource_id,
2903
3043
  :resource_type)
3044
+ SENSITIVE = []
2904
3045
  include Aws::Structure
2905
3046
  end
2906
3047
 
@@ -2929,9 +3070,73 @@ module Aws::CodeArtifact
2929
3070
  class SuccessfulPackageVersionInfo < Struct.new(
2930
3071
  :revision,
2931
3072
  :status)
3073
+ SENSITIVE = []
3074
+ include Aws::Structure
3075
+ end
3076
+
3077
+ # A tag is a key-value pair that can be used to manage, search for, or
3078
+ # filter resources in AWS CodeArtifact.
3079
+ #
3080
+ # @note When making an API call, you may pass Tag
3081
+ # data as a hash:
3082
+ #
3083
+ # {
3084
+ # key: "TagKey", # required
3085
+ # value: "TagValue", # required
3086
+ # }
3087
+ #
3088
+ # @!attribute [rw] key
3089
+ # The tag's key.
3090
+ # @return [String]
3091
+ #
3092
+ # @!attribute [rw] value
3093
+ # The tag's value.
3094
+ # @return [String]
3095
+ #
3096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/Tag AWS API Documentation
3097
+ #
3098
+ class Tag < Struct.new(
3099
+ :key,
3100
+ :value)
3101
+ SENSITIVE = []
2932
3102
  include Aws::Structure
2933
3103
  end
2934
3104
 
3105
+ # @note When making an API call, you may pass TagResourceRequest
3106
+ # data as a hash:
3107
+ #
3108
+ # {
3109
+ # resource_arn: "Arn", # required
3110
+ # tags: [ # required
3111
+ # {
3112
+ # key: "TagKey", # required
3113
+ # value: "TagValue", # required
3114
+ # },
3115
+ # ],
3116
+ # }
3117
+ #
3118
+ # @!attribute [rw] resource_arn
3119
+ # The Amazon Resource Name (ARN) of the resource to which you want to
3120
+ # add or update tags.
3121
+ # @return [String]
3122
+ #
3123
+ # @!attribute [rw] tags
3124
+ # The tags you want to modify or add to the resource.
3125
+ # @return [Array<Types::Tag>]
3126
+ #
3127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResourceRequest AWS API Documentation
3128
+ #
3129
+ class TagResourceRequest < Struct.new(
3130
+ :resource_arn,
3131
+ :tags)
3132
+ SENSITIVE = []
3133
+ include Aws::Structure
3134
+ end
3135
+
3136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResourceResult AWS API Documentation
3137
+ #
3138
+ class TagResourceResult < Aws::EmptyStructure; end
3139
+
2935
3140
  # The operation did not succeed because too many requests are sent to
2936
3141
  # the service.
2937
3142
  #
@@ -2947,9 +3152,40 @@ module Aws::CodeArtifact
2947
3152
  class ThrottlingException < Struct.new(
2948
3153
  :message,
2949
3154
  :retry_after_seconds)
3155
+ SENSITIVE = []
3156
+ include Aws::Structure
3157
+ end
3158
+
3159
+ # @note When making an API call, you may pass UntagResourceRequest
3160
+ # data as a hash:
3161
+ #
3162
+ # {
3163
+ # resource_arn: "Arn", # required
3164
+ # tag_keys: ["TagKey"], # required
3165
+ # }
3166
+ #
3167
+ # @!attribute [rw] resource_arn
3168
+ # The Amazon Resource Name (ARN) of the resource to which you want to
3169
+ # remove tags.
3170
+ # @return [String]
3171
+ #
3172
+ # @!attribute [rw] tag_keys
3173
+ # The tag key for each tag that you want to remove from the resource.
3174
+ # @return [Array<String>]
3175
+ #
3176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResourceRequest AWS API Documentation
3177
+ #
3178
+ class UntagResourceRequest < Struct.new(
3179
+ :resource_arn,
3180
+ :tag_keys)
3181
+ SENSITIVE = []
2950
3182
  include Aws::Structure
2951
3183
  end
2952
3184
 
3185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResourceResult AWS API Documentation
3186
+ #
3187
+ class UntagResourceResult < Aws::EmptyStructure; end
3188
+
2953
3189
  # @note When making an API call, you may pass UpdatePackageVersionsStatusRequest
2954
3190
  # data as a hash:
2955
3191
  #
@@ -3045,6 +3281,7 @@ module Aws::CodeArtifact
3045
3281
  :version_revisions,
3046
3282
  :expected_status,
3047
3283
  :target_status)
3284
+ SENSITIVE = []
3048
3285
  include Aws::Structure
3049
3286
  end
3050
3287
 
@@ -3063,6 +3300,7 @@ module Aws::CodeArtifact
3063
3300
  class UpdatePackageVersionsStatusResult < Struct.new(
3064
3301
  :successful_versions,
3065
3302
  :failed_versions)
3303
+ SENSITIVE = []
3066
3304
  include Aws::Structure
3067
3305
  end
3068
3306
 
@@ -3118,6 +3356,7 @@ module Aws::CodeArtifact
3118
3356
  :repository,
3119
3357
  :description,
3120
3358
  :upstreams)
3359
+ SENSITIVE = []
3121
3360
  include Aws::Structure
3122
3361
  end
3123
3362
 
@@ -3129,6 +3368,7 @@ module Aws::CodeArtifact
3129
3368
  #
3130
3369
  class UpdateRepositoryResult < Struct.new(
3131
3370
  :repository)
3371
+ SENSITIVE = []
3132
3372
  include Aws::Structure
3133
3373
  end
3134
3374
 
@@ -3156,6 +3396,7 @@ module Aws::CodeArtifact
3156
3396
  #
3157
3397
  class UpstreamRepository < Struct.new(
3158
3398
  :repository_name)
3399
+ SENSITIVE = []
3159
3400
  include Aws::Structure
3160
3401
  end
3161
3402
 
@@ -3169,6 +3410,7 @@ module Aws::CodeArtifact
3169
3410
  #
3170
3411
  class UpstreamRepositoryInfo < Struct.new(
3171
3412
  :repository_name)
3413
+ SENSITIVE = []
3172
3414
  include Aws::Structure
3173
3415
  end
3174
3416
 
@@ -3186,6 +3428,7 @@ module Aws::CodeArtifact
3186
3428
  class ValidationException < Struct.new(
3187
3429
  :message,
3188
3430
  :reason)
3431
+ SENSITIVE = []
3189
3432
  include Aws::Structure
3190
3433
  end
3191
3434