aws-sdk-codeartifact 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1155 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::CodeArtifact
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
16
+ Arn = Shapes::StringShape.new(name: 'Arn')
17
+ Asset = Shapes::BlobShape.new(name: 'Asset', streaming: true)
18
+ AssetHashes = Shapes::MapShape.new(name: 'AssetHashes')
19
+ AssetName = Shapes::StringShape.new(name: 'AssetName')
20
+ AssetSummary = Shapes::StructureShape.new(name: 'AssetSummary')
21
+ AssetSummaryList = Shapes::ListShape.new(name: 'AssetSummaryList')
22
+ AssociateExternalConnectionRequest = Shapes::StructureShape.new(name: 'AssociateExternalConnectionRequest')
23
+ AssociateExternalConnectionResult = Shapes::StructureShape.new(name: 'AssociateExternalConnectionResult')
24
+ AuthorizationTokenDurationSeconds = Shapes::IntegerShape.new(name: 'AuthorizationTokenDurationSeconds')
25
+ BooleanOptional = Shapes::BooleanShape.new(name: 'BooleanOptional')
26
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
27
+ CopyPackageVersionsRequest = Shapes::StructureShape.new(name: 'CopyPackageVersionsRequest')
28
+ CopyPackageVersionsResult = Shapes::StructureShape.new(name: 'CopyPackageVersionsResult')
29
+ CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
30
+ CreateDomainResult = Shapes::StructureShape.new(name: 'CreateDomainResult')
31
+ CreateRepositoryRequest = Shapes::StructureShape.new(name: 'CreateRepositoryRequest')
32
+ CreateRepositoryResult = Shapes::StructureShape.new(name: 'CreateRepositoryResult')
33
+ DeleteDomainPermissionsPolicyRequest = Shapes::StructureShape.new(name: 'DeleteDomainPermissionsPolicyRequest')
34
+ DeleteDomainPermissionsPolicyResult = Shapes::StructureShape.new(name: 'DeleteDomainPermissionsPolicyResult')
35
+ DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
36
+ DeleteDomainResult = Shapes::StructureShape.new(name: 'DeleteDomainResult')
37
+ DeletePackageVersionsRequest = Shapes::StructureShape.new(name: 'DeletePackageVersionsRequest')
38
+ DeletePackageVersionsResult = Shapes::StructureShape.new(name: 'DeletePackageVersionsResult')
39
+ DeleteRepositoryPermissionsPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryPermissionsPolicyRequest')
40
+ DeleteRepositoryPermissionsPolicyResult = Shapes::StructureShape.new(name: 'DeleteRepositoryPermissionsPolicyResult')
41
+ DeleteRepositoryRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryRequest')
42
+ DeleteRepositoryResult = Shapes::StructureShape.new(name: 'DeleteRepositoryResult')
43
+ DescribeDomainRequest = Shapes::StructureShape.new(name: 'DescribeDomainRequest')
44
+ DescribeDomainResult = Shapes::StructureShape.new(name: 'DescribeDomainResult')
45
+ DescribePackageVersionRequest = Shapes::StructureShape.new(name: 'DescribePackageVersionRequest')
46
+ DescribePackageVersionResult = Shapes::StructureShape.new(name: 'DescribePackageVersionResult')
47
+ DescribeRepositoryRequest = Shapes::StructureShape.new(name: 'DescribeRepositoryRequest')
48
+ DescribeRepositoryResult = Shapes::StructureShape.new(name: 'DescribeRepositoryResult')
49
+ Description = Shapes::StringShape.new(name: 'Description')
50
+ DisassociateExternalConnectionRequest = Shapes::StructureShape.new(name: 'DisassociateExternalConnectionRequest')
51
+ DisassociateExternalConnectionResult = Shapes::StructureShape.new(name: 'DisassociateExternalConnectionResult')
52
+ DisposePackageVersionsRequest = Shapes::StructureShape.new(name: 'DisposePackageVersionsRequest')
53
+ DisposePackageVersionsResult = Shapes::StructureShape.new(name: 'DisposePackageVersionsResult')
54
+ DomainDescription = Shapes::StructureShape.new(name: 'DomainDescription')
55
+ DomainName = Shapes::StringShape.new(name: 'DomainName')
56
+ DomainStatus = Shapes::StringShape.new(name: 'DomainStatus')
57
+ DomainSummary = Shapes::StructureShape.new(name: 'DomainSummary')
58
+ DomainSummaryList = Shapes::ListShape.new(name: 'DomainSummaryList')
59
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
60
+ ExternalConnectionName = Shapes::StringShape.new(name: 'ExternalConnectionName')
61
+ ExternalConnectionStatus = Shapes::StringShape.new(name: 'ExternalConnectionStatus')
62
+ GetAuthorizationTokenRequest = Shapes::StructureShape.new(name: 'GetAuthorizationTokenRequest')
63
+ GetAuthorizationTokenResult = Shapes::StructureShape.new(name: 'GetAuthorizationTokenResult')
64
+ GetDomainPermissionsPolicyRequest = Shapes::StructureShape.new(name: 'GetDomainPermissionsPolicyRequest')
65
+ GetDomainPermissionsPolicyResult = Shapes::StructureShape.new(name: 'GetDomainPermissionsPolicyResult')
66
+ GetPackageVersionAssetRequest = Shapes::StructureShape.new(name: 'GetPackageVersionAssetRequest')
67
+ GetPackageVersionAssetResult = Shapes::StructureShape.new(name: 'GetPackageVersionAssetResult')
68
+ GetPackageVersionReadmeRequest = Shapes::StructureShape.new(name: 'GetPackageVersionReadmeRequest')
69
+ GetPackageVersionReadmeResult = Shapes::StructureShape.new(name: 'GetPackageVersionReadmeResult')
70
+ GetRepositoryEndpointRequest = Shapes::StructureShape.new(name: 'GetRepositoryEndpointRequest')
71
+ GetRepositoryEndpointResult = Shapes::StructureShape.new(name: 'GetRepositoryEndpointResult')
72
+ GetRepositoryPermissionsPolicyRequest = Shapes::StructureShape.new(name: 'GetRepositoryPermissionsPolicyRequest')
73
+ GetRepositoryPermissionsPolicyResult = Shapes::StructureShape.new(name: 'GetRepositoryPermissionsPolicyResult')
74
+ HashAlgorithm = Shapes::StringShape.new(name: 'HashAlgorithm')
75
+ HashValue = Shapes::StringShape.new(name: 'HashValue')
76
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
77
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
78
+ LicenseInfo = Shapes::StructureShape.new(name: 'LicenseInfo')
79
+ LicenseInfoList = Shapes::ListShape.new(name: 'LicenseInfoList')
80
+ ListDomainsMaxResults = Shapes::IntegerShape.new(name: 'ListDomainsMaxResults')
81
+ ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest')
82
+ ListDomainsResult = Shapes::StructureShape.new(name: 'ListDomainsResult')
83
+ ListPackageVersionAssetsMaxResults = Shapes::IntegerShape.new(name: 'ListPackageVersionAssetsMaxResults')
84
+ ListPackageVersionAssetsRequest = Shapes::StructureShape.new(name: 'ListPackageVersionAssetsRequest')
85
+ ListPackageVersionAssetsResult = Shapes::StructureShape.new(name: 'ListPackageVersionAssetsResult')
86
+ ListPackageVersionDependenciesRequest = Shapes::StructureShape.new(name: 'ListPackageVersionDependenciesRequest')
87
+ ListPackageVersionDependenciesResult = Shapes::StructureShape.new(name: 'ListPackageVersionDependenciesResult')
88
+ ListPackageVersionsMaxResults = Shapes::IntegerShape.new(name: 'ListPackageVersionsMaxResults')
89
+ ListPackageVersionsRequest = Shapes::StructureShape.new(name: 'ListPackageVersionsRequest')
90
+ ListPackageVersionsResult = Shapes::StructureShape.new(name: 'ListPackageVersionsResult')
91
+ ListPackagesMaxResults = Shapes::IntegerShape.new(name: 'ListPackagesMaxResults')
92
+ ListPackagesRequest = Shapes::StructureShape.new(name: 'ListPackagesRequest')
93
+ ListPackagesResult = Shapes::StructureShape.new(name: 'ListPackagesResult')
94
+ ListRepositoriesInDomainMaxResults = Shapes::IntegerShape.new(name: 'ListRepositoriesInDomainMaxResults')
95
+ ListRepositoriesInDomainRequest = Shapes::StructureShape.new(name: 'ListRepositoriesInDomainRequest')
96
+ ListRepositoriesInDomainResult = Shapes::StructureShape.new(name: 'ListRepositoriesInDomainResult')
97
+ ListRepositoriesMaxResults = Shapes::IntegerShape.new(name: 'ListRepositoriesMaxResults')
98
+ ListRepositoriesRequest = Shapes::StructureShape.new(name: 'ListRepositoriesRequest')
99
+ ListRepositoriesResult = Shapes::StructureShape.new(name: 'ListRepositoriesResult')
100
+ Long = Shapes::IntegerShape.new(name: 'Long')
101
+ LongOptional = Shapes::IntegerShape.new(name: 'LongOptional')
102
+ PackageDependency = Shapes::StructureShape.new(name: 'PackageDependency')
103
+ PackageDependencyList = Shapes::ListShape.new(name: 'PackageDependencyList')
104
+ PackageFormat = Shapes::StringShape.new(name: 'PackageFormat')
105
+ PackageName = Shapes::StringShape.new(name: 'PackageName')
106
+ PackageNamespace = Shapes::StringShape.new(name: 'PackageNamespace')
107
+ PackageSummary = Shapes::StructureShape.new(name: 'PackageSummary')
108
+ PackageSummaryList = Shapes::ListShape.new(name: 'PackageSummaryList')
109
+ PackageVersion = Shapes::StringShape.new(name: 'PackageVersion')
110
+ PackageVersionDescription = Shapes::StructureShape.new(name: 'PackageVersionDescription')
111
+ PackageVersionError = Shapes::StructureShape.new(name: 'PackageVersionError')
112
+ PackageVersionErrorCode = Shapes::StringShape.new(name: 'PackageVersionErrorCode')
113
+ PackageVersionErrorMap = Shapes::MapShape.new(name: 'PackageVersionErrorMap')
114
+ PackageVersionList = Shapes::ListShape.new(name: 'PackageVersionList')
115
+ PackageVersionRevision = Shapes::StringShape.new(name: 'PackageVersionRevision')
116
+ PackageVersionRevisionMap = Shapes::MapShape.new(name: 'PackageVersionRevisionMap')
117
+ PackageVersionSortType = Shapes::StringShape.new(name: 'PackageVersionSortType')
118
+ PackageVersionStatus = Shapes::StringShape.new(name: 'PackageVersionStatus')
119
+ PackageVersionSummary = Shapes::StructureShape.new(name: 'PackageVersionSummary')
120
+ PackageVersionSummaryList = Shapes::ListShape.new(name: 'PackageVersionSummaryList')
121
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
122
+ PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
123
+ PolicyRevision = Shapes::StringShape.new(name: 'PolicyRevision')
124
+ PutDomainPermissionsPolicyRequest = Shapes::StructureShape.new(name: 'PutDomainPermissionsPolicyRequest')
125
+ PutDomainPermissionsPolicyResult = Shapes::StructureShape.new(name: 'PutDomainPermissionsPolicyResult')
126
+ PutRepositoryPermissionsPolicyRequest = Shapes::StructureShape.new(name: 'PutRepositoryPermissionsPolicyRequest')
127
+ PutRepositoryPermissionsPolicyResult = Shapes::StructureShape.new(name: 'PutRepositoryPermissionsPolicyResult')
128
+ RepositoryDescription = Shapes::StructureShape.new(name: 'RepositoryDescription')
129
+ RepositoryExternalConnectionInfo = Shapes::StructureShape.new(name: 'RepositoryExternalConnectionInfo')
130
+ RepositoryExternalConnectionInfoList = Shapes::ListShape.new(name: 'RepositoryExternalConnectionInfoList')
131
+ RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
132
+ RepositorySummary = Shapes::StructureShape.new(name: 'RepositorySummary')
133
+ RepositorySummaryList = Shapes::ListShape.new(name: 'RepositorySummaryList')
134
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
135
+ ResourcePolicy = Shapes::StructureShape.new(name: 'ResourcePolicy')
136
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
137
+ RetryAfterSeconds = Shapes::IntegerShape.new(name: 'RetryAfterSeconds')
138
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
139
+ String = Shapes::StringShape.new(name: 'String')
140
+ String255 = Shapes::StringShape.new(name: 'String255')
141
+ SuccessfulPackageVersionInfo = Shapes::StructureShape.new(name: 'SuccessfulPackageVersionInfo')
142
+ SuccessfulPackageVersionInfoMap = Shapes::MapShape.new(name: 'SuccessfulPackageVersionInfoMap')
143
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
144
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
145
+ UpdatePackageVersionsStatusRequest = Shapes::StructureShape.new(name: 'UpdatePackageVersionsStatusRequest')
146
+ UpdatePackageVersionsStatusResult = Shapes::StructureShape.new(name: 'UpdatePackageVersionsStatusResult')
147
+ UpdateRepositoryRequest = Shapes::StructureShape.new(name: 'UpdateRepositoryRequest')
148
+ UpdateRepositoryResult = Shapes::StructureShape.new(name: 'UpdateRepositoryResult')
149
+ UpstreamRepository = Shapes::StructureShape.new(name: 'UpstreamRepository')
150
+ UpstreamRepositoryInfo = Shapes::StructureShape.new(name: 'UpstreamRepositoryInfo')
151
+ UpstreamRepositoryInfoList = Shapes::ListShape.new(name: 'UpstreamRepositoryInfoList')
152
+ UpstreamRepositoryList = Shapes::ListShape.new(name: 'UpstreamRepositoryList')
153
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
154
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
155
+
156
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
157
+ AccessDeniedException.struct_class = Types::AccessDeniedException
158
+
159
+ AssetHashes.key = Shapes::ShapeRef.new(shape: HashAlgorithm)
160
+ AssetHashes.value = Shapes::ShapeRef.new(shape: HashValue)
161
+
162
+ AssetSummary.add_member(:name, Shapes::ShapeRef.new(shape: AssetName, required: true, location_name: "name"))
163
+ AssetSummary.add_member(:size, Shapes::ShapeRef.new(shape: LongOptional, location_name: "size"))
164
+ AssetSummary.add_member(:hashes, Shapes::ShapeRef.new(shape: AssetHashes, location_name: "hashes"))
165
+ AssetSummary.struct_class = Types::AssetSummary
166
+
167
+ AssetSummaryList.member = Shapes::ShapeRef.new(shape: AssetSummary)
168
+
169
+ AssociateExternalConnectionRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
170
+ AssociateExternalConnectionRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
171
+ AssociateExternalConnectionRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
172
+ AssociateExternalConnectionRequest.add_member(:external_connection, Shapes::ShapeRef.new(shape: ExternalConnectionName, required: true, location: "querystring", location_name: "external-connection"))
173
+ AssociateExternalConnectionRequest.struct_class = Types::AssociateExternalConnectionRequest
174
+
175
+ AssociateExternalConnectionResult.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repository"))
176
+ AssociateExternalConnectionResult.struct_class = Types::AssociateExternalConnectionResult
177
+
178
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
179
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
180
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
181
+ ConflictException.struct_class = Types::ConflictException
182
+
183
+ CopyPackageVersionsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
184
+ CopyPackageVersionsRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
185
+ CopyPackageVersionsRequest.add_member(:source_repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "source-repository"))
186
+ CopyPackageVersionsRequest.add_member(:destination_repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "destination-repository"))
187
+ CopyPackageVersionsRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
188
+ CopyPackageVersionsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
189
+ CopyPackageVersionsRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
190
+ CopyPackageVersionsRequest.add_member(:versions, Shapes::ShapeRef.new(shape: PackageVersionList, location_name: "versions"))
191
+ CopyPackageVersionsRequest.add_member(:version_revisions, Shapes::ShapeRef.new(shape: PackageVersionRevisionMap, location_name: "versionRevisions"))
192
+ CopyPackageVersionsRequest.add_member(:allow_overwrite, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "allowOverwrite"))
193
+ CopyPackageVersionsRequest.add_member(:include_from_upstream, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "includeFromUpstream"))
194
+ CopyPackageVersionsRequest.struct_class = Types::CopyPackageVersionsRequest
195
+
196
+ CopyPackageVersionsResult.add_member(:successful_versions, Shapes::ShapeRef.new(shape: SuccessfulPackageVersionInfoMap, location_name: "successfulVersions"))
197
+ CopyPackageVersionsResult.add_member(:failed_versions, Shapes::ShapeRef.new(shape: PackageVersionErrorMap, location_name: "failedVersions"))
198
+ CopyPackageVersionsResult.struct_class = Types::CopyPackageVersionsResult
199
+
200
+ CreateDomainRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
201
+ CreateDomainRequest.add_member(:encryption_key, Shapes::ShapeRef.new(shape: Arn, location_name: "encryptionKey"))
202
+ CreateDomainRequest.struct_class = Types::CreateDomainRequest
203
+
204
+ CreateDomainResult.add_member(:domain, Shapes::ShapeRef.new(shape: DomainDescription, location_name: "domain"))
205
+ CreateDomainResult.struct_class = Types::CreateDomainResult
206
+
207
+ CreateRepositoryRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
208
+ CreateRepositoryRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
209
+ CreateRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
210
+ CreateRepositoryRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
211
+ CreateRepositoryRequest.add_member(:upstreams, Shapes::ShapeRef.new(shape: UpstreamRepositoryList, location_name: "upstreams"))
212
+ CreateRepositoryRequest.struct_class = Types::CreateRepositoryRequest
213
+
214
+ CreateRepositoryResult.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repository"))
215
+ CreateRepositoryResult.struct_class = Types::CreateRepositoryResult
216
+
217
+ DeleteDomainPermissionsPolicyRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
218
+ DeleteDomainPermissionsPolicyRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
219
+ DeleteDomainPermissionsPolicyRequest.add_member(:policy_revision, Shapes::ShapeRef.new(shape: PolicyRevision, location: "querystring", location_name: "policy-revision"))
220
+ DeleteDomainPermissionsPolicyRequest.struct_class = Types::DeleteDomainPermissionsPolicyRequest
221
+
222
+ DeleteDomainPermissionsPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "policy"))
223
+ DeleteDomainPermissionsPolicyResult.struct_class = Types::DeleteDomainPermissionsPolicyResult
224
+
225
+ DeleteDomainRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
226
+ DeleteDomainRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
227
+ DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
228
+
229
+ DeleteDomainResult.add_member(:domain, Shapes::ShapeRef.new(shape: DomainDescription, location_name: "domain"))
230
+ DeleteDomainResult.struct_class = Types::DeleteDomainResult
231
+
232
+ DeletePackageVersionsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
233
+ DeletePackageVersionsRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
234
+ DeletePackageVersionsRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
235
+ DeletePackageVersionsRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
236
+ DeletePackageVersionsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
237
+ DeletePackageVersionsRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
238
+ DeletePackageVersionsRequest.add_member(:versions, Shapes::ShapeRef.new(shape: PackageVersionList, required: true, location_name: "versions"))
239
+ DeletePackageVersionsRequest.add_member(:expected_status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "expectedStatus"))
240
+ DeletePackageVersionsRequest.struct_class = Types::DeletePackageVersionsRequest
241
+
242
+ DeletePackageVersionsResult.add_member(:successful_versions, Shapes::ShapeRef.new(shape: SuccessfulPackageVersionInfoMap, location_name: "successfulVersions"))
243
+ DeletePackageVersionsResult.add_member(:failed_versions, Shapes::ShapeRef.new(shape: PackageVersionErrorMap, location_name: "failedVersions"))
244
+ DeletePackageVersionsResult.struct_class = Types::DeletePackageVersionsResult
245
+
246
+ DeleteRepositoryPermissionsPolicyRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
247
+ DeleteRepositoryPermissionsPolicyRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
248
+ DeleteRepositoryPermissionsPolicyRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
249
+ DeleteRepositoryPermissionsPolicyRequest.add_member(:policy_revision, Shapes::ShapeRef.new(shape: PolicyRevision, location: "querystring", location_name: "policy-revision"))
250
+ DeleteRepositoryPermissionsPolicyRequest.struct_class = Types::DeleteRepositoryPermissionsPolicyRequest
251
+
252
+ DeleteRepositoryPermissionsPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "policy"))
253
+ DeleteRepositoryPermissionsPolicyResult.struct_class = Types::DeleteRepositoryPermissionsPolicyResult
254
+
255
+ DeleteRepositoryRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
256
+ DeleteRepositoryRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
257
+ DeleteRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
258
+ DeleteRepositoryRequest.struct_class = Types::DeleteRepositoryRequest
259
+
260
+ DeleteRepositoryResult.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repository"))
261
+ DeleteRepositoryResult.struct_class = Types::DeleteRepositoryResult
262
+
263
+ DescribeDomainRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
264
+ DescribeDomainRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
265
+ DescribeDomainRequest.struct_class = Types::DescribeDomainRequest
266
+
267
+ DescribeDomainResult.add_member(:domain, Shapes::ShapeRef.new(shape: DomainDescription, location_name: "domain"))
268
+ DescribeDomainResult.struct_class = Types::DescribeDomainResult
269
+
270
+ DescribePackageVersionRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
271
+ DescribePackageVersionRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
272
+ DescribePackageVersionRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
273
+ DescribePackageVersionRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
274
+ DescribePackageVersionRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
275
+ DescribePackageVersionRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
276
+ DescribePackageVersionRequest.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, required: true, location: "querystring", location_name: "version"))
277
+ DescribePackageVersionRequest.struct_class = Types::DescribePackageVersionRequest
278
+
279
+ DescribePackageVersionResult.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersionDescription, required: true, location_name: "packageVersion"))
280
+ DescribePackageVersionResult.struct_class = Types::DescribePackageVersionResult
281
+
282
+ DescribeRepositoryRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
283
+ DescribeRepositoryRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
284
+ DescribeRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
285
+ DescribeRepositoryRequest.struct_class = Types::DescribeRepositoryRequest
286
+
287
+ DescribeRepositoryResult.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repository"))
288
+ DescribeRepositoryResult.struct_class = Types::DescribeRepositoryResult
289
+
290
+ DisassociateExternalConnectionRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
291
+ DisassociateExternalConnectionRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
292
+ DisassociateExternalConnectionRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
293
+ DisassociateExternalConnectionRequest.add_member(:external_connection, Shapes::ShapeRef.new(shape: ExternalConnectionName, required: true, location: "querystring", location_name: "external-connection"))
294
+ DisassociateExternalConnectionRequest.struct_class = Types::DisassociateExternalConnectionRequest
295
+
296
+ DisassociateExternalConnectionResult.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repository"))
297
+ DisassociateExternalConnectionResult.struct_class = Types::DisassociateExternalConnectionResult
298
+
299
+ DisposePackageVersionsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
300
+ DisposePackageVersionsRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
301
+ DisposePackageVersionsRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
302
+ DisposePackageVersionsRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
303
+ DisposePackageVersionsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
304
+ DisposePackageVersionsRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
305
+ DisposePackageVersionsRequest.add_member(:versions, Shapes::ShapeRef.new(shape: PackageVersionList, required: true, location_name: "versions"))
306
+ DisposePackageVersionsRequest.add_member(:version_revisions, Shapes::ShapeRef.new(shape: PackageVersionRevisionMap, location_name: "versionRevisions"))
307
+ DisposePackageVersionsRequest.add_member(:expected_status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "expectedStatus"))
308
+ DisposePackageVersionsRequest.struct_class = Types::DisposePackageVersionsRequest
309
+
310
+ DisposePackageVersionsResult.add_member(:successful_versions, Shapes::ShapeRef.new(shape: SuccessfulPackageVersionInfoMap, location_name: "successfulVersions"))
311
+ DisposePackageVersionsResult.add_member(:failed_versions, Shapes::ShapeRef.new(shape: PackageVersionErrorMap, location_name: "failedVersions"))
312
+ DisposePackageVersionsResult.struct_class = Types::DisposePackageVersionsResult
313
+
314
+ DomainDescription.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, location_name: "name"))
315
+ DomainDescription.add_member(:owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "owner"))
316
+ DomainDescription.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
317
+ DomainDescription.add_member(:status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "status"))
318
+ DomainDescription.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTime"))
319
+ DomainDescription.add_member(:encryption_key, Shapes::ShapeRef.new(shape: Arn, location_name: "encryptionKey"))
320
+ DomainDescription.add_member(:repository_count, Shapes::ShapeRef.new(shape: Integer, location_name: "repositoryCount"))
321
+ DomainDescription.add_member(:asset_size_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "assetSizeBytes"))
322
+ DomainDescription.struct_class = Types::DomainDescription
323
+
324
+ DomainSummary.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, location_name: "name"))
325
+ DomainSummary.add_member(:owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "owner"))
326
+ DomainSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
327
+ DomainSummary.add_member(:status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "status"))
328
+ DomainSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdTime"))
329
+ DomainSummary.add_member(:encryption_key, Shapes::ShapeRef.new(shape: Arn, location_name: "encryptionKey"))
330
+ DomainSummary.struct_class = Types::DomainSummary
331
+
332
+ DomainSummaryList.member = Shapes::ShapeRef.new(shape: DomainSummary)
333
+
334
+ GetAuthorizationTokenRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
335
+ GetAuthorizationTokenRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
336
+ GetAuthorizationTokenRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: AuthorizationTokenDurationSeconds, location: "querystring", location_name: "duration"))
337
+ GetAuthorizationTokenRequest.struct_class = Types::GetAuthorizationTokenRequest
338
+
339
+ GetAuthorizationTokenResult.add_member(:authorization_token, Shapes::ShapeRef.new(shape: String, location_name: "authorizationToken"))
340
+ GetAuthorizationTokenResult.add_member(:expiration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expiration"))
341
+ GetAuthorizationTokenResult.struct_class = Types::GetAuthorizationTokenResult
342
+
343
+ GetDomainPermissionsPolicyRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
344
+ GetDomainPermissionsPolicyRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
345
+ GetDomainPermissionsPolicyRequest.struct_class = Types::GetDomainPermissionsPolicyRequest
346
+
347
+ GetDomainPermissionsPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "policy"))
348
+ GetDomainPermissionsPolicyResult.struct_class = Types::GetDomainPermissionsPolicyResult
349
+
350
+ GetPackageVersionAssetRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
351
+ GetPackageVersionAssetRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
352
+ GetPackageVersionAssetRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
353
+ GetPackageVersionAssetRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
354
+ GetPackageVersionAssetRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
355
+ GetPackageVersionAssetRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
356
+ GetPackageVersionAssetRequest.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, required: true, location: "querystring", location_name: "version"))
357
+ GetPackageVersionAssetRequest.add_member(:asset, Shapes::ShapeRef.new(shape: AssetName, required: true, location: "querystring", location_name: "asset"))
358
+ GetPackageVersionAssetRequest.add_member(:package_version_revision, Shapes::ShapeRef.new(shape: PackageVersionRevision, location: "querystring", location_name: "revision"))
359
+ GetPackageVersionAssetRequest.struct_class = Types::GetPackageVersionAssetRequest
360
+
361
+ GetPackageVersionAssetResult.add_member(:asset, Shapes::ShapeRef.new(shape: Asset, location_name: "asset"))
362
+ GetPackageVersionAssetResult.add_member(:asset_name, Shapes::ShapeRef.new(shape: AssetName, location: "header", location_name: "X-AssetName"))
363
+ GetPackageVersionAssetResult.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location: "header", location_name: "X-PackageVersion"))
364
+ GetPackageVersionAssetResult.add_member(:package_version_revision, Shapes::ShapeRef.new(shape: PackageVersionRevision, location: "header", location_name: "X-PackageVersionRevision"))
365
+ GetPackageVersionAssetResult.struct_class = Types::GetPackageVersionAssetResult
366
+ GetPackageVersionAssetResult[:payload] = :asset
367
+ GetPackageVersionAssetResult[:payload_member] = GetPackageVersionAssetResult.member(:asset)
368
+
369
+ GetPackageVersionReadmeRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
370
+ GetPackageVersionReadmeRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
371
+ GetPackageVersionReadmeRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
372
+ GetPackageVersionReadmeRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
373
+ GetPackageVersionReadmeRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
374
+ GetPackageVersionReadmeRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
375
+ GetPackageVersionReadmeRequest.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, required: true, location: "querystring", location_name: "version"))
376
+ GetPackageVersionReadmeRequest.struct_class = Types::GetPackageVersionReadmeRequest
377
+
378
+ GetPackageVersionReadmeResult.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, location_name: "format"))
379
+ GetPackageVersionReadmeResult.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
380
+ GetPackageVersionReadmeResult.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
381
+ GetPackageVersionReadmeResult.add_member(:version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "version"))
382
+ GetPackageVersionReadmeResult.add_member(:version_revision, Shapes::ShapeRef.new(shape: PackageVersionRevision, location_name: "versionRevision"))
383
+ GetPackageVersionReadmeResult.add_member(:readme, Shapes::ShapeRef.new(shape: String, location_name: "readme"))
384
+ GetPackageVersionReadmeResult.struct_class = Types::GetPackageVersionReadmeResult
385
+
386
+ GetRepositoryEndpointRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
387
+ GetRepositoryEndpointRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
388
+ GetRepositoryEndpointRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
389
+ GetRepositoryEndpointRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
390
+ GetRepositoryEndpointRequest.struct_class = Types::GetRepositoryEndpointRequest
391
+
392
+ GetRepositoryEndpointResult.add_member(:repository_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "repositoryEndpoint"))
393
+ GetRepositoryEndpointResult.struct_class = Types::GetRepositoryEndpointResult
394
+
395
+ GetRepositoryPermissionsPolicyRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
396
+ GetRepositoryPermissionsPolicyRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
397
+ GetRepositoryPermissionsPolicyRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
398
+ GetRepositoryPermissionsPolicyRequest.struct_class = Types::GetRepositoryPermissionsPolicyRequest
399
+
400
+ GetRepositoryPermissionsPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "policy"))
401
+ GetRepositoryPermissionsPolicyResult.struct_class = Types::GetRepositoryPermissionsPolicyResult
402
+
403
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
404
+ InternalServerException.struct_class = Types::InternalServerException
405
+
406
+ LicenseInfo.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
407
+ LicenseInfo.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
408
+ LicenseInfo.struct_class = Types::LicenseInfo
409
+
410
+ LicenseInfoList.member = Shapes::ShapeRef.new(shape: LicenseInfo)
411
+
412
+ ListDomainsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDomainsMaxResults, location_name: "maxResults"))
413
+ ListDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
414
+ ListDomainsRequest.struct_class = Types::ListDomainsRequest
415
+
416
+ ListDomainsResult.add_member(:domains, Shapes::ShapeRef.new(shape: DomainSummaryList, location_name: "domains"))
417
+ ListDomainsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
418
+ ListDomainsResult.struct_class = Types::ListDomainsResult
419
+
420
+ ListPackageVersionAssetsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
421
+ ListPackageVersionAssetsRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
422
+ ListPackageVersionAssetsRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
423
+ ListPackageVersionAssetsRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
424
+ ListPackageVersionAssetsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
425
+ ListPackageVersionAssetsRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
426
+ ListPackageVersionAssetsRequest.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, required: true, location: "querystring", location_name: "version"))
427
+ ListPackageVersionAssetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPackageVersionAssetsMaxResults, location: "querystring", location_name: "max-results"))
428
+ ListPackageVersionAssetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
429
+ ListPackageVersionAssetsRequest.struct_class = Types::ListPackageVersionAssetsRequest
430
+
431
+ ListPackageVersionAssetsResult.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, location_name: "format"))
432
+ ListPackageVersionAssetsResult.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
433
+ ListPackageVersionAssetsResult.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
434
+ ListPackageVersionAssetsResult.add_member(:version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "version"))
435
+ ListPackageVersionAssetsResult.add_member(:version_revision, Shapes::ShapeRef.new(shape: PackageVersionRevision, location_name: "versionRevision"))
436
+ ListPackageVersionAssetsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
437
+ ListPackageVersionAssetsResult.add_member(:assets, Shapes::ShapeRef.new(shape: AssetSummaryList, location_name: "assets"))
438
+ ListPackageVersionAssetsResult.struct_class = Types::ListPackageVersionAssetsResult
439
+
440
+ ListPackageVersionDependenciesRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
441
+ ListPackageVersionDependenciesRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
442
+ ListPackageVersionDependenciesRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
443
+ ListPackageVersionDependenciesRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
444
+ ListPackageVersionDependenciesRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
445
+ ListPackageVersionDependenciesRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
446
+ ListPackageVersionDependenciesRequest.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, required: true, location: "querystring", location_name: "version"))
447
+ ListPackageVersionDependenciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
448
+ ListPackageVersionDependenciesRequest.struct_class = Types::ListPackageVersionDependenciesRequest
449
+
450
+ ListPackageVersionDependenciesResult.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, location_name: "format"))
451
+ ListPackageVersionDependenciesResult.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
452
+ ListPackageVersionDependenciesResult.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
453
+ ListPackageVersionDependenciesResult.add_member(:version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "version"))
454
+ ListPackageVersionDependenciesResult.add_member(:version_revision, Shapes::ShapeRef.new(shape: PackageVersionRevision, location_name: "versionRevision"))
455
+ ListPackageVersionDependenciesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
456
+ ListPackageVersionDependenciesResult.add_member(:dependencies, Shapes::ShapeRef.new(shape: PackageDependencyList, location_name: "dependencies"))
457
+ ListPackageVersionDependenciesResult.struct_class = Types::ListPackageVersionDependenciesResult
458
+
459
+ ListPackageVersionsRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
460
+ ListPackageVersionsRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
461
+ ListPackageVersionsRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
462
+ ListPackageVersionsRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
463
+ ListPackageVersionsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
464
+ ListPackageVersionsRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
465
+ ListPackageVersionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location: "querystring", location_name: "status"))
466
+ ListPackageVersionsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: PackageVersionSortType, location: "querystring", location_name: "sortBy"))
467
+ ListPackageVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPackageVersionsMaxResults, location: "querystring", location_name: "max-results"))
468
+ ListPackageVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
469
+ ListPackageVersionsRequest.struct_class = Types::ListPackageVersionsRequest
470
+
471
+ ListPackageVersionsResult.add_member(:default_display_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "defaultDisplayVersion"))
472
+ ListPackageVersionsResult.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, location_name: "format"))
473
+ ListPackageVersionsResult.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
474
+ ListPackageVersionsResult.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
475
+ ListPackageVersionsResult.add_member(:versions, Shapes::ShapeRef.new(shape: PackageVersionSummaryList, location_name: "versions"))
476
+ ListPackageVersionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
477
+ ListPackageVersionsResult.struct_class = Types::ListPackageVersionsResult
478
+
479
+ ListPackagesRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
480
+ ListPackagesRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
481
+ ListPackagesRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
482
+ ListPackagesRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, location: "querystring", location_name: "format"))
483
+ ListPackagesRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
484
+ ListPackagesRequest.add_member(:package_prefix, Shapes::ShapeRef.new(shape: PackageName, location: "querystring", location_name: "package-prefix"))
485
+ ListPackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPackagesMaxResults, location: "querystring", location_name: "max-results"))
486
+ ListPackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
487
+ ListPackagesRequest.struct_class = Types::ListPackagesRequest
488
+
489
+ ListPackagesResult.add_member(:packages, Shapes::ShapeRef.new(shape: PackageSummaryList, location_name: "packages"))
490
+ ListPackagesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
491
+ ListPackagesResult.struct_class = Types::ListPackagesResult
492
+
493
+ ListRepositoriesInDomainRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
494
+ ListRepositoriesInDomainRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
495
+ ListRepositoriesInDomainRequest.add_member(:administrator_account, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "administrator-account"))
496
+ ListRepositoriesInDomainRequest.add_member(:repository_prefix, Shapes::ShapeRef.new(shape: RepositoryName, location: "querystring", location_name: "repository-prefix"))
497
+ ListRepositoriesInDomainRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRepositoriesInDomainMaxResults, location: "querystring", location_name: "max-results"))
498
+ ListRepositoriesInDomainRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
499
+ ListRepositoriesInDomainRequest.struct_class = Types::ListRepositoriesInDomainRequest
500
+
501
+ ListRepositoriesInDomainResult.add_member(:repositories, Shapes::ShapeRef.new(shape: RepositorySummaryList, location_name: "repositories"))
502
+ ListRepositoriesInDomainResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
503
+ ListRepositoriesInDomainResult.struct_class = Types::ListRepositoriesInDomainResult
504
+
505
+ ListRepositoriesRequest.add_member(:repository_prefix, Shapes::ShapeRef.new(shape: RepositoryName, location: "querystring", location_name: "repository-prefix"))
506
+ ListRepositoriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRepositoriesMaxResults, location: "querystring", location_name: "max-results"))
507
+ ListRepositoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "next-token"))
508
+ ListRepositoriesRequest.struct_class = Types::ListRepositoriesRequest
509
+
510
+ ListRepositoriesResult.add_member(:repositories, Shapes::ShapeRef.new(shape: RepositorySummaryList, location_name: "repositories"))
511
+ ListRepositoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
512
+ ListRepositoriesResult.struct_class = Types::ListRepositoriesResult
513
+
514
+ PackageDependency.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
515
+ PackageDependency.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
516
+ PackageDependency.add_member(:dependency_type, Shapes::ShapeRef.new(shape: String, location_name: "dependencyType"))
517
+ PackageDependency.add_member(:version_requirement, Shapes::ShapeRef.new(shape: String, location_name: "versionRequirement"))
518
+ PackageDependency.struct_class = Types::PackageDependency
519
+
520
+ PackageDependencyList.member = Shapes::ShapeRef.new(shape: PackageDependency)
521
+
522
+ PackageSummary.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, location_name: "format"))
523
+ PackageSummary.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
524
+ PackageSummary.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, location_name: "package"))
525
+ PackageSummary.struct_class = Types::PackageSummary
526
+
527
+ PackageSummaryList.member = Shapes::ShapeRef.new(shape: PackageSummary)
528
+
529
+ PackageVersionDescription.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, location_name: "format"))
530
+ PackageVersionDescription.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location_name: "namespace"))
531
+ PackageVersionDescription.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
532
+ PackageVersionDescription.add_member(:display_name, Shapes::ShapeRef.new(shape: String255, location_name: "displayName"))
533
+ PackageVersionDescription.add_member(:version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "version"))
534
+ PackageVersionDescription.add_member(:summary, Shapes::ShapeRef.new(shape: String, location_name: "summary"))
535
+ PackageVersionDescription.add_member(:home_page, Shapes::ShapeRef.new(shape: String, location_name: "homePage"))
536
+ PackageVersionDescription.add_member(:source_code_repository, Shapes::ShapeRef.new(shape: String, location_name: "sourceCodeRepository"))
537
+ PackageVersionDescription.add_member(:published_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "publishedTime"))
538
+ PackageVersionDescription.add_member(:licenses, Shapes::ShapeRef.new(shape: LicenseInfoList, location_name: "licenses"))
539
+ PackageVersionDescription.add_member(:revision, Shapes::ShapeRef.new(shape: PackageVersionRevision, location_name: "revision"))
540
+ PackageVersionDescription.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
541
+ PackageVersionDescription.struct_class = Types::PackageVersionDescription
542
+
543
+ PackageVersionError.add_member(:error_code, Shapes::ShapeRef.new(shape: PackageVersionErrorCode, location_name: "errorCode"))
544
+ PackageVersionError.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
545
+ PackageVersionError.struct_class = Types::PackageVersionError
546
+
547
+ PackageVersionErrorMap.key = Shapes::ShapeRef.new(shape: PackageVersion)
548
+ PackageVersionErrorMap.value = Shapes::ShapeRef.new(shape: PackageVersionError)
549
+
550
+ PackageVersionList.member = Shapes::ShapeRef.new(shape: PackageVersion)
551
+
552
+ PackageVersionRevisionMap.key = Shapes::ShapeRef.new(shape: PackageVersion)
553
+ PackageVersionRevisionMap.value = Shapes::ShapeRef.new(shape: PackageVersionRevision)
554
+
555
+ PackageVersionSummary.add_member(:version, Shapes::ShapeRef.new(shape: PackageVersion, required: true, location_name: "version"))
556
+ PackageVersionSummary.add_member(:revision, Shapes::ShapeRef.new(shape: PackageVersionRevision, location_name: "revision"))
557
+ PackageVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, required: true, location_name: "status"))
558
+ PackageVersionSummary.struct_class = Types::PackageVersionSummary
559
+
560
+ PackageVersionSummaryList.member = Shapes::ShapeRef.new(shape: PackageVersionSummary)
561
+
562
+ PutDomainPermissionsPolicyRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domain"))
563
+ PutDomainPermissionsPolicyRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "domainOwner"))
564
+ PutDomainPermissionsPolicyRequest.add_member(:policy_revision, Shapes::ShapeRef.new(shape: PolicyRevision, location_name: "policyRevision"))
565
+ PutDomainPermissionsPolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
566
+ PutDomainPermissionsPolicyRequest.struct_class = Types::PutDomainPermissionsPolicyRequest
567
+
568
+ PutDomainPermissionsPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "policy"))
569
+ PutDomainPermissionsPolicyResult.struct_class = Types::PutDomainPermissionsPolicyResult
570
+
571
+ PutRepositoryPermissionsPolicyRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
572
+ PutRepositoryPermissionsPolicyRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
573
+ PutRepositoryPermissionsPolicyRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
574
+ PutRepositoryPermissionsPolicyRequest.add_member(:policy_revision, Shapes::ShapeRef.new(shape: PolicyRevision, location_name: "policyRevision"))
575
+ PutRepositoryPermissionsPolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
576
+ PutRepositoryPermissionsPolicyRequest.struct_class = Types::PutRepositoryPermissionsPolicyRequest
577
+
578
+ PutRepositoryPermissionsPolicyResult.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "policy"))
579
+ PutRepositoryPermissionsPolicyResult.struct_class = Types::PutRepositoryPermissionsPolicyResult
580
+
581
+ RepositoryDescription.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "name"))
582
+ RepositoryDescription.add_member(:administrator_account, Shapes::ShapeRef.new(shape: AccountId, location_name: "administratorAccount"))
583
+ RepositoryDescription.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
584
+ RepositoryDescription.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "domainOwner"))
585
+ RepositoryDescription.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
586
+ RepositoryDescription.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
587
+ RepositoryDescription.add_member(:upstreams, Shapes::ShapeRef.new(shape: UpstreamRepositoryInfoList, location_name: "upstreams"))
588
+ RepositoryDescription.add_member(:external_connections, Shapes::ShapeRef.new(shape: RepositoryExternalConnectionInfoList, location_name: "externalConnections"))
589
+ RepositoryDescription.struct_class = Types::RepositoryDescription
590
+
591
+ RepositoryExternalConnectionInfo.add_member(:external_connection_name, Shapes::ShapeRef.new(shape: ExternalConnectionName, location_name: "externalConnectionName"))
592
+ RepositoryExternalConnectionInfo.add_member(:package_format, Shapes::ShapeRef.new(shape: PackageFormat, location_name: "packageFormat"))
593
+ RepositoryExternalConnectionInfo.add_member(:status, Shapes::ShapeRef.new(shape: ExternalConnectionStatus, location_name: "status"))
594
+ RepositoryExternalConnectionInfo.struct_class = Types::RepositoryExternalConnectionInfo
595
+
596
+ RepositoryExternalConnectionInfoList.member = Shapes::ShapeRef.new(shape: RepositoryExternalConnectionInfo)
597
+
598
+ RepositorySummary.add_member(:name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "name"))
599
+ RepositorySummary.add_member(:administrator_account, Shapes::ShapeRef.new(shape: AccountId, location_name: "administratorAccount"))
600
+ RepositorySummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
601
+ RepositorySummary.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "domainOwner"))
602
+ RepositorySummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
603
+ RepositorySummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
604
+ RepositorySummary.struct_class = Types::RepositorySummary
605
+
606
+ RepositorySummaryList.member = Shapes::ShapeRef.new(shape: RepositorySummary)
607
+
608
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
609
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
610
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
611
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
612
+
613
+ ResourcePolicy.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "resourceArn"))
614
+ ResourcePolicy.add_member(:revision, Shapes::ShapeRef.new(shape: PolicyRevision, location_name: "revision"))
615
+ ResourcePolicy.add_member(:document, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "document"))
616
+ ResourcePolicy.struct_class = Types::ResourcePolicy
617
+
618
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
619
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
620
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
621
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
622
+
623
+ SuccessfulPackageVersionInfo.add_member(:revision, Shapes::ShapeRef.new(shape: String, location_name: "revision"))
624
+ SuccessfulPackageVersionInfo.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
625
+ SuccessfulPackageVersionInfo.struct_class = Types::SuccessfulPackageVersionInfo
626
+
627
+ SuccessfulPackageVersionInfoMap.key = Shapes::ShapeRef.new(shape: PackageVersion)
628
+ SuccessfulPackageVersionInfoMap.value = Shapes::ShapeRef.new(shape: SuccessfulPackageVersionInfo)
629
+
630
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
631
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
632
+ ThrottlingException.struct_class = Types::ThrottlingException
633
+
634
+ UpdatePackageVersionsStatusRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
635
+ UpdatePackageVersionsStatusRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
636
+ UpdatePackageVersionsStatusRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
637
+ UpdatePackageVersionsStatusRequest.add_member(:format, Shapes::ShapeRef.new(shape: PackageFormat, required: true, location: "querystring", location_name: "format"))
638
+ UpdatePackageVersionsStatusRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: PackageNamespace, location: "querystring", location_name: "namespace"))
639
+ UpdatePackageVersionsStatusRequest.add_member(:package, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "querystring", location_name: "package"))
640
+ UpdatePackageVersionsStatusRequest.add_member(:versions, Shapes::ShapeRef.new(shape: PackageVersionList, required: true, location_name: "versions"))
641
+ UpdatePackageVersionsStatusRequest.add_member(:version_revisions, Shapes::ShapeRef.new(shape: PackageVersionRevisionMap, location_name: "versionRevisions"))
642
+ UpdatePackageVersionsStatusRequest.add_member(:expected_status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "expectedStatus"))
643
+ UpdatePackageVersionsStatusRequest.add_member(:target_status, Shapes::ShapeRef.new(shape: PackageVersionStatus, required: true, location_name: "targetStatus"))
644
+ UpdatePackageVersionsStatusRequest.struct_class = Types::UpdatePackageVersionsStatusRequest
645
+
646
+ UpdatePackageVersionsStatusResult.add_member(:successful_versions, Shapes::ShapeRef.new(shape: SuccessfulPackageVersionInfoMap, location_name: "successfulVersions"))
647
+ UpdatePackageVersionsStatusResult.add_member(:failed_versions, Shapes::ShapeRef.new(shape: PackageVersionErrorMap, location_name: "failedVersions"))
648
+ UpdatePackageVersionsStatusResult.struct_class = Types::UpdatePackageVersionsStatusResult
649
+
650
+ UpdateRepositoryRequest.add_member(:domain, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "querystring", location_name: "domain"))
651
+ UpdateRepositoryRequest.add_member(:domain_owner, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "domain-owner"))
652
+ UpdateRepositoryRequest.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location: "querystring", location_name: "repository"))
653
+ UpdateRepositoryRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
654
+ UpdateRepositoryRequest.add_member(:upstreams, Shapes::ShapeRef.new(shape: UpstreamRepositoryList, location_name: "upstreams"))
655
+ UpdateRepositoryRequest.struct_class = Types::UpdateRepositoryRequest
656
+
657
+ UpdateRepositoryResult.add_member(:repository, Shapes::ShapeRef.new(shape: RepositoryDescription, location_name: "repository"))
658
+ UpdateRepositoryResult.struct_class = Types::UpdateRepositoryResult
659
+
660
+ UpstreamRepository.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
661
+ UpstreamRepository.struct_class = Types::UpstreamRepository
662
+
663
+ UpstreamRepositoryInfo.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
664
+ UpstreamRepositoryInfo.struct_class = Types::UpstreamRepositoryInfo
665
+
666
+ UpstreamRepositoryInfoList.member = Shapes::ShapeRef.new(shape: UpstreamRepositoryInfo)
667
+
668
+ UpstreamRepositoryList.member = Shapes::ShapeRef.new(shape: UpstreamRepository)
669
+
670
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
671
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
672
+ ValidationException.struct_class = Types::ValidationException
673
+
674
+
675
+ # @api private
676
+ API = Seahorse::Model::Api.new.tap do |api|
677
+
678
+ api.version = "2018-09-22"
679
+
680
+ api.metadata = {
681
+ "apiVersion" => "2018-09-22",
682
+ "endpointPrefix" => "codeartifact",
683
+ "jsonVersion" => "1.1",
684
+ "protocol" => "rest-json",
685
+ "serviceFullName" => "CodeArtifact",
686
+ "serviceId" => "codeartifact",
687
+ "signatureVersion" => "v4",
688
+ "signingName" => "codeartifact",
689
+ "uid" => "codeartifact-2018-09-22",
690
+ }
691
+
692
+ api.add_operation(:associate_external_connection, Seahorse::Model::Operation.new.tap do |o|
693
+ o.name = "AssociateExternalConnection"
694
+ o.http_method = "POST"
695
+ o.http_request_uri = "/v1/repository/external-connection"
696
+ o.input = Shapes::ShapeRef.new(shape: AssociateExternalConnectionRequest)
697
+ o.output = Shapes::ShapeRef.new(shape: AssociateExternalConnectionResult)
698
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
699
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
700
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
701
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
702
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
703
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
704
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
705
+ end)
706
+
707
+ api.add_operation(:copy_package_versions, Seahorse::Model::Operation.new.tap do |o|
708
+ o.name = "CopyPackageVersions"
709
+ o.http_method = "POST"
710
+ o.http_request_uri = "/v1/package/versions/copy"
711
+ o.input = Shapes::ShapeRef.new(shape: CopyPackageVersionsRequest)
712
+ o.output = Shapes::ShapeRef.new(shape: CopyPackageVersionsResult)
713
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
715
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
716
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
719
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
720
+ end)
721
+
722
+ api.add_operation(:create_domain, Seahorse::Model::Operation.new.tap do |o|
723
+ o.name = "CreateDomain"
724
+ o.http_method = "POST"
725
+ o.http_request_uri = "/v1/domain"
726
+ o.input = Shapes::ShapeRef.new(shape: CreateDomainRequest)
727
+ o.output = Shapes::ShapeRef.new(shape: CreateDomainResult)
728
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
729
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
730
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
731
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
732
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
733
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
734
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
735
+ end)
736
+
737
+ api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
738
+ o.name = "CreateRepository"
739
+ o.http_method = "POST"
740
+ o.http_request_uri = "/v1/repository"
741
+ o.input = Shapes::ShapeRef.new(shape: CreateRepositoryRequest)
742
+ o.output = Shapes::ShapeRef.new(shape: CreateRepositoryResult)
743
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
744
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
745
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
746
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
747
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
748
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
749
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
750
+ end)
751
+
752
+ api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
753
+ o.name = "DeleteDomain"
754
+ o.http_method = "DELETE"
755
+ o.http_request_uri = "/v1/domain"
756
+ o.input = Shapes::ShapeRef.new(shape: DeleteDomainRequest)
757
+ o.output = Shapes::ShapeRef.new(shape: DeleteDomainResult)
758
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
759
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
760
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
761
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
762
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
764
+ end)
765
+
766
+ api.add_operation(:delete_domain_permissions_policy, Seahorse::Model::Operation.new.tap do |o|
767
+ o.name = "DeleteDomainPermissionsPolicy"
768
+ o.http_method = "DELETE"
769
+ o.http_request_uri = "/v1/domain/permissions/policy"
770
+ o.input = Shapes::ShapeRef.new(shape: DeleteDomainPermissionsPolicyRequest)
771
+ o.output = Shapes::ShapeRef.new(shape: DeleteDomainPermissionsPolicyResult)
772
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
773
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
774
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
775
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
776
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
777
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
778
+ end)
779
+
780
+ api.add_operation(:delete_package_versions, Seahorse::Model::Operation.new.tap do |o|
781
+ o.name = "DeletePackageVersions"
782
+ o.http_method = "POST"
783
+ o.http_request_uri = "/v1/package/versions/delete"
784
+ o.input = Shapes::ShapeRef.new(shape: DeletePackageVersionsRequest)
785
+ o.output = Shapes::ShapeRef.new(shape: DeletePackageVersionsResult)
786
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
787
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
788
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
789
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
792
+ end)
793
+
794
+ api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
795
+ o.name = "DeleteRepository"
796
+ o.http_method = "DELETE"
797
+ o.http_request_uri = "/v1/repository"
798
+ o.input = Shapes::ShapeRef.new(shape: DeleteRepositoryRequest)
799
+ o.output = Shapes::ShapeRef.new(shape: DeleteRepositoryResult)
800
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
801
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
802
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
803
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
804
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
805
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
806
+ end)
807
+
808
+ api.add_operation(:delete_repository_permissions_policy, Seahorse::Model::Operation.new.tap do |o|
809
+ o.name = "DeleteRepositoryPermissionsPolicy"
810
+ o.http_method = "DELETE"
811
+ o.http_request_uri = "/v1/repository/permissions/policies"
812
+ o.input = Shapes::ShapeRef.new(shape: DeleteRepositoryPermissionsPolicyRequest)
813
+ o.output = Shapes::ShapeRef.new(shape: DeleteRepositoryPermissionsPolicyResult)
814
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
816
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
817
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
818
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
819
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
820
+ end)
821
+
822
+ api.add_operation(:describe_domain, Seahorse::Model::Operation.new.tap do |o|
823
+ o.name = "DescribeDomain"
824
+ o.http_method = "GET"
825
+ o.http_request_uri = "/v1/domain"
826
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainRequest)
827
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainResult)
828
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
829
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
830
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
831
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
833
+ end)
834
+
835
+ api.add_operation(:describe_package_version, Seahorse::Model::Operation.new.tap do |o|
836
+ o.name = "DescribePackageVersion"
837
+ o.http_method = "GET"
838
+ o.http_request_uri = "/v1/package/version"
839
+ o.input = Shapes::ShapeRef.new(shape: DescribePackageVersionRequest)
840
+ o.output = Shapes::ShapeRef.new(shape: DescribePackageVersionResult)
841
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
842
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
843
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
844
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
847
+ end)
848
+
849
+ api.add_operation(:describe_repository, Seahorse::Model::Operation.new.tap do |o|
850
+ o.name = "DescribeRepository"
851
+ o.http_method = "GET"
852
+ o.http_request_uri = "/v1/repository"
853
+ o.input = Shapes::ShapeRef.new(shape: DescribeRepositoryRequest)
854
+ o.output = Shapes::ShapeRef.new(shape: DescribeRepositoryResult)
855
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
856
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
857
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
858
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
859
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
860
+ end)
861
+
862
+ api.add_operation(:disassociate_external_connection, Seahorse::Model::Operation.new.tap do |o|
863
+ o.name = "DisassociateExternalConnection"
864
+ o.http_method = "DELETE"
865
+ o.http_request_uri = "/v1/repository/external-connection"
866
+ o.input = Shapes::ShapeRef.new(shape: DisassociateExternalConnectionRequest)
867
+ o.output = Shapes::ShapeRef.new(shape: DisassociateExternalConnectionResult)
868
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
869
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
870
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
872
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
873
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
874
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
875
+ end)
876
+
877
+ api.add_operation(:dispose_package_versions, Seahorse::Model::Operation.new.tap do |o|
878
+ o.name = "DisposePackageVersions"
879
+ o.http_method = "POST"
880
+ o.http_request_uri = "/v1/package/versions/dispose"
881
+ o.input = Shapes::ShapeRef.new(shape: DisposePackageVersionsRequest)
882
+ o.output = Shapes::ShapeRef.new(shape: DisposePackageVersionsResult)
883
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
884
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
885
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
886
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
887
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
888
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
889
+ end)
890
+
891
+ api.add_operation(:get_authorization_token, Seahorse::Model::Operation.new.tap do |o|
892
+ o.name = "GetAuthorizationToken"
893
+ o.http_method = "POST"
894
+ o.http_request_uri = "/v1/authorization-token"
895
+ o.input = Shapes::ShapeRef.new(shape: GetAuthorizationTokenRequest)
896
+ o.output = Shapes::ShapeRef.new(shape: GetAuthorizationTokenResult)
897
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
898
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
899
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
900
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
901
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
902
+ end)
903
+
904
+ api.add_operation(:get_domain_permissions_policy, Seahorse::Model::Operation.new.tap do |o|
905
+ o.name = "GetDomainPermissionsPolicy"
906
+ o.http_method = "GET"
907
+ o.http_request_uri = "/v1/domain/permissions/policy"
908
+ o.input = Shapes::ShapeRef.new(shape: GetDomainPermissionsPolicyRequest)
909
+ o.output = Shapes::ShapeRef.new(shape: GetDomainPermissionsPolicyResult)
910
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
911
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
913
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
914
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
915
+ end)
916
+
917
+ api.add_operation(:get_package_version_asset, Seahorse::Model::Operation.new.tap do |o|
918
+ o.name = "GetPackageVersionAsset"
919
+ o.http_method = "GET"
920
+ o.http_request_uri = "/v1/package/version/asset"
921
+ o.input = Shapes::ShapeRef.new(shape: GetPackageVersionAssetRequest)
922
+ o.output = Shapes::ShapeRef.new(shape: GetPackageVersionAssetResult)
923
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
924
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
926
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
927
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
928
+ end)
929
+
930
+ api.add_operation(:get_package_version_readme, Seahorse::Model::Operation.new.tap do |o|
931
+ o.name = "GetPackageVersionReadme"
932
+ o.http_method = "GET"
933
+ o.http_request_uri = "/v1/package/version/readme"
934
+ o.input = Shapes::ShapeRef.new(shape: GetPackageVersionReadmeRequest)
935
+ o.output = Shapes::ShapeRef.new(shape: GetPackageVersionReadmeResult)
936
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
937
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
938
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
939
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
940
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
941
+ end)
942
+
943
+ api.add_operation(:get_repository_endpoint, Seahorse::Model::Operation.new.tap do |o|
944
+ o.name = "GetRepositoryEndpoint"
945
+ o.http_method = "GET"
946
+ o.http_request_uri = "/v1/repository/endpoint"
947
+ o.input = Shapes::ShapeRef.new(shape: GetRepositoryEndpointRequest)
948
+ o.output = Shapes::ShapeRef.new(shape: GetRepositoryEndpointResult)
949
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
950
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
951
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
952
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
954
+ end)
955
+
956
+ api.add_operation(:get_repository_permissions_policy, Seahorse::Model::Operation.new.tap do |o|
957
+ o.name = "GetRepositoryPermissionsPolicy"
958
+ o.http_method = "GET"
959
+ o.http_request_uri = "/v1/repository/permissions/policy"
960
+ o.input = Shapes::ShapeRef.new(shape: GetRepositoryPermissionsPolicyRequest)
961
+ o.output = Shapes::ShapeRef.new(shape: GetRepositoryPermissionsPolicyResult)
962
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
963
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
964
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
965
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
966
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
967
+ end)
968
+
969
+ api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o|
970
+ o.name = "ListDomains"
971
+ o.http_method = "POST"
972
+ o.http_request_uri = "/v1/domains"
973
+ o.input = Shapes::ShapeRef.new(shape: ListDomainsRequest)
974
+ o.output = Shapes::ShapeRef.new(shape: ListDomainsResult)
975
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
976
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
977
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
978
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
979
+ o[:pager] = Aws::Pager.new(
980
+ limit_key: "max_results",
981
+ tokens: {
982
+ "next_token" => "next_token"
983
+ }
984
+ )
985
+ end)
986
+
987
+ api.add_operation(:list_package_version_assets, Seahorse::Model::Operation.new.tap do |o|
988
+ o.name = "ListPackageVersionAssets"
989
+ o.http_method = "POST"
990
+ o.http_request_uri = "/v1/package/version/assets"
991
+ o.input = Shapes::ShapeRef.new(shape: ListPackageVersionAssetsRequest)
992
+ o.output = Shapes::ShapeRef.new(shape: ListPackageVersionAssetsResult)
993
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
994
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
996
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
997
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
998
+ o[:pager] = Aws::Pager.new(
999
+ limit_key: "max_results",
1000
+ tokens: {
1001
+ "next_token" => "next_token"
1002
+ }
1003
+ )
1004
+ end)
1005
+
1006
+ api.add_operation(:list_package_version_dependencies, Seahorse::Model::Operation.new.tap do |o|
1007
+ o.name = "ListPackageVersionDependencies"
1008
+ o.http_method = "POST"
1009
+ o.http_request_uri = "/v1/package/version/dependencies"
1010
+ o.input = Shapes::ShapeRef.new(shape: ListPackageVersionDependenciesRequest)
1011
+ o.output = Shapes::ShapeRef.new(shape: ListPackageVersionDependenciesResult)
1012
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1014
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1016
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1017
+ end)
1018
+
1019
+ api.add_operation(:list_package_versions, Seahorse::Model::Operation.new.tap do |o|
1020
+ o.name = "ListPackageVersions"
1021
+ o.http_method = "POST"
1022
+ o.http_request_uri = "/v1/package/versions"
1023
+ o.input = Shapes::ShapeRef.new(shape: ListPackageVersionsRequest)
1024
+ o.output = Shapes::ShapeRef.new(shape: ListPackageVersionsResult)
1025
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1027
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1030
+ o[:pager] = Aws::Pager.new(
1031
+ limit_key: "max_results",
1032
+ tokens: {
1033
+ "next_token" => "next_token"
1034
+ }
1035
+ )
1036
+ end)
1037
+
1038
+ api.add_operation(:list_packages, Seahorse::Model::Operation.new.tap do |o|
1039
+ o.name = "ListPackages"
1040
+ o.http_method = "POST"
1041
+ o.http_request_uri = "/v1/packages"
1042
+ o.input = Shapes::ShapeRef.new(shape: ListPackagesRequest)
1043
+ o.output = Shapes::ShapeRef.new(shape: ListPackagesResult)
1044
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1045
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1048
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1049
+ o[:pager] = Aws::Pager.new(
1050
+ limit_key: "max_results",
1051
+ tokens: {
1052
+ "next_token" => "next_token"
1053
+ }
1054
+ )
1055
+ end)
1056
+
1057
+ api.add_operation(:list_repositories, Seahorse::Model::Operation.new.tap do |o|
1058
+ o.name = "ListRepositories"
1059
+ o.http_method = "POST"
1060
+ o.http_request_uri = "/v1/repositories"
1061
+ o.input = Shapes::ShapeRef.new(shape: ListRepositoriesRequest)
1062
+ o.output = Shapes::ShapeRef.new(shape: ListRepositoriesResult)
1063
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1064
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1067
+ o[:pager] = Aws::Pager.new(
1068
+ limit_key: "max_results",
1069
+ tokens: {
1070
+ "next_token" => "next_token"
1071
+ }
1072
+ )
1073
+ end)
1074
+
1075
+ api.add_operation(:list_repositories_in_domain, Seahorse::Model::Operation.new.tap do |o|
1076
+ o.name = "ListRepositoriesInDomain"
1077
+ o.http_method = "POST"
1078
+ o.http_request_uri = "/v1/domain/repositories"
1079
+ o.input = Shapes::ShapeRef.new(shape: ListRepositoriesInDomainRequest)
1080
+ o.output = Shapes::ShapeRef.new(shape: ListRepositoriesInDomainResult)
1081
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1082
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1083
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1084
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1085
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1086
+ o[:pager] = Aws::Pager.new(
1087
+ limit_key: "max_results",
1088
+ tokens: {
1089
+ "next_token" => "next_token"
1090
+ }
1091
+ )
1092
+ end)
1093
+
1094
+ api.add_operation(:put_domain_permissions_policy, Seahorse::Model::Operation.new.tap do |o|
1095
+ o.name = "PutDomainPermissionsPolicy"
1096
+ o.http_method = "PUT"
1097
+ o.http_request_uri = "/v1/domain/permissions/policy"
1098
+ o.input = Shapes::ShapeRef.new(shape: PutDomainPermissionsPolicyRequest)
1099
+ o.output = Shapes::ShapeRef.new(shape: PutDomainPermissionsPolicyResult)
1100
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1101
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1102
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1103
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1104
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1105
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1106
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1107
+ end)
1108
+
1109
+ api.add_operation(:put_repository_permissions_policy, Seahorse::Model::Operation.new.tap do |o|
1110
+ o.name = "PutRepositoryPermissionsPolicy"
1111
+ o.http_method = "PUT"
1112
+ o.http_request_uri = "/v1/repository/permissions/policy"
1113
+ o.input = Shapes::ShapeRef.new(shape: PutRepositoryPermissionsPolicyRequest)
1114
+ o.output = Shapes::ShapeRef.new(shape: PutRepositoryPermissionsPolicyResult)
1115
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1118
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1119
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1120
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1121
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1122
+ end)
1123
+
1124
+ api.add_operation(:update_package_versions_status, Seahorse::Model::Operation.new.tap do |o|
1125
+ o.name = "UpdatePackageVersionsStatus"
1126
+ o.http_method = "POST"
1127
+ o.http_request_uri = "/v1/package/versions/update_status"
1128
+ o.input = Shapes::ShapeRef.new(shape: UpdatePackageVersionsStatusRequest)
1129
+ o.output = Shapes::ShapeRef.new(shape: UpdatePackageVersionsStatusResult)
1130
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1133
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1135
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1136
+ end)
1137
+
1138
+ api.add_operation(:update_repository, Seahorse::Model::Operation.new.tap do |o|
1139
+ o.name = "UpdateRepository"
1140
+ o.http_method = "PUT"
1141
+ o.http_request_uri = "/v1/repository"
1142
+ o.input = Shapes::ShapeRef.new(shape: UpdateRepositoryRequest)
1143
+ o.output = Shapes::ShapeRef.new(shape: UpdateRepositoryResult)
1144
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1145
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1146
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1149
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1150
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1151
+ end)
1152
+ end
1153
+
1154
+ end
1155
+ end