aws-sdk-ecr 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-ecr.rb +47 -0
- data/lib/aws-sdk-ecr/client.rb +926 -0
- data/lib/aws-sdk-ecr/client_api.rb +597 -0
- data/lib/aws-sdk-ecr/customizations.rb +7 -0
- data/lib/aws-sdk-ecr/errors.rb +23 -0
- data/lib/aws-sdk-ecr/resource.rb +25 -0
- data/lib/aws-sdk-ecr/types.rb +1096 -0
- metadata +80 -0
@@ -0,0 +1,597 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing for info on making contributions:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module ECR
|
10
|
+
# @api private
|
11
|
+
module ClientApi
|
12
|
+
|
13
|
+
include Seahorse::Model
|
14
|
+
|
15
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
16
|
+
AuthorizationData = Shapes::StructureShape.new(name: 'AuthorizationData')
|
17
|
+
AuthorizationDataList = Shapes::ListShape.new(name: 'AuthorizationDataList')
|
18
|
+
Base64 = Shapes::StringShape.new(name: 'Base64')
|
19
|
+
BatchCheckLayerAvailabilityRequest = Shapes::StructureShape.new(name: 'BatchCheckLayerAvailabilityRequest')
|
20
|
+
BatchCheckLayerAvailabilityResponse = Shapes::StructureShape.new(name: 'BatchCheckLayerAvailabilityResponse')
|
21
|
+
BatchDeleteImageRequest = Shapes::StructureShape.new(name: 'BatchDeleteImageRequest')
|
22
|
+
BatchDeleteImageResponse = Shapes::StructureShape.new(name: 'BatchDeleteImageResponse')
|
23
|
+
BatchGetImageRequest = Shapes::StructureShape.new(name: 'BatchGetImageRequest')
|
24
|
+
BatchGetImageResponse = Shapes::StructureShape.new(name: 'BatchGetImageResponse')
|
25
|
+
BatchedOperationLayerDigest = Shapes::StringShape.new(name: 'BatchedOperationLayerDigest')
|
26
|
+
BatchedOperationLayerDigestList = Shapes::ListShape.new(name: 'BatchedOperationLayerDigestList')
|
27
|
+
CompleteLayerUploadRequest = Shapes::StructureShape.new(name: 'CompleteLayerUploadRequest')
|
28
|
+
CompleteLayerUploadResponse = Shapes::StructureShape.new(name: 'CompleteLayerUploadResponse')
|
29
|
+
CreateRepositoryRequest = Shapes::StructureShape.new(name: 'CreateRepositoryRequest')
|
30
|
+
CreateRepositoryResponse = Shapes::StructureShape.new(name: 'CreateRepositoryResponse')
|
31
|
+
CreationTimestamp = Shapes::TimestampShape.new(name: 'CreationTimestamp')
|
32
|
+
DeleteRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryPolicyRequest')
|
33
|
+
DeleteRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryPolicyResponse')
|
34
|
+
DeleteRepositoryRequest = Shapes::StructureShape.new(name: 'DeleteRepositoryRequest')
|
35
|
+
DeleteRepositoryResponse = Shapes::StructureShape.new(name: 'DeleteRepositoryResponse')
|
36
|
+
DescribeImagesFilter = Shapes::StructureShape.new(name: 'DescribeImagesFilter')
|
37
|
+
DescribeImagesRequest = Shapes::StructureShape.new(name: 'DescribeImagesRequest')
|
38
|
+
DescribeImagesResponse = Shapes::StructureShape.new(name: 'DescribeImagesResponse')
|
39
|
+
DescribeRepositoriesRequest = Shapes::StructureShape.new(name: 'DescribeRepositoriesRequest')
|
40
|
+
DescribeRepositoriesResponse = Shapes::StructureShape.new(name: 'DescribeRepositoriesResponse')
|
41
|
+
EmptyUploadException = Shapes::StructureShape.new(name: 'EmptyUploadException')
|
42
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
43
|
+
ExpirationTimestamp = Shapes::TimestampShape.new(name: 'ExpirationTimestamp')
|
44
|
+
ForceFlag = Shapes::BooleanShape.new(name: 'ForceFlag')
|
45
|
+
GetAuthorizationTokenRegistryIdList = Shapes::ListShape.new(name: 'GetAuthorizationTokenRegistryIdList')
|
46
|
+
GetAuthorizationTokenRequest = Shapes::StructureShape.new(name: 'GetAuthorizationTokenRequest')
|
47
|
+
GetAuthorizationTokenResponse = Shapes::StructureShape.new(name: 'GetAuthorizationTokenResponse')
|
48
|
+
GetDownloadUrlForLayerRequest = Shapes::StructureShape.new(name: 'GetDownloadUrlForLayerRequest')
|
49
|
+
GetDownloadUrlForLayerResponse = Shapes::StructureShape.new(name: 'GetDownloadUrlForLayerResponse')
|
50
|
+
GetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'GetRepositoryPolicyRequest')
|
51
|
+
GetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'GetRepositoryPolicyResponse')
|
52
|
+
Image = Shapes::StructureShape.new(name: 'Image')
|
53
|
+
ImageAlreadyExistsException = Shapes::StructureShape.new(name: 'ImageAlreadyExistsException')
|
54
|
+
ImageDetail = Shapes::StructureShape.new(name: 'ImageDetail')
|
55
|
+
ImageDetailList = Shapes::ListShape.new(name: 'ImageDetailList')
|
56
|
+
ImageDigest = Shapes::StringShape.new(name: 'ImageDigest')
|
57
|
+
ImageFailure = Shapes::StructureShape.new(name: 'ImageFailure')
|
58
|
+
ImageFailureCode = Shapes::StringShape.new(name: 'ImageFailureCode')
|
59
|
+
ImageFailureList = Shapes::ListShape.new(name: 'ImageFailureList')
|
60
|
+
ImageFailureReason = Shapes::StringShape.new(name: 'ImageFailureReason')
|
61
|
+
ImageIdentifier = Shapes::StructureShape.new(name: 'ImageIdentifier')
|
62
|
+
ImageIdentifierList = Shapes::ListShape.new(name: 'ImageIdentifierList')
|
63
|
+
ImageList = Shapes::ListShape.new(name: 'ImageList')
|
64
|
+
ImageManifest = Shapes::StringShape.new(name: 'ImageManifest')
|
65
|
+
ImageNotFoundException = Shapes::StructureShape.new(name: 'ImageNotFoundException')
|
66
|
+
ImageSizeInBytes = Shapes::IntegerShape.new(name: 'ImageSizeInBytes')
|
67
|
+
ImageTag = Shapes::StringShape.new(name: 'ImageTag')
|
68
|
+
ImageTagList = Shapes::ListShape.new(name: 'ImageTagList')
|
69
|
+
InitiateLayerUploadRequest = Shapes::StructureShape.new(name: 'InitiateLayerUploadRequest')
|
70
|
+
InitiateLayerUploadResponse = Shapes::StructureShape.new(name: 'InitiateLayerUploadResponse')
|
71
|
+
InvalidLayerException = Shapes::StructureShape.new(name: 'InvalidLayerException')
|
72
|
+
InvalidLayerPartException = Shapes::StructureShape.new(name: 'InvalidLayerPartException')
|
73
|
+
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
74
|
+
Layer = Shapes::StructureShape.new(name: 'Layer')
|
75
|
+
LayerAlreadyExistsException = Shapes::StructureShape.new(name: 'LayerAlreadyExistsException')
|
76
|
+
LayerAvailability = Shapes::StringShape.new(name: 'LayerAvailability')
|
77
|
+
LayerDigest = Shapes::StringShape.new(name: 'LayerDigest')
|
78
|
+
LayerDigestList = Shapes::ListShape.new(name: 'LayerDigestList')
|
79
|
+
LayerFailure = Shapes::StructureShape.new(name: 'LayerFailure')
|
80
|
+
LayerFailureCode = Shapes::StringShape.new(name: 'LayerFailureCode')
|
81
|
+
LayerFailureList = Shapes::ListShape.new(name: 'LayerFailureList')
|
82
|
+
LayerFailureReason = Shapes::StringShape.new(name: 'LayerFailureReason')
|
83
|
+
LayerInaccessibleException = Shapes::StructureShape.new(name: 'LayerInaccessibleException')
|
84
|
+
LayerList = Shapes::ListShape.new(name: 'LayerList')
|
85
|
+
LayerPartBlob = Shapes::BlobShape.new(name: 'LayerPartBlob')
|
86
|
+
LayerPartTooSmallException = Shapes::StructureShape.new(name: 'LayerPartTooSmallException')
|
87
|
+
LayerSizeInBytes = Shapes::IntegerShape.new(name: 'LayerSizeInBytes')
|
88
|
+
LayersNotFoundException = Shapes::StructureShape.new(name: 'LayersNotFoundException')
|
89
|
+
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
90
|
+
ListImagesFilter = Shapes::StructureShape.new(name: 'ListImagesFilter')
|
91
|
+
ListImagesRequest = Shapes::StructureShape.new(name: 'ListImagesRequest')
|
92
|
+
ListImagesResponse = Shapes::StructureShape.new(name: 'ListImagesResponse')
|
93
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
94
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
95
|
+
PartSize = Shapes::IntegerShape.new(name: 'PartSize')
|
96
|
+
ProxyEndpoint = Shapes::StringShape.new(name: 'ProxyEndpoint')
|
97
|
+
PushTimestamp = Shapes::TimestampShape.new(name: 'PushTimestamp')
|
98
|
+
PutImageRequest = Shapes::StructureShape.new(name: 'PutImageRequest')
|
99
|
+
PutImageResponse = Shapes::StructureShape.new(name: 'PutImageResponse')
|
100
|
+
RegistryId = Shapes::StringShape.new(name: 'RegistryId')
|
101
|
+
Repository = Shapes::StructureShape.new(name: 'Repository')
|
102
|
+
RepositoryAlreadyExistsException = Shapes::StructureShape.new(name: 'RepositoryAlreadyExistsException')
|
103
|
+
RepositoryList = Shapes::ListShape.new(name: 'RepositoryList')
|
104
|
+
RepositoryName = Shapes::StringShape.new(name: 'RepositoryName')
|
105
|
+
RepositoryNameList = Shapes::ListShape.new(name: 'RepositoryNameList')
|
106
|
+
RepositoryNotEmptyException = Shapes::StructureShape.new(name: 'RepositoryNotEmptyException')
|
107
|
+
RepositoryNotFoundException = Shapes::StructureShape.new(name: 'RepositoryNotFoundException')
|
108
|
+
RepositoryPolicyNotFoundException = Shapes::StructureShape.new(name: 'RepositoryPolicyNotFoundException')
|
109
|
+
RepositoryPolicyText = Shapes::StringShape.new(name: 'RepositoryPolicyText')
|
110
|
+
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
111
|
+
SetRepositoryPolicyRequest = Shapes::StructureShape.new(name: 'SetRepositoryPolicyRequest')
|
112
|
+
SetRepositoryPolicyResponse = Shapes::StructureShape.new(name: 'SetRepositoryPolicyResponse')
|
113
|
+
TagStatus = Shapes::StringShape.new(name: 'TagStatus')
|
114
|
+
UploadId = Shapes::StringShape.new(name: 'UploadId')
|
115
|
+
UploadLayerPartRequest = Shapes::StructureShape.new(name: 'UploadLayerPartRequest')
|
116
|
+
UploadLayerPartResponse = Shapes::StructureShape.new(name: 'UploadLayerPartResponse')
|
117
|
+
UploadNotFoundException = Shapes::StructureShape.new(name: 'UploadNotFoundException')
|
118
|
+
Url = Shapes::StringShape.new(name: 'Url')
|
119
|
+
|
120
|
+
AuthorizationData.add_member(:authorization_token, Shapes::ShapeRef.new(shape: Base64, location_name: "authorizationToken"))
|
121
|
+
AuthorizationData.add_member(:expires_at, Shapes::ShapeRef.new(shape: ExpirationTimestamp, location_name: "expiresAt"))
|
122
|
+
AuthorizationData.add_member(:proxy_endpoint, Shapes::ShapeRef.new(shape: ProxyEndpoint, location_name: "proxyEndpoint"))
|
123
|
+
AuthorizationData.struct_class = Types::AuthorizationData
|
124
|
+
|
125
|
+
AuthorizationDataList.member = Shapes::ShapeRef.new(shape: AuthorizationData)
|
126
|
+
|
127
|
+
BatchCheckLayerAvailabilityRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
128
|
+
BatchCheckLayerAvailabilityRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
129
|
+
BatchCheckLayerAvailabilityRequest.add_member(:layer_digests, Shapes::ShapeRef.new(shape: BatchedOperationLayerDigestList, required: true, location_name: "layerDigests"))
|
130
|
+
BatchCheckLayerAvailabilityRequest.struct_class = Types::BatchCheckLayerAvailabilityRequest
|
131
|
+
|
132
|
+
BatchCheckLayerAvailabilityResponse.add_member(:layers, Shapes::ShapeRef.new(shape: LayerList, location_name: "layers"))
|
133
|
+
BatchCheckLayerAvailabilityResponse.add_member(:failures, Shapes::ShapeRef.new(shape: LayerFailureList, location_name: "failures"))
|
134
|
+
BatchCheckLayerAvailabilityResponse.struct_class = Types::BatchCheckLayerAvailabilityResponse
|
135
|
+
|
136
|
+
BatchDeleteImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
137
|
+
BatchDeleteImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
138
|
+
BatchDeleteImageRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdentifierList, required: true, location_name: "imageIds"))
|
139
|
+
BatchDeleteImageRequest.struct_class = Types::BatchDeleteImageRequest
|
140
|
+
|
141
|
+
BatchDeleteImageResponse.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdentifierList, location_name: "imageIds"))
|
142
|
+
BatchDeleteImageResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ImageFailureList, location_name: "failures"))
|
143
|
+
BatchDeleteImageResponse.struct_class = Types::BatchDeleteImageResponse
|
144
|
+
|
145
|
+
BatchGetImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
146
|
+
BatchGetImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
147
|
+
BatchGetImageRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdentifierList, required: true, location_name: "imageIds"))
|
148
|
+
BatchGetImageRequest.struct_class = Types::BatchGetImageRequest
|
149
|
+
|
150
|
+
BatchGetImageResponse.add_member(:images, Shapes::ShapeRef.new(shape: ImageList, location_name: "images"))
|
151
|
+
BatchGetImageResponse.add_member(:failures, Shapes::ShapeRef.new(shape: ImageFailureList, location_name: "failures"))
|
152
|
+
BatchGetImageResponse.struct_class = Types::BatchGetImageResponse
|
153
|
+
|
154
|
+
BatchedOperationLayerDigestList.member = Shapes::ShapeRef.new(shape: BatchedOperationLayerDigest)
|
155
|
+
|
156
|
+
CompleteLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
157
|
+
CompleteLayerUploadRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
158
|
+
CompleteLayerUploadRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
|
159
|
+
CompleteLayerUploadRequest.add_member(:layer_digests, Shapes::ShapeRef.new(shape: LayerDigestList, required: true, location_name: "layerDigests"))
|
160
|
+
CompleteLayerUploadRequest.struct_class = Types::CompleteLayerUploadRequest
|
161
|
+
|
162
|
+
CompleteLayerUploadResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
163
|
+
CompleteLayerUploadResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
164
|
+
CompleteLayerUploadResponse.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, location_name: "uploadId"))
|
165
|
+
CompleteLayerUploadResponse.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
|
166
|
+
CompleteLayerUploadResponse.struct_class = Types::CompleteLayerUploadResponse
|
167
|
+
|
168
|
+
CreateRepositoryRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
169
|
+
CreateRepositoryRequest.struct_class = Types::CreateRepositoryRequest
|
170
|
+
|
171
|
+
CreateRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
|
172
|
+
CreateRepositoryResponse.struct_class = Types::CreateRepositoryResponse
|
173
|
+
|
174
|
+
DeleteRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
175
|
+
DeleteRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
176
|
+
DeleteRepositoryPolicyRequest.struct_class = Types::DeleteRepositoryPolicyRequest
|
177
|
+
|
178
|
+
DeleteRepositoryPolicyResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
179
|
+
DeleteRepositoryPolicyResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
180
|
+
DeleteRepositoryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "policyText"))
|
181
|
+
DeleteRepositoryPolicyResponse.struct_class = Types::DeleteRepositoryPolicyResponse
|
182
|
+
|
183
|
+
DeleteRepositoryRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
184
|
+
DeleteRepositoryRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
185
|
+
DeleteRepositoryRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location_name: "force"))
|
186
|
+
DeleteRepositoryRequest.struct_class = Types::DeleteRepositoryRequest
|
187
|
+
|
188
|
+
DeleteRepositoryResponse.add_member(:repository, Shapes::ShapeRef.new(shape: Repository, location_name: "repository"))
|
189
|
+
DeleteRepositoryResponse.struct_class = Types::DeleteRepositoryResponse
|
190
|
+
|
191
|
+
DescribeImagesFilter.add_member(:tag_status, Shapes::ShapeRef.new(shape: TagStatus, location_name: "tagStatus"))
|
192
|
+
DescribeImagesFilter.struct_class = Types::DescribeImagesFilter
|
193
|
+
|
194
|
+
DescribeImagesRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
195
|
+
DescribeImagesRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
196
|
+
DescribeImagesRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdentifierList, location_name: "imageIds"))
|
197
|
+
DescribeImagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
198
|
+
DescribeImagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
199
|
+
DescribeImagesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: DescribeImagesFilter, location_name: "filter"))
|
200
|
+
DescribeImagesRequest.struct_class = Types::DescribeImagesRequest
|
201
|
+
|
202
|
+
DescribeImagesResponse.add_member(:image_details, Shapes::ShapeRef.new(shape: ImageDetailList, location_name: "imageDetails"))
|
203
|
+
DescribeImagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
204
|
+
DescribeImagesResponse.struct_class = Types::DescribeImagesResponse
|
205
|
+
|
206
|
+
DescribeRepositoriesRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
207
|
+
DescribeRepositoriesRequest.add_member(:repository_names, Shapes::ShapeRef.new(shape: RepositoryNameList, location_name: "repositoryNames"))
|
208
|
+
DescribeRepositoriesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
209
|
+
DescribeRepositoriesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
210
|
+
DescribeRepositoriesRequest.struct_class = Types::DescribeRepositoriesRequest
|
211
|
+
|
212
|
+
DescribeRepositoriesResponse.add_member(:repositories, Shapes::ShapeRef.new(shape: RepositoryList, location_name: "repositories"))
|
213
|
+
DescribeRepositoriesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
214
|
+
DescribeRepositoriesResponse.struct_class = Types::DescribeRepositoriesResponse
|
215
|
+
|
216
|
+
GetAuthorizationTokenRegistryIdList.member = Shapes::ShapeRef.new(shape: RegistryId)
|
217
|
+
|
218
|
+
GetAuthorizationTokenRequest.add_member(:registry_ids, Shapes::ShapeRef.new(shape: GetAuthorizationTokenRegistryIdList, location_name: "registryIds"))
|
219
|
+
GetAuthorizationTokenRequest.struct_class = Types::GetAuthorizationTokenRequest
|
220
|
+
|
221
|
+
GetAuthorizationTokenResponse.add_member(:authorization_data, Shapes::ShapeRef.new(shape: AuthorizationDataList, location_name: "authorizationData"))
|
222
|
+
GetAuthorizationTokenResponse.struct_class = Types::GetAuthorizationTokenResponse
|
223
|
+
|
224
|
+
GetDownloadUrlForLayerRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
225
|
+
GetDownloadUrlForLayerRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
226
|
+
GetDownloadUrlForLayerRequest.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, required: true, location_name: "layerDigest"))
|
227
|
+
GetDownloadUrlForLayerRequest.struct_class = Types::GetDownloadUrlForLayerRequest
|
228
|
+
|
229
|
+
GetDownloadUrlForLayerResponse.add_member(:download_url, Shapes::ShapeRef.new(shape: Url, location_name: "downloadUrl"))
|
230
|
+
GetDownloadUrlForLayerResponse.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
|
231
|
+
GetDownloadUrlForLayerResponse.struct_class = Types::GetDownloadUrlForLayerResponse
|
232
|
+
|
233
|
+
GetRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
234
|
+
GetRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
235
|
+
GetRepositoryPolicyRequest.struct_class = Types::GetRepositoryPolicyRequest
|
236
|
+
|
237
|
+
GetRepositoryPolicyResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
238
|
+
GetRepositoryPolicyResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
239
|
+
GetRepositoryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "policyText"))
|
240
|
+
GetRepositoryPolicyResponse.struct_class = Types::GetRepositoryPolicyResponse
|
241
|
+
|
242
|
+
Image.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
243
|
+
Image.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
244
|
+
Image.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
|
245
|
+
Image.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, location_name: "imageManifest"))
|
246
|
+
Image.struct_class = Types::Image
|
247
|
+
|
248
|
+
ImageDetail.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
249
|
+
ImageDetail.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
250
|
+
ImageDetail.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
|
251
|
+
ImageDetail.add_member(:image_tags, Shapes::ShapeRef.new(shape: ImageTagList, location_name: "imageTags"))
|
252
|
+
ImageDetail.add_member(:image_size_in_bytes, Shapes::ShapeRef.new(shape: ImageSizeInBytes, location_name: "imageSizeInBytes"))
|
253
|
+
ImageDetail.add_member(:image_pushed_at, Shapes::ShapeRef.new(shape: PushTimestamp, location_name: "imagePushedAt"))
|
254
|
+
ImageDetail.struct_class = Types::ImageDetail
|
255
|
+
|
256
|
+
ImageDetailList.member = Shapes::ShapeRef.new(shape: ImageDetail)
|
257
|
+
|
258
|
+
ImageFailure.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageIdentifier, location_name: "imageId"))
|
259
|
+
ImageFailure.add_member(:failure_code, Shapes::ShapeRef.new(shape: ImageFailureCode, location_name: "failureCode"))
|
260
|
+
ImageFailure.add_member(:failure_reason, Shapes::ShapeRef.new(shape: ImageFailureReason, location_name: "failureReason"))
|
261
|
+
ImageFailure.struct_class = Types::ImageFailure
|
262
|
+
|
263
|
+
ImageFailureList.member = Shapes::ShapeRef.new(shape: ImageFailure)
|
264
|
+
|
265
|
+
ImageIdentifier.add_member(:image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "imageDigest"))
|
266
|
+
ImageIdentifier.add_member(:image_tag, Shapes::ShapeRef.new(shape: ImageTag, location_name: "imageTag"))
|
267
|
+
ImageIdentifier.struct_class = Types::ImageIdentifier
|
268
|
+
|
269
|
+
ImageIdentifierList.member = Shapes::ShapeRef.new(shape: ImageIdentifier)
|
270
|
+
|
271
|
+
ImageList.member = Shapes::ShapeRef.new(shape: Image)
|
272
|
+
|
273
|
+
ImageTagList.member = Shapes::ShapeRef.new(shape: ImageTag)
|
274
|
+
|
275
|
+
InitiateLayerUploadRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
276
|
+
InitiateLayerUploadRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
277
|
+
InitiateLayerUploadRequest.struct_class = Types::InitiateLayerUploadRequest
|
278
|
+
|
279
|
+
InitiateLayerUploadResponse.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, location_name: "uploadId"))
|
280
|
+
InitiateLayerUploadResponse.add_member(:part_size, Shapes::ShapeRef.new(shape: PartSize, location_name: "partSize"))
|
281
|
+
InitiateLayerUploadResponse.struct_class = Types::InitiateLayerUploadResponse
|
282
|
+
|
283
|
+
Layer.add_member(:layer_digest, Shapes::ShapeRef.new(shape: LayerDigest, location_name: "layerDigest"))
|
284
|
+
Layer.add_member(:layer_availability, Shapes::ShapeRef.new(shape: LayerAvailability, location_name: "layerAvailability"))
|
285
|
+
Layer.add_member(:layer_size, Shapes::ShapeRef.new(shape: LayerSizeInBytes, location_name: "layerSize"))
|
286
|
+
Layer.struct_class = Types::Layer
|
287
|
+
|
288
|
+
LayerDigestList.member = Shapes::ShapeRef.new(shape: LayerDigest)
|
289
|
+
|
290
|
+
LayerFailure.add_member(:layer_digest, Shapes::ShapeRef.new(shape: BatchedOperationLayerDigest, location_name: "layerDigest"))
|
291
|
+
LayerFailure.add_member(:failure_code, Shapes::ShapeRef.new(shape: LayerFailureCode, location_name: "failureCode"))
|
292
|
+
LayerFailure.add_member(:failure_reason, Shapes::ShapeRef.new(shape: LayerFailureReason, location_name: "failureReason"))
|
293
|
+
LayerFailure.struct_class = Types::LayerFailure
|
294
|
+
|
295
|
+
LayerFailureList.member = Shapes::ShapeRef.new(shape: LayerFailure)
|
296
|
+
|
297
|
+
LayerList.member = Shapes::ShapeRef.new(shape: Layer)
|
298
|
+
|
299
|
+
ListImagesFilter.add_member(:tag_status, Shapes::ShapeRef.new(shape: TagStatus, location_name: "tagStatus"))
|
300
|
+
ListImagesFilter.struct_class = Types::ListImagesFilter
|
301
|
+
|
302
|
+
ListImagesRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
303
|
+
ListImagesRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
304
|
+
ListImagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
305
|
+
ListImagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
306
|
+
ListImagesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: ListImagesFilter, location_name: "filter"))
|
307
|
+
ListImagesRequest.struct_class = Types::ListImagesRequest
|
308
|
+
|
309
|
+
ListImagesResponse.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdentifierList, location_name: "imageIds"))
|
310
|
+
ListImagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
311
|
+
ListImagesResponse.struct_class = Types::ListImagesResponse
|
312
|
+
|
313
|
+
PutImageRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
314
|
+
PutImageRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
315
|
+
PutImageRequest.add_member(:image_manifest, Shapes::ShapeRef.new(shape: ImageManifest, required: true, location_name: "imageManifest"))
|
316
|
+
PutImageRequest.struct_class = Types::PutImageRequest
|
317
|
+
|
318
|
+
PutImageResponse.add_member(:image, Shapes::ShapeRef.new(shape: Image, location_name: "image"))
|
319
|
+
PutImageResponse.struct_class = Types::PutImageResponse
|
320
|
+
|
321
|
+
Repository.add_member(:repository_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "repositoryArn"))
|
322
|
+
Repository.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
323
|
+
Repository.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
324
|
+
Repository.add_member(:repository_uri, Shapes::ShapeRef.new(shape: Url, location_name: "repositoryUri"))
|
325
|
+
Repository.add_member(:created_at, Shapes::ShapeRef.new(shape: CreationTimestamp, location_name: "createdAt"))
|
326
|
+
Repository.struct_class = Types::Repository
|
327
|
+
|
328
|
+
RepositoryList.member = Shapes::ShapeRef.new(shape: Repository)
|
329
|
+
|
330
|
+
RepositoryNameList.member = Shapes::ShapeRef.new(shape: RepositoryName)
|
331
|
+
|
332
|
+
SetRepositoryPolicyRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
333
|
+
SetRepositoryPolicyRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
334
|
+
SetRepositoryPolicyRequest.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, required: true, location_name: "policyText"))
|
335
|
+
SetRepositoryPolicyRequest.add_member(:force, Shapes::ShapeRef.new(shape: ForceFlag, location_name: "force"))
|
336
|
+
SetRepositoryPolicyRequest.struct_class = Types::SetRepositoryPolicyRequest
|
337
|
+
|
338
|
+
SetRepositoryPolicyResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
339
|
+
SetRepositoryPolicyResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
340
|
+
SetRepositoryPolicyResponse.add_member(:policy_text, Shapes::ShapeRef.new(shape: RepositoryPolicyText, location_name: "policyText"))
|
341
|
+
SetRepositoryPolicyResponse.struct_class = Types::SetRepositoryPolicyResponse
|
342
|
+
|
343
|
+
UploadLayerPartRequest.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
344
|
+
UploadLayerPartRequest.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, required: true, location_name: "repositoryName"))
|
345
|
+
UploadLayerPartRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, required: true, location_name: "uploadId"))
|
346
|
+
UploadLayerPartRequest.add_member(:part_first_byte, Shapes::ShapeRef.new(shape: PartSize, required: true, location_name: "partFirstByte"))
|
347
|
+
UploadLayerPartRequest.add_member(:part_last_byte, Shapes::ShapeRef.new(shape: PartSize, required: true, location_name: "partLastByte"))
|
348
|
+
UploadLayerPartRequest.add_member(:layer_part_blob, Shapes::ShapeRef.new(shape: LayerPartBlob, required: true, location_name: "layerPartBlob"))
|
349
|
+
UploadLayerPartRequest.struct_class = Types::UploadLayerPartRequest
|
350
|
+
|
351
|
+
UploadLayerPartResponse.add_member(:registry_id, Shapes::ShapeRef.new(shape: RegistryId, location_name: "registryId"))
|
352
|
+
UploadLayerPartResponse.add_member(:repository_name, Shapes::ShapeRef.new(shape: RepositoryName, location_name: "repositoryName"))
|
353
|
+
UploadLayerPartResponse.add_member(:upload_id, Shapes::ShapeRef.new(shape: UploadId, location_name: "uploadId"))
|
354
|
+
UploadLayerPartResponse.add_member(:last_byte_received, Shapes::ShapeRef.new(shape: PartSize, location_name: "lastByteReceived"))
|
355
|
+
UploadLayerPartResponse.struct_class = Types::UploadLayerPartResponse
|
356
|
+
|
357
|
+
|
358
|
+
# @api private
|
359
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
360
|
+
|
361
|
+
api.version = "2015-09-21"
|
362
|
+
|
363
|
+
api.metadata = {
|
364
|
+
"endpointPrefix" => "ecr",
|
365
|
+
"jsonVersion" => "1.1",
|
366
|
+
"protocol" => "json",
|
367
|
+
"serviceFullName" => "Amazon EC2 Container Registry",
|
368
|
+
"signatureVersion" => "v4",
|
369
|
+
"targetPrefix" => "AmazonEC2ContainerRegistry_V20150921",
|
370
|
+
}
|
371
|
+
|
372
|
+
api.add_operation(:batch_check_layer_availability, Seahorse::Model::Operation.new.tap do |o|
|
373
|
+
o.name = "BatchCheckLayerAvailability"
|
374
|
+
o.http_method = "POST"
|
375
|
+
o.http_request_uri = "/"
|
376
|
+
o.input = Shapes::ShapeRef.new(shape: BatchCheckLayerAvailabilityRequest)
|
377
|
+
o.output = Shapes::ShapeRef.new(shape: BatchCheckLayerAvailabilityResponse)
|
378
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
379
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
381
|
+
end)
|
382
|
+
|
383
|
+
api.add_operation(:batch_delete_image, Seahorse::Model::Operation.new.tap do |o|
|
384
|
+
o.name = "BatchDeleteImage"
|
385
|
+
o.http_method = "POST"
|
386
|
+
o.http_request_uri = "/"
|
387
|
+
o.input = Shapes::ShapeRef.new(shape: BatchDeleteImageRequest)
|
388
|
+
o.output = Shapes::ShapeRef.new(shape: BatchDeleteImageResponse)
|
389
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
390
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
392
|
+
end)
|
393
|
+
|
394
|
+
api.add_operation(:batch_get_image, Seahorse::Model::Operation.new.tap do |o|
|
395
|
+
o.name = "BatchGetImage"
|
396
|
+
o.http_method = "POST"
|
397
|
+
o.http_request_uri = "/"
|
398
|
+
o.input = Shapes::ShapeRef.new(shape: BatchGetImageRequest)
|
399
|
+
o.output = Shapes::ShapeRef.new(shape: BatchGetImageResponse)
|
400
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
401
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
402
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
403
|
+
end)
|
404
|
+
|
405
|
+
api.add_operation(:complete_layer_upload, Seahorse::Model::Operation.new.tap do |o|
|
406
|
+
o.name = "CompleteLayerUpload"
|
407
|
+
o.http_method = "POST"
|
408
|
+
o.http_request_uri = "/"
|
409
|
+
o.input = Shapes::ShapeRef.new(shape: CompleteLayerUploadRequest)
|
410
|
+
o.output = Shapes::ShapeRef.new(shape: CompleteLayerUploadResponse)
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
412
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
413
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
414
|
+
o.errors << Shapes::ShapeRef.new(shape: UploadNotFoundException)
|
415
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidLayerException)
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: LayerPartTooSmallException)
|
417
|
+
o.errors << Shapes::ShapeRef.new(shape: LayerAlreadyExistsException)
|
418
|
+
o.errors << Shapes::ShapeRef.new(shape: EmptyUploadException)
|
419
|
+
end)
|
420
|
+
|
421
|
+
api.add_operation(:create_repository, Seahorse::Model::Operation.new.tap do |o|
|
422
|
+
o.name = "CreateRepository"
|
423
|
+
o.http_method = "POST"
|
424
|
+
o.http_request_uri = "/"
|
425
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRepositoryRequest)
|
426
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRepositoryResponse)
|
427
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
428
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
429
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryAlreadyExistsException)
|
430
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
431
|
+
end)
|
432
|
+
|
433
|
+
api.add_operation(:delete_repository, Seahorse::Model::Operation.new.tap do |o|
|
434
|
+
o.name = "DeleteRepository"
|
435
|
+
o.http_method = "POST"
|
436
|
+
o.http_request_uri = "/"
|
437
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRepositoryRequest)
|
438
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteRepositoryResponse)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
441
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
442
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotEmptyException)
|
443
|
+
end)
|
444
|
+
|
445
|
+
api.add_operation(:delete_repository_policy, Seahorse::Model::Operation.new.tap do |o|
|
446
|
+
o.name = "DeleteRepositoryPolicy"
|
447
|
+
o.http_method = "POST"
|
448
|
+
o.http_request_uri = "/"
|
449
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRepositoryPolicyRequest)
|
450
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteRepositoryPolicyResponse)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
|
455
|
+
end)
|
456
|
+
|
457
|
+
api.add_operation(:describe_images, Seahorse::Model::Operation.new.tap do |o|
|
458
|
+
o.name = "DescribeImages"
|
459
|
+
o.http_method = "POST"
|
460
|
+
o.http_request_uri = "/"
|
461
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeImagesRequest)
|
462
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeImagesResponse)
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ImageNotFoundException)
|
467
|
+
o[:pager] = Aws::Pager.new(
|
468
|
+
limit_key: "max_results",
|
469
|
+
tokens: {
|
470
|
+
"next_token" => "next_token"
|
471
|
+
}
|
472
|
+
)
|
473
|
+
end)
|
474
|
+
|
475
|
+
api.add_operation(:describe_repositories, Seahorse::Model::Operation.new.tap do |o|
|
476
|
+
o.name = "DescribeRepositories"
|
477
|
+
o.http_method = "POST"
|
478
|
+
o.http_request_uri = "/"
|
479
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeRepositoriesRequest)
|
480
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeRepositoriesResponse)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
484
|
+
o[:pager] = Aws::Pager.new(
|
485
|
+
limit_key: "max_results",
|
486
|
+
tokens: {
|
487
|
+
"next_token" => "next_token"
|
488
|
+
}
|
489
|
+
)
|
490
|
+
end)
|
491
|
+
|
492
|
+
api.add_operation(:get_authorization_token, Seahorse::Model::Operation.new.tap do |o|
|
493
|
+
o.name = "GetAuthorizationToken"
|
494
|
+
o.http_method = "POST"
|
495
|
+
o.http_request_uri = "/"
|
496
|
+
o.input = Shapes::ShapeRef.new(shape: GetAuthorizationTokenRequest)
|
497
|
+
o.output = Shapes::ShapeRef.new(shape: GetAuthorizationTokenResponse)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
500
|
+
end)
|
501
|
+
|
502
|
+
api.add_operation(:get_download_url_for_layer, Seahorse::Model::Operation.new.tap do |o|
|
503
|
+
o.name = "GetDownloadUrlForLayer"
|
504
|
+
o.http_method = "POST"
|
505
|
+
o.http_request_uri = "/"
|
506
|
+
o.input = Shapes::ShapeRef.new(shape: GetDownloadUrlForLayerRequest)
|
507
|
+
o.output = Shapes::ShapeRef.new(shape: GetDownloadUrlForLayerResponse)
|
508
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
509
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
510
|
+
o.errors << Shapes::ShapeRef.new(shape: LayersNotFoundException)
|
511
|
+
o.errors << Shapes::ShapeRef.new(shape: LayerInaccessibleException)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
513
|
+
end)
|
514
|
+
|
515
|
+
api.add_operation(:get_repository_policy, Seahorse::Model::Operation.new.tap do |o|
|
516
|
+
o.name = "GetRepositoryPolicy"
|
517
|
+
o.http_method = "POST"
|
518
|
+
o.http_request_uri = "/"
|
519
|
+
o.input = Shapes::ShapeRef.new(shape: GetRepositoryPolicyRequest)
|
520
|
+
o.output = Shapes::ShapeRef.new(shape: GetRepositoryPolicyResponse)
|
521
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
522
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
523
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
524
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryPolicyNotFoundException)
|
525
|
+
end)
|
526
|
+
|
527
|
+
api.add_operation(:initiate_layer_upload, Seahorse::Model::Operation.new.tap do |o|
|
528
|
+
o.name = "InitiateLayerUpload"
|
529
|
+
o.http_method = "POST"
|
530
|
+
o.http_request_uri = "/"
|
531
|
+
o.input = Shapes::ShapeRef.new(shape: InitiateLayerUploadRequest)
|
532
|
+
o.output = Shapes::ShapeRef.new(shape: InitiateLayerUploadResponse)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
535
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
536
|
+
end)
|
537
|
+
|
538
|
+
api.add_operation(:list_images, Seahorse::Model::Operation.new.tap do |o|
|
539
|
+
o.name = "ListImages"
|
540
|
+
o.http_method = "POST"
|
541
|
+
o.http_request_uri = "/"
|
542
|
+
o.input = Shapes::ShapeRef.new(shape: ListImagesRequest)
|
543
|
+
o.output = Shapes::ShapeRef.new(shape: ListImagesResponse)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
547
|
+
o[:pager] = Aws::Pager.new(
|
548
|
+
limit_key: "max_results",
|
549
|
+
tokens: {
|
550
|
+
"next_token" => "next_token"
|
551
|
+
}
|
552
|
+
)
|
553
|
+
end)
|
554
|
+
|
555
|
+
api.add_operation(:put_image, Seahorse::Model::Operation.new.tap do |o|
|
556
|
+
o.name = "PutImage"
|
557
|
+
o.http_method = "POST"
|
558
|
+
o.http_request_uri = "/"
|
559
|
+
o.input = Shapes::ShapeRef.new(shape: PutImageRequest)
|
560
|
+
o.output = Shapes::ShapeRef.new(shape: PutImageResponse)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: ImageAlreadyExistsException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: LayersNotFoundException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
567
|
+
end)
|
568
|
+
|
569
|
+
api.add_operation(:set_repository_policy, Seahorse::Model::Operation.new.tap do |o|
|
570
|
+
o.name = "SetRepositoryPolicy"
|
571
|
+
o.http_method = "POST"
|
572
|
+
o.http_request_uri = "/"
|
573
|
+
o.input = Shapes::ShapeRef.new(shape: SetRepositoryPolicyRequest)
|
574
|
+
o.output = Shapes::ShapeRef.new(shape: SetRepositoryPolicyResponse)
|
575
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
577
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
578
|
+
end)
|
579
|
+
|
580
|
+
api.add_operation(:upload_layer_part, Seahorse::Model::Operation.new.tap do |o|
|
581
|
+
o.name = "UploadLayerPart"
|
582
|
+
o.http_method = "POST"
|
583
|
+
o.http_request_uri = "/"
|
584
|
+
o.input = Shapes::ShapeRef.new(shape: UploadLayerPartRequest)
|
585
|
+
o.output = Shapes::ShapeRef.new(shape: UploadLayerPartResponse)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidLayerPartException)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: RepositoryNotFoundException)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: UploadNotFoundException)
|
591
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
592
|
+
end)
|
593
|
+
end
|
594
|
+
|
595
|
+
end
|
596
|
+
end
|
597
|
+
end
|