aws-sdk-codeartifact 1.38.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,6 +25,8 @@ module Aws::CodeArtifact
25
25
  AssetSummaryList = Shapes::ListShape.new(name: 'AssetSummaryList')
26
26
  AssociateExternalConnectionRequest = Shapes::StructureShape.new(name: 'AssociateExternalConnectionRequest')
27
27
  AssociateExternalConnectionResult = Shapes::StructureShape.new(name: 'AssociateExternalConnectionResult')
28
+ AssociatedPackage = Shapes::StructureShape.new(name: 'AssociatedPackage')
29
+ AssociatedPackageList = Shapes::ListShape.new(name: 'AssociatedPackageList')
28
30
  AuthorizationTokenDurationSeconds = Shapes::IntegerShape.new(name: 'AuthorizationTokenDurationSeconds')
29
31
  BooleanOptional = Shapes::BooleanShape.new(name: 'BooleanOptional')
30
32
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -32,12 +34,16 @@ module Aws::CodeArtifact
32
34
  CopyPackageVersionsResult = Shapes::StructureShape.new(name: 'CopyPackageVersionsResult')
33
35
  CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
34
36
  CreateDomainResult = Shapes::StructureShape.new(name: 'CreateDomainResult')
37
+ CreatePackageGroupRequest = Shapes::StructureShape.new(name: 'CreatePackageGroupRequest')
38
+ CreatePackageGroupResult = Shapes::StructureShape.new(name: 'CreatePackageGroupResult')
35
39
  CreateRepositoryRequest = Shapes::StructureShape.new(name: 'CreateRepositoryRequest')
36
40
  CreateRepositoryResult = Shapes::StructureShape.new(name: 'CreateRepositoryResult')
37
41
  DeleteDomainPermissionsPolicyRequest = Shapes::StructureShape.new(name: 'DeleteDomainPermissionsPolicyRequest')
38
42
  DeleteDomainPermissionsPolicyResult = Shapes::StructureShape.new(name: 'DeleteDomainPermissionsPolicyResult')
39
43
  DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
40
44
  DeleteDomainResult = Shapes::StructureShape.new(name: 'DeleteDomainResult')
45
+ DeletePackageGroupRequest = Shapes::StructureShape.new(name: 'DeletePackageGroupRequest')
46
+ DeletePackageGroupResult = Shapes::StructureShape.new(name: 'DeletePackageGroupResult')
41
47
  DeletePackageRequest = Shapes::StructureShape.new(name: 'DeletePackageRequest')
42
48
  DeletePackageResult = Shapes::StructureShape.new(name: 'DeletePackageResult')
43
49
  DeletePackageVersionsRequest = Shapes::StructureShape.new(name: 'DeletePackageVersionsRequest')
@@ -48,6 +54,8 @@ module Aws::CodeArtifact
48
54
  DeleteRepositoryResult = Shapes::StructureShape.new(name: 'DeleteRepositoryResult')
49
55
  DescribeDomainRequest = Shapes::StructureShape.new(name: 'DescribeDomainRequest')
50
56
  DescribeDomainResult = Shapes::StructureShape.new(name: 'DescribeDomainResult')
57
+ DescribePackageGroupRequest = Shapes::StructureShape.new(name: 'DescribePackageGroupRequest')
58
+ DescribePackageGroupResult = Shapes::StructureShape.new(name: 'DescribePackageGroupResult')
51
59
  DescribePackageRequest = Shapes::StructureShape.new(name: 'DescribePackageRequest')
52
60
  DescribePackageResult = Shapes::StructureShape.new(name: 'DescribePackageResult')
53
61
  DescribePackageVersionRequest = Shapes::StructureShape.new(name: 'DescribePackageVersionRequest')
@@ -68,6 +76,8 @@ module Aws::CodeArtifact
68
76
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
69
77
  ExternalConnectionName = Shapes::StringShape.new(name: 'ExternalConnectionName')
70
78
  ExternalConnectionStatus = Shapes::StringShape.new(name: 'ExternalConnectionStatus')
79
+ GetAssociatedPackageGroupRequest = Shapes::StructureShape.new(name: 'GetAssociatedPackageGroupRequest')
80
+ GetAssociatedPackageGroupResult = Shapes::StructureShape.new(name: 'GetAssociatedPackageGroupResult')
71
81
  GetAuthorizationTokenRequest = Shapes::StructureShape.new(name: 'GetAuthorizationTokenRequest')
72
82
  GetAuthorizationTokenResult = Shapes::StructureShape.new(name: 'GetAuthorizationTokenResult')
73
83
  GetDomainPermissionsPolicyRequest = Shapes::StructureShape.new(name: 'GetDomainPermissionsPolicyRequest')
@@ -86,9 +96,17 @@ module Aws::CodeArtifact
86
96
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
87
97
  LicenseInfo = Shapes::StructureShape.new(name: 'LicenseInfo')
88
98
  LicenseInfoList = Shapes::ListShape.new(name: 'LicenseInfoList')
99
+ ListAllowedRepositoriesForGroupMaxResults = Shapes::IntegerShape.new(name: 'ListAllowedRepositoriesForGroupMaxResults')
100
+ ListAllowedRepositoriesForGroupRequest = Shapes::StructureShape.new(name: 'ListAllowedRepositoriesForGroupRequest')
101
+ ListAllowedRepositoriesForGroupResult = Shapes::StructureShape.new(name: 'ListAllowedRepositoriesForGroupResult')
102
+ ListAssociatedPackagesRequest = Shapes::StructureShape.new(name: 'ListAssociatedPackagesRequest')
103
+ ListAssociatedPackagesResult = Shapes::StructureShape.new(name: 'ListAssociatedPackagesResult')
89
104
  ListDomainsMaxResults = Shapes::IntegerShape.new(name: 'ListDomainsMaxResults')
90
105
  ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest')
91
106
  ListDomainsResult = Shapes::StructureShape.new(name: 'ListDomainsResult')
107
+ ListPackageGroupsMaxResults = Shapes::IntegerShape.new(name: 'ListPackageGroupsMaxResults')
108
+ ListPackageGroupsRequest = Shapes::StructureShape.new(name: 'ListPackageGroupsRequest')
109
+ ListPackageGroupsResult = Shapes::StructureShape.new(name: 'ListPackageGroupsResult')
92
110
  ListPackageVersionAssetsMaxResults = Shapes::IntegerShape.new(name: 'ListPackageVersionAssetsMaxResults')
93
111
  ListPackageVersionAssetsRequest = Shapes::StructureShape.new(name: 'ListPackageVersionAssetsRequest')
94
112
  ListPackageVersionAssetsResult = Shapes::StructureShape.new(name: 'ListPackageVersionAssetsResult')
@@ -106,14 +124,35 @@ module Aws::CodeArtifact
106
124
  ListRepositoriesMaxResults = Shapes::IntegerShape.new(name: 'ListRepositoriesMaxResults')
107
125
  ListRepositoriesRequest = Shapes::StructureShape.new(name: 'ListRepositoriesRequest')
108
126
  ListRepositoriesResult = Shapes::StructureShape.new(name: 'ListRepositoriesResult')
127
+ ListSubPackageGroupsRequest = Shapes::StructureShape.new(name: 'ListSubPackageGroupsRequest')
128
+ ListSubPackageGroupsResult = Shapes::StructureShape.new(name: 'ListSubPackageGroupsResult')
109
129
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
110
130
  ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
111
131
  Long = Shapes::IntegerShape.new(name: 'Long')
112
132
  LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
133
+ OriginRestrictions = Shapes::MapShape.new(name: 'OriginRestrictions')
113
134
  PackageDependency = Shapes::StructureShape.new(name: 'PackageDependency')
114
135
  PackageDependencyList = Shapes::ListShape.new(name: 'PackageDependencyList')
115
136
  PackageDescription = Shapes::StructureShape.new(name: 'PackageDescription')
116
137
  PackageFormat = Shapes::StringShape.new(name: 'PackageFormat')
138
+ PackageGroupAllowedRepository = Shapes::StructureShape.new(name: 'PackageGroupAllowedRepository')
139
+ PackageGroupAllowedRepositoryList = Shapes::ListShape.new(name: 'PackageGroupAllowedRepositoryList')
140
+ PackageGroupAllowedRepositoryUpdate = Shapes::MapShape.new(name: 'PackageGroupAllowedRepositoryUpdate')
141
+ PackageGroupAllowedRepositoryUpdateType = Shapes::StringShape.new(name: 'PackageGroupAllowedRepositoryUpdateType')
142
+ PackageGroupAllowedRepositoryUpdates = Shapes::MapShape.new(name: 'PackageGroupAllowedRepositoryUpdates')
143
+ PackageGroupAssociationType = Shapes::StringShape.new(name: 'PackageGroupAssociationType')
144
+ PackageGroupContactInfo = Shapes::StringShape.new(name: 'PackageGroupContactInfo')
145
+ PackageGroupDescription = Shapes::StructureShape.new(name: 'PackageGroupDescription')
146
+ PackageGroupOriginConfiguration = Shapes::StructureShape.new(name: 'PackageGroupOriginConfiguration')
147
+ PackageGroupOriginRestriction = Shapes::StructureShape.new(name: 'PackageGroupOriginRestriction')
148
+ PackageGroupOriginRestrictionMode = Shapes::StringShape.new(name: 'PackageGroupOriginRestrictionMode')
149
+ PackageGroupOriginRestrictionType = Shapes::StringShape.new(name: 'PackageGroupOriginRestrictionType')
150
+ PackageGroupOriginRestrictions = Shapes::MapShape.new(name: 'PackageGroupOriginRestrictions')
151
+ PackageGroupPattern = Shapes::StringShape.new(name: 'PackageGroupPattern')
152
+ PackageGroupPatternPrefix = Shapes::StringShape.new(name: 'PackageGroupPatternPrefix')
153
+ PackageGroupReference = Shapes::StructureShape.new(name: 'PackageGroupReference')
154
+ PackageGroupSummary = Shapes::StructureShape.new(name: 'PackageGroupSummary')
155
+ PackageGroupSummaryList = Shapes::ListShape.new(name: 'PackageGroupSummaryList')
117
156
  PackageName = Shapes::StringShape.new(name: 'PackageName')
118
157
  PackageNamespace = Shapes::StringShape.new(name: 'PackageNamespace')
119
158
  PackageOriginConfiguration = Shapes::StructureShape.new(name: 'PackageOriginConfiguration')
@@ -149,6 +188,7 @@ module Aws::CodeArtifact
149
188
  RepositoryExternalConnectionInfo = Shapes::StructureShape.new(name: 'RepositoryExternalConnectionInfo')
150
189
  RepositoryExternalConnectionInfoList = Shapes::ListShape.new(name: 'RepositoryExternalConnectionInfoList')
151
190
  RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
191
+ RepositoryNameList = Shapes::ListShape.new(name: 'RepositoryNameList')
152
192
  RepositorySummary = Shapes::StructureShape.new(name: 'RepositorySummary')
153
193
  RepositorySummaryList = Shapes::ListShape.new(name: 'RepositorySummaryList')
154
194
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -172,6 +212,10 @@ module Aws::CodeArtifact
172
212
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
173
213
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
174
214
  UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
215
+ UpdatePackageGroupOriginConfigurationRequest = Shapes::StructureShape.new(name: 'UpdatePackageGroupOriginConfigurationRequest')
216
+ UpdatePackageGroupOriginConfigurationResult = Shapes::StructureShape.new(name: 'UpdatePackageGroupOriginConfigurationResult')
217
+ UpdatePackageGroupRequest = Shapes::StructureShape.new(name: 'UpdatePackageGroupRequest')
218
+ UpdatePackageGroupResult = Shapes::StructureShape.new(name: 'UpdatePackageGroupResult')
175
219
  UpdatePackageVersionsStatusRequest = Shapes::StructureShape.new(name: 'UpdatePackageVersionsStatusRequest')
176
220
  UpdatePackageVersionsStatusResult = Shapes::StructureShape.new(name: 'UpdatePackageVersionsStatusResult')
177
221
  UpdateRepositoryRequest = Shapes::StructureShape.new(name: 'UpdateRepositoryRequest')
@@ -205,6 +249,14 @@ module Aws::CodeArtifact
205
249
  AssociateExternalConnectionResult.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repository"))
206
250
  AssociateExternalConnectionResult.struct_class = Types::AssociateExternalConnectionResult
207
251
 
252
+ AssociatedPackage.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, location_name: "format"))
253
+ AssociatedPackage.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
254
+ AssociatedPackage.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
255
+ AssociatedPackage.add_member(:association_type, Shapes::ShapeRef.new(shape: PackageGroupAssociationType, location_name: "associationType"))
256
+ AssociatedPackage.struct_class = Types::AssociatedPackage
257
+
258
+ AssociatedPackageList.member = Shapes::ShapeRef.new(shape: AssociatedPackage)
259
+
208
260
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
209
261
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
210
262
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
@@ -235,6 +287,17 @@ module Aws::CodeArtifact
235
287
  CreateDomainResult.add_member(:domain, Shapes::ShapeRef.new(shape: DomainDescription, location_name: "domain"))
236
288
  CreateDomainResult.struct_class = Types::CreateDomainResult
237
289
 
290
+ CreatePackageGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
291
+ CreatePackageGroupRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
292
+ CreatePackageGroupRequest.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupPattern, required: true, location_name: "packageGroup"))
293
+ CreatePackageGroupRequest.add_member(:contact_info, Shapes::ShapeRef.new(shape: PackageGroupContactInfo, location_name: "contactInfo"))
294
+ CreatePackageGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
295
+ CreatePackageGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
296
+ CreatePackageGroupRequest.struct_class = Types::CreatePackageGroupRequest
297
+
298
+ CreatePackageGroupResult.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupDescription, location_name: "packageGroup"))
299
+ CreatePackageGroupResult.struct_class = Types::CreatePackageGroupResult
300
+
238
301
  CreateRepositoryRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
239
302
  CreateRepositoryRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
240
303
  CreateRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
@@ -261,6 +324,14 @@ module Aws::CodeArtifact
261
324
  DeleteDomainResult.add_member(:domain, Shapes::ShapeRef.new(shape: DomainDescription, location_name: "domain"))
262
325
  DeleteDomainResult.struct_class = Types::DeleteDomainResult
263
326
 
327
+ DeletePackageGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
328
+ DeletePackageGroupRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
329
+ DeletePackageGroupRequest.add_member(:package_group, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "package-group"))
330
+ DeletePackageGroupRequest.struct_class = Types::DeletePackageGroupRequest
331
+
332
+ DeletePackageGroupResult.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupDescription, location_name: "packageGroup"))
333
+ DeletePackageGroupResult.struct_class = Types::DeletePackageGroupResult
334
+
264
335
  DeletePackageRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
265
336
  DeletePackageRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
266
337
  DeletePackageRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
@@ -310,6 +381,14 @@ module Aws::CodeArtifact
310
381
  DescribeDomainResult.add_member(:domain, Shapes::ShapeRef.new(shape: DomainDescription, location_name: "domain"))
311
382
  DescribeDomainResult.struct_class = Types::DescribeDomainResult
312
383
 
384
+ DescribePackageGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
385
+ DescribePackageGroupRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
386
+ DescribePackageGroupRequest.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupPattern, required: true, location: "querystring", location_name: "package-group"))
387
+ DescribePackageGroupRequest.struct_class = Types::DescribePackageGroupRequest
388
+
389
+ DescribePackageGroupResult.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupDescription, location_name: "packageGroup"))
390
+ DescribePackageGroupResult.struct_class = Types::DescribePackageGroupResult
391
+
313
392
  DescribePackageRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
314
393
  DescribePackageRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
315
394
  DescribePackageRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
@@ -390,6 +469,17 @@ module Aws::CodeArtifact
390
469
 
391
470
  DomainSummaryList.member = Shapes::ShapeRef.new(shape: DomainSummary)
392
471
 
472
+ GetAssociatedPackageGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
473
+ GetAssociatedPackageGroupRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
474
+ GetAssociatedPackageGroupRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
475
+ GetAssociatedPackageGroupRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
476
+ GetAssociatedPackageGroupRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
477
+ GetAssociatedPackageGroupRequest.struct_class = Types::GetAssociatedPackageGroupRequest
478
+
479
+ GetAssociatedPackageGroupResult.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupDescription, location_name: "packageGroup"))
480
+ GetAssociatedPackageGroupResult.add_member(:association_type, Shapes::ShapeRef.new(shape: PackageGroupAssociationType, location_name: "associationType"))
481
+ GetAssociatedPackageGroupResult.struct_class = Types::GetAssociatedPackageGroupResult
482
+
393
483
  GetAuthorizationTokenRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
394
484
  GetAuthorizationTokenRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
395
485
  GetAuthorizationTokenRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: AuthorizationTokenDurationSeconds, location: "querystring", location_name: "duration"))
@@ -468,6 +558,30 @@ module Aws::CodeArtifact
468
558
 
469
559
  LicenseInfoList.member = Shapes::ShapeRef.new(shape: LicenseInfo)
470
560
 
561
+ ListAllowedRepositoriesForGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
562
+ ListAllowedRepositoriesForGroupRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
563
+ ListAllowedRepositoriesForGroupRequest.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupPattern, required: true, location: "querystring", location_name: "package-group"))
564
+ ListAllowedRepositoriesForGroupRequest.add_member(:origin_restriction_type, Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictionType, required: true, location: "querystring", location_name: "originRestrictionType"))
565
+ ListAllowedRepositoriesForGroupRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAllowedRepositoriesForGroupMaxResults, location: "querystring", location_name: "max-results"))
566
+ ListAllowedRepositoriesForGroupRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
567
+ ListAllowedRepositoriesForGroupRequest.struct_class = Types::ListAllowedRepositoriesForGroupRequest
568
+
569
+ ListAllowedRepositoriesForGroupResult.add_member(:allowed_repositories, Shapes::ShapeRef.new(shape: RepositoryNameList, location_name: "allowedRepositories"))
570
+ ListAllowedRepositoriesForGroupResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
571
+ ListAllowedRepositoriesForGroupResult.struct_class = Types::ListAllowedRepositoriesForGroupResult
572
+
573
+ ListAssociatedPackagesRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
574
+ ListAssociatedPackagesRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
575
+ ListAssociatedPackagesRequest.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupPattern, required: true, location: "querystring", location_name: "package-group"))
576
+ ListAssociatedPackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPackagesMaxResults, location: "querystring", location_name: "max-results"))
577
+ ListAssociatedPackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
578
+ ListAssociatedPackagesRequest.add_member(:preview, Shapes::ShapeRef.new(shape: BooleanOptional, location: "querystring", location_name: "preview"))
579
+ ListAssociatedPackagesRequest.struct_class = Types::ListAssociatedPackagesRequest
580
+
581
+ ListAssociatedPackagesResult.add_member(:packages, Shapes::ShapeRef.new(shape: AssociatedPackageList, location_name: "packages"))
582
+ ListAssociatedPackagesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
583
+ ListAssociatedPackagesResult.struct_class = Types::ListAssociatedPackagesResult
584
+
471
585
  ListDomainsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDomainsMaxResults, location_name: "maxResults"))
472
586
  ListDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
473
587
  ListDomainsRequest.struct_class = Types::ListDomainsRequest
@@ -476,6 +590,17 @@ module Aws::CodeArtifact
476
590
  ListDomainsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
477
591
  ListDomainsResult.struct_class = Types::ListDomainsResult
478
592
 
593
+ ListPackageGroupsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
594
+ ListPackageGroupsRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
595
+ ListPackageGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPackageGroupsMaxResults, location: "querystring", location_name: "max-results"))
596
+ ListPackageGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
597
+ ListPackageGroupsRequest.add_member(:prefix, Shapes::ShapeRef.new(shape: PackageGroupPatternPrefix, location: "querystring", location_name: "prefix"))
598
+ ListPackageGroupsRequest.struct_class = Types::ListPackageGroupsRequest
599
+
600
+ ListPackageGroupsResult.add_member(:package_groups, Shapes::ShapeRef.new(shape: PackageGroupSummaryList, location_name: "packageGroups"))
601
+ ListPackageGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
602
+ ListPackageGroupsResult.struct_class = Types::ListPackageGroupsResult
603
+
479
604
  ListPackageVersionAssetsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
480
605
  ListPackageVersionAssetsRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
481
606
  ListPackageVersionAssetsRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
@@ -573,12 +698,26 @@ module Aws::CodeArtifact
573
698
  ListRepositoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
574
699
  ListRepositoriesResult.struct_class = Types::ListRepositoriesResult
575
700
 
701
+ ListSubPackageGroupsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
702
+ ListSubPackageGroupsRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
703
+ ListSubPackageGroupsRequest.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupPattern, required: true, location: "querystring", location_name: "package-group"))
704
+ ListSubPackageGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPackageGroupsMaxResults, location: "querystring", location_name: "max-results"))
705
+ ListSubPackageGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
706
+ ListSubPackageGroupsRequest.struct_class = Types::ListSubPackageGroupsRequest
707
+
708
+ ListSubPackageGroupsResult.add_member(:package_groups, Shapes::ShapeRef.new(shape: PackageGroupSummaryList, location_name: "packageGroups"))
709
+ ListSubPackageGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
710
+ ListSubPackageGroupsResult.struct_class = Types::ListSubPackageGroupsResult
711
+
576
712
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "resourceArn"))
577
713
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
578
714
 
579
715
  ListTagsForResourceResult.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
580
716
  ListTagsForResourceResult.struct_class = Types::ListTagsForResourceResult
581
717
 
718
+ OriginRestrictions.key = Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictionType)
719
+ OriginRestrictions.value = Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictionMode)
720
+
582
721
  PackageDependency.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
583
722
  PackageDependency.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
584
723
  PackageDependency.add_member(:dependency_type, Shapes::ShapeRef.new(shape: String, location_name: "dependencyType"))
@@ -593,6 +732,58 @@ module Aws::CodeArtifact
593
732
  PackageDescription.add_member(:origin_configuration, Shapes::ShapeRef.new(shape: PackageOriginConfiguration, location_name: "originConfiguration"))
594
733
  PackageDescription.struct_class = Types::PackageDescription
595
734
 
735
+ PackageGroupAllowedRepository.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
736
+ PackageGroupAllowedRepository.add_member(:origin_restriction_type, Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictionType, location_name: "originRestrictionType"))
737
+ PackageGroupAllowedRepository.struct_class = Types::PackageGroupAllowedRepository
738
+
739
+ PackageGroupAllowedRepositoryList.member = Shapes::ShapeRef.new(shape: PackageGroupAllowedRepository)
740
+
741
+ PackageGroupAllowedRepositoryUpdate.key = Shapes::ShapeRef.new(shape: PackageGroupAllowedRepositoryUpdateType)
742
+ PackageGroupAllowedRepositoryUpdate.value = Shapes::ShapeRef.new(shape: RepositoryNameList)
743
+
744
+ PackageGroupAllowedRepositoryUpdates.key = Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictionType)
745
+ PackageGroupAllowedRepositoryUpdates.value = Shapes::ShapeRef.new(shape: PackageGroupAllowedRepositoryUpdate)
746
+
747
+ PackageGroupDescription.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
748
+ PackageGroupDescription.add_member(:pattern, Shapes::ShapeRef.new(shape: PackageGroupPattern, location_name: "pattern"))
749
+ PackageGroupDescription.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
750
+ PackageGroupDescription.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "domainOwner"))
751
+ PackageGroupDescription.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTime"))
752
+ PackageGroupDescription.add_member(:contact_info, Shapes::ShapeRef.new(shape: PackageGroupContactInfo, location_name: "contactInfo"))
753
+ PackageGroupDescription.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
754
+ PackageGroupDescription.add_member(:origin_configuration, Shapes::ShapeRef.new(shape: PackageGroupOriginConfiguration, location_name: "originConfiguration"))
755
+ PackageGroupDescription.add_member(:parent, Shapes::ShapeRef.new(shape: PackageGroupReference, location_name: "parent"))
756
+ PackageGroupDescription.struct_class = Types::PackageGroupDescription
757
+
758
+ PackageGroupOriginConfiguration.add_member(:restrictions, Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictions, location_name: "restrictions"))
759
+ PackageGroupOriginConfiguration.struct_class = Types::PackageGroupOriginConfiguration
760
+
761
+ PackageGroupOriginRestriction.add_member(:mode, Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictionMode, location_name: "mode"))
762
+ PackageGroupOriginRestriction.add_member(:effective_mode, Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictionMode, location_name: "effectiveMode"))
763
+ PackageGroupOriginRestriction.add_member(:inherited_from, Shapes::ShapeRef.new(shape: PackageGroupReference, location_name: "inheritedFrom"))
764
+ PackageGroupOriginRestriction.add_member(:repositories_count, Shapes::ShapeRef.new(shape: LongOptional, location_name: "repositoriesCount"))
765
+ PackageGroupOriginRestriction.struct_class = Types::PackageGroupOriginRestriction
766
+
767
+ PackageGroupOriginRestrictions.key = Shapes::ShapeRef.new(shape: PackageGroupOriginRestrictionType)
768
+ PackageGroupOriginRestrictions.value = Shapes::ShapeRef.new(shape: PackageGroupOriginRestriction)
769
+
770
+ PackageGroupReference.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
771
+ PackageGroupReference.add_member(:pattern, Shapes::ShapeRef.new(shape: PackageGroupPattern, location_name: "pattern"))
772
+ PackageGroupReference.struct_class = Types::PackageGroupReference
773
+
774
+ PackageGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
775
+ PackageGroupSummary.add_member(:pattern, Shapes::ShapeRef.new(shape: PackageGroupPattern, location_name: "pattern"))
776
+ PackageGroupSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
777
+ PackageGroupSummary.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "domainOwner"))
778
+ PackageGroupSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTime"))
779
+ PackageGroupSummary.add_member(:contact_info, Shapes::ShapeRef.new(shape: PackageGroupContactInfo, location_name: "contactInfo"))
780
+ PackageGroupSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
781
+ PackageGroupSummary.add_member(:origin_configuration, Shapes::ShapeRef.new(shape: PackageGroupOriginConfiguration, location_name: "originConfiguration"))
782
+ PackageGroupSummary.add_member(:parent, Shapes::ShapeRef.new(shape: PackageGroupReference, location_name: "parent"))
783
+ PackageGroupSummary.struct_class = Types::PackageGroupSummary
784
+
785
+ PackageGroupSummaryList.member = Shapes::ShapeRef.new(shape: PackageGroupSummary)
786
+
596
787
  PackageOriginConfiguration.add_member(:restrictions, Shapes::ShapeRef.new(shape: PackageOriginRestrictions, location_name: "restrictions"))
597
788
  PackageOriginConfiguration.struct_class = Types::PackageOriginConfiguration
598
789
 
@@ -720,6 +911,8 @@ module Aws::CodeArtifact
720
911
 
721
912
  RepositoryExternalConnectionInfoList.member = Shapes::ShapeRef.new(shape: RepositoryExternalConnectionInfo)
722
913
 
914
+ RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
915
+
723
916
  RepositorySummary.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "name"))
724
917
  RepositorySummary.add_member(:administrator_account, Shapes::ShapeRef.new(shape: AccountId, location_name: "administratorAccount"))
725
918
  RepositorySummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
@@ -777,6 +970,28 @@ module Aws::CodeArtifact
777
970
 
778
971
  UntagResourceResult.struct_class = Types::UntagResourceResult
779
972
 
973
+ UpdatePackageGroupOriginConfigurationRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
974
+ UpdatePackageGroupOriginConfigurationRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
975
+ UpdatePackageGroupOriginConfigurationRequest.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupPattern, required: true, location: "querystring", location_name: "package-group"))
976
+ UpdatePackageGroupOriginConfigurationRequest.add_member(:restrictions, Shapes::ShapeRef.new(shape: OriginRestrictions, location_name: "restrictions"))
977
+ UpdatePackageGroupOriginConfigurationRequest.add_member(:add_allowed_repositories, Shapes::ShapeRef.new(shape: PackageGroupAllowedRepositoryList, location_name: "addAllowedRepositories"))
978
+ UpdatePackageGroupOriginConfigurationRequest.add_member(:remove_allowed_repositories, Shapes::ShapeRef.new(shape: PackageGroupAllowedRepositoryList, location_name: "removeAllowedRepositories"))
979
+ UpdatePackageGroupOriginConfigurationRequest.struct_class = Types::UpdatePackageGroupOriginConfigurationRequest
980
+
981
+ UpdatePackageGroupOriginConfigurationResult.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupDescription, location_name: "packageGroup"))
982
+ UpdatePackageGroupOriginConfigurationResult.add_member(:allowed_repository_updates, Shapes::ShapeRef.new(shape: PackageGroupAllowedRepositoryUpdates, location_name: "allowedRepositoryUpdates"))
983
+ UpdatePackageGroupOriginConfigurationResult.struct_class = Types::UpdatePackageGroupOriginConfigurationResult
984
+
985
+ UpdatePackageGroupRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
986
+ UpdatePackageGroupRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
987
+ UpdatePackageGroupRequest.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupPattern, required: true, location_name: "packageGroup"))
988
+ UpdatePackageGroupRequest.add_member(:contact_info, Shapes::ShapeRef.new(shape: PackageGroupContactInfo, location_name: "contactInfo"))
989
+ UpdatePackageGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
990
+ UpdatePackageGroupRequest.struct_class = Types::UpdatePackageGroupRequest
991
+
992
+ UpdatePackageGroupResult.add_member(:package_group, Shapes::ShapeRef.new(shape: PackageGroupDescription, location_name: "packageGroup"))
993
+ UpdatePackageGroupResult.struct_class = Types::UpdatePackageGroupResult
994
+
780
995
  UpdatePackageVersionsStatusRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
781
996
  UpdatePackageVersionsStatusRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
782
997
  UpdatePackageVersionsStatusRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
@@ -880,6 +1095,21 @@ module Aws::CodeArtifact
880
1095
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
881
1096
  end)
882
1097
 
1098
+ api.add_operation(:create_package_group, Seahorse::Model::Operation.new.tap do |o|
1099
+ o.name = "CreatePackageGroup"
1100
+ o.http_method = "POST"
1101
+ o.http_request_uri = "/v1/package-group"
1102
+ o.input = Shapes::ShapeRef.new(shape: CreatePackageGroupRequest)
1103
+ o.output = Shapes::ShapeRef.new(shape: CreatePackageGroupResult)
1104
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1105
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1106
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1107
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1108
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1111
+ end)
1112
+
883
1113
  api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
884
1114
  o.name = "CreateRepository"
885
1115
  o.http_method = "POST"
@@ -936,6 +1166,21 @@ module Aws::CodeArtifact
936
1166
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
937
1167
  end)
938
1168
 
1169
+ api.add_operation(:delete_package_group, Seahorse::Model::Operation.new.tap do |o|
1170
+ o.name = "DeletePackageGroup"
1171
+ o.http_method = "DELETE"
1172
+ o.http_request_uri = "/v1/package-group"
1173
+ o.input = Shapes::ShapeRef.new(shape: DeletePackageGroupRequest)
1174
+ o.output = Shapes::ShapeRef.new(shape: DeletePackageGroupResult)
1175
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1176
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1177
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1178
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1179
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1180
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1181
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1182
+ end)
1183
+
939
1184
  api.add_operation(:delete_package_versions, Seahorse::Model::Operation.new.tap do |o|
940
1185
  o.name = "DeletePackageVersions"
941
1186
  o.http_method = "POST"
@@ -1004,6 +1249,19 @@ module Aws::CodeArtifact
1004
1249
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1005
1250
  end)
1006
1251
 
1252
+ api.add_operation(:describe_package_group, Seahorse::Model::Operation.new.tap do |o|
1253
+ o.name = "DescribePackageGroup"
1254
+ o.http_method = "GET"
1255
+ o.http_request_uri = "/v1/package-group"
1256
+ o.input = Shapes::ShapeRef.new(shape: DescribePackageGroupRequest)
1257
+ o.output = Shapes::ShapeRef.new(shape: DescribePackageGroupResult)
1258
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1259
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1260
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1262
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1263
+ end)
1264
+
1007
1265
  api.add_operation(:describe_package_version, Seahorse::Model::Operation.new.tap do |o|
1008
1266
  o.name = "DescribePackageVersion"
1009
1267
  o.http_method = "GET"
@@ -1060,6 +1318,18 @@ module Aws::CodeArtifact
1060
1318
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1061
1319
  end)
1062
1320
 
1321
+ api.add_operation(:get_associated_package_group, Seahorse::Model::Operation.new.tap do |o|
1322
+ o.name = "GetAssociatedPackageGroup"
1323
+ o.http_method = "GET"
1324
+ o.http_request_uri = "/v1/get-associated-package-group"
1325
+ o.input = Shapes::ShapeRef.new(shape: GetAssociatedPackageGroupRequest)
1326
+ o.output = Shapes::ShapeRef.new(shape: GetAssociatedPackageGroupResult)
1327
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1330
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1331
+ end)
1332
+
1063
1333
  api.add_operation(:get_authorization_token, Seahorse::Model::Operation.new.tap do |o|
1064
1334
  o.name = "GetAuthorizationToken"
1065
1335
  o.http_method = "POST"
@@ -1139,6 +1409,44 @@ module Aws::CodeArtifact
1139
1409
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1140
1410
  end)
1141
1411
 
1412
+ api.add_operation(:list_allowed_repositories_for_group, Seahorse::Model::Operation.new.tap do |o|
1413
+ o.name = "ListAllowedRepositoriesForGroup"
1414
+ o.http_method = "GET"
1415
+ o.http_request_uri = "/v1/package-group-allowed-repositories"
1416
+ o.input = Shapes::ShapeRef.new(shape: ListAllowedRepositoriesForGroupRequest)
1417
+ o.output = Shapes::ShapeRef.new(shape: ListAllowedRepositoriesForGroupResult)
1418
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1419
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1420
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1421
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1422
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1424
+ o[:pager] = Aws::Pager.new(
1425
+ limit_key: "max_results",
1426
+ tokens: {
1427
+ "next_token" => "next_token"
1428
+ }
1429
+ )
1430
+ end)
1431
+
1432
+ api.add_operation(:list_associated_packages, Seahorse::Model::Operation.new.tap do |o|
1433
+ o.name = "ListAssociatedPackages"
1434
+ o.http_method = "GET"
1435
+ o.http_request_uri = "/v1/list-associated-packages"
1436
+ o.input = Shapes::ShapeRef.new(shape: ListAssociatedPackagesRequest)
1437
+ o.output = Shapes::ShapeRef.new(shape: ListAssociatedPackagesResult)
1438
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1439
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1440
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1441
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1442
+ o[:pager] = Aws::Pager.new(
1443
+ limit_key: "max_results",
1444
+ tokens: {
1445
+ "next_token" => "next_token"
1446
+ }
1447
+ )
1448
+ end)
1449
+
1142
1450
  api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o|
1143
1451
  o.name = "ListDomains"
1144
1452
  o.http_method = "POST"
@@ -1157,6 +1465,25 @@ module Aws::CodeArtifact
1157
1465
  )
1158
1466
  end)
1159
1467
 
1468
+ api.add_operation(:list_package_groups, Seahorse::Model::Operation.new.tap do |o|
1469
+ o.name = "ListPackageGroups"
1470
+ o.http_method = "POST"
1471
+ o.http_request_uri = "/v1/package-groups"
1472
+ o.input = Shapes::ShapeRef.new(shape: ListPackageGroupsRequest)
1473
+ o.output = Shapes::ShapeRef.new(shape: ListPackageGroupsResult)
1474
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1475
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1476
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1477
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1478
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1479
+ o[:pager] = Aws::Pager.new(
1480
+ limit_key: "max_results",
1481
+ tokens: {
1482
+ "next_token" => "next_token"
1483
+ }
1484
+ )
1485
+ end)
1486
+
1160
1487
  api.add_operation(:list_package_version_assets, Seahorse::Model::Operation.new.tap do |o|
1161
1488
  o.name = "ListPackageVersionAssets"
1162
1489
  o.http_method = "POST"
@@ -1264,6 +1591,25 @@ module Aws::CodeArtifact
1264
1591
  )
1265
1592
  end)
1266
1593
 
1594
+ api.add_operation(:list_sub_package_groups, Seahorse::Model::Operation.new.tap do |o|
1595
+ o.name = "ListSubPackageGroups"
1596
+ o.http_method = "POST"
1597
+ o.http_request_uri = "/v1/package-groups/sub-groups"
1598
+ o.input = Shapes::ShapeRef.new(shape: ListSubPackageGroupsRequest)
1599
+ o.output = Shapes::ShapeRef.new(shape: ListSubPackageGroupsResult)
1600
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1601
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1602
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1603
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1604
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1605
+ o[:pager] = Aws::Pager.new(
1606
+ limit_key: "max_results",
1607
+ tokens: {
1608
+ "next_token" => "next_token"
1609
+ }
1610
+ )
1611
+ end)
1612
+
1267
1613
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1268
1614
  o.name = "ListTagsForResource"
1269
1615
  o.http_method = "POST"
@@ -1359,6 +1705,34 @@ module Aws::CodeArtifact
1359
1705
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1360
1706
  end)
1361
1707
 
1708
+ api.add_operation(:update_package_group, Seahorse::Model::Operation.new.tap do |o|
1709
+ o.name = "UpdatePackageGroup"
1710
+ o.http_method = "PUT"
1711
+ o.http_request_uri = "/v1/package-group"
1712
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageGroupRequest)
1713
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageGroupResult)
1714
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1715
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1716
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1717
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1718
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1719
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1720
+ end)
1721
+
1722
+ api.add_operation(:update_package_group_origin_configuration, Seahorse::Model::Operation.new.tap do |o|
1723
+ o.name = "UpdatePackageGroupOriginConfiguration"
1724
+ o.http_method = "PUT"
1725
+ o.http_request_uri = "/v1/package-group-origin-configuration"
1726
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageGroupOriginConfigurationRequest)
1727
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageGroupOriginConfigurationResult)
1728
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1729
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1730
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1731
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1732
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1733
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1734
+ end)
1735
+
1362
1736
  api.add_operation(:update_package_versions_status, Seahorse::Model::Operation.new.tap do |o|
1363
1737
  o.name = "UpdatePackageVersionsStatus"
1364
1738
  o.http_method = "POST"
@@ -32,7 +32,7 @@ module Aws::CodeArtifact
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://codeartifact-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"